/* Shared design for every pageant site. Colours come from each site's settings. */
:root {
  --bg: #f8f3ea;
  --surface: #ffffff;
  --text: #241c14;
  --muted: #6b5d4d;
  --accent: #a8834a;
  --accent-text: #ffffff;
  --dark: #1c1712;
  --radius: 10px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 Lato, system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 {
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin: 0 0 1.2rem; }

/* Header and menu */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.brand img { height: 56px; width: auto; }
.brand span { font-family: Oswald, sans-serif; font-size: 1.3rem; color: var(--text); text-transform: uppercase; }
.brand { text-decoration: none; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; align-items: center; }
nav a, nav summary {
  display: block; padding: 0.5rem 0.8rem; border-radius: 6px;
  font-family: Oswald, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.95rem;
  color: var(--text); text-decoration: none; cursor: pointer;
}
nav a:hover, nav summary:hover, nav a[aria-current="page"], .has-current > details > summary { color: var(--accent); }
nav summary { list-style: none; }
nav summary::-webkit-details-marker { display: none; }
nav summary::after { content: " ▾"; font-size: 0.8em; }
.menu-group { position: relative; }
.menu-group ul {
  position: absolute; right: 0; top: 100%; min-width: 220px;
  flex-direction: column; align-items: stretch;
  background: var(--surface); border-radius: var(--radius); padding: 0.4rem;
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.12);
}
.menu-toggle, .menu-button { display: none; }

@media (max-width: 860px) {
  .menu-button {
    display: block; width: 44px; height: 44px; position: relative; cursor: pointer;
  }
  .menu-button span, .menu-button span::before, .menu-button span::after {
    position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); content: "";
  }
  .menu-button span { top: 21px; }
  .menu-button span::before { top: -7px; left: 0; right: 0; }
  .menu-button span::after { top: 7px; left: 0; right: 0; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    padding: 0.5rem 1rem 1rem;
  }
  .menu-toggle:checked ~ nav { display: block; }
  nav ul { flex-direction: column; align-items: stretch; }
  .menu-group ul { position: static; box-shadow: none; background: transparent; padding-left: 1rem; }
}

/* Page sections */
main { padding-bottom: 3rem; }
.hero { position: relative; max-width: 1400px; margin: 0 auto; }
/* The banner image is shown whole (never cropped) so clickable areas stay over the right spot. */
.hero-frame { position: relative; }
.hero-img { width: 100%; height: auto; }
.hotspot { position: absolute; border-radius: 999px; }
.hotspot:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent); }
.hotspot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-text { text-align: center; padding: 2.2rem 1rem 0.5rem; max-width: 760px; margin: 0 auto; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 0.5rem; }
.hero-text p { font-size: 1.15rem; color: var(--muted); }
.block { max-width: var(--max); margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 2rem) 0; }
.text { max-width: 780px; }
.text p { margin: 0 0 1rem; }
.btn {
  display: inline-block; padding: 0.8rem 1.8rem; border: 0; border-radius: 999px;
  background: var(--accent); color: var(--accent-text);
  font: 500 1rem Oswald, sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; padding: 2rem 1rem 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.8rem; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.person { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgb(0 0 0 / 0.06); }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.person figcaption { padding: 0.8rem 1rem 0.4rem; text-align: center; }
.person strong { display: block; font-family: Oswald, sans-serif; font-weight: 500; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.04em; }
.role { display: block; color: var(--muted); font-size: 0.9rem; }
.votes { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; padding: 0.4rem 0.8rem 1rem; }
.vote {
  text-align: center; padding: 0.45rem 0.3rem; border-radius: 6px; font-size: 0.85rem;
  border: 1px solid var(--accent); color: var(--text); text-decoration: none;
}
.vote:hover { background: var(--accent); color: var(--accent-text); }

.apply form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 720px; margin: 0 auto;
  background: var(--surface); padding: clamp(1rem, 4vw, 2rem); border-radius: var(--radius);
}
.apply p { text-align: center; }
.apply label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.95rem; }
.apply input, .apply textarea {
  font: inherit; padding: 0.6rem 0.7rem; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent);
  border-radius: 6px; background: var(--bg); color: var(--text);
}
.apply .wide { grid-column: 1 / -1; }
.apply .small { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 600px) { .apply form { grid-template-columns: 1fr; } }

.site-footer {
  background: var(--dark); color: #eee6da; text-align: center; padding: 2rem 1rem; font-size: 0.95rem;
}
.site-footer a { color: #eee6da; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-bottom: 0.6rem; }
.apply .check { display: block; } .apply .check input { margin: 0 0.5rem 0 0; vertical-align: middle; }
/* tick box spacing is set above */
.form-status { margin: 0; text-align: center; font-weight: 700; }
.form-status:empty { display: none; }

/* Theme 2026: black, silver and sapphire */ body{font-family:Montserrat,system-ui,sans-serif;font-weight:300;background:radial-gradient(ellipse 70% 45% at 15% 0%,rgba(255,255,255,.09),transparent 65%) fixed,var(--bg)} h1,h2,h3{font-family:"Cormorant Garamond",Georgia,serif;font-weight:300;letter-spacing:.12em} h1{font-size:clamp(2.4rem,6vw,4.2rem)} h2{font-size:clamp(1.8rem,3.6vw,2.7rem)} h2::after{content:"\2726";display:block;width:240px;max-width:80%;margin:.7rem auto 0;font-size:.7rem;letter-spacing:0;color:var(--muted);background:linear-gradient(rgba(255,255,255,.3),rgba(255,255,255,.3)) left center/42% 1px no-repeat,linear-gradient(rgba(255,255,255,.3),rgba(255,255,255,.3)) right center/42% 1px no-repeat} h3{font-size:1.5rem;margin:2rem 0 .6rem} .site-header{background:rgba(5,5,7,.88);border-bottom:1px solid rgba(255,255,255,.12)} .brand img{filter:brightness(1.7)} nav a,nav summary{font-family:Montserrat,sans-serif;font-weight:400;font-size:.76rem;letter-spacing:.24em} nav a:hover,nav summary:hover,nav a[aria-current="page"],.has-current>details>summary{color:#fff;text-shadow:0 0 14px rgba(110,140,255,.75)} .menu-group ul{background:#111116;border:1px solid rgba(255,255,255,.1)} .menu-button span,.menu-button span::before,.menu-button span::after{background:#fff} .btn{background:transparent;color:var(--text);border:1px solid rgba(255,255,255,.8);border-radius:0;font:400 .78rem Montserrat,sans-serif;letter-spacing:.38em;padding:1rem 2.4rem} .btn:hover{background:#fff;color:#000;filter:none} .hero{padding-top:1rem} .hero-frame{width:fit-content;max-width:100%;margin:0 auto} .hero-img{width:auto;max-width:100%;max-height:88vh;margin:0 auto} .hotspot{border-radius:0} .hotspot:hover{box-shadow:0 0 0 1px #fff,0 0 26px rgba(110,140,255,.6)} .hero-text p,.text p{color:var(--muted)} .text p>em:only-child{display:block;font-family:"Great Vibes",cursive;font-style:normal;font-size:clamp(2.4rem,6vw,3.4rem);line-height:1.2;text-align:center;color:#fff;margin:.2rem 0 1.2rem} .text strong{color:var(--text);font-weight:500} a{color:#8fa6ff} .person{background:transparent;box-shadow:none;border:1px solid rgba(255,255,255,.14);border-radius:0} .person img{aspect-ratio:3/4} .person figcaption{padding:1.1rem 1rem 1.4rem} .person strong{font:400 1.7rem "Cormorant Garamond",Georgia,serif;letter-spacing:.05em;text-transform:none} .role{text-transform:uppercase;letter-spacing:.26em;font-size:.68rem;color:#8fa6ff;margin-bottom:.35rem} .people:has(>.person:nth-child(2):last-child){grid-template-columns:repeat(auto-fit,minmax(260px,400px));justify-content:center;gap:2rem} .gallery img{border-radius:0} .vote{border-color:rgba(255,255,255,.4);border-radius:0;color:var(--text)} .apply form{background:var(--surface);border:1px solid rgba(255,255,255,.12);border-radius:0} .apply input,.apply textarea{background:#0b0b0e;border-color:rgba(255,255,255,.22);border-radius:0;color:var(--text);color-scheme:dark} .site-footer{background:#000;border-top:1px solid rgba(255,255,255,.12);text-transform:uppercase;letter-spacing:.28em;font-size:.7rem;color:var(--muted)} .site-footer a{color:var(--muted)} .site-footer::before{content:"Empowered women. \00a0 Real impact. \00a0 Global stage.";display:block;margin-bottom:1.4rem;color:#fff;letter-spacing:.32em}

/* Text logo */ .brand-mark{display:flex;flex-direction:column;align-items:center;line-height:1;color:#dcdee6;padding:2px 0} .brand-crown{width:34px;height:15px;margin-bottom:4px;fill:currentColor;filter:drop-shadow(0 0 6px rgba(140,165,255,.35))} .brand-gem{fill:#5b7cff} .brand .brand-line1{font:500 1.28rem "Cormorant Garamond",Georgia,serif;letter-spacing:.2em;text-transform:uppercase;white-space:nowrap;background:linear-gradient(180deg,#fff 30%,#a7aab6);-webkit-background-clip:text;background-clip:text;color:transparent} .brand .brand-line2{display:flex;align-items:center;gap:.6em;margin-top:5px;font:400 .5rem Montserrat,sans-serif;letter-spacing:.45em;text-transform:uppercase;color:#a9a9b3;white-space:nowrap} .brand-line2::before,.brand-line2::after{content:"";width:16px;height:1px;background:rgba(255,255,255,.35)} @media (max-width:420px){.brand .brand-line1{font-size:1.05rem;letter-spacing:.16em}}

/* Photos inside text */ .text img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;margin:2.4rem 0;border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 60px rgba(0,0,0,.65)} .gallery img{transition:filter .4s,transform .4s;filter:brightness(.9)} .gallery img:hover{filter:brightness(1.05);transform:translateY(-3px)} .hero-frame{box-shadow:0 30px 80px rgba(0,0,0,.7)} #apply-form{scroll-margin-top:90px}

/* Per-site footer line (site.json "footer_tagline") */ .site-footer:has(.footer-tagline)::before{content:none} .footer-tagline{margin:0 0 1.4rem;color:#fff;letter-spacing:.32em}
/* Gold look (site.json "style": "gold") */ body.theme-gold{background:radial-gradient(ellipse 70% 45% at 15% 0%,rgba(212,175,90,.12),transparent 65%) fixed,var(--bg)} .theme-gold a{color:#e2c27a} .theme-gold .role{color:#d4af5a} .theme-gold nav a:hover,.theme-gold nav summary:hover,.theme-gold nav a[aria-current="page"],.theme-gold .has-current>details>summary{color:#f3d991;text-shadow:0 0 14px rgba(212,175,90,.65)} .theme-gold .site-header{border-bottom-color:rgba(212,175,90,.3)} .theme-gold h2::after{color:#c9a24a;background:linear-gradient(rgba(212,175,90,.5),rgba(212,175,90,.5)) left center/42% 1px no-repeat,linear-gradient(rgba(212,175,90,.5),rgba(212,175,90,.5)) right center/42% 1px no-repeat} .theme-gold .btn{background:linear-gradient(180deg,#f3d991,#c9a24a 55%,#9c7428);color:#120d04;border:0;font-weight:500} .theme-gold .btn:hover{background:#fff3cf;color:#000} .theme-gold .hotspot:hover{box-shadow:0 0 0 1px #f3d991,0 0 26px rgba(212,175,90,.6)} .theme-gold .text p>em:only-child{color:#e2c27a} .theme-gold .person{border-color:rgba(212,175,90,.28)} .theme-gold .apply form,.theme-gold .site-footer{border-color:rgba(212,175,90,.3)} .theme-gold .footer-tagline{color:#e2c27a} .theme-gold .brand-mark{color:#e2c27a} .theme-gold .brand-crown{filter:drop-shadow(0 0 6px rgba(212,175,90,.5))} .theme-gold .brand-gem{fill:#fff3cf} .theme-gold .brand .brand-line1{background:linear-gradient(180deg,#fff6da 15%,#c9a24a 90%);-webkit-background-clip:text;background-clip:text} .theme-gold .brand-line2::before,.theme-gold .brand-line2::after{background:rgba(212,175,90,.55)}
/* Gold look: show photos inside text whole (no cropping of faces) */ .theme-gold .text img{width:auto;max-width:100%;max-height:85vh;margin-left:auto;margin-right:auto;object-fit:contain} .theme-gold .gallery img{object-position:center 15%}
/* Gold look: logo image in the header */ .theme-gold .brand img{height:64px;width:auto;filter:brightness(1.35) drop-shadow(0 0 8px rgba(212,175,90,.25))} .theme-gold .site-header{padding-top:.4rem;padding-bottom:.4rem} @media (max-width:600px){.theme-gold .brand img{height:50px}}
/* Rose look (site.json "style": "rose"): light pink and plum */ body.theme-rose{background:linear-gradient(180deg,#fff 0,var(--bg) 480px)} .theme-rose h1,.theme-rose h2,.theme-rose h3{color:#5e1f4b} .theme-rose h2::after{color:#b0578f;background:linear-gradient(rgba(137,51,109,.35),rgba(137,51,109,.35)) left center/42% 1px no-repeat,linear-gradient(rgba(137,51,109,.35),rgba(137,51,109,.35)) right center/42% 1px no-repeat} .theme-rose .site-header{background:rgba(255,248,252,.94);border-bottom:1px solid rgba(137,51,109,.18)} .theme-rose .brand img{height:64px;filter:none} .theme-rose nav a,.theme-rose nav summary{color:#4a2140} .theme-rose nav a:hover,.theme-rose nav summary:hover,.theme-rose nav a[aria-current="page"],.theme-rose .has-current>details>summary{color:#a63d85;text-shadow:none} .theme-rose .menu-group ul{background:#fff;border-color:rgba(137,51,109,.2)} .theme-rose .menu-button span,.theme-rose .menu-button span::before,.theme-rose .menu-button span::after{background:#5e1f4b} .theme-rose .btn{background:linear-gradient(180deg,#a8478a,#7a2763);color:#fff;border:0;border-radius:999px;font-weight:500} .theme-rose .btn:hover{background:#5e1f4b;color:#fff} .theme-rose .hotspot{border-radius:999px} .theme-rose .hotspot:hover{box-shadow:0 0 0 2px #fff,0 0 24px rgba(166,61,133,.6)} .theme-rose .text p>em:only-child{color:#a63d85} .theme-rose a{color:#a63d85} .theme-rose .person{border-color:rgba(137,51,109,.18);background:#fff} .theme-rose .role{color:#a63d85} .theme-rose .apply form{background:#fff;border-color:rgba(137,51,109,.18);box-shadow:0 20px 50px rgba(137,51,109,.12)} .theme-rose .apply input,.theme-rose .apply textarea{background:#fff8fc;border-color:rgba(137,51,109,.3);color:var(--text);color-scheme:light} .theme-rose .site-footer{background:#3d1433;border-top:0;color:#e9c9dd} .theme-rose .site-footer a{color:#e9c9dd} .theme-rose .footer-tagline{color:#fff} .theme-rose .text img{width:auto;max-width:100%;max-height:85vh;margin-left:auto;margin-right:auto;object-fit:contain;border:0;box-shadow:0 20px 50px rgba(94,31,75,.18)} .theme-rose .text img[src$=".png"]{box-shadow:none;filter:drop-shadow(0 16px 26px rgba(94,31,75,.22))} .theme-rose .gallery img{object-position:center 15%;box-shadow:0 10px 30px rgba(94,31,75,.15)} .theme-rose .hero-frame{box-shadow:0 24px 60px rgba(94,31,75,.25)} @media (max-width:860px){.theme-rose nav{background:#fff8fc}} @media (max-width:600px){.theme-rose .brand img{height:50px}}
