/* KBZ Life Student Ambassador Program — shared styles */

@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-sans-myanmar-myanmar-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Myanmar"; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-sans-myanmar-myanmar-600-normal.woff2") format("woff2"); }

:root {
  --primary: #056195;      /* KBZ Life primary (Pantone 7691 C) */
  --primary-dark: #04507B;
  --primary-deep: #0B5585;
  --secondary: #696A6A;    /* Pantone 426 U */
  --tertiary: #28A6DF;     /* Pantone 2995 C */
  --tint: #DFF2FB;
  --ink: #1F2426;
  --body: #3E4142;
  --muted: #5F6060;
  --on-dark-muted: #DCEFF9;
  --surface: #F2F5FA;
  --line: #DDE3EE;
  --field: #B9C4D8;
  --ok-bg: #DDF2E5; --ok: #11592F;
  --danger: #9B2C2C; --danger-bg: #FBE9E9;
  --heading: "Poppins", "Noto Sans Myanmar", system-ui, sans-serif;
  --text: "Noto Sans", "Noto Sans Myanmar", system-ui, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: #fff; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { font-family: var(--heading); color: var(--primary); margin: 0; line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Header / footer */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.brand span { padding-left: 16px; border-left: 1px solid var(--line); font-family: var(--heading); font-weight: 600; font-size: 13px; line-height: 1.3; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nav a { padding: 10px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a.btn { color: #fff; padding: 9px 16px; font-weight: 600; }
.sr-only { left: 0; top: 0; }
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }
.site-footer img { height: 30px; width: auto; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 6px; color: var(--body); text-decoration: none; min-height: 32px; }
.footer-contact a svg { color: var(--primary); flex-shrink: 0; }
.footer-contact a:hover { color: var(--primary); }
.nav a[aria-current="page"]:not(.btn) { color: var(--primary); font-weight: 600; box-shadow: inset 0 -2px 0 var(--tertiary); }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 18px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--primary); background: var(--primary); color: #fff; }
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn.outline { background: #fff; color: var(--primary); }
.btn.outline:hover { background: var(--tint); color: var(--primary-dark); }
.btn.lg { padding: 11px 22px; font-size: 15px; min-height: 44px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 500; color: var(--primary); }
.badge { align-self: flex-start; display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--primary); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* Avatars: photo, or initials when no photo yet */
.avatar { border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--heading); font-weight: 700; text-decoration: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.tone-0 { background: #DCEAF3; color: #056195; }
.tone-1 { background: #ECEDED; color: #3E4142; }
.tone-2 { background: #D6EEF5; color: #0B4A5E; }
.tone-3 { background: #D4EEFA; color: #04507B; }

/* Home */
.hero { background: var(--surface); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.12; }
.hero-text p { font-size: 16px; line-height: 1.65; color: var(--body); max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-faces { flex: 1 1 340px; max-width: 440px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hero-faces a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.hero-faces .face-label { font-size: 12px; color: var(--muted); text-align: center; }
.hero-faces .avatar { width: 100%; aspect-ratio: 1 / 1; border-radius: 18px; font-size: 26px; }
.faces a, .more-list a { text-decoration: none; }

.section { padding-top: 64px; padding-bottom: 64px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head h2, .about h2 { font-size: clamp(23px, 2.8vw, 28px); }
.section-head p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.about { display: flex; flex-wrap: wrap; gap: 40px; }
.about > div:first-child { flex: 1 1 300px; }
.about .rich { flex: 2 1 520px; min-width: 0; font-size: 16px; line-height: 1.7; color: var(--body); }
.rich p + p { margin-top: 16px; }

.benefits { background: var(--primary); color: #fff; }
.benefits h2, .benefits h3 { color: #fff; }
.benefits .intro { margin-top: 10px; font-size: 16px; color: var(--on-dark-muted); max-width: 640px; }
.benefit-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.benefit { background: var(--primary-deep); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.benefit .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--tertiary); display: flex; align-items: center; justify-content: center; }
.benefit h3 { font-size: 17px; }
.benefit p { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.benefit .icon img { display: block; }
.benefit-cta { margin-top: 4px; align-self: flex-start; display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--primary); font-weight: 600; font-size: 13px; text-decoration: none; }
.benefit-cta:hover { background: var(--tint); color: var(--primary-dark); }

.cohort-row { border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cohort-row + .cohort-row { margin-top: 20px; }
.cohort-meta { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cohort-meta h3 { font-size: 20px; }
.cohort-meta .count { font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.faces { flex: 2 1 400px; display: flex; flex-wrap: wrap; gap: 10px; }
.faces .avatar { width: 52px; height: 52px; font-size: 16px; }

/* Activity cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; background: #fff; transition: box-shadow .15s, border-color .15s; }
.post-card:hover { border-color: var(--tertiary); box-shadow: 0 8px 24px rgba(5, 97, 149, .12); color: var(--ink); }
.post-media { position: relative; aspect-ratio: 16 / 9; background: var(--tint); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media .play { position: absolute; width: 52px; height: 36px; border-radius: 10px; background: #E62117; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.post-media .play::after { content: ""; position: absolute; left: 21px; top: 10px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.post-text { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.post-date { font-size: 12px; color: var(--muted); }
.post-title { font-family: var(--heading); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--primary); }
.post-excerpt { font-size: 15px; line-height: 1.6; color: var(--body); }
.post-react { font-size: 13px; color: var(--muted); min-height: 1em; }
.post-card.lead { flex-direction: row; flex-wrap: wrap; margin-bottom: 20px; }
.post-card.lead .post-media { flex: 1 1 440px; aspect-ratio: auto; min-height: 260px; }
.post-card.lead .post-text { flex: 1 1 340px; padding: 28px; justify-content: center; gap: 10px; }
.post-card.lead .post-title { font-size: 23px; font-weight: 700; }

/* Ambassadors page */
.page-head { background: var(--surface); }
.page-head .wrap { padding-top: 44px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 18px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 36px); }
.page-head p { font-size: 15px; color: var(--body); margin-top: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab { min-height: 40px; padding: 8px 16px; border-radius: 999px; font: 600 14px var(--text); cursor: pointer; background: #fff; color: var(--primary); border: 1.5px solid var(--field); }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.group + .group { margin-top: 48px; }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.group-head h2 { font-size: 22px; }
.group-head span { font-size: 14px; color: var(--muted); }
.group .chips { margin: 12px 0 20px; }
.group .chip { font-size: 13px; padding: 5px 11px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: #fff; text-align: center; transition: box-shadow .15s, border-color .15s; }
.card:hover { border-color: var(--tertiary); box-shadow: 0 8px 24px rgba(5, 97, 149, .12); color: var(--ink); }
.card .avatar { width: 96px; height: 96px; font-size: 28px; margin-bottom: 4px; }
.card .name { font-family: var(--heading); font-weight: 600; font-size: 16px; color: var(--primary); }
.chip.former { background: #EEF1F6; color: var(--body); }
.card .uni { font-size: 13px; color: var(--muted); }

/* Profile */
.profile-hero { background: var(--surface); }
.profile-hero .back { display: inline-block; padding: 10px 0; margin-top: 16px; font-size: 14px; font-weight: 500; }
.profile-top { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 8px; padding-bottom: 48px; }
.profile-photo { flex: 0 1 260px; min-width: 0; display: flex; justify-content: center; }
.profile-photo .avatar { width: min(240px, 62vw); height: min(240px, 62vw); font-size: 68px; border: 6px solid #fff; box-shadow: 0 12px 32px rgba(5, 97, 149, .14); }
.profile-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.profile-info h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; }
.profile-info .sub { font-size: 16px; color: var(--body); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.profile-body { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 44px; padding-bottom: 48px; }
.profile-body .main { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.profile-body h2 { font-size: 21px; }
.profile-body .rich { font-size: 16px; line-height: 1.7; color: var(--body); white-space: pre-line; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics span { padding: 6px 14px; border-radius: 999px; background: var(--surface); font-size: 14px; color: var(--primary); }
.share { flex: 1 1 300px; min-width: 0; align-self: flex-start; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.share h2 { font-size: 16px; }
.share p { font-size: 13px; color: var(--muted); }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-url { flex: 1 1 180px; min-width: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface); font-size: 13px; overflow-wrap: anywhere; }
.share .btn { border-radius: 12px; }
.more { background: var(--surface); }
.more .wrap { padding-top: 44px; padding-bottom: 56px; }
.more h2 { font-size: 20px; margin-bottom: 20px; }
.more-list { display: flex; flex-wrap: wrap; gap: 16px; }
.more-list a { width: 100px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; text-align: center; font-size: 14px; font-weight: 500; }
.more-list .avatar { width: 72px; height: 72px; font-size: 21px; }

/* Status badge on profile (checked by partner shops) */
.status-badge { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; }
.status-badge > span { display: flex; flex-direction: column; }
.status-badge strong { font-size: 15px; }
.status-badge span span { font-size: 13px; }
.status-badge.active { background: var(--ok-bg); color: var(--ok); border: 1.5px solid #1A7A43; }
.status-badge.former { background: #EEF1F6; color: var(--body); border: 1.5px solid #8A94A6; }

/* Benefit "Learn more" page */
.page-head .back, .post .back { align-self: flex-start; display: inline-block; padding: 8px 0; font-size: 14px; }
.benefit-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.benefit-title .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tertiary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.benefit-title h1 { font-size: clamp(26px, 3.4vw, 34px); }
.rich.lead { font-size: 16px; line-height: 1.65; color: var(--body); max-width: 760px; }
.steps { list-style: none; counter-reset: s; margin: 6px 0 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 2px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.steps strong { font-size: 14px; }
.steps span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.muted-count { font-size: 15px; font-weight: 500; color: var(--muted); font-family: var(--text); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.partner { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.partner-head { display: flex; gap: 12px; align-items: center; }
.partner-head > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.partner-head strong { font-family: var(--heading); font-size: 16px; }
.partner-head > span:last-child span { font-size: 12px; color: var(--muted); }
.partner-logo { width: 52px; height: 52px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-weight: 700; color: var(--secondary); flex-shrink: 0; overflow: hidden; }
.partner-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.partner-offer { background: var(--tint); color: var(--primary-dark); border-radius: 10px; padding: 10px 12px; font-family: var(--heading); font-weight: 600; font-size: 17px; }
.partner-info { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--body); }
.partner-info span { display: flex; gap: 8px; align-items: flex-start; }
.partner-info svg { flex-shrink: 0; margin-top: 1px; }
.partner-until { margin-top: auto; padding-top: 10px; border-top: 1px solid #EEF1F6; font-size: 12px; color: var(--muted); }

/* One activity post */
.post { max-width: 860px; padding-top: 16px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; }
.post h1 { font-size: clamp(26px, 3.4vw, 32px); }
.post h2 { font-size: 19px; margin-top: 8px; }
.post .rich { font-size: 16px; line-height: 1.7; color: var(--body); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #111; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-link { font-size: 13px; align-self: flex-start; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; cursor: zoom-in; background: var(--tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gallery button:hover img { transform: scale(1.04); }
.reactions { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.reactions .label { font-size: 14px; color: var(--muted); }
.react { min-height: 40px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 14px var(--text); color: var(--ink); cursor: pointer; }
.react.on { background: var(--tint); border-color: var(--primary); color: var(--primary); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: rgba(255,255,255,.26); }
.lightbox-nav.prev { left: 12px; } .lightbox-nav.next { right: 12px; }

/* Appointed Student Ambassadors */
.avatar.ring { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--tertiary); }
.profile-photo .avatar.ring { border-color: #fff; box-shadow: 0 0 0 6px var(--tertiary), 0 12px 32px rgba(5, 97, 149, .18); }
.appointed { display: inline-flex; align-items: center; gap: 5px; align-self: center; padding: 4px 11px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.appointed svg { color: #fff; }
.appointed.big { align-self: flex-start; font-size: 13.5px; padding: 6px 14px; }
.card.is-appointed { border-color: #A9DAF1; background: linear-gradient(#F3FAFE, #fff 45%); }
.face-wrap { position: relative; display: block; }
.hero-faces .avatar.ring { box-shadow: 0 0 0 3px var(--tertiary); }
.star-dot { position: absolute; right: -6px; top: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.faces .avatar.ring { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--tertiary); }

/* States */
.state { padding: 72px 24px; text-align: center; color: var(--muted); font-size: 16px; }
.state h1 { margin-bottom: 12px; }
.demo-banner { background: #FFF6DB; color: #5B4300; font-size: 14px; text-align: center; padding: 8px 16px; }
.skeleton { background: linear-gradient(90deg, #EEF1F6 25%, #F6F8FB 50%, #EEF1F6 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { height: 32px; }
  .brand span { font-size: 12px; padding-left: 12px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .cohort-row { padding: 20px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 18px 10px; }
  .card .avatar { width: 76px; height: 76px; font-size: 22px; }
  .card .name { font-size: 15px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.lead .post-text { padding: 18px; }
}
/* Full-size photo viewer */
.photo-btn { position: relative; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 50%; }
.photo-btn .zoom { position: absolute; right: 8%; bottom: 8%; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.photo-btn:hover .avatar { filter: brightness(.95); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; display: none; }
.lightbox[open] { position: fixed; inset: 0; background: rgba(10, 16, 22, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lightbox::backdrop { background: rgba(10, 16, 22, .9); }
.lightbox:not([open])::backdrop { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.4); }
.lightbox p { color: #fff; font-family: var(--heading); font-weight: 600; font-size: 15px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.26); }

/* Keep tap areas comfortable on touch screens */
@media (pointer: coarse) {
  .socials a { width: 44px; height: 44px; }
  .btn, .tab { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
