/*
 * SwingDesire Clubs Directory.
 *
 * The page is built from the site's own classes: sd-main-hero,
 * sd-main-section, sd-main-eyebrow, sd-main-button, sd-home-faq-item,
 * sd-main-community-card and sd-main-final-cta. Only what the site
 * doesn't already have lives here. The light band and white cards
 * match the Events page.
 */

/* The site's overflow: hidden would stop the details card sticking. */
.sd-main-content.sdcd-page {
    overflow: clip;
}

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


/* Hero: shorter than the homepage, as the search follows it. */

.sdcd-hero.sd-main-hero {
    min-height: 620px;
}

.sdcd-hero .sd-main-hero-inner {
    padding-top: 60px;
    padding-bottom: 120px;
}

.sdcd-hero .sd-main-hero-description {
    font-size: 18px;
}


body.sd-mainsite .sdcd-club-logo {
    width: 96px;
    height: 96px;
    margin-bottom: 22px;
    padding: 4px;
    border-radius: 11px;
    background: #ffffff;
}

body.sd-mainsite .sdcd-club-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 11px;
}


/* Search */

.sdcd-search-wrap {
    z-index: 3;
    margin-top: -86px;
}

.sdcd-search {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.98), rgba(14, 10, 19, 0.98));
    box-shadow: var(--sd-main-shadow, 0 24px 60px rgba(0, 0, 0, 0.5));
}

.sdcd-search-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.sdcd-search-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.sd-mainsite .sdcd-search label {
    display: block;
    margin: 0;
    color: var(--sd-main-muted);
    font-size: 15px;
    font-weight: 600;
}

body.sd-mainsite .sdcd-search label > span {
    display: block;
    margin-bottom: 6px;
}

body.sd-mainsite .sdcd-search input,
body.sd-mainsite .sdcd-search select {
    width: 100%;
    height: 55px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background-color: var(--sd-main-black-soft);
    box-shadow: none;
    color: #ffffff;
    font-size: 17px;
}

body.sd-mainsite .sdcd-search input:focus,
body.sd-mainsite .sdcd-search select:focus {
    border-color: var(--sd-main-pink);
    outline: none;
}

body.sd-mainsite .sdcd-search input::placeholder {
    color: var(--sd-main-muted);
    opacity: 1;
}

body.sd-mainsite .sdcd-search select option {
    background: var(--sd-main-panel);
    color: #ffffff;
}

body.sd-mainsite .sdcd-location {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    color: var(--sd-main-gold);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}


/* Main club section, dark like the rest of the page */

.sdcd-light {
    position: relative;
    padding: 90px 0;
}

.sdcd-light-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.sdcd-light-heading .sd-main-eyebrow {
    margin-bottom: 10px;
}

body.sd-mainsite .sdcd-light-heading h2 {
    margin-bottom: 0;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 0.98;
}

body.sd-mainsite .sdcd-light-heading h2 span {
    display: block;
    color: var(--sd-main-pink-light);
}

.sdcd-light-intro {
    margin-top: 16px;
    color: var(--sd-main-muted);
    font-size: 18px;
    line-height: 1.8;
}

body.sd-mainsite .sdcd-count {
    margin: 14px 0 0;
    color: var(--sd-main-muted);
    font-size: 17px;
    font-weight: 600;
}

.sdcd-map-notice {
    margin-bottom: 28px;
    padding: 16px 20px;
    border: 1px dashed var(--sd-main-border-strong);
    border-radius: 11px;
    color: var(--sd-main-muted-light);
    font-size: 16px;
    text-align: center;
}


/* Map */

.sdcd-map {
    display: none;
    height: 480px;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 11px;
    background: #17101f;
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.sdcd-map.is-open {
    display: block;
}

@media (min-width: 761px) {

    .sdcd-map {
        display: block;
    }
}

.sdcd-map-toggle.sd-main-button {
    display: none;
}

body.sd-mainsite .sdcd-map svg {
    width: auto;
    height: auto;
}

body.sd-mainsite .sdcd-map .leaflet-bar a {
    color: #281a30;
}

body.sd-mainsite .sdcd-map img {
    display: inline;
    max-width: none;
    max-height: none;
}

.sdcd-pin {
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #7b2cff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sdcd-pin.is-partner {
    background: var(--sd-main-pink);
}

.sdcd-map .marker-cluster {
    border-radius: 50%;
    background: rgba(223, 10, 143, 0.3);
}

.sdcd-map .marker-cluster div {
    width: 30px;
    height: 30px;
    margin: 5px;
    border-radius: 50%;
    background: var(--sd-main-pink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

.sdcd-popup {
    display: grid;
    gap: 2px;
    min-width: 150px;
    color: #281a30;
    font-size: 15px;
}

.sdcd-popup strong {
    font-size: 17px;
}

body.sd-mainsite .sdcd-popup a {
    margin-top: 6px;
    color: #b82ee7;
    font-weight: 700;
}


/* Club cards */

.sdcd-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
    justify-content: center;
    gap: 28px;
}

.sdcd-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.95), rgba(14, 10, 19, 0.95));
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sdcd-card:hover {
    border-color: rgba(205, 13, 135, 0.35);
    transform: translateY(-4px);
}

body.sd-mainsite .sdcd-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: var(--sd-main-text);
}

.sdcd-card-media {
    position: relative;
    display: flex;
    aspect-ratio: 3 / 2;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--sd-main-panel-light);
}

body.sd-mainsite .sdcd-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sdcd-card:hover .sdcd-card-image {
    transform: scale(1.04);
}

body.sd-mainsite .sdcd-card-logo {
    max-width: 50%;
    max-height: 60%;
    object-fit: contain;
}

.sdcd-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 7px;
    background: var(--sd-main-pink);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.sdcd-badge.is-closed {
    top: auto;
    bottom: 16px;
    background: rgba(5, 4, 7, 0.85);
}

.sdcd-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

body.sd-mainsite .sdcd-card-place {
    margin-bottom: 8px;
    color: var(--sd-main-gold);
    font-size: 15px;
    font-weight: 600;
}

.sdcd-card-distance {
    color: var(--sd-main-pink-light);
    font-weight: 700;
}

.sdcd-card-distance::before {
    content: "\00b7\00a0";
}

body.sd-mainsite .sdcd-card-body h3 {
    margin-bottom: 12px;
    font-family: var(--sd-main-heading-font);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.12;
}

body.sd-mainsite .sdcd-card-nights {
    margin: 0 0 8px;
    padding: 0;
    color: var(--sd-main-muted-light);
    font-size: 16px;
    line-height: 1.6;
    list-style: none;
}

body.sd-mainsite .sdcd-card-welcome {
    margin-bottom: 0;
    color: var(--sd-main-muted);
    font-size: 15px;
}

.sdcd-card-more {
    margin-top: auto;
    padding-top: 18px;
    color: var(--sd-main-pink-light);
    font-size: 16px;
    font-weight: 700;
}

.sdcd-empty {
    padding: 48px 20px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
    background: var(--sd-main-panel);
    color: var(--sd-main-muted);
    text-align: center;
}


/* Regions */

body.sd-mainsite .sdcd-regions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.sd-mainsite .sdcd-regions a {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 26px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.95), rgba(14, 10, 19, 0.95));
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

body.sd-mainsite .sdcd-regions a:hover {
    border-color: rgba(205, 13, 135, 0.35);
    transform: translateY(-3px);
}

.sdcd-regions small {
    flex-shrink: 0;
    color: var(--sd-main-gold);
    font-size: 15px;
    font-weight: 700;
}


/* Spotlights */

.sdcd-spotlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.sdcd-spotlight.sd-main-community-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.sdcd-spotlight small,
.sdcd-night small {
    margin-bottom: 10px;
    color: var(--sd-main-gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sdcd-spotlight.sd-main-community-card h3,
.sdcd-spotlight.sd-main-community-card p {
    max-width: none;
}

.sdcd-spotlight.sd-main-community-card p {
    margin-bottom: 18px;
    font-size: 17px;
    line-height: 1.7;
}

.sdcd-spotlight-link {
    margin-top: auto;
    color: var(--sd-main-pink-light);
    font-size: 16px;
    font-weight: 700;
}


/* First visit */

.sdcd-first {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 70px;
}

body.sd-mainsite .sdcd-first-title {
    margin-bottom: 22px;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 0.98;
}

.sdcd-first-title span {
    display: block;
    color: var(--sd-main-pink-light);
}

.sdcd-first-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.sdcd-first-cards {
    display: grid;
    gap: 16px;
}

.sdcd-first-cards .sd-main-community-card {
    min-height: 0;
    padding: 24px 28px;
}

.sdcd-first-cards .sd-main-community-card h3 {
    max-width: none;
    margin-bottom: 6px;
    font-size: 22px;
}

.sdcd-first-cards .sd-main-community-card p {
    max-width: none;
    font-size: 16px;
    line-height: 1.6;
}


/* Club page */

body.sd-mainsite .sdcd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    padding-top: 22px;
    color: var(--sd-main-muted);
    font-size: 15px;
}

body.sd-mainsite .sdcd-breadcrumb a:hover {
    color: #ffffff;
}

body.sd-mainsite .sdcd-notice {
    margin-top: 22px;
    padding: 16px 20px;
    border: 1px solid var(--sd-main-gold);
    border-radius: 11px;
    color: #ffffff;
    font-size: 17px;
}

.sdcd-club-main {
    padding: 56px 0 90px;
}

.sdcd-club-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
    align-items: start;
    gap: 64px;
}

.sdcd-club-content,
.sdcd-club-side {
    min-width: 0;
}

.sdcd-block + .sdcd-block {
    margin-top: 64px;
}

body.sd-mainsite .sdcd-block h2 {
    margin-bottom: 26px;
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1;
}

.sdcd-block h2 span {
    color: var(--sd-main-pink-light);
}

.sdcd-prose {
    color: var(--sd-main-muted-light);
    font-size: 18px;
    line-height: 1.8;
}

body.sd-mainsite .sdcd-prose p {
    margin-bottom: 18px;
}

body.sd-mainsite .sdcd-prose p.sd-main-eyebrow {
    color: var(--sd-main-gold);
}

body.sd-mainsite .sdcd-prose a {
    color: var(--sd-main-pink-light);
    text-decoration: underline;
}

.sdcd-nights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.sdcd-night.sd-main-community-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 26px 28px;
}

.sdcd-night.sd-main-community-card h3 {
    max-width: none;
    margin-bottom: 8px;
    font-size: 24px;
}

.sdcd-night.sd-main-community-card p {
    max-width: none;
    font-size: 16px;
    line-height: 1.6;
}

body.sd-mainsite .sdcd-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sdcd-chips li {
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.sdcd-club-side {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 22px;
}

.sdcd-details,
.sdcd-offer {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.95), rgba(14, 10, 19, 0.95));
}

body.sd-mainsite .sdcd-details h2,
body.sd-mainsite .sdcd-offer h2 {
    margin-bottom: 14px;
    font-size: 28px;
    line-height: 1.1;
}

.sdcd-details address {
    margin-bottom: 14px;
    color: var(--sd-main-muted-light);
    font-size: 17px;
    font-style: normal;
    line-height: 1.7;
}

body.sd-mainsite .sdcd-details p {
    margin-bottom: 10px;
    font-size: 17px;
}

body.sd-mainsite .sdcd-details p a,
body.sd-mainsite .sdcd-socials a {
    color: var(--sd-main-pink-light);
    font-weight: 600;
}

body.sd-mainsite .sdcd-details .sdcd-details-note {
    margin-top: 14px;
    margin-bottom: 0;
    color: var(--sd-main-muted);
    font-size: 15px;
}

body.sd-mainsite .sdcd-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.sdcd-offer {
    border-color: var(--sd-main-border-strong);
    background: linear-gradient(105deg, #5f1161, #361048 60%, #160b23 100%);
}

body.sd-mainsite .sdcd-offer p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 1.7;
}

.sdcd-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.sd-mainsite .sdcd-gallery a {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 11px;
}

body.sd-mainsite .sdcd-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.sd-mainsite .sdcd-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(24, 17, 30, 0.95), rgba(14, 10, 19, 0.95));
}

body.sd-mainsite .sdcd-review img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.sdcd-review > div {
    padding: 40px;
}

body.sd-mainsite .sdcd-review h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.05;
}

body.sd-mainsite .sdcd-review p:not(.sd-main-eyebrow) {
    margin-bottom: 18px;
    color: var(--sd-main-muted);
    font-size: 18px;
    line-height: 1.7;
}


body.sd-mainsite .sdcd-disclaimer {
    padding: 34px 0;
    color: var(--sd-main-muted);
    font-size: 15px;
    text-align: center;
}


/* Gallery lightbox */

.sdcd-lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(5, 4, 7, 0.96);
}

.sdcd-lightbox::backdrop {
    background: rgba(5, 4, 7, 0.96);
}

.sdcd-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.sd-mainsite .sdcd-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.sd-mainsite .sdcd-lightbox button {
    position: absolute;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.sdcd-lightbox-close {
    top: 14px;
    right: 14px;
}

.sdcd-lightbox-prev {
    top: calc(50% - 24px);
    left: 10px;
}

.sdcd-lightbox-next {
    top: calc(50% - 24px);
    right: 10px;
}


/* Smaller screens */

@media (max-width: 1070px) {

    .sdcd-first,
    .sdcd-club-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .sdcd-club-side {
        position: static;
    }
}

@media (max-width: 760px) {

    .sdcd-hero.sd-main-hero {
        min-height: 560px;
    }

    .sdcd-hero .sd-main-hero-inner {
        padding-top: 40px;
        padding-bottom: 110px;
    }

    body.sd-mainsite .sdcd-hero h1 {
        font-size: clamp(48px, 13vw, 66px);
    }

    .sdcd-search-wrap {
        margin-top: -90px;
    }

    .sdcd-search {
        padding: 16px;
    }

    .sdcd-search-main,
    .sdcd-search-filters,
    body.sd-mainsite .sdcd-regions,
    .sdcd-nights {
        grid-template-columns: minmax(0, 1fr);
    }

    .sdcd-light {
        padding: 60px 0;
    }

    .sdcd-light-heading {
        margin-bottom: 32px;
    }

    .sdcd-map {
        height: 380px;
        margin-bottom: 28px;
        border-radius: 16px;
    }

    .sdcd-map-toggle.sd-main-button {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
    }

    .sdcd-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .sdcd-card-body {
        padding: 22px;
    }

    .sdcd-first-actions .sd-main-button {
        width: 100%;
    }

    .sdcd-club-main {
        padding: 36px 0 56px;
    }

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

    body.sd-mainsite .sdcd-review {
        grid-template-columns: minmax(0, 1fr);
    }

    body.sd-mainsite .sdcd-review img {
        height: 220px;
        min-height: 0;
    }

    .sdcd-review > div {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sdcd-card,
    .sdcd-card-image {
        transition: none;
    }

    .sdcd-card:hover,
    .sdcd-card:hover .sdcd-card-image {
        transform: none;
    }
}


/* Visiting box buttons */

.sdcd-offer-buttons {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.sdcd-offer-buttons .sd-main-button {
    width: 100%;
    min-height: 50px;
    padding: 0 18px;
    font-size: 16px;
}


/* Read more on the club description */

.sdcd-read-more {
    position: relative;
}

.sdcd-read-more[open] {
    padding-bottom: 34px;
}

.sdcd-read-more summary {
    display: inline-block;
    color: var(--sd-main-pink-light);
    font-size: 16px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.sdcd-read-more summary::-webkit-details-marker {
    display: none;
}

.sdcd-read-more summary::after {
    content: "Read more";
}

.sdcd-read-more[open] summary {
    position: absolute;
    bottom: 0;
    left: 0;
}

.sdcd-read-more[open] summary::after {
    content: "Read less";
}


/* Phones: no spare space above the club banner text. */

@media (max-width: 760px) {

    .sdcd-hero.sdcd-club-hero.sd-main-hero {
        min-height: 0;
    }

    .sdcd-hero.sdcd-club-hero .sd-main-hero-inner {
        min-height: 0;
        padding-top: 110px;
        padding-bottom: 44px;
    }
}


.sd-main-hero-media picture {
    display: block;
    width: 100%;
    height: 100%;
}


/* Soft purple page, fading out of the banner with no hard line. */

.sd-main-content.sdcd-page-club {
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(123, 44, 255, 0.1),
            transparent 40%
        ),
        #0a0710;
}

.sdcd-breadcrumb {
    position: relative;
}

.sdcd-breadcrumb::before {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 240px;
    margin-left: -50vw;
    background: linear-gradient(180deg, #050407, transparent);
    content: "";
    pointer-events: none;
}

@media (max-width: 760px) {

    .sd-main-content.sdcd-page-club {
        background:
            radial-gradient(
                circle at 78% 18%,
                rgba(123, 44, 255, 0.06),
                transparent 40%
            ),
            #0a0710;
    }
}


/* Nearby clubs with no photo get the same dark art as the main page. */

.sdcd-card-media {
    background:
        radial-gradient(circle at 26% 15%, rgba(221, 75, 219, 0.25), transparent 41%),
        radial-gradient(circle at 90% 81%, rgba(126, 44, 255, 0.23), transparent 52%),
        linear-gradient(132deg, #24132f, #090b18 65%, #571240);
}
