:root {
  --golbolas-header: #10283d;
  --golbolas-link: #17466a;
  --golbolas-accent: #a32929;
}

/* Suppress only the stock banner. Custom event and editorial photos keep their existing layout. */
.innerbanner:has(> img[src$="/sports-club/images/inner-banner.jpg"]) {
  display: none !important;
}

.golbolas-team-hero {
  max-width: 850px;
  margin: 0 0 2rem;
}

.golbolas-team-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header .logonavigation,
.site-header .header_right,
.site-header .header_right::before,
.site-header .header_right::after {
  background: var(--golbolas-header) !important;
}

.site-header .header_right a,
.site-header .header_right i,
.site-header .sitenav ul li a {
  color: #fff !important;
}

.site-header .sitenav li:hover,
.site-header .sitenav li:focus-within,
.site-header .sitenav li.current-menu-item,
.site-header .sitenav li.current-menu-ancestor {
  background: var(--golbolas-accent) !important;
}

.site-header .sitenav .sub-menu {
  background: var(--golbolas-header) !important;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
  outline: 3px solid #ffdf75;
  outline-offset: -3px;
}

body a:not(.site-header a):focus-visible,
body input:focus-visible {
  outline: 3px solid #17466a;
  outline-offset: 2px;
}

.golbolas-menu-button {
  display: none;
}

body :is(.entry-content, .site-main) a:not(.wp-block-button__link):not(.sby_video_thumbnail) {
  text-underline-offset: .16em;
}

body input.wpcf7-submit {
  background: var(--golbolas-accent) !important;
  color: #fff !important;
}

.golbolas-field-label {
  display: block;
  font-weight: 600;
}

.golbolas-quick-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

.golbolas-quick-contacts a {
  color: var(--golbolas-link);
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .site-header .sitenav li:focus-within > .sub-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (max-width: 1199px) {
  body#top {
    padding-top: 0 !important;
  }

  body#top .site-header {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .site-header .logonavigation,
  .site-header .logonavigation > .container {
    padding-block: 0 !important;
  }

  .site-header .logonavigation > .container {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 64px;
    width: 100%;
    box-sizing: border-box;
    padding-inline: 16px;
  }

  .site-header .logo {
    grid-area: 1 / 1;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    text-align: left;
  }

  .site-header .logo a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }

  .site-header .header_right,
  .site-header .logonavigation > .container > .clear,
  .site-header .header-nav .toggle {
    display: none !important;
  }

  .site-header .header-nav {
    display: contents !important;
  }

  .site-header .golbolas-menu-button {
    display: inline-flex;
    grid-area: 1 / 2;
    justify-self: end;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .45rem .8rem;
    margin: 0;
    border: 1px solid #b3c2d0;
    border-radius: 4px;
    background: var(--golbolas-header);
    color: #fff;
    font: 600 16px/1.3 Arial, sans-serif;
    cursor: pointer;
  }

  .site-header .sitenav {
    display: block !important;
    grid-column: 1 / -1;
    float: none !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .site-header .sitenav[hidden] {
    display: none !important;
  }

  .site-header .sitenav ul li a {
    display: block !important;
    padding: .6rem .75rem !important;
    min-height: 44px;
    box-sizing: border-box;
    background: transparent !important;
  }

  .site-header .sitenav ul li ul.sub-menu {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding-inline-start: 1.1rem !important;
    width: auto !important;
  }
}

/* Theme defaults use bright red and pale gray even on white. */
.gnc-hub .gnc-hub__header h2 {
  color: #fff !important;
}

.gnc-hub .gnc-side-card h2,
.gnc-hub .cff-author a,
.gnc-hub .cff-author a strong,
.gnc-hub .cff-post-links a {
  color: var(--golbolas-accent) !important;
}

.gnc-hub .cff-date,
.teammember-list .titledesbox cite {
  color: #555 !important;
}

.wpcf7-form :is(input:not([type="submit"]), textarea, select) {
  color: #26394a !important;
}

.wpcf7-form :is(input, textarea)::placeholder {
  color: #526173 !important;
  opacity: 1;
}

body .site-main :is(.read-more, a.readMore) {
  background-color: var(--golbolas-accent);
  color: #fff;
}

/* The theme extends its old header accent beyond the page and the footer
   carousel paints offscreen slides. Clip these two decorative regions. */
.site-header .logonavigation,
#footer-wrapper {
  overflow-x: clip;
}

