:root {
  --bg: #fbf9ff;
  --surface: #ffffff;
  --surface-soft: #f5f0fb;
  --text: #1b123a;
  --muted: #52486b;
  --primary: #4a168e;
  --primary-dark: #260951;
  --primary-light: #7a38d3;
  --accent: #f6c66b;
  --line: rgba(45, 17, 93, 0.12);
  --shadow: 0 18px 45px rgba(32, 10, 70, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
.site-header,
main {
  position: relative;
  z-index: 1;
}
body.dark {
  --bg: #10081f;
  --surface: #1a0f2f;
  --surface-soft: #25123d;
  --text: #fbf8ff;
  --muted: #c6bad8;
  --line: rgba(255,255,255,0.14);
  --shadow: 0 18px 45px rgba(0,0,0,0.32);
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1240px, calc(100% - clamp(28px, 4vw, 72px))); margin: 0 auto; }
.section-anchor { scroll-margin-top: calc(var(--header-height) + 18px); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 100%; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 24px); }
.brand { display: flex; flex-direction: column; min-width: clamp(170px, 18vw, 220px); flex-shrink: 0; }
.brand-name { font-size: clamp(20px, 1.6vw, 24px); line-height: 1; font-weight: 900; letter-spacing: -0.04em; color: var(--primary-dark); }
body.dark .brand-name { color: #fff; }
.brand-subtitle { font-size: 13px; color: var(--muted); margin-top: 3px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.9vw, 30px); flex: 1; font-size: clamp(12px, .85vw, 13px); font-weight: 700; min-width: 0; }
.main-nav a { position: relative; padding: 28px 0; color: var(--text); }
.main-nav a.active::after, .main-nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 3px; border-radius: 20px; background: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle { border: 1px solid var(--line); background: var(--primary-dark); color: #fff; border-radius: 999px; padding: 4px 7px; min-width: 54px; display: flex; justify-content: space-between; cursor: pointer; }
.mobile-menu { display: none; background: none; border: 0; font-size: 28px; color: var(--text); cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; padding: clamp(11px, 1vw, 14px) clamp(16px, 1.7vw, 23px); font-weight: 800; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(74, 22, 142, 0.18); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #6222b5); color: white; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: color-mix(in srgb, var(--surface) 75%, transparent); }
body.dark .btn-outline {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}
body.dark .btn-outline:hover {
  background: rgba(255,255,255,0.14);
}
.btn.small { padding: 11px 20px; }
.hero { position: relative; overflow: hidden; min-height: clamp(500px, 70vh, 575px); background: var(--surface); }
body.dark .hero { background: #10081f; }
.hero::after { content: ""; position: absolute; inset: 0 0 auto auto; width: 46%; height: 100%; background: radial-gradient(circle at 20% 50%, transparent 0 35%, var(--primary-dark) 36% 100%); opacity: .98; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr); min-height: clamp(500px, 70vh, 575px); align-items: center; gap: clamp(24px, 4vw, 54px); }
.hero-copy { position: relative; z-index: 1; padding: clamp(34px, 4vw, 58px) clamp(26px, 2.6vw, 42px) clamp(34px, 3.6vw, 52px) clamp(18px, 1.8vw, 28px); }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: calc(clamp(34px, 4vw, 58px) * -1) -18px calc(clamp(34px, 3.6vw, 52px) * -1) -260px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,.38) 36%, rgba(255,255,255,.72) 72%, rgba(255,255,255,.94) 100%),
    url('assets/images/hero-left-faded-photo.png') left center / cover no-repeat;
  opacity: 1;
  z-index: -1;
}
body.dark .hero-copy::before {
  background:
    linear-gradient(90deg, rgba(16,8,31,.48) 0%, rgba(16,8,31,.58) 34%, rgba(16,8,31,.74) 72%, rgba(16,8,31,.90) 100%),
    url('assets/images/hero-left-faded-photo.png') left center / cover no-repeat;
  opacity: 1;
  filter: brightness(1.14) saturate(0.96);
}
.eyebrow { color: var(--primary); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.hero h1 { margin: 0; font-size: clamp(42px, 4.35vw, 68px); line-height: .92; letter-spacing: -0.07em; font-weight: 900; }
.hero h1 span { display: block; margin-top: 11px; font-family: "Playfair Display", serif; font-style: italic; font-size: .72em; color: var(--primary); letter-spacing: -0.04em; }
.hero-text { width: min(520px, 100%); font-size: clamp(16px, 1.15vw, 18px); color: var(--muted); margin: 28px 0; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin-top: clamp(24px, 3vw, 36px); max-width: 650px; }
.trust-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.trust-item .icon { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--primary); border-radius: 12px; color: var(--primary); font-weight: 900; }
.trust-item .icon-img { width: 18px; height: 18px; object-fit: contain; display: block; }
body.dark .trust-item .icon {
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}
body.dark .trust-item .icon-img {
  filter: brightness(0) saturate(100%) invert(96%) sepia(6%) saturate(225%) hue-rotate(220deg) brightness(101%) contrast(97%);
}
body.dark .trust-item strong {
  color: #ffffff;
}
body.dark .trust-item small {
  color: rgba(255,255,255,0.84);
}
.trust-item strong { font-size: 15px; }
.trust-item small { color: var(--muted); }
.hero-visual { position: relative; min-height: clamp(360px, 42vw, 470px); display: grid; grid-template-columns: minmax(250px, 1fr) minmax(250px, 300px); align-items: center; justify-content: end; gap: clamp(18px, 2.2vw, 34px); min-width: 0; padding-left: clamp(8px, 1.2vw, 20px); padding-right: clamp(24px, 3vw, 54px); }
.photo-placeholder { background: repeating-linear-gradient(-45deg, #f8f3ef 0, #f8f3ef 10px, #efe9e4 10px, #efe9e4 20px); color: #555; display: grid; place-items: center; font-weight: 800; border-radius: 18px; border: 1px solid rgba(0,0,0,.05); }
.large { width: clamp(260px, 28vw, 390px); aspect-ratio: 1 / 1; height: auto; border-radius: 50%; margin: 0; overflow: hidden; border: 14px solid rgba(255,255,255,.95); box-shadow: 0 10px 30px rgba(0,0,0,.12); justify-self: start; }
.mission-card { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 300px; padding: clamp(22px, 2vw, 31px); background: rgba(38, 9, 81, .68); color: white; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; backdrop-filter: blur(10px); box-shadow: var(--shadow); z-index: 2; justify-self: end; }
.mission-card h2 { margin: 0 0 14px; font-size: 26px; }
.mission-card p { color: rgba(255,255,255,.86); }
.mission-card ul { padding: 0; margin: 24px 0 0; list-style: none; display: grid; gap: 13px; }
.mission-card li { display: flex; align-items: center; gap: 10px; }
.mission-card li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--primary-dark); font-weight: 900; }
.news-section { padding: 42px 0 70px; position: relative; }
.news-section::before { display: none; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: clamp(24px, 3.5vw, 42px); align-items: start; }
.content-layout { position: relative; overflow: visible; }
.content-layout::before { display: none; }
.content-layout > * { position: relative; z-index: 1; }

.section-heading h2, .side-card h2, .bio-title-row h2 { margin: 0; font-size: 30px; letter-spacing: -0.04em; }
.section-heading p { margin: 6px 0 0; color: var(--muted); }
.news-controls { margin: 22px 0; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-btn { border: 0; cursor: pointer; padding: 10px 26px; border-radius: 999px; background: var(--surface-soft); color: var(--text); font-weight: 700; }
.filter-btn.active { background: var(--primary); color: #fff; }
.search-box { height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 14px; min-width: 250px; }
.search-box input { border: 0; outline: 0; background: transparent; color: var(--text); width: 100%; }
.news-list { display: grid; gap: 16px; }
.news-card { display: grid; grid-template-columns: minmax(210px, 300px) 1fr; gap: 24px; align-items: stretch; padding: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-md); box-shadow: 0 8px 22px rgba(41, 19, 88, .05); }
.news-card.is-hidden { display: none; }
.thumb { min-height: 128px; }
.news-body { padding: 10px 10px 10px 0; }
.meta { display: flex; gap: 20px; font-size: 12px; text-transform: uppercase; font-weight: 900; color: var(--primary); }
.meta time { color: var(--muted); font-weight: 700; text-transform: none; }
.news-body h3 { margin: 6px 0 7px; font-size: 20px; letter-spacing: -0.03em; }
.news-body p { margin: 0; color: var(--muted); }
.details { display: none; margin-top: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.news-card.expanded .details { display: block; }
.expand-btn { margin-top: 8px; color: var(--primary); font-weight: 900; padding: 0; background: none; border: 0; cursor: pointer; }
.load-more { margin-top: 16px; width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--primary); color: var(--primary); background: transparent; font-weight: 900; cursor: pointer; }
.side-column { position: sticky; top: calc(var(--header-height) + 22px); display: grid; gap: 20px; }
.side-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 12px 32px rgba(41, 19, 88, .08); }
.side-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.side-title a { color: var(--primary); font-weight: 800; font-size: 13px; text-decoration: underline; }
.event-item { display: grid; grid-template-columns: 58px 1fr; gap: 16px; margin-top: 22px; }
.date-box { display: grid; place-items: center; min-height: 67px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); }
.date-box span { font-size: 12px; color: var(--primary); font-weight: 800; }
.date-box strong { font-size: 28px; line-height: .85; }
.event-item h3 { margin: 0 0 6px; font-size: 15px; }
.event-item p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.newsletter-card form { display: grid; grid-template-columns: 1fr auto; gap: 0; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; margin-top: 14px; }
.newsletter-card input { min-width: 0; border: 0; padding: 0 14px; outline: 0; background: var(--surface); color: var(--text); }
.newsletter-card .btn { border-radius: 0; padding: 13px 18px; }
.form-message { color: var(--muted); font-size: 12px; margin-bottom: 0; }
.form-message.error { color: #c14b2f; font-weight: 800; }
.form-message.success { color: #278257; font-weight: 800; }
.socials { display: flex; gap: 22px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: white; font-size: 24px; font-weight: 900; box-shadow: 0 10px 25px rgba(74, 22, 142, .22); }
.bio-section { margin-top: 46px; padding: 8px 0 4px; }
.bio-title-row { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.bio-title-row h2 { font-size: 28px; text-transform: uppercase; }
.bio-line { height: 3px; flex: 1; background: linear-gradient(90deg, var(--primary), transparent); border-radius: 999px; }
.bio-hero-card { display: grid; grid-template-columns: 310px 1fr; gap: 24px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 8px 24px rgba(41,19,88,.06); margin-bottom: 26px; }
.bio-photo { min-height: 230px; }
.bio-intro { display: flex; flex-direction: column; justify-content: center; }
.bio-intro h3 { margin: 0 0 10px; font-size: 30px; letter-spacing: -0.05em; }
.bio-intro p { margin: 0 0 10px; font-size: 17px; }
.muted { color: var(--muted); }
.bio-columns { display: grid; grid-template-columns: 0.9fr 1.15fr 1.15fr; gap: clamp(28px, 4vw, 54px); background: transparent; border: 0; border-radius: 0; padding: 8px 0 4px; align-items: start; }
.bio-block { position: relative; min-width: 0; }
.bio-block:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: calc(clamp(28px, 4vw, 54px) / -2); width: 1px; height: calc(100% - 56px); background: var(--line); }
.block-icon { width: 27px; height: 27px; display: grid; place-items: center; color: var(--primary); border: 2px solid var(--primary); border-radius: 8px; margin-bottom: 8px; font-weight: 900; font-size: 13px; line-height: 1; }
.bio-block h3 { margin: 0 0 16px; color: var(--primary); font-size: clamp(16px, 1.35vw, 20px); line-height: 1.1; }
.bio-block dl { margin: 0; font-size: clamp(13px, .95vw, 15px); line-height: 1.35; }
.bio-block dt { font-weight: 900; color: var(--primary); margin-top: 11px; line-height: 1.25; }
.bio-block dd { margin: 2px 0 0; color: var(--text); }
.timeline { position: relative; padding-left: 22px; font-size: clamp(13px, .95vw, 15px); }
.timeline::before { content: ""; position: absolute; left: 5px; top: 5px; bottom: 8px; width: 2px; background: color-mix(in srgb, var(--primary) 45%, transparent); }
.timeline-item { position: relative; padding-bottom: 18px; }
.timeline-item::before { content: ""; position: absolute; left: -22px; top: 4px; width: 11px; height: 11px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent); }
.timeline-item strong { color: var(--primary); font-weight: 900; line-height: 1.2; }
.timeline-item p { margin: 4px 0 0; color: var(--text); font-weight: 700; line-height: 1.32; }
.timeline-item span { color: var(--muted); font-weight: 500; }


@media (max-width: 1180px) and (min-width: 961px) {
  .bio-columns {
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 28px;
  }
  .bio-block:not(:last-child)::after {
    right: -14px;
  }
  .bio-block dl,
  .timeline {
    font-size: 12.5px;
  }
  .bio-block h3 {
    font-size: 17px;
  }
}

.cards-band { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-band article { min-height: 150px; display: grid; grid-template-columns: 1fr 170px; gap: 18px; padding: 22px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-radius: 14px; box-shadow: var(--shadow); }
.cards-band h3 { margin: 0 0 8px; font-size: 20px; }
.cards-band p { margin: 0 0 10px; color: rgba(255,255,255,.82); }
.cards-band a { font-weight: 900; }
.mini { min-height: 95px; }
.site-footer { background: linear-gradient(135deg, var(--primary-dark), #3c0e76); color: white; padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 42px; }
.footer-grid h2, .footer-grid h3 { margin: 0 0 12px; }
.footer-grid p, .footer-grid small { color: rgba(255,255,255,.75); }
.footer-grid a { display: block; color: rgba(255,255,255,.8); margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.6); font-size: 13px; border-top: 1px solid rgba(255,255,255,.13); margin-top: 42px; padding-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1280px) {
  :root { --header-height: 72px; }
  .container { width: min(1120px, calc(100% - 36px)); }
  .nav-actions .btn.small { padding: 10px 16px; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); }
  .hero h1 { font-size: clamp(38px, 4vw, 58px); }
  .hero-visual { grid-template-columns: minmax(220px, 1fr) minmax(240px, 280px); gap: 18px; padding-right: 26px; }
  .large { width: clamp(240px, 26vw, 340px); }
  .mission-card { max-width: 280px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 1080px) {
  .main-nav { gap: 16px; font-size: 12px; }
  .hero-grid, .content-layout { grid-template-columns: 1fr; }
  .hero::after { width: 100%; opacity: .20; }
  .side-column { position: static; grid-template-columns: repeat(3, 1fr); }
  .cards-band, .bio-columns, .side-column { grid-template-columns: 1fr; }
  .bio-block::after { display: none; }
}
@media (max-width: 960px) {
  .container { width: min(100% - 28px, 1180px); }
  .mobile-menu { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px; flex-direction: column; align-items: flex-start; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .nav-actions { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 60px 0 40px; min-height: auto; }
  .trust-row, .news-card, .bio-hero-card, .cards-band article { grid-template-columns: 1fr; }
  .hero-visual { display: block; padding-left: 0; padding-right: 0; }
  .mission-card { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: none; margin-top: 18px; background: var(--primary-dark); }
  .large { width: min(100%, 320px); aspect-ratio: 1 / 1; height: auto; margin: 0 auto; }
  .news-controls { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 640px) {
  .hero-grid { padding: 42px 0 34px; }
  .hero h1 { font-size: clamp(38px, 11vw, 48px); line-height: .96; }
  .hero h1 span { font-size: .68em; }
  .hero-buttons .btn { width: 100%; }
  .trust-row { gap: 16px; }
  .news-section { padding-top: 32px; }
  .news-card { padding: 8px; }
  .bio-columns { padding: 22px; }
  .cards-band article { padding: 18px; }
}

@media (max-width: 520px) {
  .brand { min-width: 0; }
  .brand-name { font-size: 20px; }
  .hero h1 { font-size: 44px; }
  .newsletter-card form { grid-template-columns: 1fr; }
  .newsletter-card input { min-height: 48px; }
}


/* v15 equal spacing fix: hero-visual anchored to 46% (purple left edge) so
   gap(purple-edge → circle-left) == gap(circle-right → card-left) exactly */
@media (min-width: 1081px) {
  .hero::after {
    width: 54%;
    background: var(--primary-dark);
    opacity: .98;
  }

  /* Grid now only lays out the left (text) column; hero-visual is pulled out
     of flow via position:absolute so its left edge perfectly tracks the
     purple section's left edge (100% - 54% = 46%). */
  .hero .hero-grid.container {
    --hero-left-pad: max(28px, calc((100vw - 1240px) / 2));
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: var(--hero-left-pad);
    padding-right: 0;
    /* Single column for hero-copy; hero-visual is absolutely positioned */
    display: grid;
    grid-template-columns: minmax(420px, 46vw);
    gap: 0;
    align-items: center;
  }

  .hero-copy .trust-row {
    max-width: calc(46vw - var(--hero-left-pad) - 34px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-copy .trust-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 3px 8px;
    align-items: start;
  }

  .hero-copy .trust-item .icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 13px;
  }

  .hero-copy .trust-item .icon-img {
    width: 15px;
    height: 15px;
  }

  .hero-copy .trust-item strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .hero-copy .trust-item small {
    font-size: 12px;
    line-height: 1.35;
  }

  /* hero-visual is now absolutely placed inside .hero (which is position:relative)
     starting exactly at 46% — the same x where the ::after purple section starts */
  .hero-visual {
    position: absolute;
    left: 46%;
    right: 0;
    top: 0;
    bottom: 0;
    height: auto;
    min-height: unset;
    display: block;
    padding: 0;
    overflow: hidden;
    --edge-gap: clamp(24px, 1.8vw, 30px);
    --card-width: clamp(290px, 20vw, 340px);
    --card-right: clamp(34px, 4.2vw, 86px);
    --circle-size: calc(100% - var(--card-width) - var(--card-right) - (var(--edge-gap) * 2));
  }

  .hero-visual::before {
    content: "";
    position: absolute;
    left: var(--edge-gap);
    top: 50%;
    transform: translateY(-50%);
    width: var(--circle-size);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    box-shadow: none;
    z-index: 0;
  }

  .hero-visual .large {
    position: absolute;
    left: var(--edge-gap);
    top: 50%;
    transform: translateY(-50%);
    width: var(--circle-size);
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 50%;
    border: 10px solid rgba(255,255,255,.96);
    overflow: hidden;
    box-shadow: none;
    z-index: 1;
  }

  .hero-visual .mission-card {
    position: absolute;
    top: 50%;
    right: var(--card-right);
    transform: translateY(-50%);
    width: var(--card-width);
    max-width: none;
    z-index: 3;
  }
}

@media (min-width: 1081px) and (max-width: 1360px) {
  .hero::after {
    width: 54%;
  }

  /* No grid-template-columns override needed — hero-visual is absolute */

  .hero-copy .trust-row {
    max-width: calc(46vw - var(--hero-left-pad) - 42px);
    gap: 8px;
  }

  .hero-copy .trust-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 3px 7px;
  }

  .hero-copy .trust-item .icon {
    width: 28px;
    height: 28px;
  }

  .hero-copy .trust-item .icon-img {
    width: 14px;
    height: 14px;
  }

  .hero-copy .trust-item strong { font-size: 12.5px; }
  .hero-copy .trust-item small { font-size: 11.5px; }

  .hero-visual {
    --edge-gap: 24px;
    --card-width: 284px;
    --card-right: 26px;
    --circle-size: calc(100% - var(--card-width) - var(--card-right) - (var(--edge-gap) * 2));
  }

  .hero-visual .mission-card {
    padding: 24px;
  }

  .mission-card h2 { font-size: 24px; }
  .mission-card p { font-size: 15px; }
  .mission-card ul { gap: 11px; }
}

/* v22: Navigation anchor offset fix — show each section title immediately on click */
#noutati.section-anchor,
#biografie.section-anchor,
#pozitii.section-anchor,
#evenimente.section-anchor,
#contact.section-anchor {
  scroll-margin-top: 0px;
}


/* Biography section responsive refinement */
@media (max-width: 1080px) {
  .bio-columns {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    gap: 24px;
  }
  .bio-block:not(:last-child)::after {
    display: none;
  }
  .bio-block {
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }
  .bio-block:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .bio-title-row {
    gap: 12px;
  }
  .bio-title-row h2 {
    font-size: 22px;
  }
  .bio-columns {
    padding: 20px;
  }
  .block-icon {
    width: 26px;
    height: 26px;
  }
}

/* v24: Make Biografie section span full content width */
.bio-section,
.cards-band {
  grid-column: 1 / -1;
  width: 100%;
}

.bio-section {
  margin-top: 52px;
}

.bio-section .bio-title-row,
.bio-section .bio-hero-card,
.bio-section .bio-columns {
  width: 100%;
}

@media (min-width: 1081px) {
  .bio-section .bio-hero-card {
    grid-template-columns: minmax(320px, 38%) 1fr;
    gap: clamp(26px, 3vw, 46px);
    padding: clamp(18px, 2vw, 26px);
  }

  .bio-section .bio-photo {
    min-height: 260px;
  }

  .bio-section .bio-intro {
    max-width: 680px;
  }

  .bio-section .bio-columns {
    grid-template-columns: 0.95fr 1.18fr 1.18fr;
    gap: clamp(42px, 5vw, 76px);
  }

  .bio-section .bio-block:not(:last-child)::after {
    right: calc(clamp(42px, 5vw, 76px) / -2);
  }
}

@media (max-width: 1080px) {
  .bio-section {
    margin-top: 40px;
  }
}


/* v27 social logo refinement */
.socials .social-link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}
.socials .social-link {
  color: #fff;
}
@media (max-width: 520px) {
  .socials .social-link svg { width: 20px; height: 20px; }
}


/* Decorative city outline */


.content-photo {
  object-fit: cover;
  display: block;
}
img.photo-placeholder {
  width: 100%;
}
img.large {
  width: clamp(260px, 28vw, 390px);
}
img.thumb {
  width: 100%;
}
img.bio-photo {
  width: 100%;
}
.cards-band img.photo-placeholder {
  min-height: 100%;
}


/* v62: optional admin replacement for the existing faded hero background */
.hero.has-admin-bg::before {
  background-image: var(--hero-bg-image) !important;
}

/* v62: uploaded hero portrait inside the existing circular frame */
.photo-placeholder.large.has-uploaded-photo {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
}
.photo-placeholder.large.has-uploaded-photo .hero-uploaded-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

/* v62: news load more visibility */
.load-more {
  display: block;
}
.load-more[hidden] {
  display: none !important;
}
.news-card[hidden] {
  display: none !important;
}


/* v64 full hero circle photo fit */
.photo-placeholder.large.has-uploaded-photo {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  color: transparent !important;
  background: transparent !important;
  background-image: none !important;
  display: block !important;
}
.photo-placeholder.large.has-uploaded-photo::before,
.photo-placeholder.large.has-uploaded-photo::after {
  display: none !important;
  content: none !important;
}
.photo-placeholder.large.has-uploaded-photo .hero-uploaded-photo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
}


/* v64 show less news button */
.show-less-news {
  margin-top: 16px;
}
.show-less-news[hidden] {
  display: none !important;
}


/* v65 newsletter and legal links */
.newsletter-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.legal-links a {
  cursor: pointer;
}


/* v66 footer resource PDF links */
[data-field="footer_resources"] a {
  display: block;
  cursor: pointer;
}
[data-field="footer_legal_links"] a {
  cursor: pointer;
}
