/*
Theme Name: Chisinau Open
Theme URI: https://chisinau-open.com
Author: FNTM
Description: Theme for the Chisinau Open Challenger (ATP Challenger 50). Brand colours from the 2026 brandbook. Works with Polylang (EN / RO / RU).
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: chisinau-open
*/

:root {
  --co-green: #ADD260;
  --co-navy: #113E66;
  --co-sky: #5B7FB9;
  --co-morning: #71A5D8;
  --co-light-green: #D9EAB7;
  --co-pale: #E8F1FA;
  --co-yellow: #FFD447;
  --co-coral: #FF6B4A;
  --co-teal: #2FB5A7;
  --co-charcoal: #2E2E2E;
  --co-gray: #A0A7B1;
  --co-muted: #5A6573;
  --co-off: #F8F9FA;
  --co-line: #E3E8EE;
  --co-max: 1280px;
  --co-font: "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--co-off); color: var(--co-charcoal); font-family: var(--co-font); font-size: 17px; line-height: 1.6; }
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--co-navy); }
a:hover { color: var(--co-sky); }
h1, h2, h3, h4 { color: var(--co-navy); line-height: 1.2; font-weight: 700; }
.co-wrap { max-width: var(--co-max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; background: #fff; padding: 10px 14px; clip: auto; width: auto; height: auto; }

/* ---------- Header ---------- */
.co-header { background: var(--co-green); position: sticky; top: 0; z-index: 50; }
.admin-bar .co-header { top: 32px; }
.co-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.co-logo img { height: 58px; width: auto; }
.co-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.co-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 30px; }
.co-nav li { position: relative; }
.co-nav a { display: block; padding: 8px 0; color: var(--co-navy); font-weight: 700; font-size: 19px; text-decoration: none; }
.co-nav > ul > li > a { box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .15s; }
.co-nav > ul > li > a:hover,
.co-nav > ul > li.current-menu-item > a,
.co-nav > ul > li.current-menu-ancestor > a,
.co-nav > ul > li.current-menu-parent > a { color: var(--co-navy); box-shadow: inset 0 -3px 0 var(--co-navy); }
.co-nav .menu-item-has-children > a::after { content: " ▾"; font-size: .8em; }
.co-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 230px; background: #fff; border-top: 3px solid var(--co-navy); box-shadow: 0 8px 24px rgba(17,62,102,.15); padding: 8px 0; flex-direction: column; gap: 0; z-index: 60; }
.co-nav li:hover > .sub-menu, .co-nav li:focus-within > .sub-menu { display: flex; }
.co-nav .sub-menu a { font-size: 16px; font-weight: 500; padding: 8px 16px; }
.co-nav .sub-menu a:hover { color: var(--co-navy); background: var(--co-pale); box-shadow: none; }
.co-nav .sub-menu .current-menu-item > a,
.co-nav .sub-menu .current-menu-item > a:hover { color: #fff; background: var(--co-navy); }
.co-header__tools { display: flex; align-items: center; gap: 14px; }
.co-social { display: flex; gap: 6px; }
.co-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--co-charcoal); border-radius: 50%; }
.co-social a:hover { background: rgba(255,255,255,.4); color: var(--co-navy); }
.co-atp { color: #000; text-decoration: none; font-weight: 900; font-style: italic; font-size: 20px; white-space: nowrap; }
.co-atp small { font-size: 13px; font-weight: 700; font-style: italic; }
.co-atp img { height: 22px; width: auto; }
.co-lang select { background: var(--co-sky); color: #fff; border: 0; border-radius: 4px; padding: 8px 10px; font: 500 14px var(--co-font); cursor: pointer; }
.co-lang ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.co-lang ul a { color: var(--co-navy); font-weight: 700; text-decoration: none; font-size: 14px; }
.co-menu-toggle { display: none; background: var(--co-navy); color: #fff; border: 0; border-radius: 6px; padding: 10px 14px; font: 700 15px var(--co-font); cursor: pointer; }

@media (max-width: 1100px) {
  .co-menu-toggle { display: block; }
  .co-nav { order: 5; flex-basis: 100%; display: none; justify-content: flex-start; }
  .co-nav.is-open { display: flex; }
  .co-nav ul { flex-direction: column; width: 100%; }
  .co-nav .sub-menu { display: flex; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; }
  .co-atp { display: none; }
}

/* ---------- Hero ---------- */
.co-hero { position: relative; background: #1366c4 center / cover no-repeat; color: #fff; }
.co-hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 40px; min-height: 560px; padding-top: 64px; padding-bottom: 64px; }
.co-hero__main { flex: 999 1 560px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; gap: 40px; }
.co-hero h1 { margin: 0; color: #fff; font-weight: 900; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.co-hero__dates { margin-top: 10px; font-weight: 700; font-size: clamp(26px, 3vw, 42px); text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.co-hero__text { margin: 0; max-width: 620px; font-weight: 700; font-size: 20px; line-height: 1.45; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.co-hero__side { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 28px; text-align: center; }
.co-hero__side span { display: block; font-weight: 700; font-size: 22px; margin-bottom: 10px; }
.co-hero .co-partner__name { color: #fff; font-size: 20px; }
.co-hero__side img { max-height: 90px; max-width: 200px; width: auto; margin: 0 auto; }
.co-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.co-btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; }
.co-btn--green { background: var(--co-green); color: var(--co-navy); }
.co-btn--green:hover { background: #fff; color: var(--co-navy); }
.co-btn--ghost { border: 2px solid #fff; color: #fff; }
.co-btn--ghost:hover { background: #fff; color: var(--co-navy); }
@media (max-width: 760px) {
  .co-hero__main { align-items: flex-start; text-align: left; }
  .co-hero__ctas { justify-content: flex-start; }
  .co-hero { background-position: 25% center; }
  .co-hero::before { content: ""; position: absolute; inset: 0; background: rgba(17,62,102,.45); }
  .co-hero__side { max-width: none; gap: 18px; }
}

/* ---------- News ---------- */
.co-news { padding: 40px 0; }
.co-news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.co-card { background: #fff; border: 1px solid var(--co-green); display: flex; flex-direction: column; text-decoration: none; transition: box-shadow .2s; }
.co-card:hover { box-shadow: 0 6px 20px rgba(17,62,102,.12); }
.co-card img { width: 100%; height: 220px; object-fit: cover; }
.co-card__body { padding: 18px 18px 24px; }
.co-card__date { font-size: 13px; color: var(--co-muted); }
.co-card h3 { margin: 6px 0 0; font-size: 20px; line-height: 1.35; }
.co-news__more { text-align: right; margin-top: 16px; font-weight: 700; }

/* ---------- Venue slider ---------- */
.co-venue h2 { text-align: center; font-size: 40px; margin: 24px 0 20px; }
.co-slider { background: var(--co-sky); }
.co-slider__stage { position: relative; max-width: var(--co-max); margin: 0 auto; }
.co-slider__slide { display: none; }
.co-slider__slide.is-active { display: block; }
.co-slider__slide img { width: 100%; height: 520px; object-fit: cover; }
.co-slider__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); color: var(--co-navy); font-size: 24px; cursor: pointer; }
.co-slider__btn--prev { left: 16px; } .co-slider__btn--next { right: 16px; }
.co-slider__bar { max-width: var(--co-max); margin: 0 auto; padding: 10px 24px; display: flex; justify-content: space-between; color: #fff; font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .co-slider__slide img { height: 300px; } }

/* ---------- Location ---------- */
.co-location__band { background: var(--co-teal); text-align: center; padding: 44px 24px; }
.co-location__band h2 { margin: 0; font-size: 44px; }
.co-location__band p { margin: 10px 0 0; font-weight: 700; font-size: 18px; color: var(--co-navy); }
.co-map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Partners ---------- */
.co-partners { background: #fff; padding: 56px 0 64px; }
.co-partners__group { text-align: center; margin-bottom: 44px; }
.co-partners__group:last-child { margin-bottom: 0; }
.co-partners h2 { font-size: 40px; margin: 0 0 22px; }
.co-partners__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; }
.co-partner { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.co-partner__logo { width: 180px; height: 90px; display: flex; align-items: center; justify-content: center; }
.co-partner__logo img { max-width: 170px; max-height: 84px; width: auto; height: auto; }
.co-partner__name { font-weight: 700; color: var(--co-navy); }
.co-partner__role { font-size: 13px; color: var(--co-muted); }

/* ---------- Footer ---------- */
.co-footer { background: var(--co-green); color: var(--co-navy); }
.co-footer__inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; padding-top: 44px; padding-bottom: 28px; }
.co-footer__title { font-weight: 900; font-size: 26px; }
.co-footer__contacts { display: flex; flex-direction: column; gap: 6px; }
.co-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.co-footer__logo img { height: 72px; width: auto; }
.co-footer__bottom { border-top: 1px solid rgba(17,62,102,.25); padding: 16px 0 24px; font-size: 14px; }

/* ---------- Content pages ---------- */
.co-page-head { background: var(--co-navy); color: #fff; padding: 48px 0; }
.co-page-head h1 { color: #fff; margin: 0; font-size: clamp(30px, 4vw, 46px); }
.co-page-head .co-meta { color: #C9D6E6; margin-top: 8px; font-size: 15px; }
.co-content { background: #fff; padding: 48px 0 72px; }
.co-content .co-wrap { max-width: 860px; }
.co-content img { border-radius: 4px; }
.co-content .wp-block-image figcaption { font-size: 14px; color: var(--co-muted); }
.co-content table { border-collapse: collapse; width: 100%; }
.co-content th, .co-content td { border-bottom: 1px solid var(--co-line); padding: 10px 8px; text-align: left; }
.co-archive { padding: 48px 0 72px; }
.co-pagination { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.co-pagination .page-numbers { padding: 8px 14px; background: #fff; border: 1px solid var(--co-line); text-decoration: none; }
.co-pagination .current { background: var(--co-navy); color: #fff; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }

/* co-dropdown-v2 */
@media (min-width: 1101px) {
  .co-nav .sub-menu {
    display: flex; visibility: hidden; opacity: 0; transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    top: calc(100% + 14px); left: -18px; min-width: 250px;
    background: #fff; border: 0; border-radius: 14px; padding: 10px;
    box-shadow: 0 18px 40px rgba(17,62,102,.18), 0 2px 6px rgba(17,62,102,.08);
  }
  .co-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .co-nav .sub-menu::after {
    content: ""; position: absolute; top: -6px; left: 34px; width: 14px; height: 14px;
    background: #fff; transform: rotate(45deg); border-radius: 3px 0 0 0;
  }
  .co-nav li:hover > .sub-menu, .co-nav li:focus-within > .sub-menu {
    visibility: visible; opacity: 1; transform: translateY(0); transition-delay: 0s;
  }
  .co-nav .sub-menu li { position: relative; z-index: 1; }
  .co-nav .sub-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 9px;
    font-size: 15.5px; font-weight: 500; line-height: 1.3; color: var(--co-navy);
    box-shadow: none; transition: background .15s, color .15s, padding-left .15s;
  }
  .co-nav .sub-menu a::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none;
    background: var(--co-gray); opacity: .55; transition: background .15s, opacity .15s, transform .15s;
  }
  .co-nav .sub-menu a:hover { background: var(--co-pale); color: var(--co-navy); padding-left: 18px; }
  .co-nav .sub-menu a:hover::before { background: var(--co-green); opacity: 1; transform: scale(1.35); }
  .co-nav .sub-menu .current-menu-item > a,
  .co-nav .sub-menu .current-menu-item > a:hover { background: var(--co-navy); color: #fff; padding-left: 14px; }
  .co-nav .sub-menu .current-menu-item > a::before { background: var(--co-green); opacity: 1; }
}
/* end co-dropdown-v2 */

/* co-pages-v1 */
.co-content .co-wide { width: min(1120px, calc(100vw - 48px)); position: relative; left: 50%; transform: translateX(-50%); }
.co-lead { font-size: 20px; line-height: 1.55; color: var(--co-navy); font-weight: 500; margin: 0 0 32px; }
.co-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--co-sky); margin-bottom: 6px; }
.co-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--co-light-green); color: var(--co-navy); }
.co-badge--warn { background: #FFF1C2; }

/* key facts */
.co-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 14px; margin: 8px 0 44px; }
.co-fact { background: var(--co-navy); color: #fff; border-radius: 16px; padding: 22px 20px; position: relative; overflow: hidden; }
.co-fact::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 90px; height: 90px; border-radius: 50%; border: 10px solid rgba(173,210,96,.22); }
.co-fact b { display: block; font-size: 26px; line-height: 1.1; font-weight: 900; color: var(--co-green); }
.co-fact span { display: block; margin-top: 6px; font-size: 14px; color: #DCE6F2; }

/* timeline */
.co-timeline { list-style: none; margin: 0 0 40px; padding: 0; position: relative; }
.co-timeline::before { content: ""; position: absolute; left: 86px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--co-green), var(--co-sky)); }
.co-day { display: grid; grid-template-columns: 72px 30px 1fr; gap: 0 16px; align-items: start; padding: 10px 0; }
.co-day__date { text-align: right; line-height: 1.05; }
.co-day__date b { display: block; font-size: 30px; font-weight: 900; color: var(--co-navy); }
.co-day__date span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--co-muted); }
.co-day__dot { width: 16px; height: 16px; margin: 9px auto 0; border-radius: 50%; background: #fff; border: 4px solid var(--co-sky); position: relative; z-index: 1; }
.co-day--final .co-day__dot { border-color: var(--co-green); background: var(--co-navy); width: 20px; height: 20px; margin-top: 7px; }
.co-day__card { background: #fff; border: 1px solid var(--co-line); border-radius: 14px; padding: 16px 20px; box-shadow: 0 2px 8px rgba(17,62,102,.05); }
.co-day--final .co-day__card { background: var(--co-navy); border-color: var(--co-navy); }
.co-day--final .co-day__card h3, .co-day--final .co-day__card p { color: #fff; }
.co-day__card h3 { margin: 0 0 4px; font-size: 19px; }
.co-day__card p { margin: 0; color: var(--co-muted); font-size: 15px; }
.co-day__card .co-badge { margin-bottom: 8px; }
@media (max-width: 600px) {
  .co-timeline::before { left: 62px; }
  .co-day { grid-template-columns: 50px 26px 1fr; gap: 0 10px; }
  .co-day__date b { font-size: 24px; }
}

/* link cards */
.co-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0 0 44px; }
.co-card2 { display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: #fff; border: 1px solid var(--co-line); border-radius: 16px; padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; color: var(--co-charcoal); }
.co-card2:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,62,102,.12); border-color: var(--co-green); color: var(--co-charcoal); }
.co-card2__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--co-pale); color: var(--co-navy); }
.co-card2__icon svg { width: 24px; height: 24px; }
.co-card2 h3 { margin: 0; font-size: 19px; }
.co-card2 p { margin: 0; font-size: 15px; color: var(--co-muted); flex: 1; }
.co-card2__go { font-weight: 700; color: var(--co-navy); font-size: 14px; }
.co-card2--accent { background: var(--co-navy); border-color: var(--co-navy); color: #fff; }
.co-card2--accent h3, .co-card2--accent .co-card2__go { color: #fff; }
.co-card2--accent p { color: #DCE6F2; }
.co-card2--accent .co-card2__icon { background: var(--co-green); }
.co-card2--accent:hover { color: #fff; border-color: var(--co-green); }

/* info boxes */
.co-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 0 0 40px; }
.co-box { background: var(--co-pale); border-radius: 16px; padding: 22px 24px; }
.co-box h3 { margin: 0 0 10px; font-size: 18px; }
.co-box ul { margin: 0; padding-left: 18px; }
.co-box li { margin: 4px 0; }
.co-box--green { background: var(--co-light-green); }
.co-note { border-left: 4px solid var(--co-yellow); background: #FFFBEA; border-radius: 0 12px 12px 0; padding: 14px 18px; font-size: 15px; color: var(--co-charcoal); margin: 0 0 32px; }

/* call to action band */
.co-cta { background: var(--co-green); border-radius: 20px; padding: 28px 30px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 10px 0 20px; }
.co-cta h3 { margin: 0; font-size: 24px; }
.co-cta p { margin: 4px 0 0; color: var(--co-navy); }
.co-cta__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.co-cta .co-btn { background: var(--co-navy); color: #fff; }
.co-cta .co-btn:hover { background: #fff; color: var(--co-navy); }
.co-cta .co-btn--light { background: #fff; color: var(--co-navy); }

/* partners */
.co-pgroup { margin: 0 0 44px; }
.co-pgroup__title { display: flex; align-items: center; gap: 16px; font-size: 22px; margin: 0 0 18px; }
.co-pgroup__title::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--co-green), transparent); }
.co-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.co-pgrid--big { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.co-pcard--big .co-pcard__logo { height: 190px; position: relative; }
.co-pcard__role { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--co-navy); background: var(--co-green); padding: 4px 10px; border-radius: 999px; }
.co-pcard { background: #fff; border: 1px solid var(--co-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.co-pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17,62,102,.12); }
.co-pcard__logo { height: 150px; display: flex; align-items: center; justify-content: center; padding: 22px; background: var(--co-off); border-bottom: 1px solid var(--co-line); }
.co-pcard__logo.is-dark { background: var(--co-navy); }
.co-pcard__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.co-pcard__word { font-size: 26px; font-weight: 900; color: var(--co-navy); text-align: center; }
.co-pcard__logo.is-dark .co-pcard__word { color: #fff; }
.co-pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.co-pcard__body h3 { margin: 0; font-size: 17px; }
.co-pcard__body p { margin: 0; font-size: 14px; color: var(--co-muted); }
.co-pcard__link { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--co-sky); text-decoration: none; }
.co-pcard__link:hover { color: var(--co-navy); }

/* photo gallery (mosaic + lightbox) */
.co-gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.co-gal__item { position: relative; overflow: hidden; border-radius: 14px; display: block; background: var(--co-navy); }
.co-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.co-gal__item:nth-child(5n+4) { grid-column: span 2; }
.co-gal__item:last-child:nth-child(7), .co-gal__item:last-child:nth-child(12) { grid-column: span 2; }
.co-gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.co-gal__item:hover img { transform: scale(1.06); opacity: .85; }
.co-gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; font-size: 14px; font-weight: 500; color: #fff; background: linear-gradient(transparent, rgba(17,62,102,.85)); opacity: 0; transform: translateY(8px); transition: .25s; }
.co-gal__item:hover .co-gal__cap, .co-gal__item:focus .co-gal__cap { opacity: 1; transform: none; }
@media (max-width: 760px) { .co-gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .co-gal__item:nth-child(5n+4) { grid-column: auto; } .co-gal__cap { opacity: 1; transform: none; } }
.co-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(8,24,40,.94); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 24px; }
.co-lb.is-open { display: flex; }
.co-lb img { max-width: min(1400px, 100%); max-height: calc(100vh - 120px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.co-lb__cap { color: #fff; margin-top: 14px; font-size: 15px; text-align: center; }
.co-lb__cap small { display: block; color: var(--co-green); font-weight: 700; margin-top: 4px; }
.co-lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; transition: background .2s; }
.co-lb button:hover { background: var(--co-green); color: var(--co-navy); }
.co-lb__close { top: 18px; right: 18px; }
.co-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.co-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.co-album-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin: 36px 0 14px; }
.co-album-head h2 { margin: 0; }
.co-album-head span { font-size: 14px; color: var(--co-muted); }
/* end co-pages-v1 */
/* co-hero-v2 */
.co-hero__side img { filter: brightness(0) invert(1); }
.co-hero__text { background: rgba(17,62,102,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 18px 22px; border-radius: 16px; text-shadow: none; }
/* end co-hero-v2 */
/* co-albums-v1 */
.co-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin: 8px 0 44px; }
.co-album { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--co-navy); text-decoration: none; box-shadow: 0 6px 20px rgba(17,62,102,.12); transition: transform .2s, box-shadow .2s; }
.co-album:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(17,62,102,.22); }
.co-album__img, .co-album__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-album__img img { object-fit: cover; transition: transform .6s; }
.co-album:hover .co-album__img img { transform: scale(1.06); }
.co-album__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,62,102,0) 35%, rgba(17,62,102,.92) 100%); }
.co-album__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.co-album__meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--co-green); }
.co-album__title { font-size: 24px; line-height: 1.2; font-weight: 900; color: #fff; }
.co-album__go { margin-top: 4px; font-size: 14px; font-weight: 700; color: #fff; opacity: .85; }
.co-album:hover .co-album__go { color: var(--co-green); opacity: 1; }
.co-album-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--co-pale); color: var(--co-navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.co-album-back:hover { background: var(--co-green); color: var(--co-navy); }
.co-album-info { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; }
@media (max-width: 600px) { .co-albums { grid-template-columns: 1fr; } .co-album__title { font-size: 20px; } }
/* end co-albums-v1 */
/* co-gal-v2 */
.co-gal { display: block; columns: 4 240px; column-gap: 12px; }
.co-gal__item, .co-gal__item:first-child, .co-gal__item:nth-child(5n+4), .co-gal__item:last-child:nth-child(7), .co-gal__item:last-child:nth-child(12) { display: block; break-inside: avoid; margin: 0 0 12px; grid-column: auto; grid-row: auto; }
.co-gal__item img { width: 100%; height: auto; display: block; }
@media (max-width: 760px) { .co-gal { columns: 2 140px; column-gap: 8px; } .co-gal__item { margin-bottom: 8px; } }
/* end co-gal-v2 */

/* SGO airy hero v1 */
.co-hero__inner {
  padding-top: 56px;
  padding-bottom: 56px;
}
.co-hero__main {
  justify-content: center;
  gap: 32px;
}
.co-hero h1 {
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1.12;
}
.co-hero__dates {
  margin-top: 18px;
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 500;
  line-height: 1.3;
}
.co-hero__text {
  max-width: 540px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}
.co-hero__side {
  justify-content: center;
  gap: 32px;
}
.co-hero__side span {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}
.co-hero__side img {
  max-height: 76px;
  max-width: 180px;
}
@media (max-width: 760px) {
  .co-hero__inner {
    padding-top: 36px;
    padding-bottom: 36px;
    gap: 32px;
  }
  .co-hero__main {
    gap: 24px;
  }
  .co-hero__side {
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 100%;
    max-width: none;
    gap: 24px;
  }
  .co-hero__side > div {
    flex: 1 1 120px;
  }
  .co-hero__side img {
    max-width: 130px;
    max-height: 60px;
  }
}
/* End SGO airy hero v1 */

/* SGO hero alignment v2 */
.co-hero__text {
  white-space: pre-line;
}
@media (min-width: 1001px) {
  .co-hero__main {
    justify-content: flex-start;
    gap: 24px;
  }
  .co-hero__text {
    max-width: 100%;
  }
  .co-hero__ctas {
    margin-top: auto;
  }
  .co-hero__side {
    justify-content: space-between;
  }
}
@media (max-width: 1000px) {
  .co-hero__main {
    flex-basis: 100%;
    justify-content: flex-start;
  }
  .co-hero__side {
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: 100%;
    max-width: none;
    justify-content: space-around;
    gap: 24px;
  }
  .co-hero__side > div {
    flex: 1 1 120px;
  }
}
/* End SGO hero alignment v2 */


/* BEGIN SGO approved branding */
:root {
  --co-green: #A6CE5A;
  --co-navy: #113E66;
  --co-light-green: #EAF1D8;
  --co-off: #F7F8F4;
}
.co-header { background: #F7F8F4; }
.co-logo { flex-shrink: 0; max-width: 100%; }
.co-logo img {
  width: 310px;
  height: auto;
  max-width: 100%;
}
.co-footer { background: #F7F8F4; }
.co-footer__logo {
  display: block;
  width: 220px;
  max-width: 100%;
}
.co-footer__logo img {
  width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  .co-logo img { width: 250px; }
  .co-footer__logo { width: 190px; }
}
@media (max-width: 480px) {
  .co-header__inner { gap: 12px; }
  .co-logo { flex-basis: 100%; }
  .co-logo img { width: 270px; }
}
/* END SGO approved branding */


/* BEGIN SGO uniform NTC gallery */
:is(.page-id-141,.page-id-142,.page-id-143,
    .page-id-503,.page-id-504,.page-id-505) .co-gal {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  grid-auto-flow: row !important;
  gap: 16px !important;
  columns: auto !important;
}
:is(.page-id-141,.page-id-142,.page-id-143,
    .page-id-503,.page-id-504,.page-id-505) .co-gal > .co-gal__item {
  position: relative !important;
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px;
}
:is(.page-id-141,.page-id-142,.page-id-143,
    .page-id-503,.page-id-504,.page-id-505) .co-gal > .co-gal__item img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
}
@media (max-width: 900px) {
  :is(.page-id-141,.page-id-142,.page-id-143,
      .page-id-503,.page-id-504,.page-id-505) .co-gal {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (max-width: 480px) {
  :is(.page-id-141,.page-id-142,.page-id-143,
      .page-id-503,.page-id-504,.page-id-505) .co-gal {
    grid-template-columns: 1fr !important;
  }
}
/* END SGO uniform NTC gallery */

/* SGO home slider full photos */
.co-venue .co-slider__slide img {
    display: block;
    width: 100%;
    height: clamp(320px, 44vw, 680px);
    object-fit: contain;
    object-position: center;
}
@media (max-width: 760px) {
    .co-venue .co-slider__slide img {
        height: clamp(220px, 65vw, 440px);
    }
}
/* END SGO home slider full photos */
/* co-header-a */
.co-header__inner { flex-wrap: wrap; justify-content: flex-start; gap: 12px 28px; }
.co-header__tools { display: contents; }
.co-logo { order: 1; flex-basis: auto; }
.co-logo img { width: 290px; height: auto; }
.co-atp { order: 2; display: block; margin-left: -12px; padding: 4px 0 4px 16px; border-left: 1px solid #C9D1DA; }
.co-atp img { width: 62px !important; height: auto; }
.co-nav { order: 3; margin-left: auto; }
.co-langs { order: 4; display: flex; gap: 2px; }
.co-langs a { font-size: 13px; font-weight: 700; color: var(--co-navy); text-decoration: none; padding: 6px 8px; border-radius: 6px; line-height: 1; }
.co-langs a:hover { background: var(--co-pale); }
.co-langs a.is-on { background: var(--co-navy); color: #fff; }
.co-header .co-lang { display: none; }
.co-nav .co-langs--menu { display: none; }
.co-nav li.co-nav-cta > a { background: var(--co-green); color: var(--co-navy); border-radius: 999px; padding: 10px 20px; font-size: 15px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.co-nav li.co-nav-cta > a:hover { background: var(--co-navy); color: #fff; }
.co-menu-toggle { order: 5; width: 44px; height: 44px; padding: 0; border-radius: 10px; font-size: 0; position: relative; }
.co-menu-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.co-menu-toggle span:nth-child(1) { top: 15px; } .co-menu-toggle span:nth-child(2) { top: 21px; } .co-menu-toggle span:nth-child(3) { top: 27px; }
.co-menu-toggle[aria-expanded="true"] { background: var(--co-green); }
.co-menu-toggle[aria-expanded="true"] span { background: var(--co-navy); }
.co-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.co-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.co-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) {
  .co-header__inner { flex-wrap: wrap; gap: 10px 14px; }
  .co-logo img { width: 230px; }
  .co-atp { margin-left: -4px; padding-left: 12px; }
  .co-atp img { width: 46px !important; }
  .co-menu-toggle { display: block; margin-left: auto; }
  .co-header .co-langs:not(.co-langs--menu) { display: none; }
  .co-nav { order: 9; box-sizing: border-box; flex: 0 0 calc(100% + 48px); max-width: none; margin: 4px -24px -12px; padding: 8px 24px 20px; background: var(--co-navy); }
  .co-nav:not(.is-open) { display: none; }
  .co-nav.is-open { flex-direction: column; align-items: stretch; }
  .co-nav a, .co-nav .sub-menu a { color: #fff !important; }
  .co-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.14); }
  .co-nav > ul > li.co-nav-cta { border-bottom: 0; padding-top: 14px; }
  .co-nav li.co-nav-cta > a { display: inline-block; color: var(--co-navy) !important; }
  .co-nav .co-langs--menu { display: flex; gap: 6px; margin-top: 16px; }
  .co-nav .co-langs--menu a { color: #fff !important; border: 1px solid rgba(255,255,255,.35); padding: 7px 10px; }
  .co-nav .co-langs--menu a.is-on { background: var(--co-green); color: var(--co-navy) !important; border-color: var(--co-green); }
}
@media (max-width: 480px) {
  .co-logo { flex-basis: auto; }
  .co-logo img { width: 190px; }
  .co-atp img { width: 40px !important; }
  .co-atp { padding-left: 10px; }
}
/* end co-header-a */
/* co-titles-center */
.co-venue > h2.co-wrap { margin-left: auto; margin-right: auto; }
.sgo-home-news__title, .co-instagram .co-wrap > h2 { text-align: center; }
/* end co-titles-center */

/* co-sponsors */
.co-hero__side { flex-direction: column; flex-wrap: nowrap; flex-basis: auto; max-width: 300px; justify-content: center; gap: 0; }
.co-hero__side > div { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.co-hero__side > div > span { margin-bottom: 2px; }
.co-hero__side .co-partner__logo { width: auto; height: auto; }
.co-hero__side img { max-height: 48px; max-width: 150px; }
@media (max-width: 900px) {
  .co-hero__side { max-width: none; flex-basis: 100%; }
  .co-hero__side > div { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
  .co-hero__side > div > span { flex-basis: 100%; }
  .co-hero__side img { max-height: 38px; max-width: 110px; }
}
.co-partners__group--gold .co-partner__logo { width: 260px; height: 120px; }
.co-partners__group--gold .co-partner__logo img { max-width: 250px; max-height: 110px; }
.co-partners__group--media .co-partner__logo img { max-height: 70px; }
.co-pgrid--organiser { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.co-pgrid--gold { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.co-pgrid--gold .co-pcard__logo { height: 190px; }
.co-pgrid--media { grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); }
a.co-pcard__logo { text-decoration: none; }
.co-pcard__logo { background: #fff; }
.co-pcard__logo.is-dark { background: var(--co-navy); }
/* end co-sponsors */

/* co-hero-mobile-center */
@media (max-width: 767px) {
  .co-hero__main { align-items: center; text-align: center; }
  .co-hero__text { margin-left: auto; margin-right: auto; }
  .co-hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 420px; margin: 0 auto; justify-content: stretch; }
  .co-hero__ctas .co-btn { text-align: center; padding-left: 12px; padding-right: 12px; }
  .co-hero__ctas .co-btn:only-child, .co-hero__ctas .co-btn:nth-child(3):last-child { grid-column: 1 / -1; }
}
/* end co-hero-mobile-center */
