/* Refactored T2T base styles */

.t2t-hero {
    background:
            linear-gradient(
                    0deg,
                    rgba(80, 32, 10, .88),
                    rgba(174, 93, 24, .65)
            );
    color: #FFFFFF;
    max-height: 280px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.temple-card-image {
    height: 220px;
    object-fit: cover;
}

.temple-title {
    color: #8a4b25;
    text-shadow: 1px 2px 3px #000;
}

.temple-titlebelow {
    color: #a23d3d;
}

.site-header .navbar .nav-link {
    color: #5a2a18 !important;
    background-color: #f0aa29 !important;
    border-radius: 8px;
    padding: 10px 18px !important;
}

.site-header .navbar .nav-link.active {
    background-color: #58151c !important;
    color: #f0aa29  !important;
}

.site-header .navbar .nav-link:hover {
    background-color: #d88d20 !important;
    color: #ffffff !important;
}

.temple-detail-image-wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    background: #f7e8c4;
    box-shadow: 0 4px 14px rgba(80, 40, 15, 0.15);
}

.temple-detail-image {
    width: 250px;
    height: 300px;
    display: block;
    object-fit: cover;
    object-position: center;
    align-content: center;
    align-items: center;
}

.temple-card-image-wrapper {
    width: 250px;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    background: #f7e8c4;
}

.temple-card-image {
    width: 250px;
    height: 300px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.temple-card {
    background:
            linear-gradient(
                    145deg,
                    #5b2e19,
                    #35180e
            );
    border: 1px solid #bd9144;
    border-radius: 16px;
    overflow: hidden;
    color: #f1ddb0;
    box-shadow:
            0 10px 24px rgba(71, 32, 11, 0.28),
            inset 0 0 0 1px rgba(255, 222, 151, 0.08);
}

.temple-card-image-wrapper {
    width: 250px;
    height: 300px;
    margin-top: 20px;
    overflow: hidden;
    border: 2px solid #c9a253;
    border-radius: 12px;
    background: #281209;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
}

.temple-card-image {
    width: 250px;
    height: 300px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.temple-card .card-body {
    padding: 24px;
}

.temple-meta {
    color: #dfb85f;
    font-size: 0.9rem;
    font-weight: 600;
}

.temple-name {
    color: #f1cc6e;
    font-weight: 700;
}

.temple-card-description {
    color: #ead9b6;
    line-height: 1.65;
}

.btn-view-temple {
    color: #f5d788;
    border: 1px solid #d5aa51;
    background: transparent;
}

.btn-view-temple:hover,
.btn-view-temple:focus {
    color: #35180e;
    border-color: #d5aa51;
    background: #d5aa51;
}

.route-label {
    color: #f0d9a5;
    white-space: nowrap;
    cursor: pointer;
}

.temple-card .form-check-input {
    border-color: #d5aa51;
}

.temple-card .form-check-input:checked {
    background-color: #d5aa51;
    border-color: #d5aa51;
}

.temple-card-description {
    color: #f4e0b8;
    line-height: 1.6;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;

    min-height: calc(1.6em * 3);
    max-height: calc(1.6em * 3);
}

.site-header .nav-link {
    min-width: 150px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px;

}



.temple-video-thumbnail {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 220px;
    height: 120px;
    overflow: hidden;
    border: 1px solid #d6a84f;
    border-radius: 10px;
    background: #35180e;
    align-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(62, 29, 12, 0.18);
}

.temple-video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.temple-video-play {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 18px;
    line-height: 1;

    background: rgba(190, 20, 20, 0.9);
    border-radius: 50%;

    transform: translate(-50%, -50%);
    transition:
            transform 0.2s ease,
            background-color 0.2s ease;
}

.temple-video-thumbnail:hover .temple-video-play {
    background: #ff0000;
    transform: translate(-50%, -50%) scale(1.08);
}

.temple-video-thumbnail {
    position: relative;
    display: block;
    width: 220px;
    height: 160px;
    margin: 0 auto;

    overflow: hidden;
    cursor: pointer;
    border-radius: 10px;
    background: #35180e;
    box-shadow: 0 4px 12px rgba(62, 29, 12, 0.18);
}

.temple-video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.temple-video-modal {
    overflow: hidden;
    border: 1px solid #d6a84f;
    border-radius: 14px;
}

.visit-info-card {
    background:
            linear-gradient(
                    145deg,
                    #5b2e19,
                    #35180e
            );

    border: 1px solid #bd9144;
    border-radius: 16px;

    color: #f4e0b8;

    box-shadow:
            0 10px 24px rgba(71, 32, 11, 0.28),
            inset 0 0 0 1px rgba(255, 222, 151, 0.08);
}

.visit-info-card h2 {
    color: #f4c15d;
}

.visit-info-card strong {
    color: #e7b84b;
}

.visit-info-card p {
    color: #f4e0b8;
}

.visit-info-card .text-body-secondary {
    color: #f4e0b8 !important;
}

.visit-info-card .btn-outline-primary {
    color: #f4c15d;
    border-color: #d5aa51;
    background: transparent;
}

.visit-info-card .btn-outline-primary:hover {
    color: #35180e;
    border-color: #d5aa51;
    background: #d5aa51;
}

.visit-info-card .btn-primary {
    color: #35180e;
    border-color: #d5aa51;
    background: #d5aa51;
}

.visit-info-card .btn-primary:hover {
    color: #35180e;
    border-color: #f4c15d;
    background: #f4c15d;
}

.visit-info-card .temple-video-thumbnail {
    border-color: #d5aa51;
}

.visit-info-card .small {
    color: #f4c15d;
}

.temple-map-section {
    margin-top: 18px;
}

.temple-map-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 1px solid #d5aa51;
    border-radius: 10px;
    background: #35180e;
    box-shadow: 0 4px 12px rgba(62, 29, 12, 0.2);
}

.temple-map-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.temple-map-link {
    color: #f4c15d;
    text-decoration: underline;
}

.temple-map-link:hover {
    color: #ffe09a;
}

/* Temple details page typography */

.temple-detail-deity {
    color: #b4462f;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.temple-detail-title {
    color: #6f1d1b;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.temple-detail-summary {
    color: #8a5a2b;
    font-size: 1.15rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.temple-detail-description {
    font-size: 1rem;
    font-weight: 500;
    color: #6b3e24;
    line-height: 1.65;
    max-width: 760px;
}

.visit-info-card {
    margin-top: 20px;
}

.site-header .header-banner {
    padding-top: 10px;
    padding-bottom: 0px;
}

.site-header .header-banner-image {
    display: block;
    margin: 0 auto;
}

.temples-section {
    text-align: center;
}

.temples-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.temples-section-header h2,
.temples-section-header p {
    text-align: center;
}

.temples-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.temple-filter-sidebar .temple-filter-summary {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-top: 20px;
}

.temple-filter-sidebar .temple-filter-title {
    width: 100%;
    text-align: center !important;
    font-weight: bold;
}

.footer_text {
    text-decoration-color: #FFFFFF;
    color: #FFFFFF;
}

.route-label {
    white-space: nowrap;
    font-size: 0.9rem;
}

.add-temples-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 10px 22px !important;
    background: #f5a719;
    border: 0;
    border-radius: 8px;
    color: #4b2415 !important;
    text-decoration: none;
}

.add-temples-link:hover {
    background: #e99a0d;
    color: #4b2415 !important;
}

.travelinfo{
    margin-top: 12px;
    text-align: center;
    color: #b6533f;
    font-family: "Kalam", cursive;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0 20px;
}

.searchbox::placeholder {
    color: #58151c;
    opacity: 1;
}

.searchbox::-webkit-input-placeholder {
    color: #58151c;
    opacity: 1;
}

.searchbox::-moz-placeholder {
    color: #58151c;
    opacity: 1;
}

.clear-pilgrimage-btn {
    border: 1px solid #8a4b25;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
    color: #8a4b25;
    background: transparent;
}

.clear-pilgrimage-btn:hover {
    background: #8a4b25;
    color: #fff4d6;
}

.temple-search-form .form-select{
    display: flex  !important;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

/* Human verification */

.human-verification {
    position: relative;
    margin-top: 28px;
    padding: 42px 18px 18px;
    border: 3px solid #17130f;
    border-radius: 0;
    background: #f3e5aa;
}

.human-verification-title {
    position: absolute;
    top: -18px;
    left: 50%;
    width: auto;
    margin: 0;
    padding: 7px 14px;
    transform: translateX(-50%);
    background: #fffaf0;
    color: #111111;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.human-verification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.human-verification-question {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
}

.human-verification-label {
    width: 100%;
    margin-bottom: 10px;
    color: #7a1f0e;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
}

.human-verification-image {
    display: block;
    width: 250px;
    max-width: 100%;
    height: 76px;
    object-fit: contain;
}

.human-verification-answer {
    width: 155px;
    max-width: 100%;
    height: 50px;
    margin-top: 10px;
    border-color: #d7b77e;
    border-radius: 9px;
    background: #fffdfa;
    font-size: 1.2rem;
    text-align: center;
}

.human-verification-answer:focus {
    border-color: #9a572c;
    box-shadow: 0 0 0 0.2rem rgba(154, 87, 44, 0.14);
}

.human-verification-help {
    margin-top: 14px;
    color: #687386;
    font-size: 0.8rem;
    text-align: center;
}



.email_sendbutton{
    display: flex  !important;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.temples-banner {
}



/* Source: admin/temple-form.php */
.temple-group-multiselect .dropdown-menu {
            max-width: 100%;
        }

        .temple-group-option {
            cursor: pointer;
        }

        .temple-group-option:hover {
            background: var(--bs-light);
        }

/* Source: public/about-us.php */
.content-page { padding: 3rem 0; }
    .content-page-hero { max-width: 850px; margin: 0 auto 2.5rem; text-align: center; }
    .content-page-title { color: #6d2f1c; font-weight: 700; }
    .content-page-intro { color: #765538; font-size: 1.08rem; line-height: 1.8; }
    .content-panel { height: 100%; padding: 1.75rem; border: 1px solid rgba(122,72,29,.25); border-radius: 18px; background: rgba(255,248,224,.94); box-shadow: 0 12px 28px rgba(91,45,18,.08); }
    .content-panel h2 { color: #6d2f1c; font-size: 1.3rem; font-weight: 700; }
    .content-panel p, .content-panel li { color: #594331; line-height: 1.75; }
    .purpose-panel { padding: 2rem; border-radius: 18px; background: linear-gradient(135deg, rgba(109,47,28,.96), rgba(137,77,31,.94)); color: #fff4d6; }
    .purpose-panel h2 { color: #ffd46b; }
    .purpose-panel p { margin-bottom: 0; line-height: 1.8; }

/* Source: public/contact.php */
.contact-page {
            padding: 3rem 0;
        }

        .contact-heading {
            color: #6d2f1c;
            font-weight: 700;
        }

        .contact-intro {
            max-width: 760px;
            margin: 0 auto;
            color: #765538;
            line-height: 1.75;
        }

        .contact-panel {
            padding: 2rem;
            border: 1px solid rgba(122, 72, 29, .25);
            border-radius: 18px;
            background: rgba(255, 248, 224, .94);
            box-shadow: 0 12px 28px rgba(91, 45, 18, .08);
        }

        .contact-panel .form-label {
            color: #6d2f1c;
            font-weight: 600;
        }

        .contact-panel .form-control,
        .contact-panel .form-select {
            min-height: 48px;
            border-color: rgba(122, 72, 29, .3);
            background-color: #fffdf7;
        }

        .contact-panel textarea.form-control {
            min-height: 170px;
        }

        .contact-panel .form-control:focus,
        .contact-panel .form-select:focus {
            border-color: #a96b27;
            box-shadow: 0 0 0 .2rem rgba(169, 107, 39, .15);
        }

        .contact-note {
            color: #765538;
            font-size: .92rem;
            line-height: 1.6;
        }

        .contact-honeypot {
            position: absolute !important;
            left: -10000px !important;
            width: 1px !important;
            height: 1px !important;
            overflow: hidden !important;
        }

        .human-verification {
            border-color: rgba(122, 72, 29, .25) !important;
            background: #fff9e9;
        }

        .human-verification-image {
            display: block;
            max-width: 100%;
            border: 1px solid rgba(122, 72, 29, .3);
            border-radius: 10px;
        }

        .human-verification-answer {
            max-width: 150px;
        }

/* Source: public/includes/footer.php */
.footer-links-layout {
        width: 100%;
        max-width: 760px;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links-row {
        display: flex;
        align-items: center;
    }

    .footer-links-row-top {
        justify-content: center;
        gap: 4rem;
    }

    .footer-links-row-bottom {
        justify-content: space-between;
        gap: 2rem;
    }

    .footer-links-row a {
        color: #fff2cf;
        text-decoration: underline;
        text-underline-offset: 3px;
        white-space: nowrap;
    }

    .footer-links-row a:hover {
        color: #ffffff;
    }

    .footer-credit {
        width: 100%;
        margin-top: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }

    .footer-jtok-link {
        color: yellow;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .footer-jtok-link:hover {
        color: #ffffff;
    }

    

/* Source: public/includes/header.php */
.site-header {
            background-color: #f3dba5 !important;
        }
        
/* Hide custom mobile menu on tablet/desktop by default */
.mobile-nav-dropdown {
    display: none;
}        

        .header-banner {
            position: relative;
            width: min(100%, 900px);
            margin-inline: auto;
        }

        /*
         * Make the rotator occupy the full banner width.
         */
        .header-banner .temple-banner-rotator,
        .header-banner .temple-circle-rotator {
            width: 100%;
            padding: 0;
        }

        .header-banner .temple-banner-rotator__link,
        .header-banner .temple-circle-rotator__link {
            width: 100%;
        }

        /*
         * Navigation sits over the bottom part of the banner.
         */
        .header-banner-nav {
            position: absolute;
            z-index: 30;
            left: 50%;
            bottom: 14px;
            width: calc(100% - 40px);
            padding: 0;
            border: 0 !important;
            transform: translateX(-50%);
            background: transparent;
        }

        .header-banner-nav .navbar-collapse {
            justify-content: center;
        }

        .header-banner-nav .navbar-nav {
            display: flex;
            justify-content: center;
            width: auto;
            padding: 6px;
            border: 1px solid rgba(255, 218, 126, 0.62);
            border-radius: 11px;
            background-color: rgba(63, 23, 12, 0.78);
            box-shadow: 0 5px 18px rgba(32, 11, 5, 0.32);
            backdrop-filter: blur(5px);
        }

        .header-banner-nav .nav-link {
            min-width: 135px;
            padding: 10px 18px;
            border-radius: 7px;
            color: #ffe3a0;
            font-weight: 600;
            text-align: center;
            transition:
                    color 0.2s ease,
                    background-color 0.2s ease;
        }

        .header-banner-nav .nav-link:hover,
        .header-banner-nav .nav-link:focus {
            color: #ffffff;
            background-color: rgba(177, 91, 24, 0.78);
        }

        .header-banner-nav .nav-link.active {
            color: #ffd65e;
            background-color: #65151c;
        }

        /*
         * The toggler is hidden on desktop by Bootstrap.
         */
        .header-banner-nav .navbar-toggler {
            border-color: rgba(255, 228, 164, 0.7);
            background-color: rgba(255, 244, 211, 0.9);
        }

        /*
         * On tablets and phones, place the menu below the banner.
         * This prevents it from covering too much of the image.
         */
        

        

/* Source: public/includes/temple-circle-rotator.php */
.temple-banner-rotator {
            display: flex;
            justify-content: center;
            width: 100%;
            padding: 0;
        }

        .temple-banner-rotator__link {
            display: block;
            width: min(100%, 1080px);
            color: inherit;
            text-decoration: none;
        }

        .temple-banner-rotator__stage {
            position: relative;
            width: 100%;
            aspect-ratio: 1080 / 359;
            overflow: hidden;
            background: #ead7a4;
            isolation: isolate;
        }

        .temple-banner-rotator__photo {
            position: absolute;
            inset: 0;
            z-index: 1;
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            opacity: 0;

            transition:
                    opacity 1.8s ease-in-out;
                    will-change: opacity;
        }

        .temple-banner-rotator__photo.is-current {
            z-index: 2;
            opacity: 1;
        }

        .temple-banner-rotator__photo.is-incoming {
            z-index: 3;
            opacity: 1;
        }

        /*
         * A very light shade keeps the brown title readable over bright photos.
         * Reduce the opacity if your transparent overlay already contains shading.
         */


        .temple-banner-rotator__overlay {
            position: absolute;
            inset: 0;
            z-index: 5;
            display: block;
            width: 100%;
            height: 100%;
            object-fit: fill;
            pointer-events: none;
            user-select: none;

            filter:
                    drop-shadow(0 1px 0 rgba(255, 245, 215, 0.95))
                    drop-shadow(0 2px 3px rgba(45, 18, 7, 0.55));
        }

        

        

/* Source: public/index.php */
.temple-catalogue-heading {
            margin-bottom: 2rem;
        }

        .temple-search-controls {
            margin-top: 1rem;
        }

        .temple-search-controls .form-select {
            min-height: 46px;
            border-color: rgba(122, 72, 29, 0.32);
            background-color: #fffaf0;
            color: #6d2f1c;
        }

        .temple-search-controls .form-select:focus {
            border-color: #a96b27;
            box-shadow: 0 0 0 0.2rem rgba(169, 107, 39, 0.15);
        }

        .temple-search-controls .btn {
            min-height: 46px;
        }

        .temple-filter-summary {
            margin-top: 0.75rem;
            color: #fff2cf;
            font-size: 0.9rem;
            text-align: center;
        }

        .temple-card {
            position: relative;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .temple-card:hover {
            transform: translateY(-4px);
        }

        .temple-card-main-link {
            position: absolute;
            inset: 0;
            z-index: 1;
            border-radius: inherit;
        }

        .temple-card .route-label {
            position: relative;
            z-index: 2;
            cursor: pointer;
        }

        .temple-search-result {
            margin: 12px 0 0;
            color: #fff2cf;
            font-family: "Segoe Script", "Brush Script MT", cursive;
            font-size: 1.05rem;
            line-height: 1.5;
            text-align: center;
        }

        .temple-search-result a {
            color: #fff2cf;
            text-decoration: underline;
            text-underline-offset: 4px;
        }

        .temple-search-result a:hover {
            color: #ffffff;
        }

        .temple-results-toolbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            text-align: center;
            gap: 1rem;
            padding-top: 1.25rem;
        }

        .temple-count {
            display: flex;
            color: #6d2f1c;
            font-weight: 600;
            text-align: center;
            align-items: center;
            justify-content: center;
        }

        .clear-pilgrimage-btn {
            display: flex;
            margin-left: auto;
            justify-content: right;
            margin-top: 10px;
            min-height: 40px;
            padding: 0.4rem 1rem;
            border: 1px solid #7a351d;
            border-radius: 8px;
            background-color: transparent;
            color: #7a351d;
            font-weight: 600;
        }

        .clear-pilgrimage-btn:hover:not(:disabled) {
            background-color: #7a351d;
            color: #fff4d6;
        }

        .clear-pilgrimage-btn:disabled {
            cursor: not-allowed;
            opacity: 0.45;
        }

        .temple-pagination .page-link {
            color: #6d2f1c;
            border-color: rgba(122, 72, 29, 0.25);
        }

        .temple-pagination .page-item.active .page-link {
            color: #fff4d6;
            background-color: #6d2f1c;
            border-color: #6d2f1c;
        }

        

/* Source: public/my-pilgrimage.php */
.pilgrimage-page-title {
            color: #6d2f1c;
            font-weight: 700;
        }

        .pilgrimage-panel {
            background: rgba(255, 248, 224, 0.92);
            border: 1px solid rgba(122, 72, 29, 0.28);
            border-radius: 18px;
            padding: 24px;
            box-shadow: 0 12px 28px rgba(91, 45, 18, 0.08);
        }

        .pilgrimage-empty {
            padding: 42px 20px;
            text-align: center;
        }

        .pilgrimage-temple-list {
            margin: 0;
            padding-left: 2rem;
        }

        .pilgrimage-temple-item {
            margin-bottom: 16px;
            padding: 16px 18px;
            background: #fff8e0;
            border: 1px solid rgba(122, 72, 29, 0.25);
            border-radius: 12px;
        }

        .pilgrimage-temple-item:last-child {
            margin-bottom: 0;
        }

        .pilgrimage-temple-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
        }

        .pilgrimage-temple-name {
            color: #6d2f1c;
            font-size: 1.05rem;
            font-weight: 700;
        }

        .pilgrimage-temple-address {
            margin-top: 4px;
            color: #765538;
            line-height: 1.45;
        }

        .pilgrimage-temple-actions {
            display: flex;
            flex-shrink: 0;
            gap: 8px;
        }

        .pilgrimage-order-button,
        .pilgrimage-remove-button {
            min-width: 40px;
        }

        .journey-table th {
            color: #6d2f1c;
            white-space: nowrap;
        }

        .section-heading-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .journey-action-button {
            min-width: 145px;
        }

        .journey-heading-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .clear-temples-button {
            border-color: #b84432;
            color: #b84432;
        }

        .clear-temples-button:hover {
            border-color: #b84432;
            background-color: #b84432;
            color: #ffffff;
        }

        .clear-journey-button {
            border-color: #7a481d;
            color: #7a481d;
        }

        .clear-journey-button:hover {
            border-color: #7a481d;
            background-color: #7a481d;
            color: #fff8e0;
        }

        .add-journey-btn {
            width: 100%;
            min-height: 40px;
            padding: 0.5rem 1rem;
            border: 1px solid #df5a56;
            border-radius: 999px;
            background-color: #df5a56;
            color: #ffffff;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
        }

        .add-journey-btn:hover:not(:disabled) {
            background-color: #c94440;
            border-color: #c94440;
        }

        .add-journey-btn:disabled {
            background-color: #ef9a91;
            border-color: #ef9a91;
            color: #fff7f2;
            cursor: not-allowed;
            opacity: 1;
        }

        .starting-point-suggestions {
            position: static;
            width: 100%;
            max-height: 260px;
            overflow-y: auto;
            border-radius: 10px;
            background: #fff8e0;
        }

        .starting-point-suggestions .list-group-item {
            background: #fff8e0;
            border-color: rgba(122, 72, 29, 0.18);
            color: #4f3a28;
            text-align: left;
            white-space: normal;
        }

        .starting-point-suggestions .list-group-item:hover,
        .starting-point-suggestions .list-group-item:focus {
            background: #f6e6b8;
            color: #6d2f1c;
        }

        .journey-totals {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
        }

        .journey-total-item {
            padding: 16px 18px;
            border: 1px solid rgba(122, 72, 29, 0.25);
            border-radius: 12px;
            background: #fff8e0;
        }

        .journey-total-label {
            display: block;
            margin-bottom: 4px;
            color: #765538;
            font-size: 0.9rem;
        }

        .journey-total-item strong {
            color: #6d2f1c;
            font-size: 1.1rem;
        }

        

/* Source: public/suggest-temple.php */
.temple-info-card label,
    .temple-info-card .form-label,
    .temple-info-card p,
    .temple-info-card .small,
    .temple-info-card .text-body-secondary {
        color: #ffd063 !important;
    }


    .temple-info-card {
        background: rgb(73 61 28 / 0.92);
        border: 1px solid rgba(122, 72, 29, 0.28) !important;
        border-radius: 18px;
        color: #f8f8f8;
    }

    .temple-info-card .form-control {
        background: #fffaf0;
        color: #712828 !important;
        border-color: rgba(122, 72, 29, 0.3);
    }

    .temple-info-card .form-control:focus {
        background: #fffaf0;
        border-color: #403029;
        box-shadow: 0 0 0 0.2rem rgba(169, 107, 39, 0.15);
    }

    .temple-info-card .form-control {
        background-color: #f7e7bd !important;
        border-color: rgba(122, 72, 29, 0.35);
        color: #403029;
    }

    .temple-info-card .form-control:focus {
        background-color: #f7e7bd !important;
        border-color: #c8943f;
        box-shadow: 0 0 0 0.2rem rgba(200, 148, 63, 0.18);
    }

/* Source: public/temples.php */
.temple-directory-card {
        position: relative;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .temple-directory-card:hover {
        transform: translateY(-4px);
    }

    .temple-directory-card-link {
        position: absolute;
        inset: 0;
        z-index: 1;
        border-radius: inherit;
    }

    .temple-directory-card .route-label {
        position: relative;
        z-index: 2;
        cursor: pointer;
    }

    .temple-pagination .page-link {
        color: #6d2f1c;
        border-color: rgba(122, 72, 29, 0.25);
    }

    .temple-pagination .page-item.active .page-link {
        color: #fff;
        background-color: #6d2f1c;
        border-color: #6d2f1c;
    }

    .temple-pagination .page-item.disabled .page-link {
        color: #9a8d83;
    }

.site-body { background-color: #f3dba5; }

.legal-content{max-width:920px}.temple-visit-sticky{top:190px}
