/* Live course-site integration: public carousel and footer surfaces. */
        .course2-carousel {
            position: relative;
            overflow: visible;
            width: 100%;
            max-width: 1320px;
            margin: 0 auto;
            --course2-carousel-card-width: clamp(150px, 17vw, 220px);
        }
        .course2-carousel-track {
            display: flex;
            flex-wrap: nowrap;
            gap: 1.25rem;
            width: 100%;
            overflow-x: auto;
            overflow-y: hidden;
            padding: .5rem max(.25rem, calc((100% - var(--course2-carousel-card-width)) / 2)) 1.25rem;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior-x: contain;
        }
        .course2-carousel-track::-webkit-scrollbar { display: none; }
        .course2-carousel.course2-carousel-continuous {
            overflow: hidden;
        }
        .course2-carousel.course2-carousel-continuous .course2-carousel-track {
            overflow-x: hidden;
            padding-right: 0;
            padding-left: 0;
            scroll-behavior: auto;
            scroll-snap-type: none;
        }
        .course2-carousel.course2-carousel-continuous .course2-carousel-item {
            scroll-snap-align: none;
        }
        .course2-carousel.course2-carousel-single .course2-carousel-track {
            justify-content: center;
            overflow-x: hidden;
            padding-right: .25rem;
            padding-left: .25rem;
            scroll-snap-type: none;
        }
        .course2-carousel-item {
            flex: 0 0 var(--course2-carousel-card-width) !important;
            width: var(--course2-carousel-card-width) !important;
            max-width: var(--course2-carousel-card-width) !important;
            margin: 0 !important;
            padding: 0 !important;
            scroll-snap-align: center;
        }

  .d3f2,
  .d3f2 * {
    box-sizing: border-box;
  }

  .d3f2 {
    --d3f2-ink: #000000;
    --d3f2-green: #198754;
    --d3f2-lime: #a4ff2f;
    --d3f2-white: #fff;
    position: relative;
    overflow: hidden;
    padding: clamp(36px, calc(2vw + 20px), 48px) 0 28px;
    color: var(--d3f2-white);
    background: var(--d3f2-ink);
  }

  .d3f2::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--d3f2-green), var(--d3f2-lime), var(--d3f2-green));
  }

  .d3f2-shell {
    width: min(1480px, calc(100% - 48px));
    margin-inline: auto;
  }

  .d3f2-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 32px;
    padding-bottom: clamp(8px, calc(6vw - 40px), 38px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .d3f2-cta.is-logged-in {
    grid-template-columns: 1fr;
  }

  .d3f2-cta.is-logged-in .d3f2-title {
    max-width: none;
  }

  .d3f2-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--d3f2-lime);
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
  }

  .d3f2-kicker::before {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--d3f2-lime);
    content: "";
  }

  .d3f2-title {
    color: #fff;
    max-width: 970px;
    margin: 0;
    font-size: clamp(2.6rem, 5.6vw, 6rem);
    font-weight: 850;
    letter-spacing: -.055em;
    line-height: .95;
  }

  .d3f2-title em {
    color: var(--d3f2-lime);
    font-style: normal;
  }

  .d3f2-demo {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 999px;
    color: var(--d3f2-ink);
    background: var(--d3f2-lime);
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .26);
    transition: transform .18s ease, background-color .18s ease;
  }

  .d3f2-demo:hover,
  .d3f2-demo:focus-visible {
    color: var(--d3f2-ink);
    background: #adf428;
    transform: translateY(-2px);
  }

  .d3f2-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, .65fr));
    gap: clamp(34px, 5vw, 76px);
    padding: clamp(18px, calc(6vw - 30px), 44px) 0 24px;
  }

  .d3f2-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
  }

  .d3f2-brand:hover,
  .d3f2-brand:focus-visible {
    color: #fff;
  }

  .d3f2-brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
  }

  .d3f2-brand-mark img {
    width: 47px;
    height: 38px;
    object-fit: contain;
  }

  .d3f2-brand-copy strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 850;
    letter-spacing: -.035em;
  }

  .d3f2-brand-copy .d3f2-brand-golf {
    color: var(--d3f2-lime);
    font-style: normal;
  }

  .d3f2-brand-copy span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .5);
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .d3f2-summary {
    max-width: 430px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, .62);
    line-height: 1.7;
  }

  .d3f2-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
  }

  .d3f2-socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: rgba(255, 255, 255, .8);
    background: rgba(255, 255, 255, .05);
    font-size: 1rem;
    text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
  }

  .d3f2-socials a:hover,
  .d3f2-socials a:focus-visible {
    border-color: var(--d3f2-lime);
    color: var(--d3f2-ink);
    background: var(--d3f2-lime);
    transform: translateY(-2px);
  }

  .d3f2-nav-title {
    display: block;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .d3f2-nav {
    display: grid;
    gap: 14px;
  }

  .d3f2-nav a {
    width: fit-content;
    color: rgba(255, 255, 255, .78);
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
  }

  .d3f2-nav a:hover,
  .d3f2-nav a:focus-visible {
    color: var(--d3f2-lime);
    transform: translateX(3px);
  }

  .d3f2-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 27px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .45);
    font-size: .82rem;
  }

  .d3f2-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .d3f2-legal a {
    color: rgba(255, 255, 255, .58);
    text-decoration: none;
  }

  .d3f2-legal a:hover,
  .d3f2-legal a:focus-visible {
    color: var(--d3f2-lime);
  }

  @media (max-width: 991.98px) {
    .d3f2-cta {
      grid-template-columns: 1fr;
      align-items: start;
    }

    .d3f2-main {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .d3f2-intro {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 575.98px) {
    .d3f2 {
      padding-top: 51px;
    }

    .d3f2-shell {
      width: calc(100% - 28px);
    }

    .d3f2-title {
      font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .d3f2-demo {
      width: 100%;
    }

    .d3f2-main {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 38px 24px;
    }

    .d3f2-intro,
    .d3f2-nav-group:last-child {
      grid-column: 1 / -1;
    }

    .d3f2-bottom {
      align-items: flex-start;
      flex-direction: column;
    }
  }

/* Saved website theme values cannot turn the standard Dash header white. */
body.course-site-standard .site-nav { background: #000 !important; color:#fff !important; transition:transform .28s ease; }
body.course-site-standard .site-nav.is-hidden { transform:translateY(calc(-100% - 2px)); }
body.course-site-standard .site-nav :is(.navbar-brand,.navbar-brand span,.site-nav-account-link,.site-nav-desktop-toggle,.site-nav-menu-button) { color:#fff !important; }
body.course-site-standard .site-nav-desktop-toggle { font-size:.92rem; font-weight:750; background:transparent; }
body.course-site-standard .site-nav-desktop-toggle:hover { background:rgba(255,255,255,.09); }
/* These rails belong to the reference component, not the legacy centered carousel. */
.course-site-standard .course2-carousel-track { position:relative; }
.course-site-standard .course2-carousel-continuous .course2-carousel-track { justify-content:flex-start; }
.course-site-standard .course2-carousel-item { padding:0 !important; opacity:1 !important; transform:none !important; }
.course-site-standard .course2-carousel-item .course-site-public-card { width:100%; }
.course-site-standard .course2-carousel-controls button { width:46px; height:46px; border-radius:50%; }
.course-site-standard .course2-carousel-controls { display:flex; justify-content:center; gap:.75rem; margin-top:1rem; }
.course-site-standard .course2-carousel-controls[hidden] { display:none !important; }
.course-site-standard .course-feature-carousel-shell { overflow:hidden; }
/* Public gallery always has six/four/two thumbnails, regardless of saved rail settings. */
.course-site-standard [data-course-card-type="gallery"] .course-site-gallery-grid { display:grid !important; grid-template-columns:repeat(6,minmax(0,1fr)) !important; gap:1rem !important; padding:0 !important; margin:0 !important; overflow:visible !important; }
.course-site-standard [data-course-card-type="gallery"] .course-site-gallery-grid > * { width:auto !important; max-width:none !important; padding:0 !important; margin:0 !important; transform:none !important; }
.course-site-standard .course-site-gallery-grid > :nth-child(n+7) { display:none; }
.course-site-standard .course-site-gallery-grid .gallery-img { height:100% !important; aspect-ratio:1 !important; }
.course-site-standard .course-site-empty-state { text-align:center; padding:3rem 1.5rem; }
.course-site-empty-icon { display:inline-flex; width:80px; height:80px; align-items:center; justify-content:center; border-radius:50%; background:#f8f9fa; color:#6c757d; font-size:2.5rem; margin-bottom:1rem; }
.course-site-empty-state p { margin:0; color:#6c757d; }
/* Public native membership cards and dialogs; no website item-card overrides. */
.course-site-standard .public-membership-card .card-header.bg-success-gradient { background:linear-gradient(135deg,#0c3b27,#198754 70%,#25a66a); }
.course-site-standard .public-membership-details-modal .modal-header { background:linear-gradient(135deg,#0c3b27,#198754 70%,#25a66a); color:#fff; }
.course-site-standard .public-membership-details-modal .modal-content { border:0; border-radius:1rem; }
.course-site-standard .public-membership-details-modal .modal-body { color:#20252a; }
.course-site-contact-link { display:inline-flex; align-items:center; gap:.65rem; padding:.65rem 1.2rem; border:1px solid #198754; border-radius:50rem; color:#198754; font-weight:700; text-decoration:none; margin:.35rem; }
.course-site-contact-link:hover { background:#198754; color:#fff; }
body.course-site-standard footer.d3f2 { background:#000 !important; color:#fff !important; padding:clamp(36px,calc(2vw + 20px),48px) 0 28px !important; }
.course-site-standard footer.d3f2 .d3f2-main { align-items:start; }
.course-site-standard footer.d3f2 .d3f2-nav a { color:rgba(255,255,255,.7) !important; }
@media(max-width:991.98px) { .course-site-standard [data-course-card-type="gallery"] .course-site-gallery-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; } .course-site-standard .course-site-gallery-grid > :nth-child(n+5) { display:none; } }
@media(max-width:767.98px) { .course2-carousel-item { flex-basis:min(41vw,170px) !important; width:min(41vw,170px) !important; max-width:min(41vw,170px) !important; } .course-site-standard [data-course-card-type="gallery"] .course-site-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:.75rem !important; } .course-site-standard .course-site-gallery-grid > :nth-child(n+3) { display:none; } }
.d3f2-contact-link { display:block; color:rgba(255,255,255,.7); text-decoration:none; margin-bottom:.5rem; }
.d3f2-contact-link:hover { color:#fff; }
/* Match the public tab's padded membership container (416px cards at desktop). */
.course-site-standard [data-course-card-type="course_memberships"] > .container { padding-left:12px; padding-right:12px; }
.course-site-standard [data-course-card-type="course_memberships"] > .container > .row { margin-left:-12px; margin-right:-12px; }

/* Five previews and one more-photos tile remain available at every breakpoint. */
.course-site-standard .course-site-gallery-grid > :nth-child(-n+6) { display:block; }
.course-site-standard .course-gallery-more { position:relative;width:25%!important;height:auto!important;aspect-ratio:1;margin:auto;border:1px solid var(--course-primary)!important;border-radius:.5rem;background:transparent!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center; }
.course-site-standard .course-site-gallery-grid > :has(.course-gallery-more) { display:flex;align-items:center;justify-content:center; }
.course-site-standard .course-gallery-more .gallery-img { display:none; }
.course-site-standard .course-gallery-more .course-gallery-thumb-expand { display:none; }
.course-site-standard .course-gallery-more-sign { display:flex;align-items:center;justify-content:center;color:var(--course-primary);font-size:1.75rem;line-height:1;font-weight:300; }
.course-site-standard .course-gallery-more { min-width:44px;min-height:44px; }
.course-site-standard .course-gallery-album-list { list-style:none;padding:0;margin:1.5rem 0 0; }
.course-site-standard .course-gallery-album-list button { background:transparent;border:0;border-bottom:1px solid color-mix(in srgb,var(--course-primary) 18%,transparent);color:var(--course-primary);padding:.85rem 0;font:inherit;font-weight:600;text-align:left;cursor:pointer; }
.course-site-standard .course-gallery-album-list button:hover { text-decoration:underline; }
.course-site-standard .course-gallery-album-list button:focus-visible { outline:2px solid var(--course-primary);outline-offset:4px; }

/* A compact text control opens the full gallery when more photos are available. */
.course-site-standard .course-gallery-more { width:auto!important;min-width:100px;min-height:44px;aspect-ratio:auto;padding:.65rem 1rem!important; }
.course-site-standard .course-gallery-more-sign { font:inherit;font-weight:600;white-space:nowrap; }
.course-site-standard .course-gallery-album-list { display:flex;flex-wrap:wrap;gap:.75rem; }
.course-site-standard .course-gallery-album-list button { border:1px solid var(--course-primary);border-radius:.65rem;padding:.85rem 1.1rem; }

/* Start every sponsor/offer row at the left, including single-card rows. */
.course-site-standard .course2-carousel .course2-carousel-track{justify-content:flex-start!important}
.course-site-standard .course2-carousel-single .course2-carousel-item{margin-inline:0!important}
/* Leave space inside the clipped rail for card shadows at either edge. */
.course-site-standard .course2-carousel .course2-carousel-track {
    padding:1rem 1rem 1.75rem;
    scroll-padding-inline:1rem;
}
