/* ===== HEADER ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* ===== TOP NAVBAR ===== */
.bg-navbar {
    background: #e75710;
    padding: 20px 26px;
    border-bottom: 2px solid #fff200;
}

/* Navbar wrapper */
.navbar-custom {
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-toggle,
.navbar-close {
    display: none;
}

/* Center menu */
.menu-center {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Navbar buttons */
.btn-navbar {
    color: #ffffff;
    border: 2px solid #fff200;
    padding: 6px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.btn-navbar:hover {
    background: #FFF8E1;
    color: #7a0f0f;
}

/* ===== DROPDOWN BASE ===== */
.dropdown {
    position: relative;
}

/* Make tab clickable */
.dropdown>a {
    cursor: pointer;
    position: relative;
    padding-right: 26px;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 100%;
}

/* Dropdown arrow button */
.dropdown>a::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: transparent;
    border: none;
    padding: 8px 0;
    width: 140%;
    display: none;
    z-index: 999;
}

/* Show on click (controlled by JS) */
.dropdown-menu.active {
    display: block;
}

/* ===== DROPDOWN ITEMS ===== */
.dropdown-menu .dropdown-item {
    display: block;
    margin: 4px auto;
    text-align: center;
}

/* Reuse navbar button style */
.dropdown-menu .btn-navbar {
    background: #e75710;
    color: #ffffff;
    border: 2px solid #fff200;
    border-radius: 25px;
    padding: 6px 16px;
    width: 100%;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hover effect */
.dropdown-menu .btn-navbar:hover {
    background: #f5d36b;
    color: #7a0f0f;
}

/* Arrow spacing fix */
.dropdown-toggle::after {
    margin-left: 6px;
}


/* ===== LOGO & TITLE SECTION ===== */
.bg-purohit-sangh-name {
    background: #e75710;
    color: #ffffff;
    padding: 0px 0px 0px;
}

/* Row holding logo + title */
.logo-title-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Logo on left */
.logo-wrapper {
    position: absolute;
    left: 30px;
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    width: 95px;
    height: auto;
}

/* ===== TITLE WRAPPER ===== */
.title-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 22px 0;
}

/* ===== TITLE TEXT ===== */
.title-text {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1.4px;
    white-space: nowrap;
    padding: 16px 64px;
    border-radius: 60px;
    color: #ffd56a;
    text-shadow: 0 1px 0 #8b5a00, 0 2px 4px rgba(0, 0, 0, 0.6), 0 0 14px rgba(255, 215, 100, 0.55);
    background: linear-gradient(180deg, #f41919 0%, #9a1414 45%, #5a1c1c 100%);
    border: 2px solid #f5d36b;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -4px 8px rgba(0, 0, 0, 0.6), 0 10px 22px rgba(0, 0, 0, 0.55);
}

/* ===== INNER GOLD LINE ===== */
.title-text::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50px;
    border: 1px solid rgba(245, 211, 107, 0.45);
    pointer-events: none;
}

/* ===== DECORATIVE MARKERS ===== */
.title-text .marker-left,
.title-text .marker-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #f5d36b;
    text-shadow: 0 1px 0 #8b5a00, 0 0 6px rgba(245, 211, 107, 0.7);
    pointer-events: none;
}

/* Left marker */
.title-text .marker-left {
    left: 22px;
}

/* Right marker */
.title-text .marker-right {
    right: 22px;
}

/* ===== SLOGAN ===== */
.slogan {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-top: -10px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 700;
}

/* ===== COMMON DECORATIVE LINE ===== */
.header-wrapper::after,
.footer-wrapper::before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #640000, #fff200, #640000);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border-radius: 3px;
}

/* HEADER  MOBILE VIEW  */
@media (max-width: 768px) {

    .bg-navbar {
        padding: 6px 14px;
        border-bottom: 2px solid #fff200;
        position: relative;
        z-index: 1000;
    }

    .navbar-custom {
        justify-content: flex-start;
    }

    /* Toggle button – NOT fixed */
    .navbar-toggle {
        display: block;
        background: #FFF8E1;
        border: 2px solid #fff200;
        color: #000;
        font-size: 20px;
        padding: 6px 12px;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        top: auto;
        left: auto;
        z-index: 10001;
    }


    /* ================= PANEL BASE ================= */
    .menu-center {
        position: fixed;
        top: 0;
        left: -380px;
        width: 380px;
        height: 100%;
        background: #e75710;
        padding-top: 56px;
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transition: left 0.3s ease;
        z-index: 10000;
        overflow-y: auto;
    }

    .menu-center.active {
        left: 0;
    }

    /* ================= ALL BUTTONS ================= */
    .menu-center .btn-navbar,
    .menu-center .dropdown>.btn-navbar,
    .dropdown-menu .btn-navbar {
        background: transparent;
        color: #fff;
        border: none;
        display: block;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        padding: 10px 12px 12px 18px;
        text-align: left;
        font-size: 15.5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 0;
        word-wrap: break-word;
    }

    /* ================= DROPDOWNS ================= */
    .dropdown {
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    /* Remove desktop arrow on mobile */
    .menu-center .dropdown-toggle::after {
        display: none;
    }

    /* ================= DROPDOWN MENU ================= */
    .menu-center .dropdown-menu {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        margin: 0;
        padding: 0;
        display: flex !important;
        flex-direction: column;
        background: transparent;
        border: none;
        box-sizing: border-box;
    }

    /* ===== LOGO & TITLE (MOBILE – NO GAP, MARGINS ONLY) ===== */
    .logo-title-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        margin-top: 0px;
        gap: 0;
        padding: 0 16px;
    }

    /* Logo */
    .logo-wrapper {
        position: static;
        margin-right: 2px;
        flex-shrink: 0;
    }

    .logo-wrapper img {
        width: 70px;
        height: auto;
    }

    /* Title */
    .title-text {
        margin-left: 6px;
        font-size: 21px;
        padding: 10px 26px;
        letter-spacing: 1px;
        white-space: nowrap;
        text-shadow: 0 1px 0 #7a4a00, 0 2px 3px rgba(0, 0, 0, 0.55), 0 0 8px rgba(255, 210, 120, 0.55);
    }

    /* Decorative border */
    .title-text::before {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 46px;
    }

    /* Optional: keep markers aligned */
    .title-text .marker-left {
        left: 14px;
        font-size: 14px;
    }

    .title-text .marker-right {
        right: 14px;
        font-size: 14px;
    }

    .slogan {
        font-size: 15px;
        margin-top: -10px;
        padding: 0 10px;
    }
}

/*  HEADER TABLET VIEW  */
@media (min-width: 769px) and (max-width: 1024px) {

    .bg-navbar {
        padding: 8px 18px;
    }

    .navbar-custom {
        justify-content: flex-start;
    }

    /* Toggle button – NOT fixed */
    .navbar-toggle {
        display: block;
        background: #FFF8E1;
        border: 2px solid #fff200;
        color: #000;
        font-size: 22px;
        padding: 8px 14px;
        border-radius: 6px;
        cursor: pointer;
        position: relative;
        z-index: 10001;
    }

    /* ================= LEFT PANEL ================= */
    .menu-center {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -380px;
        width: 380px;
        height: 100%;
        background: #d15d21;
        padding-top: 14px;
        transition: left 0.3s ease;
        z-index: 10000;
        overflow-y: auto;
    }

    .menu-center.active {
        left: 0;
    }


    /* ================= MAIN TABS ================= */
    .menu-center .btn-navbar,
    .menu-center.dropdown {
        width: 90%;
        margin: 8px auto;
        padding: 14px 18px;
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        font-size: 15px;
        border-radius: 6px;
        color: #fff;
    }

    /* ================= DROPDOWN ================= */
    .dropdown-toggle::after {
        display: none;
    }

    /* Dropdown takes vertical space (no overlap) */
    .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: static;
        margin: 4px 0 -8px 0;
        padding-left: 18px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Dropdown items */
    .dropdown-menu .btn-navbar {
        margin: 10px 0;
        width: 92%;
        font-size: 14.5px;
    }

    /* Ensure dropdown stacks properly */
    .dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    /* ================= LOGO & TITLE ================= */
    .logo-title-row {
        flex-direction: column;
        gap: 12px;
    }

    .logo-wrapper {
        position: static;
        margin-bottom: 8px;
    }

    .logo-wrapper img {
        width: 80px;
    }

    .title-text {
        font-size: 22px;
        padding: 12px 32px;
        letter-spacing: 1.2px;
        text-shadow: 0 1px 0 #7a4a00, 0 2px 3px rgba(0, 0, 0, 0.55), 0 0 10px rgba(255, 210, 120, 0.55);
    }

    .title-text::before {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 52px;
    }

    /* Optional: keep markers aligned */
    .title-text .marker-left {
        left: 14px;
        font-size: 14px;
    }

    .title-text .marker-right {
        right: 14px;
        font-size: 14px;
    }

    .slogan {
        font-size: 16px;
        margin-top: 10px;
        padding: 0 14px;
    }
}

/* ================= FOOTER BASE ================= */
.bg-footer {
    background: #e75710;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    padding-top: 0px;
    padding-bottom: 0px;
}

/* Text & links */
.text-gold,
.text-gold a {
    color: #ffffff;
    text-decoration: none;
}

/* ================= CONTENT GRID ================= */
.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 0 12px;
}



/* Contact info spacing */
.footer-contact-info p {
    margin: 0 0 0px;
    color: white;
}

/* ================= CONTACT BUTTON ================= */
.footer-contact-person .saveBtn {
    border: 1px solid #f5d27a;
    padding: 5px 14px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-contact-person .saveBtn:hover {
    background: #f5d27a;
    color: #7a0f0f;
}

/* ================= SOCIAL ICONS ================= */
.footer-social-icons {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.footer-social-icons a {
    display: inline-flex;
}

.footer-social-icons i {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Platform colors */
.footer-social-icons .fa-facebook {
    background: #1877f2;
}

.footer-social-icons .fa-whatsapp {
    background: #25d366;
}

.footer-social-icons .fa-instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social-icons .fa-youtube-play {
    background: #ff0000;
}

.footer-social-icons a:hover i {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* ================= LANGUAGE SWITCH ================= */
.language-switch {
    font-size: 13px;
    color: #ffffff;
    white-space: nowrap;
}

.language-switch a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    margin: 0 6px;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.language-switch a:hover {
    color: #fff200;
    text-decoration: underline;
}

/* ================= BOTTOM BAR ================= */



/* HOME page */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background: #FFF8E1;
    color: #7a0f0f;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* CONTAINER */
.container {
    max-width: 1450px;
    margin: 0px auto;
    padding: 0px 15px;
}

/*COMMON SECTION CARD */
.bg-purohit-contact {
    background: #FFF8E1;
    border: 2px solid #7a0f0f;
    border-radius: 4px;
    padding: 15px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
}

/* Clear floats */
.bg-purohit-contact::after {
    content: "";
    display: block;
    clear: both;
}

/* TEXT HELPERS */
.text-maroon {
    color: #7a0f0f;
}

.text-justify {
    text-align: justify;
}

.text-center {
    text-align: center;
}

/*HEADINGS */
h2 {
    font-size: 20px;
    letter-spacing: 0.5px;
    margin: 0 0 15px;
    color: #6d0d0d;
    text-transform: uppercase;
}

/* Flex heading for icons + text */
.bg-purohit-contact h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Heading text */
.bg-purohit-contact h2 b {
    display: inline-block;
    padding-bottom: 4px;
    line-height: 1.4;
}

/* Italic inside heading */
h2 i {
    font-style: italic;
}

/* Bottom border */
.border-bottom {
    border-bottom: 2px solid #7a0f0f;
}

/* HEADING ICONS (TRISHUL / KALASH) */
.bg-purohit-contact h2 img {
    height: 26px;
    width: auto;
    vertical-align: middle;
    flex-shrink: 0;
}

/* PARAGRAPHS */
p {
    font-size: 15px;
    margin: 0 0 12px;
}

/* LINKS */
a {
    color: #7a0f0f;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* FLOAT IMAGES / LOGOS */
.pull-left {
    float: left;
}

.mr-2 {
    margin-right: 10px;
}

.mr-3 {
    margin-right: 15px;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 25px;
    margin-bottom: 25px;
}

.mt-3 {
    margin-top: 15px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.p-1 {
    padding: 5px;
}

.p-3 {
    padding: 15px;
}

/* BORDERS */
.border {
    border: 3px solid #7a0f0f;
}

.border-marron {
    border-color: #7a0f0f !important;
}

.border-warning {
    border: 2px solid #b8860b;
}

.border-2 {
    border-width: 2px;
}

/* WRONG LOGO SECTION */
.wrong-logo {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.wrong-logo img {
    background: #fff;
}

/* Logo sizes */
.width-60 {
    width: 60px;
    height: auto;
}

/* LIVE DARSHAN TEXT SIZE */
.h4 {
    font-size: 18px;
}

/* CLEAR FLOAT FIX */
.bg-purohit-contact::after {
    content: "";
    display: block;
    clear: both;
}

/* TABLET VIEW HOME(iPad & Tabs) */
@media (min-width: 769px) and (max-width: 1024px) {

    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 15px;
        line-height: 1.8;
    }

    .bg-purohit-contact h2 {
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 6px;
    }

    /* Kalash / Trishul images */
    .bg-purohit-contact h2 img {
        height: 22px;
        width: auto;
        flex-shrink: 0;
    }

    /* Heading text */
    .bg-purohit-contact h2 b {
        text-align: center;
        line-height: 1.4;

    }
}

/*  MOBILE VIEW HOME */
@media (max-width: 768px) {

    body {
        background: #FFF8E1;
    }

    .container {
        margin: 0px auto;
        padding: 0 12px;
    }

    .bg-purohit-contact {
        padding: 12px;
        border-width: 1.5px;
    }

    h2 {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* Stack icons cleanly */
    .bg-purohit-contact h2 img {
        height: 20px;
    }

    .bg-purohit-contact h2 img {
        height: 22px;
    }

    .bg-purohit-contact h2 b {
        font-size: 15px;
    }

    p {
        font-size: 14px;
        line-height: 1.75;
    }

    a {
        word-break: break-word;
    }

    /* FLOAT LOGO FIX */
    .pull-left {
        float: none;
        display: block;
        margin: 0 auto 0px;
    }

    /* WRONG LOGOS CENTERED */
    .wrong-logo {
        justify-content: center;
        gap: 8px;
    }

    .wrong-logo img {
        width: 50px;
    }
}

/*GALLERY PAGE  */
section>.p-2>.border {
    background: #fff8e1;
    border-radius: 4px;
    padding: 15px;
    margin-top: 35px;
}

/* HEADINGS */
section h2 {
    font-size: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: #6d0d0d;
    text-transform: uppercase;
}

section h2 u {
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* PARAGRAPH TEXT */
section p {
    font-size: 15px;
    line-height: 1.7;
    margin-top: 10px;
    color: #7a0f0f;
    text-align: justify;
}

/* IMAGE GRID – FULL IMAGE + SHADOW */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
}

.col-lg-3,
.col-md-4 {
    padding: 8px;
    flex: 1 0 21%;
    max-width: 25%;
    display: flex;
    justify-content: center;
}

/* FULL IMAGE STYLE WITH SHADOW */
.img-thumbnail {
    width: 100%;
    height: auto;
    border: 2px solid #b8860b;
    border-radius: 4px;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.img-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    border-color: #7a0f0f;
}

/* SPACING HELPERS */
.mt-4 {
    margin-top: 20px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

/* Tablet view: gallery */
@media (min-width: 769px) and (max-width: 1024px) {

    .col-lg-3,
    .col-md-4 {
        flex: 1 0 32%;
        max-width: 32%;
    }
}

/* Mobile view:gallery */
@media (max-width: 768px) {

    .col-lg-3,
    .col-md-4 {
        flex: 1 0 48%;
        max-width: 48%;
    }

    section h2 {
        font-size: 18px;
    }

    section p {
        font-size: 14px;
    }
}

/* Extra small mobile: 1 per row */
@media (max-width: 576px) {

    .col-lg-3,
    .col-md-4 {
        flex: 1 0 100%;
        max-width: 100%;
    }
}

/* SEO & ACCESSIBILITY */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    background: #f4f4f4;
}

/* ================= FAQ PAGE ================= */

body {
    background: #FFF8E1;
}

.faq-section {
    padding: 20px 12px;
    background: #FFF8E1;
    margin-top: 20px;
    width: 100%;
}

/* Wrapper grid */
.faq-wrapper {
    max-width: 1370px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ================= FAQ COLUMN ================= */

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Section title */
.faq-title {
    text-align: center;
    font-size: 16px;
    margin-bottom: 6px;
    color: #8a2d0c;
    font-weight: bold;
}

.faq-title a {
    color: #8a2d0c;
    text-decoration: underline;
}

/* ================= FAQ ITEM ================= */

.faq-item {
    padding: 0;
    margin: 0;
}

/* ================= QUESTION ================= */

.faq-question {
    background: #e75710;
    color: #ffffff;
    padding: 15px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.35;
    border: 1px solid #ffee00;
}

/* ================= ANSWER ================= */

.faq-answer-box {
    background-color: #fff8e1;
    border: 2px solid #7a0f0f;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}


/* ================= VISUAL SPACING ================= */

.faq-item:not(:last-child) {
    margin-bottom: 4px;
}

/* ================= TABLET VIEW ================= */
@media (min-width: 769px) and (max-width: 1024px) {

    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-section {
        padding: 18px 14px;
    }

    .faq-title {
        font-size: 16px;
    }

    .faq-question {
        font-size: 13px;
        padding: 7px 14px;
    }

    .faq-answer {
        font-size: 13px;
        padding: 7px 14px;
    }
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-bottom: 20px;
    }

    .faq-section {
        padding: 0px 10px;
    }

    .faq-title {
        font-size: 15px;
    }

    .faq-question {
        font-size: 12.5px;
        padding: 6px 12px;
    }

    .faq-answer {
        font-size: 12.5px;
        padding: 6px 12px;
    }
}

/* =====================================
   BASIC RESET FOR CONTENT IMAGES
===================================== */
img {
    max-width: 100%;
    height: auto;
}

/* Center image when needed */
.img-center {
    display: block;
    margin: 10px auto;
}

/* =====================================
   PAGE CONTENT WRAPPER
===================================== */
.page-wrapper {
    padding-top: 30px;
}

h1 {
    text-align: center;
}

/* =====================================
   CONTENT SECTIONS
===================================== */
.section-box {
    background-color: #fff8e1;
    padding: 10px 15px;
    border-bottom: 1px solid #7a0f0f;
    overflow: hidden;
    /* IMPORTANT for float clearing */
}

/* Remove border from last section only */
.section-box:last-of-type {
    border-bottom: none;
}

/* =====================================
   TEXT FORMATTING
===================================== */
.section-box p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    text-align: justify;
}

.section-box p:last-child {
    margin-bottom: 0;
}

.section-box h2,
.section-box h4 {
    font-weight: bold;
    margin: 14px 0 8px;
}

/* =====================================
   IMAGE + TEXT WRAPPING
===================================== */

/* Image LEFT with slight upward adjustment */
.content-image-left,
.image-nagbali {
    float: left;
    max-width: 45%;
    margin: 1px 23px 2px 0;
    vertical-align: top;
}

/* Image floated RIGHT (if needed) */
.content-image-right {
    float: right;
    max-width: 45%;
    margin: 5px 0 8px 15px;
}

/* Smaller images (like priest / vidhi images) */
.image-small {
    max-width: 180px;
}

/* =====================================
   LISTS WITH WRAPPED TEXT
===================================== */
.section-box ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.section-box ul li {
    line-height: 1.4;
    margin-bottom: 4px;
}

/* Centered verses / Sanskrit blocks */
.section-box p.text-center {
    text-align: center;
    line-height: 1.6;
    margin: 10px 0;
}

/* =====================================================
   PANDITJI / VISITING CARD (KEPT AS-IS)
===================================================== */
.visiting-card-btn,
.mb-2>div:first-child {
    width: 100%;
    min-height: 42px;
    padding: 4px 18px;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    background-color: #e75710;
    color: #ffffff;
    border: 1px solid #ffee00;
    border-radius: 10px;
    line-height: 1.35;
    margin-bottom: 4px;
}

/* Plus / Minus icon */
.visiting-card-btn::after,
.mb-2>div:first-child::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: bold;
}

.visiting-card-btn.active::after,
.mb-2>div:first-child.active::after {
    content: "−";
}

/* Pandit layout */
.pandit-wrapper {
    display: flex;
    gap: 25px;
    margin-top: 15px;
}

.pandit-column {
    width: 50%;
}

.pandit-item {
    text-align: center;
}

.pandit-item.visiting-card-btn {
    display: flex;
    align-items: center;
    /* vertically center tick and text */
    justify-content: center;
    /* center the text horizontally */
    position: relative;
    /* for pseudo-element positioning */
    text-align: center;
    padding-left: 25px;
    /* space for tick on left */
}

.pandit-item.visiting-card-btn::before {
    content: '✔';
    /* green tick */
    color: green;
    font-weight: bold;
    position: absolute;
    /* position tick absolutely */
    left: 8px;
    /* distance from left edge */
    top: 50%;
    /* vertically center tick */
    transform: translateY(-50%);
    /* adjust vertical centering */
}


/* ================= PANDIT INFO BOX ================= */
.pandit-info-box {
    background-color: #fff8e1;
    border: 2px solid #7a0f0f;
    color: #7a0f0f;
    border-radius: 10px;
    padding: 11px;
    margin-top: 6px;
}

.pandit-info-box.hidden {
    display: none;
}

/* Header layout - side by side */
.pandit-info-header {
    display: flex;
    gap: 15px;
    /* space between photo and info */
    align-items: flex-start;
}

/* Pandit photo */
.pandit-info-header img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #7a0f0f;
}

/* Right-side info */
.pandit-info-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Name heading */
.pandit-info-details h3 {
    margin: 0 0 6px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid #7a0f0f;
}

/* Text emphasis */
.pandit-info-details strong {
    color: #7a0f0f;
}

/* Optional: smaller spacing between paragraphs */
.pandit-info-details p {
    margin: 3px 0;
}


/* =====================================
   MOBILE VIEW (MAX-WIDTH: 768px)
===================================== */
@media (max-width: 768px) {

    /* MAIN CONTAINER */
    .container.c1 {
        width: 95%;
        padding: 0 0px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Page spacing */
    .page-wrapper {
        padding-top: 0px;
    }

    h1 {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 12px;
        text-align: center;
    }

    /* Section content */
    .content-box,
    .content-detail-block {
        padding: 12px 0px;
        margin-bottom: 14px;
    }

    .content-box p,
    .content-detail-block p {
        font-size: 14px;
        line-height: 1.55;
        text-align: justify;
    }

    .content-box h2,
    .content-detail-block h2,
    .content-box h4,
    .content-detail-block h4 {
        text-align: center;
        margin: 10px 0;
    }

    .content-box h2 {
        font-size: 18px;
    }

    .content-box h4 {
        font-size: 16px;
    }

    /* Images – no float, center images */
    .content-image-left,
    .image-nagbali,
    .content-image-right,
    .img-fluid {
        float: none !important;
        display: block;
        max-width: 100% !important;
        margin: 12px auto;
    }

    .content-image-left[style],
    .image-nagbali[style] {
        max-width: 180px;
        /* keep small inline images proportionate */
    }

    /* Lists */
    ul {
        padding-left: 18px;
        margin-bottom: 12px;
    }

    ul li {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 6px;
    }

    /* Panditji section */
    .pandit-wrapper {
        flex-direction: column;
        gap: 0px;
    }

    .pandit-column {
        width: 100%;
    }

    .visiting-card-btn {
        font-size: 14px;
        padding: 8px 20px;
        min-height: 40px;
    }

    .pandit-info-box {
        padding: 14px;
        border-radius: 14px;
    }

    .pandit-info-box img {
        width: 80px;
        height: 80px;
    }

    .pandit-info-box h3 {
        font-size: 17px;
    }

    /* FAQ Section */
    .faq-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .faq-question {
        font-weight: 600;
        cursor: pointer;
        font-size: 15px;
    }

    .faq-answer-box {
        font-size: 14px;
        line-height: 1.55;
        max-width: 100%;
        word-wrap: break-word;
        margin-top: 6px;
    }

    /* Small inline images (like puja performer) */
    img[style*="max-width:180px"] {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 12px auto 10px auto !important;
    }

    /* Sanskrit verses with inline center and margins */
    p[style*="text-align:center"] {
        text-align: center !important;
        margin: 12px 20px !important;
        line-height: 1.8 !important;
        font-size: 14px !important;
    }

    /* Any float-left images with inline margin for mobile */
    img.float-left[style] {
        float: none !important;
        display: block !important;
        margin: 12px auto 10px auto !important;
    }

    /* Any float-right images with inline margin for mobile */
    img.float-right[style] {
        float: none !important;
        display: block !important;
        margin: 12px auto 10px auto !important;
    }

    /* ===== ADDITION FOR INLINE CONTENT-IMAGES WITH MAX-WIDTH 42% ===== */
    img[style*="max-width:42%"] {
        max-width: 100% !important;
        height: auto !important;
        float: none !important;
        display: block !important;
        margin: 12px auto 10px auto !important;
    }

    /* Remove negative margins on inline images for mobile */
    img[style*="margin:-10px"],
    img[style*="margin:-15px"],
    img[style*="margin:0px 21px"] {
        margin: 12px auto 10px auto !important;
    }
}

/* =====================================
   TABLET VIEW (769px TO 1024px)
===================================== */
@media (min-width: 769px) and (max-width: 1024px) {

    .container.c1 {
        width: 90%;
        padding: 0 16px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .page-wrapper {
        padding-top: 26px;
    }

    h1 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 14px;
        text-align: center;
    }

    /* Section content */
    .content-box,
    .content-detail-block {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .content-box p,
    .content-detail-block p {
        font-size: 15px;
        line-height: 1.5;
        text-align: justify;
    }

    .content-box h2,
    .content-detail-block h2 {
        font-size: 20px;
        margin: 14px 0 8px;
        text-align: center;
    }

    .content-box h4,
    .content-detail-block h4 {
        font-size: 17px;
        margin: 12px 0 6px;
        text-align: center;
    }

    /* Images */
    .content-image-left,
    .image-nagbali {
        float: left;
        max-width: 42%;
        margin: 20px 14px 8px 0;
    }

    .content-image-right {
        float: right;
        max-width: 42%;
        margin: 6px 0 8px 14px;
    }

    .img-fluid {
        max-width: 100%;
        height: auto;
    }

    /* Lists */
    ul {
        padding-left: 20px;
    }

    ul li {
        font-size: 15px;
        line-height: 1.45;
    }

    /* Panditji section */
    .pandit-wrapper {
        flex-wrap: wrap;
        gap: 22px;
    }

    .pandit-column {
        width: 50%;
    }

    .visiting-card-btn {
        font-size: 15px;
        padding: 8px 22px;
        min-height: 42px;
    }

    .pandit-info-box {
        padding: 16px;
        border-radius: 15px;
    }

    .pandit-info-box img {
        width: 85px;
        height: 85px;
    }

    .pandit-info-box h3 {
        font-size: 18px;
    }

    /* FAQ Section */
    .faq-wrapper {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .faq-question {
        font-weight: 600;
        cursor: pointer;
        font-size: 15px;
    }

    .faq-answer-box {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
        word-wrap: break-word;
        margin-top: 6px;
    }

    /* Inline small images */
    img[style*="max-width:180px"] {
        margin: 12px auto 10px auto;
        display: block;
    }
}

/* =====================================================
   CONTACT SECTION (NAMESPACED)
===================================================== */

.ps-contact-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
.ps-contact-container h1,
.ps-contact-container h2,
.ps-contact-container h3 {
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 10px;
}

.ps-contact-container h2 {
    font-size: 1.4rem;
}

.ps-contact-container p {
    margin: 0 0 8px;
}

/* =====================================================
   TITLES
===================================================== */
.ps-contact-title {
    text-align: center;
}

.ps-org-title {
    font-size: 1.3rem;
}

/* =====================================================
   COLORS
===================================================== */
.ps-text-maroon {
    color: #ffffff;
}

.ps-bg-light-maroon {
    background-color: #e75710;
}

.ps-bg-light-pink {
    background-color: #fffdf8;
}

/* =====================================================
   UTILITIES
===================================================== */
.ps-text-center {
    text-align: center;
}

.ps-border-2 {
    border: 2px solid #7a0f0f;
}

.ps-mt-2 {
    margin-top: 0.5rem;
}

.ps-mt-3 {
    margin-top: 1rem;
}

.ps-mb-1 {
    margin-bottom: 0.25rem;
}

.ps-mb-3 {
    margin-bottom: 1rem;
}

.ps-p-2 {
    padding: 0.5rem;
}

.ps-pl-2 {
    padding-left: 6px;
}

/* =====================================================
   LAYOUT
===================================================== */
.ps-contact-layout {
    display: flex;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
}

.ps-contact-left,
.purohit-sidebar {
    flex: 1 1 48%;
    padding: 20px;
    box-sizing: border-box;
}

/* =====================================================
   CONTACT ROW
===================================================== */
.ps-contact-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
}

/* =====================================================
   PUROHIT SECTION
===================================================== */
.purohit-title {
    text-align: center;
    margin-bottom: 14px;
}

.purohit-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =====================================================
   PUROHIT CARD
===================================================== */
.purohit-card {
    width: 100%;
    max-width: 360px;
    min-height: 42px;
    padding: 8px 36px 8px 16px;
    margin-bottom: 8px;

    background-color: #e75710;
    color: #fff;

    border: 1px solid #ffee00;
    border-radius: 10px;

    text-align: center;
    cursor: pointer;
    position: relative;

    transition: background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.purohit-card:hover {
    background-color: #cc4c0d;
    transform: translateY(-2px);
}

.purohit-card::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
}

.purohit-card.active {
    background-color: #b9440a;
}

.purohit-card.active::after {
    content: "−";
}

.purohit-card:focus {
    outline: 2px solid #ffee00;
    outline-offset: 2px;
}

/* =====================================================
   INFO BOX – SMOOTH ANIMATION
===================================================== */
.purohit-info {
    width: 100%;
    max-width: 360px;

    /* Design */
    background-color: #fff8e1;
    border: 2px solid #7a0f0f;
    color: #7a0f0f;
    border-radius: 10px;
    padding: 11px;

    /* Hidden by default */
    display: none;
    margin: 0 auto;
    /* no space when closed */
}

/* Open state */
.purohit-info.active {
    display: block;
    margin-top: 6px;
    /* spacing only when open */
}

.purohit-photo-wrap img {
    margin: 0 auto 10px;
    width: 120px;
    border-radius: 10px;
    border: 2px solid #e75710;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .ps-contact-left,
    .contact-right,
    .purohit-sidebar {
        flex: 1 1 100%;
    }

    .purohit-card,
    .purohit-info {
        max-width: 100%;
    }
}

/* ================= BLOG PAGE WRAPPER ================= */
.blog-page {
    margin-top: 30px;
}

/* 2 Section Layout */
.blog-wrapper {
    display: flex;
    align-items: flex-start;
    /* top align both sides */
    gap: 30px;
    padding: 0 40px;
}

/* LEFT SECTION */
.blog-left-section {
    width: 70%;
}

/* RIGHT SECTION */
.blog-right-section {
    width: 30%;
    position: sticky;
    top: 20px;
}

/* Page Title */
.page-title {
    color: #7a0f0f;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ================= SEARCH BOX ================= */
.blog-search-box {
    padding: 15px;
    margin-bottom: 25px;
}

.blog-search-input {
    width: 50%;
    padding: 10px 15px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 14px;
}

/* ================= BLOG CARD ================= */
.blog-card {
    display: flex;
    gap: 20px;
    background: #fff8e1;
    border-radius: 10px;
    margin-right: 150px;
    padding: 20px;
    border: 1px solid #e3a23c;
    margin-bottom: 25px;
}

/* Blog Image */
.blog-image-wrapper {
    flex: 0 0 230px;
}

.blog-image {
    width: 350px;
    height: 190px;
    object-fit: cover;
    border-radius: 6px;
}

/* Blog Content */
.blog-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #7a0f0f;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #5c0c0c;
    margin-bottom: 12px;
}

/* Read More */
.read-more-btn {
    display: inline-block;
    background: #7a0f0f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.read-more-btn:hover {
    background: #5c0c0c;
}

/* ================= RIGHT PANDITJI (default for other pages) ================= */
.pandit-box {
    background: #fff8e1;
    padding: 15px;
    border-radius: 10px;

    /* Default 2-column layout for other pages */
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /* spacing between cards */
    justify-content: space-between;
}

.pandit-box .pandit-item.visiting-card-btn {
    width: 48%;
    /* two cards per row */
    max-width: none;
    /* remove any restriction */
    cursor: pointer;
    padding: 10px;
    text-align: center;
}

/* ================= BLOG PAGE SPECIFIC ================= */
.blog-pandit-single-row {
    display: flex;
    flex-direction: column;
    /* stack vertically */
    gap: 15px;
    /* spacing between cards */
    align-items: center;
    /* center cards in sidebar */
}

.blog-pandit-single-row .pandit-item.visiting-card-btn {
    width: 400px;
    /* long width to match info box */
    max-width: 100%;
    /* responsive */
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
}

/* ================= PANDIT INFO BOX ================= */
.pandit-info-box {
    background: #fff8e1;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 300px;
    /* match Panditji card width */
    max-width: 100%;
}

.pandit-info-box.hidden {
    display: none;
}

.pandit-info-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.pandit-info-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.pandit-info-details h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.pandit-info-details p {
    margin: 2px 0;
    font-size: 14px;
    color: #5c0c0c;
}

/* ================= VIEW ALL BUTTON ================= */
.view-all-btn {
    display: inline-block;
    background: #7a0f0f;
    color: #fff;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    /* spacing from last Panditji card */
}

.view-all-btn:hover {
    background: #5c0c0c;
}

/* ================= TABLET VIEW (1024px) ================= */
@media (max-width: 1024px) {

    .blog-wrapper {
        gap: 20px;
        padding: 0 20px;
    }

    .blog-left-section {
        width: 65%;
    }

    .blog-right-section {
        width: 35%;
        position: relative;
        /* remove sticky for better tablet flow */
        top: auto;
    }

    /* Blog Card Adjust */
    .blog-card {
        margin-right: 0;
        padding: 15px;
    }

    .blog-image {
        width: 250px;
        height: 170px;
    }

    .blog-search-input {
        width: 70%;
    }

    /* Pandit Cards */
    .blog-pandit-single-row .pandit-item.visiting-card-btn {
        width: 100%;
    }

    .pandit-info-box {
        width: 100%;
    }

    /* ================= MOBILE VIEW (768px) ================= */
    @media (max-width: 768px) {

        /* Stack Layout */
        .blog-wrapper {
            flex-direction: column;
            padding: 0 15px;
        }

        .blog-left-section,
        .blog-right-section {
            width: 100%;
        }

        /* Blog Cards Stack */
        .blog-card {
            flex-direction: column;
            margin-right: 0;
            padding: 15px;
        }

        .blog-image-wrapper {
            width: 100%;
        }

        .blog-image {
            width: 100%;
            height: 220px;
        }

        /* Search Full Width */
        .blog-search-input {
            width: 100%;
        }

        /* Pandit Section Moves Below */
        .blog-right-section {
            margin-top: 30px;
            position: relative;
            top: auto;
        }

        /* Pandit Cards Full Width */
        .blog-pandit-single-row {
            align-items: stretch;
        }

        .blog-pandit-single-row .pandit-item.visiting-card-btn {
            width: 100%;
        }

        .pandit-info-box {
            width: 100%;
        }

        /* View All Button Center */
        .view-all-btn {
            width: 100%;
            text-align: center;
        }
    }
}

/* ================= BLOG DETAILS PAGE ================= */
.blog-details {
    margin-top: 30px;
}

/* Two-column layout */
.blog-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 20px 20px;
}

/* ================= LEFT SECTION ================= */
.blog-left {
    border: 2px solid #7a0f0f;
    /* Maroon border */
    padding: 20px;
    /* Inner spacing */
    border-radius: 10px;
    /* Rounded corners */
    background: #fff8e1;
    /* Optional: light background to match Panditji cards */
    box-sizing: border-box;
    /* Ensure padding included in width */
}

.blog-left h1 {
    color: #7a0f0f;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-left img {
    width: 350px;
    height: 250px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.blog-left div {
    font-size: 15px;
    line-height: 1.8;
    color: #5c0c0c;
}

/* Back + Share Section */
.blog-left .d-flex {
    margin-top: 30px;
    padding-bottom: 20px;
    /* Added padding from bottom */
}

/* Back Button */
.back-btn {
    display: inline-block;
    background: #5a0a00;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 10px;
    height: 40px;
    /* Ensure same height as share button */
    line-height: 12px;
    text-align: center;
}

.back-btn:hover {
    background: #7a0f0f;
}

/* Share wrapper container */
.share-wrapper {
    display: inline-block;
    position: relative;
    height: 40px;
    /* Match back button height */
}

/* Share main button */
.share-btn {
    background: green;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 40px;
    font-size: 14px;
}

/* Share options dropdown */
.share-options {
    display: none;
    /* hidden by default */
    position: absolute;
    top: 110%;
    /* below button */
    left: 0;
    background: white;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    flex-direction: row;
    /* horizontal layout */
    gap: 5px;
    z-index: 10;
}

/* Individual social icon */
.share-options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
}

.share-options a.whatsapp {
    background: #25D366;
}

.share-options a.facebook {
    background: #1877F2;
}

.share-options a:hover {
    opacity: 0.8;
}



/* ================= MEDIA QUERIES ================= */

/* Tablet view: ≤1024px */
@media (max-width: 1024px) {
    .blog-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .blog-left,
    .pandit-right {
        flex: 1 1 100%;
        min-width: auto;
    }

    .blog-left img {
        max-width: 100%;
        height: auto;
    }
    /* Share wrapper & button full width */
    .share-wrapper {
        width: 100%;
        margin-top: 10px;
    }

    .share-btn {
        width: 16%;
        justify-content: center;
        font-size: 16px;
        height: 45px;
        padding: 0 10px;
    }

    /* Share options: horizontal and wrap if needed */
    .share-options {
        display: none; /* hidden by default, shown via JS */
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 5px;
    }

    .share-options a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* Right section: Panditji cards full width */
    .pandit-right {
        width: 100%;
    }

    .pandit-item.visiting-card-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Pandit info box: full width for tablet */
    .pandit-info-box {
        width: 100% !important;
        margin-top: 10px;
    }

}

/* Mobile view: ≤768px */
@media (max-width: 768px) {
    .blog-wrapper {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .blog-left,
    .pandit-right {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .blog-left img {
        width: 100%;
        height: auto;
    }

    .back-btn,
    .share-btn {
        width: 50%;
        /* full width buttons */
        justify-content: center;
    }

    .share-wrapper {
        margin-top: 10px;
    }

    .pandit-item.visiting-card-btn {
        width: 100%;
        /* each Panditji card full width */
    }

    .share-btn {
        width: 100%;
        /* Full width */
        justify-content: center;
        /* Center the icon + text */
        font-size: 16px;
        /* Slightly larger for touch devices */
        padding: 0 10px;
        /* Horizontal padding */
        height: 45px;
        /* Slightly taller for easier tap */
    }

    .share-wrapper {
        margin-top: 10px;
        /* spacing from back button */
    }

    /* Ensure share options appear horizontally but wrap if needed */
    .share-options {
        flex-wrap: wrap;
        /* wrap icons if too many */
        justify-content: flex-start;
    }
}
#debug-icon {
    display: none !important;
}
