/*
Theme Name: Underground Fayre
Theme URI: https://example.com/underground-fayre
Author: Underground Fayre
Description: Custom festival theme converted from the supplied Underground Fayre static design. Uses hierarchical WordPress pages for Line-up, Fayre, Tickets, Visit and Gallery listings.
Version: 1.1.2
Text Domain: underground-fayre
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=DM+Sans:wght@400;500;700;900&display=swap');

/* =========================================================
   VARIABLES / RESET
   ========================================================= */

:root {
    color-scheme: light;
	forced-color-adjust: none;
    --ink: #090b0a;
    --cream: #e9dfc7;
    --yellow: #e7b92e;
    --red: #b92f24;
    --green: #173629;
    --purple: #40264f;
    --night: #061013;
    --charcoal: #121715;
    --muted: #b9ab8b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: #0b100f;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 10%, rgba(231,185,46,.035), transparent 28rem),
        linear-gradient(#0b100f, #111613 42%, #0a0d0c);
    color: var(--cream);
    font-family: "DM Sans", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 12%, rgba(231,185,46,.05), transparent 20rem),
        radial-gradient(circle at 84% 25%, rgba(64,38,79,.08), transparent 28rem);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

button,
input,
select,
textarea {
    font: inherit;
    color-scheme: only light;
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1240px, 92%);
    margin-inline: auto;
}

h1,
h2,
h3 {
    font-family: "Archivo Black", Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px;
}

h1 {
    font-size: clamp(64px, 9vw, 135px);
    line-height: .88;
    margin: 15px 0;
    text-shadow: 6px 6px 0 var(--red);
}

h2 {
    font-size: clamp(46px, 6vw, 82px);
    line-height: .92;
    margin: 10px 0 25px;
}

h3 {
    letter-spacing: -1px;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.topbar {
    min-height: 38px;
    background: #050706;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 8px 4%;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.3px;
    line-height: 1.2;
    text-transform: uppercase;
}

.topbar b {
    color: var(--yellow);
}

/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.site-nav {
    min-height: 82px;
    background: rgba(5,7,6,.96);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 4%;
    position: relative;
    z-index: 1000;
}

.site-nav .logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    text-shadow: 0 0 22px rgba(231,185,46,.12);
}

.site-nav .logo img {
    display: block;
    width: auto;
    height: 65px;
    max-width: min(300px, 100%);
    object-fit: contain;
}

.mobile-menu-wrap {
    display: block;
    margin-left: auto;
}

.site-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 27px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-nav .menu li {
    margin: 0;
    padding: 0;
    position: relative;
}

.site-nav .menu a:hover {
    color: var(--yellow);
}

/* Desktop dropdown submenus */
@media (min-width: 901px) {

    .site-nav .menu > li {
        position: relative;
    }

    .site-nav .menu > li.menu-item-has-children > a {
        position: relative;
        padding-right: 17px;
    }

    .site-nav .menu > li.menu-item-has-children > a::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 6px;
        height: 6px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-65%) rotate(45deg);
    }

    .site-nav .menu > li > .sub-menu {
        list-style: none !important;
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: -18px !important;
        z-index: 1200 !important;
        min-width: 255px;
        margin: 0 !important;
        padding: 14px 0 0 !important;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    /* Actual dark dropdown panel */
    .site-nav .menu > li > .sub-menu::before {
        content: "";
        position: absolute;
        inset: 14px 0 0;
        z-index: -1;
        background: #0b100f;
        border-top: 3px solid var(--yellow);
        box-shadow: 0 16px 30px rgba(0,0,0,.5);
    }

    .site-nav .menu > li > .sub-menu > li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        list-style: none !important;
    }

    .site-nav .menu > li > .sub-menu > li > a {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 18px !important;
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
        white-space: nowrap;
        text-align: left !important;
        font-size: 11px;
        line-height: 1.25;
        letter-spacing: 1px;
    }

    .site-nav .menu > li > .sub-menu > li > a:hover,
    .site-nav .menu > li > .sub-menu > li > a:focus {
        background: rgba(231,185,46,.08) !important;
        color: var(--yellow) !important;
    }

    .site-nav .menu > li:hover > .sub-menu,
    .site-nav .menu > li:focus-within > .sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    /*
     * Important: only the final TOP LEVEL item gets the yellow CTA treatment.
     * This explicitly prevents a final submenu child from inheriting it.
     */
    .site-nav .menu > li:last-child > a {
        display: inline-block;
        background: var(--yellow);
        color: var(--ink) !important;
        padding: 14px 22px;
        font-weight: 900;
        box-shadow: 4px 4px 0 var(--red);
    }

    .site-nav .menu .sub-menu li:last-child > a {
        background: transparent !important;
        color: #fff !important;
        box-shadow: none !important;
    }

    .site-nav .menu .sub-menu li:last-child > a:hover,
    .site-nav .menu .sub-menu li:last-child > a:focus {
        background: rgba(231,185,46,.08) !important;
        color: var(--yellow) !important;
    }
}

/* General buy button class */
.buy {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink) !important;
    padding: 14px 22px;
    font-weight: 900;
    box-shadow: 4px 4px 0 var(--red);
}

/* Hamburger is hidden on desktop */
.menu-toggle {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    flex: 0 0 3px;
    width: 28px;
    height: 3px;
    min-height: 3px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform .25s ease, opacity .25s ease;
}

/* =========================================================
   HEROES
   ========================================================= */

/* Standard hero: used where you deliberately want text/overlay */
.hero {
    height: 690px;
    position: relative;
    overflow: hidden;
    background: #030708;
}

.hero > img,
.hero > picture,
.hero > picture > img {
    display: block;
    width: 100%;
    height: 100%;
}

.hero > img,
.hero > picture > img {
    object-fit: cover;
    object-position: center;
    filter: brightness(.76) saturate(.9) contrast(1.08);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.18) 72%),
        linear-gradient(0deg, rgba(0,0,0,.78), transparent 56%),
        radial-gradient(circle at 72% 35%, transparent, rgba(0,0,0,.2) 75%);
}

/* Clean hero: artwork shown exactly as supplied, on any page */
.hero.hero--clean,
.page-hero.page-hero--clean {
    width: 100%;
    height: auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
    background: #050706;
}

.hero.hero--clean > picture,
.page-hero.page-hero--clean > picture {
    display: block;
    width: 100%;
}

.hero.hero--clean img,
.page-hero.page-hero--clean img,
.page-hero--clean .removeFilter {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: none;
    object-fit: initial;
    filter: none !important;
    opacity: 1;
}

.hero.hero--clean::before,
.hero.hero--clean::after,
.page-hero.page-hero--clean::before,
.page-hero.page-hero--clean::after {
    content: none;
    display: none;
}

/* Inner-page hero */
.page-hero {
    position: relative;
    background: #050706;
    overflow: hidden;
}

.page-hero > img,
.page-hero > picture,
.page-hero > picture > img {
    display: block;
    width: 100%;
}

.page-hero > img,
.page-hero > picture > img {
    height: auto;
    object-fit: cover;
}

.page-hero:not(.page-hero--clean) > img,
.page-hero:not(.page-hero--clean) > picture > img {
    filter: brightness(.43) saturate(.82) contrast(1.08);
}

.hero-copy {
    position: absolute;
    z-index: 2;
    left: 6%;
    bottom: 70px;
    color: #fff;
    max-width: 700px;
}

.date,
.eyebrow {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
}

.hero .date {
    color: var(--yellow);
}

.hero p {
    font-size: 18px;
    line-height: 1.55;
    max-width: 600px;
}

.page-title {
    position: absolute;
    left: 6%;
    bottom: 55px;
    color: #fff;
    z-index: 2;
}

.page-title h1 {
    font-size: clamp(55px, 8vw, 100px);
    margin: 10px 0 0;
    color: #efe2bc;
}

/* =========================================================
   BUTTONS / ACTIONS / TICKER
   ========================================================= */

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.actions a {
    padding: 15px 23px;
    font-weight: 900;
    text-transform: uppercase;
}

.primary {
    background: var(--yellow);
    box-shadow: 4px 4px 0 #6f1f1a;
}

.secondary {
    border: 2px solid #fff;
    color: #fff;
}

.ticker {
    background: linear-gradient(90deg, #7d201a, #b92f24, #7d201a);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    font-family: "Archivo Black";
    font-size: 20px;
    padding: 12px 0;
    text-transform: uppercase;
}

.ticker span {
    margin-right: 55px;
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 90px 0;
}

.section + .section {
    border-top: 1px solid rgba(231,185,46,.08);
}

.dark {
    background: linear-gradient(180deg, #080b0a, #101512);
    color: var(--cream);
}

.green {
    background: linear-gradient(145deg, #132d23, #0c1e18);
    color: #fff;
}

.section h2 {
    color: #efe2bc;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.intro p,
.content p,
.news p {
    color: #cfc3a4;
}

.intro p,
.content p {
    font-size: 18px;
    line-height: 1.7;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 38px;
}

.section-head a {
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 3px solid var(--yellow);
    padding-bottom: 5px;
}

.stamp {
    background: var(--yellow);
    padding: 48px;
    transform: rotate(-3deg);
    box-shadow: 12px 12px 0 var(--red);
    text-align: center;
    color: #000;
    text-transform: uppercase;
}

.stamp strong {
    font-family: "Archivo Black";
    display: block;
    font-size: 72px;
    line-height: .9;
}

.stamp span {
    font-weight: 900;
    letter-spacing: 2px;
}

/* =========================================================
   HOMEPAGE LINE-UP CARDS
   ========================================================= */

.lineup {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.artist {
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #1a201d, #101411);
    border: 1px solid rgba(231,185,46,.15);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.artist:nth-child(2n) {
    background: linear-gradient(145deg, #7e211b, #4a1412);
}

.artist:nth-child(3n) {
    background: linear-gradient(145deg, #b78f1c, #7b5d11);
    color: #111;
}

.artist:hover {
    transform: translateY(-4px);
    border-color: rgba(231,185,46,.35);
    box-shadow: 0 16px 35px rgba(0,0,0,.32);
}

.artist-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    flex-shrink: 0;
    background: #111;
}

.artist-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.artist-content {
    flex: 1;
    padding: 12px 14px 14px;
}

.artist .time {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.artist h3 {
    font-size: 1.25rem;
    line-height: .95;
    margin: 0;
}

.artist h3 a {
    color: inherit;
}

.artist p {
    font-weight: 700;
}

/* =========================================================
   FULL LINE-UP PAGE
   ========================================================= */

.lineup-artists {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.lineup-artist {
    margin: 0;
    min-width: 0;
    background: #151515;
    border: 1px solid rgba(244,234,199,.25);
    overflow: hidden;
}

.lineup-artist-link {
    display: block;
    width: 100%;
    color: #f4eac7;
}

.lineup-artist-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.lineup-artist-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .25s ease;
}

.lineup-artist:hover .lineup-artist-image img {
    transform: scale(1.04);
}

.lineup-artist-info {
    padding: 16px 18px;
}

.lineup-artist-title {
    margin: 0;
    color: #f4eac7;
    font-size: 1.2rem;
    line-height: 1.15;
    text-transform: uppercase;
}

.lineup-artist-excerpt {
    margin-top: 10px;
    font-size: .9rem;
    line-height: 1.5;
    opacity: .75;
}

/* =========================================================
   FEATURE / INFO CARDS
   ========================================================= */

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

.feature {
    overflow: hidden;
    background: linear-gradient(180deg, #171c19, #101411);
    color: var(--cream);
    border: 1px solid rgba(231,185,46,.14);
    box-shadow: 0 5px 0 rgba(0,0,0,.12);
    padding-bottom: 25px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(231,185,46,.35);
    box-shadow: 0 16px 35px rgba(0,0,0,.32);
}

.feature-art {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 1.2rem;
    position: relative;
    background-color: var(--yellow);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.feature:nth-child(6n + 1) .feature-art { background-color: #b78d18; }
.feature:nth-child(6n + 2) .feature-art { background-color: #6a3d58; }
.feature:nth-child(6n + 3) .feature-art { background-color: #173f33; }
.feature:nth-child(6n + 4) .feature-art { background-color: #7d211c; }
.feature:nth-child(6n + 5) .feature-art { background-color: #24344f; }
.feature:nth-child(6n + 6) .feature-art { background-color: #8a5a24; }

.feature h3,
.feature p {
    margin-left: 24px;
    margin-right: 24px;
}

.feature h3 {
    font-size: 31px;
    margin-top: 23px;
    margin-bottom: 7px;
}

.feature h3 a {
    color: inherit;
}

.feature p {
    color: #c6baa0;
    line-height: 1.6;
}

/* =========================================================
   EXPLORE / GENERAL BOXES
   ========================================================= */

.two-col {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 35px;
}

.box {
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #171c19, #101411);
    color: var(--cream);
    border: 1px solid rgba(231,185,46,.16);
    box-shadow: 0 4px 0 rgba(0,0,0,.12);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.box:hover {
    transform: translateY(-4px);
    border-color: rgba(231,185,46,.35);
    box-shadow: 0 16px 35px rgba(0,0,0,.32);
}

.box-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.box-content {
    padding: 22px 20px 26px;
}

.box h3 {
    font-size: 29px;
    margin-top: 0;
}

.box h3 a {
    color: inherit;
}

.box ul {
    line-height: 2;
    padding-left: 20px;
}

/* =========================================================
   TICKETS
   ========================================================= */

.tickets {
    background: linear-gradient(180deg, #19150b, #100d08);
    color: var(--cream);
    border-top: 1px solid rgba(231,185,46,.22);
    border-bottom: 1px solid rgba(231,185,46,.22);
}

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

.ticket {
    background: linear-gradient(180deg, #e7ddc5, #d7c8a8);
    color: #15110b;
    padding: 32px;
    position: relative;
    box-shadow: 0 12px 35px rgba(0,0,0,.32);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ticket:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0,0,0,.32);
}

.ticket::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--red);
}

.ticket h3 {
    font-size: 35px;
    margin: 0;
}

.price {
    font-family: "Archivo Black";
    font-size: 58px;
    margin: 8px 0;
}

.ticket p {
    line-height: 1.6;
}

.ticket a {
    display: inline-block;
    background: var(--ink);
    color: #fff;
    padding: 13px 19px;
    font-weight: 900;
    text-transform: uppercase;
}

/* =========================================================
   GALLERY / NEWS
   ========================================================= */

.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 230px 230px;
    gap: 8px;
}

.gallery .photo {
    position: relative;
    overflow: hidden;
    background: var(--green);
    filter: saturate(.8) brightness(.78);
}

.gallery .photo:nth-child(1) {
    grid-row: span 2;
    background: var(--red);
}

.gallery .photo:nth-child(2) { background: var(--purple); }
.gallery .photo:nth-child(3) { background: var(--yellow); }
.gallery .photo:nth-child(4) { background: #31543b; }
.gallery .photo:nth-child(5) { background: #d85a3d; }

.gallery .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery .photo figcaption {
    position: absolute;
    left: 15px;
    bottom: 10px;
    color: #fff;
    font-family: "Archivo Black";
    font-size: 26px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px #000;
}

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

.news article {
    border-top: 6px solid var(--red);
    padding-top: 16px;
}

.news h3 {
    font-size: 28px;
    line-height: 1;
    margin: 10px 0;
}

.news p {
    line-height: 1.6;
}

/* =========================================================
   CONTENT / VISIT / SCHEDULE
   ========================================================= */

.content {
    max-width: 1000px;
}

.entry-content {
    font-size: 18px;
    line-height: 1.7;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.notice {
    background: #17130b;
    color: #e8d9ab;
    border-left: 5px solid var(--yellow);
    padding: 22px;
    font-weight: 700;
    margin-top: 25px;
}

.schedule {
    width: 100%;
    border-collapse: collapse;
    background: #111613;
    color: var(--cream);
    border: 1px solid rgba(231,185,46,.14);
}

.schedule th,
.schedule td {
    padding: 17px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: left;
}

.schedule th {
    background: var(--ink);
    color: #fff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.schedule td:first-child {
    font-weight: 900;
    color: var(--red);
    width: 120px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.map {
    min-height: 390px;
    background: radial-gradient(circle at 50% 35%, #1e4c39, #0e2119 70%);
    border: 1px solid rgba(231,185,46,.16);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Archivo Black";
    font-size: 55px;
}

.details {
    background: linear-gradient(180deg, #171c19, #101411);
    color: var(--cream);
    padding: 40px;
    border: 1px solid rgba(231,185,46,.14);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.details h3 {
    font-size: 36px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background: #050706;
    color: #fff;
    padding: 55px 0;
    border-top: 1px solid rgba(231,185,46,.2);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: "Archivo Black";
    font-size: 36px;
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.small {
    color: #aaa;
    font-size: 12px;
}

/* =========================================================
   TABLET / MOBILE - 900px
   ========================================================= */

@media (max-width: 900px) {

    .topbar {
        padding-inline: 4%;
    }

    .site-nav {
        min-height: 72px;
        padding: 8px 4%;
    }

    .site-nav .logo img {
        height: 45px;
        max-width: calc(100vw - 105px);
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        margin-left: auto;
    }

    .mobile-menu-wrap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        background: #050706;
        border-top: 1px solid rgba(231,185,46,.2);
        box-shadow: 0 18px 35px rgba(0,0,0,.45);
        z-index: 1001;
    }

    .site-nav.menu-open .mobile-menu-wrap {
        display: block;
    }

    .site-nav .menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 14px 4% 24px;
        font-size: 14px;
    }

    .site-nav .menu > li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .site-nav .menu > li > a,
    .site-nav .menu > li > a:not(.buy) {
        display: block;
        width: 100%;
        padding: 17px 5px;
        color: #fff;
        font-size: 14px;
        font-weight: 900;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    /* Mobile submenus: show directly beneath the parent item */
    .site-nav .menu .sub-menu {
        position: static;
        min-width: 0;
        width: 100%;
        margin: 0 0 8px;
        padding: 0 0 4px 14px;
        border: 0;
        border-left: 2px solid rgba(231,185,46,.35);
        background: rgba(255,255,255,.025);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .site-nav .menu .sub-menu li {
        display: block;
        width: 100%;
        border-bottom: 0;
    }

    .site-nav .menu .sub-menu a,
    .site-nav .menu .sub-menu a:not(.buy) {
        display: block;
        width: 100%;
        padding: 12px 10px;
        color: #cfc3a4;
        background: transparent;
        box-shadow: none;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .8px;
        text-align: left;
        white-space: normal;
    }

    .site-nav .menu .sub-menu a:hover,
    .site-nav .menu .sub-menu a:focus {
        color: var(--yellow);
        background: transparent;
    }

    .site-nav .menu > li:last-child {
        border-bottom: 0;
        margin-top: 12px;
    }

    .site-nav .menu > li:last-child > a {
        display: block;
        width: 100%;
        padding: 15px 18px;
        text-align: center;
        background: var(--yellow);
        color: var(--ink) !important;
        box-shadow: 4px 4px 0 var(--red);
    }

    /* Never give submenu children the yellow CTA styling */
    .site-nav .menu .sub-menu li,
    .site-nav .menu .sub-menu li:last-child {
        margin-top: 0;
        border-bottom: 0;
        list-style: none;
    }

    .site-nav .menu .sub-menu li > a,
    .site-nav .menu .sub-menu li:last-child > a {
        padding: 11px 12px !important;
        text-align: left !important;
        background: transparent !important;
        color: #cfc3a4 !important;
        box-shadow: none !important;
    }

    .site-nav.menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .site-nav.menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-nav.menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .intro-grid,
    .two-col,
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .lineup,
    .cards,
    .ticket-grid,
    .news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 210px 210px;
    }

    .gallery .photo:nth-child(1) {
        grid-row: auto;
    }

    .hero:not(.hero--clean) {
        height: 620px;
    }
}

/* =========================================================
   MOBILE / TABLET - 900px
   ========================================================= */

@media (max-width: 900px) {

    html,
    body {
        background-color: #0b100f;
    }

    body {
        background:
            linear-gradient(#0b100f, #111613 42%, #0a0d0c);
    }

    .container {
        width: 90%;
    }

    .topbar {
        min-height: 38px;
        justify-content: center;
        text-align: center;
        padding: 8px 12px;
    }

    .topbar span:last-child {
        display: none;
    }

    .site-nav {
        min-height: 68px;
        padding: 6px 16px;
    }

    .site-nav .logo img {
        height: 42px;
        max-width: calc(100vw - 92px);
    }

    .menu-toggle {
        display: flex;
        flex: 0 0 42px;
        width: 42px;
        min-width: 42px;
        height: 42px;
        padding: 7px;
    }

    .menu-toggle span {
        width: 27px;
        height: 3px;
        min-height: 3px;
    }

    .hero.hero--clean,
    .page-hero.page-hero--clean {
        height: auto;
        min-height: 0;
    }

    .hero.hero--clean > picture,
    .page-hero.page-hero--clean > picture,
    .hero.hero--clean img,
    .page-hero.page-hero--clean img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-width: 100%;
    }

    .hero:not(.hero--clean) {
        height: 590px;
    }

    .hero-copy {
        left: 5%;
        right: 5%;
        bottom: 40px;
    }

    .hero h1 {
        font-size: clamp(48px, 17vw, 65px);
    }

    .hero p {
        font-size: 15px;
    }

    .page-title {
        left: 5%;
        right: 5%;
        bottom: 30px;
    }

    .page-title h1 {
        font-size: clamp(42px, 15vw, 65px);
    }

    .section {
        padding: 48px 0;
    }

    h2,
    .section h2 {
        font-size: 32px !important;
        line-height: .95 !important;
        letter-spacing: -1px;
    }

    .intro p,
    .content p,
    .entry-content {
        font-size: 16px;
        line-height: 1.6;
    }

    .section-head {
        display: block;
        margin-bottom: 28px;
    }

    .section-head a {
        display: inline-block;
        margin-top: 10px;
    }

    .lineup,
    .cards,
    .ticket-grid,
    .news,
    .gallery,
    .lineup-artists {
        grid-template-columns: 1fr;
    }

    .gallery {
        grid-template-rows: repeat(5, 190px);
    }

    .gallery .photo:nth-child(1) {
        grid-row: auto;
    }

    .lineup-artist-image,
    .artist-image,
    .feature-art,
    .box-image {
        aspect-ratio: 16 / 9;
    }

    .stamp {
        transform: none;
        padding: 28px 20px;
    }

    .stamp strong {
        font-size: 48px;
    }

    .feature h3,
    .box h3 {
        font-size: 26px;
    }

    .ticket,
    .details {
        padding: 25px;
    }

    .price {
        font-size: 48px;
    }

    .map {
        min-height: 280px;
        font-size: 40px;
    }
}

img,
picture,
.hero img,
.page-hero img,
.artist-image img,
.gallery img {
    filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    color-scheme: only light;
	forced-color-adjust: none;
}


.primary,
.site-nav a[href*="/contact"] {
    background: #f3e3b2;
    color: #0b100f;
    box-shadow: 4px 4px 0 #16a6a3;
}

.primary:hover,
.site-nav a[href*="/contact"]:hover {
    background: #e9d39a;
    color: #0b100f;
    box-shadow: 4px 4px 0 #e91e63;
}



.site-nav .menu > li:last-child > a {
    background: #f3e3b2;
    color: #0b100f;
    box-shadow: 4px 4px 0 #16a6a3;
}

.site-nav .menu > li:last-child > a:hover {
    background: #e9d39a;
    color: #0b100f;
    box-shadow: 4px 4px 0 #e91e63;
}


/* =========================================
   UNDERGROUND FAYRE MAILCHIMP NEWSLETTER
   ========================================= */

#mc_embed_signup {
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
}

#mc_embed_signup form {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

#mc_embed_signup_scroll {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    width: 100%;
}


/* -----------------------------------------
   FIRST NAME / SURNAME
   ----------------------------------------- */

#mc_embed_signup .mc-name-field,
#mc_embed_signup .mc-surname-field {
    flex: 1 1 calc(50% - 10px);
    width: calc(50% - 10px);
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}


/* -----------------------------------------
   EMAIL
   ----------------------------------------- */

#mc_embed_signup .mc-email-field {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}


/* -----------------------------------------
   LABELS
   ----------------------------------------- */

#mc_embed_signup label {
    display: block !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    font-family: inherit !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;

    color: inherit !important;
}


/* -----------------------------------------
   INPUTS
   ----------------------------------------- */

#mc_embed_signup input[type="text"],
#mc_embed_signup input[type="email"] {
    display: block !important;
    box-sizing: border-box !important;

    width: 100% !important;
    height: 67px !important;

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

    border: 1px solid #aaa !important;
    border-radius: 10px !important;

    background: #fff !important;
    color: #222 !important;

    font-family: inherit !important;
    font-size: 22px !important;
    line-height: normal !important;
}


/* -----------------------------------------
   PLACEHOLDER
   ----------------------------------------- */

#mc_embed_signup input::placeholder {
    color: #8490a0 !important;
    opacity: 1 !important;
}


/* -----------------------------------------
   SUBSCRIBE BUTTON
   ----------------------------------------- */

#mc_embed_signup .mc-submit {
    flex: 0 0 100%;
    display: flex !important;
    justify-content: flex-end !important;

    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

#mc_embed_signup input[type="submit"] {
    width: auto !important;
    min-width: 176px !important;
    height: 63px !important;

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

    border: 0 !important;
    border-radius: 10px !important;

    background: #f56569 !important;
    color: #fff !important;

    font-family: inherit !important;
    font-size: 23px !important;
    font-weight: 500 !important;
    line-height: 63px !important;

    cursor: pointer;
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 600px) {

    #mc_embed_signup_scroll {
        display: block;
    }

    #mc_embed_signup .mc-name-field,
    #mc_embed_signup .mc-surname-field,
    #mc_embed_signup .mc-email-field {
        display: block;
        width: 100%;
        margin-bottom: 22px !important;
    }

    #mc_embed_signup label {
        font-size: 20px !important;
    }

    #mc_embed_signup input[type="text"],
    #mc_embed_signup input[type="email"] {
        height: 58px !important;
        font-size: 18px !important;
    }

    #mc_embed_signup .mc-submit {
        justify-content: flex-start !important;
    }

    #mc_embed_signup input[type="submit"] {
        min-width: 150px !important;
        height: 56px !important;
        line-height: 56px !important;
        font-size: 20px !important;
    }
}