/*
Theme Name: Find What's On
Description: Search-first WordPress theme for Find What's On.
Version: 0.2.2
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: findwhatson
*/

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-semibold.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-black.woff2") format("woff2");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

:root {
    --fwo-black: #050505;
    --fwo-ink: #14181f;
    --fwo-muted: #667085;
    --fwo-line: #e6e9ee;
    --fwo-blue: #4fb4e8;
    --fwo-green: #8bcf2f;
    --fwo-yellow: #f5bd19;
    --fwo-red: #d83957;
    --fwo-surface: #f5f7f8;
    --fwo-white: #fff;
    --fwo-radius: 18px;
    --fwo-shadow: 0 24px 70px rgba(7, 15, 28, .15);
    --fwo-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--fwo-ink);
    background: var(--fwo-white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    color: var(--fwo-black);
    background: var(--fwo-white);
}

.fwo-container {
    width: min(calc(100% - 36px), var(--fwo-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    color: var(--fwo-white);
    background: rgba(3, 3, 3, .98);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.site-header__inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-logo {
    flex: 0 0 228px;
}

.site-logo img {
    width: 228px;
}

.site-nav {
    flex: 1;
}

.site-nav__list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 2.2vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a,
.site-sign-in {
    color: var(--fwo-white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus,
.site-sign-in:hover,
.site-sign-in:focus {
    color: var(--fwo-yellow);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.site-main {
    min-height: 60vh;
}

.fwo-button,
a.fwo-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #132005;
    background: var(--fwo-green);
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.fwo-button:hover,
.fwo-button:focus {
    transform: translateY(-2px);
    background: var(--fwo-yellow);
}

.fwo-button--outline,
a.fwo-button--outline {
    min-height: 46px;
    border-color: var(--fwo-green);
    color: var(--fwo-green);
    background: transparent;
}

.fwo-button--outline:hover,
.fwo-button--outline:focus {
    color: var(--fwo-black);
}

.fwo-button--light,
a.fwo-button--light {
    color: var(--fwo-black);
    background: var(--fwo-white);
}

.fwo-text-link {
    color: var(--fwo-ink);
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}

.fwo-text-link span {
    color: var(--fwo-green);
}

.fwo-hero {
    min-height: 690px;
    display: grid;
    align-items: center;
    color: var(--fwo-white);
    background:
        linear-gradient(90deg, rgba(2, 10, 18, .86) 0%, rgba(5, 15, 26, .61) 50%, rgba(5, 15, 26, .2) 100%),
        var(--fwo-hero-image);
    background-position: center;
    background-size: cover;
}

.fwo-hero__content {
    padding-block: 90px 72px;
}

.fwo-eyebrow {
    margin: 0 0 10px;
    color: var(--fwo-green);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.fwo-hero h1 {
    max-width: 940px;
    margin: 0;
    font-size: clamp(2.7rem, 6.5vw, 5.55rem);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.055em;
}

.fwo-hero__intro {
    max-width: 690px;
    margin: 24px 0 34px;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.fwo-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 22px;
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 700;
}

.fwo-hero__proof span::before {
    content: "✓";
    margin-right: 7px;
    color: var(--fwo-green);
    font-weight: 900;
}

.fwo-discovery-form {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr .8fr auto;
    align-items: end;
    gap: 10px;
    padding: 16px;
    border-radius: var(--fwo-radius);
    color: var(--fwo-ink);
    background: var(--fwo-white);
    box-shadow: var(--fwo-shadow);
}

.fwo-discovery-form label,
.fwo-quick-post label {
    display: grid;
    gap: 6px;
    color: #4d5766;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.fwo-discovery-form input,
.fwo-discovery-form select,
.fwo-quick-post input,
.fwo-quick-post select,
.fwo-quick-post textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #d5dae1;
    border-radius: 9px;
    color: var(--fwo-ink);
    background: var(--fwo-white);
    font: inherit;
    font-size: .9rem;
}

.fwo-discovery-form input:focus,
.fwo-discovery-form select:focus,
.fwo-quick-post input:focus,
.fwo-quick-post select:focus,
.fwo-quick-post textarea:focus {
    outline: 3px solid rgba(79, 180, 232, .2);
    border-color: var(--fwo-blue);
}

.fwo-section {
    padding-block: 82px;
}

.fwo-section--featured,
.fwo-section--destinations {
    background: var(--fwo-surface);
}

.fwo-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.fwo-section-heading h2,
.fwo-event-cta h2,
.fwo-business-callout h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.045em;
}

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

.fwo-card {
    overflow: hidden;
    border: 1px solid var(--fwo-line);
    border-radius: var(--fwo-radius);
    background: var(--fwo-white);
    box-shadow: 0 10px 34px rgba(16, 24, 40, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.fwo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(16, 24, 40, .12);
}

.fwo-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #dce5eb;
}

.fwo-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .35s ease;
}

.fwo-card:hover .fwo-card__image {
    transform: scale(1.035);
}

.fwo-card__image--placeholder {
    display: block;
    background:
        linear-gradient(135deg, rgba(79, 180, 232, .45), rgba(139, 207, 47, .2)),
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, .8), transparent 33%),
        #cfdbe4;
}

.fwo-card__badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--fwo-black);
    background: var(--fwo-yellow);
    font-size: .72rem;
    font-weight: 900;
}

.fwo-card__body {
    padding: 22px;
}

.fwo-card__kicker {
    margin: 0 0 8px;
    color: #54731e;
    font-size: .71rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fwo-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.23;
}

.fwo-card h3 a {
    color: var(--fwo-ink);
    text-decoration: none;
}

.fwo-card__body > p:last-child {
    margin-bottom: 0;
    color: var(--fwo-muted);
    font-size: .9rem;
}

.fwo-meta {
    margin: 0 0 8px;
    color: #364152;
    font-size: .84rem;
    font-weight: 700;
}

.fwo-empty {
    padding: 34px;
    border: 1px dashed #c9d1da;
    border-radius: var(--fwo-radius);
    color: var(--fwo-muted);
    background: rgba(255, 255, 255, .72);
    text-align: center;
}

.fwo-empty strong {
    color: var(--fwo-ink);
    font-size: 1.2rem;
}

.fwo-event-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 80px;
    color: var(--fwo-white);
    background: #182430 url("assets/images/destination-banner.jpg") center/cover no-repeat;
}

.fwo-event-cta::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(3, 10, 16, .88), rgba(3, 10, 16, .48));
}

.fwo-event-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.fwo-event-cta p {
    margin: 0 0 8px;
    font-weight: 600;
}

.fwo-destinations {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.fwo-destination {
    position: relative;
    min-height: 240px;
    overflow: hidden;
    border-radius: 14px;
    color: var(--fwo-white);
    background: var(--fwo-black);
    text-decoration: none;
}

.fwo-destination::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 65%);
}

.fwo-destination img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fwo-destination:hover img,
.fwo-destination:focus img {
    transform: scale(1.06);
}

.fwo-destination span {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 16px;
    left: 18px;
    font-size: 1.05rem;
    font-weight: 900;
}

.fwo-business-callout {
    color: var(--fwo-white);
    background: var(--fwo-black);
}

.fwo-business-callout__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, .5fr);
    align-items: center;
    gap: 60px;
}

.fwo-business-callout h2 {
    max-width: 850px;
}

.fwo-business-callout p:not(.fwo-eyebrow) {
    max-width: 700px;
    color: #b8c1cc;
}

.fwo-business-callout__actions {
    display: grid;
    justify-items: start;
    gap: 20px;
}

.fwo-business-callout .fwo-text-link {
    color: var(--fwo-white);
}

.fwo-page-header {
    padding: 76px 0 54px;
    background:
        linear-gradient(120deg, rgba(79, 180, 232, .16), transparent 50%),
        var(--fwo-surface);
}

.fwo-page-header h1 {
    max-width: 950px;
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.055em;
}

.fwo-page-header > .fwo-container > p:last-child {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--fwo-muted);
}

.fwo-page-header--single {
    padding-bottom: 60px;
}

.fwo-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 22px;
    color: #3f4a5a;
    font-weight: 700;
}

.fwo-single-meta span::before {
    content: "•";
    margin-right: 8px;
    color: var(--fwo-green);
}

.fwo-archive-search {
    position: relative;
    z-index: 2;
    margin-top: -26px;
}

.fwo-content {
    width: min(calc(100% - 36px), 820px);
    margin-inline: auto;
    padding-block: 64px 84px;
}

.fwo-content--wide {
    width: min(calc(100% - 36px), var(--fwo-width));
}

.fwo-content h2,
.fwo-content h3 {
    line-height: 1.2;
}

.fwo-single-image {
    overflow: hidden;
    margin-bottom: 36px;
    border-radius: var(--fwo-radius);
}

.fwo-single-image img {
    width: 100%;
}

.fwo-pagination {
    margin-top: 40px;
}

.fwo-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fwo-pagination a,
.fwo-pagination span {
    min-width: 42px;
    padding: 9px 12px;
    border: 1px solid var(--fwo-line);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
}

.fwo-pagination .current {
    border-color: var(--fwo-green);
    background: rgba(139, 207, 47, .18);
}

.site-footer {
    padding-top: 66px;
    color: #aeb8c4;
    background: #070a0d;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.4fr) 1fr 1fr;
    gap: 70px;
    padding-bottom: 54px;
}

.site-footer__brand img {
    width: 250px;
}

.site-footer__brand p {
    max-width: 430px;
}

.site-footer h2 {
    margin: 0 0 18px;
    color: var(--fwo-white);
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer a {
    color: #c6ced7;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
    color: var(--fwo-yellow);
}

.site-footer__social,
.site-footer__bottom > div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .78rem;
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 1080px) {
    .site-header__inner {
        flex-wrap: wrap;
        gap: 14px 24px;
        padding-block: 14px;
    }

    .site-nav {
        order: 3;
        flex-basis: 100%;
        overflow-x: auto;
    }

    .site-nav__list {
        justify-content: flex-start;
        padding-bottom: 2px;
    }

    .fwo-discovery-form {
        grid-template-columns: 1fr 1fr;
    }

    .fwo-discovery-form .fwo-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    body.admin-bar .site-header {
        top: 46px;
    }

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

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

    .fwo-business-callout__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .site-footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 700px) {
    .fwo-container {
        width: min(calc(100% - 28px), var(--fwo-width));
    }

    .site-header__inner {
        min-height: 74px;
    }

    .site-logo {
        flex-basis: 188px;
    }

    .site-logo img {
        width: 188px;
    }

    .site-sign-in {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .site-header__actions .fwo-button {
        min-height: 42px;
        padding: 9px 12px;
        font-size: .7rem;
    }

    .fwo-hero {
        min-height: auto;
    }

    .fwo-hero__content {
        padding-block: 72px 56px;
    }

    .fwo-hero h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .fwo-grid,
    .fwo-discovery-form {
        grid-template-columns: 1fr;
    }

    .fwo-discovery-form .fwo-button {
        grid-column: auto;
    }

    .fwo-section {
        padding-block: 58px;
    }

    .fwo-section-heading {
        display: block;
    }

    .fwo-section-heading .fwo-text-link {
        display: inline-block;
        margin-top: 14px;
    }

    .fwo-event-cta__inner {
        display: block;
    }

    .fwo-event-cta .fwo-button {
        margin-top: 24px;
    }

    .fwo-destination {
        min-height: 190px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .site-logo {
        flex-basis: 164px;
    }

    .site-logo img {
        width: 164px;
    }

    .fwo-destinations,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}
