/* Temples in India listing page */
.temples-india-page .breadcrumb,
.temple-detail-page .breadcrumb {
    flex-wrap: wrap;
}

.temples-india-page .grid-view .listing-details,
.temples-india-page .grid-view .listing-details > a {
    text-align: center;
}

.temples-india-page .listing-title,
.temples-india-page .listing-place {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0;
    line-height: 1.35;
    word-break: break-word;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .temples-india-page .filters-col {
        position: absolute;
        width: 0;
        height: 0;
        overflow: visible;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .temples-india-page .js-sidebar-filters-mobile {
        width: min(100%, 360px);
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    .temples-india-page .page-header-title {
        font-size: 1.75rem !important;
        margin: 0.5rem 0 !important;
        padding-bottom: 0.5rem !important;
        line-height: 1.3;
    }

    .temples-india-page #temple-listing-count {
        font-size: 1.1rem !important;
    }

    .temples-india-page .grid-view {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    .temples-india-page .grid-view .listing img {
        height: 200px;
    }

    .temples-india-page .listing-title,
    .temples-india-page .listing-place {
        font-size: 15px;
        line-height: 1.35;
        word-break: break-word;
    }

    .temples-india-page .temple-god-filter-scroll {
        max-height: 18rem;
    }
}

@media (max-width: 575.98px) {
    .temples-india-page .page-header-title {
        font-size: 1.45rem !important;
    }

    .temples-india-page #temple-listing-count {
        display: block;
        margin-top: 0.15rem;
        font-size: 1rem !important;
    }

    .temples-india-page .grid-view {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .temples-india-page .grid-view .listing img {
        height: 150px;
    }

    .temples-india-page .grid-view .listing-details {
        padding: 10px;
    }

    .temples-india-page .show_more_main .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1.25rem;
    }

    .temples-india-page .temple-god-filter-scroll {
        max-height: 14rem;
    }

    .temples-india-page .temple-god-filter-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.45rem 0.5rem;
    }

    .temples-india-page .form-check-label {
        font-size: 0.9rem;
        word-break: break-word;
    }
}

 

.temple-detail-page .banner-over-container img {
    width: 100%;
    object-fit: cover;
}

.temple-detail-page .temple-section-nav .card-body {
    padding: 0.5rem 0.65rem;
}

.temple-detail-page .temple-section-nav__grid > [class*="col-"] {
    display: flex;
}

.temple-detail-page .temple-section-nav .btn-cus {
    width: 100%;
}

.temple-detail-page .temple-sidebar-photos .gallery-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.temple-detail-page #pageReadContent img,
.temple-detail-page .sth-text img,
.temple-detail-page .review-image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .temple-detail-page #printable-area .container {
        padding-right: 3rem !important;
    }

    .temple-detail-page .banner-h-420 {
        height: 260px !important;
    }

    .temple-detail-page .banner-over-title {
        font-size: 1.35rem !important;
        line-height: 1.3;
        padding: 0.65rem 0.5rem !important;
    }

    .temple-detail-page .tab-container {
        top: 56px;
        padding-left: 0;
        padding-right: 0;
    }

    .temple-detail-page .temple-section-nav {
        border-radius: 1rem !important;
    }

    .temple-detail-page .temple-section-nav .card-body {
        padding: 0.5rem 0.35rem 0.5rem 0.5rem !important;
    }

    .temple-detail-page .temple-section-nav__grid {
        --bs-gutter-x: 0.5rem;
        --bs-gutter-y: 0.5rem;
        margin: 0 !important;
    }

    .temple-detail-page .temple-section-nav__grid > [class*="col-"] {
        padding-left: 4px;
        padding-right: 4px;
    }

    .temple-detail-page .tab-container .btn-cus {
        width: 100%;
        font-size: 0.78rem;
        padding: 0.4rem 0.3rem;
        min-height: 2.35rem;
        white-space: normal;
    }

    .temple-detail-page .sth-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .temple-detail-page .card.sth-text,
    .temple-detail-page .border.p-4 {
        padding: 1rem !important;
    }

    .temple-detail-page #pageReadContent {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .temple-detail-page .social-media {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .temple-detail-page .social-media .btn {
        min-width: 44px;
    }

    .temple-detail-page .breadcrumb-wrap {
        padding: 8px 0;
    }

    .temple-detail-page .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 575.98px) {
    .temple-detail-page #printable-area .container {
        padding-right: 2.75rem !important;
    }

    .temple-detail-page .banner-h-420 {
        height: 200px !important;
    }

    .temple-detail-page .banner-over-title {
        font-size: 1.1rem !important;
    }

    .temple-detail-page .temple-section-nav .btn-cus {
        font-size: 0.72rem;
        padding: 0.35rem 0.25rem;
        min-height: 2.1rem;
    }

    .temple-detail-page .temple-section-nav__grid > .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .temple-detail-page .review-image .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .temple-detail-page h2.font-caveat,
    .temple-detail-page h3 {
        font-size: 1.25rem;
    }

    .temple-detail-page .custom-btn {
        width: 100%;
    }
}
