/* ==========================================================================
   21 Traditional Classic – the familiar printed biodata: white A4 page,
   a thin border of small flowers, bold underlined headings and plain
   "Label : value" lines. Photo sits top-right next to the name.
   ========================================================================== */
.bd--traditional-classic {
  --bd-bg: #FFFFFF;
  --bd-ink: #1C1C1C;
  --bd-soft: #1C1C1C;
  --bd-accent: #7A1C1C;
  --bd-display: "Cormorant Garamond", "Tiro Devanagari Hindi", Georgia, serif;
  --bd-text: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
  --bd-base: 1.82cqi;
}
.bd--traditional-classic:not(:lang(en)) { --bd-display: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; }

/* Flower border: a 3×3 tile of flowers drawn as a border image */
.bd--traditional-classic .bd__decor::before {
  content: "";
  position: absolute;
  inset: 3.2cqi;
  border: 3.4cqi solid transparent;
  border-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="90" height="90" viewBox="0 0 90 90"%3E%3Cpath d="M11 19q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M19 11q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="15" cy="9.8" rx="3.1" ry="4.6" transform="rotate%280 15 15%29"/%3E%3Cellipse cx="15" cy="9.8" rx="3.1" ry="4.6" transform="rotate%2872 15 15%29"/%3E%3Cellipse cx="15" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28144 15 15%29"/%3E%3Cellipse cx="15" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28216 15 15%29"/%3E%3Cellipse cx="15" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28288 15 15%29"/%3E%3C/g%3E%3Ccircle cx="15" cy="15" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M41 19q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M49 11q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="45" cy="9.8" rx="3.1" ry="4.6" transform="rotate%280 45 15%29"/%3E%3Cellipse cx="45" cy="9.8" rx="3.1" ry="4.6" transform="rotate%2872 45 15%29"/%3E%3Cellipse cx="45" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28144 45 15%29"/%3E%3Cellipse cx="45" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28216 45 15%29"/%3E%3Cellipse cx="45" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28288 45 15%29"/%3E%3C/g%3E%3Ccircle cx="45" cy="15" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M71 19q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M79 11q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="75" cy="9.8" rx="3.1" ry="4.6" transform="rotate%280 75 15%29"/%3E%3Cellipse cx="75" cy="9.8" rx="3.1" ry="4.6" transform="rotate%2872 75 15%29"/%3E%3Cellipse cx="75" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28144 75 15%29"/%3E%3Cellipse cx="75" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28216 75 15%29"/%3E%3Cellipse cx="75" cy="9.8" rx="3.1" ry="4.6" transform="rotate%28288 75 15%29"/%3E%3C/g%3E%3Ccircle cx="75" cy="15" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M11 49q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M19 41q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="15" cy="39.8" rx="3.1" ry="4.6" transform="rotate%280 15 45%29"/%3E%3Cellipse cx="15" cy="39.8" rx="3.1" ry="4.6" transform="rotate%2872 15 45%29"/%3E%3Cellipse cx="15" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28144 15 45%29"/%3E%3Cellipse cx="15" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28216 15 45%29"/%3E%3Cellipse cx="15" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28288 15 45%29"/%3E%3C/g%3E%3Ccircle cx="15" cy="45" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M71 49q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M79 41q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="75" cy="39.8" rx="3.1" ry="4.6" transform="rotate%280 75 45%29"/%3E%3Cellipse cx="75" cy="39.8" rx="3.1" ry="4.6" transform="rotate%2872 75 45%29"/%3E%3Cellipse cx="75" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28144 75 45%29"/%3E%3Cellipse cx="75" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28216 75 45%29"/%3E%3Cellipse cx="75" cy="39.8" rx="3.1" ry="4.6" transform="rotate%28288 75 45%29"/%3E%3C/g%3E%3Ccircle cx="75" cy="45" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M11 79q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M19 71q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="15" cy="69.8" rx="3.1" ry="4.6" transform="rotate%280 15 75%29"/%3E%3Cellipse cx="15" cy="69.8" rx="3.1" ry="4.6" transform="rotate%2872 15 75%29"/%3E%3Cellipse cx="15" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28144 15 75%29"/%3E%3Cellipse cx="15" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28216 15 75%29"/%3E%3Cellipse cx="15" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28288 15 75%29"/%3E%3C/g%3E%3Ccircle cx="15" cy="75" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M41 79q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M49 71q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="45" cy="69.8" rx="3.1" ry="4.6" transform="rotate%280 45 75%29"/%3E%3Cellipse cx="45" cy="69.8" rx="3.1" ry="4.6" transform="rotate%2872 45 75%29"/%3E%3Cellipse cx="45" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28144 45 75%29"/%3E%3Cellipse cx="45" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28216 45 75%29"/%3E%3Cellipse cx="45" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28288 45 75%29"/%3E%3C/g%3E%3Ccircle cx="45" cy="75" r="2.6" fill="%23F2B632"/%3E%3Cpath d="M71 79q-8 1-10 8q7 1 10-8z" fill="%233E8E3A"/%3E%3Cpath d="M79 71q8-1 10-8q-7-1-10 8z" fill="%233E8E3A"/%3E%3Cg fill="%23C8312F"%3E%3Cellipse cx="75" cy="69.8" rx="3.1" ry="4.6" transform="rotate%280 75 75%29"/%3E%3Cellipse cx="75" cy="69.8" rx="3.1" ry="4.6" transform="rotate%2872 75 75%29"/%3E%3Cellipse cx="75" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28144 75 75%29"/%3E%3Cellipse cx="75" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28216 75 75%29"/%3E%3Cellipse cx="75" cy="69.8" rx="3.1" ry="4.6" transform="rotate%28288 75 75%29"/%3E%3C/g%3E%3Ccircle cx="75" cy="75" r="2.6" fill="%23F2B632"/%3E%3C/svg%3E') 30 round;
}
.bd--traditional-classic .bd__decor::after {      /* thin rule just inside the flowers */
  content: "";
  position: absolute;
  inset: 7.4cqi;
  border: 1px solid rgba(122, 28, 28, .45);
}
.bd--traditional-classic.is-long .bd__decor::after { inset: 7.4cqi; }

.bd--traditional-classic .bd__frame { padding: 10.5cqi 11cqi 10cqi; line-height: 1.5; }
.bd--traditional-classic .bd__watermark { bottom: 8cqi; }

/* "BIO-DATA" heading */
.bd--traditional-classic .bd__title {
  font-family: var(--bd-display), var(--bd-script-display);
  font-size: 1.55em;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--bd-ink);
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .18em;
  margin-bottom: 1em;
}
.bd--traditional-classic:not(:lang(en)) .bd__title { font-size: 1.5em; font-weight: 700; letter-spacing: 0; }

/* Name on the left, photo on the right */
.bd--traditional-classic .bd__head {
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  gap: 2em;
  margin-bottom: .4em;
}
.bd--traditional-classic .bd__identity { flex: 1; padding-top: .4em; }
.bd--traditional-classic .bd__name {
  font-family: var(--bd-display), var(--bd-script-display);
  font-size: 2.15em;
  font-weight: 700;
  color: var(--bd-accent);
}
.bd--traditional-classic:not(:lang(en)) .bd__name { font-weight: 700; font-size: 1.95em; }
.bd--traditional-classic .bd__tagline { color: #444; font-style: italic; }
.bd--traditional-classic:not(:lang(en)) .bd__tagline { font-style: normal; }
.bd--traditional-classic .bd__photo {
  width: 9.6em;
  border-radius: 0;
  border: 1px solid #333;
  padding: .3em;
  background: #fff;
  color: #D6D6D6;
}
.bd--traditional-classic .bd__photo-img { background: #F1F1F1; }
.bd--traditional-classic .bd__divider { display: none; }

/* Sections */
.bd--traditional-classic .bd__body { gap: 1em; }
.bd--traditional-classic .bd__sec-title {
  font-family: var(--bd-display), var(--bd-script-display);
  font-size: 1.22em;
  font-weight: 700;
  font-style: italic;
  text-transform: none;
  letter-spacing: .01em;
  color: var(--bd-ink);
  text-decoration: underline;
  text-decoration-thickness: .06em;
  text-underline-offset: .16em;
  margin-bottom: .3em;
}
.bd--traditional-classic .bd__sec-title::after { content: ":"; }
.bd--traditional-classic:not(:lang(en)) .bd__sec-title { font-style: normal; font-weight: 700; font-size: 1.15em; }

/* Label : value */
.bd--traditional-classic .bd__row { grid-template-columns: 44% 1fr; gap: 1.1em; padding: .08em 0; }
.bd--traditional-classic .bd__row dt { position: relative; font-weight: 700; color: var(--bd-ink); }
.bd--traditional-classic .bd__row dt::after { content: ":"; position: absolute; right: -.75em; font-weight: 700; }
.bd--traditional-classic .bd__row dd { color: var(--bd-ink); }

/* Two columns of short rows so a complete biodata fits one A4 page; long rows span both */
.bd--traditional-classic .bd__rows { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.6em; }
.bd--traditional-classic .bd__row { grid-template-columns: 44% 1fr; }
.bd--traditional-classic .bd__row[data-row="college"],
.bd--traditional-classic .bd__row[data-row="hobbies"],
.bd--traditional-classic .bd__row[data-row="languages_known"],
.bd--traditional-classic .bd__row[data-row="email"],
.bd--traditional-classic .bd__row[data-row="partner_expectations"],
.bd--traditional-classic .bd__row[data-row="address"] { grid-column: 1 / -1; grid-template-columns: calc(22% - .572em) 1fr; }
