body.festival-hub-page {
    --nbt-main-header-height: 130px;
    --festival-identity-height: 60px;
    overflow-x: clip;
    font-family: var(--temple-font-ui);
}

body.festival-hub-page .section__header h2,
body.festival-hub-page .festival-filter-panel__heading h6,
body.festival-hub-page .festival-hub__card .event__content > h5,
body.festival-hub-page .festival-page-identity__content h6,
body.festival-hub-page .temple-directory__stat strong {
    font-family: var(--temple-font-heading);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
}

html body.festival-hub-page.approved-temple-header .header.header,
html body.festival-hub-page.approved-temple-header .header {
    position: relative !important;
    top: auto !important;
    z-index: 99999 !important;
    min-height: var(--nbt-main-header-height) !important;
    height: auto !important;
    overflow: visible !important;
    isolation: isolate !important;
}

html body.festival-hub-page.approved-temple-header .header__bottom,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd.site-header-sticky,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd.site-header-enter,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd.animated,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd.fadeInDown,
html body.festival-hub-page.approved-temple-header .header__bottom.header__bottom-fiexd.animated.fadeInDown {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 99999 !important;
}

html,
body.festival-hub-page,
body.festival-hub-page .festival-directory-page {
    scroll-padding-top: calc(var(--nbt-main-header-height) + var(--festival-identity-height) + 24px);
}

body.festival-hub-page .festival-directory-page,
body.festival-hub-page .temple-directory__listing,
body.festival-hub-page .temple-directory__listing .section__wrapper,
body.festival-hub-page .temple-directory__listing .row {
    overflow-x: clip;
}

body.festival-hub-page .festival-directory-page {
    padding-top: clamp(32px, 3vw, 48px) !important;
}

body.festival-hub-page .festival-hub__hero-banner {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    z-index: 1;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: 0;
}

body.festival-hub-page .festival-hub__hero-banner .pageheader__area {
    gap: 18px;
}

body.festival-hub-page .festival-page-identity {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.festival-hub-page .festival-page-identity__bar {
    position: relative;
    z-index: 920;
    min-height: 0 !important;
    margin: 0;
    padding: 0;
    background: rgba(255, 250, 241, 0.98);
    border-top: 1px solid rgba(197, 122, 44, 0.12);
    border-bottom: 1px solid rgba(197, 122, 44, 0.2);
    box-shadow: 0 8px 18px rgba(68, 34, 12, 0.08);
    backdrop-filter: blur(8px);
}

body.festival-hub-page .festival-page-identity__bar > .container {
    min-height: 0 !important;
}

body.festival-hub-page .festival-page-identity__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 0;
    padding: 10px 0;
}

body.festival-hub-page .festival-page-identity__content {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    gap: 4px 10px;
    min-width: 0;
}

body.festival-hub-page .festival-page-identity__content h6 {
    margin: 0;
    color: #2d2118;
    font-size: 0.96rem;
    line-height: 1.2;
}

body.festival-hub-page .festival-page-identity__content p {
    margin: 0;
    color: #6c4b2a;
    font-size: 0.84rem;
    line-height: 1.3;
    white-space: nowrap;
}

body.festival-hub-page .festival-page-identity__content p strong {
    color: #7a4c1b;
    font-weight: 700;
}

body.festival-hub-page .festival-page-identity__crumbs {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
}

body.festival-hub-page .festival-page-identity .breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

body.festival-hub-page .festival-page-identity .breadcrumb-item,
body.festival-hub-page .festival-page-identity .breadcrumb-item a,
body.festival-hub-page .festival-page-identity .breadcrumb-item + .breadcrumb-item::before {
    color: #5a4028;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

body.festival-hub-page .festival-page-identity .breadcrumb-item.active {
    color: #2d2118;
}

body.festival-hub-page .festival-page-identity.is-sticky-active .festival-page-identity__bar {
    position: fixed;
    top: var(--nbt-main-header-height);
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 12px 24px rgba(68, 34, 12, 0.12);
}

body.festival-hub-page .festival-page-identity.is-sticky-active {
    padding-bottom: var(--festival-identity-height) !important;
}

body.festival-hub-page .festival-hub__intro {
    margin-bottom: 18px;
}

body.festival-hub-page .festival-hub__intro p {
    max-width: 760px;
    margin-inline: auto;
}

body.festival-hub-page .temple-directory__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

body.festival-hub-page .temple-directory__stat {
    min-height: 132px;
    padding: 22px 20px;
    border: 1px solid var(--temple-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--temple-shadow-soft);
    text-align: center;
}

body.festival-hub-page .temple-directory__stat strong {
    display: block;
    margin-bottom: 10px;
    color: #7a4c1b;
    font-size: clamp(1.9rem, 1.45rem + 1vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

body.festival-hub-page .temple-directory__stat span {
    display: block;
    color: #4d392a;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.55;
}

body.festival-hub-page .festival-filter-panel {
    margin-bottom: 18px;
    padding: 20px 22px 22px;
    border: 1px solid var(--temple-border);
    border-radius: 24px;
    background: #fffdf8;
    box-shadow: var(--temple-shadow-soft);
}

body.festival-hub-page .festival-page-toolbar {
    position: relative;
    top: auto;
    z-index: 1;
    background: rgba(255, 253, 248, 0.96);
    border-color: rgba(197, 122, 44, 0.18);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

body.festival-hub-page .festival-filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

body.festival-hub-page .festival-filter-panel__heading h6 {
    margin-bottom: 4px;
    color: #2d2118;
    font-size: 1.12rem;
    line-height: 1.3;
}

body.festival-hub-page .festival-filter-panel__heading p {
    margin-bottom: 0;
    color: #6c4b2a;
    font-size: 0.92rem;
    line-height: 1.5;
}

body.festival-hub-page .festival-filter-panel__controls {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)) auto;
    gap: 14px;
    align-items: center;
}

body.festival-hub-page .festival-filter-panel__controls > * {
    min-width: 0;
}

body.festival-hub-page .temple-directory__search--compact {
    margin-bottom: 0;
}

body.festival-hub-page .temple-directory__search--compact i {
    left: 18px;
}

body.festival-hub-page .temple-directory__search--compact .temple-directory__search-input,
body.festival-hub-page .festival-filter-panel__select {
    min-height: 56px;
    border-radius: 18px;
    box-shadow: none;
}

body.festival-hub-page .temple-directory__search--compact .temple-directory__search-input {
    padding: 14px 18px 14px 50px;
}

body.festival-hub-page .festival-filter-panel__select {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border: 1px solid var(--temple-border);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%237a4c1b' d='M3.1 5.2a.75.75 0 0 1 1.06 0L7 8.04 9.84 5.2a.75.75 0 1 1 1.06 1.06L7.53 9.63a.75.75 0 0 1-1.06 0L3.1 6.26a.75.75 0 0 1 0-1.06Z'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    color: #2e2219;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    appearance: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.festival-hub-page .festival-filter-panel__select:focus,
body.festival-hub-page .temple-directory__search--compact .temple-directory__search-input:focus {
    outline: none;
    border-color: rgba(255, 193, 7, 0.38);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.12);
}

body.festival-hub-page .festival-filter-panel__reset.default-btn {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 56px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    outline: none;
    background: #b8752b;
    box-shadow: 0 12px 28px rgba(173, 106, 32, 0.22);
    color: #fff;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    appearance: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, filter 0.28s ease;
}

body.festival-hub-page .festival-filter-panel__reset.default-btn::after {
    content: "";
    position: absolute;
    top: -8%;
    bottom: -8%;
    left: -38%;
    width: 26%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 244, 212, 0.72), rgba(255, 255, 255, 0));
    opacity: 0.78;
    transform: skewX(-22deg) translateX(0);
    transition: transform 0.65s ease, opacity 0.28s ease;
    z-index: 0;
}

body.festival-hub-page .festival-filter-panel__reset.default-btn span {
    position: relative;
    z-index: 1;
    display: inline-block;
    color: #fff;
    font-size: inherit;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.festival-hub-page .festival-filter-panel__reset.default-btn:focus-visible {
    box-shadow: 0 12px 28px rgba(173, 106, 32, 0.22), 0 0 0 4px rgba(255, 193, 7, 0.16);
}

@media (hover: hover) and (pointer: fine) {
    body.festival-hub-page .festival-filter-panel__reset.default-btn:hover,
    body.festival-hub-page .festival-filter-panel__reset.default-btn:focus-visible {
        transform: translateY(-1px);
        background: #9b5f1f;
        box-shadow: 0 14px 30px rgba(156, 95, 31, 0.24);
        filter: none;
    }

    body.festival-hub-page .festival-filter-panel__reset.default-btn:hover::after,
    body.festival-hub-page .festival-filter-panel__reset.default-btn:focus-visible::after {
        transform: skewX(-22deg) translateX(420%);
    }
}

body.festival-hub-page .festival-filter-panel__reset.default-btn:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(156, 95, 31, 0.2);
    filter: none;
}

body.festival-hub-page .festival-filter-panel__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

body.festival-hub-page .festival-filter-panel__results,
body.festival-hub-page .festival-filter-panel__summary,
body.festival-hub-page .festival-filter-panel__loading {
    margin: 0;
    color: #6f4d33;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
}

body.festival-hub-page .festival-filter-panel__summary {
    text-align: right;
}

body.festival-hub-page .festival-filter-panel__loading {
    margin: 0 0 18px;
    color: #8b5a24;
    text-align: left;
}

body.festival-hub-page .festival-filter-panel__loading[hidden] {
    display: none !important;
}

body.festival-hub-page .festival-hub__listing {
    overflow-x: clip;
}

body.festival-hub-page .festival-hub__card {
    width: 100%;
    height: 100%;
}

body.festival-hub-page .festival-hub__card .event__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px 22px 20px;
    border: 1px solid rgba(214, 172, 103, 0.2);
    border-radius: 24px;
    background: #fffdf8;
    box-shadow: 0 14px 30px rgba(74, 43, 18, 0.07);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

body.festival-hub-page .festival-hub__card:hover .event__inner,
body.festival-hub-page .festival-hub__card:focus-within .event__inner {
    transform: translateY(-4px);
    border-color: rgba(184, 124, 39, 0.28);
    box-shadow: 0 18px 34px rgba(74, 43, 18, 0.1);
}

body.festival-hub-page .festival-hub__card .event__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
}

body.festival-hub-page .festival-hub__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.festival-hub-page .festival-hub__pill,
body.festival-hub-page .festival-hub__status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.festival-hub-page .festival-hub__pill {
    background: rgba(248, 240, 221, 0.96);
    border: 1px solid rgba(214, 177, 102, 0.28);
    color: #6f4d33;
}

body.festival-hub-page .festival-hub__status-badge {
    margin-left: auto;
    border: 1px solid transparent;
}

body.festival-hub-page .festival-hub__status-badge--verified {
    background: rgba(226, 243, 223, 0.96);
    border-color: rgba(90, 147, 88, 0.22);
    color: #3b6a3a;
}

body.festival-hub-page .festival-hub__status-badge--varies {
    background: rgba(255, 243, 222, 0.96);
    border-color: rgba(191, 142, 63, 0.24);
    color: #8b5a24;
}

body.festival-hub-page .festival-hub__status-badge--pending {
    background: rgba(248, 233, 219, 0.98);
    border-color: rgba(177, 104, 46, 0.22);
    color: #8a4d20;
}

body.festival-hub-page .festival-hub__card .event__content > h5 {
    margin: 2px 0 0;
    min-height: calc(1.18em * 2);
    color: #2e2219;
    font-size: 1.2rem;
    line-height: 1.18;
}

body.festival-hub-page .festival-hub__location,
body.festival-hub-page .festival-hub__line {
    margin: 0;
    color: #5d4430;
    font-size: 0.93rem;
    line-height: 1.58;
}

body.festival-hub-page .festival-hub__location {
    color: #8b5a24;
    font-weight: 700;
}

body.festival-hub-page .festival-hub__line strong {
    color: #3b2718;
    font-weight: 700;
}

body.festival-hub-page .festival-hub__clamp--1,
body.festival-hub-page .festival-hub__clamp--2 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

body.festival-hub-page .festival-hub__clamp--1 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

body.festival-hub-page .festival-hub__clamp--2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

body.festival-hub-page .festival-hub__actions {
    margin-top: auto;
    padding-top: 8px;
}

body.festival-hub-page .festival-hub__cta.default-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #b8752b, #c98939);
    box-shadow: 0 10px 24px rgba(173, 106, 32, 0.2);
    opacity: 1;
    cursor: default;
}

body.festival-hub-page .festival-hub__cta.default-btn[disabled] {
    opacity: 1;
}

body.festival-hub-page .festival-hub__cta.default-btn span {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

body.festival-hub-page .festival-hub__empty {
    padding: 28px 0 6px;
}

body.festival-hub-page .festival-hub__empty h6 {
    color: #2d2118;
}

body.festival-hub-page .festival-hub__empty p,
body.festival-hub-page .festival-hub__pagination .temple-directory__category-counts {
    color: #6f4d33;
    font-size: 0.96rem;
    font-weight: 600;
}

body.festival-hub-page .festival-hub__pagination {
    align-items: flex-start;
}

@media (max-width: 991px) {
    body.festival-hub-page {
        --nbt-main-header-height: 92px;
        --festival-identity-height: 56px;
    }

    body.festival-hub-page .festival-page-identity__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    body.festival-hub-page .festival-page-identity__content {
        grid-template-columns: 1fr;
    }

    body.festival-hub-page .festival-page-identity__content p,
    body.festival-hub-page .festival-page-identity .breadcrumb {
        white-space: normal;
    }

    body.festival-hub-page .festival-page-identity__crumbs {
        margin-left: 0;
    }

    body.festival-hub-page .temple-directory__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.festival-hub-page .festival-filter-panel__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.festival-hub-page .temple-directory__search--compact {
        grid-column: 1 / -1;
    }

    body.festival-hub-page .festival-filter-panel__reset.default-btn {
        grid-column: 1 / -1;
        justify-self: flex-start;
    }

    body.festival-hub-page .festival-filter-panel__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    body.festival-hub-page .festival-filter-panel__summary {
        text-align: left;
    }
}

@media (max-width: 767px) {
    body.festival-hub-page {
        --nbt-main-header-height: 92px;
        --festival-identity-height: 50px;
    }

    html,
    body.festival-hub-page,
    body.festival-hub-page .festival-directory-page {
        scroll-padding-top: calc(var(--nbt-main-header-height) + var(--festival-identity-height) + 20px);
    }

    body.festival-hub-page .festival-page-identity__inner {
        gap: 6px;
        padding: 8px 0;
    }

    body.festival-hub-page .festival-page-identity__content h6 {
        font-size: 0.92rem;
    }

    body.festival-hub-page .festival-page-identity__content p,
    body.festival-hub-page .festival-page-identity .breadcrumb-item,
    body.festival-hub-page .festival-page-identity .breadcrumb-item a,
    body.festival-hub-page .festival-page-identity .breadcrumb-item + .breadcrumb-item::before {
        font-size: 0.76rem;
    }

    body.festival-hub-page .temple-directory__stats {
        grid-template-columns: 1fr;
    }

    body.festival-hub-page .temple-directory__stat {
        min-height: 118px;
    }

    body.festival-hub-page .festival-filter-panel {
        padding: 18px;
        border-radius: 20px;
    }

    body.festival-hub-page .festival-filter-panel__header {
        margin-bottom: 14px;
    }

    body.festival-hub-page .festival-filter-panel__heading h6 {
        font-size: 1rem;
    }

    body.festival-hub-page .festival-filter-panel__heading p {
        font-size: 0.88rem;
    }

    body.festival-hub-page .festival-filter-panel__controls {
        grid-template-columns: 1fr;
    }

    body.festival-hub-page .temple-directory__search--compact,
    body.festival-hub-page .festival-filter-panel__reset.default-btn {
        width: 100%;
    }

    body.festival-hub-page .temple-directory__search--compact .temple-directory__search-input,
    body.festival-hub-page .festival-filter-panel__select,
    body.festival-hub-page .festival-filter-panel__reset.default-btn {
        min-height: 54px;
    }

    body.festival-hub-page .festival-hub__card .event__inner {
        padding: 20px 18px 18px;
    }

    body.festival-hub-page .festival-hub__status-badge {
        margin-left: 0;
    }
}
