/* AUFC 2026 brand palette — loaded last so every public section shares one visual system. */
:root {
  --navy: #092A42;
  --navy2: #092A42;
  --blue: #059DD9;
  --yellow: #059DD9;
  --ink: #092A42;
  --muted: #035C83;
  --soft: #E6F7FD;
  --line: #BDEBFA;
  --brand-deep: #092A42;
  --brand-dark: #035C83;
  --brand-mid: #0479AB;
  --brand-anchor: #059DD9;
  --brand-sky: #75D0F1;
  --brand-pale: #BDEBFA;
  --brand-mist: #E6F7FD;
  --brand-surface: #f7fbfd;
  --white: #f7fbfd;
  --shadow: 0 10px 30px rgba(9, 42, 66, .10);
}

html, body { background: var(--brand-surface); }
body {
  color: var(--brand-deep);
  font-family: "Barlow Semi Condensed", Arial, sans-serif;
  font-weight: 400;
}
h1, h2, h3, h4, h5, h6,
.brand, .nav a, .btn, .eyebrow,
.article-sponsor-label, .article-post-nav strong,
.coach-qualifications h4, .resource strong,
.crest, .player-card span, .player-card strong, .fixture .vs,
.footer-slogan, .team-card strong, .home-fixture-link,
.home-match-age, .home-match-date strong, .home-match-team strong,
.home-match-vs, .home-team-badge > span, .homepage-sponsor strong,
.article-body blockquote, .article-share > strong, .article-sponsor-logo > strong,
.aufc-product-eyebrow, .aufc-new-badge,
.aufc-single-product table.variations label,
.aufc-single-product form.cart .quantity:before,
.aufc-single-product .woocommerce-tabs ul.tabs a,
.membership-content .wp-block-button__link,
.membership-step h3, .membership-step h4,
.membership-step:not(:last-child):after,
.history-content h2, .history-content h3, .history-legacy-icon,
.history-archive-cta .wp-block-button__link,
.history-pitch-feature .wp-block-button__link,
.shop-category-nav a, .shop-top:after, .shop-bag:after,
.training-times-table th, .training-times-table td:first-child strong,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce table.shop_table th, .wc-block-components-title,
.wc-block-components-totals-wrapper strong,
.wc-block-components-button:not(.is-link) {
  font-family: "Barlow Semi Condensed", Arial, sans-serif !important;
}
h1, h2, h3, .brand { font-weight: 700; }
.nav a, .btn, .eyebrow, h4, h5, h6 { font-weight: 600; }
button, input, select, textarea, table {
  font-family: "Barlow Semi Condensed", Arial, sans-serif;
}

/* One off-white surface across all areas that were previously pure white. */
body, #page, .site, main, .site-main,
.section, .card, .quick-card, .resource, .team-information, .product,
.team-card, .contact-cards article, .shop-empty,
.home-dashboard, .home-news-panel, .home-news-card, .homepage-sponsor, .fixture,
.team-fixtures-section, .team-profile-section,
.article-main, .article-sponsor, .shop-catalog, .product-page,
.membership-page, .history-page, .parent-resource-page,
.membership-step, .membership-faq,
.history-legacy-grid > .wp-block-column,
.parent-resource-card, .committee-card, .parent-faq-item,
.volunteer-role-card, .kit-item-card, .matchday-card,
.training-times-table, .training-info-card,
.woocommerce ul.products li.product,
.aufc-single-product,
body.single-product .aufc-single-product .woocommerce div.product div.summary,
body.single-product .aufc-single-product .woocommerce-tabs .panel,
.commerce-page .woocommerce,
.commerce-page .wc-block-cart, .commerce-page .wc-block-checkout,
.woocommerce-cart-form, .cart_totals,
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review,
.wc-block-cart__main, .wc-block-cart__sidebar,
.wc-block-checkout__main, .wc-block-checkout__sidebar {
  background-color: var(--brand-surface) !important;
}
.home-dashboard {
  background-image: linear-gradient(90deg, var(--brand-surface) 0 56%, var(--brand-deep) 56% 100%);
}
.fixture-team-filter .team-tabs button,
.membership-content .is-style-outline .wp-block-button__link {
  background-color: var(--brand-surface);
}
@media (max-width: 1100px) {
  .home-dashboard { background-image: none; }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--brand-anchor);
  outline-offset: 2px;
}

.site-header, .site-footer, .location, .benefits, .app-banner { background: var(--brand-deep); }
.nav a:hover, .nav a.active, .nav .current-menu-item > a,
.footer-slogan, .footer-sponsor small, .footer-widget h3 { color: var(--brand-sky); border-color: var(--brand-anchor); }
.logo .custom-logo, .site-footer .custom-logo { object-fit: contain; }
.logo .custom-logo { border-radius: 50%; }

.hero, .page-hero, .team-detail-hero, .article-hero,
.history-hero, .parent-resource-hero, .shop-hero {
  background: linear-gradient(115deg, #d8f2ff 0%, #a6def4 62%, #92d6f4 100%);
  color: var(--brand-deep);
}
.hero:before, .page-hero:before, .team-detail-hero:after {
  background: var(--brand-anchor);
  clip-path: polygon(0 35%, 15% 23%, 10% 43%, 38% 28%, 30% 52%, 67% 33%, 58% 59%, 100% 42%, 92% 73%, 55% 66%, 62% 90%, 19% 75%, 25% 100%, 0 84%);
}
.hero.has-hero-photo {
  background-image:
    linear-gradient(115deg, rgba(216, 242, 255, .94) 0%, rgba(166, 222, 244, .70) 55%, rgba(146, 214, 244, .16) 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: var(--hero-position, center center);
}
.team-detail-hero.has-team-photo {
  background-image:
    linear-gradient(115deg, rgba(216, 242, 255, .94) 0%, rgba(166, 222, 244, .70) 55%, rgba(146, 214, 244, .16) 100%),
    var(--team-photo);
  background-size: cover;
  background-position: center;
}

/* Light hero system — keep every hero title, description and utility legible. */
.hero h1, .hero h2, .hero p,
.page-hero h1, .page-hero h2, .page-hero p,
.team-detail-hero h1, .team-detail-hero h2, .team-detail-hero p,
.article-hero h1, .article-hero h2, .article-hero p,
.history-hero h1, .history-hero h2, .history-hero p,
.parent-resource-hero h1, .parent-resource-hero h2, .parent-resource-hero p,
.shop-hero h1, .shop-hero h2, .shop-hero p,
.hero-description, .article-meta,
.history-breadcrumb, .history-breadcrumb a, .history-breadcrumb strong,
.parent-resource-breadcrumb, .parent-resource-breadcrumb a, .parent-resource-breadcrumb strong {
  color: var(--brand-deep);
  text-shadow: none;
}
.hero .eyebrow, .page-hero .eyebrow, .team-detail-hero .eyebrow,
.article-hero .eyebrow, .history-hero .eyebrow,
.parent-resource-hero .eyebrow, .shop-hero .eyebrow {
  color: var(--brand-dark);
}
.hero .btn-outline, .page-hero .btn-outline, .team-detail-hero .btn-outline,
.article-hero .btn-outline, .history-hero .btn-outline,
.parent-resource-hero .btn-outline, .shop-hero .btn-outline {
  color: var(--brand-deep);
  border-color: rgba(9, 42, 66, .38);
}
.article-meta span + span:before { color: var(--brand-dark); }
.eyebrow, .eyebrow.yellow, .home-fixture-link, .coach-qualifications h4 { color: var(--brand-sky); }
.eyebrow.blue, .text-link, .downloads span { color: var(--brand-mid); }

.btn-yellow, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce input.button.alt, .wp-block-button__link, .aufc-single-product .single_add_to_cart_button {
  background: var(--brand-anchor) !important;
  color: #fff !important;
}
.btn-yellow:hover, .btn-yellow:focus, .woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover, .wp-block-button__link:hover,
.aufc-single-product .single_add_to_cart_button:hover { background: var(--brand-mid) !important; color: #fff !important; }
.btn-blue, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.cart-pill, .team-tabs button.active { background: var(--brand-dark) !important; color: #fff !important; }
.btn-blue:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-mid) !important; }
.btn-coach-blue { background: var(--brand-anchor); color: #fff; }

.soft, .team-profile-section, .product-art, .article-utility { background: var(--brand-mist); }
.card, .quick-card, .resource, .team-information, .product,
.woocommerce ul.products li.product { border-color: var(--brand-pale); box-shadow: var(--shadow); }
.card-image, .shirt, .join-card, .team-info-icon { background: linear-gradient(135deg, var(--brand-anchor), var(--brand-dark)); }
.shirt:before, .shirt:after { background: var(--brand-sky); }
.notice { background: var(--brand-mist); border-left-color: var(--brand-anchor); }
.badge, .cart-pill strong, .woocommerce span.onsale { background: var(--brand-sky) !important; color: var(--brand-deep) !important; }
.woocommerce-message { border-top-color: var(--brand-anchor) !important; }
.woocommerce-message:before { color: var(--brand-mid) !important; }

.fixtures-preview, .home-fixtures-panel {
  background: radial-gradient(circle at 100% 0, rgba(5,157,217,.30), transparent 32%), linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
}
.home-fixtures-panel:after, .article-brush, .article-sponsor-label:after { background: var(--brand-anchor); }
.fixture .age { background: var(--brand-anchor); }
.fixture .vs { color: var(--brand-anchor); }
.safeguarding { background: linear-gradient(145deg, var(--brand-deep), var(--brand-dark)); }
.shield { border-color: var(--brand-anchor); color: var(--brand-sky); }
.team-contact-cta { background: radial-gradient(circle at 90%, rgba(5,157,217,.50), transparent 24%), var(--brand-deep); }
.team-coach-card { background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep)); }
.article-sponsor { border-color: var(--brand-dark); }
.article-sponsor-label { background: var(--brand-deep); }
.article-share > a { background: var(--brand-mid); }
.article-body blockquote { border-left-color: var(--brand-anchor); }

.aufc-single-product .aufc-purchase-row .single_add_to_cart_button { background: var(--brand-anchor) !important; color: #fff !important; }
.aufc-single-product form.cart .aufc-buy-now { background: var(--brand-deep) !important; color: #fff !important; }
.aufc-single-product form.cart .aufc-buy-now:hover,
.aufc-single-product form.cart .aufc-buy-now:focus { background: var(--brand-dark) !important; }

::selection { background: var(--brand-sky); color: var(--brand-deep); }
