body.hanuman-temples-page {
    --nbt-main-header-height: 130px;
    --nbt-sticky-header-height: 130px;
    --hanuman-identitybar-height: 60px;
    --hanuman-toolbar-height: 166px;
    --hanuman-toolbar-gap: 10px;
    overflow-x: clip;
}

html body.hanuman-temples-page.approved-temple-header .header.header,
html body.hanuman-temples-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.hanuman-temples-page.approved-temple-header .header.header .header__bottom,
html body.hanuman-temples-page.approved-temple-header .header.header .header__bottom.header__bottom-fiexd,
html body.hanuman-temples-page.approved-temple-header .header__bottom,
html body.hanuman-temples-page.approved-temple-header .header__bottom.header__bottom-fiexd,
html body.hanuman-temples-page.approved-temple-header .header__bottom.header__bottom-fiexd.site-header-sticky,
html body.hanuman-temples-page.approved-temple-header .header__bottom.header__bottom-fiexd.site-header-enter,
html body.hanuman-temples-page.approved-temple-header .header__bottom.header__bottom-fiexd.animated,
html body.hanuman-temples-page.approved-temple-header .header__bottom.header__bottom-fiexd.fadeInDown,
html body.hanuman-temples-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;
}

body.hanuman-temples-page .pageheader__left h3,
body.hanuman-temples-page .section__header h2,
body.hanuman-temples-page .temple-directory__summary h6,
body.hanuman-temples-page .temple-directory__item .event__content > a h5,
body.hanuman-temples-page .temple-directory__item .event__content > h5 {
    font-family: var(--temple-font-heading);
    font-weight: 600;
    text-transform: none;
}

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

body.hanuman-temples-page .temple-directory-page {
    padding-top: clamp(32px, 3vw, 48px) !important;
    scroll-padding-top: calc(var(--nbt-main-header-height) + var(--hanuman-identitybar-height) + 24px);
}

body.hanuman-temples-page .hanuman-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.hanuman-temples-page .hanuman-hero-banner .pageheader__area {
    gap: 18px;
}

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

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

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

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

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

body.hanuman-temples-page .hanuman-page-identity__content h6 {
    margin: 0;
    color: #2d2118;
    font-family: var(--temple-font-heading);
    font-size: .96rem;
    font-weight: 600;
    line-height: 1.2;
}

body.hanuman-temples-page .hanuman-page-identity__content p {
    margin: 0;
    color: #6c4b2a;
    font-family: var(--temple-font-ui);
    font-size: .84rem;
    line-height: 1.3;
    white-space: nowrap;
}

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

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

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

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

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

body.hanuman-temples-page .hanuman-page-identity.is-sticky-active .hanuman-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, .12);
}

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

body.hanuman-temples-page .hanuman-page-titlebar {
    position: relative;
    top: auto;
    z-index: 1;
    min-height: auto;
    margin-bottom: 0;
    padding-block: 0 !important;
    background-position: center center;
}

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

body.hanuman-temples-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.hanuman-temples-page .temple-directory__stat strong {
    display: block;
    margin-bottom: 10px;
    color: #7a4c1b;
    font-family: var(--temple-font-heading);
    font-size: clamp(1.9rem, 1.45rem + 1vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

body.hanuman-temples-page .temple-directory__stat span {
    display: block;
    color: #4d392a;
    font-family: var(--temple-font-ui);
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.55;
}

body.hanuman-temples-page .hanuman-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.hanuman-temples-page .hanuman-page-toolbar {
    position: relative;
    top: auto;
    z-index: 1;
    background: rgba(255, 253, 248, .96);
    border-color: rgba(197, 122, 44, .18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

body.hanuman-temples-page .hanuman-page-toolbar.is-sticky-active {
    border-color: rgba(197, 122, 44, .24);
    box-shadow: 0 12px 28px rgba(80, 45, 18, .1);
}

body.hanuman-temples-page.hanuman-menu-open .hanuman-page-toolbar {
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
}

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

body.hanuman-temples-page .hanuman-filter-panel__heading h6 {
    margin-bottom: 4px;
    color: #2d2118;
    font-family: var(--temple-font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.3;
}

body.hanuman-temples-page .hanuman-filter-panel__heading p {
    margin-bottom: 0;
    color: #6c4b2a;
    font-family: var(--temple-font-ui);
    font-size: .92rem;
    line-height: 1.5;
}

body.hanuman-temples-page .hanuman-filter-panel__heading p strong {
    color: #7a4c1b;
    font-weight: 700;
}

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

body.hanuman-temples-page .hanuman-filter-panel__controls > * {
    min-width: 0;
}

body.hanuman-temples-page .temple-directory__search--compact {
    margin-bottom: 0;
}

body.hanuman-temples-page .temple-directory__search--compact i {
    left: 18px;
}

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

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

body.hanuman-temples-page .hanuman-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-family: var(--temple-font-ui);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.5;
    appearance: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

body.hanuman-temples-page .hanuman-filter-panel__select:focus {
    outline: none;
    border-color: rgba(255, 193, 7, .38);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, .12);
}

body.hanuman-temples-page .hanuman-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, .22);
    color: #fff;
    font-family: var(--temple-font-ui);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    appearance: none;
    transition: transform .28s ease, box-shadow .28s ease, background-color .28s ease, filter .28s ease;
}

body.hanuman-temples-page .hanuman-filter-panel__reset.default-btn::before {
    background: #9b5f1f;
}

body.hanuman-temples-page .hanuman-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, .72), rgba(255, 255, 255, 0));
    opacity: .78;
    transform: skewX(-22deg) translateX(0);
    transition: transform .65s ease, opacity .28s ease;
    z-index: 0;
}

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

body.hanuman-temples-page .hanuman-filter-panel__reset.default-btn:focus-visible {
    box-shadow: 0 12px 28px rgba(173, 106, 32, .22), 0 0 0 4px rgba(255, 193, 7, .16);
    filter: none;
}

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

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

body.hanuman-temples-page .hanuman-filter-panel__reset.default-btn:active {
    -webkit-animation: none;
    animation: none;
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(156, 95, 31, .2);
    filter: none;
}

body.hanuman-temples-page .temple-directory__loading {
    margin: 0 0 18px;
    text-align: left;
    color: #8b5a24;
    font-family: var(--temple-font-ui);
    font-size: .98rem;
    font-weight: 600;
}

body.hanuman-temples-page .temple-directory__loading[hidden] {
    display: none !important;
}

body.hanuman-temples-page .temple-directory__item .event__inner {
    height: 100%;
}

body.hanuman-temples-page .temple-directory__thumb > a {
    display: block;
}

body.hanuman-temples-page .temple-directory__listing .event__thumb img {
    width: 100%;
    object-fit: cover;
}

body.hanuman-temples-page .temple-directory__listing .event__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.hanuman-temples-page .temple-directory__item .event__content > a,
body.hanuman-temples-page .temple-directory__item .event__content > h5 {
    display: block;
}

body.hanuman-temples-page .temple-directory__item .event__content > a h5,
body.hanuman-temples-page .temple-directory__item .event__content > h5 {
    margin-bottom: 0;
    min-height: calc(1.22em * 2);
    font-size: clamp(1.3rem, 1.14rem + .3vw, 1.56rem);
}

body.hanuman-temples-page .temple-directory__listing .event__metapost-info li span + span {
    display: inline;
}

body.hanuman-temples-page .temple-directory__listing .event__content > p {
    display: -webkit-box;
    min-height: calc(1.8em * 3);
    overflow: hidden;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

body.hanuman-temples-page .temple-directory__item .event__content > p + .temple-directory__action.default-btn {
    margin-top: auto;
}

body.hanuman-temples-page .temple-directory__action.default-btn[data-coming-soon="true"],
body.hanuman-temples-page .temple-directory__thumb a[data-coming-soon="true"],
body.hanuman-temples-page .event__content > a[data-coming-soon="true"] {
    cursor: default;
}

body.hanuman-temples-page .temple-directory__action.default-btn {
    margin-top: 0;
}

body.hanuman-temples-page .temple-directory__empty {
    margin-top: 6px;
}

body.hanuman-temples-page .temple-directory__pagination {
    justify-content: flex-start;
}

@media (max-width: 991.98px) {
    body.hanuman-temples-page {
        --nbt-main-header-height: 92px;
        --nbt-sticky-header-height: 92px;
        --hanuman-identitybar-height: 56px;
        --hanuman-toolbar-gap: 8px;
    }

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

    body.hanuman-temples-page .hanuman-hero-banner .pageheader__area {
        gap: 10px;
    }

    body.hanuman-temples-page .hanuman-page-identity__inner {
        gap: 12px;
        padding: 9px 0;
    }

    body.hanuman-temples-page .hanuman-page-identity__content h6 {
        font-size: .9rem;
    }

    body.hanuman-temples-page .hanuman-page-identity__content p,
    body.hanuman-temples-page .hanuman-page-identity .breadcrumb-item,
    body.hanuman-temples-page .hanuman-page-identity .breadcrumb-item a,
    body.hanuman-temples-page .hanuman-page-identity .breadcrumb-item + .breadcrumb-item::before {
        font-size: .78rem;
    }

    body.hanuman-temples-page .hanuman-filter-panel {
        padding: 18px;
    }

    body.hanuman-temples-page .hanuman-filter-panel__controls {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.hanuman-temples-page .temple-directory__search--compact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    body.hanuman-temples-page {
        --nbt-main-header-height: 92px;
        --nbt-sticky-header-height: 92px;
        --hanuman-identitybar-height: 50px;
        --hanuman-toolbar-gap: 6px;
    }

    body.hanuman-temples-page .temple-directory__stats {
        grid-template-columns: 1fr;
    }

    body.hanuman-temples-page .temple-directory-page {
        padding-top: 28px !important;
        scroll-padding-top: calc(var(--nbt-main-header-height) + var(--hanuman-identitybar-height) + 20px);
    }

    body.hanuman-temples-page .hanuman-page-identity__inner {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        min-height: 0;
        padding: 6px 0;
        gap: 8px;
    }

    body.hanuman-temples-page .hanuman-page-identity__content {
        display: flex;
        flex-wrap: nowrap;
        align-items: baseline;
        gap: 4px 6px;
        min-width: 0;
        width: 100%;
    }

    body.hanuman-temples-page .hanuman-page-identity__crumbs {
        display: none;
    }

    body.hanuman-temples-page .hanuman-page-identity__content h6 {
        flex: 1 1 auto;
        min-width: 0;
        margin-bottom: 0;
        overflow: hidden;
        font-size: .8rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.hanuman-temples-page .hanuman-page-identity__content p {
        flex: 0 0 auto;
        font-size: .7rem;
        line-height: 1.25;
        white-space: nowrap;
    }

    body.hanuman-temples-page .temple-directory__stat {
        min-height: 118px;
    }

    body.hanuman-temples-page .hanuman-filter-panel {
        padding: 16px;
        border-radius: 20px;
    }

    body.hanuman-temples-page .hanuman-filter-panel__header {
        margin-bottom: 14px;
    }

    body.hanuman-temples-page .hanuman-filter-panel__heading h6 {
        font-size: 1.02rem;
    }

    body.hanuman-temples-page .hanuman-filter-panel__heading p {
        font-size: .88rem;
    }

    body.hanuman-temples-page .hanuman-filter-panel__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.hanuman-temples-page .temple-directory__search--compact {
        grid-column: 1 / -1;
    }

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

    body.hanuman-temples-page .hanuman-filter-panel__reset.default-btn {
        width: 100%;
        min-width: 0;
        padding-inline: 18px;
    }

    body.hanuman-temples-page .temple-directory__loading {
        margin-bottom: 16px;
        font-size: .94rem;
    }
}

@media (min-width: 992px) {
    body.hanuman-temples-page .hanuman-page-toolbar {
        position: relative;
        top: auto;
        z-index: 1;
    }
}
