body.hanuman-temple-detail-page {
    --hanuman-ink: #2f261f;
    --hanuman-muted: #6f6257;
    --hanuman-line: #eadfd4;
    --hanuman-soft: #fff8ef;
    --hanuman-saffron: #a64b16;
    --hanuman-saffron-dark: #74300f;
    --hanuman-gold: #df9a2b;
    --hanuman-green: #2e6f55;
    background: #f7f3ee;
    color: var(--hanuman-ink);
}

body.hanuman-temple-detail-page .hanuman-page {
    overflow-x: clip;
}

body.hanuman-temple-detail-page .hanuman-page a {
    text-underline-offset: 0.18em;
}

body.hanuman-temple-detail-page .hanuman-hero-shell.temple-detail__hero {
    border: 0;
    background: transparent;
    box-shadow: none;
}

body.hanuman-temple-detail-page .hanuman-hero-shell .event__inner,
body.hanuman-temple-detail-page .hanuman-hero-shell .event__content {
    padding: 0;
}

body.hanuman-temple-detail-page .hanuman-hero-card,
body.hanuman-temple-detail-page .hanuman-section,
body.hanuman-temple-detail-page .hanuman-sidebar-card,
body.hanuman-temple-detail-page .hanuman-circuit,
body.hanuman-temple-detail-page .hanuman-related {
    background: #fff;
    border: 1px solid var(--hanuman-line);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(73, 44, 25, 0.08);
}

body.hanuman-temple-detail-page .hanuman-hero-card {
    padding: clamp(18px, 2.2vw, 30px);
}

body.hanuman-temple-detail-page .hanuman-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr) minmax(250px, 0.85fr);
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}

body.hanuman-temple-detail-page .hanuman-media-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5d5c6;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff2df, #f7e2c7);
}

body.hanuman-temple-detail-page .hanuman-media-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

body.hanuman-temple-detail-page .hanuman-no-image {
    display: flex;
    flex: 1;
    aspect-ratio: 4 / 3;
    align-items: center;
    justify-content: center;
    padding: 28px;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(223, 154, 43, 0.24), transparent 32%),
        linear-gradient(145deg, #fff7ec, #f4dfc5);
}

body.hanuman-temple-detail-page .hanuman-no-image-inner {
    display: grid;
    gap: 10px;
    justify-items: center;
    max-width: 280px;
}

body.hanuman-temple-detail-page .hanuman-no-image-icon {
    display: inline-grid;
    width: 58px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--hanuman-saffron);
    box-shadow: 0 8px 20px rgba(116, 48, 15, 0.12);
    font-size: 1.35rem;
}

body.hanuman-temple-detail-page .hanuman-no-image strong {
    color: var(--hanuman-saffron-dark);
    font-size: 1rem;
}

body.hanuman-temple-detail-page .hanuman-no-image span {
    color: var(--hanuman-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

body.hanuman-temple-detail-page .hanuman-media-caption {
    padding: 12px 14px;
    border-top: 1px solid #e5d5c6;
    color: var(--hanuman-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

body.hanuman-temple-detail-page .hanuman-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.hanuman-temple-detail-page .hanuman-eyebrow,
body.hanuman-temple-detail-page .hanuman-section-kicker,
body.hanuman-temple-detail-page .hanuman-card-label {
    color: var(--hanuman-saffron);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

body.hanuman-temple-detail-page .hanuman-hero-copy h1 {
    margin: 8px 0 10px;
    color: #2b1d14;
    font-size: clamp(2rem, 3.2vw, 3.35rem);
    line-height: 1.08;
}

body.hanuman-temple-detail-page .hanuman-location {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 15px;
    color: var(--hanuman-saffron-dark);
    font-weight: 700;
}

body.hanuman-temple-detail-page .hanuman-hero-summary {
    margin: 0;
    color: var(--hanuman-muted);
    font-size: 1rem;
    line-height: 1.72;
}

body.hanuman-temple-detail-page .hanuman-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

body.hanuman-temple-detail-page .hanuman-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border: 1px solid var(--hanuman-saffron);
    border-radius: 10px;
    background: var(--hanuman-saffron);
    color: #fff;
    font-weight: 750;
    line-height: 1.2;
    cursor: pointer;
}

body.hanuman-temple-detail-page .hanuman-button:hover,
body.hanuman-temple-detail-page .hanuman-button:focus-visible {
    background: var(--hanuman-saffron-dark);
    border-color: var(--hanuman-saffron-dark);
    color: #fff;
}

body.hanuman-temple-detail-page .hanuman-button--secondary {
    background: #fff;
    color: var(--hanuman-saffron-dark);
}

body.hanuman-temple-detail-page .hanuman-button--secondary:hover,
body.hanuman-temple-detail-page .hanuman-button--secondary:focus-visible {
    background: var(--hanuman-soft);
    color: var(--hanuman-saffron-dark);
}

body.hanuman-temple-detail-page .hanuman-key-card {
    align-self: stretch;
    padding: 18px;
    border: 1px solid #e4d5c8;
    border-radius: 16px;
    background: #fffbf6;
}

body.hanuman-temple-detail-page .hanuman-key-card h2 {
    margin: 0 0 12px;
    color: var(--hanuman-saffron-dark);
    font-size: 1.1rem;
}

body.hanuman-temple-detail-page .hanuman-key-row {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #eadfd4;
}

body.hanuman-temple-detail-page .hanuman-key-row span {
    color: var(--hanuman-muted);
    font-size: 0.82rem;
}

body.hanuman-temple-detail-page .hanuman-key-row strong {
    color: var(--hanuman-ink);
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: right;
}

body.hanuman-temple-detail-page .hanuman-jumpnav {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    padding: 12px;
    overflow-x: auto;
    border: 1px solid var(--hanuman-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    scrollbar-width: thin;
}

body.hanuman-temple-detail-page .hanuman-jumpnav a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--hanuman-soft);
    color: var(--hanuman-saffron-dark);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
}

body.hanuman-temple-detail-page .hanuman-content-stack {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 20px;
    margin-top: 20px;
}

body.hanuman-temple-detail-page .hanuman-content-stack > *,
body.hanuman-temple-detail-page .hanuman-grid-2,
body.hanuman-temple-detail-page .hanuman-grid-3,
body.hanuman-temple-detail-page .hanuman-grid-4,
body.hanuman-temple-detail-page .hanuman-nearby-grid,
body.hanuman-temple-detail-page .hanuman-related-grid,
body.hanuman-temple-detail-page .hanuman-circuit-track,
body.hanuman-temple-detail-page .hanuman-lower-layout,
body.hanuman-temple-detail-page .hanuman-main-column,
body.hanuman-temple-detail-page .hanuman-sidebar {
    min-width: 0;
    max-width: 100%;
}

body.hanuman-temple-detail-page .hanuman-section,
body.hanuman-temple-detail-page .hanuman-circuit,
body.hanuman-temple-detail-page .hanuman-related {
    padding: clamp(20px, 2.6vw, 34px);
    scroll-margin-top: 118px;
}

body.hanuman-temple-detail-page .hanuman-section-header {
    display: grid;
    gap: 7px;
    margin-bottom: 18px;
}

body.hanuman-temple-detail-page .hanuman-section-header h2 {
    margin: 0;
    color: #2d2119;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.2;
}

body.hanuman-temple-detail-page .hanuman-section-intro,
body.hanuman-temple-detail-page .hanuman-prose p,
body.hanuman-temple-detail-page .hanuman-feature-card p,
body.hanuman-temple-detail-page .hanuman-decision-card p,
body.hanuman-temple-detail-page .hanuman-process-card p,
body.hanuman-temple-detail-page .hanuman-festival-card p,
body.hanuman-temple-detail-page .hanuman-nearby-card p,
body.hanuman-temple-detail-page .hanuman-sidebar-card p,
body.hanuman-temple-detail-page .hanuman-circuit-stop p,
body.hanuman-temple-detail-page .hanuman-related-card p {
    color: var(--hanuman-muted);
    line-height: 1.72;
}

body.hanuman-temple-detail-page .hanuman-section-intro,
body.hanuman-temple-detail-page .hanuman-prose p:last-child,
body.hanuman-temple-detail-page .hanuman-feature-card p:last-child,
body.hanuman-temple-detail-page .hanuman-decision-card p:last-child,
body.hanuman-temple-detail-page .hanuman-process-card p:last-child,
body.hanuman-temple-detail-page .hanuman-festival-card p:last-child,
body.hanuman-temple-detail-page .hanuman-nearby-card p:last-child,
body.hanuman-temple-detail-page .hanuman-sidebar-card p:last-child,
body.hanuman-temple-detail-page .hanuman-circuit-stop p:last-child,
body.hanuman-temple-detail-page .hanuman-related-card p:last-child {
    margin-bottom: 0;
}

body.hanuman-temple-detail-page .hanuman-prose {
    max-width: 920px;
}

body.hanuman-temple-detail-page .hanuman-grid-2,
body.hanuman-temple-detail-page .hanuman-grid-3,
body.hanuman-temple-detail-page .hanuman-grid-4,
body.hanuman-temple-detail-page .hanuman-nearby-grid,
body.hanuman-temple-detail-page .hanuman-related-grid {
    display: grid;
    gap: 16px;
}

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

body.hanuman-temple-detail-page .hanuman-grid-3,
body.hanuman-temple-detail-page .hanuman-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

body.hanuman-temple-detail-page .hanuman-feature-card,
body.hanuman-temple-detail-page .hanuman-decision-card,
body.hanuman-temple-detail-page .hanuman-process-card,
body.hanuman-temple-detail-page .hanuman-festival-card,
body.hanuman-temple-detail-page .hanuman-nearby-card,
body.hanuman-temple-detail-page .hanuman-offering-card,
body.hanuman-temple-detail-page .hanuman-related-card {
    padding: 18px;
    border: 1px solid #eadfd4;
    border-radius: 14px;
    background: #fffcf8;
}

body.hanuman-temple-detail-page .hanuman-feature-card h3,
body.hanuman-temple-detail-page .hanuman-decision-card h3,
body.hanuman-temple-detail-page .hanuman-process-card h3,
body.hanuman-temple-detail-page .hanuman-festival-card h3,
body.hanuman-temple-detail-page .hanuman-nearby-card h3,
body.hanuman-temple-detail-page .hanuman-offering-card h3,
body.hanuman-temple-detail-page .hanuman-sidebar-card h3,
body.hanuman-temple-detail-page .hanuman-circuit-stop h3,
body.hanuman-temple-detail-page .hanuman-related-card h3 {
    margin: 7px 0 8px;
    color: #39271b;
    font-size: 1.05rem;
    line-height: 1.35;
}

body.hanuman-temple-detail-page .hanuman-decision-card {
    border-top: 4px solid var(--hanuman-gold);
}

body.hanuman-temple-detail-page .hanuman-decision-meta,
body.hanuman-temple-detail-page .hanuman-nearby-meta,
body.hanuman-temple-detail-page .hanuman-source-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

body.hanuman-temple-detail-page .hanuman-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f5eadf;
    color: #65452d;
    font-size: 0.76rem;
    font-weight: 700;
}

body.hanuman-temple-detail-page .hanuman-process-card {
    position: relative;
    padding-top: 54px;
}

body.hanuman-temple-detail-page .hanuman-process-number {
    display: inline-grid;
    width: 34px;
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--hanuman-saffron);
    color: #fff;
    font-weight: 800;
}

body.hanuman-temple-detail-page .hanuman-route-list,
body.hanuman-temple-detail-page .hanuman-info-list,
body.hanuman-temple-detail-page .hanuman-offering-list,
body.hanuman-temple-detail-page .hanuman-reference-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.hanuman-temple-detail-page .hanuman-route-list li,
body.hanuman-temple-detail-page .hanuman-info-list li,
body.hanuman-temple-detail-page .hanuman-offering-list li,
body.hanuman-temple-detail-page .hanuman-reference-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--hanuman-muted);
    line-height: 1.62;
}

body.hanuman-temple-detail-page .hanuman-route-list i,
body.hanuman-temple-detail-page .hanuman-info-list i,
body.hanuman-temple-detail-page .hanuman-offering-list i {
    margin-top: 5px;
    color: var(--hanuman-saffron);
}

body.hanuman-temple-detail-page .hanuman-reference-list li {
    display: block;
}

body.hanuman-temple-detail-page .hanuman-reference-list li strong {
    display: inline;
}

body.hanuman-temple-detail-page .hanuman-reference-list li a {
    display: inline-block;
    margin-left: 4px;
    color: var(--hanuman-brown);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.hanuman-temple-detail-page .hanuman-timing-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--hanuman-line);
    border-radius: 14px;
}

body.hanuman-temple-detail-page .hanuman-timing-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

body.hanuman-temple-detail-page .hanuman-timing-table th,
body.hanuman-temple-detail-page .hanuman-timing-table td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--hanuman-line);
    color: var(--hanuman-muted);
    text-align: left;
    vertical-align: top;
}

body.hanuman-temple-detail-page .hanuman-timing-table th {
    background: #fff5e8;
    color: var(--hanuman-saffron-dark);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.hanuman-temple-detail-page .hanuman-timing-table tr:last-child td {
    border-bottom: 0;
}

body.hanuman-temple-detail-page .hanuman-lower-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr);
    gap: 20px;
    align-items: start;
}

body.hanuman-temple-detail-page .hanuman-main-column,
body.hanuman-temple-detail-page .hanuman-sidebar {
    display: grid;
    gap: 20px;
}

body.hanuman-temple-detail-page .hanuman-sidebar-card {
    padding: 20px;
}

body.hanuman-temple-detail-page .hanuman-sidebar-card--map iframe {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-top: 14px;
    border: 0;
    border-radius: 12px;
}

body.hanuman-temple-detail-page .hanuman-sidebar-card .hanuman-button {
    width: 100%;
    margin-top: 12px;
}

body.hanuman-temple-detail-page .hanuman-circuit-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

body.hanuman-temple-detail-page .hanuman-circuit-stop {
    padding: 16px;
    border-left: 4px solid var(--hanuman-gold);
    border-radius: 10px;
    background: var(--hanuman-soft);
}

body.hanuman-temple-detail-page .hanuman-visitor-alert {
    margin-top: 16px;
    padding: 14px 16px;
    border-left: 4px solid var(--hanuman-green);
    border-radius: 8px;
    background: #edf7f2;
    color: #2c5a48;
    line-height: 1.6;
}

body.hanuman-temple-detail-page .hanuman-faq .accordion-item {
    overflow: hidden;
    border: 1px solid var(--hanuman-line);
    border-radius: 12px;
}

body.hanuman-temple-detail-page .hanuman-faq .accordion-item + .accordion-item {
    margin-top: 10px;
}

body.hanuman-temple-detail-page .hanuman-faq .accordion-button {
    color: var(--hanuman-ink);
    font-weight: 750;
}

body.hanuman-temple-detail-page .hanuman-faq .accordion-button:not(.collapsed) {
    background: var(--hanuman-soft);
    color: var(--hanuman-saffron-dark);
}

body.hanuman-temple-detail-page .hanuman-faq .accordion-body {
    color: var(--hanuman-muted);
    line-height: 1.7;
}

body.hanuman-temple-detail-page .hanuman-reference-list a,
body.hanuman-temple-detail-page .hanuman-related-card a {
    overflow-wrap: anywhere;
}

body.hanuman-temple-detail-page .hanuman-related-card a {
    color: var(--hanuman-saffron-dark);
    font-weight: 750;
}

body.hanuman-temple-detail-page .hanuman-section[hidden],
body.hanuman-temple-detail-page .hanuman-circuit[hidden] {
    display: none;
}

@media (max-width: 1199.98px) {
    body.hanuman-temple-detail-page .hanuman-hero-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.hanuman-temple-detail-page .hanuman-key-card {
        grid-column: 1 / -1;
    }

    body.hanuman-temple-detail-page .hanuman-grid-4,
    body.hanuman-temple-detail-page .hanuman-circuit-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.hanuman-temple-detail-page .hanuman-lower-layout {
        grid-template-columns: 1fr;
    }

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

@media (min-width: 768px) and (max-width: 991.98px) {
    body.hanuman-temple-detail-page .hanuman-page > .section__wrapper > .row > .col-12 {
        margin-top: 18px;
    }
}

@media (max-width: 767.98px) {
    body.hanuman-temple-detail-page .hanuman-page > .section__wrapper {
        padding-top: 4px;
    }

    body.hanuman-temple-detail-page .hanuman-hero-card {
        padding: 14px;
        border-radius: 16px;
    }

    body.hanuman-temple-detail-page .hanuman-hero-grid,
    body.hanuman-temple-detail-page .hanuman-grid-2,
    body.hanuman-temple-detail-page .hanuman-grid-3,
    body.hanuman-temple-detail-page .hanuman-grid-4,
    body.hanuman-temple-detail-page .hanuman-nearby-grid,
    body.hanuman-temple-detail-page .hanuman-related-grid,
    body.hanuman-temple-detail-page .hanuman-circuit-track,
    body.hanuman-temple-detail-page .hanuman-sidebar {
        grid-template-columns: 1fr;
    }

    body.hanuman-temple-detail-page .hanuman-key-card {
        grid-column: auto;
    }

    body.hanuman-temple-detail-page .hanuman-key-row {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    }

    body.hanuman-temple-detail-page .hanuman-section,
    body.hanuman-temple-detail-page .hanuman-circuit,
    body.hanuman-temple-detail-page .hanuman-related {
        padding: 19px 16px;
        border-radius: 16px;
    }

    body.hanuman-temple-detail-page .hanuman-hero-actions .hanuman-button {
        flex: 1 1 135px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.hanuman-temple-detail-page *,
    body.hanuman-temple-detail-page *::before,
    body.hanuman-temple-detail-page *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

/* Hanuman Batch 01: Somnath is the exclusive layout master. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] {
    color: #666666;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-detail__hero .event__inner {
    padding: clamp(20px, 2.2vw, 30px);
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-grid {
    gap: 20px;
    padding-bottom: 16px;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-content {
    gap: 10px;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .hero-actions {
    gap: 10px;
    margin: 0;
}

/* Pending media uses only geometry already present in Somnath/shared hero rules. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-pending-image {
    display: grid;
    width: 100%;
    aspect-ratio: 1122 / 1402;
    place-items: center;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-pending-image__inner {
    display: grid;
    gap: 10px;
    justify-items: center;
}

/* Verified portrait media keeps Somnath's responsive frame without a fixed height. */
@media (min-width: 768px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
        .temple-hero-figure > .temple-hero-image {
        aspect-ratio: 1122 / 1402;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-grid {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 360px);
        grid-template-areas:
            "media content side"
            "benefits benefits benefits"
            "hint hint hint";
    }
}

@media (max-width: 991.98px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .event.event-single.temple-detail-page > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-detail__hero .event__inner {
        padding: 16px;
    }
}

@media (max-width: 767.98px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .event.event-single.temple-detail-page > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-detail__hero .event__inner {
        padding: 10px;
    }

    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"] .temple-hero-pending-image {
        padding: 14px;
    }
}

/* The protected source has no verified media for these nearby destinations. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    .temple-detail__circuit-section .temple-detail__nearby-card--no-media {
    grid-template-columns: minmax(0, 1fr);
}

/* Somnath typography is retained while long temple names wrap naturally. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    [data-layout-section] :is(
        .temple-detail__history-card,
        .temple-detail__circuit-card,
        .temple-detail__nearby-body
    ) > :is(h3, h4, h5, h6) {
    display: block;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    -webkit-box-orient: initial;
    -webkit-line-clamp: unset;
}

/* Source notes remain one readable text flow inside Somnath's accordion shell. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    .temple-detail__reference-section .temple-detail__bullet-list li {
    display: list-item;
}

/* Protected H3 tags adopt the corresponding Somnath card-heading roles. */
body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    .temple-detail__decision-card > h3 {
    margin: 0;
    color: #000000;
    font-family: var(--kashi-font-ui);
    font-size: clamp(1.28rem, 1.1vw + 1rem, 1.48rem);
    font-weight: 600;
    line-height: 1.22;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    [data-layout-section] :is(
        .temple-detail__history-card,
        .temple-detail__offering-card,
        .temple-detail__circuit-card
    ) > h3 {
    margin: 0;
    color: #000000;
    font-family: var(--kashi-font-ui);
    font-size: calc(1.275rem + .3vw);
    font-weight: 600;
    line-height: 1.22;
}

@media (min-width: 1200px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
        [data-layout-section] :is(
            .temple-detail__history-card,
            .temple-detail__offering-card,
            .temple-detail__circuit-card
        ) > h3 {
        font-size: 1.5rem;
    }
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    .temple-detail__nearby-body > h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    .temple-detail__decision-card .temple-detail__info-label {
    color: #000000;
}

body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
    #timings tbody td:first-child {
    color: #000000;
    font-family: var(--kashi-font-ui);
    font-size: clamp(.78rem, .76rem + .06vw, .84rem);
    font-style: normal;
    font-weight: 600;
    letter-spacing: .03em;
    line-height: 1.35;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
        .temple-detail__decision-card .temple-detail__info-label {
        font-size: 1rem;
        line-height: 1.25;
    }

    body.hanuman-temple-detail-page.kashi-vishwanath-page[data-hanuman-somnath-layout="true"]
        .temple-detail__nearby-body > h3 {
        font-size: 1.04rem;
    }
}
