/* CGS Core: programs, New Voices. The lettering header is the Figma frame
   "Essay_Site Art_Wide" (110:43) drawn as text: the lettering group (110:139,
   1156 x 335) is laid out in its own frame units (cqw) so every line, the
   gold 4 and the two white weave patches land where Figma puts them at any
   width. The group sits 49.5 units in from the frame's left edge, so every
   position here is measured from the group, checked against the Figma export
   newvoices-hero-wide.png (2026-10-20). The band uses the program header
   padding, so it is as tall as the other program headers. Every selector
   starts with .cgs-nv or .cgs-pgh--newvoices. */
.cgs-pgh--newvoices { isolation: isolate; }
.cgs-pgh--newvoices .cgs-nvh-in { position: relative; z-index: 2; box-sizing: border-box; width: min(900px, 90%); margin: 0 auto; display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 72px) 0; }
.cgs-pgh--newvoices .cgs-nvh-h1 { margin: 0 !important; padding: 0 !important; font-size: inherit !important; line-height: 1 !important; width: min(710px, 80%); color: #fff !important; }
.cgs-pgh--newvoices .cgs-nvh-l { display: block; position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1156 / 335; color: #fff; font-family: Montserrat, Helvetica, Arial, sans-serif; }
.cgs-pgh--newvoices .cgs-nvh-l span { position: absolute; white-space: nowrap; line-height: 0.98; color: #fff; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-l1 { left: 13.65%; top: 5.37%; font-weight: 900; font-size: 10.38cqw; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-l2 { left: 0; top: 41.19%; font-weight: 900; font-size: 10.38cqw; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-l3 { left: 18.54%; top: 81.19%; font-weight: 300; font-size: 6.49cqw; letter-spacing: 0.02em; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-four { position: absolute; left: 34.73%; top: 2.87%; width: 18.69%; height: auto; display: block; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-weave { position: absolute; inset: 0; display: block; }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-w44 { clip-path: inset(10.63% 54.71% 72.36% 41.74%); }
.cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-w45 { clip-path: inset(45.85% 54.89% 45.79% 41.57%); }
.cgs-pgh--newvoices .cgs-nvh-pen { position: absolute; z-index: 1; color: #27318B; width: 15%; max-width: 200px; aspect-ratio: 1; height: auto; pointer-events: none; }
.cgs-pgh--newvoices .cgs-nvh-pen--tl { left: 7%; top: -16%; }
.cgs-pgh--newvoices .cgs-nvh-pen--br { right: 7%; bottom: -16%; }
@media (max-width: 600px) {
    .cgs-pgh--newvoices .cgs-nvh-h1 { width: 92%; }
    .cgs-pgh--newvoices .cgs-nvh-l .cgs-nvh-l3 { font-weight: 400; }
    .cgs-pgh--newvoices .cgs-nvh-pen { width: 30%; }
    .cgs-pgh--newvoices .cgs-nvh-pen--tl { left: -4%; top: -10%; }
    .cgs-pgh--newvoices .cgs-nvh-pen--br { right: -6%; bottom: -12%; }
}
@media (max-width: 520px) {
    .cgs-pgh--newvoices .cgs-nvh-in { min-height: 300px; padding: 44px 0; }
}

/* ---- The page: [cgs_new_voices]. Ported from the approved mockup. ---- */
.cgs-nv { font: 400 17px/1.65 "Roboto Flex", Roboto, Helvetica, Arial, sans-serif; color: #33374A; }
.cgs-nv *, .cgs-nv *::before, .cgs-nv *::after { box-sizing: border-box; }
.cgs-nv h2, .cgs-nv h3 { font-family: Montserrat, Helvetica, Arial, sans-serif; color: #27318B !important; margin: 0 !important; padding: 0 !important; text-transform: none !important; overflow-wrap: anywhere; }
.cgs-nv .cgs-nv-h2 { font-size: 28px !important; font-weight: 700 !important; line-height: 1.25 !important; letter-spacing: -0.4px !important; }
.cgs-nv p { padding-bottom: 0 !important; }
.cgs-nv img { display: block; max-width: 100%; height: auto; }
.cgs-nv a { color: #27318B !important; text-decoration: underline !important; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.cgs-nv a.cgs-pgs-btn-solid { color: #fff !important; text-decoration: none !important; }
.cgs-nv a:focus-visible, .cgs-nv button:focus-visible, .cgs-nv summary:focus-visible { outline: 3px solid #27318B; outline-offset: 3px; border-radius: 4px; }
.cgs-nv-prize a:focus-visible, .cgs-nv-prize summary:focus-visible { outline-color: #F1C500; }
.cgs-nv-wrap { width: min(900px, 90%); margin: 0 auto; }
.cgs-nv .cgs-pgs-rule { margin: 12px 0 0; }
.cgs-nv-ico { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }
.cgs-nv-sub { margin: 16px 0 0 !important; color: #5A5F6E; max-width: 60ch; }
.cgs-nv-sec [id] { scroll-margin-top: 96px; }
.cgs-nv-sec { scroll-margin-top: 96px; }

/* Intro and the next-contest box */
.cgs-nv-intro { padding: 64px 0 24px; }
.cgs-nv-intro .cgs-nv-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.cgs-nv-intro .cgs-nv-h2 { font-size: clamp(28px, 3.2vw, 34px) !important; line-height: 1.2 !important; }
.cgs-nv-intro .cgs-nv-wrap > div > p { margin: 16px 0 0 !important; max-width: 62ch; }
.cgs-nv-qh { margin-top: 24px !important; font-size: 19px !important; font-weight: 700 !important; color: #1A1A2E !important; }
.cgs-nv-q { margin: 10px 0 0; padding-left: 1.2em; max-width: 62ch; }
.cgs-nv-q li { margin: 6px 0; }
.cgs-nv-next { background: #F1F2F9; border-radius: 12px; padding: 26px 28px; }
.cgs-nv-next > h3 { font-size: 19px !important; font-weight: 700 !important; line-height: 1.3 !important; color: #1A1A2E !important; display: flex; gap: 10px; align-items: flex-start; }
.cgs-nv-next > h3 .cgs-nv-ico { color: #27318B; width: 22px; height: 22px; margin-top: 1px; }
.cgs-nv-next > p { margin: 10px 0 18px !important; font-size: 16px; }
.cgs-nv-next > p.cgs-nv-fact { margin: 0 0 8px !important; }
.cgs-nv-next .cgs-pgs-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; box-sizing: border-box; }
.cgs-nv-next .cgs-pgs-btn-solid { font-family: Montserrat, Helvetica, Arial, sans-serif; line-height: 1.2; text-decoration: none; list-style: none; cursor: pointer; }
.cgs-nv-wait { display: inline-block; vertical-align: middle; max-width: 100%; }
.cgs-nv-wait summary { list-style: none; }
.cgs-nv-wait summary::-webkit-details-marker { display: none; }
.cgs-nv-wait[open] { display: block; margin-bottom: 8px; }
.cgs-nv-wait[open] summary { margin-bottom: 14px; }
.cgs-nv-rulesl { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 6px; font-weight: 600; font-size: 16px; }

/* Essays */
.cgs-nv-sec-essays { padding: 56px 0 80px; }
.cgs-nv-feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 32px; }
.cgs-nv-feat--noimg { grid-template-columns: minmax(0, 1fr); }
.cgs-nv-im { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: #F5F6FA; }
.cgs-nv-im img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.cgs-nv-feat:hover .cgs-nv-im img, .cgs-nv-essay:hover .cgs-nv-im img { transform: scale(1.03); }
.cgs-nv-tag { display: flex; align-items: baseline; gap: 12px; font: 600 16px/1.2 Montserrat, Helvetica, Arial, sans-serif; color: #27318B; }
.cgs-nv-tag .cgs-nv-yr { font: 300 44px/1 Montserrat, Helvetica, Arial, sans-serif; letter-spacing: -0.02em; white-space: nowrap; }
.cgs-nv-feat h3 { margin-top: 14px !important; font-size: clamp(23px, 2.5vw, 30px) !important; line-height: 1.22 !important; font-weight: 800 !important; }
.cgs-nv-feat p { margin: 14px 0 18px !important; font-size: 18px; max-width: 52ch; }
.cgs-nv-older { margin-top: 56px; border-top: 1px solid #E6E8EF; }
.cgs-nv-essay { display: grid; grid-template-columns: 76px 180px minmax(0, 1fr); gap: 24px; align-items: start; padding: 28px 0; border-bottom: 1px solid #E6E8EF; }
.cgs-nv-essay--noimg { grid-template-columns: 76px minmax(0, 1fr); }
.cgs-nv-essay .cgs-nv-yr { font: 300 34px/1 Montserrat, Helvetica, Arial, sans-serif; color: #27318B; letter-spacing: -0.02em; padding-top: 4px; white-space: nowrap; }
.cgs-nv-essay .cgs-nv-im { border-radius: 8px; }
.cgs-nv-essay h3 { font-size: 20px !important; line-height: 1.32 !important; font-weight: 700 !important; }
.cgs-nv-essay p { margin: 8px 0 6px !important; max-width: 62ch; }
.cgs-nv h3 a { color: #1D2B47 !important; text-decoration: none !important; }
.cgs-nv h3 a:hover { color: #27318B !important; text-decoration: underline !important; }
.cgs-nv-by { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; font-size: 16px; color: #5A5F6E; }
.cgs-nv-by b { color: #1A1A2E; font-weight: 600; overflow-wrap: anywhere; }
.cgs-nv .cgs-nv-go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 16px/1 Montserrat, Helvetica, Arial, sans-serif; text-decoration: none !important; }
.cgs-nv .cgs-nv-go:hover { text-decoration: underline !important; }

/* Prize band */
.cgs-nv-prize { background: #27318B; color: #fff; padding: 72px 0; }
.cgs-nv-prize .cgs-nv-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
.cgs-nv-prize h2 { color: #fff !important; }
.cgs-nv-prize p { margin: 16px 0 0 !important; color: #E4E6F4; max-width: 60ch; }
.cgs-nv-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.cgs-nv-facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.cgs-nv-facts .cgs-nv-ico { width: 24px; height: 24px; color: #F1C500; }
.cgs-nv-facts b { display: block; font: 700 17px/1.3 Montserrat, Helvetica, Arial, sans-serif; color: #fff; }
.cgs-nv-facts span { font-size: 16px; color: #D6D9EE; }
.cgs-nv-prize-photo { margin: 28px 0 0; }
.cgs-nv-prize-photo img { width: 100%; height: auto; border-radius: 12px; }
.cgs-nv-prize-photo figcaption { font-size: 15px; line-height: 1.5; color: #E4E6F4; margin-top: 10px; }
.cgs-nv-more { margin-top: 28px; }
.cgs-nv-more details { border-top: 1px solid rgba(255, 255, 255, 0.22); }
.cgs-nv-more details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.cgs-nv-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; padding: 4px 0; font: 700 16px/1.3 Montserrat, Helvetica, Arial, sans-serif; color: #fff; }
.cgs-nv-more summary::-webkit-details-marker { display: none; }
.cgs-nv-more summary .cgs-nv-ico { transition: transform 0.25s; }
.cgs-nv-more details[open] summary .cgs-nv-ico { transform: rotate(45deg); }
.cgs-nv-more details p { margin: 0 0 18px !important; font-size: 16px; }
.cgs-nv-prize .cgs-nv-give { margin-top: 28px !important; font-size: 16px; color: #E4E6F4; }
.cgs-nv-prize .cgs-nv-give a { color: #fff !important; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* Winners */
.cgs-nv-sec-winners { padding: 80px 0 72px; }
.cgs-nv-people { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 40px 48px; margin: 36px 0 0; list-style: none !important; padding: 0 !important; }
.cgs-nv-person { width: 200px; margin: 0; padding: 0; list-style: none !important; }
.cgs-nv-av { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: #27318B; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #F1C500; }
.cgs-nv-av img { width: 100%; height: 100%; object-fit: cover; }
.cgs-nv-av--none { display: grid; place-items: center; }
.cgs-nv-av-four { width: 62%; height: auto; }
.cgs-nv-person b { display: block; margin-top: 18px; font: 700 18px/1.3 Montserrat, Helvetica, Arial, sans-serif; color: #1A1A2E; overflow-wrap: anywhere; }
.cgs-nv-person span { display: block; margin-top: 2px; font-size: 16px; color: #5A5F6E; overflow-wrap: anywhere; }
.cgs-nv-person a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }

/* Rules */
.cgs-nv-sec-rules { padding: 0 0 96px; }
.cgs-nv-rl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 28px 0 0; border-top: 1px solid #E6E8EF; }
.cgs-nv-rl div { padding: 22px 0; border-bottom: 1px solid #E6E8EF; }
.cgs-nv-rl dt { font: 700 18px/1.3 Montserrat, Helvetica, Arial, sans-serif; color: #27318B; }
.cgs-nv-rl dd { margin: 8px 0 0; max-width: 60ch; overflow-wrap: anywhere; }
.cgs-nv-vid { margin-top: 28px; border: 1px solid #E6E8EF; border-radius: 12px; padding: 0 22px; }
.cgs-nv-vid summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font: 700 18px/1.3 Montserrat, Helvetica, Arial, sans-serif; color: #27318B; }
.cgs-nv-vid summary::-webkit-details-marker { display: none; }
.cgs-nv-vid summary .cgs-nv-ico { transition: transform 0.25s; }
.cgs-nv-vid[open] summary .cgs-nv-ico { transform: rotate(45deg); }
.cgs-nv-vid .cgs-pgs-thumb { margin: 0 0 22px; border-radius: 8px; max-width: 480px; }

@media (max-width: 860px) {
    .cgs-nv-intro .cgs-nv-wrap, .cgs-nv-prize .cgs-nv-wrap { grid-template-columns: 1fr; gap: 32px; }
    .cgs-nv-rl { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
    .cgs-nv-feat { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 600px) {
    .cgs-nv-essay, .cgs-nv-essay--noimg { grid-template-columns: 1fr; gap: 12px; }
    .cgs-nv-essay .cgs-nv-im { order: -1; }
    .cgs-nv-essay .cgs-nv-yr { font-size: 26px; padding-top: 6px; }
}
@media (max-width: 520px) {
    .cgs-nv { font-size: 16.5px; }
    .cgs-nv-people { flex-direction: column; gap: 24px; }
    .cgs-nv-person { width: auto; display: grid; grid-template-columns: 96px 1fr; column-gap: 18px; align-items: center; }
    .cgs-nv-av { width: 96px; height: 96px; grid-row: 1 / 4; }
    .cgs-nv-person b { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cgs-nv *, .cgs-nv *::before, .cgs-nv *::after { transition: none !important; animation: none !important; }
}
