/* ── Lidkaart page (page-lidkaart.php) ─────────────────────────────────────
   Hero: illustrated member card (markup in the template).
   Body: blocks with these classes (Block → Geavanceerd → "Extra CSS-klasse(n)"):
     gk-lid-intro         group      – intro (paragraph: gk-lead)
     gk-shops             group      – heading + gk-shop-list
       gk-shop-list       group      – grid of shop cards
         gk-shop          group      – one shop. To add a shop: select a gk-shop
                                       group → ⋮ → Dupliceren, then edit the texts/links.
           gk-shop__city     paragraph – small label above the name
           gk-shop__name     heading   – shop name (H3)
           gk-shop__address  paragraph – street<br>postcode city
           gk-shop__links    paragraph – links: 1st = Route (filled), 2nd = Website
     gk-lid-cta           group      – "Jouw winkel erbij?" (links paragraph: gk-lid-cta__links)
   Icons use the theme's Font Awesome 5.
   ───────────────────────────────────────────────────────────────────────── */

/* Classic themes wrap group contents in an extra div; let grid/flex see the real children. */
.gk-lidkaart .wp-block-group > .wp-block-group__inner-container {
    display: contents;
}

/* ── Hero member card ── */
.gk-lid-hero {
    padding-bottom: 3rem;
}
.gk-member-card {
    position: relative;
    width: min(340px, 100%);
    aspect-ratio: 1.586;
    margin: 0.5rem auto 2.25rem;
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: white;
    border-radius: 16px;
    border: 1px solid rgba(181, 23, 239, 0.45);
    background:
        radial-gradient(circle at 88% 12%, rgba(181, 23, 239, 0.55) 0%, transparent 55%),
        linear-gradient(135deg, rgb(16, 10, 32) 0%, rgb(28, 16, 52) 55%, rgb(62, 16, 92) 100%);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55), 0 0 45px rgba(181, 23, 239, 0.25);
    overflow: hidden;
    transform: rotate(-4deg);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    animation: gkCardIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gk-member-card:hover {
    transform: rotate(0deg) translateY(-4px);
}
/* faint grid, like the rest of the site */
.gk-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(181, 23, 239, 0.08) 24px),
        repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(181, 23, 239, 0.08) 24px);
    pointer-events: none;
}
/* holographic sheen that sweeps across on hover */
.gk-member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.14) 48%, transparent 60%);
    background-size: 250% 100%;
    background-position: 100% 0;
    transition: background-position 0.8s ease;
    pointer-events: none;
}
.gk-member-card:hover::after {
    background-position: 0 0;
}
.gk-member-card > * {
    position: relative;
    z-index: 1;
}
.gk-member-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.gk-member-card__logo {
    height: 30px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(181, 23, 239, 0.5));
}
.gk-member-card__icon {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.55);
}
.gk-member-card__chip {
    width: 44px;
    height: 33px;
    border-radius: 7px;
    background:
        linear-gradient(90deg, transparent 45%, rgba(60, 40, 90, 0.35) 45%, rgba(60, 40, 90, 0.35) 55%, transparent 55%),
        linear-gradient(0deg, transparent 30%, rgba(60, 40, 90, 0.35) 30%, rgba(60, 40, 90, 0.35) 36%, transparent 36%, transparent 64%, rgba(60, 40, 90, 0.35) 64%, rgba(60, 40, 90, 0.35) 70%, transparent 70%),
        linear-gradient(135deg, #efeaf8 0%, #b8acd6 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.gk-member-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.gk-member-card__label {
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.2;
}
.gk-member-card__holder {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
@keyframes gkCardIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) translateY(30px);
    }
    to {
        opacity: 1;
        transform: rotate(-4deg);
    }
}
@media (prefers-reduced-motion: reduce) {
    .gk-member-card,
    .gk-member-card::after {
        animation: none;
        transition: none;
    }
}

/* ── Section headings — same treatment as the theme's section titles ── */
.gk-lidkaart h2.wp-block-heading {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin: 0 0 2rem;
    padding: 0 0 1.1rem;
    color: #0f0e1a;
    position: relative;
}
.gk-lidkaart h2.wp-block-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: rgb(181, 23, 239);
    border-radius: 2px;
}

/* ── Intro ── */
.gk-lid-intro {
    max-width: 720px;
    margin: 1.5rem auto 4rem;
    text-align: center;
}
.gk-lidkaart .gk-lid-intro p {
    color: rgba(15, 14, 26, 0.75);
    line-height: 1.8;
    margin: 0 0 1rem;
}
.gk-lidkaart .gk-lid-intro p.gk-lead {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #0f0e1a;
}

/* ── Shop cards ── */
.gk-shops {
    margin: 0 0 4rem;
}
.gk-shop-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.gk-shop {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.5rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid rgb(181, 23, 239);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gk-shop:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}
/* discount badge */
.gk-shop::after {
    content: '\f295';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    width: 2.6rem;
    height: 2.6rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.95rem;
    color: rgb(181, 23, 239);
    background: rgba(181, 23, 239, 0.1);
}
.gk-lidkaart .gk-shop__city {
    margin: 0;
    padding-right: 3.5rem;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgb(181, 23, 239);
}
.gk-lidkaart .gk-shop__name {
    margin: 0.2rem 0 1rem;
    padding-right: 3.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f0e1a;
}
.gk-lidkaart .gk-shop__address {
    position: relative;
    margin: 0 0 1.5rem;
    padding-left: 1.6rem;
    line-height: 1.6;
    color: rgba(15, 14, 26, 0.7);
}
.gk-lidkaart .gk-shop__address::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0.15rem;
    top: 0.05rem;
    color: rgb(181, 23, 239);
}
.gk-lidkaart .gk-shop__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: auto 0 0;
}
.gk-lidkaart .gk-shop__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border: 1.5px solid rgb(181, 23, 239);
    border-radius: 20px;
    background: transparent;
    color: rgb(181, 23, 239);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
}
.gk-lidkaart .gk-shop__links a::before {
    content: '\f35d'; /* external link */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
}
.gk-lidkaart .gk-shop__links a:first-child {
    background: rgb(181, 23, 239);
    color: white;
}
.gk-lidkaart .gk-shop__links a:first-child::before {
    content: '\f3c5'; /* map marker */
}
.gk-lidkaart .gk-shop__links a:hover {
    background: rgba(181, 23, 239, 0.08);
    color: rgb(181, 23, 239);
}
.gk-lidkaart .gk-shop__links a:first-child:hover {
    background: rgb(145, 10, 195);
    border-color: rgb(145, 10, 195);
    color: white;
}

/* ── "Jouw winkel erbij?" call to action ── */
.gk-lid-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    margin: 0 0 2rem;
    padding: 3rem 1.5rem;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(181, 23, 239, 0.14) 0%, transparent 55%),
        linear-gradient(to bottom, rgb(12, 8, 24) 0%, rgb(20, 14, 38) 100%);
}
.gk-lid-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(181, 23, 239, 0.05) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(181, 23, 239, 0.05) 40px);
    pointer-events: none;
}
.gk-lid-cta .wp-block-heading,
.gk-lid-cta p {
    position: relative;
}
.gk-lidkaart .gk-lid-cta h2.wp-block-heading {
    color: white;
}
.gk-lidkaart .gk-lid-cta h2.wp-block-heading::after {
    left: 50%;
    transform: translateX(-50%);
}
.gk-lidkaart .gk-lid-cta p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
    max-width: 560px;
}
.gk-lidkaart .gk-lid-cta p.gk-lid-cta__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: none;
    margin-top: 1.75rem;
}
.gk-lidkaart .gk-lid-cta__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.25s ease;
}
.gk-lidkaart .gk-lid-cta__links a::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 400;
    font-size: 1.1rem;
}
.gk-lidkaart .gk-lid-cta__links a[href*="instagram"]::before {
    content: '\f16d';
}
.gk-lidkaart .gk-lid-cta__links a[href*="discord"]::before {
    content: '\f392';
}
.gk-lidkaart .gk-lid-cta__links a:hover {
    background: rgba(181, 23, 239, 0.25);
    border-color: rgba(181, 23, 239, 0.7);
    color: white;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .gk-shop-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    /* same size as the theme's section titles on desktop */
    .gk-lidkaart h2.wp-block-heading {
        font-size: 46px;
    }
}
