/**
 * @file
 * Mobile-First CSS for Marine Components theme.
 *
 * This file refactors the original styles.css to use mobile-first approach.
 * Base styles are for mobile, then enhanced with min-width media queries.
 */

/* =============================================================================
   BASE STYLES (Mobile First - No Media Query)
   ============================================================================= */

body {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  color: #1f1f1f;
}

a {
  transition: 0.3s ease;
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p, .container li {
  font-size: 17px;
  line-height: 27px;
  margin-top: 0;
  margin-bottom: 28px;
}

.container ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 28px;
}

.container li {
  margin-bottom: 8px;
  background: url(../images/check-bullet.png) left 8px no-repeat;
  background-size: 13px auto;
  padding-left: 20px;
  list-style: none;
}

li.toolbar-menu__item.toolbar-menu__item--level-1, ul.toolbar-menu li, li.search-results__item-wrapper {
  margin-bottom: 0;
  background: #fff;
  background-size: 0 0;
  padding-left: 0;
  list-style: none;
}

nav#toolbar-bar ul.toolbar-menu {
flex-direction: column;
text-align: left;
margin: 0;
padding: 0;
}

ol {
  list-style: none;
  counter-reset: num;
  margin-left: 0;
  padding-left: 0;
}

ol li {
  background: none;
  padding-left: 0;
  counter-increment: num;
}

ol li::before {
  content: counter(num) ". ";
  font-weight: bold;
  color: var(--color-primary);
}

.search-results ol li::before {
display: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.gin--navigation .admin-toolbar__item > .toolbar-menu {
  margin-block-start: 20px;
}

/* Headings - Mobile sizes */
h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: var(--space-md);
}

h1 { font-size: 33px; line-height: 41px; }
h2 { font-size: 28px; line-height: 34px; }
h3 { font-size: 24px; line-height: 30px; }
h4 { font-size: 18px; line-height: 26px; color: #1E6D82; }
h5 { font-size: 16px; line-height: 21px; }
h6 { font-size: 14px; line-height: 18px; }

h3, h4, h5, h6 { margin-bottom: var(--space-sm); }

.slide-copy h3, .slide-copy h4, .slide-copy h5 { color: #fff; }

/* =============================================================================
   UTILITY MENU
   ============================================================================= */

.utility-menu {
  display: none; /* Hidden on small mobile, shown at tablet+ */
}

/* Show utility bar on tablet and up (below desktop nav breakpoint) */
@media (min-width: 680px) and (max-width: 1059px) {
  .utility-menu {
    display: block;
    overflow: hidden;
    background: var(--color-primary-dark);
    padding: var(--space-sm) var(--space-lg) 5px;
    color: var(--color-white);
    padding-bottom: 10px !important;
  }

  .utility-menu a {
    color: var(--color-white);
  }

  a.email-contact {
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    line-height: 21px;
    float: right;
    text-decoration: none;
  }
}

.mobile-utility .utility-menu {
  display: block;
  background: var(--color-primary-darker);
  padding: var(--space-md) var(--space-lg);
}

.mobile-utility .socials {
  float: right;
  display: flex;
  gap: var(--space-sm);
}

.mobile-utility .utility-menu a {
  padding: 0;
  display: inline-block;
}

.mobile-utility a.email-contact {
  float: left;
  padding: 5px 0 0 20px;
  font-size: 11px;
  line-height: 14px;
  font-weight: 400;
  position: relative;
  text-transform: none;
}

.socials {
  display: block;
  width: auto;
  margin-top: 8px;
}

.socials svg {
  fill: var(--color-white);
  transition: 0.3s ease;
}

.socials a:hover svg {
  fill: var(--color-primary);
}

svg.email-icon {
  position: absolute;
  top: 4px;
  left: 0;
}

/* =============================================================================
   HEADER
   ============================================================================= */

.header-stuff {
  display: flex;
  justify-content: space-between;
  align-items: center;
  clear: both;
  margin: 10px auto;
  background: var(--color-white);
  width: 95%;
}

/* Body scroll lock when mobile menu open */
body.mm-menu-open {
  overflow: hidden;
}

a.logo {
  background: url(../images/MarineComponents-Logo.gif) top center no-repeat;
  background-size: 75px auto;
  display: block;
  width: 12%;
  min-width: 75px;
  height: auto;
  min-height: 53px;
  font-size: 0; /* Modern image replacement */
  overflow: hidden;
}

a.logo img {
  width: 100%;
  height: auto;
}

/* Desktop nav hidden on mobile (only below desktop breakpoint) */
@media (max-width: 1059px) {
  header nav,
  .header-stuff nav,
  .header-stuff nav nav {
    display: none;
  }

  /* Ensure footer nav is always visible */
  footer nav,
  footer .footer-nav,
  footer .footer-nav nav,
  footer .footer-nav nav[role="navigation"],
  footer .footer-nav ul,
  footer nav.footer-nav nav,
  .footer-nav,
  .footer-nav nav,
  .footer-nav nav[role="navigation"],
  .footer-nav ul,
  nav.footer-nav,
  nav.footer-nav nav,
  nav.footer-nav ul {
    display: block !important;
    visibility: visible !important;
  }

  /* Allow nav inside mobile menu to display */

  .mm-menu {
    background: #194071 !important;
  }


  .mm-menu nav {
    display: block;
  }

  .mm-menu nav ul {
    list-style: none;
    margin: 0;
    padding: 60px 0 0 0;
  }

  .mm-menu nav ul li {
    background: none;
    background-image: none;
    padding-left: 0;
    margin-bottom: 0px;
  }

.header-stuff nav#block-marinecomponents-mainnavigation ul li:last-child {
  display: block !important;
  clear: all !important;
  }

  .header-stuff nav li:last-child a.button {
  margin-top: 0px;
}
}

/* Mobile search and menu */
.search-and-menu {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-spot {
  position: relative;
}

.menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
}

/* Hamburger button - teal circular style */
.mm-open-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: none;
  background: #1E6D82;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 38px;
  line-height: 44px;
}

.mm-open-btn:hover {
  background: #194071;
}

/* Search dropdown */
#controllbox, #controllbox-two {
  display: none;
}

label.linkbutton {
  position: relative;
  cursor: pointer;
}

/* Search dropdown */
.infopage {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  z-index: 100;
  width: 280px;
  padding: 20px;
  height: auto;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  border-top: 4px solid #194071;
}

.infopage[hidden] {
  display: none;
}

.infopage:not([hidden]) {
  display: block;
}

#controllbox:checked + label > .infopage,
#controllbox-two:checked + label > .infopage {
  display: block;
}

/* =============================================================================
   LAYOUT CONTAINERS
   ============================================================================= */

.container {
  background: var(--color-white);
  width: 90%;
  margin: var(--space-2xl) auto;
}

.container-grey {
  width: auto;
  padding: var(--space-3xl) var(--space-lg);
  text-align: center;
  background: var(--color-grey-light);
}

/* =============================================================================
   MASTHEAD / HERO
   ============================================================================= */

.masthead {
  position: relative;
}

.slide-copy,
.slide-copy.center-left,
.slide-copy.center-right {
  position: relative;
  background: var(--color-primary-darker);
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  transform: translate(0, 0);
  display: block;
  padding: var(--space-2xl);
  overflow: hidden;
  text-align: center;
}

.slide-copy h1,
.slide-copy h2 {
  font-size: 30px;
  line-height: 38px;
  color: var(--color-white);
  margin-bottom: 0;
  margin-top: 0;
}

.slide-copy h2 {
  margin-bottom: var(--space-xl);
  display: block;
  font-weight: 300;
}

.center-text { text-align: center; }
.center-left { text-align: left; }
.center-right { text-align: right; }


/* =============================================================================
   BUTTONS
   ============================================================================= */

.button {
  padding: 10px 20px;
  border: 2px solid var(--color-primary);
  border-radius: 100px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-white);
  background: var(--color-primary);
  transition: 0.3s ease;
  margin: 0 5px 0 0;
  font-size: 14px;
  line-height: 18px;
  font-family: "Montserrat", sans-serif;
  display: table;
  width: auto;
}

.slide-copy .button,
.call-to-action .button {
  display: inline-block;
  margin: 0 5px;
}

a:hover.button {
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  color: var(--color-white);
  text-decoration: none;
}

.search.button {
  padding: 12px;
}

.outline-button {
  padding: 10px 20px;
  border: 2px solid var(--color-white);
  border-radius: 100px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-white);
  transition: 0.3s ease;
  margin: 0 5px;
  font-size: 14px;
  line-height: 18px;
  font-family: "Montserrat", sans-serif;
  display: inline-block;
}

a:hover.outline-button {
  background: var(--color-white);
  color: var(--color-primary-darker);
  text-decoration: none;
}

/* =============================================================================
   HERO BAND
   ============================================================================= */

/* Mobile: Image above, content below */
.hero-band {
  position: relative;
  margin-top: 45px;
  display: block;
}

.hero-band__image {
  width: 100%;
}

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

.hero-copy {
  position: relative;
  width: auto;
  background: #F4F4F4;
  padding: var(--space-xl);
  z-index: 2;
}

.hero-copy h2 {
  font-size: 33px;
  line-height: 38px;
  font-weight: 700;
  color: #1f1f1f;
}

.hero-copy h3 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: 25px;
  font-size: 21px;
  line-height: 28px;

}

.hero-copy h1, .hero-copy h2, .hero-copy h3, .hero-copy h4, .hero-copy h5 { color: #fff; }

.general-content-left h3 {
  font-size: 21px;
  line-height: 28px;
}

.hero-copy a.outline-button {
  background: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  color: var(--color-white);
}

.hero-copy a:hover.outline-button {
  background: var(--color-primary-darker);
  border: 2px solid var(--color-primary-darker);
  color: var(--color-white);
}

/* No overlay on mobile */
.hero-band::before {
  display: none;
}

.category-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute;
  opacity: 0.4;
  top: 0;
  left: 0;
  z-index: 1;
}

/* =============================================================================
   BUCKETS
   ============================================================================= */

.buckets {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

a.bucket-one {
  flex-basis: 100%; /* Full width on mobile */
  background: var(--color-grey-light);
  border-radius: 20px;
  text-decoration: none;
  padding: 0;
  color: var(--color-text);
  display: flex;
  gap: var(--space-sm);
  position: relative;
  transition: all 0.3s;
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
}

a:hover.bucket-one {
  color: var(--color-secondary);
  text-decoration: none;
}

a.bucket-one .view-ct {
  padding-top: var(--space-lg);
  display: block;
  font-size: 12px;
  color: var(--color-secondary);
}

a:hover.bucket-one .view-ct {
  color: var(--color-primary-darker);
}

.arrow {
  margin-left: 2px;
  transition: transform 0.25s ease;
}

a:hover.bucket-one .view-ct .arrow {
  transform: translateX(6px);
}

.category-photo {
  width: 48%;
}

.category-photo img {
  width: 100%;
  height: auto;
}

.categories {
  width: 52%;
  vertical-align: top;
  padding: var(--space-lg);
  padding-top: 45px;
}

.categories h3 {
  margin: 0;
  font-size: 24px;
  line-height: 31px;
}

/* Sliding color bar */
a.bucket-one::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background-color: var(--color-primary-darker);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

a.bucket-one:hover::after {
  transform: translateY(0);
}

.thin {
  font-weight: 300;
  display: block;
}

/* =============================================================================
   FORMS
   ============================================================================= */

input,
input[type="text"],
input[type="text"]:disabled,
input[type="tel"],
input[type="email"],
input[type="search"],
input[type="password"],
textarea,
input#coupon_code {
  border: 1px solid var(--color-grey-border);
  box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.075) inset;
  outline: 0 none;
  padding: var(--space-md);
  display: block;
  color: #141414;
  margin-bottom: var(--space-lg);
  width: 100%;
  box-sizing: border-box;
}

.search-form input {
  display: inline-block;
  width: auto;
}

.search-spot .action.search {
background: #366D80;
}

/* =============================================================================
   VIDEO
   ============================================================================= */

#heroVideo {
  display: table;
  width: 100%;
}

.masthead-video-wrapper::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute !important;
  opacity: 0.2;
  top: 0;
  left: 0;
  z-index: 1;
}

.video-wrapper {
  position: relative;
  display: table;
}

#videoToggle {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  border: none;
  padding: var(--space-sm) 14px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  width: 42px !important;
  height: 42px !important;
}

#videoToggle:hover {
  background: rgba(0, 0, 0, 0.8);
}


.pause-icon {
background: transparent url(../images/pause-icon.png) left 2px no-repeat;
background-size: 15px auto;
display: block;
width: 20px;
height: 20px;
}

button[aria-label="Play video"] .pause-icon {
display: none;
}

/* Video poster */
.video-poster {
  position: relative;
  max-width: 800px;
  cursor: pointer;
}

.video-poster::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: absolute !important;
  opacity: 0.4;
  top: 0;
  left: 0;
  z-index: var(--z-base);
  border-radius: 20px;
}

.video-poster img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Play icon */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 1);
  color: var(--color-text);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-button svg { width: 25px !important; height: 25px !important; }

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
}

.video-modal[hidden] {
  display: none;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.video-modal video {
  width: 100%;
  height: auto;
}

/* Remote video modal with 16:9 aspect ratio */
.video-modal-content--remote {
  width: 90%;
  max-width: 1280px;
}

.video-modal-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-modal-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 32px;
  cursor: pointer;
}

/* =============================================================================
   CONTENT LAYOUTS
   ============================================================================= */

.content-left-photo-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  width: 95%;
  margin: var(--space-3xl) auto;
}

.photo-right {
  width: 100%;
  overflow: hidden;
  order: 1;
  margin-bottom: var(--space-xl);
}

.general-content-left {
  width: 100%;
  margin-right: 0;
  order: 2;
}

.photo-right img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
}

.content-left-photo-right .button {
  display: table;
}

.general-content-left h3 {
  margin-top: 0;
}



/* =============================================================================
   LOGIN FORM
   ============================================================================= */


.user-login-form {
    background: #f4f4f4;
    width: 90%;
    max-width: 620px;
    margin: 75px auto 380px;
    border: 1px solid #eee;
    padding: 2.5%;
}

.user-login-form label { font-weight: bold; display: block; margin-bottom: 5px; }

.user-login-form .description { display: none; }

input.button.js-form-submit.form-submit {
    padding: 12px 25px;
    border: 2px solid #366d80;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    text-transform: uppercase;
     font-weight: bold;
    text-decoration: none;
    color: #fff;
     background: #366d80;
    transition: .3s ease;
    margin: 0 5px 0 0;
    font-size: 16px;
    line-height: 21px;
    font-family: "Montserrat", sans-serif;
    display: table;
    width: auto;
    border: 0;
}

.user-login-form {
  background: #f4f4f4;
  width: 90%;
  max-width: 620px;
  margin: 80px auto 200px;
  border: 1px solid #eee;
  padding: 2.5%;
}

.header-stuff nav#block-marinecomponents-mainnavigation ul li:last-child,
.header-stuff nav#block-marinecomponents-mainnavigation ul li:nth-child(7) {
display: none;
}


.header-stuff nav li:last-child a.button {
margin-top: -10px;
}

input, input[type="text"], input[type="text"]:disabled, input[type="tel"], input[type="email"], input[type="search"], input[type="password"], textarea, input#coupon_code {
border: 1px solid #ccc;
box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.075) inset;
outline: 0 none;
padding: 15px;
display: block;
color: #141414;
margin-bottom: 20px;
}

.search-form input {
  display: inline-block;
  width: 170px;
  float: left;
  margin-right: 0px;
  margin-bottom: 0px;
}

.search-results.node_search-results {
margin-left: auto;
margin-right: auto;
}

.search-result__item {
display: block;
margin-bottom: 25px;
padding-bottom: 25px;
border-bottom: 1px solid #eee;
}

a.search-help-link {
font-size: 14px;
line-height: 18px;
display: block;
clear: both;
padding-top: 15px;
text-transform: uppercase;
}

.search-page__content ul {
margin-top: 75px;
margin-bottom: 150px;
margin-left: 30px;
}


/* =============================================================================
   FOOTER
   ============================================================================= */

footer {
  background: var(--color-grey-light);
  background: #F3F5F8;
}

footer .wrap {
  display: flex;
  width: auto;
  flex-direction: column;
  padding: 50px 50px 0px 50px;
}

.brand-spot {
  width: 100%;
  margin-right: 0;
}

.footer-nav {
  width: 100%;
  margin-right: 0;
}

.footer-location {
  width: 100%;
}

.footer-location p {
margin-bottom: 0px;
}

a.footer-logo {
  display: block;
  width: 320px;
  margin-bottom: var(--space-lg);
}

a.footer-logo img {
  width: 100%;
  height: auto;
}

footer p, .footer-location a {
  font-size: 16px;
  line-height: 25px;
}

footer p.copyright {
  font-size: 12px;
  line-height: 16px;
  margin: 0px 0 0 0;
  padding: 0 var(--space-3xl) var(--space-3xl);
}

footer p.copyright a {
  text-decoration: underline;
  color: #1a6a7d;
}

footer p.copyright a:hover {
  color: #0d4a58;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-nav ul {
  margin: 0 0 var(--space-2xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
}

footer .footer-nav li {
  list-style: none;
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  display: block;
  margin-bottom: var(--space-sm);
  background: none;
  border-bottom: 1px solid var(--color-grey-border);
  padding: 4px 0 12px;
}

footer .footer-nav li a {
  color: var(--color-text);
}

footer .footer-nav li a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* =============================================================================
   CATEGORY HEADER
   ============================================================================= */

.category-header {
  position: relative;
}

.category-header img {
  width: 100%;
  height: auto;
}

.category-header .slide-copy h2,
.category-header__title {
  font-weight: bold;
  font-size: 51px;
  line-height: 57px;
  margin-bottom: 5px;
  color: var(--color-white);
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.category-header__title {
  font-size: 41px;
  line-height: 48px;
}

.category-header .slide-copy {
  padding: 25px;
}

.category-header h2 .slim,
.category-header__title .slim {
  font-weight: 300;
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */

.breadcrumbs {
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.breadcrumbs ul {
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color-white);
}

.breadcrumbs li {
  background: none;
  display: inline-block;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 18px;
  margin: 0 3px;
  padding: 0;
}

.breadcrumbs li a {
  color: var(--color-white);
  font-weight: 400;
}

.divider {
  font-weight: 300;
}

/* =============================================================================
   TWO COLUMN LAYOUTS
   ============================================================================= */

.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  align-items: top;
  justify-content: space-around;
  width: 95%;
  margin: var(--space-3xl) auto;
}

.content-left-side,
.content-right-side,
.bullets-right-side {
  flex: 1;
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.content-left-side img,
.content-right-side img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: var(--space-lg);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content-left-side .video-block,
.content-right-side .video-block {
  width: 100%;
  border-radius: 20px;
  margin-bottom: var(--space-lg);
}

.content-left-side .video-block img,
.content-right-side .video-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 0;
}

.content-left-side .button,
.content-right-side .button {
  margin-top: auto;
  align-self: flex-start;
}

.vertical-holder {
  position: relative;
  top: 0;
  left: 0;
  width: auto;
  transform: translate(0, 0);
}

.content-right-side.adjust-photo-order {
  order: 1;
}

.content-left-side.adjust-content-order {
  order: 2;
}

/* =============================================================================
   ACCORDION / FAQ
   ============================================================================= */

.accordion__container {
  padding: 50px;
}

.accordion__heading {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq {
  width: 90%;
  margin: 0 auto;
}

.faqitem .header {
  padding: var(--space-md);
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: start;
  cursor: pointer;
  border-bottom: 1px solid var(--color-secondary);
}

.faqitem .header h5 {
  margin: 0;
  text-transform: capitalize;
}

.fa-fa-plus,
.fa-fa-minus {
  color: var(--color-secondary);
  font-weight: bold;
}

.faqitem .header .fa-fa-minus {
  display: none;
}

.faqitem.jquery-accordion-active .fa-fa-minus {
  display: block;
}

.faqitem.jquery-accordion-active .fa-fa-plus {
  display: none;
}

.faqitem .content {
  font-family: "Open Sans", sans-serif;
  padding: 0 var(--space-md);
  text-align: left;
  font-size: 16px;
  line-height: 25px;
  margin-top: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faqitem .content > * {
  overflow: hidden;
}

.faqitem.jquery-accordion-active .content {
  grid-template-rows: 1fr;
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  margin-bottom: 28px;
}

/* =============================================================================
   CAROUSEL
   ============================================================================= */

.carousel-wrapper {
  margin: 75px auto 65px;
  width: 90%;
  position: relative;
}

.wrapper.carry {
  padding: 0;
  margin: 0;
  width: 100%;
}

.carousel {
  max-width: 100%;
  position: relative;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
}

img.frame {
  width: 100%;
  height: auto;
  max-height: 500px;
}

ul.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.carousel-track li {
  background: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.carousel-slide:first-of-type {
  position: relative;
  display: inline-block;
}

.carousel-slide.active {
  opacity: 1;
  z-index: var(--z-base);
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* Mobile-first: stacked layout */
.carousel-gallery {
  width: 100%;
  position: relative;
}

.carousel-content {
  width: 100%;
  background: var(--color-white);
  padding: var(--space-md) 0;
}

.carousel-content h3 {
  margin: 0 0 var(--space-xs) 0;
  text-transform: uppercase;
  font-weight: 700;
}

.carousel-content h4 {
  margin: 0 0 var(--space-md) 0;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 700;
}

/* Carousel buttons - base styles */
.carousel-btn {
  position: relative;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 100px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-white);
  border-right: 2px solid var(--color-white);
}

.carousel-btn.prev::after {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.carousel-btn.next::after {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* Desktop-only buttons (on image) - hidden on mobile */
.carousel-gallery .carousel-btn.desktop-only {
  display: none;
}

/* Mobile navigation container */
.carousel-nav-mobile {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.carousel-nav-mobile .carousel-btn {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
}

/* Carousel thumbnails - mobile: left-aligned below content */
.carousel-thumbnails {
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: auto;
  gap: 5px;
  z-index: 1;
}

.carousel-thumbnails img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.5;
  border: 3px solid transparent;
  transition: opacity 0.2s, border 0.2s;
  border-radius: 10px;
}

.carousel-thumbnails img.active {
  opacity: 1;
  border-color: var(--color-secondary);
}

/* =============================================================================
   TABS
   ============================================================================= */

.tabs {
  clear: both;
  position: relative;
  max-width: 100%;
  margin: 0 auto 20px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px 10px 0 0;
  justify-content: center;
}

.radiotab {
  position: absolute;
  opacity: 0;
}

.label {
  width: 80%;
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  font-weight: bold;
  font-size: 16px;
  color: var(--color-secondary);
  border-radius: 100px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 5px 10px;
  transition: 0.3s ease;
}

.label:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.label:active {
  background: var(--color-grey-border);
}

.radiotab:checked + .label {
  background: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
  padding: var(--space-sm) var(--space-lg);
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 5px 10px;
}

.panel {
  display: none;
  padding: var(--space-3xl) var(--space-xl) 0;
  background: transparent;
  width: 100%;
}

.radiotab:checked + .label + .panel {
  display: block;
}

/* =============================================================================
   IMAGES
   ============================================================================= */

img.photo-align-right,
img.photo-align-left,
img.photo-align-center {
  width: 100%;
  margin: 5px auto var(--space-xl);
  float: none;
  border-radius: 20px;
}

/* =============================================================================
   CALL TO ACTION
   ============================================================================= */

.call-to-action {
  background: var(--color-primary-dark) url(../images/wave-background.png) left 6px no-repeat;
  background-size: 100% auto;
  display: block;
  padding: 60px;
  text-align: center;
}

.call-to-action h1, .call-to-action h2, .call-to-action h3, .call-to-action h4, .call-to-action h5 {
  color: var(--color-white);
}

.call-to-action h5 {
  color: var(--color-white);
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 25px;
}

/* =============================================================================
   WYSIWYG
   ============================================================================= */

.wysiwyg {
  background: var(--color-white);
  width: 90%;
  margin: var(--space-3xl) auto;
}

.wysiwyg img.align-right,
.wysiwyg img.photo-align-right {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
  max-width: 50%;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.wysiwyg img.align-left,
.wysiwyg img.photo-align-left {
  float: left;
  margin: 0 1.5rem 1.5rem 0;
  max-width: 50%;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.wysiwyg img.align-center {
  display: block;
  margin: 1.5rem auto;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.drupal-media-style-align-right,
.wysiwyg .align-right {
  float: right;
  margin-left: 1.5rem;
  clear: both;
  max-width: 50%;
}

.drupal-media-style-align-left,
.wysiwyg .align-left {
  float: left;
  margin-right: 1.5rem;
  clear: both;
  max-width: 50%;
}

.drupal-media-style-align-center,
.wysiwyg .align-center {
  max-width: 50%;
  margin-right: auto;
  margin-left: auto;
}

.wysiwyg .field.field--name-field-media-image.field--type-image.field--label-hidden.field__item {
overflow: hidden;
border-radius: 20px;
}

/* =============================================================================
   VIDEO GALLERY
   ============================================================================= */

.video-block {
  border-radius: 20px;
  overflow: hidden;
}

.vids {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  justify-content: space-between;
}

h1.video-title, h2.video-title, h3.video-title, h4.video-title, h5.video-title {
  text-align: center;
}

.video-holder {
  width: 100%;
}

.video-holder h5 {
  margin-top: var(--space-md);
}


/* =============================================================================
   SEARCH RESULTS
   ============================================================================= */

   .search-page__header {
     text-align: center;
     background: #F3F5F8;
     padding: 40px 20px 25px 20px;
   }

   h1.search-page__title {
     text-align: center;
   }


   form#search-form {
   background: #F3F5F8;
   padding: 0 30px 30px 30px;
   margin: 15px 0px 30px 0px;
   overflow: hidden;
   margin-top: -20px;
   }

  form#search-form label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  line-height: 24px;
  }

  form#search-form input.form-search {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin-right: 0px;
  margin-bottom: 15px !important;
}

  form#search-form input.button.js-form-submit.form-submit {
clear: left;
  }

   form#search-form + h2 {
     margin: 15px;
     font-size: 21px;
   }

.search-results.node_search-results ol {
margin-left: 15px;
}

   h3.search-result__title {
     font-size: 18px;
     line-height: 24px;
     text-decoration: underline;
   }

.search-results.node_search-results ol li::before { float: left; margin-right: 5px; line-height: 24px; }

/* =============================================================================
   TABLET BREAKPOINT (min-width: 620px)
   ============================================================================= */

@media (min-width: 620px) {
  a.bucket-one {
    flex-basis: 48%;
  }
}

/* =============================================================================
   TABLET BREAKPOINT (min-width: 720px)
   ============================================================================= */

@media (min-width: 720px) {
  .slide-copy h1,
  .slide-copy h2,
  .category-header .slide-copy h2 {
    font-size: 38px;
    line-height: 48px;
  }

  .outline-button,
  .button {
    padding: 12px 25px;
    font-size: 15px;
    line-height: 20px;
  }

  .category-header .slide-copy {
    padding: var(--space-2xl) var(--space-2xl) var(--space-xl);
  }

  h1 {
    font-size: 33px;
    line-height: 41px;
  }

  h2 {
    font-size: 30px;
    line-height: 36px;
  }

  h3 {
    font-size: 24px;
    line-height: 30px;
  }

  h4 {
    font-size: 18px;
    line-height: 26px;
  }

  .slide-copy h3, .slide-copy h4, .slide-copy h5 { color: #fff; }

   .photo-right {
     width: 30%;
     order: 0;
     margin-bottom: 0;
   }

   .general-content-left {
     width: 60%;
     margin-right: 6%;
     order: 0;
   }

   .content-left-photo-right {
     flex-direction: row;
   }
}

/* =============================================================================
   TABLET BREAKPOINT (min-width: 820px)
   ============================================================================= */

@media (min-width: 820px) {
  .panel {
    order: 99;
  }

  .label {
    width: auto;
    border-radius: 100px;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    font-size: 16px;
    background: transparent;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    margin: 0 5px 10px;
    transition: 0.3s ease;
  }
}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 860px)
   ============================================================================= */

@media (min-width: 860px) {
  .slide-copy,
  .slide-copy.center-left,
  .slide-copy.center-right {
    position: absolute;
    background: transparent;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: var(--z-base);
    padding: 0;
  }

  .slide-copy.center-left {
    text-align: left;
  }

  .slide-copy.center-right {
    text-align: right;
  }

  .slide-copy h1,
  .slide-copy h2,
  .category-header .slide-copy h2 {
    font-size: 48px;
    line-height: 55px;
  }

  h2 {
    margin-bottom: var(--space-lg);
    font-size: 33px;
    line-height: 38px;
  }

  .slide-copy h2 {
    margin-bottom: var(--space-xl);
    display: block;
    font-weight: 300;
  }

  /* Desktop: Hero band with background image and overlay */
  .hero-band {
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    min-height: 540px;
  }

  .hero-band__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-band__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-copy {
    position: absolute;
    background: transparent;
    left: 15%;
    width: 65%;
    padding: 0;
    -webkit-transform: translate(-15%,-50%);
    -ms-transform: translate(-15%,-50%);
    transform: translate(-15%,-50%);
    top: 50%;
    text-align: left;
    z-index: 2;
  }

  .hero-copy h2 {
    font-size: 33px;
    line-height: 38px;
    color: var(--color-white);
  }

  .hero-copy h3 {
    color: var(--color-white);
  }

  .hero-copy a.outline-button {
    background: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
  }

  .hero-copy a:hover.outline-button {
    background: var(--color-white);
    color: var(--color-primary-darker);
  }


  .hero-copy.center-left {
      left: 14%;
      transform: translate(-14%, -50%);
      text-align: left;
    }

    .hero-copy.center {
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
    }

    .hero-copy.center-right {
      left: auto;
      right: 14%;
      transform: translate(14%, -50%);
      text-align: right;
    }


  .hero-band::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    position: absolute !important;
    opacity: 0.4;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .category-header::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000;
    position: absolute !important;
    opacity: 0.4;
    top: 0;
    left: 0;
    z-index: 1;
  }

  img.photo-align-center {
    width: 100%;
    margin: 5px auto var(--space-xl);
    float: none;
  }

  img.photo-align-right {
    width: 45%;
    margin: 5px 0 var(--space-xl) var(--space-xl);
    float: right;
  }

  img.photo-align-left {
    width: 45%;
    margin: 5px var(--space-xl) var(--space-xl) 0;
    float: left;
  }
}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 920px)
   ============================================================================= */

@media (min-width: 920px) {
  .container {
    width: 95%;
  }

  a.bucket-one {
    flex-basis: 31%;
  }

  h4 {
    font-size: 18px;
    line-height: 26px;
  }

  .categories h3 {
    font-size: 24px;
    line-height: 30px;
  }

  .wrapper,
  .vids {
    flex-direction: row;
    gap: var(--space-3xl);
  }

  .video-holder {
    width: 30.33%;
  }

  .vertical-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
  }

  .content-right-side.adjust-photo-order {
    order: 0;
  }

  .content-left-side.adjust-content-order {
    order: 0;
  }

  .wrapper.carry {
    width: 100%;
  }

  /* Desktop carousel layout */
  .wrapper.carry {
    align-items: stretch;
  }

  .carousel-gallery {
    width: 60%;
    position: relative;
  }

  .carousel-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 0 0 var(--space-lg);
  }

  .carousel-content h3 {
    margin: 0 0 var(--space-xs) 0;
  }

  .carousel-content h4 {
    margin: 15px 0 0 0;
  }

  /* Desktop: show buttons on image */
  .carousel-gallery .carousel-btn.desktop-only {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .carousel-gallery .carousel-btn.prev.desktop-only {
    left: 10px;
  }

  .carousel-gallery .carousel-btn.next.desktop-only {
    right: 10px;
  }

  /* Desktop: hide mobile navigation */
  .carousel-nav-mobile {
    display: none;
  }

  /* Desktop: thumbnails at bottom of content area */
  .carousel-thumbnails {
    position: relative;
    display: flex;
    justify-content: flex-start;
    width: auto;
    margin-top: auto;
    gap: 5px;
  }

  .carousel-thumbnails img {
    width: 85px;
    height: 53px;
  }
}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 980px)
   ============================================================================= */

@media (min-width: 980px) {
  footer .wrap {
    flex-direction: row;
  }

  .brand-spot {
    width: 80%;
    margin-right: 5%;
  }

  .footer-nav {
    width: 20%;
    margin-right: 5%;
  }

  .footer-location {
    width: 30%;
  }

  footer .footer-nav ul {
    margin-bottom: 0;
  }

  footer .footer-nav li {
    border-bottom: none;
    padding: 0 0 3px 0;
  }
}


/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 1060px)
   ============================================================================= */

@media (min-width: 1060px) {
  /* Show desktop navigation */
  .header-stuff nav {
    position: relative;
    display: block;
    border: 0;
    border-radius: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    margin-top: 10px;
    float: right;
    width: 85%;
  }

  nav#toolbar-bar { margin-top: 0px; }

  footer nav { margin-top: 0px; }

  /* Nested nav from Drupal menu blocks - reset to inline */
  .header-stuff nav nav {
    display: contents;
    float: none;
    width: auto;
    margin: 0;
  }

  .header-stuff nav ul {
    position: relative;
    float: right;
    margin: 0;
    width: 100%;
    padding: 0;
    list-style-type: none;
    text-align: right;
    display: flex;
    justify-content: space-evenly;
  }

.header-stuff nav li {
    display: inline-block;
    padding: 0;
    background: none;
  }

  .header-stuff nav li.search-container {
    position: relative;
    margin-left: 0;
    margin-right: 0;
  }

  .header-stuff nav li a {
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
    font-size: 14px;
    line-height: 18px;
    transition: 0.3s ease;
  }

  .header-stuff nav li:last-child a.button { color: #fff; }

  .header-stuff nav li a:hover {
    color: var(--color-primary);
    text-decoration: none;
  }

  /* Hide mobile menu button */
  .search-and-menu,
  .mm-close {
    display: none;
  }

  /* Show desktop utility menu */
  .utility-menu {
    display: block !important;
    align-items: right !important;
    overflow: hidden !important;
    background: var(--color-primary-dark);
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-white);
  }

  .utility-menu a {
    color: var(--color-white);
  }

  .utility-menu .socials {
    display: flex;
    gap: 8px;
  }

  a.email-contact {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 21px;
    text-decoration: none;
    float: right !important;
  }

  a:hover.email-contact {
    text-decoration: underline;
  }

  .mobile-utility {
    display: none;
  }

  .header-stuff {
    margin: 17px auto;
  }

  a.logo {
    background-size: 155px auto;
    width: 14%;
    min-width: 155px;
    height: 110px;
  }

  .slide-copy h1,
  .slide-copy h2,
  .category-header .slide-copy h2 {
    font-size: 51px;
    line-height: 57px;
  }

  .slide-copy {
    width: 95%;
  }

  .category-header .slide-copy h2 {
    font-weight: bold;
    font-size: 51px;
    line-height: 58px;
    margin-bottom: 5px;
  }

  .slide-copy h3, .slide-copy h4, .slide-copy h5 { color: #fff; }
}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 1130px)
   ============================================================================= */

@media (min-width: 1130px) {
  .header-stuff nav {
    width: 83%;
  }

  .header-stuff nav li a {
    font-size: 14px;
    line-height: 18px;
  }

  .header-stuff nav li.search-container {
    margin-left: 1%;
    margin-right: 1%;
  }

  a.bucket-one {
    flex-basis: 32%;
  }

}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 1190px)
   ============================================================================= */

@media (min-width: 1190px) {
  h4 {
    font-size: 18px;
    line-height: 26px;
  }
}

/* =============================================================================
   DESKTOP BREAKPOINT (min-width: 1260px)
   ============================================================================= */

@media (min-width: 1260px) {
  .header-stuff nav li a {
    font-size: 16px;
    line-height: 18px;
  }

  .header-stuff nav li.search-container {
    margin-left: 2.25%;
    margin-right: 2.25%;
  }
}

/* =============================================================================
   LARGE DESKTOP (min-width: 1400px)
   ============================================================================= */


@media (max-width: 1130px) {

.categories h3 {
font-size: 18px;
line-height: 24px;
}
}

@media (max-width: 920px) {
  .categories h3 {
  font-size: 21px;
  line-height: 27px;
}
}

@media (max-width: 620px) {
  .categories h3 {
    font-size: 24px;
    line-height: 31px;
  }
}

@media (max-width: 1060px) {
  .menu-icon {
    margin-top: -22px;
    height: 30px;
    display: block;
    cursor: pointer;
  }

.search-and-menu {
  margin-top: 0px !important;
}
}

/* =============================================================================
   CONTACT FORM / WEBFORM EMBED
   ============================================================================= */

.contact-section {
  display: flex;
  gap: var(--space-2xl);
  padding: 50px;
  max-width: 90%;
  margin: 0 auto;
}

.contact-form-column {
  flex: 1 1 75%;
}

.contact-info-column {
  flex: 1 1 10%;
  padding: var(--space-xl);
  background: #fff;
  border-radius: 8px;
}

.contact-heading {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  color: #1f1f1f;
  margin-bottom: var(--space-sm);
}

.contact-subheading {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #1E6D82;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.contact-intro {
  margin-bottom: var(--space-xl);
  color: #1f1f1f;
}

/* Webform Flexbox Container - Side by Side Name Fields */
/* Name label styling */
.webform-submission-contact-form label[for="edit-name-label"] {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* Target the webform-flex wrappers to display side-by-side */
.webform-submission-contact-form .webform-flex.webform-flex--1 {
  display: inline-block !important;
  width: calc(50% - 10px) !important;
  vertical-align: top;
  box-sizing: border-box;
}

.webform-submission-contact-form .webform-flex.webform-flex--1:first-of-type {
  margin-right: 20px;
}

.webform-submission-contact-form .webform-flex--container {
  width: 100%;
}

.webform-submission-contact-form .webform-flex input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

/* First/Last labels below inputs - smaller, lighter text */
.webform-submission-contact-form .webform-flex label.option {
  font-weight: normal;
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  display: block;
}

/* Ensure other form fields are full width and properly spaced */
.webform-submission-contact-form > label:not(.option) {
  font-weight: bold;
  display: block;
  margin-top: var(--space-lg);
  margin-bottom: 5px;
}

.webform-submission-contact-form > input[type="text"],
.webform-submission-contact-form > input[type="email"],
.webform-submission-contact-form > input[type="tel"] {
  display: block;
  width: 100%;
  margin-bottom: var(--space-sm);
}

/* Legacy support for custom name container */
.webform-name-container {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.webform-name-container .webform-name-first,
.webform-name-container .webform-name-last {
  flex: 1;
}

.webform-name-container label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

/* Webform Submit Button */
.webform-button--submit {
  padding: 12px 25px;
  border: 2px solid #1E6D82;
  border-radius: 100px;
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  background-color: #1E6D82;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 16px;
}

.webform-button--submit:hover {
  background-color: #155566;
  border-color: #155566;
}

/* Contact Info Sidebar */
.contact-info-column h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  color: #1f1f1f;
  margin-bottom: var(--space-xl);
  font-size: 20px;
}

.info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.info-item i {
  font-size: 24px;
  color: #1E6D82;
  background: #e8f4f8;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-content strong {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #1f1f1f;
}

.info-content p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 21px;
}

/* Webform Confirmation Message */
.webform-confirmation {
  padding: var(--space-lg);
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  color: #155724;
  margin-bottom: var(--space-lg);
}

/* Mobile Responsive */

@media (max-width: 850px) {
  .hero-copy h1, .hero-copy h2, .hero-copy h3, .hero-copy h4, .hero-copy h5 { color: #333; }


  .category-header::before { display: none; }

}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-lg) var(--space-md);
  }

  .contact-form-column,
  .contact-info-column {
    flex: 1 1 100%;
  }

  .webform-name-container {
    flex-direction: column;
    gap: 0;
  }

  /* Keep name fields side-by-side even on mobile if space allows */
  .webform-flexbox,
  .js-webform-flexbox {
    flex-direction: row !important;
  }

  .masthead-video-wrapper::before {
    display: none;
  }

  .search-and-menu {
  float: right;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  margin-right: 0px;
}

}

@media (max-width: 480px) {
  /* Stack name fields on very small screens */
  .webform-flexbox,
  .js-webform-flexbox {
    flex-direction: column !important;
  }

  .category-header__title { font-size: 31px; line-height: 38px; }
}

@media (max-width: 396px) {
.slide-copy .outline-button, .slide-copy .button { font-size: 12px; }
}

@media (max-width: 360px) {
.slide-copy .outline-button{ margin-bottom: 10px; }
}
