@import url("./kedarnath-temple.css");

/* Ramanathaswamy / Rameshwaram approved-style bridge */
@media (max-width: 767.98px) {
    html:has(body.ramanathaswamy-page),
    body.ramanathaswamy-page {
        scroll-padding-top: 140px;
    }

    body.ramanathaswamy-page.has-floating-darshan-btn {
        padding-bottom: 0 !important;
    }

    body.ramanathaswamy-page :is(
        section[id],
        .temple-section[id],
        .detail-section[id],
        .section-anchor,
        [id^="ramanathaswamy-"],
        [id^="rameshwaram-"],
        #darshan-process,
        #timings,
        #how-to-reach,
        #pooja-booking,
        #tips,
        #faq
    ) {
        scroll-margin-top: 140px !important;
    }

    body[data-temple-slug="rameshwaram"] .scrollToTop {
        width: 42px;
        height: 42px;
        right: 14px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        line-height: 42px;
        opacity: 0.85;
    }

    body[data-temple-slug="rameshwaram"].has-floating-darshan-btn .scrollToTop {
        right: 14px;
        margin-bottom: 0;
    }

    body[data-temple-slug="rameshwaram"] .scrollToTop :is(.pluse_1, .pluse_2) {
        opacity: 1;
        transform: none;
        transform-origin: center;
    }

    body[data-temple-slug="rameshwaram"] .event.event-single.temple-detail-page > .container > .section__wrapper {
        padding-bottom: calc(26px + 104px + env(safe-area-inset-bottom));
    }

    body.ramanathaswamy-page .temple-footer {
        margin-bottom: 0 !important;
    }

    body.ramanathaswamy-page .temple-footer__top {
        padding-bottom: 34px;
    }

    body.ramanathaswamy-page .temple-footer__bottom {
        padding: 18px 0 calc(56px + env(safe-area-inset-bottom));
        margin-bottom: 0 !important;
    }

    body.ramanathaswamy-page .temple-footer__bottom-bar {
        gap: 12px;
    }

    body.ramanathaswamy-page :is(
        .temple-footer__bottom-note,
        .temple-footer__bottom-copy
    ) {
        padding-right: 44px;
    }

    body.ramanathaswamy-page .temple-keyinfo-card .temple-info-row {
        gap: 12px;
    }

    body.ramanathaswamy-page .temple-keyinfo-card .temple-info-row span {
        flex: 0 0 clamp(92px, 36%, 108px);
        min-width: 92px;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
        white-space: normal;
    }

    body.ramanathaswamy-page .temple-keyinfo-card .temple-info-row strong {
        flex: 1 1 0;
        min-width: 0;
    }

    body.ramanathaswamy-page .event.event-single.temple-detail-page > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    body.ramanathaswamy-page .event.event-single.temple-detail-page > .container > .section__wrapper {
        row-gap: 20px;
    }

    body.ramanathaswamy-page .event.event-single.temple-detail-page > .container > .section__wrapper > .row,
    body.ramanathaswamy-page .temple-section.row {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 16px;
    }

    body.ramanathaswamy-page .temple-detail__hero .event__inner {
        padding: 10px;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__main .event__inner,
        .temple-detail__main--faq .event__inner,
        .temple-detail__standalone-box .event__inner
    ) {
        padding: 12px;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__hero .event__inner,
        .temple-detail__main .event__inner,
        .temple-detail__main--faq .event__inner,
        .temple-detail__standalone-box .event__inner,
        .temple-hero-grid
    ) {
        border-left-color: transparent;
        border-right-color: transparent;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__content:not(.temple-detail__content--hero),
        .temple-detail__content--decision,
        .temple-detail__content--faq
    ) {
        gap: 14px;
        padding: 8px 2px 0;
    }

    body.ramanathaswamy-page .temple-hero-layout {
        width: auto;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    body.ramanathaswamy-page .temple-hero-grid {
        gap: 12px;
        padding: 10px;
        border-radius: 20px;
    }

    body.ramanathaswamy-page :is(
        .temple-side-card,
        .temple-keyinfo-card,
        .temple-map-card,
        .temple-detail__info-card,
        .temple-detail__fact-card,
        .temple-detail__nearby-card,
        .temple-detail__timings-panel,
        .temple-detail__timing-note,
        .temple-detail__booking-card,
        .temple-detail__season-card,
        .temple-detail__guidance-card,
        .temple-detail__stay-card,
        .temple-detail__official-card,
        .temple-detail__offering-card,
        .temple-detail__planning-card,
        .visit-status-card,
        .temple-detail__process-note-box,
        .accordion-item
    ) {
        padding: 14px;
        border-radius: 18px;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__timings-status-card,
        .temple-detail__timings-highlight-card,
        .temple-detail__timings-panel,
        .temple-detail__process-note-box
    ) {
        padding: 17px 16px 16px;
    }

    body.ramanathaswamy-page .temple-overview-content {
        padding: 4px 0 0;
    }

    body.ramanathaswamy-page .temple-detail__process-section .section__wrapper {
        gap: 16px;
        padding: 16px 14px;
        border-radius: 22px;
    }

    body.ramanathaswamy-page .temple-detail__timings-section {
        padding-top: 30px;
    }

    body.ramanathaswamy-page .temple-detail__timings-section .section__wrapper {
        padding-top: 8px;
    }

    body.ramanathaswamy-page .temple-detail__timings-panels {
        margin-top: 10px;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__timings-panel-head,
        .temple-detail__timings-status-main,
        .temple-detail__timings-status-meta,
        .temple-detail__timings-row-info
    ) {
        padding-left: 2px;
    }

    body.ramanathaswamy-page .reach-step-card {
        padding: 28px 16px 16px;
    }

    body.ramanathaswamy-page .temple-detail__timings-status-hours {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        max-width: 100%;
        min-height: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.35;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body.ramanathaswamy-page :is(
        .visit-status-value,
        .temple-detail__timings-status-value,
        .temple-detail__timings-highlight-value,
        .temple-detail__timings-row-value,
        .next-aarti-alert strong
    ) {
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.35;
    }
}

body.ramanathaswamy-page .temple-keyinfo-card .temple-info-row span {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

body.ramanathaswamy-page .temple-keyinfo-card .temple-info-row strong {
    min-width: 0;
}

body.ramanathaswamy-page :is(
    .temple-map-head,
    .temple-location-row,
    .temple-info-row
) {
    min-width: 0;
    max-width: 100%;
}

body.ramanathaswamy-page :is(
    .temple-map-head > *,
    .temple-location-row > *,
    .temple-info-row > *
) {
    min-width: 0;
}

body.ramanathaswamy-page .temple-map-head {
    align-items: flex-start;
}

body.ramanathaswamy-page .temple-map-head > div {
    flex: 1 1 auto;
}

body.ramanathaswamy-page .temple-map-title {
    display: block;
    max-width: none;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    line-height: 1.35;
}

body.ramanathaswamy-page .temple-map-link {
    flex: 0 0 auto;
    align-self: flex-start;
    max-width: 100%;
}

body.ramanathaswamy-page :is(
    .temple-info-row strong,
    .temple-location-row strong
) {
    overflow-wrap: anywhere;
}

body.ramanathaswamy-page :is(
    .event.event-single.temple-detail-page,
    .event.event-single.temple-detail-page > .container,
    .event.event-single.temple-detail-page > .container > .section__wrapper,
    .temple-page-jumpnav-shell,
    .temple-page-jumpnav,
    .temple-footer,
    .temple-footer__top,
    .temple-footer__bottom,
    .temple-footer__bottom-bar
) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

body.ramanathaswamy-page .temple-page-jumpnav-shell {
    overflow-x: clip;
}

body.ramanathaswamy-page .temple-page-jumpnav {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

body.ramanathaswamy-page .temple-page-jumpnav::-webkit-scrollbar {
    display: none;
}

body.ramanathaswamy-page .temple-readmore-summary,
body.ramanathaswamy-page .temple-readmore-btn {
    display: none !important;
}

body.ramanathaswamy-page .temple-readmore-content {
    max-height: none !important;
    overflow: visible;
    opacity: 1;
}

body.ramanathaswamy-page :is(
    .temple-detail__section,
    .temple-detail__standalone-box
) .section__wrapper {
    padding-top: 2px;
}

body.ramanathaswamy-page .temple-detail__standalone-box {
    margin-top: 8px;
}

body.ramanathaswamy-page .temple-detail__standalone-box .event__inner {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--kedarnath-border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 247, 230, 0.98) 100%);
    box-shadow: var(--kedarnath-shadow-soft);
}

body.ramanathaswamy-page .temple-detail__standalone-box .event__inner::before {
    position: absolute;
    inset: auto -48px -58px auto;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 168, 77, 0.15) 0%, rgba(216, 168, 77, 0) 72%);
    content: "";
    pointer-events: none;
}

body.ramanathaswamy-page :is(
    .temple-detail__history-section,
    .temple-detail__offerings-section
) {
    position: relative;
}

body.ramanathaswamy-page :is(
    .temple-detail__history-section .section__wrapper,
    .temple-detail__offerings-section .section__wrapper
) {
    position: relative;
    z-index: 1;
}

body.ramanathaswamy-page :is(
    .temple-detail__history-card,
    .temple-detail__fact-card,
    .temple-detail__offering-card,
    .temple-detail__season-card,
    .temple-detail__booking-card,
    .temple-detail__guidance-card,
    .temple-detail__stay-card,
    .temple-detail__official-card,
    .temple-detail__planning-card
) {
    height: 100%;
    width: 100%;
}

body.ramanathaswamy-page :is(
    .temple-detail__history-facts,
    .temple-detail__offerings-grid,
    .temple-detail__booking-layout,
    .temple-detail__guidance-grid,
    .temple-detail__stay-grid,
    .temple-detail__official-grid,
    .temple-detail__season-section .row.g-4,
    .temple-detail__nearby-grid
) > [class*="col-"] {
    display: flex;
}

body.ramanathaswamy-page :is(
    .temple-overview-content > p,
    .temple-overview-mantra,
    .temple-overview-highlights li span,
    .temple-detail__history-card p:not(.temple-detail__info-label),
    .temple-detail__fact-card p,
    .temple-detail__timeline-copy,
    .temple-detail__process-note-list li span,
    .temple-detail__timings-status-note,
    .temple-detail__timings-highlight-meta,
    .temple-detail__timings-row-label,
    .temple-detail__timings-row-value,
    .temple-detail__booking-card p:not(.temple-detail__info-label),
    .temple-detail__booking-list span,
    .temple-detail__booking-list strong,
    .temple-detail__season-card p,
    .temple-detail__guidance-card p:not(.temple-detail__info-label),
    .temple-detail__guidance-list li span:last-child,
    .temple-detail__stay-card p:not(.temple-detail__info-label),
    .temple-detail__official-card p:not(.temple-detail__info-label),
    .temple-detail__nearby-reason,
    .temple-detail__offering-copy p,
    .temple-detail__tips-list li span,
    .temple-readmore-content p,
    .temple-readmore-content li span,
    .reach-step-intro,
    .reach-mini-content p,
    .reach-mini-content span,
    .accordion-body
) {
    color: var(--kedarnath-text);
    font-size: clamp(0.99rem, 0.972rem + 0.08vw, 1rem);
    line-height: 1.72;
}

body.ramanathaswamy-page .temple-detail__history-card p + p {
    margin-top: 14px;
}

body.ramanathaswamy-page .temple-detail__history-facts {
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
}

body.ramanathaswamy-page .temple-detail__fact-card {
    height: 100%;
    padding: 22px 22px 20px;
}

body.ramanathaswamy-page .temple-detail__offerings-grid {
    --bs-gutter-x: clamp(18px, 1.8vw, 24px);
    --bs-gutter-y: clamp(18px, 1.8vw, 24px);
}

body.ramanathaswamy-page .temple-detail__offerings-section .temple-detail__offering-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(165, 118, 33, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98) 0%, rgba(255, 243, 221, 0.98) 100%);
    box-shadow: 0 18px 32px rgba(88, 58, 19, 0.09);
}

body.ramanathaswamy-page .temple-detail__offerings-section .temple-detail__offering-head {
    margin-bottom: 2px;
}

body.ramanathaswamy-page .temple-detail__offerings-section .temple-detail__offering-copy h5 {
    line-height: 1.36;
}

body.ramanathaswamy-page .temple-detail-page :is(
    .temple-overview-content > p,
    .temple-detail__history-card p:not(.temple-detail__info-label),
    .temple-detail__timeline-copy,
    .temple-detail__process-note-list li span,
    .temple-detail__timings-status-note,
    .temple-detail__timings-highlight-meta,
    .temple-detail__timings-row-label,
    .temple-detail__timings-row-value,
    .temple-detail__booking-card p:not(.temple-detail__info-label),
    .temple-detail__booking-list span,
    .temple-detail__booking-list strong,
    .temple-detail__season-card p,
    .temple-detail__guidance-card p:not(.temple-detail__info-label),
    .temple-detail__guidance-list li span:last-child,
    .temple-detail__stay-card p:not(.temple-detail__info-label),
    .temple-detail__official-card p:not(.temple-detail__info-label),
    .reach-step-intro,
    .reach-mini-content p,
    .reach-mini-content span,
    .accordion-body
) {
    color: var(--kedarnath-text);
    font-size: clamp(0.99rem, 0.972rem + 0.08vw, 1rem);
    line-height: 1.72;
}

body.ramanathaswamy-page :is(
    .temple-overview-content,
    .temple-detail__history-card,
    .temple-detail__booking-card,
    .temple-detail__guidance-card,
    .temple-detail__stay-card,
    .temple-detail__official-card,
    .temple-detail__planning-card,
    .temple-detail__season-card
) {
    padding: clamp(24px, 2vw, 32px);
}

body.ramanathaswamy-page .temple-overview-content {
    padding: clamp(8px, 0.8vw, 14px) 0 0;
}

body.ramanathaswamy-page .temple-detail__fact-card {
    padding: 22px 22px 20px;
}

body.ramanathaswamy-page :is(
    .temple-detail__decision-grid,
    .temple-detail__timings-panels,
    .temple-detail__booking-layout,
    .temple-detail__guidance-grid,
    .temple-detail__stay-grid,
    .temple-detail__official-grid,
    .temple-detail__planning-layout,
    .temple-detail__season-section .row.g-4,
    .temple-detail__history-facts,
    .temple-detail__nearby-grid
) {
    --bs-gutter-x: clamp(20px, 1.9vw, 28px);
    --bs-gutter-y: clamp(20px, 1.9vw, 28px);
}

@media (min-width: 992px) and (max-width: 1279.98px) {
    body.ramanathaswamy-page .temple-detail__dress-section .temple-detail__guidance-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 1.8vw, 24px);
        margin: 0;
    }

    body.ramanathaswamy-page .temple-detail__dress-section .temple-detail__guidance-grid > [class*="col-"] {
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-detail__dress-section .temple-detail__guidance-grid > [class*="col-"]:last-child {
        grid-column: 1 / -1;
        width: min(100%, 520px);
        justify-self: center;
    }

    body.ramanathaswamy-page .temple-detail__season-section .row.g-4 {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 1.8vw, 24px);
        margin: 0;
    }

    body.ramanathaswamy-page .temple-detail__season-section .row.g-4 > [class*="col-"] {
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__official-grid,
        .temple-detail__booking-layout,
        .temple-detail__stay-grid
    ) > [class*="col-"] {
        display: flex;
    }
}

@media (min-width: 1280px) {
    body.ramanathaswamy-page .temple-detail__dress-section .temple-detail__guidance-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(20px, 1.6vw, 24px);
        margin: 0;
    }

    body.ramanathaswamy-page .temple-detail__dress-section .temple-detail__guidance-grid > [class*="col-"] {
        width: auto;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 992px) {
    body.ramanathaswamy-page .temple-detail-page :is(
        .temple-overview-content > p,
        .temple-overview-mantra,
        .temple-overview-highlights li span,
        .temple-detail__history-section .temple-detail__history-card p:not(.temple-detail__info-label),
        .temple-detail__history-section .temple-detail__bullet-list li span,
        .premium-reach-section .reach-step-intro,
        .premium-reach-section .reach-mini-content p,
        .premium-reach-section .reach-mini-content span,
        .reach-bottom-note span:last-child,
        .reach-bottom-highlight span:last-child,
        .reach-master-note-left div,
        .temple-detail__process-section .temple-detail__timeline-copy,
        .temple-detail__process-section .temple-detail__process-note-list li span,
        .temple-detail__timings-section .temple-detail__timings-status-note,
        .temple-detail__timings-section .temple-detail__timings-highlight-meta,
        .temple-detail__timings-section .temple-detail__timings-row-label,
        .temple-detail__timings-section .temple-detail__timings-row-value,
        .temple-detail__booking-section .temple-detail__booking-card p:not(.temple-detail__info-label),
        .temple-detail__booking-section .temple-detail__booking-list span,
        .temple-detail__booking-section .temple-detail__booking-list strong,
        .temple-detail__circuit-section .temple-detail__nearby-reason,
        .temple-detail__offerings-section .temple-detail__offering-copy p,
        .temple-detail__season-section .temple-detail__season-card p,
        .temple-detail__dress-section .temple-detail__guidance-card p:not(.temple-detail__info-label),
        .temple-detail__dress-section .temple-detail__guidance-list li span:last-child,
        .temple-detail__stay-card p:not(.temple-detail__info-label),
        .temple-detail__official-card p:not(.temple-detail__info-label),
        .temple-detail__tips-list li span,
        .accordion-body
    ) {
        color: var(--kedarnath-text);
        font-size: clamp(1rem, 0.99rem + 0.05vw, 1.015rem);
        line-height: 1.72;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__timings-panel,
        .temple-detail__booking-card,
        .temple-detail__season-card,
        .temple-detail__guidance-card,
        .temple-detail__stay-card,
        .temple-detail__official-card,
        .temple-detail__offering-card
    ) {
        padding: 32px 29px 28px;
        height: 100%;
    }

    body.ramanathaswamy-page .reach-step-card {
        padding: 36px 22px 22px;
    }

    body.ramanathaswamy-page .reach-mini-card {
        padding: 18px 16px;
    }

    body.ramanathaswamy-page .reach-mini-content h4 {
        font-size: 1.06rem;
        line-height: 1.34;
    }

    body.ramanathaswamy-page .temple-detail__timings-panel h5 {
        font-size: clamp(1.22rem, 1.08rem + 0.24vw, 1.4rem);
    }

    body.ramanathaswamy-page :is(
        .temple-detail__timings-row-label,
        .temple-detail__timings-row-value
    ) {
        font-size: 1.04rem;
        line-height: 1.6;
    }

    body.ramanathaswamy-page .accordion-button {
        font-size: 1.06rem;
        line-height: 1.48;
    }

    body.ramanathaswamy-page .temple-detail__process-section .section__wrapper {
        gap: 28px;
        padding: 30px 26px 28px;
    }

    body.ramanathaswamy-page .temple-detail__process-timeline {
        grid-template-columns: repeat(6, minmax(152px, 1fr));
        gap: 12px;
    }

    body.ramanathaswamy-page .temple-detail__timeline-step {
        gap: 11px;
        min-height: 100%;
    }

    body.ramanathaswamy-page .temple-detail__timeline-content {
        min-height: 258px;
        padding: 25px 21px 22px;
    }

    body.ramanathaswamy-page .temple-detail__timeline-title {
        font-size: 1.11rem;
        line-height: 1.4;
    }

    body.ramanathaswamy-page .temple-detail__timeline-copy {
        font-size: 1rem;
        line-height: 1.7;
    }

    body.ramanathaswamy-page .temple-detail__nearby-body {
        padding: 24px 22px 22px;
    }

    body.ramanathaswamy-page .temple-detail__nearby-body h5 {
        font-size: 1.1rem;
        line-height: 1.36;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__official-grid,
        .temple-detail__booking-layout,
        .temple-detail__stay-grid,
        .temple-detail__season-section .row.g-4
    ) > [class*="col-"] {
        display: flex;
    }
}

/* Desktop-only overflow and proportion corrections */
@media (min-width: 992px) {
    body.ramanathaswamy-page,
    body.ramanathaswamy-page main,
    body.ramanathaswamy-page footer {
        max-width: 100%;
        overflow-x: clip;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__main--decision,
        .temple-detail__main--reading,
        .temple-detail__main--schedule,
        .temple-detail__main--standalone,
        .temple-detail__main--faq,
        .how-to-reach-section.premium-reach-section
    ) {
        width: min(100%, 1392px);
        max-width: 1392px;
        margin-left: auto;
        margin-right: auto;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__main--decision .temple-detail__content--decision,
        .temple-detail__main--reading .temple-detail__content,
        .temple-detail__main--schedule .temple-detail__content,
        .temple-detail__main--standalone .temple-detail__content,
        .temple-detail__main--faq .temple-detail__content
    ) {
        width: 100%;
        max-width: 1306px;
        margin-left: auto;
        margin-right: auto;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__decision-section,
        .temple-detail__history-section,
        .temple-detail__process-section,
        .temple-detail__timings-section,
        .temple-detail__booking-section,
        .temple-detail__season-section,
        .temple-detail__circuit-section,
        .temple-detail__dress-section,
        .temple-detail__accommodation-section,
        .temple-detail__official-section,
        .temple-detail__tips-section,
        .temple-detail__faq
    ) > .section__header.temple-section-header {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 14px !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    body.ramanathaswamy-page .how-to-reach-section :is(
        .reach-section-header,
        .reach-steps-wrap,
        .reach-master-note,
        .temple-detail__reach-inline-cta
    ) {
        width: 100%;
        max-width: none;
    }

    body.ramanathaswamy-page .header__bottom.header__bottom-fiexd.site-header-enter,
    body.ramanathaswamy-page .header__bottom.header__bottom-fiexd.site-header-sticky.site-header-enter {
        -webkit-animation: none !important;
        animation: none !important;
        transform: translate3d(0, 0, 0) !important;
        will-change: auto;
    }

    body.ramanathaswamy-page :is(
        .event.event-single.temple-detail-page > .container > .section__wrapper > .row,
        .temple-section.row,
        .temple-detail__standalone-box .section__wrapper > .row
    ) {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    body.ramanathaswamy-page :is(
        .temple-section.row > [class*="col-"],
        .temple-detail__standalone-box .section__wrapper > .row > [class*="col-"]
    ) {
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-footer__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 26px;
        width: 100%;
        margin: 0;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    body.ramanathaswamy-page .temple-footer__grid > [class*="col-"] {
        width: auto;
        max-width: none;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-footer__column,
    body.ramanathaswamy-page .temple-footer__bottom-note,
    body.ramanathaswamy-page .temple-footer__bottom-copy {
        min-width: 0;
        max-width: 100%;
    }

    body.ramanathaswamy-page .temple-footer__bottom-bar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 14px 24px;
        width: 100%;
    }

    body.ramanathaswamy-page .temple-footer__bottom-logo {
        grid-column: 1;
    }

    body.ramanathaswamy-page .temple-footer__bottom-copy {
        grid-column: 2;
        margin-left: 0;
        justify-self: end;
    }

    body.ramanathaswamy-page .temple-footer__bottom-note {
        grid-column: 1 / -1;
        max-width: none;
    }

    body.ramanathaswamy-page .temple-detail__main--decision .temple-detail__content--decision {
        gap: 0;
        padding: clamp(22px, 2.1vw, 28px) clamp(30px, 3.4vw, 45px);
    }

    body.ramanathaswamy-page .temple-detail__decision-section .section__wrapper {
        width: 100%;
        max-width: 1216px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-detail__decision-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        width: 100%;
        margin: 0;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    body.ramanathaswamy-page .temple-detail__decision-grid > [class*="col-"] {
        display: flex;
        width: auto;
        max-width: none;
        min-width: 0;
        padding-left: clamp(14px, 1.1vw, 17px);
        padding-right: clamp(14px, 1.1vw, 17px);
    }

    body.ramanathaswamy-page .temple-detail__decision-card {
        justify-content: flex-start;
        gap: 11px;
        min-height: 0;
        padding: 17px 17px 15px;
        border-radius: 20px;
    }

    body.ramanathaswamy-page .temple-detail__decision-body {
        flex: 0 1 auto;
        gap: 6px;
    }

    body.ramanathaswamy-page .temple-detail__decision-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        font-size: 1.02rem;
    }

    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__decision-tag {
        margin: 0;
        padding: 4px 10px;
    }

    body.ramanathaswamy-page .temple-detail__decision-card h5 {
        font-size: clamp(1.16rem, 1.02rem + 0.22vw, 1.28rem);
        line-height: 1.18;
    }

    body.ramanathaswamy-page .temple-detail__decision-card p,
    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__decision-copy,
    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__decision-meta-item {
        max-width: none;
        line-height: 1.5;
    }

    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__decision-copy,
    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__decision-meta-item {
        font-size: .94rem;
    }

    body.ramanathaswamy-page .temple-detail__decision-meta {
        gap: 7px;
        margin-top: 1px;
    }

    body.ramanathaswamy-page .temple-detail__decision-card .temple-detail__section-cta {
        margin-top: auto;
        min-height: 44px;
        padding-inline: 16px;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__content {
        gap: 18px;
        padding: clamp(24px, 2.2vw, 30px) clamp(30px, 3.4vw, 45px);
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .section__wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .section__wrapper > .row:not(.temple-detail__history-facts) {
        justify-content: center;
        width: 100%;
        max-width: 1216px;
        margin-left: auto;
        margin-right: auto;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .section__wrapper > .row:not(.temple-detail__history-facts) > .col-12 {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding-left: clamp(14px, 1.1vw, 17px);
        padding-right: clamp(14px, 1.1vw, 17px);
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__section .section__header {
        margin-bottom: 18px;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-card {
        padding: 24px 26px 22px;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-card :is(
        p:not(.temple-detail__info-label),
        .temple-detail__bullet-list li span
    ) {
        max-width: 78ch;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        margin: 0;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-facts > [class*="col-"] {
        display: flex;
        width: auto;
        max-width: none;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__fact-card {
        padding: 20px 18px 18px;
    }

    body.ramanathaswamy-page .temple-detail__process-section .section__wrapper {
        gap: 26px;
        padding: 28px 24px 26px;
    }

    body.ramanathaswamy-page .temple-detail__process-timeline {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: clamp(10px, 0.9vw, 12px);
    }

    body.ramanathaswamy-page .temple-detail__timeline-content {
        min-height: 242px;
        padding: 23px 18px 20px;
    }
}

@media (min-width: 1200px) {
    body.ramanathaswamy-page .temple-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 30px 28px;
    }

    body.ramanathaswamy-page .temple-footer__bottom-bar {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    body.ramanathaswamy-page .temple-footer__bottom-note {
        grid-column: auto;
    }
}

@media (min-width: 992px) {
    body.ramanathaswamy-page :is(
        .temple-detail__main,
        .temple-detail__main--decision,
        .temple-detail__main--reading,
        .temple-detail__main--schedule,
        .temple-detail__main--standalone,
        .temple-detail__main--faq,
        .how-to-reach-section.premium-reach-section
    ),
    body.ramanathaswamy-page :is(
        .temple-detail__main .temple-detail__content,
        .temple-detail__main--decision .temple-detail__content--decision,
        .temple-detail__main--reading .temple-detail__content,
        .temple-detail__main--schedule .temple-detail__content,
        .temple-detail__main--standalone .temple-detail__content,
        .temple-detail__main--faq .temple-detail__content
    ),
    body.ramanathaswamy-page .temple-detail__decision-section .section__wrapper,
    body.ramanathaswamy-page .temple-detail__standalone-box .section__wrapper > .row:not(.temple-detail__history-facts) {
        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    body.ramanathaswamy-page .event.event-single.temple-detail-page > .container,
    body.ramanathaswamy-page .temple-section > .container {
        width: 100%;
        max-width: var(--kashi-page-max-width);
        padding-left: var(--kashi-page-side-pad);
        padding-right: var(--kashi-page-side-pad);
    }

    body.ramanathaswamy-page .event.event-single.temple-detail-page > .container > .section__wrapper {
        display: grid;
        row-gap: var(--kashi-major-block-space);
        width: 100%;
        max-width: none;
    }

    body.ramanathaswamy-page .temple-detail__main,
    body.ramanathaswamy-page .temple-detail__main .event__inner,
    body.ramanathaswamy-page .temple-detail__content {
        width: 100%;
    }

    body.ramanathaswamy-page .temple-detail__main .event__inner {
        border-radius: clamp(28px, 2.5vw, 36px);
    }

    body.ramanathaswamy-page .temple-detail__content:not(.temple-detail__content--hero),
    body.ramanathaswamy-page .temple-detail__content--decision,
    body.ramanathaswamy-page .temple-detail__content--faq {
        gap: clamp(22px, 2.4vw, 30px);
        padding: clamp(32px, 3vw, 46px) clamp(38px, 4.1vw, 58px);
    }

    body.ramanathaswamy-page :is(
        .temple-detail__decision-section,
        .temple-detail__history-section,
        .temple-detail__process-section,
        .temple-detail__timings-section,
        .temple-detail__booking-section,
        .temple-detail__season-section,
        .temple-detail__circuit-section,
        .temple-detail__dress-section,
        .temple-detail__accommodation-section,
        .temple-detail__official-section,
        .temple-detail__tips-section,
        .temple-detail__faq
    ) > .section__header.temple-section-header {
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 18px !important;
        padding-left: 12px !important;
        padding-right: 0 !important;
        border-left: 2px solid rgba(217, 169, 40, 0.28) !important;
    }

    body.ramanathaswamy-page :is(
        .event.event-single.temple-detail-page > .container > .section__wrapper > .row,
        .temple-section.row,
        .temple-detail__standalone-box .section__wrapper > .row,
        .temple-detail__decision-grid,
        .temple-detail__standalone-box .temple-detail__history-facts
    ) {
        margin-left: calc(var(--bs-gutter-x) * -.5);
        margin-right: calc(var(--bs-gutter-x) * -.5);
        max-width: none;
    }

    body.ramanathaswamy-page .temple-detail__decision-grid {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        --bs-gutter-x: clamp(18px, 1.8vw, 28px);
        --bs-gutter-y: clamp(18px, 1.8vw, 28px);
        gap: 0;
        align-items: stretch;
    }

    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-facts {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        --bs-gutter-x: 18px;
        --bs-gutter-y: 18px;
        gap: 0;
    }

    body.ramanathaswamy-page :is(
        .temple-section.row > [class*="col-"],
        .temple-detail__standalone-box .section__wrapper > .row > [class*="col-"],
        .temple-detail__decision-grid > [class*="col-"],
        .temple-detail__standalone-box .temple-detail__history-facts > [class*="col-"]
    ) {
        min-width: 0;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    body.ramanathaswamy-page .temple-detail__decision-grid > [class*="col-"],
    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-facts > [class*="col-"] {
        display: flex;
    }

    body.ramanathaswamy-page .temple-detail__decision-grid > .col-md-6.col-xl-4,
    body.ramanathaswamy-page .temple-detail__standalone-box .temple-detail__history-facts > .col-sm-6.col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
        max-width: 33.33333333%;
    }

    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) {
        --bs-gutter-x: 24px;
        --bs-gutter-y: 24px;
        align-items: flex-start;
        margin-left: calc(var(--bs-gutter-x) * -.5);
        margin-right: calc(var(--bs-gutter-x) * -.5);
    }

    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) > .col-lg-8.col-12 {
        flex: 0 0 auto;
        width: 66.66666667%;
        max-width: 66.66666667%;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) > .col-lg-4.col-12 {
        flex: 0 0 auto;
        width: 33.33333333%;
        max-width: 33.33333333%;
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-right: calc(var(--bs-gutter-x) * .5);
    }

    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__main,
    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__main .event__inner,
    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__main .temple-detail__content,
    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__sidebar,
    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__location-sidebar,
    body.ramanathaswamy-page .temple-section.row.g-4.justify-content-center:has(#ramanathaswamy-circuit-section):has(#ramanathaswamy-location-sidebar) .temple-detail__live-preview-sidebar {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-grid {
        --bs-gutter-x: 0;
        --bs-gutter-y: 18px;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-grid > [class*="col-"] {
        display: flex;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-card {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
        align-items: start;
        width: 100%;
        padding: 18px;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-media {
        flex: 0 0 150px;
        width: 150px;
        min-width: 150px;
        height: 105px;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-body {
        gap: 10px;
        padding: 0;
    }

    body.ramanathaswamy-page .temple-detail__circuit-section .temple-detail__nearby-body h5 {
        line-height: 1.35;
    }

    body.ramanathaswamy-page :is(
        .temple-detail__tips-section .temple-detail__planning-card,
        .temple-detail__dress-section .temple-detail__guidance-card,
        .temple-detail__accommodation-section .temple-detail__stay-card,
        .temple-detail__official-section .temple-detail__booking-card,
        .temple-detail__official-section .temple-detail__official-card
    ) {
        padding: clamp(24px, 2.3vw, 32px);
    }

    body.ramanathaswamy-page .temple-detail__offerings-section .temple-detail__offering-card {
        padding: var(--kashi-card-padding);
    }

    body.ramanathaswamy-page .temple-detail__sidebar {
        gap: var(--kashi-sidebar-stack-space);
        align-self: flex-start;
    }
}

@media (min-width: 1200px) {
    body.ramanathaswamy-page .temple-detail__sidebar {
        position: sticky;
        top: 126px;
    }
}

@media (max-width: 575.98px) {
    body.ramanathaswamy-page .temple-map-head {
        flex-direction: column;
        gap: 10px;
    }

    body.ramanathaswamy-page .temple-map-link {
        width: auto;
        white-space: normal;
    }
}
