/* Biodata Maker: the printed page. Sizes are in mm and pt so the screen, the PDF and the picture match.
   Set on each page by doc.js: --pw --ph page size, --ac main colour, --ac2 second colour, --paper, --soft,
   --fh / --fb fonts, --bs body size factor, --fs text size, --sp spacing, --lw label column width. */

/* ---------- fonts (stored with the app, see fonts/LICENSES.txt) ---------- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/playfair-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/playfair-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/cormorant-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/cormorant-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/cormorant-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/cormorant-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dmsans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/dmsans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/greatvibes-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Great Vibes"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/greatvibes-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Serif Devanagari"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/noto-serif-devanagari-devanagari.woff2) format("woff2"); unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: "Noto Serif Gujarati"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/noto-serif-gujarati-gujarati.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0A80-0AFF, U+200C-200D, U+20B9, U+25CC, U+A830-A839; }
@font-face { font-family: "Noto Serif Gurmukhi"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/noto-serif-gurmukhi-gurmukhi.woff2) format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0A01-0A76, U+200C-200D, U+20B9, U+25CC, U+262C, U+A830-A839; }

/* ---------- every page ---------- */
.bd-page {
  position: relative; width: var(--pw); height: var(--ph); overflow: hidden; flex: none; box-sizing: border-box;
  display: flex; flex-direction: column; padding: 18mm 18mm 14mm;
  background: var(--paper); color: #2b2622; font-family: var(--fb); font-size: calc(var(--fs) * var(--bs)); line-height: 1.34;
  text-align: left; color-scheme: light; font-kerning: normal; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums;
  -webkit-print-color-adjust: exact; print-color-adjust: exact; -webkit-font-smoothing: antialiased;
}
.bd-page *, .bd-page *::before, .bd-page *::after { box-sizing: border-box; }
.bd-page > :not(.bd-deco) { position: relative; z-index: 1; }
.bd-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bd-deco svg { display: block; }

.bd-top { flex: none; text-align: center; }
.bd-sym { height: 13mm; display: flex; justify-content: center; align-items: center; color: var(--ac2); margin: 0 auto 1.2mm; }
.bd-sym svg { height: 100%; width: auto; }
.bd-glyph { font-size: 12.5mm; line-height: 1; height: 13mm; font-weight: 600; }
.bd-sym-img { height: 22mm; }
.bd-sym-img img { max-height: 100%; max-width: 46mm; object-fit: contain; display: block; }
.bd-line { color: var(--ac); font-size: 1.2em; font-weight: 600; line-height: 1.5; }
.bd-title { font-family: var(--fh); font-size: 2.35em; line-height: 1.15; color: var(--ac); font-weight: 700; letter-spacing: 0.03em; margin-top: 0.8mm; }
.bd-title.small { font-size: 1.25em; letter-spacing: 0.02em; }
.bd-orn { display: block; width: 62mm; height: 4.3mm; margin: 1.6mm auto 0; color: var(--ac2); }

.bd-flow { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(0.85em * var(--sp)); margin-top: calc(4mm * var(--sp)); }
.bd-sec { position: relative; }
.bd-h {
  display: flex; align-items: center; gap: 2.4mm; margin: 0 0 calc(0.4em * var(--sp));
  font-family: var(--fh); font-size: 1.2em; line-height: 1.25; font-weight: 700; color: var(--ac);
}
.bd-rows { display: flex; flex-direction: column; }
.bd-row { display: grid; grid-template-columns: var(--lw) 1em minmax(0, 1fr); padding: calc(0.13em * var(--sp)) 0; align-items: baseline; }
.bd-k { font-weight: var(--fk, 600); color: var(--ac); }
.bd-c { color: var(--ac); text-align: left; }
.bd-v { overflow-wrap: anywhere; color: #2b2622; font-weight: var(--fw, 400); }
.measuring .bd-k { width: max-content; white-space: nowrap; }
/* Two to a row: short lines side by side, long ones across the whole width. */
.bd-page.two .bd-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 7mm; }
.bd-page.two .bd-row { grid-template-columns: var(--lw2) 1em minmax(0, 1fr); }
.bd-page.two .bd-row.wide { grid-column: 1 / -1; }
.bd-para { margin: 0; line-height: 1.5; color: #2b2622; font-weight: var(--fw, 400); }
.bd-split { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 6mm; align-items: start; }
.bd-photo { margin: 0; width: 40mm; aspect-ratio: 3 / 4; padding: 0.9mm; border: 0.45mm solid var(--ac2); border-radius: 1.4mm; background: var(--paper); overflow: hidden; }
.bd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; border-radius: 0.8mm; }
.bd-photo.round, .bd-photo.round img { border-radius: 4mm; }
.bd-photo.circle { aspect-ratio: 1; }
.bd-photo.circle, .bd-photo.circle img, .bd-photo.oval, .bd-photo.oval img { border-radius: 50%; }
.bd-photo.arch, .bd-photo.arch img { border-radius: 50% 50% 1.4mm 1.4mm / 30% 30% 1.4mm 1.4mm; }
.bd-kundli { margin: 0; width: 44mm; }
.bd-kundli img { width: 100%; height: auto; object-fit: contain; display: block; border: 0.3mm solid var(--soft); }
.bd-photo-alone { display: flex; justify-content: center; margin-top: 8mm; }
.bd-foot { flex: none; text-align: center; font-style: italic; color: var(--ac); font-size: 0.95em; margin-top: 2.5mm; }
.bd-pno { position: absolute !important; left: 0; right: 0; bottom: 8.5mm; text-align: center; font-size: 0.8em; color: #8a8178; }
.bd-page:not(:lang(en)) .bd-h, .bd-page:not(:lang(en)) .bd-title { letter-spacing: 0 !important; }

/* ---------- Royal: gold double frame, corner flourishes ---------- */
.t-royal { padding: 17mm 19mm 15mm; }
.t-royal .bd-frame { position: absolute; inset: 7mm; border: 0.7mm solid var(--ac2); }
.t-royal .bd-frame::after { content: ""; position: absolute; inset: 1.4mm; border: 0.25mm solid var(--ac2); }
.t-royal .bd-corner { position: absolute; width: 19mm; height: 19mm; color: var(--ac2); }
.t-royal .bd-corner svg, .t-heritage .bd-corner svg { width: 100%; height: 100%; }
.t-royal .tl { top: 9.2mm; left: 9.2mm; }
.t-royal .tr { top: 9.2mm; right: 9.2mm; transform: scaleX(-1); }
.t-royal .bl { bottom: 9.2mm; left: 9.2mm; transform: scaleY(-1); }
.t-royal .br { bottom: 9.2mm; right: 9.2mm; transform: scale(-1); }
.t-royal .bd-h::before { content: ""; width: 1.7mm; height: 1.7mm; background: var(--ac2); transform: rotate(45deg); flex: none; }
.t-royal .bd-h::after { content: ""; flex: 1; height: 0.3mm; background: linear-gradient(90deg, var(--ac2), transparent); }
.t-royal .bd-foot { margin-bottom: 1mm; }

/* ---------- Heritage: kumkum frame, toran, flower corners ---------- */
.t-heritage { padding: 22mm 20mm 17mm; }
.t-heritage .bd-frame { position: absolute; inset: 5mm; border: 2.6mm solid var(--ac); }
.t-heritage .bd-frame::after { content: ""; position: absolute; inset: 0.9mm; border: 0.5mm solid var(--ac2); }
.t-heritage .bd-toran-wrap { position: absolute; top: 9.2mm; left: 16mm; right: 16mm; height: 3.6mm; color: var(--ac2); }
.t-heritage .bd-toran { width: 100%; height: 100%; }
.t-heritage .bd-toran .t-dot { fill: var(--ac); }
.t-heritage .bd-corner { position: absolute; width: 10.5mm; height: 10.5mm; padding: 1.2mm; background: var(--ac); color: var(--ac2); border: 0.5mm solid var(--ac2); }
.t-heritage .tl { top: 3.3mm; left: 3.3mm; }
.t-heritage .tr { top: 3.3mm; right: 3.3mm; }
.t-heritage .bl { bottom: 3.3mm; left: 3.3mm; }
.t-heritage .br { bottom: 3.3mm; right: 3.3mm; }
.t-heritage .bd-sym { color: var(--ac); }
.t-heritage .bd-top::after { content: ""; display: block; width: 44mm; height: 0.8mm; margin: 2mm auto 0; background: var(--ac2); border-radius: 1mm; }
.t-heritage .bd-h { background: var(--soft); border-left: 1.3mm solid var(--ac); padding: 0.5mm 2.6mm; font-size: 1.12em; }

/* ---------- Mandala ---------- */
.t-mandala { padding: 18mm 20mm 15mm; }
.t-mandala .bd-frame { position: absolute; inset: 8mm; border: 0.5mm solid var(--ac2); border-radius: 4mm; }
.t-mandala .bd-frame::after { content: ""; position: absolute; inset: 1.3mm; border: 0.2mm solid var(--ac2); border-radius: 3mm; }
.t-mandala .bd-mandala { position: absolute; left: 50%; top: 56%; width: 168mm; height: 168mm; transform: translate(-50%, -50%); color: var(--ac); opacity: 0.075; }
.t-mandala .bd-mandala svg { width: 100%; height: 100%; }
.t-mandala .bd-h { justify-content: center; }
.t-mandala .bd-h::before, .t-mandala .bd-h::after { content: ""; flex: 1; max-width: 24mm; height: 0.3mm; background: var(--ac2); }

/* ---------- Floral ---------- */
.t-floral { padding: 22mm 22mm 18mm; }
.t-floral .bd-frame { position: absolute; inset: 9mm; border: 0.35mm solid var(--ac2); border-radius: 7mm; }
.t-floral .bd-vine { position: absolute; width: 64mm; height: 64mm; }
.t-floral .bd-vine svg { width: 100%; height: 100%; overflow: visible; }
.t-floral .bd-vine.tl { top: 2.5mm; left: 2.5mm; }
.t-floral .bd-vine.br { bottom: 2.5mm; right: 2.5mm; transform: rotate(180deg); }
.t-floral .v-stem { fill: none; stroke: var(--ac); stroke-width: 1.3; opacity: 0.5; stroke-linecap: round; }
.t-floral .v-leaf { fill: var(--ac); opacity: 0.38; }
.t-floral .v-petal { fill: var(--ac2); opacity: 0.9; }
.t-floral .v-eye { fill: var(--ac); }
.t-floral .v-bud { fill: var(--ac2); }
.t-floral .bd-title { font-weight: 400; font-size: 3.3em; line-height: 1.05; letter-spacing: 0; }
.t-floral .bd-h { justify-content: center; font-family: "Playfair Display", var(--fb); font-style: italic; font-weight: 600; }
.t-floral .bd-h::before, .t-floral .bd-h::after { content: ""; width: 1.6mm; height: 1.6mm; border-radius: 50%; background: var(--ac2); flex: none; }

/* ---------- Kasavu: gold stripes top and bottom ---------- */
.t-kasavu { padding: 25mm 21mm 23mm; }
.t-kasavu .bd-kasavu { position: absolute; left: 0; right: 0; height: 15mm; }
.t-kasavu .bd-kasavu::before { content: ""; position: absolute; left: 0; right: 0; top: 4mm; height: 6.5mm; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 0.5mm, transparent 0.5mm 1.4mm), var(--ac2); }
.t-kasavu .bd-kasavu::after { content: ""; position: absolute; left: 0; right: 0; top: 12mm; height: 1.3mm; background: var(--ac); }
.t-kasavu .bd-kasavu.top { top: 0; }
.t-kasavu .bd-kasavu.bottom { bottom: 0; transform: scaleY(-1); }
.t-kasavu .bd-title { text-transform: uppercase; letter-spacing: 0.16em; font-size: 2em; }
.t-kasavu .bd-h { flex-direction: column; gap: 1.1mm; font-size: 1.02em; text-transform: uppercase; letter-spacing: 0.14em; }
.t-kasavu .bd-h::after { content: ""; width: 16mm; height: 0.5mm; background: var(--ac2); }
.t-kasavu .bd-sec { text-align: left; }

/* ---------- Arch ---------- */
.t-arch { padding: 13mm 24mm 14mm; }
.t-arch .bd-arch { position: absolute; left: 6mm; top: 5mm; width: calc(100% - 12mm); height: calc(100% - 5mm); }
.t-arch .a1 { stroke: var(--ac); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.t-arch .a2 { stroke: var(--ac2); stroke-width: 0.9; vector-effect: non-scaling-stroke; }
.t-arch .bd-sym { height: 11mm; margin-bottom: 2.5mm; }
.t-arch .bd-glyph { font-size: 10.5mm; height: 11mm; }
.t-arch .bd-top::after { content: ""; display: block; width: 3mm; height: 3mm; margin: 2mm auto 0; background: var(--ac2); transform: rotate(45deg); }
.t-arch .bd-h { justify-content: center; }
.t-arch .bd-h::before, .t-arch .bd-h::after { content: ""; width: 9mm; height: 0.35mm; background: var(--ac2); flex: none; }

/* ---------- Elegant: deep band at the top ---------- */
.t-elegant { padding: 0 17mm 14mm; }
.l-band .bd-band { flex: none; display: flex; align-items: center; gap: 8mm; }
.l-band .bd-band-text { flex: 1; min-width: 0; }
.l-band .bd-sym, .l-side .bd-sym { justify-content: flex-start; margin: 0 0 1.2mm; }
.t-elegant .bd-band { margin: 0 -17mm; padding: 11mm 17mm 10mm; background: var(--ac); color: #fff; min-height: 48mm; }
.t-elegant .bd-band.slim { min-height: 0; padding: 7mm 17mm; }
.t-elegant .bd-sym { color: var(--ac2); height: 10mm; }
.t-elegant .bd-glyph { font-size: 9.5mm; height: 10mm; }
.t-elegant .bd-line { color: var(--ac2); }
.t-elegant .bd-title { color: rgba(255, 255, 255, 0.78); font-family: var(--fb); font-size: 0.92em; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 1.6mm; }
.t-elegant .bd-name { font-family: var(--fh); font-size: 2.5em; line-height: 1.1; font-weight: 700; color: #fff; margin-top: 1mm; }
.t-elegant .bd-sub { color: var(--ac2); margin-top: 1.6mm; }
.t-elegant .bd-band .bd-photo { width: 38mm; border: 0.9mm solid #fff; box-shadow: 0 0 0 0.6mm var(--ac2); padding: 0; flex: none; }
.t-elegant .bd-flow { margin-top: calc(7mm * var(--sp)); }
.t-elegant .bd-h { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.98em; border-left: 1.2mm solid var(--ac2); padding-left: 2.5mm; }
.t-elegant .bd-row { border-bottom: 0.2mm solid var(--soft); }

/* ---------- Modern: coloured side panel ---------- */
.t-sidebar { padding: 0; flex-direction: row; }
.t-sidebar .bd-side { width: 66mm; flex: none; background: var(--ac); color: #fff; padding: 14mm 8mm 12mm; display: flex; flex-direction: column; gap: 2.5mm; }
.t-sidebar .bd-side .bd-photo { width: 48mm; margin: 0 auto 1mm; border: 0.7mm solid var(--ac2); background: var(--ac); }
.t-sidebar .bd-name { font-family: var(--fh); font-size: 1.7em; line-height: 1.15; text-align: center; font-weight: 700; overflow-wrap: anywhere; }
.t-sidebar .bd-sub { text-align: center; color: var(--ac2); font-size: 0.92em; }
.t-sidebar .bd-side-flow { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: calc(0.9em * var(--sp)); margin-top: calc(3mm * var(--sp)); }
.t-sidebar .bd-side .bd-h { color: var(--ac2); font-family: var(--fb); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.86em; border-bottom: 0.3mm solid rgba(255, 255, 255, 0.3); padding-bottom: 1mm; }
.t-sidebar .bd-side .bd-row { display: block; padding: calc(0.2em * var(--sp)) 0; }
.t-sidebar .bd-side .bd-k { display: block; color: rgba(255, 255, 255, 0.72); font-weight: 500; font-size: 0.86em; }
.t-sidebar .bd-side .bd-c { display: none; }
.t-sidebar .bd-side .bd-v { color: #fff; }
.t-sidebar .bd-side .bd-kundli { width: 100%; }
.t-sidebar .bd-side .bd-split { grid-template-columns: minmax(0, 1fr); row-gap: 2mm; }
.t-sidebar .bd-main { flex: 1; min-width: 0; padding: 15mm 14mm 12mm; display: flex; flex-direction: column; }
.t-sidebar .bd-top { text-align: left; }
.t-sidebar .bd-sym { color: var(--ac2); height: 11mm; }
.t-sidebar .bd-glyph { font-size: 10.5mm; height: 11mm; }
.t-sidebar .bd-title { font-size: 2.2em; }
.t-sidebar .bd-main .bd-h { text-transform: uppercase; letter-spacing: 0.1em; font-size: 1em; padding-bottom: 1mm; border-bottom: 0.5mm solid var(--ac2); }

/* ---------- Classic table ---------- */
.t-classic { padding: 15mm 15mm 13mm; }
.t-classic .bd-frame { position: absolute; inset: 8mm; border: 0.5mm solid var(--ac); }
.t-classic .bd-title { text-transform: uppercase; letter-spacing: 0.12em; font-size: 1.85em; text-decoration: underline; text-decoration-thickness: 0.35mm; text-underline-offset: 1.6mm; }
.t-classic .bd-flow { gap: calc(0.75em * var(--sp)); }
.t-classic .bd-h { background: var(--ac); color: #fff; font-family: var(--fb); font-size: 0.98em; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.9mm 2.5mm; margin: 0; }
.t-classic .bd-rows { border-left: 0.3mm solid #8d8d8d; }
.t-classic .bd-row { grid-template-columns: calc(var(--lw) + 4mm) minmax(0, 1fr); padding: 0; border-right: 0.3mm solid #8d8d8d; border-bottom: 0.3mm solid #8d8d8d; }
.t-classic.two .bd-rows { column-gap: 0; }
.t-classic.two .bd-row { grid-template-columns: calc(var(--lw2) + 4mm) minmax(0, 1fr); }
.t-classic .bd-k { background: var(--soft); padding: calc(0.24em * var(--sp)) 2mm; border-right: 0.3mm solid #8d8d8d; color: #1f1f1f; align-self: stretch; }
.t-classic .bd-c { display: none; }
.t-classic .bd-v { padding: calc(0.24em * var(--sp)) 2.5mm; }
.t-classic .bd-para { border: 0.3mm solid #8d8d8d; border-top: 0; padding: 1.4mm 2.5mm; }
.t-classic .bd-split { column-gap: 3mm; }
.t-classic .bd-split .bd-photo { border: 0.3mm solid #8d8d8d; border-radius: 0; margin-top: 0; }
.t-classic .bd-split .bd-photo img { border-radius: 0; }

/* ---------- Minimal ---------- */
.t-minimal { padding: 16mm 18mm 14mm; }
.t-minimal .bd-band { align-items: flex-end; padding-bottom: 6mm; border-bottom: 0.45mm solid var(--ac); }
.t-minimal .bd-sym { color: var(--ac); height: 9mm; }
.t-minimal .bd-glyph { font-size: 8.5mm; height: 9mm; }
.t-minimal .bd-line { color: var(--ac); font-size: 1em; }
.t-minimal .bd-title { font-family: var(--fb); font-size: 0.86em; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ac); font-weight: 700; }
.t-minimal .bd-name { font-family: var(--fh); font-size: 2.7em; font-weight: 700; line-height: 1.05; color: #15181e; letter-spacing: -0.01em; margin-top: 1mm; }
.t-minimal .bd-sub { color: #5f6673; margin-top: 2mm; }
.t-minimal .bd-band .bd-photo { width: 34mm; border: 0; padding: 0; flex: none; }
.t-minimal .bd-flow { margin-top: calc(7mm * var(--sp)); }
.t-minimal .bd-h { font-family: var(--fb); font-size: 0.86em; text-transform: uppercase; letter-spacing: 0.16em; }
.t-minimal .bd-h::after { content: ""; flex: 1; height: 0.25mm; background: #d9dce1; }
.t-minimal .bd-k { color: #6b7280; font-weight: 500; }
.t-minimal .bd-row { grid-template-columns: var(--lw) minmax(0, 1fr); }
.t-minimal.two .bd-row { grid-template-columns: var(--lw2) minmax(0, 1fr); }
.t-minimal .bd-c { display: none; }
