/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for Astra
 Author:       Your Name
 Author URI:   https://example.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Chakra Petch", sans-serif !important;
}
body,
html {
  color: #333333;
}
body {
  max-width: 100vw;
  overflow-x: clip;
}

/* iOS Safari doesn't support overflow-x: clip; prevent horizontal scroll */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    overflow-x: hidden;
  }
}

p {
  font-size: 1.5rem !important;
  line-height: 1.8 !important;
  font-weight: 400 !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700 !important;
  line-height: 1 !important;
  color:#9b1c20!important;
}
.radiohead{
  background-color: #9b1c20!important;
  width:100%;
  padding: 21px;
  border-radius: 500px;
  text-align: center;
}
.radiohead h4{
  margin-bottom: 0;
  margin-block-end: 0;
  color:#fbfbf6!important;
}

.entry-content > .wp-block-group.adam-video {
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}
.ast-article-single {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.entry-content > .wp-block-group.home-bio-iframe {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.entry-content > .wp-block-group .iframe-bio-row {
  align-items: flex-start !important;
  margin-top: 0;
}

/* @media (min-width: 1200px) { */
.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 24px;
}

.iframe-bio-row:first-child,
iframe#embed_player {
  width: 100% !important;
}
/* } */

@media (max-width: 921px) {
  .ast-article-single {
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  p {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }
  h2 {
    text-align: center;
  }
  .wp-block-columns.iframe-bio-row .wp-block-column:not(:last-child) {
    margin-bottom: 0 !important;
  }
}
h2 {
  margin-bottom: 12px !important;
}

.site-content {
  position: relative !important;
}
.site-content::before {
  /* make the pseudo-element actually render */
  content: "" !important;
  position: absolute !important;
  inset: 0 !important; /* top:0; right:0; bottom:0; left:0 */
  pointer-events: none !important;

  background-image: url("/wp-content/uploads/2026/01/locust-adam.png") !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;

  /* position */
  background-position: -3% 97% !important;
  /* size (example – adjust as needed) */
  background-size: 42% auto !important;
  transform-origin: center !important;
  opacity: 0.13 !important; /* Adjust the transparency (0.0 to 1.0) */
  z-index: 0 !important; /* sits behind content with higher z-index */
  min-height: 800px;
}
@media (max-width: 921px) {
  .site-content::before {
    background-size: 54% auto !important;
    opacity: 0.13 !important;
    min-height: 900px;
     background-position: -9% 57% !important;
  }
}

/* Ensure actual page content inside .site-content sits above the pseudo-element */
.site-content > * {
  position: relative !important;
  z-index: 1 !important;
}
.ast-primary-header-bar {
  background-color: transparent;
}
h1.entry-title {
  display: none;
}
.ast-site-title-wrap {
  display: none;
}
/* === HUGE LOGO, FULL-VP BLEED, OPTIONAL TILT === */

/* Give the header room; adjust to taste */
.ast-header-break-point .site-header,
.site-header,
#masthead,
#ast-mobile-header {
  overflow: visible !important;
}

/* Target the title/tagline block (Header Builder) */
.ast-builder-layout-element[data-section="title_tagline"] {
  width: 100%;
}

/* The site identity wrapper */
.site-header .site-branding {
  width: 100%;
  margin: 0;
}

.site-header .site-branding .custom-logo-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100vw !important;
  max-width: 1200px !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(-4deg) !important;
  transform-origin: center !important;
  z-index: 1 !important;
}

.site-header .site-branding img.custom-logo {
  width: 101% !important;
  max-width: 1200px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

.site-header .site-branding img.custom-logo {
  width: 101% !important;
  max-width: none !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

/* At desktop widths, adjust centering for constrained parent */
@media (min-width: 921px) {
  .site-header .site-branding .custom-logo-link {
    left: 50% !important;
    margin-left: calc(50vw - 50%) !important;
  }
  .site-header .site-branding img.custom-logo {
    width: 100% !important;
    max-width: 1200px !important;
  }
}
/* Ensure logo centering also applies inside the mobile header wrapper if Astra uses a different container */
/* #ast-mobile-header .site-branding .custom-logo-link,
#masthead .site-branding .custom-logo-link {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(-3deg) !important;
  transform-origin: center !important;
  z-index: 1 !important;
} */

/* Force the mobile header to show and hide the desktop header entirely so the mobile trigger exists */
#ast-desktop-header {
  display: none !important;
}

#ast-mobile-header,
#masthead .ast-mobile-header-wrap,
.ast-mobile-header-wrap {
  display: block !important;
}

#masthead .ast-container,
.site-header-focus-item + .ast-breadcrumbs-wrapper {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 921px) {
  .ast-header-break-point
    #masthead
    .ast-mobile-header-wrap
    .ast-primary-header-bar {
    padding-left: 0;
    padding-right: 0;
  }
}

/* === ALWAYS HAMBURGER NAV (DESKTOP INCLUDED) ===  */

/* Force the mobile trigger to be visible */
.site-header .ast-mobile-menu-trigger,
.site-header .ast-header-break-point .ast-mobile-menu-trigger {
  display: inline-flex !important;
  align-items: center;
}

/* Ensure the mobile menu panel can appear */
.site-header .ast-mobile-header-wrap,
.site-header .ast-mobile-header-content,
.site-header .ast-mobile-popup-drawer,
.site-header .ast-mobile-popup-inner {
  display: block;
}

/* Force the actual nav menu to display */
#ast-hf-menu-1,
#ast-hf-menu-1 ul,
#ast-hf-menu-1 li,
#ast-hf-menu-1 a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
  max-width: none !important;
  height: auto !important;
}

/* Override the display: none on ul.main-header-menu */
ul.main-header-menu,
ul.main-header-menu li,
ul.main-header-menu a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
}

/* Ensure wrapper shows menu when open */
body.ast-main-header-nav-open #ast-hf-menu-1 {
  display: block !important;
}

/* Global force - keep menu visible at all widths ONLY WHEN OPEN */
body.ast-main-header-nav-open .main-header-menu,
body.ast-main-header-nav-open ul.main-header-menu {
  display: block !important;
}

/* Override the earlier .site-header .main-header-menu { display: none } rule ONLY WHEN OPEN */
body.ast-main-header-nav-open .site-header .main-header-menu,
body.ast-main-header-nav-open .site-header .ast-desktop .main-header-menu,
body.ast-main-header-nav-open .site-header nav.ast-header-menu {
  display: block !important;
}

/* Super-specific overrides for parent theme re-hiding rules ONLY WHEN OPEN */
body.ast-main-header-nav-open .ast-mobile-header-wrap .main-header-menu,
body.ast-main-header-nav-open .ast-mobile-header-wrap ul.main-header-menu,
body.ast-main-header-nav-open #ast-hf-menu-1,
body.ast-main-header-nav-open nav[aria-label="Primary Site Navigation"] ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Position the hamburger inside the header/logo area (lower-left of logotype)
   - make header container position:relative so absolute placement is within it
   - use absolute positioning for the trigger so it sits at bottom-left of header
   - remove any background/border/outline left by fixed positioning
*/
.site-header,
.ast-primary-header-bar,
.ast-main-header-wrap {
  position: relative !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 10 !important;
}

.site-header .ast-mobile-menu-trigger,
.site-header .ast-header-break-point .ast-mobile-menu-trigger,
button.menu-toggle,
.menu-toggle,
.ast-button-wrap .menu-toggle {
  display: inline-flex !important;
  position: absolute !important;
  left: calc(50vw - 600px + 12px) !important;
  bottom: 12px !important; /* places trigger inside header, above page bottom */
  z-index: 99999 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.55rem !important;
  border-radius: 0 !important;
  color: inherit !important;
}

/* Remove any focus outline left behind by the theme */
button.menu-toggle,
.menu-toggle {
  outline: none !important;
}

/* Ensure the primary navigation and menu items display when menu is open */
#ast-hf-menu-1,
nav#primary-site-navigation,
#primary-site-navigation,
.site-navigation {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  max-height: none !important;
}

.site-header .ast-mobile-menu-trigger,
.menu-toggle,
button.menu-toggle,
.ast-button-wrap .menu-toggle {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Ensure no header band or background appears at larger widths */
.ast-desktop-header,
.ast-main-header-wrap,
.ast-primary-header-bar,
#masthead,
.ast-header-break-point .site-header,
.site-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* If Astra injects a helper element for header background, target common wrappers */
.ast-header-break-point .ast-header-sections-inner,
.ast-header-break-point .ast-builder-grid-row,
.ast-builder-grid-row {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Constrain hamburger to mobile viewport at widths < 1200px */
@media (max-width: 1199px) {
  .site-header .ast-mobile-menu-trigger,
  .site-header .ast-header-break-point .ast-mobile-menu-trigger,
  button.menu-toggle,
  .menu-toggle,
  .ast-button-wrap .menu-toggle {
    left: 12px !important;
  }
}

/* Force mobile trigger and its positioning to persist at desktop widths */
@media (min-width: 922px) {
  #ast-desktop-header .ast-mobile-menu-trigger,
  #masthead .ast-mobile-menu-trigger,
  .ast-mobile-menu-trigger,
  .ast-builder-menu-toggle-icon,
  .ast-hide-custom-menu-mobile,
  .menu-toggle,
  button.menu-toggle,
  .ast-button-wrap .menu-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    /* left: 12px !important;
    bottom: 12px !important; */
    z-index: 99999 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Ensure the header and title/tagline regions are positioned/visible so the absolute placement lands over the logo */
  #ast-desktop-header,
  #masthead,
  .ast-main-header-wrap,
  .site-primary-header-wrap,
  .site-header-primary-section-left,
  .ast-builder-layout-element[data-section="title_tagline"] {
    position: relative !important;
    overflow: visible !important;
  }

  /* Hide desktop navigation that might re-appear at desktop widths */
  .ast-desktop .main-header-menu,
  .main-header-bar .main-header-menu,
  nav.main-navigation {
    display: none !important;
  }
}

/* Ensure the mobile-style menu/drawer can open at desktop widths when triggered */
@media (min-width: 922px) {
  body.ast-main-header-nav-open .ast-desktop .main-header-menu,
  body.ast-main-header-nav-open .main-header-bar .main-header-menu,
  body.ast-main-header-nav-open nav.main-navigation,
  body.ast-main-header-nav-open #ast-hf-menu-1,
  body.ast-main-header-nav-open .ast-mobile-popup-drawer,
  body.ast-main-header-nav-open .ast-mobile-popup-inner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Target Astra's below-header / main-header wrapper elements that can show a band */
.ast-below-header-wrap,
.site-below-header-wrap,
.ast-below-header-bar,
.site-below-header-bar,
.main-header-bar-wrap,
.ast-main-header-wrap .main-header-bar-wrap,
.ast-main-header-bar,
.main-header-bar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Ensure the main navigation container doesn't inject a background or shadow */
nav.main-navigation,
.main-navigation,
.main-header-bar .main-navigation,
.main-header-menu,
ul.main-header-menu,
.main-header-menu.ast-menu-shadow {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove any pseudo-element backgrounds around header areas */
.ast-below-header-wrap::before,
.ast-below-header-wrap::after,
.main-header-bar-wrap::before,
.main-header-bar-wrap::after {
  background: transparent !important;
  content: none !important;
}

/* === MOBILE MENU ANIMATION & STYLING === */

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

/* Style the mobile drawer container */
.ast-mobile-popup-drawer,
.ast-mobile-popup-inner {
  background-color: #1a1a1a !important;
  color: #f5f5f5 !important;
  font-family: "Chakra Petch", sans-serif !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  height: 100vh !important;
  max-width: none !important;
  padding: 80px 24px 24px 24px !important;
  overflow-y: auto !important;
  z-index: 100000 !important;
  transform: translateX(-100%) !important;
  transition:
    transform 0.28s cubic-bezier(0.16, 0.84, 0.35, 1),
    opacity 0.28s ease-out !important;
  will-change: transform, opacity !important;
}

/* Open state: slide in from left */
body.ast-main-header-nav-open .ast-mobile-popup-drawer,
body.ast-main-header-nav-open .ast-mobile-popup-inner {
  transform: translateX(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: slideInFromLeft 0.28s cubic-bezier(0.16, 0.84, 0.35, 1) both !important;
}

/* Style menu links and items */
.ast-mobile-popup-drawer a,
.ast-mobile-popup-drawer .menu-item,
.ast-mobile-popup-inner a,
.ast-mobile-popup-inner .menu-item,
#ast-hf-menu-1 a,
#ast-hf-menu-1 li,
ul.main-header-menu a,
ul.main-header-menu li {
  color: #f5f5f5 !important;
  font-family: "Chakra Petch", sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  display: block !important;
  border-bottom: none !important;
  transition: color 0.12s ease !important;
}

/* Disable hover accent for now (keep same color) */
.ast-mobile-popup-drawer a:hover,
.ast-mobile-popup-inner a:hover,
#ast-hf-menu-1 a:hover,
ul.main-header-menu a:hover {
  color: #f5f5f5 !important;
}

/* Desktop styling: slide in from left side with constrained width */
@media (min-width: 1200px) {
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner {
    /* make drawer half the viewport on large screens */
    width: 50vw !important;
    max-width: 50vw !important;
    height: 100vh !important;
    padding-top: 120px !important;
  }

  /* also for the inline ast-mobile-header-content variant */
  .ast-mobile-header-content.content-align-flex-start {
    width: 50vw !important;
    max-width: 50vw !important;
  }
}

/* Ensure the menu wrapper elements are transparent so our drawer shows through */
.ast-mobile-header-wrap,
.ast-mobile-header-content,
.ast-mobile-popup {
  background: transparent !important;
  box-shadow: none !important;
}

/* Ensure the main menu inside the drawer has transparent background and visible links */
.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-inner .main-header-menu,
.ast-mobile-popup-drawer #ast-hf-menu-1,
.ast-mobile-popup-inner #ast-hf-menu-1,
ul.main-header-menu {
  background: transparent !important;
  color: #f5f5f5 !important;
}

/* Force normal top-to-bottom order for menu items */
.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-inner .main-header-menu,
.ast-mobile-header-content .main-header-menu,
#ast-hf-menu-1,
ul.main-header-menu {
  display: block !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}

/* Make sure anchor text is visible even when wrapped by other nav containers */
.ast-mobile-popup-drawer a,
.ast-mobile-popup-inner a,
nav[aria-label="Primary Site Navigation"] a,
.main-header-menu a,
#ast-hf-menu-1 a {
  color: #f5f5f5 !important;
}

/* Closed state: ensure transform enforced so it slides cleanly */
body:not(.ast-main-header-nav-open) .ast-mobile-popup-drawer,
body:not(.ast-main-header-nav-open) .ast-mobile-popup-inner {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: slideOutToLeft 0.24s ease-in both !important;
}

/* Hide menu by default, show only when open */
.main-header-menu,
ul.main-header-menu,
#ast-hf-menu-1 {
  display: none !important;
}

/* Show menu when hamburger is clicked (body gets ast-main-header-nav-open class) */
body.ast-main-header-nav-open .main-header-menu,
body.ast-main-header-nav-open ul.main-header-menu,
body.ast-main-header-nav-open #ast-hf-menu-1 {
  display: block !important;
}

/* Ensure Astra's native overlay is clickable so outside clicks close the menu */
body.ast-main-header-nav-open .ast-mobile-popup-overlay {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
  position: fixed !important;
  inset: 0 !important;
  background: transparent !important;
  z-index: 1 !important;
}

body:not(.ast-main-header-nav-open) .ast-mobile-popup-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/*remove footer line*/
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  border-top-width: 0;
}

/* Support Astra's inline mobile nav structure: treat it as a sliding drawer
   when the hamburger toggles `body.ast-main-header-nav-open`. This targets
   .ast-mobile-header-content -> .main-header-bar-navigation -> #ast-hf-mobile-menu
   which is the DOM variant in your site. */
.ast-mobile-header-content.content-align-flex-start,
.ast-builder-menu-mobile.ast-builder-menu,
.ast-main-header-bar-alignment,
.main-header-bar-navigation.toggle-on {
  background: transparent !important;
}

/* Mobile / tablet: sliding drawer (50vw) */
@media (max-width: 1199px) {
  .ast-mobile-header-content.content-align-flex-start {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 50vw !important;
    height: 100vh !important;
    z-index: 120000 !important;
    background: #1a1a1a !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 0.84, 0.35, 1) !important;
    padding-top: 64px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.ast-main-header-nav-open
    .ast-mobile-header-content.content-align-flex-start {
    transform: translateX(0) !important;
  }

  .ast-mobile-header-content .main-header-bar-navigation,
  .ast-mobile-header-content nav#ast-mobile-site-navigation,
  .ast-mobile-header-content .main-navigation,
  .ast-mobile-header-content .main-header-menu,
  .ast-mobile-header-content #ast-hf-mobile-menu {
    background: transparent !important;
    color: #f5f5f5 !important;
  }

  .ast-mobile-header-content .menu-link {
    color: #f5f5f5 !important;
    font-family: "Chakra Petch", sans-serif !important;
    font-size: 1.125rem !important;
    padding: 10px 16px !important;
    display: block !important;
    border-bottom: none !important;
  }
}

/* Desktop: show a constrained side panel when open */
@media (min-width: 1200px) {
  .ast-mobile-header-content.content-align-flex-start {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 10vw !important;
    max-width: 10vw !important;
    height: 100vh !important;
    z-index: 120000 !important;
    background: #1a1a1a !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.16, 0.84, 0.35, 1) !important;
    overflow-y: auto !important;
  }
  body.ast-main-header-nav-open
    .ast-mobile-header-content.content-align-flex-start {
    transform: translateX(0) !important;
  }
}

/* DEBUG: force show mobile drawer/menu to inspect DOM (temporary - remove once debugged) */
.ast-mobile-popup-drawer.debug-force-visible,
.ast-mobile-popup-inner.debug-force-visible,
body.debug-show-menu .ast-mobile-popup-drawer,
body.debug-show-menu .ast-mobile-popup-inner,
.debug-force-visible-main-menu {
  transform: translateX(0) !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: auto !important;
  z-index: 200000 !important;
}

/* Force menu lists visible for inspection */
#ast-hf-menu-1.debug-force-visible,
.main-header-menu.debug-force-visible,
ul.main-header-menu.debug-force-visible {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Additional safety overrides: force drawer width and dark background, remove LI backgrounds */
.ast-mobile-popup-drawer,
.ast-mobile-popup-inner {
  background-color: #1a1a1a !important;
  color: #f5f5f5 !important;
}

@media (max-width: 1199px) {
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner {
    width: 50vw !important;
    max-width: 50vw !important;
  }
}

@media (min-width: 1200px) {
  .ast-mobile-popup-drawer,
  .ast-mobile-popup-inner {
    width: 10vw !important;
    max-width: 10vw !important;
  }
}

.ast-mobile-popup-drawer li,
.ast-mobile-popup-inner li,
.ast-mobile-header-content li,
.ast-mobile-header-content .menu-item,
ul.main-header-menu li {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ast-mobile-popup-drawer a,
.ast-mobile-popup-inner a,
.ast-mobile-header-content a,
ul.main-header-menu a {
  background: transparent !important;
  color: #f5f5f5 !important;
  padding: 10px 16px !important;
}

/* Close button inside the drawer */
.custom-menu-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  left: auto !important;
  z-index: 140000 !important;
  background: transparent !important;
  color: #f5f5f5 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 18px !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.custom-menu-close:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Override Astra first-child padding for the close button */
.ast-mobile-header-content > .custom-menu-close,
.ast-desktop-header-content > .custom-menu-close {
  padding-top: 0 !important;
}

/* Overlay for outside-click close */
#custom-menu-overlay {
  display: none !important;
}

body.ast-main-header-nav-open #custom-menu-overlay {
  display: none !important;
}

/* Ensure drawer and menu items are above the overlay and clickable */
.ast-mobile-header-content.content-align-flex-start,
.ast-mobile-popup-drawer,
.ast-mobile-popup-inner {
  z-index: 120000 !important;
  pointer-events: auto !important;
}

.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-inner .main-header-menu,
.ast-mobile-header-content .main-header-menu,
.ast-mobile-popup-drawer a,
.ast-mobile-popup-inner a,
.ast-mobile-header-content a {
  pointer-events: auto !important;
}

.ast-footer-copyright.site-footer-focus-item p {
  font-size: 0.7rem !important;
}
.ast-plain-container,
.ast-page-builder-template,
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  background-color: #fbfbf6;
}

.mkulogo-container {
  text-align: center !important;
}
.entry-content p.text-mku {
  font-size: 0.8em !important;
  margin-bottom: 0 !important;
}

body
  .wp-block-group.mkulogo-container.is-layout-constrained
  > figure.wp-block-image.logo-mku {
  margin-block-start: 0 !important;
  margin-top: 0 !important;
  margin-block-end: 0 !important;
  margin-bottom: 0 !important;
}

@media screen and (min-width: 782px) {
  .iframe-bio-row > .wp-block-column:first-child {
    flex: 0 0 calc(44% - 12px) !important;
  }

  .iframe-bio-row > .widget-col {
    flex: 0 0 calc(56% - 12px) !important;
  }
}

@media screen and (min-width: 521px) and (max-width: 781px) {
  .wp-block-columns.iframe-bio-row.is-layout-flex >
  .wp-block-column.widget-col.has-adam-radio-player {
    margin: 28px auto 0;
  }
}

.widget-col {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  padding: 0 clamp(4px, 1.4vw, 16px) 24px;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.widget-col::before {
  content: none;
}

.adam-art {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 1 / 1;
  top: auto;
  left: auto;
  transform: none;
  pointer-events: none;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  order: 1;
}

.widget-col > audio {
  display: block;
  width: 100% !important;
  max-width: 420px;
  margin: 18px 0 8px;
  accent-color: #a12b26;
  filter: none;
  order: 2;
}

/* A.D.A.M. Radio player — mirrors radio.archaeologistsdiscoveramiracle.com. */
.widget-col.has-adam-radio-player > .radiohead {
  display: none;
}
.widget-col.has-adam-radio-player img{
  border-radius: .4em;
  overflow: hidden;
}
.adam-radio-player-wrap {
  --adam-radio-ink: #202022;
  --adam-radio-paper: #f4f4e3;
  --adam-radio-red: #a5262a;
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 30px 0 0;
  order: 2;
}

.adam-radio-live-stamp {
  position: absolute;
  z-index: 2;
  top: -13px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px 6px;
  background: var(--adam-radio-paper);
  color: var(--adam-radio-red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-radius: .4em;
}

.adam-radio-live-stamp i,
.adam-radio-status i {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}

.adam-radio-live-stamp i {
  background: var(--adam-radio-red);
  animation: adam-radio-pulse 1.8s ease-out infinite;
}

@keyframes adam-radio-pulse {
  0% { box-shadow: 0 0 0 0 rgba(165, 38, 42, 0.42); }
  70% { box-shadow: 0 0 0 7px rgba(165, 38, 42, 0); }
  100% { box-shadow: 0 0 0 0 rgba(165, 38, 42, 0); }
}

.adam-radio-player {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 17px;
  align-items: center;
  width: 100%;
  padding: 18px;
  background: var(--adam-radio-ink);
  color: var(--adam-radio-paper);
      border-radius: .4em;
}

.adam-radio-audio {
  display: none;
}

.adam-radio-play-button {
  display: grid;
  width: 62px;
  height: 62px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--adam-radio-red);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.adam-radio-play-button:hover {
  background: #bb2c31;
  transform: scale(1.04);
}

.adam-radio-play-button:focus-visible {
  outline: 3px solid var(--adam-radio-paper);
  outline-offset: 3px;
}

.adam-radio-play-button svg {
  grid-area: 1 / 1;
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.adam-radio-pause-icon {
  display: none;
}

.adam-radio-player[data-state="playing"] .adam-radio-play-icon {
  display: none;
}

.adam-radio-player[data-state="playing"] .adam-radio-pause-icon {
  display: block;
}

.adam-radio-player-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  text-align: left;
}

.adam-radio-player-label {
  color: #df686b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.adam-radio-player-copy strong {
  overflow: hidden;
  margin-top: 2px;
  color: var(--adam-radio-paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.adam-radio-player-note {
  margin-top: 3px;
  color: #aaa9a2;
  font-size: 11px;
}

.adam-radio-volume-control {
  display: flex;
  width: 88px;
  align-items: center;
  gap: 7px;
}

.adam-radio-volume-control svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: #c9c8c0;
}

.adam-radio-volume-control input {
  width: 62px;
  margin: 0;
  accent-color: var(--adam-radio-red);
  -webkit-appearance: auto;
  appearance: auto;
  background-color: transparent;
  cursor: pointer;
}

/* Neutralize Astra's custom range skin so the red native accent matches MKU. */
.adam-radio-volume-control input[type="range"],
.adam-radio-volume-control input[type="range"]::-webkit-slider-runnable-track,
.adam-radio-volume-control input[type="range"]::-webkit-slider-thumb {
  border: 0;
  box-shadow: none;
}

.adam-radio-volume-control input[type="range"]::-webkit-slider-thumb {
  margin-top: -3px;
}

.adam-radio-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.adam-radio-status {
  display: flex;
  width: 100%;
  max-width: 420px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  color: #62615d;
  font-size: 12px;
  line-height: 1.35;
  order: 3;
}

.adam-radio-status i {
  background: #4d8b53;
}

.iframe-bio-row > .wp-block-column:first-child > .mkulogo-container {
  width: 100%;
  max-width: 280px;
  margin: 26px auto 0;
}

.widget-col > .radio-description {
  width: 100%;
  max-width: 420px;
  margin: 12px 0 0;
  color: rgba(51, 51, 51, 0.84);
  font-size: 13px !important;
  line-height: 1.5;
  text-align: left;
  order: 4;
}

@media screen and (max-width: 781px) {
  .widget-col {
    width: calc(100% - 12px);
    max-width: 520px;
    margin: 28px auto 0;
    padding: 0 14px 18px;
    box-shadow: none;
  }

  .adam-art {
    max-width: 440px;
  }

  .widget-col > audio,
  .adam-radio-player-wrap,
  .adam-radio-status,
  .widget-col > .radio-description {
    max-width: 440px;
  }

  .adam-radio-player {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 15px;
  }

  .adam-radio-play-button {
    width: 56px;
    height: 56px;
  }

  .adam-radio-volume-control {
    grid-column: 1 / -1;
    width: 100%;
    padding: 1px 4px 0;
  }

  .adam-radio-volume-control input {
    width: 100%;
  }

  .widget-col > .radio-description {
    margin-top: 12px;
    font-size: 13px !important;
    line-height: 1.5;
  }

  .iframe-bio-row > .wp-block-column:first-child > .mkulogo-container {
    max-width: 260px;
    margin-top: 22px;
  }
}
