:root {
    font-size: 17px;
    --site-content-width: min(1600px, calc(100vw - 3rem));
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F8F5F0;
    color: #3B1830;
    overflow-x: hidden;
    font-size: 1rem;
}

.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-3xl,
.max-w-2xl {
    max-width: var(--site-content-width) !important;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.handwritten {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #F3E5E8;
}
::-webkit-scrollbar-thumb {
    background: #789477;
    border-radius: 4px;
}

.shadow-soft {
    box-shadow: 0 10px 30px -5px rgba(169, 79, 114, 0.08);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#demo-view-switcher {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    min-height: 68px;
    z-index: 40;
    box-shadow: 0 1px 0 rgba(59, 24, 48, 0.08);
}

#home-steps,
#home-solutions {
    scroll-margin-top: 76px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 250px;
}

.site-brand-mark {
    display: block;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
}

.site-logo-mark {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-brand-name {
    color: #3B1830;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
    white-space: nowrap;
}

.site-brand-tagline {
    margin-top: 3px;
    color: #385442;
    font-size: 6px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.13em;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.2rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.2;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .site-header {
        min-height: auto;
    }

    .site-header > div {
        height: auto;
        min-height: 68px;
        gap: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    .site-brand {
        gap: 4px;
        max-width: none;
        flex-shrink: 1;
    }

    .site-brand-mark {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .site-brand-name {
        font-size: 10.5px;
        letter-spacing: -0.045em;
    }

    .site-brand-tagline {
        display: none;
    }

    .site-header-actions {
        gap: 0.2rem;
        margin-left: auto;
    }

    .site-header-actions > * {
        flex-shrink: 1;
        white-space: nowrap;
    }

    .site-header-actions > button,
    .site-header-actions > a {
        padding-left: 0.15rem;
        padding-right: 0.15rem;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        font-size: 6.5px;
        line-height: 1.1;
        border-radius: 0.6rem;
    }

    .site-header-actions > button:first-child {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }
}

.site-footer {
    position: relative;
    background: linear-gradient(180deg, #f3f0ee 0%, #e5ebe4 100%);
    border-top: 1px solid rgba(56, 84, 66, 0.2);
    overflow: hidden;
}

.site-footer::after {
    content: "";
    position: absolute;
    left: -6%;
    right: -6%;
    bottom: -34px;
    height: 96px;
    background: rgba(190, 204, 191, 0.9);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 0;
}

.site-footer-wrap {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.6rem 1.2rem 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1.5fr;
    gap: 1.4rem;
    align-items: start;
    padding-bottom: 1rem;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.68rem;
    padding-right: 1.2rem;
}

.site-footer-logo {
    display: flex;
    align-items: center;
    min-height: 88px;
}

.site-footer-logo-image {
    display: block;
    width: min(304px, calc(100% + 8%));
    max-width: none;
    height: auto;
    object-fit: contain;
}

.site-footer-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #9b4f6d, rgba(155, 79, 109, 0.12));
    margin-top: 0.35rem;
}

.site-footer-cta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.5rem, 1.8vw, 2.5rem);
    color: #3B1830;
    letter-spacing: -0.04em;
}

.site-footer-cta i {
    color: #b85d7d;
    font-size: 1.3rem;
    transform: translateY(2px);
}

.site-footer-column {
    padding-top: 0.52rem;
}

.site-footer-column h3 {
    margin: 0 0 0.6rem;
    font-size: clamp(1rem, 1.2vw, 1.44rem);
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #3B1830;
    letter-spacing: -0.04em;
}

.site-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.44rem 0.6rem;
}

.site-footer-links a,
.site-footer-links button {
    display: inline-block;
    color: rgba(59, 24, 48, 0.86);
    font-size: 0.72rem;
    font-weight: 500;
    text-align: left;
    transition: color 0.2s ease;
}

.site-footer-links a:hover,
.site-footer-links button:hover {
    color: #9d4566;
}

.site-footer-connect {
    padding-top: 0.52rem;
}

.site-footer-connect p {
    margin: 0 0 0.64rem;
    max-width: 13.6rem;
    color: rgba(59, 24, 48, 0.84);
    font-size: 0.72rem;
    line-height: 1.5;
}

.site-footer-subscribe {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(59, 24, 48, 0.18);
    border-radius: 0.72rem;
    padding: 0.24rem 0.24rem 0.24rem 0.6rem;
    max-width: 20.8rem;
    margin-bottom: 0.8rem;
}

.site-footer-subscribe input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #3B1830;
    font-size: 0.68rem;
    outline: none;
}

.site-footer-subscribe input::placeholder {
    color: rgba(59, 24, 48, 0.5);
}

.site-footer-subscribe button {
    border: none;
    background: #a75676;
    color: white;
    font-weight: 700;
    font-size: 0.68rem;
    padding: 0.48rem 0.72rem;
    border-radius: 0.64rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.site-footer-subscribe button:hover {
    background: #934763;
}

.site-footer-socials {
    display: flex;
    gap: 0.64rem;
    align-items: center;
    flex-wrap: wrap;
}

.site-footer-social {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(146, 163, 152, 0.72);
    color: #fff;
    font-size: 0.84rem;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.site-footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.64rem 0 0.8rem;
    border-top: 1px solid rgba(59, 24, 48, 0.18);
    color: rgba(59, 24, 48, 0.85);
    font-size: 0.68rem;
}

.site-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-footer-bottom-links a,
.site-footer-bottom-links button {
    color: rgba(59, 24, 48, 0.85);
    font-weight: 500;
}

.site-footer-bottom-links a:hover,
.site-footer-bottom-links button:hover {
    color: #a75676;
}

.events-section {
    max-width: 1600px;
    margin: 1.25rem auto 2rem;
    padding: clamp(1.35rem, 4vw, 2.6rem);
    border: 1px solid rgba(56, 84, 66, 0.12);
    border-radius: 1.5rem;
    background: #fbf8f3;
    box-shadow: 0 18px 35px rgba(59, 24, 48, 0.06);
}

.events-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.4rem;
}

.events-kicker {
    margin: 0 0 0.5rem;
    color: #4a6f5d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.events-title {
    margin: 0;
    color: #3b1830;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.events-title span {
    color: #a94f72;
}

.events-subtitle {
    margin: 0.55rem 0 0;
    color: #5f6663;
    font-size: 0.95rem;
}

.events-arrow {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(59, 24, 48, 0.2);
    border-radius: 50%;
    background: #fff;
    color: #3b1830;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s ease;
}

.events-arrow:hover {
    background: #3b1830;
    color: #fff;
}

.events-controls {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.events-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.2rem 0 0.8rem;
    scroll-snap-type: x mandatory;
    scrollbar-color: #789477 #e8e9e3;
    scrollbar-width: thin;
}

.event-card {
    position: relative;
    flex: 0 0 calc((100% - 3rem) / 4);
    min-width: 220px;
    min-height: 470px;
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(59, 24, 48, 0.1);
    background: #fff;
    box-shadow: 0 12px 28px rgba(59, 24, 48, 0.07);
    scroll-snap-align: start;
}

.event-card .event-flyer {
    position: relative;
    height: 100%;
    min-height: 470px;
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.event-card.card-wine .event-flyer {
    background: linear-gradient(180deg, rgba(47,29,36,0.85), rgba(89,55,68,0.7)), linear-gradient(135deg, rgba(196,133,76,0.43), rgba(68,42,52,0.3));
    color: #f8f1ee;
}

.event-card.card-summit .event-flyer {
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(228,239,234,0.9));
    color: #2b2134;
}

.event-card.card-ops .event-flyer {
    background: linear-gradient(180deg, rgba(245,237,231,0.82), rgba(236,220,214,0.9));
    color: #2f2031;
}

.event-card.card-mixer .event-flyer {
    background: linear-gradient(180deg, rgba(64,45,54,0.82), rgba(32,20,29,0.88));
    color: #f8ece5;
}

.event-card .event-card-type {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1.3;
    max-width: 12rem;
}

.event-card h3 {
    position: relative;
    z-index: 1;
    margin: 0.8rem 0 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 2.5vw, 2.8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 700;
    color: inherit;
}

.event-card .event-card-body {
    position: relative;
    z-index: 1;
    margin-top: auto;
    display: grid;
    gap: 0.7rem;
}

.event-card .event-tagline {
    margin: 0;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.8;
}

.event-card .event-meta {
    display: grid;
    gap: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.9;
}

.event-card .meta-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.event-card .meta-row i {
    width: 1.05rem;
    text-align: center;
    opacity: 0.88;
}

.event-card .event-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.event-card .event-card-art {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,0.1));
}

.event-card.card-wine .event-card-art {
    background: radial-gradient(circle at 30% 30%, rgba(233,192,120,0.35), rgba(0,0,0,0) 40%), linear-gradient(180deg, rgba(255,255,255,0), rgba(26,15,18,0.18));
}

.event-card.card-summit .event-card-art {
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(60,98,109,0.12));
}

.event-card.card-ops .event-card-art {
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(99,84,74,0.1));
}

.event-card.card-mixer .event-card-art {
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(19,17,17,0.18));
}

.event-card .event-card-art::before,
.event-card .event-card-art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.event-card.card-wine .event-card-art::before {
    left: 18%;
    bottom: 20%;
    width: 48%;
    height: 46%;
    background: rgba(192,140,98,0.4);
    box-shadow: 0 0 0 12px rgba(255,255,255,0.18), 0 0 0 26px rgba(255,255,255,0.08);
    transform: rotate(-8deg);
}

.event-card.card-wine .event-card-art::after {
    right: 10%;
    bottom: 18%;
    width: 18%;
    height: 38%;
    background: rgba(86,53,43,0.4);
    box-shadow: -48px 12px 0 -10px rgba(196,139,116,0.28);
}

.event-card.card-summit .event-card-art::before {
    left: 12%;
    right: 12%;
    bottom: 12%;
    height: 58%;
    background: linear-gradient(180deg, rgba(64,87,93,0.15), rgba(75,95,91,0.28));
    clip-path: polygon(0 72%, 20% 62%, 36% 68%, 48% 50%, 68% 58%, 100% 20%, 100% 100%, 0 100%);
}

.event-card.card-ops .event-card-art::before {
    left: 20%;
    right: 18%;
    bottom: 8%;
    height: 62%;
    background: linear-gradient(180deg, rgba(197,182,170,0.32), rgba(88,89,84,0.22));
    clip-path: polygon(0 100%, 0 48%, 35% 26%, 52% 34%, 70% 12%, 100% 40%, 100% 100%);
}

.event-card.card-mixer .event-card-art::before {
    left: 50%;
    bottom: 14%;
    width: 38%;
    height: 50%;
    background: rgba(202,140,114,0.28);
    border-radius: 58% 42% 52% 48% / 48% 58% 42% 52%;
    transform: translateX(-50%);
    box-shadow: -90px 30px 0 -14px rgba(172,117,96,0.25), 80px 18px 0 -10px rgba(169,119,97,0.26);
}

.event-card .event-card-content {
    padding: 1rem 0 0;
}

.event-card .event-card-content .event-date,
.event-card .event-card-content .event-location,
.event-card .event-card-content .event-description,
.event-card .event-card-content .event-link {
    position: relative;
    z-index: 1;
}

.event-card {
    flex-basis: calc((100% - 3rem) / 4);
    min-height: 0;
    border-radius: 18px;
}

.event-card .event-flyer {
    display: block;
    height: auto;
    min-height: 0;
    aspect-ratio: 0.82;
    padding: 0;
    background: linear-gradient(135deg, #e9f0e9, #f3e5e8);
}

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

.event-flyer-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #4a6f5d;
    font-size: 2rem;
}

.event-card .event-card-content {
    padding: 1rem;
}

.event-card .event-card-content .event-date {
    color: #a94f72;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-card .event-card-content h3 {
    margin: 0.45rem 0;
    color: #3b1830;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    line-height: 1.15;
}

.event-card .event-card-content .event-location {
    margin: 0;
    color: #526058;
    font-size: 0.78rem;
    font-weight: 700;
}

.event-card .event-card-content .event-description {
    min-height: 3.5em;
    margin: 0.65rem 0 0.85rem;
    color: #69727d;
    font-size: 0.82rem;
    line-height: 1.5;
}

.event-card .event-card-content .event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a6f5d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.event-card .event-card-content .event-link:hover {
    color: #a94f72;
}

.events-message {
    width: 100%;
    padding: 2rem 1rem;
    border: 1px dashed rgba(56, 84, 66, 0.28);
    border-radius: 1rem;
    color: #59655e;
    text-align: center;
    font-size: 0.9rem;
}

.events-dots {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 0 0.3rem;
}

.events-dots span {
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 50%;
    background: rgba(59, 24, 48, 0.22);
}

.events-dots span.active {
    background: #b86080;
}

@media (max-width: 1024px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 720px) {
    .site-footer-wrap {
        padding-top: 1.2rem;
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .site-footer-wordmark {
        font-size: 2.5rem;
    }

    .site-footer-logo {
        flex-direction: column;
        align-items: flex-start;
        min-height: auto;
    }

    .site-footer-logo-image {
        width: min(256px, 100%);
        max-width: 100%;
    }

    .site-footer-mark {
        width: 110px;
        height: 110px;
    }

    .site-footer-mark span {
        font-size: 108px;
    }

    .site-footer-subscribe {
        max-width: 100%;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1.6rem;
    }

    .events-section {
        margin: 1rem 1rem 1.5rem;
        padding: 1.2rem;
    }

    .events-heading {
        align-items: flex-start;
    }

    .events-controls {
        display: none;
    }

    .event-card {
        flex-basis: min(78vw, 300px);
    }
}

@media (max-width: 480px) {
    .events-heading {
        flex-direction: column;
    }
}

.home-hero {
    min-height: 0;
    background: #F8F9F7;
}

.home-hero-visual {
    min-height: 270px;
    background-color: #F8F9F7;
    background: url('homepage.jpg') center 32% / auto 75% no-repeat;
}

.home-hero-trust {
    min-height: 30px;
}

.admin-dashboard {
    display: grid;
    gap: 1.25rem;
    color: #3b1830;
}

.admin-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8d9dc;
}

.admin-dashboard-header h2 {
    margin: 0.35rem 0 0;
    color: #3b1830;
    font: 700 clamp(1.65rem, 4vw, 2rem)/1.2 'Playfair Display', serif;
    letter-spacing: -0.025em;
}

.admin-dashboard-header button,
.admin-dashboard-panel-header button {
    min-height: 40px;
    box-shadow: 0 4px 12px rgba(59, 24, 48, 0.12);
}

.admin-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.admin-stat-card {
    position: relative;
    display: block;
    padding: 1.25rem;
    min-height: 128px;
    overflow: hidden;
    border: 1px solid #e8d9dc;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 14px rgba(59, 24, 48, 0.045);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 24, 48, 0.08);
}

.admin-stat-card > span:first-child {
    display: block;
    color: #74636a;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
}

.admin-stat-card > p {
    color: #3b1830;
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 0.65rem;
    line-height: 1;
}

.admin-stat-note {
    display: block;
    margin-top: 0.45rem;
    color: #74636a;
    font-size: 0.68rem;
}

.admin-stat-highlight {
    border-color: #ead7df;
    background: linear-gradient(145deg, #fff 45%, #fcf7f9);
}

.admin-dashboard-panel {
    overflow: hidden;
    border: 1px solid #e8d9dc;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 5px 18px rgba(59, 24, 48, 0.05);
}

.admin-dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 1rem 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid #e8d9dc;
}

.admin-dashboard-panel-header h3 {
    margin: 0;
    color: #3b1830;
    font-size: 0.95rem;
    font-weight: 700;
}

.admin-dashboard-panel-header p,
.admin-dashboard-panel-header span {
    margin: 0.3rem 0 0;
    color: #74636a;
    font-size: 0.7rem;
}

.admin-dashboard-panel-header button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-user-tools {
    padding: 1rem 1.25rem 0;
}

.admin-user-tools .admin-field {
    max-width: 28rem;
}

.admin-user-tools input,
.admin-user-editor input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d9c7cb;
    border-radius: 0.65rem;
    background: #fff;
    color: #3b1830;
    font: inherit;
    font-size: 0.8rem;
}

.admin-user-tools input:focus,
.admin-user-editor input:focus {
    outline: 2px solid #a94f72;
    outline-offset: 1px;
}

.admin-user-editor {
    margin: 1.25rem;
    padding: 1.25rem;
    border: 1px solid #e8d9dc;
    border-radius: 0.85rem;
    background: #fbf8f3;
}

.admin-user-editor h4 {
    margin: 0;
    color: #3b1830;
    font-size: 1rem;
    font-weight: 700;
}

.admin-user-editor .admin-help {
    margin-top: 0.4rem;
}

.admin-user-editor input[readonly] {
    background: #f3eeee;
    color: #74636a;
}

.admin-dashboard table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.75rem;
}

.admin-dashboard thead {
    background: #f8f5f0;
}

.admin-dashboard thead th {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #385442;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
    text-transform: uppercase;
}

.admin-dashboard tbody td {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    padding-left: 1rem;
    padding-right: 1rem;
    vertical-align: middle;
    color: #3b1830;
    border-top: 1px solid #f1ebeb;
}

.admin-dashboard tbody tr {
    transition: background-color 140ms ease;
}

.admin-dashboard tbody tr:hover {
    background: #fcf9f6;
}

.admin-dashboard tbody a:not(.admin-match-button) {
    display: block;
    margin-top: 0.2rem;
    color: #944563;
    text-decoration: none;
}

.admin-dashboard tbody a:not(.admin-match-button):hover {
    text-decoration: underline;
}

.admin-dashboard .admin-contact-organization,
.admin-dashboard .admin-click-company {
    font-weight: 700;
}

.admin-category-badge,
.admin-status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.4rem;
    background: #f3e5e8;
    color: #71334c;
    font-size: 0.68rem;
    font-weight: 700;
}

.admin-status-badge {
    background: #f8eff2;
}

.admin-match-button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.45rem 0.7rem;
    text-decoration: none;
    white-space: nowrap;
}

.admin-table-error {
    color: #a12929 !important;
}

@media (max-width: 640px) {
    .admin-dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-stat-card {
        min-height: 116px;
        padding: 1rem;
        border-radius: 0.85rem;
    }

    .admin-stat-card > span:first-child {
        font-size: 0.58rem;
    }

    .admin-dashboard-panel-header {
        align-items: flex-start;
        padding: 1rem;
    }

    .admin-dashboard-panel-header > span {
        display: none;
    }

    .admin-dashboard-panel-header > div {
        min-width: 0;
    }

    .admin-dashboard-panel-header > button {
        flex-shrink: 0;
        padding: 0.6rem 0.7rem;
        font-size: 0.7rem;
    }
}

.home-about {
    overflow: hidden;
    color: #203440;
    background: #fbf8f3;
    scroll-margin-top: 76px;
}

.home-about-top-image {
    max-width: 1600px;
    margin: 0 auto;
}

.home-about-top-image-content {
    display: block;
    width: 100%;
    height: auto;
}

.home-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    max-width: 1600px;
    min-height: 370px;
    margin: 0 auto;
}

.home-about-hero-copy {
    z-index: 1;
    align-self: center;
    padding: 3rem 1.5rem 3rem max(2rem, calc((100vw - var(--site-content-width)) / 2));
}

.home-about-eyebrow {
    margin: 0 0 0.7rem;
    color: #385442;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.home-about-eyebrow::after {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    margin: 0 0 0.2rem 0.7rem;
    background: #a94f72;
    content: "";
}

.home-about-hero-copy h2 {
    max-width: 620px;
    margin: 0;
    color: #203440;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.35rem, 4vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.home-about-hero-copy h2 span,
.home-about-story-copy h2 span {
    color: #a94f72;
}

.home-about-hero-copy > p:last-child {
    max-width: 490px;
    margin: 1rem 0 0;
    color: #4d5a60;
    font-size: 0.96rem;
    line-height: 1.55;
}

.home-about-hero-image {
    position: relative;
    min-height: 370px;
    overflow: hidden;
}

.home-about-hero-image::before {
    display: none;
}

.home-about-workspace-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 370px;
    object-fit: cover;
    object-position: right center;
    transform: scale(1.3);
    transform-origin: right center;
}

.home-about-pillars {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1600px;
    margin: 0 auto;
    padding: 1rem max(1.5rem, calc((100vw - var(--site-content-width)) / 2)) 1.5rem;
    background: #fffdf9;
}

.home-about-pillar {
    position: relative;
    padding: 0.4rem 1rem;
    text-align: center;
}

.home-about-pillar:not(:last-child)::after {
    position: absolute;
    top: 2rem;
    right: 0;
    bottom: 0.3rem;
    width: 1px;
    background: #e7dbd4;
    content: "";
}

.home-about-pillar-icon {
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.35rem;
}

.home-about-sage {
    background: #91a37f;
}

.home-about-rose {
    background: #c38691;
}

.home-about-pillar h3 {
    margin: 0.45rem 0 0.25rem;
    color: #203440;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    line-height: 1;
}

.home-about-pillar p {
    max-width: 15rem;
    margin: 0 auto;
    color: #4d5a60;
    font-size: 0.72rem;
    line-height: 1.4;
}

.home-about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2.5rem max(1.5rem, calc((100vw - var(--site-content-width)) / 2));
}

.home-about-story-image {
    min-height: 250px;
    overflow: hidden;
    border-radius: 0 5rem 0 0;
}

.home-about-story-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.home-about-story-copy h2 {
    margin: 0;
    color: #203440;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.home-about-story-copy > p:not(.home-about-eyebrow) {
    margin: 0.75rem 0 0;
    color: #4d5a60;
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-about-process {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem max(1.5rem, calc((100vw - var(--site-content-width)) / 2)) 2.5rem;
    background: #fffdf9;
}

.home-about-process-copy h2 {
    margin: 0;
    color: #203440;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2.7vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.home-about-process-copy h2 span {
    color: #a94f72;
}

.home-about-process-copy > p:last-child {
    margin: 0.7rem 0 0;
    color: #4d5a60;
    font-size: 0.82rem;
    line-height: 1.5;
}

.home-about-process-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    text-align: center;
}

.home-about-process-steps article {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-about-process-steps h3 {
    margin: 0.5rem 0 0.25rem;
    color: #203440;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    line-height: 1.15;
}

.home-about-process-steps p {
    max-width: 9rem;
    margin: 0;
    color: #4d5a60;
    font-size: 0.68rem;
    line-height: 1.35;
}

.home-about-process-arrow {
    color: #c38691;
    font-size: 1.15rem;
}

.home-about-founder {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto 2.5rem;
    padding: 1rem 1.5rem;
}

.home-about-beliefs {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: 1.5rem;
    background: #fffdf8;
    box-shadow: 0 8px 30px rgba(59, 24, 48, 0.05);
}

.home-about-beliefs .home-about-eyebrow {
    margin-bottom: 0;
}

.home-about-beliefs article {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-about-beliefs article p {
    margin: 0;
    color: #4d5a60;
    font-size: 0.85rem;
    line-height: 1.45;
}

.home-about-beliefs .home-about-pillar-icon {
    width: 3rem;
    height: 3rem;
    flex: 0 0 3rem;
    font-size: 1.15rem;
}

.home-about-founder-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
}

#home-steps {
    font-size: 0.9em;
}

#home-steps h2 {
    font-size: clamp(2.1rem, 2.4vw, 3.15rem);
}

#home-steps .home-step-card {
    min-height: 118.8px;
    padding: 0.9rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #E8D9DC;
    box-shadow: 0 5px 18px rgba(59, 24, 48, 0.04);
}

#home-steps .home-step-card h3 {
    font-size: 12.6px;
}

#home-steps .home-step-card p {
    font-size: 9.9px !important;
}

#home-steps .home-step-card .w-7 {
    width: 1.8rem;
    height: 1.8rem;
}

#results-heading {
    margin: 0;
    color: #1e2e3a;
    font-size: clamp(3rem, 3.3vw, 4.7rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    font-family: 'Playfair Display', serif;
}

#results-heading strong {
    color: #a94f72;
    font-weight: 700;
}

#results-heading + p {
    font-size: 1.05rem;
    line-height: 1.55;
}

.results-guidance-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 1.4rem 1.15rem;
    border: 1px solid #ead7de;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #f7ebef 0%, #f3e5ea 100%);
    box-shadow: 0 8px 24px rgba(80, 40, 54, 0.06);
}

.results-guidance-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.results-guidance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: #b65d7a;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}

.results-guidance-header h3 {
    margin: 0;
    color: #3b1830;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 2vw, 2.6rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.results-guidance-subheading {
    margin: 0;
    color: #4d5a60;
    font-size: 1rem;
    line-height: 1.5;
}

.results-guidance-subheading strong {
    color: #3b1830;
    font-weight: 700;
}

.results-guidance-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.1rem;
}

.results-guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.results-guidance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: rgba(182, 93, 122, 0.14);
    color: #8a4461;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.results-guidance-item h4 {
    margin: 0 0 0.15rem;
    color: #3b1830;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 700;
}

.results-guidance-item p {
    margin: 0;
    color: #536065;
    font-size: 0.77rem;
    line-height: 1.45;
}

.results-guidance-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1rem 0.9rem;
    border: none;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #b65d7a 0%, #a7506d 100%);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(164, 89, 116, 0.18);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.results-guidance-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(164, 89, 116, 0.22);
}

.results-guidance-note {
    margin: 0;
    color: #586569;
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.4;
}

.vendor-subscription-card {
    max-width: 920px;
    margin: 2rem auto;
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid #e8d8de;
    border-radius: 1.75rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(59, 24, 48, 0.08);
}

.vendor-subscription-content {
    display: flex;
    flex-direction: column;
    gap: clamp(1.4rem, 4vw, 2.3rem);
    padding: clamp(1rem, 4vw, 2.5rem);
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #fbf4f6, #f7edf1);
}

.vendor-subscription-heading {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 3vw, 1.8rem);
}

.vendor-subscription-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    flex: 0 0 4.5rem;
    border-radius: 50%;
    background: #f0dfe6;
    color: #a94f72;
    font-size: 1.65rem;
}

.vendor-subscription-heading h2 {
    margin: 0;
    color: #172a3b;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.13;
}

.vendor-subscription-heading p {
    margin: 0.65rem 0 0;
    color: #59656c;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.5;
}

.vendor-subscription-heading .vendor-subscription-vendor {
    margin-top: 0.35rem;
    color: #a94f72;
    font-weight: 700;
}

.vendor-subscription-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    color: #3f4b53;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    list-style: none;
}

.vendor-subscription-benefits li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.vendor-subscription-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    border-radius: 50%;
    background: #a94f72;
    color: #fff;
    font-size: 0.85rem;
}

.vendor-subscription-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    min-height: 4.5rem;
    padding: 1rem 1.5rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #b64f79, #a3416d);
    box-shadow: 0 8px 20px rgba(164, 65, 109, 0.18);
    color: #fff;
    font-size: clamp(1.1rem, 3vw, 1.55rem);
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.vendor-subscription-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 24px rgba(164, 65, 109, 0.24);
}

.vendor-subscription-back {
    align-self: center;
    border: 0;
    background: transparent;
    color: #684a5a;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.vendor-subscription-back:hover {
    color: #a94f72;
}

@media (max-width: 767px) {
    #results-heading {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }

    .results-guidance-card {
        padding: 1.25rem 1rem 1rem;
    }

    .results-guidance-header {
        align-items: flex-start;
    }

    .results-guidance-header h3 {
        font-size: 1.7rem;
    }

    .results-guidance-subheading {
        font-size: 0.8rem;
    }

    .results-guidance-item h4 {
        font-size: 0.9rem;
    }

    .results-guidance-item p {
        font-size: 0.72rem;
    }

    .vendor-subscription-card {
        margin: 0.5rem auto;
        padding: 0.75rem;
        border-radius: 1.25rem;
    }

    .vendor-subscription-content {
        gap: 1.5rem;
        padding: 1.25rem 1rem;
        border-radius: 1rem;
    }

    .vendor-subscription-heading {
        gap: 0.8rem;
    }

    .vendor-subscription-badge {
        width: 3rem;
        height: 3rem;
        flex-basis: 3rem;
        font-size: 1.1rem;
    }

    .vendor-subscription-button {
        min-height: 3.8rem;
        padding: 0.8rem;
    }
}
.home-category-card {
    min-height: 64px;
    background: #F7F8F7;
    border: 1px solid #ECEFED;
}

.home-close-cta {
    position: relative;
    overflow: hidden;
    min-height: 194px;
    background:
        linear-gradient(90deg, rgba(248, 245, 240, 0.82), rgba(248, 245, 240, 0.36)),
        url("solutionbg.jpg") center 55% / cover no-repeat;
}

.home-close-cta::after {
    display: none;
}

.home-close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.625rem 1.75rem;
    background-color: #A94F72;
    box-shadow: 0 4px 8px rgba(59, 24, 48, 0.2);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 150ms ease, box-shadow 150ms ease;
    cursor: pointer;
}

.home-close-button:hover {
    background-color: #944563;
    box-shadow: 0 6px 12px rgba(59, 24, 48, 0.24);
}

@media (max-width: 767px) {
    #home-steps {
        font-size: 0.82em;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    #home-steps .grid {
        gap: 0.7rem;
    }

    #home-steps .home-step-card {
        min-height: 100px;
        padding: 0.7rem 0.8rem;
    }

    #home-steps .home-step-card h3 {
        font-size: 11.2px;
        margin-top: 0.5rem;
    }

    #home-steps .home-step-card p {
        font-size: 8.8px !important;
        line-height: 1.4;
    }

    .home-hero-visual {
        min-height: 230px;
    }

    .home-about-hero {
        grid-template-columns: 1fr;
    }

    .home-about-hero-copy {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .home-about-hero-image,
    .home-about-workspace-image {
        min-height: 230px;
    }

    .home-about-hero-image::before {
        inset: 0 0 auto;
        width: auto;
        height: 20%;
        background: linear-gradient(180deg, #fbf8f3, transparent);
    }

    .home-about-pillars {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 1rem 0.5rem;
        row-gap: 1rem;
    }

    .home-about-pillar:nth-child(2)::after {
        display: none;
    }

    .home-about-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.25rem;
    }

    .home-about-story-image {
        min-height: 210px;
    }

    .home-about-story-image img {
        min-height: 210px;
    }

    .home-about-founder {
        grid-template-columns: 1fr;
        margin-bottom: 1.5rem;
        padding: 0.5rem 1rem;
    }

    .home-about-process {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1.25rem;
    }

    .home-about-process-steps {
        gap: 0.35rem;
    }

    .home-about-process-arrow {
        font-size: 0.85rem;
    }

    .home-about-process-steps h3 {
        font-size: 0.82rem;
    }

    .home-about-beliefs {
        padding: 1.25rem;
    }

    .home-close-cta {
        background:
            linear-gradient(90deg, rgba(248, 245, 240, 0.82), rgba(248, 245, 240, 0.5)),
            url("solutionbg.jpg") center 55% / cover no-repeat;
    }
}

@media (min-width: 1024px) {
    .home-hero {
        min-height: 360px;
    }

    .home-hero-visual {
        min-height: 320px;
    }
}

.events-section {
    max-width: none;
    margin: 0;
    padding: 2rem 0 2.5rem;
    scroll-margin-top: 84px;
    border: 0;
    border-radius: 0;
    background: #F0F3F0;
    box-shadow: none;
}

.events-section .events-heading {
    align-items: flex-end;
    margin-bottom: 1rem;
}

.events-section .events-kicker {
    margin-bottom: 0.35rem;
    color: #385442;
    font-size: 0.625rem;
    letter-spacing: 0.28em;
}

.events-section .events-title {
    color: #3B1830;
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.events-section .events-title span {
    color: #A94F72;
}

.events-section .events-subtitle {
    margin-top: 0.4rem;
    color: #5F6663;
    font-size: 0.8rem;
}

.events-section .events-controls {
    gap: 0.4rem;
}

.events-section .events-arrow {
    width: 38px;
    height: 38px;
    border-color: #D9C7CB;
    background: #fff;
    color: #3B1830;
    box-shadow: 0 3px 8px rgba(59, 24, 48, 0.05);
}

.events-section .events-arrow:hover {
    border-color: #A94F72;
    background: #A94F72;
    color: #fff;
}

.events-section .events-track {
    gap: 0.85rem;
    padding: 0.2rem 0 0.65rem;
}

.events-section .event-card {
    flex-basis: calc((100% - 2.55rem) / 4);
    min-width: 0;
    min-height: 0;
    border-color: #E8D9DC;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 5px 18px rgba(59, 24, 48, 0.04);
}

.events-section .event-card .event-flyer {
    height: auto;
    min-height: 0;
    aspect-ratio: 0.9;
    padding: 0;
    background: linear-gradient(135deg, #EDF2ED, #F3E5E8);
}

.events-section .event-flyer img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-section .event-flyer-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #789477;
    font-size: 1.75rem;
}

.events-section .event-card .event-card-content {
    padding: 0.9rem;
}

.events-section .event-card-content .event-date {
    color: #A94F72;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

.events-section .event-card-content h3 {
    margin: 0.35rem 0;
    color: #3B1830;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.events-section .event-card-content .event-location {
    color: #385442;
    font-size: 0.68rem;
    font-weight: 700;
}

.events-section .event-card-content .event-description {
    min-height: 0;
    margin: 0.5rem 0 0.7rem;
    color: #5F6663;
    font-size: 0.7rem;
    line-height: 1.5;
}

.events-section .event-card-content .event-link {
    gap: 0.4rem;
    color: #944563;
    font-size: 0.64rem;
    letter-spacing: 0.04em;
}

.events-section .events-message {
    margin: 0;
    border-color: #D9C7CB;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.75);
    color: #5F6663;
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .events-section .event-card {
        flex-basis: calc((100% - 1.7rem) / 3);
    }
}

@media (max-width: 720px) {
    .events-section {
        padding: 1.5rem 0 2rem;
    }

    .events-section .events-heading {
        align-items: flex-start;
    }

    .events-section .events-controls {
        display: none;
    }

    .events-section .event-card {
        flex-basis: min(72vw, 280px);
        min-width: 220px;
    }
}
