/* Divine Mandir common site shell. Keep every rule scoped to the generated shell. */
.dm-site-shell,
.dm-site-shell * {
    box-sizing: border-box;
}

.dm-site-shell a {
    text-decoration: none;
}

.dm-site-shell ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
    min-height: 132px;
    border: 0;
    border-bottom: 1px solid rgba(177, 121, 31, 0.3);
    color: #4c301d;
    background-color: #fff5df;
    background-image: none;
    box-shadow: 0 8px 26px rgba(83, 49, 20, 0.08);
    font-family: "Roboto", Arial, sans-serif;
    isolation: isolate;
}

.dm-site-header::before,
.dm-site-header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.dm-site-header::before {
    z-index: 0;
    background-image: url("../images/backgrounds/divine-temple-header.png");
    background-position: center 68%;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.46;
}

.dm-site-header::after {
    z-index: 1;
    background-image: linear-gradient(
        90deg,
        rgba(255, 248, 229, 0.36) 0%,
        rgba(255, 248, 229, 0.56) 22%,
        rgba(255, 248, 229, 0.78) 36%,
        rgba(255, 248, 229, 0.86) 50%,
        rgba(255, 248, 229, 0.78) 64%,
        rgba(255, 248, 229, 0.56) 78%,
        rgba(255, 248, 229, 0.36) 100%
    );
}

.dm-site-header__inner {
    position: relative;
    z-index: 2;
    width: min(100%, 1840px);
    min-height: inherit;
    margin: 0 auto;
    padding: 0 22px;
}

.dm-site-header__desktop {
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr) 150px minmax(0, 1fr) 225px;
    gap: 24px;
    align-items: center;
    min-height: 132px;
}

.dm-site-header__nav {
    min-width: 0;
}

.dm-site-header__nav--left {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.dm-site-header__nav-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(12px, 1.45vw, 23px);
}

.dm-site-header__nav--left .dm-site-header__nav-list {
    justify-content: flex-end;
}

.dm-site-header__nav-link,
.dm-site-header__mobile-link {
    color: #4c301d;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.dm-site-header__nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 4px;
    border: 1px solid transparent;
    border-radius: 999px;
}

.dm-site-header__nav-link:hover,
.dm-site-header__nav-link:focus-visible,
.dm-site-header__mobile-link:hover,
.dm-site-header__mobile-link:focus-visible {
    color: #a9610b;
}

.dm-site-header__nav-link.is-active,
.dm-site-header__mobile-link.is-active {
    color: #6b3d0b;
    background: linear-gradient(180deg, #f9df9c 0%, #e8b953 100%);
    border-color: rgba(165, 103, 16, 0.35);
    box-shadow: 0 4px 12px rgba(130, 77, 14, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.dm-site-header__nav-link.is-active {
    padding-right: 13px;
    padding-left: 13px;
}

.dm-site-header__brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    grid-column: 3;
    grid-row: 1;
    width: 146px;
    color: #56351f;
    line-height: 1;
}

.dm-site-header__brand-mark {
    display: block;
    width: 62px;
    height: 62px;
    margin: 0 auto 5px;
    object-fit: contain;
    filter: drop-shadow(0 3px 4px rgba(98, 56, 16, 0.14));
}

.dm-site-header__brand-name {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.dm-site-header__right-wing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    padding-left: 24px;
}

.dm-site-header__nav--right {
    grid-column: 4;
    grid-row: 1;
    flex: 1 1 auto;
    min-width: 0;
}

.dm-site-header__nav--right .dm-site-header__nav-list {
    justify-content: flex-start;
}

.dm-site-header__utility {
    display: flex;
    grid-column: 5;
    grid-row: 1;
    flex: 0 0 225px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: start;
    gap: 7px;
    width: 225px;
    min-width: 0;
    margin-top: 12px;
}

.dm-site-header__account-clock-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    width: 100%;
}

.dm-site-header__account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
}

.dm-site-header__account-action {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid #b77b25;
    border-radius: 999px;
    color: #5b330d;
    background: linear-gradient(180deg, #f9df91 0%, #e7b94f 100%);
    box-shadow: 0 3px 9px rgba(103, 61, 15, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.dm-site-header__account-action--login {
    border-color: rgba(122, 58, 20, 0.42);
    color: #713812;
    background: rgba(255, 250, 236, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dm-site-header__account-action:hover,
.dm-site-header__account-action:focus-visible {
    border-color: #8d4a11;
    color: #452307;
    background: linear-gradient(180deg, #f7d276 0%, #dda63a 100%);
}

.dm-site-header__account-action--login:hover,
.dm-site-header__account-action--login:focus-visible {
    color: #5f2b09;
    background: #fffaf0;
}

.dm-site-header__account-actions.is-authenticated .dm-site-header__account-action--login {
    border-color: #b77b25;
    color: #5b330d;
    background: linear-gradient(180deg, #f9df91 0%, #e7b94f 100%);
    box-shadow: 0 3px 9px rgba(103, 61, 15, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.dm-site-header__account-action[hidden] {
    display: none !important;
}

.dm-site-header__account-action--mobile {
    display: none;
}

.dm-site-header__languages {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dm-site-header .header__lang-button,
.dm-site-header__lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 25px;
    margin: 0;
    padding: 3px 7px;
    border: 1px solid rgba(255, 231, 183, 0.24);
    border-radius: 999px;
    color: #fff8e9;
    background: #5a351f;
    box-shadow: 0 2px 6px rgba(72, 39, 18, 0.12);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.dm-site-header .header__lang-button:hover,
.dm-site-header .header__lang-button:focus-visible {
    border-color: rgba(255, 227, 166, 0.72);
    color: #ffffff;
    background: #704327;
}

.dm-site-header .header__lang-button.is-active {
    border-color: #b77b25;
    color: #5b330d;
    background: linear-gradient(180deg, #f9df91 0%, #e7b94f 100%);
    box-shadow: 0 3px 8px rgba(103, 61, 15, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.dm-site-header .header__lang-more {
    position: relative;
    display: inline-flex;
}

.dm-site-header .header__lang-more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    min-width: 154px;
    padding: 8px;
    border: 1px solid rgba(166, 107, 27, 0.22);
    border-radius: 10px;
    background: #fffaf0;
    box-shadow: 0 12px 30px rgba(70, 40, 15, 0.18);
}

.dm-site-header .header__lang-more.is-open .header__lang-more-menu {
    display: grid;
    gap: 5px;
}

.dm-site-header .header__lang-more-menu .header__lang-button {
    width: 100%;
    justify-content: flex-start;
}

.dm-site-header__clock {
    display: grid;
    place-items: center;
    width: 148px;
    min-height: 46px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 225, 170, 0.2);
    border-radius: 10px;
    background: linear-gradient(180deg, #5c3822 0%, #3e2517 100%);
    box-shadow: 0 5px 14px rgba(72, 39, 18, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
}

.dm-desktop-clock-left {
    grid-column: 1;
    grid-row: 1;
}

/* The compact clock keeps its approved position with the shortcut below it. */
.dm-site-header__clock-shortcut {
    position: relative;
    width: 148px;
}

.dm-site-header__contributor-shortcut {
    position: absolute;
    top: 100%;
    right: 0;
    display: flex;
    align-items: center;
    width: 148px;
    height: 44px;
    border-radius: 999px;
}

.dm-site-header__contributor-shortcut > .dm-site-header__account-action {
    width: 100%;
    height: 32px;
    min-height: 32px;
    padding: 5px 8px;
}

.dm-site-header__contributor-shortcut:focus-visible {
    outline: 2px solid #8d4a11;
    outline-offset: 1px;
}

@media (min-width: 1280px) {
    .dm-site-header__desktop > .dm-site-header__clock-shortcut {
        display: flex;
        flex-direction: column;
        align-self: center;
    }

    .dm-site-header__desktop .dm-site-header__contributor-shortcut {
        position: static;
    }
}

.dm-site-header__clock-time {
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.dm-site-header__clock-date {
    margin-top: 3px;
    color: rgba(255, 248, 235, 0.86);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.025em;
    line-height: 1.15;
}

.dm-site-header__compact,
.dm-site-header__mobile-menu {
    display: none;
}

/* The viewport header owns level 1 of the pilot stacking system. */
body.approved-temple-header {
    padding-top: var(--dm-site-header-height, 132px) !important;
}

html {
    scroll-padding-top: calc(var(--dm-site-header-height, 132px) + 20px);
}

body.approved-temple-header [id] {
    scroll-margin-top: calc(var(--dm-site-header-height, 132px) + 20px);
}

/* Existing hub/detail sticky controls remain enabled at level 2. */
body.shiv-mandirs-page .shiv-page-identity.is-sticky-active .shiv-page-identity__bar {
    top: var(--dm-site-header-height, 132px) !important;
    z-index: 99998 !important;
}

body.shiv-mandirs-page [id] {
    scroll-margin-top: calc(var(--dm-site-header-height, 132px) + var(--shiv-identitybar-height, 60px) + 20px) !important;
}

body.shiv-detail-page .temple-page-jumpnav-shell {
    top: var(--dm-site-header-height, 132px) !important;
}

.dm-site-footer {
    position: relative;
    overflow: hidden;
    width: 100%;
    color: #fff6e7;
    background-color: #17100b;
    background-image: linear-gradient(90deg, rgba(20, 13, 8, 0.96), rgba(34, 22, 13, 0.91), rgba(20, 13, 8, 0.96)), url("../images/backgrounds/divine-temple-footer-bg.png");
    background-position: center;
    background-size: cover;
    font-family: "Roboto", Arial, sans-serif;
}

.dm-site-footer__inner {
    width: min(calc(100% - 40px), 1200px);
    margin: 0 auto;
}

.dm-site-footer__top {
    padding: 72px 0 54px;
}

.dm-site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 58px);
}

.dm-site-footer__column {
    min-width: 0;
}

.dm-site-footer__logo,
.dm-site-footer__bottom-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff8ea;
}

.dm-site-footer__logo {
    margin-bottom: 20px;
}

.dm-site-footer__logo img {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    flex: 0 0 58px !important;
    object-fit: contain !important;
}

.dm-site-footer__logo span,
.dm-site-footer__bottom-brand span {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: auto !important;
    min-width: 84px;
    max-width: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal;
}

.dm-site-footer__logo strong,
.dm-site-footer__bottom-brand strong {
    color: #fff8ea;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1;
}

.dm-site-footer__logo small,
.dm-site-footer__bottom-brand small {
    color: #dbac5b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1;
}

.dm-site-footer__brand p {
    margin: 0 0 12px;
    color: rgba(255, 246, 231, 0.76);
    font-size: 14px;
    line-height: 1.72;
}

.dm-site-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.dm-site-footer__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(222, 172, 85, 0.3);
    border-radius: 999px;
    color: #edc77f;
    background: rgba(218, 158, 61, 0.07);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.dm-site-footer__column h2 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 14px;
    color: #fffaf1;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.085em;
    line-height: 1.3;
    text-transform: uppercase;
}

.dm-site-footer__column h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #b87423, #efc36f);
}

.dm-site-footer__column ul {
    display: grid;
    gap: 10px;
}

.dm-site-footer__column li {
    margin: 0;
    padding: 0;
}

.dm-site-footer__column li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 246, 231, 0.8);
    font-size: 14px;
    line-height: 1.45;
    transition: color 160ms ease, transform 160ms ease;
}

.dm-site-footer__column li a::before {
    content: "";
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: #d5a34e;
    box-shadow: 0 0 0 4px rgba(213, 163, 78, 0.08);
}

.dm-site-footer__column li a:hover,
.dm-site-footer__column li a:focus-visible {
    color: #ffffff;
    transform: translateX(3px);
}

.dm-site-footer__bottom {
    border-top: 1px solid rgba(225, 176, 90, 0.2);
    background: rgba(5, 3, 2, 0.24);
}

.dm-site-footer__bottom-bar {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    align-items: center;
    justify-items: center;
    gap: 20px;
    padding: 28px 0;
    text-align: center;
}

.dm-site-footer__identity {
    grid-column: 2;
    min-width: 0;
}

.dm-site-footer__identity .dm-site-footer__bottom-brand {
    justify-content: center;
    margin-bottom: 10px;
}

.dm-site-footer__bottom-brand img {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    object-fit: contain !important;
}

.dm-site-footer__bottom-brand strong {
    font-size: 18px;
}

.dm-site-footer__bottom-brand small {
    font-size: 7px;
}

.dm-site-footer__company,
.dm-site-footer__credits .dm-site-footer__copyright,
.dm-site-footer__credits .dm-site-footer__credit {
    margin: 0;
    color: rgba(255, 246, 231, 0.72);
    font-size: 14px;
    line-height: 1.65;
}

.dm-site-footer__credits {
    display: grid;
    grid-column: 2;
    grid-row: 2;
    width: min(100%, 680px);
    min-width: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(225, 176, 90, 0.18);
    justify-items: center;
    gap: 6px;
    text-align: center;
    white-space: normal;
}

.dm-site-footer__credits .dm-site-footer__credit {
    color: rgba(255, 246, 231, 0.82);
}

.dm-site-footer__credit a {
    color: #d8aa5a;
    white-space: nowrap;
    text-decoration: none;
    text-underline-offset: 3px;
}

.dm-site-footer__credit a:hover {
    color: #edc77f;
    text-decoration: underline;
}

.dm-site-footer__credit a:focus-visible {
    border-radius: 2px;
    outline: 2px solid #f1cc82;
    outline-offset: 3px;
    color: #f1cc82;
    text-decoration: underline;
}

.dm-site-footer__back-to-top {
    grid-column: 3;
    grid-row: 1 / 3;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 231, 177, 0.58);
    border-radius: 50%;
    color: #3d250f;
    background: linear-gradient(180deg, #efc46f, #bd7b25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: transform 160ms ease, filter 160ms ease;
}

.dm-site-footer__back-to-top:hover,
.dm-site-footer__back-to-top:focus-visible {
    color: #2d1909;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

@media (max-width: 1320px) and (min-width: 1280px) {
    .dm-site-header__inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .dm-site-header__desktop {
        grid-template-columns: 205px minmax(0, 1fr) 150px minmax(0, 1fr) 205px;
        gap: 12px;
    }

    .dm-site-header__nav-list {
        gap: 10px;
    }

    .dm-site-header__nav-link {
        font-size: 10px;
    }

    .dm-site-header__utility {
        flex-basis: 205px;
        width: 205px;
    }

    .dm-site-header .header__lang-button,
    .dm-site-header__lang-pill {
        padding-right: 5px;
        padding-left: 5px;
        font-size: 8.5px;
    }
}

@media (max-width: 1279.98px) {
    /* Reserve room below the unchanged 78px compact row, including its hit target. */
    .dm-site-header__clock-shortcut--compact {
        flex: 0 0 auto;
        width: 126px;
    }

    .dm-site-header__clock-shortcut--compact .dm-site-header__contributor-shortcut {
        top: calc(100% + 4px);
        width: 118px;
    }
    .dm-site-header::before {
        background-position: center 70%;
        opacity: 0.42;
    }

    .dm-site-header::after {
        background-image: linear-gradient(
            90deg,
            rgba(255, 248, 229, 0.5),
            rgba(255, 248, 229, 0.8) 36%,
            rgba(255, 248, 229, 0.86) 50%,
            rgba(255, 248, 229, 0.8) 64%,
            rgba(255, 248, 229, 0.5)
        );
    }

    .dm-site-header {
        min-height: 112px;
    }

    .dm-site-header__inner {
        min-height: 112px;
        padding: 0 20px;
    }

    .dm-site-header__desktop {
        display: none;
    }

    .dm-site-header__compact {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        min-height: 78px;
    }

    .dm-site-header__compact-brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: #55331c;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
    }

    body .dm-site-header .dm-site-header__compact-mark {
        display: block !important;
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        flex: 0 0 48px !important;
        object-fit: contain !important;
    }

    .dm-site-header__compact-actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .dm-site-header__account-action--compact {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .dm-site-header__compact-clock {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        min-width: 126px;
        padding: 5px 10px;
        border: 1px solid rgba(255, 225, 170, 0.2);
        border-radius: 9px;
        color: rgba(255, 248, 235, 0.84);
        background: linear-gradient(180deg, #5c3822 0%, #3e2517 100%);
        box-shadow: 0 4px 12px rgba(72, 39, 18, 0.18);
        font-size: 10px;
        font-weight: 700;
        line-height: 1.3;
        white-space: nowrap;
    }

    .dm-site-header__compact-clock time {
        color: #ffffff;
        font-family: "Courier New", monospace;
        font-size: 15px;
        font-weight: 800;
        letter-spacing: 0.06em;
    }

    .dm-site-header__menu-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 1px solid rgba(155, 97, 23, 0.36);
        border-radius: 10px;
        background: rgba(255, 250, 236, 0.86);
        cursor: pointer;
    }

    .dm-site-header__menu-toggle span {
        width: 21px;
        height: 2px;
        border-radius: 999px;
        background: #70451f;
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .dm-site-header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .dm-site-header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .dm-site-header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .dm-site-header__mobile-menu {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        z-index: 30;
        max-height: calc(100vh - var(--dm-site-header-height, 108px) - 8px);
        padding: 18px;
        overflow-y: auto;
        border: 1px solid rgba(161, 101, 23, 0.25);
        border-radius: 0 0 16px 16px;
        background: rgba(255, 249, 232, 0.985);
        box-shadow: 0 18px 36px rgba(67, 39, 14, 0.2);
    }

    .dm-site-header__mobile-menu:not([hidden]) {
        display: block;
    }

    .dm-site-header__account-actions--mobile {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 10px 0;
    }

    .dm-site-header__account-actions--mobile.is-authenticated {
        grid-template-columns: 1fr;
    }

    .dm-site-header__account-action--mobile {
        display: flex;
        width: auto;
        min-height: 44px;
        margin: 0;
        border-radius: 10px;
        font-size: 13px;
    }

    .dm-site-header__mobile-nav-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .dm-site-header__mobile-link {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 8px 12px;
        border: 1px solid rgba(163, 105, 32, 0.12);
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.42);
        font-size: 11px;
    }

    .dm-site-header__languages--mobile {
        justify-content: flex-start;
        flex-wrap: wrap;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(166, 107, 27, 0.18);
    }

    .dm-site-header__languages--mobile .header__lang-button {
        min-height: 31px;
        padding: 5px 10px;
        font-size: 10px;
    }

    .dm-site-header__languages--mobile .header__lang-more {
        position: static;
    }

    .dm-site-header__languages--mobile .header__lang-more-menu {
        right: 0;
        left: 0;
        min-width: 0;
    }

    .dm-site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 54px;
    }

}

@media (max-width: 575.98px) {
    .dm-site-header__clock-shortcut--compact {
        width: 94px;
    }
    .dm-site-header::before {
        background-position: center 72%;
        opacity: 0.26;
    }

    .dm-site-header::after {
        background-image: linear-gradient(
            90deg,
            rgba(255, 248, 229, 0.64),
            rgba(255, 248, 229, 0.84) 45%,
            rgba(255, 248, 229, 0.84) 55%,
            rgba(255, 248, 229, 0.64)
        );
    }

    .dm-site-header {
        min-height: 104px;
    }

    body .dm-site-header .dm-site-header__inner {
        height: auto !important;
        min-height: 104px;
        padding: 0 12px;
    }

    body .dm-site-header .dm-site-header__desktop {
        display: none !important;
    }

    body .dm-site-header .dm-site-header__compact {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px;
        height: auto !important;
        min-height: 72px;
    }

    body .dm-site-header .dm-site-header__compact-brand {
        display: flex !important;
        flex: 0 1 auto !important;
        align-items: center !important;
        gap: 6px;
        min-width: 0 !important;
        font-size: clamp(13px, 3.6vw, 15px);
    }

    body .dm-site-header .dm-site-header__compact-mark {
        display: block !important;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        flex: 0 0 42px !important;
        object-fit: contain !important;
    }

    body .dm-site-header .dm-site-header__compact-actions {
        display: flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        gap: 6px;
        min-width: 0 !important;
    }

    body .dm-site-header .dm-site-header__account-action--compact {
        min-height: 34px;
        padding: 5px 8px;
        font-size: 9px;
    }

    body .dm-site-header .dm-site-header__compact-clock {
        flex: 0 0 94px !important;
        align-items: center !important;
        width: 94px;
        min-width: 94px;
        max-width: 94px;
        padding: 4px 7px;
        font-size: 8px;
        text-align: center;
    }

    .dm-site-header__compact-clock time {
        font-size: 12px;
    }

    body .dm-site-header .dm-site-header__menu-toggle {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        flex: 0 0 40px !important;
    }

    .dm-site-header__mobile-menu {
        right: 8px;
        left: 8px;
        max-height: calc(100vh - 80px);
        padding: 14px;
    }

    .dm-site-header__mobile-nav-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .dm-site-footer__inner {
        width: min(calc(100% - 32px), 1200px);
    }

    .dm-site-footer__top {
        padding: 50px 0 38px;
    }

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

    .dm-site-footer__brand p br {
        display: none;
    }

    .dm-site-footer__column li a {
        width: 100%;
        min-height: 34px;
    }

    .dm-site-footer__bottom-bar {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 26px 0;
    }

    .dm-site-footer__identity,
    .dm-site-footer__credits {
        grid-column: 1;
    }

    .dm-site-footer__back-to-top {
        grid-column: 1;
        grid-row: 3;
        justify-self: end;
    }
}

/* Performance-gated Divine Mandir readiness indicator. It never covers or blocks the page. */
.dm-brand-loader[hidden] {
    display: none !important;
}

.dm-brand-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1050;
    width: min(260px, calc(100vw - 48px));
    padding: 0;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 0;
    color: #563820;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    text-align: center;
    pointer-events: none;
}

.dm-brand-loader > img {
    display: block;
    width: 82px;
    max-width: 100%;
    height: 82px;
    margin: 0 auto 13px;
    object-fit: contain;
}

.dm-brand-loader__name {
    display: block;
    color: #563820;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

.dm-brand-loader__label {
    display: block;
    margin: 7px 0 18px;
    color: #765734;
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.5;
    text-transform: uppercase;
}

.dm-brand-loader__track {
    height: 4px;
    overflow: hidden;
    border-radius: 6px;
    background: #ead8b8;
}

.dm-brand-loader__fill {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, #bb8743, #906029);
    transition: transform 100ms ease-out;
}

.dm-brand-loader__row {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 2px;
    margin-top: 10px;
    color: #674627;
    font-size: 12px;
    line-height: 1.5;
}

.dm-brand-loader__percent {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .dm-site-header__nav-link,
    .dm-site-header__mobile-link,
    .dm-site-header__menu-toggle span,
    .dm-site-footer__column li a,
    .dm-site-footer__back-to-top {
        transition: none;
    }

    .dm-brand-loader__fill {
        transition: none;
    }
}
.dm-temple-context {
    padding: 18px 20px;
    border-top: 1px solid rgba(167, 103, 34, 0.16);
    background: #fff9ef;
}

.dm-temple-context__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 22px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.dm-temple-context__inner > span {
    color: #4f3928;
    font-size: 0.82rem;
    font-weight: 800;
}

.dm-temple-context__inner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dm-temple-context__inner a {
    color: #8a541b;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dm-temple-context__inner a:focus-visible {
    outline: 3px solid #d4943d;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .dm-temple-context__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .dm-temple-context__inner ul {
        justify-content: flex-start;
    }
}

@media (max-width: 335px) {
    .dm-site-header__compact-brand span {
        display: none;
    }
}

@media (max-width: 359px) {
    body.state-directory-page .dm-site-header__compact-brand span,
    body.states-page .dm-site-header__compact-brand span {
        display: none;
    }
}
