/* ==========================================================================
   Platform Health and Fitness — Brand tokens
   Single source of truth for colour, type and spacing. See BRAND.md.
   Values are taken directly from the live site (platformhealthandfitness.co.uk).
   ========================================================================== */

:root {
  /* Colour — accents */
  --brand-gold: #f5c99a;            /* primary accent: headings highlight, underline bars, icons, links in footer */
  --brand-bronze: #c99765;          /* secondary accent: gradient end, hover states */
  --brand-gradient: linear-gradient(90deg, var(--brand-bronze) 0%, var(--brand-gold) 100%);
  --brand-gradient-reverse: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-bronze) 100%);

  /* Colour — surfaces */
  --brand-black: #000000;           /* page + section background */
  --brand-charcoal: #202020;        /* secondary section background */
  --brand-glass: rgb(0 0 0 / .4);   /* hero feature box (with 12px backdrop blur) */
  --brand-glass-border: #3b3b39;
  --brand-overlay: rgb(0 0 0 / .55);/* image overlay on background-image sections */
  --brand-shadow: #3E454C;          /* sticky header drop shadow */

  /* Colour — text */
  --brand-white: #ffffff;           /* body copy, headings */
  --brand-text-muted: #aaa;         /* link hover */
  --brand-text-faq-link: #5e5e5e;

  /* Typography */
  --font-display: "Teko", sans-serif;            /* headings — uppercase */
  --font-body: "Figtree", sans-serif;            /* body copy, nav, buttons */
  --font-button-alt: "Lexend Giga", sans-serif;  /* WP core buttons only */
  --font-outline-button: "Open Sans", sans-serif;/* WP outline buttons only */

  /* Layout */
  --container-max: 1210px;          /* .ast-container on desktop (1170px content + 2x20px) */
  --radius-button: 12px;
  --radius-card: 16px;
  --radius-image: 24px;             /* elevated photo cards */

  /* Elevation (tuned for a black background: hairline edge + deep shadow + warm brand glow) */
  --shadow-elevated:
    0 0 0 1px rgb(255 255 255 / .08),
    0 2px 6px rgb(0 0 0 / .6),
    0 24px 48px -12px rgb(0 0 0 / .9),
    0 30px 80px -30px rgb(245 201 154 / .28);

  /* Legacy names used by the theme stylesheet (keep in sync) */
  --primary-color: var(--brand-gold) !important;
  --secondary-color: var(--brand-bronze) !important;
  --section-primary-color: var(--brand-black) !important;
  --section-secondary-color: var(--brand-charcoal) !important;
}

/* --------------------------------------------------------------------------
   Brand colour application (from the live site customiser output)
   -------------------------------------------------------------------------- */
html,body.search,body.archive,body.page-template,body.landing_page-template,.single.single-post,body .main-header-menu .sub-menu,div.ast-mobile-popup-drawer.active .ast-mobile-popup-inner{background-color:#000}
body h1,body .entry-content h1,body h2,body .entry-content h2,body h3,body .entry-content h3,body h4,body .entry-content h4,body h5,body .entry-content h5,body h6,body .entry-content h6,.widget .wp-block-heading{color:#000}
.container.is-fluid,.text-with-image-section,.three-steps-section,.owner-section,.coaches-section,.text-image-section,.highlighted-coaches-home,.highlighted-coaches,.highlighted-owner{background-color:#000}
.ast-header-navigation-arrow::before,.ast-menu-toggle .ast-arrow-svg::before{border-top-color:var(--brand-gold)}
.ast-mobile-popup-drawer.active .menu-toggle-close,.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle{color:var(--brand-gold)!important}
.preheader{background-color:#ff7600;color:#fff}
.ast-builder-menu-1 .inline-on-mobile,.ast-builder-menu-1 .current-menu-ancestor>.menu-link,.ast-builder-menu-1 .menu-item:not(.pt-menu-btn):hover>.menu-link{color:var(--brand-gold)}
header .ast-builder-menu-1 .sub-menu .menu-item.current-menu-item>.menu-link{color:var(--brand-gold)}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg{fill:#ffffff!important}
.main-header-menu .sub-menu .menu-item:hover .menu-link,.coach-name,.coaches-section-description span:not(.text-underline),.highlighted-coaches-home-description span:not(.text-underline),.owner-name{color:var(--brand-gold)!important}
.ast-main-header-nav-open .main-header-bar-wrap{background-color:rgb(0 0 0)!important}
.main-header-menu .sub-menu{background-color:#000000!important}
.menu-link svg:hover,.header-call-icon-link:hover .header-call-svg{fill:var(--brand-gold)!important}
header .site-logo-img .custom-logo-link img{max-width:250px;width:250px}
@media (max-width:768px){header .site-logo-img .custom-logo-link img{max-width:200px;width:200px}
}
div.entry-meta,div.entry-meta *,.blog-grid-section .sidbear-posts-container .post-date{}
.content-area.entry-content :is(h1,h2,h3,h4,h5,h6){color:#fff}
.content-area.entry-content :is(h2,h3,h4,h5,h6):after{background-color:var(--brand-gold)}
body a,#astra-footer-menu .menu-item a:after,.notification a:not(.button):not(.dropdown-item){color:#fff}
body a:hover,.notification a:not(.button):not(.dropdown-item):hover{color:var(--brand-text-muted)}
@media (max-width:1024px){.ast-header-break-point .main-navigation .stack-on-mobile li a:not(.pt-menu-btn.menu-item a):hover{color:var(--brand-gold)!important}
.ast-mobile-header-wrap .pt-menu-btn.modal-button-header a{color:#000000!important;background-color:var(--brand-gold)!important}
.ast-mobile-header-wrap .pt-menu-btn.modal-button-header a:hover{color:#ffffff!important;background-color:var(--brand-bronze)!important}
}
.accordion-sign::before,.accordion-sign::after{background-color:var(--brand-gold)}
.accordion-sign,.testimonial-section p:not(.testimonial-content p),.google-reviews-section p,.three-columns-section .lowest-price{color:var(--brand-gold)!important}
body .content-area.primary.entry-content :is(div,p),body strong,.box :where(.media-content) a,strong{color:#fff}
body .content-area.primary.entry-content .video-content-has-bg *{color:#fff}
body .site-footer a{color:#fff}
body #astra-footer-menu .menu-item>a,body .site-footer .pt-footer-social-media a{color:#fff}
.site-footer-below-section-2.site-footer-section.site-footer-section-2{background-color:var(--brand-gold)}
body .site-footer a:hover .yelp-icon svg{fill:var(--brand-bronze)}
body .site-footer a:hover .custom-facebook-icon{fill:var(--brand-bronze)}
body .site-footer a .yelp-icon svg{fill:#fff}
body .site-footer a .custom-facebook-icon{fill:#fff}
body .site-footer a:hover{color:var(--brand-bronze)}
#astra-footer-menu .menu-item:hover>a{color:var(--brand-bronze)!important}
body .site-footer .current-menu-item a{color:var(--brand-gold)!important}
.read-more-btn,.recent-post-content .read-more,.recent-post-content .recent-post-title a:hover,.hero h1,.privacy-content a,.job-description svg{color:var(--brand-gold)!important}
.read-more-btn:hover,.recent-post-content .read-more:hover,.privacy-content a:hover{color:var(--brand-bronze)!important}
.is-background-color.hero-with-background-image::before{background-color:rgb(0 0 0 / .55)}
.is-section-background-color{background-color:#000}
.single nav.post-navigation{background-color:#000}
.is-main-background-color,.post-category,.single-post-categories{background-color:var(--brand-gold)}
.is-main-background-color-overlay{background-color:var(--brand-gold)}
.category-button:hover,.page-numbers:hover{background-color:var(--brand-gold);color:#000}
.plus-sign,.minus-sign,.read-more-text,.post-meta.top-meta{color:var(--brand-gold)!important}
.plus-icon{border-color:var(--brand-gold)!important}
.is-secondary-background-color{background-color:var(--brand-bronze)}
.table thead,.table.is-striped tbody tr:not(.is-selected):nth-child(even){background-color:#f5f5f5}
.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover:nth-child(2n),.table.is-hoverable.is-striped tbody tr:not(.is-selected):hover{background-color:var(--brand-gold)}
.ast-builder-menu-1 .menu-item.pt-menu-btn .menu-link,.icon-box-section>.columns.ast-container>.column.button-container.has-text-centered>.button.modal-button.button--mimas{color:#ffffff!important}
.menu-toggle,button,.ast-button,.ast-custom-button,.button.modal-button,.button.modal-button-bottom,.button.links-button,input#submit,input[type="button"],input[type="submit"],input[type="reset"],.wp-block-button .wp-block-button__link{color:#fff;border-color:var(--brand-gold)}
.ast-button:focus,.ast-button:hover,.button:focus,.button.button.modal-button:hover,.button.modal-button-bottom:hover,.button.links-button:hover,button:focus,button:hover,input[type=button]:focus,input[type=button]:hover,input[type=reset]:focus,input[type=reset]:hover,input[type=submit]:focus,input[type=submit]:hover,.wp-block-button .wp-block-button__link:hover{color:#ffffff!important;border-color:#fff}
#astra-footer-menu:before{color:#000000!important}
.modal-card{background:#000}
.modal-card .modal-card-head .modal-card-description,.modal-card .modal-card-head .modal-card-title{color:#ffffff!important}
.modal-card .modal-close,.gallery-section .modal-close{border-color:var(--brand-gold)!important}
.modal-card .modal-card-head .modal-card-title::after{background-color:var(--brand-gold)}
.delete::after,.delete::before,.modal-close::after,.modal-close::before{background-color:var(--brand-gold)!important}
.modal-card .modal-close:hover::after,.modal-card .modal-close:hover::before,.gallery-section .modal-close:hover::before,.gallery-section .modal-close:hover::after{background-color:var(--brand-bronze)!important}
.modal-card .modal-close:hover,.gallery-section .modal-close:hover{border-color:var(--brand-bronze)!important}
.page-numbers.current{background-color:var(--brand-gold);border-color:var(--brand-gold)}
@media (max-width:768px){.cta-with-bg-section .is-first-overall.is-6.is-background-color{background-color:#000000!important}
}
.title-is-background-style{color:var(--brand-gold)!important}
.footer-logo{max-width:200px}
.widget-title{color:var(--brand-gold)!important}
body .site-footer .footer-copyright a{color:var(--brand-gold)}
header.site-header{background-color:#fff0}
.ast-theme-transparent-header .site-content #masthead.scrolled{background-color:rgb(0 0 0)}
@media (max-width:1024px){.ast-mobile-header-wrap .pt-menu-btn.modal-button-header{background-color:var(--brand-gold)}
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item>.menu-link{background-color:rgb(0 0 0)}
}
.header-wrapper{position:fixed;top:0;width:100%;left:0;z-index:100}
@media(max-width:1024px){.ast-theme-transparent-header #masthead{position:relative!important}
}
.hero{margin-top:0}
@media (max-width:1024px){.hero{margin-top:0}
}
.ast-theme-transparent-header #masthead.scrolled{background:#000;transition:all 0.3s ease-in-out;box-shadow:0 6px 10px -4px var(--brand-shadow)}
.ast-theme-transparent-header .site-content #masthead{transition:all 0.3s ease-in-out}
.preheader{margin-bottom:20px;width:100%;padding:10px 20px}
[id]{scroll-margin-top:60px!important}
#classes{scroll-margin-top:140px!important}
@media (max-width:1024px){[id]{scroll-margin-top:40px!important}
#classes{scroll-margin-top:15px!important}
}
@media (max-width:768px){[id]{scroll-margin-top:70px!important}
#classes{scroll-margin-top:115px!important}
}
@media (max-width:768px){.led-by-coaches-section .mobile-image-slider .slick-prev,.led-by-coaches-section .mobile-image-slider .slick-next{background:var(--brand-gold)!important;color:#fff!important}
}
.coach-program-tag:hover::after,.coach-program-tag:focus::after{opacity:1}
.coach-program-tag:hover,.coach-program-tag:focus{color:#fff!important}
.single-event .event-meta-icon{color:var(--brand-gold)}
.single-event .event-hero .event-cta .button{background:linear-gradient(90deg,var(--brand-bronze) 0%,var(--brand-gold) 100%)}
.single-event .event-session-title{border-bottom-color:var(--brand-gold)}
.single-event .related-events-eyebrow{color:var(--brand-gold)}
.single-event .related-events-title a:hover{color:var(--brand-gold)}
.single-case-study .case-study-keyline .case-study-sparkles{color:var(--brand-gold)}
.single-case-study .case-study-detail-icon{background:linear-gradient(180deg,var(--brand-gold) 0%,var(--brand-bronze) 100%)}
