
.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;

}

@media (max-width: 991.98px) {
    .site-header .nav-link {
        width: 100%;
        min-width: 0;
        padding-bottom: 10px;
        text-align: center;
    }
}

.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;
}

@media (max-width: 767.98px) {
    .human-verification {
        padding: 40px 12px 16px;
    }

    .human-verification-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .human-verification-label {
        text-align: center;
    }

    .human-verification-answer {
        width: 170px;
    }
}

.email_sendbutton{
    display: flex  !important;
    grid-column: 3;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.temples-banner {
}

