/* Competitions page (redesigned 26 Nov): one feature per competition, each
   with its story on the left and the facts at a glance on the right. */
.comp-page { padding-block: 48px 96px; }
.comp-page .container { max-width: 1180px; }

.comp-hero { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.comp-eyebrow { justify-content: center; margin-bottom: 14px; }
.comp-eyebrow .short-rule { width: 3px; height: 1.6em; border-radius: 2px; }
.comp-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; color: var(--green); margin: 0 0 16px; }
.comp-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.65; color: var(--ink); margin: 0 auto 24px; max-width: 40em; }
.comp-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.comp-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--green); font-weight: 600; text-decoration: none; transition: border-color .2s, transform .2s; }
.comp-jump a:hover, .comp-jump a:focus-visible { border-color: var(--green); transform: translateY(-1px); }
.comp-mark-mini { width: 2rem; height: 2rem; border-radius: 999px; font-size: .58rem; }

.comp-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); margin-top: 22px; padding: clamp(24px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 2px rgba(38, 56, 65, .04); scroll-margin-top: 100px; }
.comp-feature-flip .comp-feature-main { order: 2; }
.comp-feature-flip .comp-feature-side { order: 1; }
.comp-tag { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.comp-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -.025em; color: var(--green); margin: 0 0 12px; }
.comp-intro { font-size: 1.08rem; line-height: 1.65; color: var(--ink); margin: 0 0 26px; max-width: 36em; }
.comp-sub { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

.comp-rounds { list-style: none; counter-reset: r; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.comp-rounds li { counter-increment: r; display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 14px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.comp-rounds li::before { content: counter(r); grid-row: span 2; align-self: start; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: .95rem; }
.comp-rounds b { font-size: 1rem; color: var(--green); }
.comp-rounds span { color: var(--muted); line-height: 1.55; }

.comp-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.comp-points li { position: relative; padding-left: 26px; line-height: 1.6; color: var(--ink); }
.comp-points li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 11px; height: 11px; border-radius: 3px; background: #f3dfa0; border: 1.5px solid #d6b85a; }
.comp-points b { color: var(--green); }

.comp-why { margin: 0 0 26px; padding: 18px 20px; border-left: 4px solid #e0c46d; border-radius: 0 12px 12px 0; background: #fbf6e6; }
.comp-why-title { margin: 0 0 6px; font-family: var(--serif); font-size: 1.3rem; color: var(--green); }
.comp-why p:not(.comp-why-title) { margin: 0; line-height: 1.65; color: var(--ink); }

.comp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

.comp-feature-side { display: flex; flex-direction: column; gap: 18px; }
.comp-art { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 18px; background: #f1ede4; }
.comp-art-team svg { width: 64%; height: auto; }
.comp-art-team .ca-lines path { fill: none; stroke: #c4ccd0; stroke-width: 3; stroke-dasharray: 6 6; }
.comp-art-team circle { fill: #f3dfa0; stroke: #d6b85a; stroke-width: 2.5; }
.comp-art-team circle:nth-of-type(n + 3) { fill: #fff; stroke: #c4ccd0; }
.ca-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; width: 46%; aspect-ratio: 1; padding: 9px; border-radius: 14px; background: #283a43; box-shadow: 0 0 0 12px #ddd6c7, 0 0 0 13px #cfc7b6; }
.ca-board i { border-radius: 6px; background: radial-gradient(circle at 50% 40%, #324a56, #283a43 70%); border: 1px solid #597583; }
.ca-board i.on { background: radial-gradient(circle at 50% 38%, #fff6c9, #e8d7a3 55%, #d6c07c); border-color: #ffefbe; }
.comp-facts { margin: 0; display: grid; }
.comp-facts div { padding: 13px 0; border-top: 1px solid var(--line); }
.comp-facts div:last-child { border-bottom: 1px solid var(--line); }
.comp-facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.comp-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); line-height: 1.5; }

.comp-more { margin: 36px 0 0; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .comp-feature { grid-template-columns: 1fr; }
  .comp-feature-flip .comp-feature-main, .comp-feature-flip .comp-feature-side { order: 0; }
  .comp-feature-side { order: -1; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); align-items: center; }
  .comp-feature-flip .comp-feature-side { order: -1; }
}
@media (max-width: 560px) {
  .comp-page { padding-block: 28px 64px; }
  .comp-feature { border-radius: 18px; }
  .comp-feature-side { grid-template-columns: 1fr; }
  .comp-art { aspect-ratio: 16 / 9; }
}

/* Web designer review (26 Nov): compare first, then one story per
   competition with its key numbers kept in view. */
.comp-hero { margin-bottom: 30px; }
.comp-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 18px; margin-bottom: 30px; }
.cc-card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.cc-head { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; }
.cc-name { margin: 0; font-family: var(--serif); font-size: 1.7rem; line-height: 1.1; color: var(--green); }
.cc-full { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.cc-rows { display: grid; margin: 0; }
.cc-rows div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.cc-rows dt { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .15em; }
.cc-rows dd { margin: 0; font-weight: 600; color: var(--ink); line-height: 1.5; }
.cc-more { align-self: end; justify-self: start; margin-top: 14px; padding: 8px 0 2px; color: var(--green); font-weight: 700; text-decoration: none; border-bottom: 2px solid #e0c46d; }
.cc-more:hover, .cc-more:focus-visible { border-color: var(--green); }

.comp-feature { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.comp-feature-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.comp-feature-side { position: sticky; top: 104px; }
.comp-art { aspect-ratio: 16 / 11; }
.comp-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.comp-stats li { display: grid; gap: 4px; align-content: start; padding: 14px 12px; border-radius: 14px; background: var(--paper); text-align: center; }
.comp-stats b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; color: var(--green); white-space: nowrap; }
.comp-stats span { font-size: .8rem; line-height: 1.35; color: var(--muted); }

@media (max-width: 900px) {
  .comp-compare { grid-template-columns: 1fr; row-gap: 16px; }
  .cc-card { grid-row: auto; grid-template-rows: none; }
  .comp-feature, .comp-feature-flip { grid-template-columns: 1fr; }
  .comp-feature-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 16px; }
  .comp-feature-side .comp-art { order: 0; }
}
@media (max-width: 560px) {
  .cc-rows div { grid-template-columns: 1fr; gap: 2px; }
  .comp-feature-side { grid-template-columns: 1fr; }
  .comp-art { display: none; }
  .comp-stats li { padding: 12px 6px; }
}
/* Line the rows of the two cards up with each other (subgrid). */
@media (min-width: 901px) {
  .comp-compare { grid-template-rows: repeat(7, auto); }
  .cc-card { grid-row: span 7; }
  .cc-rows { display: contents; }
  .cc-rows div { align-items: start; }
}
/* On smaller screens the story comes first; the numbers follow it. */
@media (max-width: 900px) {
  .comp-feature .comp-feature-main, .comp-feature-flip .comp-feature-main { order: 1; }
  .comp-feature .comp-feature-side, .comp-feature-flip .comp-feature-side { order: 2; }
}

/* Heading only, no lead line (26 Nov) */
.comp-hero .comp-title { margin-bottom: 0; }

/* Option 1 preview: the Competitions page is a chooser; each competition's detail lives on its own page. */
.cc-go { margin-top: 18px; align-self: flex-start; }

.cc-results { margin: 12px 0 0; }
