/* ============================================================
   ALEXANDRA YACHT CLUB
   CASSIOPEIA HOMEPAGE REDESIGN
   ============================================================ */


/* ============================================================
   1. SITE COLOURS AND GENERAL SETTINGS
   ============================================================ */

:root {
  --ayc-navy: #05243a;
  --ayc-deep-navy: #031826;
  --ayc-blue: #006f98;
  --ayc-gold: #e4ad12;
  --ayc-gold-hover: #f2c334;
  --ayc-white: #ffffff;
  --ayc-light: #f3f6f7;
  --ayc-text: #173041;
  --ayc-muted: #60717d;
  --ayc-border: #d9e1e5;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ayc-text);
  background: var(--ayc-white);
}

a {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}


/* ============================================================
   2. CASSIOPEIA HEADER AND LOGO
   ============================================================ */

.container-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: 0 3px 16px rgba(5, 36, 58, 0.1);
}

/* Header content width */
.container-header .grid-child {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

/* Logo container */
.container-header .navbar-brand {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 10px 0 5px !important;
}

/* Logo image */
.container-header .navbar-brand img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 230px !important;
  max-height: 105px !important;
  margin: 0 auto !important;
  object-fit: contain;
}

/* Remove unnecessary spacing around navigation */
.container-header .container-nav {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Navigation menu */
.container-header .mod-menu {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* Navigation links */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 13px 18px !important;
  color: var(--ayc-navy) !important;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

/* Navigation hover and active state */
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: var(--ayc-blue) !important;
  background: transparent !important;
}

/* Dropdown arrow */
.container-header .metismenu.mod-menu .metismenu-item > button {
  color: var(--ayc-navy);
}

/* Dropdown menu */
.container-header .metismenu.mod-menu .mm-collapse {
  border: 0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(5, 36, 58, 0.16);
}

.container-header .metismenu.mod-menu .mm-collapse a {
  color: var(--ayc-navy) !important;
}

.container-header .metismenu.mod-menu .mm-collapse a:hover {
  color: var(--ayc-blue) !important;
  background: var(--ayc-light);
}

/* Gold line beneath header */
.container-header::after {
  display: block;
  width: 100%;
  height: 3px;
  content: "";
  background: var(--ayc-gold);
}

/* Mobile menu button */
.container-header .navbar-toggler {
  margin: 8px auto 12px;
  color: var(--ayc-navy);
  border-color: rgba(5, 36, 58, 0.25);
}


/* ============================================================
   3. REMOVE CASSIOPEIA HOMEPAGE WIDTH RESTRICTIONS
   ============================================================ */

.ayc-home {
  width: 100%;
  overflow: hidden;
  color: var(--ayc-text);
  background: var(--ayc-white);
}

body:has(.ayc-home) .site-grid {
  display: block;
}

body:has(.ayc-home) .grid-child.container-component {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:has(.ayc-home) main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:has(.ayc-home) .com-content-article,
body:has(.ayc-home) .item-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body:has(.ayc-home) .page-header {
  display: none;
}

body:has(.ayc-home) .container-component {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}


/* Fallback for browsers or Joomla layouts that do not use :has */
body.itemid-101 .site-grid {
  display: block;
}

body.itemid-101 .grid-child.container-component,
body.itemid-101 main,
body.itemid-101 .com-content-article,
body.itemid-101 .item-page,
body.itemid-101 .container-component {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.itemid-101 .page-header {
  display: none;
}


/* ============================================================
   4. HERO
   ============================================================ */

.ayc-hero {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 690px;
  align-items: center;
  overflow: hidden;
  background:
    url("/images/ayc/ayc-hero.jpg")
    center center / cover no-repeat;
  isolation: isolate;
}

.ayc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 21, 34, 0.96) 0%,
      rgba(2, 25, 40, 0.86) 38%,
      rgba(2, 25, 40, 0.38) 70%,
      rgba(2, 25, 40, 0.12) 100%
    );
}

.ayc-hero__content {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 130px;
  color: #ffffff;
}

.ayc-eyebrow,
.ayc-kicker {
  margin: 0 0 14px;
  color: var(--ayc-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.ayc-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.ayc-hero__intro {
  max-width: 660px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.ayc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ayc-scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.ayc-scroll-cue:hover {
  color: var(--ayc-gold);
  text-decoration: none;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.ayc-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.ayc-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ayc-button--gold {
  color: var(--ayc-deep-navy);
  background: var(--ayc-gold);
}

.ayc-button--gold:hover {
  color: var(--ayc-deep-navy);
  background: var(--ayc-gold-hover);
}

.ayc-button--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.ayc-button--outline:hover {
  color: var(--ayc-deep-navy);
  border-color: #ffffff;
  background: #ffffff;
}

.ayc-button--navy {
  color: #ffffff;
  background: var(--ayc-navy);
}

.ayc-button--navy:hover {
  color: #ffffff;
  background: var(--ayc-blue);
}

.ayc-button--dark-outline {
  color: var(--ayc-navy);
  border-color: var(--ayc-navy);
  background: transparent;
}

.ayc-button--dark-outline:hover {
  color: #ffffff;
  background: var(--ayc-navy);
}


/* ============================================================
   6. STANDARD CONTENT SECTIONS
   ============================================================ */

.ayc-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}

.ayc-section-heading {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.ayc-section-heading--left {
  margin-left: 0;
  text-align: left;
}

.ayc-section-heading h2,
.ayc-split h2,
.ayc-membership-cta h2,
.ayc-location h2 {
  margin: 0 0 22px;
  color: var(--ayc-navy);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ayc-section-heading > p:last-child,
.ayc-split__content > p,
.ayc-membership-cta > div > p:last-child,
.ayc-location__content > p {
  color: var(--ayc-muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.ayc-introduction {
  padding-top: 90px;
  padding-bottom: 90px;
}


/* ============================================================
   7. ACTIVITY IMAGE PANELS
   ============================================================ */

.ayc-activities {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 1fr);
}

.ayc-activity {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: flex-end;
  overflow: hidden;
  color: #ffffff;
  background-position: center;
  background-size: cover;
  text-decoration: none;
}

.ayc-activity--sailing {
  background-image: url("/images/ayc/ayc-sailing.jpg");
}

.ayc-activity--paddling {
  background-image: url("/images/ayc/ayc-paddling.jpg");
}

.ayc-activity--community {
  background-image: url("/images/ayc/ayc-community.jpg");
}

.ayc-activity::before {
  position: absolute;
  inset: 0;
  content: "";
  background: inherit;
  background-position: center;
  background-size: cover;
  transition: transform 600ms ease;
}

.ayc-activity:hover::before {
  transform: scale(1.055);
}

.ayc-activity__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3, 24, 38, 0.06) 20%,
      rgba(3, 24, 38, 0.94) 100%
    );
}

.ayc-activity__content {
  position: relative;
  z-index: 2;
  padding: 42px;
}

.ayc-activity__content p {
  margin: 0 0 8px;
  color: var(--ayc-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ayc-activity__content h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 850;
  letter-spacing: -0.035em;
}

.ayc-activity__content span {
  display: block;
  max-width: 350px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.ayc-activity:hover {
  color: #ffffff;
  text-decoration: none;
}


/* ============================================================
   8. SPLIT IMAGE AND TEXT SECTION
   ============================================================ */

.ayc-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.ayc-split__image {
  min-height: 560px;
  overflow: hidden;
}

.ayc-split__image img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.ayc-text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--ayc-blue);
  font-weight: 800;
  text-decoration: none;
}

.ayc-text-link:hover {
  color: var(--ayc-navy);
  text-decoration: underline;
}


/* ============================================================
   9. EVENTS
   ============================================================ */

.ayc-events {
  border-top: 1px solid var(--ayc-border);
}

.ayc-event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.ayc-event-card {
  display: grid;
  min-height: 190px;
  grid-template-columns: 82px 1fr;
  gap: 22px;
  padding: 28px;
  border-top: 4px solid var(--ayc-gold);
  background: var(--ayc-light);
}

.ayc-event-date {
  text-align: center;
}

.ayc-event-date strong {
  display: block;
  color: var(--ayc-navy);
  font-size: 2.65rem;
  line-height: 1;
}

.ayc-event-date span {
  color: var(--ayc-blue);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.ayc-event-type {
  margin: 0 0 8px;
  color: var(--ayc-blue);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ayc-event-card h3 {
  margin: 0 0 10px;
  color: var(--ayc-navy);
  font-size: 1.35rem;
}

.ayc-event-card p:last-child {
  margin: 0;
  color: var(--ayc-muted);
  line-height: 1.55;
}

.ayc-events__link {
  margin: 38px 0 0;
  text-align: center;
}


/* ============================================================
   10. MEMBERSHIP CALL TO ACTION
   ============================================================ */

.ayc-membership-cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px max(24px, calc((100% - 1180px) / 2));
  background: var(--ayc-gold);
}

.ayc-membership-cta > div:first-child {
  max-width: 760px;
}

.ayc-membership-cta .ayc-kicker {
  color: var(--ayc-navy);
}

.ayc-membership-cta h2 {
  margin-bottom: 18px;
}

.ayc-membership-cta > div > p:last-child {
  margin-bottom: 0;
  color: rgba(5, 36, 58, 0.82);
}


/* ============================================================
   11. LOCATION
   ============================================================ */

.ayc-location {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: stretch;
  gap: 70px;
}

.ayc-location__panel {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  color: #ffffff;
  background: var(--ayc-navy);
}

.ayc-location__panel p {
  margin: 0 0 12px;
  color: var(--ayc-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ayc-location__panel strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.7rem;
}

.ayc-location__panel span {
  color: rgba(255, 255, 255, 0.74);
}


/* ============================================================
   12. FOOTER
   ============================================================ */

.container-footer,
footer.container-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--ayc-deep-navy);
  background-image: none;
}

.container-footer a {
  color: #ffffff;
}

.container-footer a:hover {
  color: var(--ayc-gold);
}

.container-footer .grid-child {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}


/* ============================================================
   13. TABLET
   ============================================================ */

@media (max-width: 960px) {

  .container-header .grid-child {
    width: calc(100% - 28px);
  }

  .container-header .navbar-brand img {
    max-width: 210px !important;
    max-height: 95px !important;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    padding: 12px 13px !important;
    font-size: 0.74rem;
  }

  .ayc-hero {
    min-height: 620px;
  }

  .ayc-activities {
    grid-template-columns: 1fr;
  }

  .ayc-activity {
    min-height: 420px;
  }

  .ayc-split,
  .ayc-location {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .ayc-split__image,
  .ayc-split__image img {
    height: 440px;
    min-height: 440px;
  }

  .ayc-event-grid {
    grid-template-columns: 1fr;
  }

  .ayc-membership-cta {
    display: block;
  }

  .ayc-membership-cta .ayc-actions {
    margin-top: 30px;
  }
}


/* ============================================================
   14. MOBILE
   ============================================================ */

@media (max-width: 640px) {

  .container-header .grid-child {
    width: calc(100% - 24px);
  }

  .container-header .navbar-brand {
    padding: 8px 0 3px !important;
  }

  .container-header .navbar-brand img {
    max-width: 180px !important;
    max-height: 80px !important;
  }

  .container-header .container-nav {
    display: block;
  }

  .container-header .mod-menu {
    display: block;
    width: 100%;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 11px 14px !important;
  }

  .ayc-hero {
    min-height: 610px;
    background-position: 62% center;
  }

  .ayc-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(2, 21, 34, 0.95) 0%,
        rgba(2, 25, 40, 0.78) 65%,
        rgba(2, 25, 40, 0.42) 100%
      );
  }

  .ayc-hero__content {
    width: calc(100% - 36px);
    padding: 80px 0 110px;
  }

  .ayc-hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .ayc-hero__intro {
    font-size: 1rem;
  }

  .ayc-actions {
    display: grid;
    width: 100%;
  }

  .ayc-button {
    width: 100%;
  }

  .ayc-scroll-cue {
    right: 18px;
    bottom: 20px;
  }

  .ayc-section {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .ayc-introduction {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .ayc-activity {
    min-height: 350px;
  }

  .ayc-activity__content {
    padding: 28px;
  }

  .ayc-split__image,
  .ayc-split__image img {
    height: 320px;
    min-height: 320px;
  }

  .ayc-event-card {
    grid-template-columns: 65px 1fr;
    gap: 16px;
    padding: 22px;
  }

  .ayc-event-date strong {
    font-size: 2.2rem;
  }

  .ayc-membership-cta {
    padding: 65px 18px;
  }

  .ayc-location__panel {
    padding: 35px 28px;
  }

  .container-footer .grid-child {
    width: calc(100% - 36px);
  }
}
/* ============================================================
   AYC WHY JOIN / BENEFITS SECTION
   ============================================================ */

.ayc-benefits {
  width: 100%;
  padding: 100px 24px;
  color: #ffffff;
  background: #05243a;
}

.ayc-benefits__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ayc-benefits .ayc-section-heading {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.ayc-benefits .ayc-kicker {
  color: #e4ad12;
}

.ayc-benefits .ayc-section-heading h2 {
  margin: 0 0 22px;
  color: #ffffff;
}

.ayc-benefits .ayc-section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.ayc-benefit-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 55px;
  background: rgba(255, 255, 255, 0.16);
}

.ayc-benefit-card {
  display: block;
  min-width: 0;
  min-height: 250px;
  margin: 0;
  padding: 34px;
  color: #ffffff;
  background: #05243a;
}

.ayc-benefit-card__number {
  display: block;
  margin-bottom: 34px;
  color: #e4ad12;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.ayc-benefit-card h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.ayc-benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}


/* ============================================================
   AYC PROGRAMME SECTION
   ============================================================ */

.ayc-programme {
  display: grid;
  width: min(1180px, calc(100% - 48px));
  grid-template-columns: 1fr 0.8fr;
  align-items: stretch;
  gap: 70px;
  margin: 0 auto;
  padding: 100px 0;
}

.ayc-programme__content {
  padding: 25px 0;
}

.ayc-programme__content h2 {
  margin: 0 0 22px;
  color: #05243a;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1;
}

.ayc-programme__content > p:not(.ayc-kicker) {
  color: #60717d;
  font-size: 1.08rem;
  line-height: 1.8;
}

.ayc-programme__content .ayc-button {
  margin-top: 18px;
}

.ayc-programme__feature {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  color: #ffffff;
  background:
    linear-gradient(
      180deg,
      rgba(3, 24, 38, 0.1),
      rgba(3, 24, 38, 0.94)
    ),
    url("/images/ayc/ayc-sailing.jpg")
    center center / cover no-repeat;
}

.ayc-programme__label {
  margin: 0 0 12px;
  color: #e4ad12;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ayc-programme__feature h3 {
  max-width: 460px;
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ayc-programme__feature > p:last-child {
  max-width: 470px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}


/* ============================================================
   RESPONSIVE BENEFITS AND PROGRAMME
   ============================================================ */

@media (max-width: 960px) {

  .ayc-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ayc-programme {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {

  .ayc-benefits {
    padding: 72px 18px;
  }

  .ayc-benefit-grid {
    grid-template-columns: 1fr;
  }

  .ayc-benefit-card {
    min-height: 0;
    padding: 28px;
  }

  .ayc-benefit-card__number {
    margin-bottom: 20px;
  }

  .ayc-programme {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .ayc-programme__feature {
    min-height: 390px;
    padding: 30px;
  }
}
/* ============================================================
   AYC MODERN HORIZONTAL HEADER
   Paste at the VERY BOTTOM of user.css
   ============================================================ */

/* Main header */
.container-header {
  position: sticky;
  top: 0;
  z-index: 2000;

  display: grid !important;
  grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
  align-items: center;

  width: 100%;
  min-height: 94px;
  padding: 0 34px;

  border-bottom: 3px solid var(--ayc-gold);
  background: rgba(255, 255, 255, 0.97) !important;
  background-image: none !important;
  box-shadow: 0 8px 28px rgba(3, 24, 38, 0.12);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Remove the old separate gold line */
.container-header::after {
  display: none !important;
}

/* Remove Cassiopeia width restrictions inside header */
.container-header > .grid-child,
.container-header .grid-child {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}


/* ============================================================
   LOGO
   ============================================================ */

.container-header .navbar-brand {
  display: flex !important;
  width: auto !important;
  align-items: center;
  justify-content: flex-start !important;

  margin: 0 !important;
  padding: 10px 0 !important;
}

/* Logo image */
.container-header .navbar-brand img {
  display: block;

  width: auto !important;
  height: auto !important;
  max-width: 205px !important;
  max-height: 74px !important;

  margin: 0 !important;
  object-fit: contain;
}

/* Remove unwanted logo text spacing */
.container-header .navbar-brand a {
  display: flex;
  align-items: center;
  text-decoration: none;
}


/* ============================================================
   NAVIGATION AREA
   ============================================================ */

.container-header .container-nav {
  display: flex !important;
  width: 100% !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: flex-end;

  margin: 0 !important;
  padding: 0 !important;
}

/* Main menu */
.container-header .mod-menu {
  display: flex !important;
  width: auto !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;

  gap: 4px;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
}

/* Menu list items */
.container-header .mod-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 !important;
}

/* Main menu links */
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  position: relative;

  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;

  padding: 0 15px !important;

  color: var(--ayc-navy) !important;
  background: transparent !important;

  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;

  white-space: nowrap;
}

/* Animated underline */
.container-header .mod-menu > li > a::after,
.container-header .mod-menu > li > span::after {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;

  height: 3px;

  content: "";
  background: var(--ayc-gold);

  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

/* Hover */
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > span:hover {
  color: var(--ayc-blue) !important;
}

/* Hover underline */
.container-header .mod-menu > li > a:hover::after,
.container-header .mod-menu > li > span:hover::after {
  transform: scaleX(1);
}

/* Current page */
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: var(--ayc-blue) !important;
}

/* Current-page underline */
.container-header .mod-menu > li.active > a::after,
.container-header .mod-menu > li.current > a::after {
  transform: scaleX(1);
}


/* ============================================================
   GOLD EVENT PROGRAMME BUTTON
   Styles the final top-level menu item
   ============================================================ */

.container-header .mod-menu > li:last-child {
  margin-left: 12px !important;
}

.container-header .mod-menu > li:last-child > a {
  min-height: 46px;

  margin: 0;
  padding: 0 20px !important;

  color: var(--ayc-deep-navy) !important;
  background: var(--ayc-gold) !important;

  box-shadow: 0 6px 16px rgba(228, 173, 18, 0.22);
}

/* Remove underline from gold button */
.container-header .mod-menu > li:last-child > a::after {
  display: none;
}

.container-header .mod-menu > li:last-child > a:hover {
  color: var(--ayc-deep-navy) !important;
  background: var(--ayc-gold-hover) !important;

  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(228, 173, 18, 0.32);
}


/* ============================================================
   MEMBERS AREA DROPDOWN ARROW
   ============================================================ */

.container-header .metismenu.mod-menu .metismenu-item > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-left: -8px;
  padding: 8px;

  color: var(--ayc-navy) !important;
  background: transparent;
  border: 0;
}

.container-header .metismenu.mod-menu .metismenu-item > button:hover {
  color: var(--ayc-blue) !important;
}


/* ============================================================
   DROPDOWN MENU
   ============================================================ */

.container-header .metismenu.mod-menu .mm-collapse {
  min-width: 220px;
  padding: 8px 0;

  border: 0;
  border-top: 3px solid var(--ayc-gold);
  background: #ffffff !important;

  box-shadow: 0 16px 38px rgba(3, 24, 38, 0.2);
}

.container-header .metismenu.mod-menu .mm-collapse li {
  width: 100%;
}

.container-header .metismenu.mod-menu .mm-collapse a {
  display: block;
  width: 100%;

  padding: 12px 18px !important;

  color: var(--ayc-navy) !important;
  background: #ffffff !important;

  font-size: 0.82rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.container-header .metismenu.mod-menu .mm-collapse a:hover {
  color: var(--ayc-blue) !important;
  background: var(--ayc-light) !important;
}


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

@media (max-width: 1180px) {

  .container-header {
    grid-template-columns: 170px minmax(0, 1fr);
    padding: 0 20px;
  }

  .container-header .navbar-brand img {
    max-width: 165px !important;
    max-height: 66px !important;
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    padding: 0 10px !important;
    font-size: 0.76rem !important;
  }

  .container-header .mod-menu > li:last-child {
    margin-left: 5px !important;
  }

  .container-header .mod-menu > li:last-child > a {
    padding: 0 13px !important;
  }
}


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

@media (max-width: 960px) {

  .container-header {
    grid-template-columns: minmax(140px, 1fr) auto;
    min-height: 76px;
    padding: 0 16px;
  }

  /* Logo remains on the left */
  .container-header > .grid-child:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .container-header .navbar-brand {
    justify-content: flex-start !important;
    padding: 7px 0 !important;
  }

  .container-header .navbar-brand img {
    max-width: 160px !important;
    max-height: 60px !important;
  }

  /* Navigation and hamburger */
  .container-header .container-nav {
    grid-column: 2;
    grid-row: 1;

    width: auto !important;
    justify-content: flex-end;
  }

  /* Hamburger */
  .container-header .navbar-toggler {
    display: flex;
    width: 48px;
    height: 44px;
    align-items: center;
    justify-content: center;

    margin: 0 !important;
    padding: 0;

    color: var(--ayc-navy) !important;
    border: 2px solid var(--ayc-navy) !important;
    border-radius: 0;
    background: #ffffff;
  }

  /* Expanded mobile menu */
  .container-header .navbar-collapse {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;

    width: 100%;
    padding: 14px 18px 20px;

    border-top: 1px solid var(--ayc-border);
    border-bottom: 3px solid var(--ayc-gold);
    background: #ffffff;

    box-shadow: 0 18px 30px rgba(3, 24, 38, 0.18);
  }

  .container-header .mod-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .container-header .mod-menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--ayc-border);
  }

  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > span {
    width: 100%;
    min-height: 52px;
    justify-content: flex-start;

    padding: 0 12px !important;

    font-size: 0.86rem !important;
    text-align: left;
  }

  .container-header .mod-menu > li > a::after,
  .container-header .mod-menu > li > span::after {
    right: auto;
    bottom: 8px;
    left: 12px;
    width: 42px;
  }

  /* Mobile gold button */
  .container-header .mod-menu > li:last-child {
    margin: 16px 0 0 !important;
    border-bottom: 0;
  }

  .container-header .mod-menu > li:last-child > a {
    min-height: 50px;
    justify-content: center;
  }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

  .container-header {
    padding: 0 12px;
  }

  .container-header .navbar-brand img {
    max-width: 138px !important;
    max-height: 54px !important;
  }
}
/* Enlarge AYC logo in desktop header */

.container-header {
  grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
  min-height: 104px;
}

.container-header .navbar-brand img {
  max-width: 255px !important;
  max-height: 88px !important;
}

@media (max-width: 1180px) {
  .container-header {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .container-header .navbar-brand img {
    max-width: 195px !important;
    max-height: 76px !important;
  }
}

@media (max-width: 960px) {
  .container-header {
    min-height: 82px;
  }

  .container-header .navbar-brand img {
    max-width: 175px !important;
    max-height: 66px !important;
  }

  .container-header .navbar-collapse {
    top: 82px;
  }
}
/* Four homepage activity panels */

.ayc-activities {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ayc-activity--canoe {
  background-image: url("/images/ayc/ayc-canoe-kayak.jpg");
}

.ayc-activity__content {
  padding: 34px;
}

.ayc-activity__content h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
}

@media (max-width: 1180px) {
  .ayc-activities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ayc-activities {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   FIX FINAL HOMEPAGE STRIP ALIGNMENT
   ============================================================ */

.ayc-final-strip {
  width: 100%;
  margin: 0;
  padding: 42px 24px;
  color: #ffffff;
  background: var(--ayc-deep-navy);
}

.ayc-final-strip__inner {
  display: flex;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ayc-final-strip__inner > div {
  max-width: 760px;
}

.ayc-final-strip__title {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.ayc-final-strip__inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.ayc-final-strip .ayc-button {
  flex: 0 0 auto;
  margin: 0;
}

@media (max-width: 760px) {
  .ayc-final-strip {
    padding: 40px 18px;
  }

  .ayc-final-strip__inner {
    display: block;
  }

  .ayc-final-strip .ayc-button {
    width: 100%;
    margin-top: 24px;
  }
}

/* ============================================================
   AYC WEATHER AND TIDES DASHBOARD
   ============================================================ */

.ayc-conditions-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: #263746;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}


/* ============================================================
   PAGE HERO
   ============================================================ */

.ayc-conditions-hero {
  padding: 58px 36px;
  margin-bottom: 30px;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(6, 31, 49, 0.97) 0%,
      rgba(11, 45, 69, 0.9) 58%,
      rgba(30, 90, 120, 0.8) 100%
    );
  border-bottom: 5px solid #d6a928;
}

.ayc-conditions-hero h1 {
  margin: 16px 0 12px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
}

.ayc-conditions-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: 20px;
}

.ayc-conditions-eyebrow {
  display: inline-block;
  margin: 0;
  padding: 7px 12px;
  color: #0b2d45;
  background: #d6a928;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}


/* ============================================================
   LOADING AND ERROR MESSAGE
   ============================================================ */

.ayc-status {
  padding: 24px;
  margin-bottom: 25px;
  color: #0b2d45;
  background: #eaf3f7;
  border-left: 6px solid #d6a928;
  font-weight: 700;
  text-align: center;
}

.ayc-status--error {
  color: #721c24;
  background: #f8d7da;
  border-left-color: #b02a37;
}


/* ============================================================
   DASHBOARD SECTIONS
   ============================================================ */

.ayc-dashboard-section {
  margin-bottom: 24px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #d7e0e5;
  border-top: 5px solid #1e5a78;
  box-shadow: 0 7px 22px rgba(6, 31, 49, 0.07);
}

.ayc-dashboard-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.ayc-dashboard-heading h2 {
  margin: 0;
  color: #0b2d45;
  font-size: 28px;
}

.ayc-dashboard-kicker,
.ayc-card-label {
  margin: 0 0 7px;
  color: #1e5a78;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ayc-updated-time {
  margin: 0;
  color: #667682;
  font-size: 13px;
}


/* ============================================================
   CURRENT CONDITIONS
   ============================================================ */

.ayc-current-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ayc-primary-card {
  min-width: 0;
  padding: 22px;
  color: #ffffff;
  background: #123b61;
  border-radius: 7px;
  box-shadow: 0 9px 18px rgba(6, 31, 49, 0.16);
}

.ayc-primary-card h3,
.ayc-primary-card p,
.ayc-primary-card span,
.ayc-primary-card strong {
  color: #ffffff;
}

.ayc-primary-card .ayc-card-label {
  color: #ffffff;
}

.ayc-primary-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ayc-primary-card__header h3 {
  margin: 0;
  font-size: 21px;
}

.ayc-primary-card__header img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.ayc-temperature {
  margin-top: 8px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.ayc-temperature small {
  color: #ffffff;
  font-size: 24px;
}

.ayc-feels-like {
  margin: 10px 0 0;
}


/* ============================================================
   WIND CARD
   ============================================================ */

.ayc-wind-direction {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 15px 0 22px;
}

.ayc-wind-arrow {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #d6a928 !important;
  border: 2px solid #d6a928;
  border-radius: 50%;
  font-size: 36px;
  transition: transform 0.3s ease;
}

.ayc-wind-direction h3 {
  margin: 0;
  font-size: 28px;
}

.ayc-wind-direction p {
  margin: 2px 0 0;
  opacity: 0.8;
}

.ayc-wind-readings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ayc-wind-readings div {
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.ayc-wind-readings strong,
.ayc-wind-readings span {
  display: block;
}

.ayc-wind-readings strong {
  font-size: 25px;
}


/* ============================================================
   LOCAL CONDITIONS CARD
   ============================================================ */

.ayc-condition-list {
  margin-top: 14px;
}

.ayc-condition-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.ayc-condition-list div:last-child {
  border-bottom: 0;
}


/* ============================================================
   CURRENT SUMMARY STRIP
   ============================================================ */

.ayc-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-top: 18px;
  padding: 5px;
  background: #061f31;
}

.ayc-summary-strip div {
  padding: 12px;
  color: #ffffff;
  background: #123b61;
  text-align: center;
}

.ayc-summary-strip span,
.ayc-summary-strip strong {
  display: block;
  color: #ffffff;
}

.ayc-summary-strip span {
  font-size: 12px;
  opacity: 0.8;
}

.ayc-summary-strip strong {
  margin-top: 3px;
}


/* ============================================================
   24-HOUR FORECAST CARDS
   ============================================================ */

.ayc-hourly-forecast {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 3px 14px;
  scroll-behavior: smooth;
  scrollbar-color: #1e5a78 #eaf3f7;
  scrollbar-width: thin;
}

.ayc-hour-card {
  flex: 0 0 132px;
  padding: 16px 12px;
  color: #ffffff;
  background: #123b61;
  border-radius: 6px;
  text-align: center;
}

.ayc-hour-card p {
  color: #ffffff;
}

.ayc-hour-card__time {
  margin: 0;
  color: #d6a928 !important;
  font-weight: 700;
}

.ayc-hour-card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.ayc-hour-card__temp {
  margin: 3px 0;
  font-size: 23px;
  font-weight: 700;
}

.ayc-hour-card__details {
  margin: 3px 0 0;
  font-size: 12px;
}


/* ============================================================
   WIND GRAPH
   ============================================================ */

.ayc-chart-wrapper {
  position: relative;
  height: 330px;
  padding: 15px;
  background: #061f31;
}

.ayc-chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

.ayc-chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
  color: #263746;
  font-size: 13px;
}

.ayc-chart-key i {
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 6px;
  vertical-align: middle;
}

.ayc-key-wind {
  background: #7dd3fc;
}

.ayc-key-gust {
  background: #ef4444;
}


/* ============================================================
   FIVE-DAY FORECAST
   ============================================================ */

.ayc-daily-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ayc-day-card {
  min-width: 0;
  padding: 17px 13px;
  color: #ffffff;
  background: #123b61;
  text-align: center;
}

.ayc-day-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
}

.ayc-day-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.ayc-day-card__temp {
  margin: 4px 0;
  color: #ffffff;
  font-size: 21px;
  font-weight: 700;
}

.ayc-day-card p {
  margin: 4px 0;
  color: #ffffff;
  font-size: 12px;
}


/* ============================================================
   TIDE FORECAST
   ============================================================ */

.ayc-tide-frame {
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  background: #f4f6f7;
}

.ayc-tide-frame iframe {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}


/* ============================================================
   SAFETY NOTICE
   ============================================================ */

.ayc-safety-notice {
  padding: 30px;
  margin-bottom: 30px;
  color: #ffffff;
  background: #061f31;
  border-left: 7px solid #d6a928;
}

.ayc-safety-notice .ayc-dashboard-kicker {
  color: #d6a928;
}

.ayc-safety-notice h2 {
  margin: 0 0 12px;
  color: #ffffff;
}

.ayc-safety-notice p {
  color: #ffffff;
}

.ayc-safety-notice p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   QUICK LINKS
   ============================================================ */

.ayc-conditions-links {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 30px;
  background: #f4f6f7;
}

.ayc-conditions-links__content,
.ayc-conditions-links__location {
  flex: 1 1 380px;
  padding: 34px 30px;
}

.ayc-conditions-links__content h2,
.ayc-conditions-links__location h2 {
  margin: 0 0 14px;
  color: #0b2d45;
  font-size: 28px;
}

.ayc-conditions-links__location {
  background: #d6a928;
}

.ayc-conditions-links__location .ayc-dashboard-kicker,
.ayc-conditions-links__location h2,
.ayc-conditions-links__location p {
  color: #0b2d45;
}


/* ============================================================
   MEMBERSHIP CTA
   ============================================================ */

.ayc-conditions-cta {
  padding: 42px 30px;
  margin-bottom: 30px;
  color: #ffffff;
  background: #0b2d45;
  border-bottom: 5px solid #d6a928;
  text-align: center;
}

.ayc-conditions-cta .ayc-dashboard-kicker {
  color: #d6a928;
}

.ayc-conditions-cta h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 31px;
}

.ayc-conditions-cta > p {
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
  color: #ffffff;
  font-size: 17px;
}

.ayc-conditions-cta .ayc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}


/* ============================================================
   WEATHER PAGE BUTTONS
   ============================================================ */

.ayc-conditions-page .ayc-button {
  display: inline-block;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.ayc-conditions-page .ayc-button:hover,
.ayc-conditions-page .ayc-button:focus {
  transform: translateY(-1px);
}

.ayc-conditions-page .ayc-button--navy {
  color: #ffffff;
  background: #0b2d45;
  border-color: #0b2d45;
}

.ayc-conditions-page .ayc-button--navy:hover,
.ayc-conditions-page .ayc-button--navy:focus {
  color: #ffffff;
  background: #1e5a78;
  border-color: #1e5a78;
}

.ayc-conditions-page .ayc-button--gold {
  color: #0b2d45;
  background: #d6a928;
  border-color: #d6a928;
}

.ayc-conditions-page .ayc-button--gold:hover,
.ayc-conditions-page .ayc-button--gold:focus {
  color: #0b2d45;
  background: #e2b63d;
  border-color: #e2b63d;
}


/* ============================================================
   HIDDEN ELEMENT SUPPORT
   ============================================================ */

.ayc-conditions-page [hidden] {
  display: none !important;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 850px) {
  .ayc-current-grid {
    grid-template-columns: 1fr;
  }

  .ayc-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ayc-daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ayc-dashboard-section {
    padding: 21px;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 520px) {
  .ayc-conditions-page {
    width: 100%;
  }

  .ayc-conditions-hero {
    padding: 42px 23px;
  }

  .ayc-conditions-hero h1 {
    font-size: 38px;
  }

  .ayc-conditions-hero p:last-child {
    font-size: 17px;
  }

  .ayc-dashboard-section {
    padding: 18px;
  }

  .ayc-dashboard-heading h2 {
    font-size: 24px;
  }

  .ayc-summary-strip,
  .ayc-daily-grid {
    grid-template-columns: 1fr;
  }

  .ayc-hour-card {
    flex-basis: 122px;
  }

  .ayc-chart-wrapper {
    height: 280px;
    padding: 7px;
  }

  .ayc-tide-frame {
    min-height: 600px;
  }

  .ayc-tide-frame iframe {
    height: 600px;
  }

  .ayc-conditions-links__content,
  .ayc-conditions-links__location {
    padding: 28px 22px;
  }

  .ayc-conditions-cta {
    padding: 36px 22px;
  }

  .ayc-conditions-cta .ayc-actions {
    display: block;
  }

  .ayc-conditions-cta .ayc-button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
}
/* ============================================================
   AYC SAILING VERDICT
   ============================================================ */

.ayc-verdict {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 28px;
  color: #ffffff;
  background: #123b61;
  border-left: 8px solid #d6a928;
  box-shadow: 0 8px 24px rgba(6, 31, 49, 0.12);
}

.ayc-verdict__badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;
  color: #0b2d45;
  background: #d6a928;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ayc-verdict__content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: center;
}

.ayc-verdict__status {
  margin: 0 0 5px;
  color: #d6a928;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ayc-verdict h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(25px, 3vw, 34px);
}

.ayc-verdict__content p {
  color: #ffffff;
}

.ayc-verdict__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ayc-verdict__metrics div {
  padding: 13px;
  background: rgba(255, 255, 255, 0.11);
  text-align: center;
}

.ayc-verdict__metrics span,
.ayc-verdict__metrics strong {
  display: block;
  color: #ffffff;
}

.ayc-verdict__metrics span {
  margin-bottom: 3px;
  font-size: 11px;
  opacity: 0.78;
  text-transform: uppercase;
}

.ayc-verdict__metrics strong {
  font-size: 16px;
}

.ayc-verdict__disclaimer {
  margin: 20px 0 0;
  padding-top: 15px;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* Light wind */
.ayc-verdict--light {
  background: #31556d;
  border-left-color: #7dd3fc;
}

.ayc-verdict--light .ayc-verdict__badge {
  background: #7dd3fc;
}

/* Good conditions */
.ayc-verdict--good {
  background: #176149;
  border-left-color: #5ee1ae;
}

.ayc-verdict--good .ayc-verdict__badge {
  color: #083b2c;
  background: #5ee1ae;
}

/* More demanding */
.ayc-verdict--challenging {
  background: #8a5915;
  border-left-color: #f6c453;
}

.ayc-verdict--challenging .ayc-verdict__badge {
  color: #4a2d00;
  background: #f6c453;
}

/* Caution */
.ayc-verdict--caution {
  background: #91431d;
  border-left-color: #ff9b68;
}

.ayc-verdict--caution .ayc-verdict__badge {
  color: #4d1905;
  background: #ff9b68;
}

/* Not advised */
.ayc-verdict--stop {
  background: #7a2028;
  border-left-color: #ff7d86;
}

.ayc-verdict--stop .ayc-verdict__badge {
  color: #4e0710;
  background: #ff7d86;
}

@media (max-width: 760px) {
  .ayc-verdict {
    padding: 22px;
  }

  .ayc-verdict__content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .ayc-verdict__metrics {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================
   AYC TIDE PANEL
   ========================================================== */

.ayc-tide-section {
  margin-top: 2rem;
}

.ayc-tide-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ayc-tide-status-card,
.ayc-tide-next-card {
  padding: 1.5rem;
  border: 1px solid rgba(11, 45, 69, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(235, 244, 248, 0.96)
    );
  box-shadow:
    0 12px 30px rgba(6, 31, 49, 0.08);
}

.ayc-tide-status-card__label,
.ayc-tide-next-card__label {
  margin: 0 0 0.45rem;
  color: #1e5a78;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ayc-tide-status-card__value {
  margin: 0;
  color: #0b2d45;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.05;
}

.ayc-tide-status-card__description {
  margin: 0.75rem 0 0;
  color: #37566a;
  line-height: 1.6;
}

.ayc-tide-next-card__time {
  margin: 0;
  color: #0b2d45;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.ayc-tide-next-card__height {
  margin: 0.55rem 0 0;
  color: #1e5a78;
  font-size: 1.15rem;
  font-weight: 700;
}

.ayc-tide-next-card__countdown {
  margin: 0.55rem 0 0;
  color: #526b7b;
  font-size: 0.95rem;
}

.ayc-tide-events {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.ayc-tide-event {
  padding: 1rem;
  border: 1px solid rgba(11, 45, 69, 0.12);
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
}

.ayc-tide-event__type {
  margin: 0;
  color: #1e5a78;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ayc-tide-event__time {
  margin: 0.4rem 0 0;
  color: #0b2d45;
  font-size: 1.55rem;
  font-weight: 800;
}

.ayc-tide-event__height {
  margin: 0.3rem 0 0;
  color: #526b7b;
  font-size: 0.92rem;
}

.ayc-tide-event--past {
  opacity: 0.58;
}

.ayc-tide-event--next {
  border-color: #d6a928;
  box-shadow:
    0 0 0 2px rgba(214, 169, 40, 0.16);
}

.ayc-tide-attribution {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(11, 45, 69, 0.12);
  color: #526b7b;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.ayc-tide-attribution p {
  margin: 0;
}

@media (max-width: 700px) {
  .ayc-tide-summary {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================
   AYC MOBILE MENU — FULL WIDTH FIX
   ========================================================== */

@media (max-width: 991.98px) {

  /* Make the complete header the positioning reference */
  .container-header {
    position: relative !important;
    z-index: 2000 !important;
  }

  /* The Cassiopeia navigation parent must span the header */
  .container-header .container-nav {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .container-header nav.navbar {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* Keep the hamburger aligned to the right */
  .container-header .navbar-toggler {
    position: absolute !important;
    top: 50% !important;
    right: 1rem !important;
    z-index: 2002 !important;
    transform: translateY(-50%) !important;
  }

  /* Closed menu */
  .container-header .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;
    border-top: 3px solid #d6a928 !important;
    box-shadow: 0 14px 30px rgba(6, 31, 49, 0.22) !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Open menu */
  .container-header .navbar-collapse.show,
  .container-header .navbar-collapse.collapsing {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
  }

  /* Menu list */
  .container-header .navbar-collapse .mod-menu {
    display: block !important;
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0.5rem 1rem 1rem !important;

    list-style: none !important;
  }

  .container-header .navbar-collapse .mod-menu > li {
    display: block !important;
    position: relative !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  .container-header .navbar-collapse .mod-menu > li > a,
  .container-header .navbar-collapse .mod-menu > li > span,
  .container-header .navbar-collapse .mod-menu > li > button {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    padding: 0.9rem 0.75rem !important;

    color: #0b2d45 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(11, 45, 69, 0.14) !important;

    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  /* Nested menu items */
  .container-header .navbar-collapse .mod-menu ul {
    position: static !important;
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 0 0 1rem !important;

    background: #f4f8fa !important;
    box-shadow: none !important;
  }

  .container-header .navbar-collapse .mod-menu ul li,
  .container-header .navbar-collapse .mod-menu ul a {
    width: 100% !important;
    max-width: none !important;
  }

  body {
    overflow-x: hidden !important;
  }
}
/* ==========================================================
   RESPONSIVE IMAGES
   ========================================================== */

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

/* Prevent image containers from forcing the page wider */
.ayc-home figure,
.ayc-home picture,
.ayc-home .ayc-image,
.ayc-home .ayc-media {
  max-width: 100%;
  overflow: hidden;
}

/* Mobile hero image positioning */
@media (max-width: 700px) {
  .ayc-home .ayc-hero {
    min-height: auto;
    background-position: 58% center;
  }

  .ayc-home .ayc-hero__inner {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .ayc-home .ayc-hero h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
    line-height: 0.92;
  }

  .ayc-home .ayc-hero p {
    max-width: 100%;
  }

  .ayc-home .ayc-feature-image img,
  .ayc-home .ayc-club-image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
  }
}
/* ==========================================================
   AYC MOBILE IMAGE AND HERO REFINEMENT
   ========================================================== */

/* Keep all article images inside the screen */
.ayc-home img,
.ayc-home picture,
.ayc-home figure {
  max-width: 100%;
}

.ayc-home img {
  display: block;
  height: auto;
}

/* Prevent image and content sections forcing horizontal scroll */
.ayc-home,
.ayc-home section,
.ayc-home article,
.ayc-home div,
.ayc-home figure,
.ayc-home picture {
  min-width: 0;
  box-sizing: border-box;
}


/* ==========================================================
   TABLETS AND PHONES
   ========================================================== */

@media (max-width: 767.98px) {

  /* Hero */
  .ayc-home .ayc-hero {
    min-height: 620px;
    background-position: 58% center;
    background-size: cover;
  }

  .ayc-home .ayc-hero__inner {
    width: 100%;
    max-width: 100%;
    padding:
      clamp(3.75rem, 11vw, 5rem)
      1rem
      2.5rem;
  }

  .ayc-home .ayc-hero h1 {
    max-width: 7ch;
    margin-bottom: 1.1rem;

    font-size: clamp(3.3rem, 16vw, 4.8rem);
    line-height: 0.9;
    letter-spacing: -0.045em;

    overflow-wrap: normal;
    word-break: normal;
  }

  .ayc-home .ayc-hero__lead,
  .ayc-home .ayc-hero p {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  /* Stack hero buttons neatly */
  .ayc-home .ayc-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    margin-top: 1.4rem;
  }

  .ayc-home .ayc-hero__actions a,
  .ayc-home .ayc-hero__actions .btn {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    min-height: 48px;
    margin: 0;

    text-align: center;
  }

  /* Main content images */
  .ayc-home .ayc-feature-image,
  .ayc-home .ayc-club-image,
  .ayc-home figure {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;

    border-radius: 16px;
    overflow: hidden;
  }

  .ayc-home .ayc-feature-image img,
  .ayc-home .ayc-club-image img,
  .ayc-home figure img {
    width: 100%;
    height: clamp(250px, 75vw, 390px);

    object-fit: cover;
    object-position: center center;
  }

  /* Reduce section spacing slightly on phones */
  .ayc-home section {
    overflow: hidden;
  }
}


/* ==========================================================
   SMALL PHONES
   ========================================================== */

@media (max-width: 430px) {

  .ayc-home .ayc-hero {
    min-height: 600px;
    background-position: 61% center;
  }

  .ayc-home .ayc-hero__inner {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .ayc-home .ayc-hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.15rem);
  }

  .ayc-home .ayc-feature-image img,
  .ayc-home .ayc-club-image img,
  .ayc-home figure img {
    height: 300px;
  }
}
/* ============================================================
   AYC JETTY ACCESS
   ============================================================ */

.ayc-jetty-access {
  margin: 32px 0;
  padding: 32px;
  border-top: 5px solid #d6a928;
  background: #05243a;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(3, 24, 38, 0.15);
}

.ayc-jetty-access__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ayc-jetty-access__label {
  margin: 0 0 8px;
  color: #d6a928;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ayc-jetty-access h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1;
}

.ayc-jetty-indicator {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.08);
}

.ayc-jetty-access--open {
  border-top-color: #22c55e;
}

.ayc-jetty-access--open .ayc-jetty-indicator {
  background: #22c55e;
}

.ayc-jetty-access--soon {
  border-top-color: #f59e0b;
}

.ayc-jetty-access--soon .ayc-jetty-indicator {
  background: #f59e0b;
}

.ayc-jetty-access--closed {
  border-top-color: #ef4444;
}

.ayc-jetty-access--closed .ayc-jetty-indicator {
  background: #ef4444;
}

.ayc-jetty-message {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ayc-jetty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: rgba(255,255,255,0.14);
}

.ayc-jetty-grid > div {
  padding: 20px;
  background: rgba(255,255,255,0.05);
}

.ayc-jetty-grid span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,0.62);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayc-jetty-grid strong {
  display: block;
  color: #ffffff;
  font-size: 1.15rem;
}

.ayc-jetty-countdown {
  margin: 24px 0 0;
  color: #d6a928;
  font-size: 1.15rem;
  font-weight: 800;
}

.ayc-jetty-note {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.56);
  font-size: 0.82rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .ayc-jetty-access {
    padding: 24px;
  }

  .ayc-jetty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ayc-jetty-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================================
   AYC JETTY ACCESS - MOBILE FIX
   ============================================================ */

@media (max-width: 960px) {

  /* Make sure the jetty section can display */
  .ayc-jetty-access:not([hidden]) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px 0 !important;
    padding: 26px 22px !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  /* Header */
  .ayc-jetty-access__header {
    display: flex !important;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .ayc-jetty-access__header > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .ayc-jetty-access h2 {
    margin: 0 !important;
    font-size: 1.75rem !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
  }

  .ayc-jetty-access__label {
    margin-bottom: 8px !important;
    font-size: 0.7rem !important;
  }

  /* Status indicator */
  .ayc-jetty-indicator {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin-top: 5px;
  }

  /* Main explanation */
  .ayc-jetty-message {
    width: 100%;
    margin: 18px 0 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
  }

  /* Two columns on tablets/mobile */
  .ayc-jetty-grid {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1px !important;
    margin-top: 24px !important;
  }

  .ayc-jetty-grid > div {
    display: block !important;
    min-width: 0 !important;
    padding: 18px 15px !important;
    box-sizing: border-box;
  }

  .ayc-jetty-grid span,
  .ayc-jetty-grid > div {
    overflow-wrap: anywhere;
  }

  .ayc-jetty-grid strong {
    display: block !important;
    margin-top: 6px;
    font-size: 1.05rem !important;
  }

  .ayc-jetty-countdown {
    display: block !important;
    width: 100%;
    margin: 22px 0 0 !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .ayc-jetty-note {
    display: block !important;
    width: 100%;
    margin: 20px 0 0 !important;
    padding-top: 16px !important;
    font-size: 0.78rem !important;
    line-height: 1.55 !important;
  }
}


/* Small phones */
@media (max-width: 520px) {

  .ayc-jetty-access:not([hidden]) {
    display: block !important;
    margin: 20px 0 !important;
    padding: 22px 16px !important;
  }

  .ayc-jetty-access h2 {
    font-size: 1.5rem !important;
  }

  /* Stack the four values on very small screens */
  .ayc-jetty-grid {
    grid-template-columns: 1fr !important;
  }

  .ayc-jetty-grid > div {
    padding: 15px !important;
  }
}/* ============================================================
   AYC HOMEPAGE LIVE CONDITIONS STRIP
   ============================================================ */

.ayc-home-live {
  position: relative;
  z-index: 50;
  width: 100%;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      #031826 0%,
      #052f42 55%,
      #06435a 100%
    );
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.ayc-home-live__inner {
  display: grid;
  width: 100%;
  grid-template-columns:
    190px
    minmax(150px, 0.8fr)
    minmax(190px, 1fr)
    minmax(220px, 1.15fr)
    minmax(170px, 0.8fr)
    190px;
  align-items: stretch;
  min-height: 76px;
}


/* ============================================================
   LEFT LIVE / AYC TODAY BLOCK
   ============================================================ */

.ayc-home-live__identity {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 24px;
  background: rgba(0,0,0,0.16);
}

.ayc-home-live__pulse {
  position: relative;
  display: block;
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #22c55e;
}

.ayc-home-live__pulse::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 2px solid rgba(34,197,94,0.45);
  border-radius: 50%;
  animation: ayc-live-pulse 2s infinite;
}

@keyframes ayc-live-pulse {
  0% {
    opacity: 1;
    transform: scale(0.7);
  }

  70% {
    opacity: 0;
    transform: scale(1.5);
  }

  100% {
    opacity: 0;
  }
}

.ayc-home-live__identity small {
  display: block;
  margin-bottom: 2px;
  color: #e4ad12;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.ayc-home-live__identity strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}


/* ============================================================
   INFORMATION BLOCKS
   ============================================================ */

.ayc-home-live__item {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 12px 23px;
  border-left: 1px solid rgba(255,255,255,0.13);
}

.ayc-home-live__label {
  display: block;
  margin-bottom: 5px;
  color: #e4ad12;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ayc-home-live__item strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ayc-home-live__item small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ============================================================
   STATUS DOTS
   ============================================================ */

.ayc-home-live__item--status strong::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: #94a3b8;
  vertical-align: 1px;
}

.ayc-home-live__item--good strong::before,
.ayc-home-live__item--open strong::before {
  background: #22c55e;
}

.ayc-home-live__item--soon strong::before,
.ayc-home-live__item--light strong::before,
.ayc-home-live__item--challenging strong::before {
  background: #f59e0b;
}

.ayc-home-live__item--caution strong::before,
.ayc-home-live__item--stop strong::before,
.ayc-home-live__item--closed strong::before {
  background: #ef4444;
}


/* ============================================================
   FULL CONDITIONS LINK
   ============================================================ */

.ayc-home-live__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  color: #05243a !important;
  background: #e4ad12;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
}

.ayc-home-live__link strong {
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.ayc-home-live__link:hover {
  color: #05243a !important;
  background: #f2c334;
}

.ayc-home-live__link:hover strong {
  transform: translateX(4px);
}


/* ============================================================
   SMALL DESKTOP / TABLET
   ============================================================ */

@media (max-width: 1200px) {

  .ayc-home-live__inner {
    grid-template-columns:
      150px
      minmax(120px, 0.7fr)
      minmax(165px, 1fr)
      minmax(190px, 1.1fr)
      minmax(145px, 0.8fr)
      150px;
  }

  .ayc-home-live__identity,
  .ayc-home-live__item {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ayc-home-live__item strong {
    font-size: 0.88rem;
  }

  .ayc-home-live__link {
    padding-right: 13px;
    padding-left: 13px;
  }
}


/* ============================================================
   MOBILE LIVE STRIP
   Horizontally scrollable rather than stacking vertically.
   ============================================================ */

@media (max-width: 800px) {

  .ayc-home-live {
    overflow: hidden;
  }

  .ayc-home-live__inner {
    display: flex;
    width: 100%;
    min-height: 72px;
    overflow-x: auto;
    overflow-y: hidden;
    align-items: stretch;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ayc-home-live__inner::-webkit-scrollbar {
    display: none;
  }

  .ayc-home-live__identity {
    min-width: 135px;
    flex: 0 0 135px;
    padding: 11px 15px;
    scroll-snap-align: start;
  }

  .ayc-home-live__item {
    min-width: 160px;
    flex: 0 0 160px;
    padding: 11px 16px;
    scroll-snap-align: start;
  }

  .ayc-home-live__item:nth-of-type(3) {
    min-width: 205px;
    flex-basis: 205px;
  }

  .ayc-home-live__item strong {
    font-size: 0.9rem;
  }

  .ayc-home-live__item small {
    font-size: 0.68rem;
  }

  .ayc-home-live__link {
    min-width: 150px;
    flex: 0 0 150px;
    padding: 10px 16px;
    scroll-snap-align: end;
  }
}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

  .ayc-home-live__inner {
    min-height: 68px;
  }

  .ayc-home-live__identity {
    min-width: 120px;
    flex-basis: 120px;
  }

  .ayc-home-live__identity strong {
    font-size: 0.82rem;
  }

  .ayc-home-live__item {
    min-width: 150px;
    flex-basis: 150px;
  }

  .ayc-home-live__item:nth-of-type(3) {
    min-width: 190px;
    flex-basis: 190px;
  }
}/* ============================================================
   AYC LIVE CONDITIONS STRIP - SAILGP STYLE UPGRADE
   ============================================================ */

.ayc-home-live__inner {
  min-height: 88px;
}

/* Main data cells */
.ayc-home-live__item {
  justify-content: center;
  padding: 12px 24px 11px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

/* Small gold category headings */
.ayc-home-live__label {
  margin-bottom: 7px;
  color: #f0b91d;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

/* BIG live value */
.ayc-home-live__item strong {
  display: block;
  overflow: visible;
  color: #ffffff;
  font-size: clamp(1.25rem, 1.5vw, 1.7rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-overflow: clip;
  white-space: nowrap;
}

/* Secondary information */
.ayc-home-live__item small {
  display: block;
  margin-top: 6px;
  overflow: visible;
  color: rgba(255,255,255,0.74);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.15;
  text-overflow: clip;
  white-space: nowrap;
}


/* ============================================================
   STATUS DOTS - STRONGER
   ============================================================ */

.ayc-home-live__item--status strong::before {
  width: 10px;
  height: 10px;
  margin-right: 9px;
  vertical-align: 2px;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.07);
}


/* ============================================================
   WIND
   ============================================================ */

#ayc-home-live-wind {
  font-size: clamp(1.4rem, 1.7vw, 1.9rem);
}

#ayc-home-live-direction {
  font-weight: 800;
  text-transform: uppercase;
}


/* ============================================================
   SAILING VERDICT
   ============================================================ */

#ayc-home-live-sailing {
  font-size: clamp(1.15rem, 1.45vw, 1.6rem);
}

#ayc-home-live-gust {
  font-weight: 700;
}


/* ============================================================
   JETTY ACCESS
   ============================================================ */

#ayc-home-live-jetty {
  font-size: clamp(1.3rem, 1.65vw, 1.85rem);
  letter-spacing: -0.02em;
}

#ayc-home-live-window {
  color: rgba(255,255,255,0.86);
  font-size: 0.78rem;
  font-weight: 800;
}


/* ============================================================
   HIGH WATER
   ============================================================ */

#ayc-home-live-high-water {
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  font-variant-numeric: tabular-nums;
}

#ayc-home-live-high-height {
  font-weight: 700;
}


/* ============================================================
   LEFT AYC TODAY BLOCK
   ============================================================ */

.ayc-home-live__identity {
  min-height: 88px;
  padding: 13px 24px;
}

.ayc-home-live__identity small {
  margin-bottom: 6px;
  font-size: 0.62rem;
  font-weight: 900;
}

.ayc-home-live__identity strong {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}


/* ============================================================
   FULL CONDITIONS CTA
   ============================================================ */

.ayc-home-live__link {
  min-height: 88px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.ayc-home-live__link strong {
  font-size: 1.45rem;
}


/* ============================================================
   MOBILE - KEEP THE SAILGP FEEL
   ============================================================ */

@media (max-width: 800px) {

  .ayc-home-live__inner {
    min-height: 78px;
  }

  .ayc-home-live__identity {
    min-width: 122px;
    flex-basis: 122px;
    min-height: 78px;
    padding: 10px 13px;
  }

  .ayc-home-live__identity strong {
    font-size: 0.9rem;
  }

  .ayc-home-live__item {
    min-width: 170px;
    flex-basis: 170px;
    min-height: 78px;
    padding: 10px 15px;
  }

  .ayc-home-live__label {
    margin-bottom: 5px;
    font-size: 0.57rem;
  }

  .ayc-home-live__item strong {
    font-size: 1.18rem;
  }

  .ayc-home-live__item small {
    margin-top: 5px;
    font-size: 0.68rem;
  }

  #ayc-home-live-wind {
    font-size: 1.4rem;
  }

  #ayc-home-live-sailing {
    font-size: 1.12rem;
  }

  #ayc-home-live-jetty {
    font-size: 1.25rem;
  }

  #ayc-home-live-high-water {
    font-size: 1.45rem;
  }

  .ayc-home-live__link {
    min-width: 145px;
    flex-basis: 145px;
    min-height: 78px;
    font-size: 0.67rem;
  }
}


/* Very small phones */
@media (max-width: 480px) {

  .ayc-home-live__item {
    min-width: 160px;
    flex-basis: 160px;
  }

  .ayc-home-live__identity {
    min-width: 112px;
    flex-basis: 112px;
  }
}
/* ============================================================
   AYC LIVE CONDITIONS STRIP
   MOBILE COMPACT / WRAPPED FIX
   ============================================================ */

@media (max-width: 800px) {

  .ayc-home-live {
    overflow: hidden;
  }

  .ayc-home-live__inner {
    display: flex !important;
    width: 100% !important;
    min-height: 70px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    align-items: stretch !important;

    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .ayc-home-live__inner::-webkit-scrollbar {
    display: none;
  }


  /* ----------------------------------------------------------
     AYC TODAY
     ---------------------------------------------------------- */

  .ayc-home-live__identity {
    min-width: 105px !important;
    flex: 0 0 105px !important;

    min-height: 70px !important;

    padding: 9px 11px !important;

    gap: 8px !important;

    scroll-snap-align: start;
  }

  .ayc-home-live__pulse {
    width: 7px !important;
    height: 7px !important;
    flex-basis: 7px !important;
  }

  .ayc-home-live__identity small {
    margin-bottom: 3px !important;

    font-size: 0.5rem !important;
    letter-spacing: 0.12em !important;
  }

  .ayc-home-live__identity strong {
    font-size: 0.78rem !important;
    line-height: 1.05 !important;
  }


  /* ----------------------------------------------------------
     ALL DATA CELLS
     ---------------------------------------------------------- */

  .ayc-home-live__item {
    min-width: 140px !important;
    flex: 0 0 140px !important;

    min-height: 70px !important;

    padding: 8px 12px !important;

    justify-content: center !important;

    scroll-snap-align: start;
  }


  /* Gold heading */
  .ayc-home-live__label {
    margin-bottom: 4px !important;

    font-size: 0.5rem !important;
    letter-spacing: 0.11em !important;

    line-height: 1 !important;
  }


  /* Main value */
  .ayc-home-live__item strong {
    display: block !important;

    max-width: 100% !important;

    overflow: visible !important;

    font-size: 0.94rem !important;
    font-weight: 900 !important;

    line-height: 1.08 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;

    text-overflow: clip !important;
  }


  /* Secondary text */
  .ayc-home-live__item small {
    display: block !important;

    max-width: 100% !important;

    margin-top: 4px !important;

    overflow: visible !important;

    font-size: 0.6rem !important;
    font-weight: 650 !important;

    line-height: 1.15 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;

    text-overflow: clip !important;
  }


  /* ----------------------------------------------------------
     STATUS DOTS
     ---------------------------------------------------------- */

  .ayc-home-live__item--status strong::before {
    width: 7px !important;
    height: 7px !important;

    margin-right: 5px !important;

    vertical-align: 1px !important;

    box-shadow: none !important;
  }


  /* ----------------------------------------------------------
     WIND
     ---------------------------------------------------------- */

  #ayc-home-live-wind {
    font-size: 1.02rem !important;
    white-space: nowrap !important;
  }

  #ayc-home-live-direction {
    font-size: 0.58rem !important;
    white-space: nowrap !important;
  }


  /* ----------------------------------------------------------
     SAILING
     Give this slightly more room because wording can be longer.
     ---------------------------------------------------------- */

  #ayc-home-live-sailing-box {
    min-width: 165px !important;
    flex-basis: 165px !important;
  }

  #ayc-home-live-sailing {
    font-size: 0.86rem !important;
    line-height: 1.08 !important;
  }

  #ayc-home-live-gust {
    font-size: 0.58rem !important;
  }


  /* ----------------------------------------------------------
     JETTY ACCESS
     ---------------------------------------------------------- */

  #ayc-home-live-jetty-box {
    min-width: 155px !important;
    flex-basis: 155px !important;
  }

  #ayc-home-live-jetty {
    font-size: 0.9rem !important;
    line-height: 1.05 !important;
  }

  #ayc-home-live-window {
    font-size: 0.59rem !important;
    white-space: nowrap !important;
  }


  /* ----------------------------------------------------------
     HIGH WATER
     ---------------------------------------------------------- */

  #ayc-home-live-high-water {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
  }

  #ayc-home-live-high-height {
    font-size: 0.58rem !important;
    white-space: nowrap !important;
  }


  /* ----------------------------------------------------------
     FULL CONDITIONS
     ---------------------------------------------------------- */

  .ayc-home-live__link {
    min-width: 125px !important;
    flex: 0 0 125px !important;

    min-height: 70px !important;

    padding: 9px 11px !important;

    font-size: 0.58rem !important;
    line-height: 1.15 !important;

    text-align: center !important;

    white-space: normal !important;

    scroll-snap-align: end;
  }

  .ayc-home-live__link strong {
    font-size: 1rem !important;
  }
}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

  .ayc-home-live__inner {
    min-height: 66px !important;
  }

  .ayc-home-live__identity {
    min-width: 96px !important;
    flex-basis: 96px !important;

    min-height: 66px !important;
  }

  .ayc-home-live__identity strong {
    font-size: 0.72rem !important;
  }

  .ayc-home-live__item {
    min-width: 132px !important;
    flex-basis: 132px !important;

    min-height: 66px !important;

    padding: 7px 10px !important;
  }

  #ayc-home-live-sailing-box {
    min-width: 155px !important;
    flex-basis: 155px !important;
  }

  #ayc-home-live-jetty-box {
    min-width: 145px !important;
    flex-basis: 145px !important;
  }

  .ayc-home-live__label {
    font-size: 0.46rem !important;
  }

  .ayc-home-live__item strong {
    font-size: 0.86rem !important;
  }

  .ayc-home-live__item small {
    font-size: 0.55rem !important;
  }

  #ayc-home-live-sailing {
    font-size: 0.8rem !important;
  }

  #ayc-home-live-jetty {
    font-size: 0.84rem !important;
  }

  .ayc-home-live__link {
    min-width: 115px !important;
    flex-basis: 115px !important;

    min-height: 66px !important;

    font-size: 0.54rem !important;
  }
}/* ============================================================
   AYC LIVE STRIP - ENLARGE SECONDARY DATA
   ============================================================ */

.ayc-home-live__item small {
  margin-top: 6px !important;
  color: rgba(255,255,255,0.9) !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
}

/* Wind direction */
#ayc-home-live-direction {
  font-size: 0.78rem !important;
  font-weight: 850 !important;
}

/* Gust reading */
#ayc-home-live-gust {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
}

/* Jetty launch window */
#ayc-home-live-window {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}

/* High-water height */
#ayc-home-live-high-height {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}


/* Mobile */
@media (max-width: 800px) {

  .ayc-home-live__item small {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
  }

  #ayc-home-live-direction,
  #ayc-home-live-gust,
  #ayc-home-live-window,
  #ayc-home-live-high-height {
    font-size: 0.7rem !important;
  }
}


/* Small phones */
@media (max-width: 480px) {

  .ayc-home-live__item small,
  #ayc-home-live-direction,
  #ayc-home-live-gust,
  #ayc-home-live-window,
  #ayc-home-live-high-height {
    font-size: 0.64rem !important;
  }
}
/* ============================================================
   AYC LIVE CONDITIONS
   MOBILE STACKED DASHBOARD - NO HORIZONTAL SCROLL
   ============================================================ */

@media (max-width: 800px) {

  .ayc-home-live {
    width: 100% !important;
    overflow: visible !important;
    background: #031f2d;
  }

  .ayc-home-live__inner {
    display: grid !important;

    width: 100% !important;
    min-height: 0 !important;

    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    overflow: visible !important;

    scroll-snap-type: none !important;
  }


  /* ==========================================================
     AYC TODAY HEADER
     Full width across top
     ========================================================== */

  .ayc-home-live__identity {
    grid-column: 1 / -1;

    display: flex !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;

    flex: none !important;

    align-items: center;
    justify-content: flex-start;

    padding: 9px 16px !important;

    border-bottom:
      1px solid rgba(255,255,255,0.14);

    background: #021820;
  }

  .ayc-home-live__pulse {
    width: 8px !important;
    height: 8px !important;
    flex: 0 0 8px !important;
  }

  .ayc-home-live__identity small {
    margin: 0 8px 0 0 !important;

    font-size: 0.54rem !important;
    line-height: 1 !important;
  }

  .ayc-home-live__identity > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ayc-home-live__identity strong {
    font-size: 0.82rem !important;
    line-height: 1 !important;
  }


  /* ==========================================================
     FOUR LIVE DATA CARDS
     ========================================================== */

  .ayc-home-live__item,
  #ayc-home-live-sailing-box,
  #ayc-home-live-jetty-box {

    width: auto !important;

    min-width: 0 !important;
    min-height: 92px !important;

    flex: none !important;

    padding: 13px 14px !important;

    justify-content: center !important;

    border-left:
      1px solid rgba(255,255,255,0.12);

    border-bottom:
      1px solid rgba(255,255,255,0.12);

    box-sizing: border-box;
  }


  /* Remove left border on left-hand cards */

  .ayc-home-live__item:nth-of-type(2),
  .ayc-home-live__item:nth-of-type(4) {
    border-left: 0;
  }


  /* Gold heading */

  .ayc-home-live__label {
    margin: 0 0 7px !important;

    color: #e4ad12 !important;

    font-size: 0.54rem !important;
    font-weight: 900 !important;

    letter-spacing: 0.12em !important;
    line-height: 1.1 !important;

    white-space: normal !important;
  }


  /* Primary live value */

  .ayc-home-live__item strong {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    overflow: visible !important;

    color: #ffffff !important;

    font-size: 1.1rem !important;
    font-weight: 900 !important;

    letter-spacing: -0.02em !important;
    line-height: 1.08 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;

    text-overflow: clip !important;
  }


  /* Secondary live data */

  .ayc-home-live__item small {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    margin-top: 7px !important;

    overflow: visible !important;

    color: rgba(255,255,255,0.88) !important;

    font-size: 0.7rem !important;
    font-weight: 750 !important;

    line-height: 1.15 !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;

    text-overflow: clip !important;
  }


  /* ==========================================================
     INDIVIDUAL VALUES
     ========================================================== */

  #ayc-home-live-wind {
    font-size: 1.3rem !important;
  }

  #ayc-home-live-direction {
    font-size: 0.7rem !important;
  }


  #ayc-home-live-sailing {
    font-size: 0.98rem !important;
    line-height: 1.12 !important;
  }

  #ayc-home-live-gust {
    font-size: 0.7rem !important;
  }


  #ayc-home-live-jetty {
    font-size: 1.08rem !important;
  }

  #ayc-home-live-window {
    font-size: 0.72rem !important;
    white-space: nowrap !important;
  }


  #ayc-home-live-high-water {
    font-size: 1.3rem !important;
  }

  #ayc-home-live-high-height {
    font-size: 0.7rem !important;
  }


  /* Smaller status dots */

  .ayc-home-live__item--status strong::before {
    width: 7px !important;
    height: 7px !important;

    margin-right: 6px !important;

    box-shadow: none !important;

    vertical-align: 1px !important;
  }


  /* ==========================================================
     FULL CONDITIONS
     Full-width button under the four cards
     ========================================================== */

  .ayc-home-live__link {

    grid-column: 1 / -1;

    display: flex !important;

    width: 100% !important;

    min-width: 0 !important;
    min-height: 46px !important;

    flex: none !important;

    align-items: center;
    justify-content: space-between;

    padding: 10px 16px !important;

    font-size: 0.64rem !important;
    font-weight: 900 !important;

    letter-spacing: 0.08em !important;

    text-align: left !important;

    white-space: normal !important;
  }

  .ayc-home-live__link strong {
    font-size: 1.1rem !important;
  }
}


/* ============================================================
   VERY SMALL PHONES
   Keep two columns but reduce typography slightly
   ============================================================ */

@media (max-width: 380px) {

  .ayc-home-live__item,
  #ayc-home-live-sailing-box,
  #ayc-home-live-jetty-box {
    min-height: 88px !important;
    padding: 11px 12px !important;
  }

  .ayc-home-live__item strong {
    font-size: 1rem !important;
  }

  #ayc-home-live-wind,
  #ayc-home-live-high-water {
    font-size: 1.2rem !important;
  }

  #ayc-home-live-sailing {
    font-size: 0.9rem !important;
  }

  #ayc-home-live-jetty {
    font-size: 1rem !important;
  }

  .ayc-home-live__item small {
    font-size: 0.65rem !important;
  }
}
/* ============================================================
   AYC SOCIAL STRIP
   ============================================================ */

.ayc-social-strip {
  width: 100%;
  padding: 80px 24px;
  background: #f3f6f7;
}

.ayc-social-strip__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ayc-social-strip__inner > div:first-child {
  max-width: 760px;
}

.ayc-social-strip h2 {
  margin: 0 0 16px;
  color: var(--ayc-navy);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.ayc-social-strip__inner > div:first-child > p:last-child {
  margin: 0;
  color: var(--ayc-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ayc-social-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.ayc-social-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-top: 4px solid var(--ayc-gold);
  color: var(--ayc-navy) !important;
  background: #ffffff;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(3,24,38,0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.ayc-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(3,24,38,0.14);
}

.ayc-social-icon {
  display: flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ayc-navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.ayc-social-link small {
  display: block;
  margin-bottom: 3px;
  color: var(--ayc-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ayc-social-link strong {
  display: block;
  color: var(--ayc-navy);
  font-size: 1rem;
  line-height: 1.2;
}


/* Mobile */
@media (max-width: 760px) {

  .ayc-social-strip {
    padding: 58px 18px;
  }

  .ayc-social-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ayc-social-link {
    padding: 18px;
  }

  .ayc-social-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}
/* ============================================================
   AYC HEADER SOCIAL ICONS
   ============================================================ */

.ayc-header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}

.ayc-header-social a {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;

  color: #05243a !important;
  background: #f3f6f7;

  border-radius: 50%;
  text-decoration: none !important;

  font-size: 1rem;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.ayc-header-social a:hover {
  color: #ffffff !important;
  background: #05243a;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 960px) {
  .ayc-header-social {
    width: 100%;
    justify-content: center;
    margin: 14px 0 4px;
  }

  .ayc-header-social a {
    width: 38px;
    height: 38px;
  }
}
/* ============================================================
   AYC SOCIAL PLATFORM BADGES
   ============================================================ */

.ayc-social-link {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
}

.ayc-social-icon {
  display: flex !important;

  width: 52px !important;
  height: 52px !important;

  min-width: 52px !important;
  flex: 0 0 52px !important;

  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;

  color: #ffffff !important;
  background: #05243a !important;
}

.ayc-social-icon svg {
  display: block !important;

  width: 23px !important;
  height: 23px !important;

  fill: currentColor !important;
}

.ayc-social-link__text {
  display: block;
  min-width: 0;
}

.ayc-social-link__text small {
  display: block;
}

.ayc-social-link__text strong {
  display: block;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

  .ayc-social-icon {
    width: 46px !important;
    height: 46px !important;

    min-width: 46px !important;
    flex-basis: 46px !important;
  }

  .ayc-social-icon svg {
    width: 21px !important;
    height: 21px !important;
  }
}
.ayc-social-icon img {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  object-fit: contain !important;
}