/* =========================================================
   TCG Homepage — Locations / UK Coverage
   ========================================================= */

body.home .tcg-location {
    background: #fff;
    color: #252525;
    overflow: hidden;
}

body.home .tcg-location *,
body.home .tcg-location *::before,
body.home .tcg-location *::after {
    box-sizing: border-box;
}

body.home .tcg-location__inner {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 120px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
    gap: clamp(60px, 8vw, 120px);
    align-items: center;
}

body.home .tcg-location__copy {
    max-width: 650px;
}

body.home .tcg-location__overline {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #d69942;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.home .tcg-location__overline::before {
    content: "";
    width: 42px;
    height: 2px;
    flex: 0 0 42px;
    background: #d69942;
}

body.home .tcg-location__title {
    margin: 0;
    color: #252525;
    font-size: clamp(46px, 5.1vw, 76px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.045em;
    text-transform: uppercase;
}

body.home .tcg-location__title span {
    display: block;
    color: #d69942;
}

body.home .tcg-location__strapline {
    margin: 30px 0 0;
    color: #333;
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.35;
    font-weight: 600;
}

body.home .tcg-location__rule {
    width: 70px;
    height: 3px;
    margin: 30px 0;
    background: #d69942;
}

body.home .tcg-location__text {
    max-width: 620px;
    margin: 0;
    color: #626262;
    font-size: 17px;
    line-height: 1.75;
}

body.home .tcg-location__text + .tcg-location__text {
    margin-top: 16px;
}

body.home .tcg-location__related {
    margin: 22px 0 0;
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

body.home .tcg-location__related a {
    color: #9a6424;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(154, 100, 36, .45);
    text-underline-offset: 3px;
}

body.home .tcg-location__related a:hover,
body.home .tcg-location__related a:focus-visible {
    color: #6f4519;
    text-decoration-color: currentColor;
}

body.home .tcg-location__related a:focus-visible {
    outline: 2px solid #d69942;
    outline-offset: 3px;
}

body.home .tcg-location__places {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

body.home .tcg-location__places li {
    position: relative;
    color: #333;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.home .tcg-location__places li:not(:last-child)::after {
    content: "•";
    margin-left: 14px;
    color: #d69942;
}

body.home .tcg-location__media {
    position: relative;
    margin: 0;
}

body.home .tcg-location__media::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 64%;
    height: 64%;
    right: -24px;
    bottom: -24px;
    background: #d69942;
}

body.home .tcg-location__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

body.home .tcg-location__label {
    position: absolute;
    z-index: 2;
    left: -30px;
    bottom: 32px;
    padding: 16px 22px;
    background: #111;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

body.home .tcg-location__label strong {
    color: #d69942;
    font-weight: 800;
}

@media (max-width: 900px) {
    body.home .tcg-location__inner {
        width: min(720px, calc(100% - 48px));
        padding: 90px 0;
        grid-template-columns: 1fr;
        gap: 60px;
    }

    body.home .tcg-location__copy {
        max-width: none;
    }

    body.home .tcg-location__media {
        width: min(600px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    body.home .tcg-location__inner {
        width: calc(100% - 36px);
        padding: 72px 0 82px;
        gap: 48px;
    }

    body.home .tcg-location__title {
        font-size: clamp(38px, 12vw, 54px);
        line-height: .97;
    }

    body.home .tcg-location__strapline {
        margin-top: 24px;
        font-size: 19px;
    }

    body.home .tcg-location__rule {
        margin: 24px 0;
    }

    body.home .tcg-location__text {
        font-size: 16px;
        line-height: 1.7;
    }

    body.home .tcg-location__places {
        gap: 12px;
        margin-top: 28px;
    }

    body.home .tcg-location__places li {
        font-size: 10px;
    }

    body.home .tcg-location__places li:not(:last-child)::after {
        margin-left: 12px;
    }

    body.home .tcg-location__media::before {
        right: -12px;
        bottom: -12px;
    }

    body.home .tcg-location__label {
        left: 14px;
        bottom: 14px;
        padding: 12px 15px;
        font-size: 9px;
    }
}


/* =========================================================
   Interactive location selector
   ========================================================= */

body.home .tcg-location__panels {
    position: relative;
}

body.home .tcg-location__panel {
    animation: tcgLocationFade .28s ease both;
}

@keyframes tcgLocationFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.home .tcg-location__places li {
    display: flex;
    align-items: center;
}

body.home .tcg-location__place {
    position: relative;
    appearance: none;
    border: 0;
    margin: 0;
    padding: 8px 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
    transition:
        color .2s ease,
        transform .2s ease;
}

body.home .tcg-location__place::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: #d69942;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}

body.home .tcg-location__place:hover,
body.home .tcg-location__place:focus-visible,
body.home .tcg-location__place.is-preview,
body.home .tcg-location__place.is-active {
    color: #d69942;
}

body.home .tcg-location__place:hover::before,
body.home .tcg-location__place:focus-visible::before,
body.home .tcg-location__place.is-preview::before,
body.home .tcg-location__place.is-active::before {
    transform: scaleX(1);
}

body.home .tcg-location__place:focus-visible {
    outline: 2px solid #d69942;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    body.home .tcg-location__panel {
        animation: none;
    }

    body.home .tcg-location__place,
    body.home .tcg-location__place::before {
        transition: none;
    }
}


/* =========================================================
   Interactive location selector
   ========================================================= */

body.home .tcg-location__panels {
    position: relative;
}

body.home .tcg-location__panel {
    animation: tcgLocationFade .28s ease both;
}

@keyframes tcgLocationFade {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.home .tcg-location__places li {
    display: flex;
    align-items: center;
}

body.home .tcg-location__place {
    position: relative;
    appearance: none;
    border: 0;
    margin: 0;
    padding: 8px 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
    transition:
        color .2s ease,
        transform .2s ease;
}

body.home .tcg-location__place::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    background: #d69942;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .22s ease;
}

body.home .tcg-location__place:hover,
body.home .tcg-location__place:focus-visible,
body.home .tcg-location__place.is-preview,
body.home .tcg-location__place.is-active {
    color: #d69942;
}

body.home .tcg-location__place:hover::before,
body.home .tcg-location__place:focus-visible::before,
body.home .tcg-location__place.is-preview::before,
body.home .tcg-location__place.is-active::before {
    transform: scaleX(1);
}

body.home .tcg-location__place:focus-visible {
    outline: 2px solid #d69942;
    outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
    body.home .tcg-location__panel {
        animation: none;
    }

    body.home .tcg-location__place,
    body.home .tcg-location__place::before {
        transition: none;
    }
}

/* Mobile heading alignment fix - Sep 2026 */
@media (max-width: 600px) {
    body.home .tcg-location__title {
        font-size: clamp(36px, 11vw, 50px);
        line-height: 1.06;
        letter-spacing: -0.02em;
    }
}

/* FINAL mobile location heading fix */
@media screen and (max-width: 600px) {
    body.home .tcg-location__title {
        font-size: 36px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.025em !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.home .tcg-location__title span {
        line-height: inherit !important;
    }
}
