/*
Theme Name: Anchor 44
Theme URI: https://anchor44.com/
Author: Thunderbyte Creative
Description: A fast, focused block theme for Anchor 44.
Version: 2.3.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: anchor44-starter
*/

:root { --anchor-border: rgba(247, 234, 210, 0.2); }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
a, .wp-element-button { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.wp-element-button:hover, .wp-element-button:focus-visible { transform: translateY(-2px); }
.anchor-site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--anchor-border); }
@media (min-width: 782px) {
  .anchor-site-header .wp-block-navigation__container { column-gap: clamp(1.5rem, 2vw, 2rem) !important; }
}
.anchor-site-header .wp-block-navigation-item__content { text-decoration: none; }
.anchor-site-header .current-menu-item > .wp-block-navigation-item__content,
.anchor-site-header .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--red); }
.anchor-logo img { display: block; height: auto; }
.anchor-hero { border-bottom: 6px solid var(--wp--preset--color--red); }
.anchor-eyebrow { color: var(--wp--preset--color--teal); font-size: var(--wp--preset--font-size--xs); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.anchor-section-title::after { display: block; width: 4rem; height: .3rem; margin-top: .65rem; background: var(--wp--preset--color--red); content: ""; }
.anchor-card { height: 100%; border: 1px solid var(--anchor-border); border-top: 4px solid var(--wp--preset--color--teal); border-radius: .35rem; }
.anchor-show-table { overflow-x: auto; }
.anchor-show-table table { min-width: 640px; border-collapse: collapse; }
.anchor-show-table th { color: var(--wp--preset--color--navy); background: var(--wp--preset--color--cream); font-size: var(--wp--preset--font-size--xs); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.anchor-show-table td, .anchor-show-table th { padding: 1rem; border-color: var(--anchor-border); }
.anchor-show-table a { color: var(--wp--preset--color--cream); font-weight: 700; }
.anchor-venue-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem 2rem; padding: 0; list-style: none; }
.anchor-venue-list li { padding-bottom: .55rem; border-bottom: 1px solid var(--anchor-border); }
.anchor-photo-grid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.anchor-site-footer a { text-decoration: none; }

@media (max-width: 781px) {
  .anchor-venue-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .anchor-photo-grid { gap: .75rem !important; }
}
@media (max-width: 520px) {
  .anchor-logo img { width: 112px !important; }
  .anchor-venue-list { grid-template-columns: 1fr; }
  .wp-block-buttons > .wp-block-button { width: 100%; }
  .wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .wp-element-button { transition: none; }
}


.anchor-shows-shell .wp-block-post-title { display: none; }

.anchor-home-show-list { display: grid; gap: .75rem; }
.anchor-home-show { display: grid; grid-template-columns: minmax(8rem,.65fr) minmax(10rem,1fr) auto; gap: .75rem 1rem; align-items: center; padding-bottom: .75rem; border-bottom: 1px solid rgba(5,19,38,.18); }
.anchor-home-show-date { color: var(--wp--preset--color--navy); }
.anchor-home-show-location { color: var(--wp--preset--color--navy); }
.anchor-home-show-link { color: var(--wp--preset--color--navy); font-size: var(--wp--preset--font-size--xs); font-weight: 800; white-space: nowrap; }

@media (max-width: 781px) {
  .anchor-home-show { grid-template-columns: 1fr; gap: .2rem; }
}

.anchor-epk-video {
  width: 100%;
  max-width: min(480px, calc(100vw - var(--wp--preset--spacing--md) - var(--wp--preset--spacing--md)));
  margin-right: auto;
  margin-left: auto;
}
.anchor-epk-video video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.anchor-contact-shell .wp-block-post-title { display: none; }
.anchor-epk-shell .wp-block-post-title { display: none; }

.anchor-setlist-highlights {
  column-count: 2;
  column-gap: var(--wp--preset--spacing--lg);
}
.anchor-setlist-highlights li {
  break-inside: avoid;
  margin-bottom: var(--wp--preset--spacing--xs);
}
@media (max-width: 781px) {
  .anchor-setlist-highlights { column-count: 1; }
}

@media (min-width: 1024px) {
  .anchor-epk-shell {
    --wp--style--global--content-size: 1200px;
    --wp--style--global--wide-size: 1200px;
  }
  .anchor-epk-shell > .wp-block-post-content {
    width: 100%;
    max-width: 1200px !important;
  }
}
.anchor-epk-downloads > .wp-block-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.anchor-epk-downloads .wp-block-file,
.anchor-epk-downloads .wp-block-buttons {
  margin-top: auto;
}


/* Booking page: Fluent Forms presentation */
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform {
  color: var(--wp--preset--color--cream);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-group {
  margin-bottom: 1.25rem;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-t-container {
  column-gap: var(--wp--preset--spacing--sm);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-input--label {
  margin-bottom: .4rem;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-input--label label {
  color: var(--wp--preset--color--cream);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 700;
  line-height: 1.45;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-is-required.asterisk-right label::after {
  color: var(--wp--preset--color--red);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-form-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 3rem;
  padding: .75rem .875rem;
  border: 1px solid rgba(247, 234, 210, .45);
  border-radius: .25rem;
  background: var(--wp--preset--color--white);
  color: var(--wp--preset--color--navy);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform textarea.ff-el-form-control {
  min-height: 8rem;
  resize: vertical;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-form-control::placeholder {
  color: var(--wp--preset--color--gray);
  opacity: 1;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-form-control:focus {
  border-color: var(--wp--preset--color--teal);
  outline: 3px solid rgba(28, 128, 163, .35);
  outline-offset: 1px;
  box-shadow: none;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-help-message,
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-form-check-label {
  color: rgba(247, 234, 210, .8);
  font-size: var(--wp--preset--font-size--sm);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .error,
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .text-danger,
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-is-error .error {
  color: #ff8aa3;
  font-size: var(--wp--preset--font-size--sm);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-el-is-error .ff-el-form-control {
  border-color: #ff8aa3;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
  padding: .8rem 1.35rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--wp--preset--color--red) !important;
  color: var(--wp--preset--color--white) !important;
  font-family: inherit;
  font-size: var(--wp--preset--font-size--sm);
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.65;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-btn-submit:not(.ff_btn_no_style):hover,
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-btn-submit:not(.ff_btn_no_style):focus-visible {
  transform: translateY(-2px);
}
.anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-btn-submit:not(.ff_btn_no_style):focus-visible {
  outline: 3px solid var(--wp--preset--color--teal);
  outline-offset: 3px;
}
.anchor-contact-shell .anchor-booking-privacy {
  color: rgba(247, 234, 210, .76) !important;
}
@media (prefers-reduced-motion: reduce) {
  .anchor-contact-shell :is(.anchor-booking-form-card, .anchor-form-card) .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
    transition: none;
  }
}


@media (max-width: 781px) {
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open {
    box-sizing: border-box;
    padding: clamp(1.25rem, 5vw, 2rem) !important;
    background-color: var(--wp--preset--color--navy) !important;
    color: var(--wp--preset--color--cream) !important;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start !important;
    padding-top: 3rem;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    width: 100%;
    align-items: flex-start !important;
    row-gap: .5rem;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
    align-items: flex-start;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    box-sizing: border-box;
    width: 100%;
    padding: .75rem 0;
    color: var(--wp--preset--color--cream);
    text-align: left;
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
    top: 1rem;
    right: 1rem;
    padding: .5rem;
    color: var(--wp--preset--color--cream);
  }
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible,
  .anchor-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    outline: 3px solid var(--wp--preset--color--teal);
    outline-offset: 3px;
  }
}
