/*
Theme Name: Sunny Hill
Author: Sunny Hill
Version: 1.0
*/

/* =========================
   VARIABLES / COLORS
========================= */
:root {
    --cream: #F6E7C1;
    --orange: #F07A2F;
    --rose: #C94B5C;
    --night: #1F1B2E;
    --black: #07070A;

    --font-heading: "Playfair Display", Georgia, serif;
    --font-body: "Playfair Display", Georgia, serif;
}

/* =========================
   BASE
========================= */
html,
body {
    margin: 0;
    min-height: 100%;
    background: #07070A;
}

body {
    background: var(--black);
    color: var(--cream);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.site-logo,
.home-hero-bottom span {
    font-family: var(--font-heading);
}

.site-nav,
.eyebrow,
.button,
.modern-event-meta,
.single-modern-details,
.events-tabs {
    font-family: var(--font-heading);
}

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

.site-logo {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 140px;
    max-height: 42px;
}



.site-header,
.page-content,
.events-page,
.single-modern-event,
.join-page,
.thank-you-page,
.contact-page,
.about-page,
.site-footer {
    position: relative;
    z-index: 1;
}

/* =========================
   HEADER
========================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 42px;
    box-sizing: border-box;
}

.site-logo {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.9;
}

.site-nav {
    display: flex;
    gap: 28px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* =========================
   BUTTON
========================= */
.button {
    display: inline-block;
    border: 1px solid var(--cream);
    padding: 12px 28px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: 0.25s ease;
}

.button:hover {
    background: var(--cream);
    color: var(--black);
}

.button.filled {
    background: var(--cream);
    color: var(--black);
    border-color: var(--cream);
}

.button.filled:hover {
    background: transparent;
    color: var(--cream);
}

/* =========================
   GENERIC PAGE
========================= */
.page-content {
    min-height: 100vh;
    padding: 160px 40px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 400;
    margin: 0 0 70px;
}

/* =========================
   LANDING PAGE
========================= */
.home-page {
    background: var(--black);
    min-height: 100vh;
}

.home-hero {
    position: relative;
    min-height: 68vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--hero-desktop);
    background-size: cover;
    background-position: center 42%;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .home-hero-bg {
        background-image: var(--hero-mobile);
        background-position: center center;
    }
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom,
            rgba(7, 7, 10, 0.08),
            rgba(7, 7, 10, 0.15) 55%,
            rgba(7, 7, 10, 0.75) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 68vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-hero h1 {
    font-size: clamp(76px, 8vw, 138px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
    transform: translateY(-60px);
}

.home-hero-bottom {
    position: absolute;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    opacity: 0.88;
}

.down-arrow {
    font-size: 18px;
    line-height: 1;
}

.home-coming {
    min-height: 28vh;
    padding: 34px 40px 36px;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    text-align: center;
}

.home-coming h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 400;
    margin: 0 0 12px;
}

.home-coming p {
    margin: 0 0 24px;
    font-size: 14px;
    opacity: 0.76;
}

.home-coming .button {
    margin-bottom: 36px;
}

.home-manifesto {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    opacity: 0.78;
}

/* =========================
   EVENTS PAGE
========================= */
.events-page,
.single-modern-event {
    min-height: 100vh;
    padding: 150px 40px 90px;
    background: transparent;
}

.events-hero {
    max-width: 980px;
    margin: 0 auto 70px;
}

.eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    opacity: 0.62;
}

.events-hero h1 {
    font-size: clamp(64px, 11vw, 150px);
    font-weight: 400;
    line-height: 0.9;
    margin: 0;
}

.events-lead {
    max-width: 420px;
    margin: 28px 0 0;
    font-size: 20px;
    line-height: 1.5;
    opacity: 0.74;
}

.modern-events-list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
}

.modern-event-card {
    display: grid;
    grid-template-columns: minmax(260px, 420px) 1fr;
    gap: clamp(32px, 6vw, 80px);
    align-items: center;
    padding: 42px 0;
    border-bottom: 1px solid rgba(246, 231, 193, 0.14);
}

.modern-event-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
}

.modern-event-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.8s ease;
}

.modern-event-card:hover .modern-event-image img {
    transform: scale(1.04);
}

.modern-event-content h2 {
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 400;
    line-height: 0.98;
    margin: 0 0 28px;
}

.modern-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.modern-event-meta span {
    border: 1px solid rgba(246, 231, 193, 0.16);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    opacity: 0.82;
}

.modern-empty {
    max-width: 980px;
    min-height: 420px;
    margin: 0 auto;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    border-bottom: 1px solid rgba(246, 231, 193, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.star {
    font-size: 34px;
    opacity: 0.7;
}

.modern-empty h2 {
    font-size: clamp(42px, 7vw, 86px);
    font-weight: 400;
    line-height: 1;
    margin: 0;
}

.modern-empty p {
    opacity: 0.72;
    margin: 0 0 16px;
}

/* =========================
   SINGLE EVENT
========================= */
.single-modern-layout {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 460px) 1fr;
    gap: clamp(38px, 7vw, 92px);
    align-items: flex-start;
}

.single-modern-image {
    align-self: flex-start;
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
}

.single-modern-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.single-modern-content h1 {
    font-size: clamp(58px, 8vw, 116px);
    font-weight: 400;
    line-height: 0.94;
    margin: 0 0 30px;
}

.single-modern-text {
    max-width: 520px;
    font-size: 19px;
    line-height: 1.7;
    opacity: 0.78;
    margin-bottom: 34px;
}

.single-modern-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.single-modern-details div {
    border: 1px solid rgba(246, 231, 193, 0.14);
    padding: 18px;
    min-height: 72px;
}

.single-modern-details span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 8px;
}

.single-modern-details strong {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.event-manifesto {
    max-width: 1120px;
    margin: 70px auto 0;
    padding-top: 34px;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    opacity: 0.72;
}

/* =========================
   JOIN / THANK YOU / CONTACT
========================= */
.join-page,
.thank-you-page,
.contact-page {
    min-height: 100vh;
    padding: 0px 22px 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}

.join-hero,
.contact-hero {
    width: 100%;
    max-width: 520px;
}

.thank-you-hero {
    max-width: 640px;
}

.join-hero h1,
.contact-hero h1,
.thank-you-hero h1 {
    font-size: clamp(54px, 9vw, 116px);
    font-weight: 400;
    line-height: 0.95;
    margin: 0 0 28px;
}

.join-text,
.contact-text {
    max-width: 360px;
    margin: 0 auto 38px;
    font-size: 18px;
    line-height: 1.55;
    opacity: 0.75;
}

.thank-you-symbol,
.contact-symbol {
    font-size: 34px;
    opacity: 0.7;
    margin-bottom: 28px;
}

.thank-you-hero p {
    font-size: 22px;
    opacity: 0.75;
}

.join-form {
    max-width: 420px;
    margin: 0 auto;
}

.join-form p {
    margin: 0 0 14px;
}

.join-form label,
.join-form .sib-email-area label {
    display: none;
}

.join-form input[type="email"],
.join-form input[type="text"] {
    width: 100%;
    height: 54px;
    box-sizing: border-box;
    border: 1px solid rgba(246, 231, 193, 0.28);
    background: rgba(7, 7, 10, 0.25);
    color: var(--cream);
    padding: 0 18px;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16px;
    text-align: center;
    outline: none;
}

.join-form input::placeholder {
    color: rgba(246, 231, 193, 0.55);
}

.join-form input[type="email"]:focus {
    border-color: var(--cream);
}

.join-form input[type="submit"],
.join-form button,
.join-form .sib-default-btn {
    width: 100%;
    height: 54px;
    border: 1px solid var(--cream);
    background: var(--cream);
    color: var(--black);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.25s ease;
}

.join-form input[type="submit"]:hover,
.join-form button:hover,
.join-form .sib-default-btn:hover {
    background: transparent;
    color: var(--cream);
}

.join-form .sib_msg_disp,
.join-form .sib-alert-message {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--cream);
    opacity: 0.8;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.contact-item {
    display: grid;
    grid-template-columns: 20px auto;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    line-height: 1.4;
    opacity: 0.8;
    transition: 0.2s ease;
}

.contact-item:hover {
    opacity: 1;
}

.icon {
    width: 18px;
    height: 18px;
    stroke: var(--cream);
    opacity: 0.7;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    padding: 70px 40px 44px;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    background: rgba(7, 7, 10, 0.86);
    color: var(--cream);
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 60px;
}

.footer-brand h3,
.footer-col h4 {
    margin: 0 0 22px;
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-brand p,
.footer-col a {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.75;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 980px;
    margin: 55px auto 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.55;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 820px) {

    .events-page,
    .single-modern-event {
        padding: 130px 22px 70px;
    }

    .modern-event-card,
    .single-modern-layout {
        grid-template-columns: 1fr;
    }

    .events-hero {
        margin-bottom: 48px;
    }

    .modern-event-image {
        aspect-ratio: 1 / 0.9;
    }

    .single-modern-image {
        max-width: 420px;
    }

    .single-modern-details {
        grid-template-columns: 1fr;
    }

    .event-manifesto {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px;
    }

    .site-nav {
        display: none;
    }

    .page-content {
        padding: 140px 20px 60px;
    }

    .join-page,
    .thank-you-page,
    .contact-page {
        padding-top: 130px;
    }

    .home-hero,
    .home-hero-content {
        min-height: 52vh;
    }

    .home-hero-content {
        justify-content: flex-start;
        padding-top: 120px;
        /* justera denna */
    }

    .home-hero h1 {
        transform: none;
        font-size: 52px
            /* ta bort extra offset */
    }

    .home-coming {
        padding: 32px 22px 34px;
    }

    .home-manifesto {
        gap: 12px;
        font-size: 12px;
    }

    .site-footer {
        padding: 54px 24px 36px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        text-align: left;
        margin-top: 42px;
    }
}


/* WORDPRESS MENU */
.site-nav ul,
.site-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav ul {
    display: flex;
    gap: 28px;
}

.site-nav li {
    display: inline-flex;
}

/* GUTENBERG PAGE CONTENT */
.page-editor-content {
    max-width: 720px;
    font-size: 20px;
    line-height: 1.65;
}

.page-editor-content p {
    margin: 0 0 24px;
    opacity: 0.78;
}

.page-editor-content h2 {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    margin: 64px 0 20px;
}

.page-editor-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px 0;
}


.footer-menu,
.footer-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
}

.footer-menu a {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.75;
}

.footer-menu a:hover {
    opacity: 1;
}




/* =========================
   HEADER / MOBILE MENU
========================= */
.mobile-menu-toggle {
    display: none;
    width: 34px;
    height: 28px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--cream);
    margin-left: auto;
    transition: transform 0.25s ease, width 0.25s ease;
}

.mobile-menu-toggle span+span {
    margin-top: 7px;
}

.mobile-menu-toggle.is-open span {
    width: 26px;
}

.mobile-menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 360px);
    height: 100vh;
    z-index: 110;
    background: rgba(7, 7, 10, 0.97);
    border-left: 1px solid rgba(246, 231, 193, 0.14);
    transform: translateX(100%);
    transition: transform 0.38s ease;
    padding: 92px 34px 34px;
    box-sizing: border-box;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-nav ul,
.mobile-menu-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-nav ul {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.mobile-menu-nav a {
    font-size: 28px;
    line-height: 1;
    text-transform: lowercase;
    opacity: 0.88;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(0, 0, 0, 0.36);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .site-header {
        padding: 20px;
    }

    .site-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

.mobile-menu-toggle {
    position: fixed !important;
    top: 20px;
    right: 20px;
    z-index: 9999 !important;
}

.mobile-menu-toggle.is-open {
    display: block !important;
}

.mobile-menu-toggle.is-open span {
    display: block;
    background: var(--cream) !important;
    width: 28px;
    height: 1px;
}

.mobile-menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
    z-index: 900;
}

.mobile-menu-backdrop {
    z-index: 800;
}



.site-header {
    z-index: 50;
}

.mobile-menu {
    z-index: 100;
}

.mobile-menu-backdrop {
    z-index: 90;
}

.mobile-menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
    /* alltid över allt */
}

@media (max-width: 768px) {

    .join-page,
    .thank-you-page,
    .contact-page {
        align-items: flex-start;
        padding-top: 190px;
        padding-bottom: 70px;
        min-height: 100vh;
    }

    .join-hero,
    .thank-you-hero,
    .contact-hero {
        transform: translateY(-35px);
    }
}


/* =========================
   NEWSLETTER FORM FIX
========================= */

.join-form .tnp-subscription {
    all: unset;
    display: block;
    width: 100%;
}

.join-form .tnp,
.join-form .tnp-subscription,
.join-form .tnp-subscription form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

.join-form .tnp-field {
    margin: 0 0 14px !important;
    padding: 0 !important;
    text-align: center !important;
}

.join-form .tnp-field label {
    display: none !important;
}

.join-form .tnp-email {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
    box-sizing: border-box !important;
    border: 1px solid rgba(246, 231, 193, 0.28) !important;
    background: rgba(7, 7, 10, 0.25) !important;
    color: var(--cream) !important;
    padding: 0 18px !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 16px !important;
    text-align: center !important;
    outline: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.join-form .tnp-email::placeholder {
    color: rgba(246, 231, 193, 0.55) !important;
}

.join-form .tnp-email:focus {
    border-color: var(--cream) !important;
}

.join-form .tnp-submit {
    display: block !important;
    width: 100% !important;
    height: 54px !important;
    box-sizing: border-box !important;
    border: 1px solid var(--cream) !important;
    background: var(--cream) !important;
    color: var(--black) !important;
    padding: 0 18px !important;
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 13px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: 0.25s ease !important;
}

.join-form .tnp-submit:hover {
    background: transparent !important;
    color: var(--cream) !important;
}



/* =========================
   ABOUT PAGE
========================= */
.about-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 150px 40px 90px;
    background: transparent;
}

.about-hero {
    max-width: 1180px;
    min-height: 520px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
}

.about-intro {
    max-width: 620px;
    margin-left: 36px;
}

.about-intro h1 {
    font-size: clamp(62px, 8vw, 116px);
    font-weight: 400;
    line-height: 0.9;
    margin: 0 0 28px;
    text-transform: lowercase;
}

.about-copy {
    max-width: 340px;
    font-size: 21px;
    line-height: 1.35;
    opacity: 0.84;
}

.about-copy p {
    margin: 0 0 26px;
}

.about-values {
    max-width: 980px;
    margin: 0 auto;
    padding: 34px 0;
    border-top: 1px solid rgba(246, 231, 193, 0.14);
    border-bottom: 1px solid rgba(246, 231, 193, 0.14);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.about-value {
    text-align: center;
    padding: 0 44px;
}

.about-value+.about-value {
    border-left: 1px solid rgba(246, 231, 193, 0.14);
}

.about-value span {
    display: block;
    font-size: 32px;
    line-height: 1;
    margin-bottom: 14px;
    opacity: 0.78;
}

.about-value h2 {
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 14px;
    text-transform: lowercase;
}

.about-value p {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    opacity: 0.76;
}

.about-ending {
    max-width: 760px;
    margin: 26px auto 0;
    text-align: center;
}

.about-ending p {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    opacity: 0.82;
}

@media (max-width: 820px) {
    .about-page {
        padding: 130px 22px 70px;
    }

    .about-hero {
        min-height: auto;
        margin-bottom: 70px;
    }

    .about-intro {
        margin-left: 0;
    }

    .about-copy {
        font-size: 19px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }

    .about-value {
        padding: 34px 12px;
    }

    .about-value+.about-value {
        border-left: 0;
        border-top: 1px solid rgba(246, 231, 193, 0.14);
    }

    .about-ending p {
        font-size: 19px;
    }
}

/* =========================
   HOME UPCOMING – GRID CARDS
========================= */

.home-modern-events {
    max-width: 1180px;
    margin: 46px auto 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* CARD */
.home-modern-event-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(246, 231, 193, 0.14);
    background: rgba(246, 231, 193, 0.035);
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.home-modern-event-card:hover {
    transform: translateY(-4px);
    border-color: rgba(246, 231, 193, 0.28);
    background: rgba(246, 231, 193, 0.06);
}

/* IMAGE */
.home-modern-event-image {
    display: block;
    aspect-ratio: 1 / 0.6;
    overflow: hidden;
    background: rgba(246, 231, 193, 0.05);
}

.home-modern-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.home-modern-event-card:hover img {
    transform: scale(1.04);
}

/* CONTENT */
.home-modern-event-content {
    padding: 20px;
    text-align: left;
}

.home-modern-event-content .eyebrow {
    margin-bottom: 10px;
}

/* TITLE – lite mindre än events page */
.home-modern-event-content h3 {
    font-size: clamp(28px, 2.2vw, 40px);
    line-height: 1;
    margin: 0 0 18px;
}

/* META */
.home-modern-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.home-modern-event-meta span {
    border: 1px solid rgba(246, 231, 193, 0.16);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    opacity: 0.8;
}


.home-modern-events.home-modern-events-count-1,
.home-modern-events.home-modern-events-count-2 {
    justify-content: center;
}

.home-modern-events.home-modern-events-count-1 {
    grid-template-columns: minmax(280px, 380px);
}

.home-modern-events.home-modern-events-count-2 {
    grid-template-columns: repeat(2, minmax(280px, 380px));
}



/* BUTTON */
.home-modern-event-content .button {
    margin-top: auto;
    width: fit-content;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {
    .home-modern-events {
        max-width: none;
        width: 100%;
        margin: 38px 0 34px;
        display: flex;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 18px;
    }

    .home-modern-events::-webkit-scrollbar {
        display: none;
    }

    .home-modern-event-card {
        flex: 0 0 82%;
        max-width: 360px;
        scroll-snap-align: center;
    }

    .home-modern-event-card:hover {
        transform: none;
    }

    .home-modern-event-image {
        aspect-ratio: 1 / 0.72;
    }
}

@media (max-width: 480px) {
    .home-modern-event-card {
        flex-basis: 86%;
    }
}



.inner-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background-image:
        radial-gradient(circle at 50% 20%, rgba(240, 122, 47, 0.18), transparent 35%),
        linear-gradient(to bottom, rgba(7, 7, 10, 0.25), rgba(7, 7, 10, 0.92)),
        var(--inner-bg-image);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.9;
}

.inner-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 7, 10, var(--inner-overlay-opacity, 0.35));
}


/* =========================
   ACTIVE MENU UNDERLINE
========================= */

.site-nav a,
.mobile-menu-nav a {
    position: relative;
    display: inline-block;
}

.site-nav a::after,
.mobile-menu-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--cream);
    transition: width 0.25s ease;
}

.site-nav a:hover::after,
.mobile-menu-nav a:hover::after {
    width: 100%;
}

/* Current page */
.site-nav .current-menu-item>a::after,
.site-nav .current_page_item>a::after,
.site-nav .current-menu-ancestor>a::after,
.mobile-menu-nav .current-menu-item>a::after,
.mobile-menu-nav .current_page_item>a::after,
.mobile-menu-nav .current-menu-ancestor>a::after {
    width: 100%;
}



.events-tabs {
    max-width: 980px;
    margin: -36px auto 46px;
    display: flex;
    gap: 10px;
}

.events-tabs a {
    border: 1px solid rgba(246, 231, 193, 0.16);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.65;
    transition: 0.25s ease;
}

.events-tabs a:hover,
.events-tabs a.is-active {
    opacity: 1;
    background: var(--cream);
    color: var(--black);
}

.home-hero h1 {
    font-size: var(--page-h1-size, clamp(76px, 8vw, 138px));
}

.events-hero h1 {
    font-size: var(--page-h1-size, clamp(64px, 11vw, 150px));
}

.single-modern-content h1 {
    font-size: var(--page-h1-size, clamp(58px, 8vw, 116px));
}

.join-hero h1,
.contact-hero h1,
.thank-you-hero h1 {
    font-size: var(--page-h1-size, clamp(54px, 9vw, 116px));
}

.about-intro h1 {
    font-size: var(--page-h1-size, clamp(62px, 8vw, 116px));
}

@media (max-width: 768px) {

    .home-hero h1,
    .events-hero h1,
    .single-modern-content h1,
    .join-hero h1,
    .contact-hero h1,
    .thank-you-hero h1,
    .about-intro h1 {
        font-size: var(--page-h1-size-mobile, var(--page-h1-size, 56px));
        line-height: 1.2;
    }
}


@media (max-width: 900px) {
    .home-modern-events.home-modern-events-count-1 {
        justify-content: center;
        overflow-x: hidden;
    }

    .home-modern-events.home-modern-events-count-1 .home-modern-event-card {
        flex: 0 0 86%;
        max-width: 360px;
    }

    .home-modern-events.home-modern-events-count-2,
    .home-modern-events.home-modern-events-count-3 {
        justify-content: flex-start;
        overflow-x: auto;
    }
}