/* MAIN CONTENT */
.set-containt {
    padding-left: 0;
    padding-right: 0;
    color: white;
    font-size: 17px;
    line-height: 1.5;
    text-align: justify;
}

/* Desktop padding */
@media (min-width: 992px) {
    .set-containt {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
/* ================= MOBILE PADDING FOR .set-containt ================= */
@media (max-width: 768px) {
    .set-containt {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ================= FLOAT RIGHT IMAGE ================= */
.abs-image-right img {
    float: right;
    width: 350px;
    height: auto;
    margin: 0 0 15px 20px;  /* spacing when image is right */
    border-radius: 10px;
}

/* ================= FLOAT LEFT IMAGE ================= */
.abs-image-left img {
    float: left;
    width: 350px;
    height: auto;
    margin: 15px 20px 15px 0;  /* spacing when image is left */
    border-radius: 10px;
}

/* ================= MOBILE FIX (ALL IMAGES CENTERED) ================= */
@media (max-width: 768px) {
    .abs-image-right img,
    .abs-image-left img {
        float: none !important;
        display: block;
        width: 100% !important;
        max-width: 450px;
        margin: 15px auto !important;
    }
}
/* Last image bigger (same as other main images) */
.abs-image-big img {
    width: 760px;   /* same width as other images */
    height: auto;
    border-radius: 10px;
    float: left;    /* or right if you want it right */
    margin: 28px 20px 15px 0;  /* spacing */
}

/* Mobile fix */
@media (max-width: 768px) {
    .abs-image-big img {
        float: none !important;
        display: block;
        width: 100% !important;
        max-width: 450px;
        margin: 15px auto !important;
    }
}
/* MOBILE: Image ALWAYS below text */
@media (max-width: 768px) {
    .set-containt {
        display: flex;
        flex-direction: column;
    }

    /* Send image div below text */
    .set-containt .abs-image-right,
    .set-containt .abs-image-left,
    .set-containt .abs-image-big {
        order: 2;
        width: 100%;
    }

    .set-containt .content-inner {
        order: 1;
        width: 100%;
    }
}

/* Basic Styling */
/* BODY */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
   background: linear-gradient(87deg, #ffae00ad, #ffef6f8c, #ffd129c9);
    background-size: cover;
    background-attachment: scroll;
    overflow-x: hidden !important; /* STOP horizontal scroll */
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* HTML + BODY SAFE RESET */
html, body {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important; /* 100% FIX FOR MOBILE */
    overflow-y: auto;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* UNIVERSAL FIX (Prevents any element from pushing sideways) */
* {
    box-sizing: border-box;
    /* max-width: 100%; */
}




/* Default desktop styles */
.title-home {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center;     /* vertical center */
    height: 100%;            /* or a specific height */
    font-size: 32px;
}

.title-home p {
    margin: 1rem;
    color: #BF0000;
    font-weight: bold;
}

/* Mobile view */
@media (max-width: 768px) {
    .title-home {
        font-size: 16px; /* smaller font for mobile */
    }
}


header {
     
    padding: 0px 0px;
   
}
.decorative-hr {
    position: relative;
    width: 100%;
    height: 4px; /* line thickness */
    background-color: #BF0000; /* line color */
   
}


 .decorative-hr {
    display: flex;
    align-items: center;
    justify-content: center;
   
    margin: 20px 0;
}

.decorative-hr .hr-line {
    height: 6px;
    
    flex: 1;
}

.decorative-hr .hr-dots {
    display: flex;
    align-items: center;
    
}

.decorative-hr .hr-dots span {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
       background: radial-gradient(#FFE000, #FF4000);
}

.decorative-hr .hr-dots .big {
    width: 45px;
    height: 45px;
}
/* Navbar Styles */
.custom-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 60px;
   
}

/* Left: Logo */
.nav-left {
    flex: 1;
}
.nav-logo {
    width: 35px;
}

/* Center: Menu */
.nav-center {
    flex: 4;
    display: flex;
    justify-content: center;
  
}

/* Right: Languages */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* Hide the menu toggle button by default */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: rem;
    right:-20rem
}

/* Navigation Menu */
.custom-navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  
}

.custom-navbar li {
    display: inline-block;
    font-size: 14px;
}

/* Style for top menu tabs */
.custom-navbar a,
.custom-navbar .dropdown > a {
    background: #ff5100;         /* orange */
    color: #fff;                 /* white text */
    padding: 10px 18px;
    border-radius: 50px;         /* pill shape */
    font-weight: 600;
    display: inline-block;
    transition: 0.3s ease;
}

/* Hover effect */


/* Dropdown container fix */
.dropdown {
    position: relative;
}




/* Hover effect */

/* Show dropdown when clicking */
.dropdown.show .dropdown-content {
    display: block;
}


@media (width: 720px) {
    .menu-toggle {
        position: absolute;
        left: 17rem; /* Adjust as needed */
       
    }
}
@media (width: 344px) {
    .menu-toggle {
        position: absolute;
        right: -14rem; /* Adjust as needed */
       
    }
    .logo img {
        margin-left: -7px;
    }
}

@media (width: 768px) {
    .menu-toggle {
        position: absolute;
        left: 17rem; /* Adjust as needed */
       
    }
    /* .sl{
        
        margin-right: 30rem;
    } */

}


/* Banner Container */
.comman-bg-body {
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 20px 0; */
}

/* Banner Styling */
.container-banner {
    width: 100%;
    height: 282px;
    background: radial-gradient(circle at center, #fbf89c 39%, #d8a335);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}




/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container-banner {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .logo img {
        max-width: 120px;
    }

    .banner .title {
        font-size: 22px;
    }
}


/* @media screen and (max-width: 768px) {
    .set-containt{
        font-size: 18px; 
        line-height: 1.6; 
    }
} */



/* Default: Hide close button on desktop */
.close-menu {
    display: none;
}
.menu-logo{
    display: none;
}


.menu-toggle, .close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

#nav-menu {
    list-style: none;
    padding: 0;
}

#nav-menu li {
    display: inline-block;
    margin: 0 10px;
}

#nav-menu a {
    color: white;
    text-decoration: none;
        font-size: 16px;
    font-weight: normal;
    /* padding: 10px; */
}



p {
    color: black;
}

.row-banner {
    display: flex;
    align-items: center; /* Aligns items vertically */
    justify-content: center; /* Centers everything */
    width: 100%;
    position: relative;
}

.banner {
    text-align: center;
    flex-grow: 1; /* Ensures H1 stays centered */
}

.title {
    font-size: 40px;
    font-weight: bold;
    /*margin: 0 auto;*/
    margin-right:-40px;
}

.logo {
    position: absolute;
    left: 0; /* Moves logo to the left */
    max-width: 150px;
    height: auto;
    margin-left: 20rem; /* Adjust spacing if needed */
    flex-shrink: 0;
}

/* .logo img {
    max-width: 150px; 
    height: auto;
} */

@media screen and (max-width: 768px) {
    .logo {
        display: flex;
        justify-content: flex-start; /* Align to the left */
        margin-left: 5px; /* Adjust spacing from the left */
    }

    .logo img {
        max-width: 50px; /* Adjust size for mobile */
        height: auto;
    }
}
.color-text{
    font-size: 10px;
}
.pp{
    font-size: 10px;
    margin-left:6rem;
}



@media screen and (max-width: 375px) {
    .logo {
        display: flex;
        justify-content: flex-start; /* Align to the left */
        margin-left: 1px; /* Adjust spacing from the left */
    }

    .logo img {
        max-width: 50px; /* Adjust size for mobile */
        height: auto;
    }
}
@media screen and (max-width: 360px) {
    .logo {
        display: flex;
        justify-content: flex-start; /* Align to the left */
        margin-left: -8px; /* Adjust spacing from the left */
    }

    .logo img {
        max-width: 50px; /* Adjust size for mobile */
        height: auto;
    }
}

@media screen and (max-width: 1180px) {
    .logo {
        display: flex;
        justify-content: flex-start; /* Align to the left */
        margin-left: -5px; /* Adjust spacing from the left */
    }

    .logo img {
        max-width: 50px; /* Adjust size for mobile */
        height: auto;
    }
}

.text{
    color: #f5f5f5;
}

/* Dropdown wrapper */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown box */
.dropdown-content {
    display: none;
    position: absolute;
    width: 220px;
    
    padding: -4px;        /* space inside box */
    
    margin-top: 8px;
    z-index: 999;
}

/* Each item in dropdown */
.dropdown-content a {
    display: block;
    padding: 10px 14px;
    margin-bottom: 6px;     /* spacing between items */

    color: #fff !important;
    border-radius: 50px;     /* rounded each link */
    text-decoration: none;
    transition: 0.2s ease;
    font-size: 16px;
    font-weight: normal;
}

/* Last item should not have margin-bottom */
.dropdown-content a:last-child {
    margin-bottom: 0;
}


/* Show dropdown on hover */


   /* Show list in horizontal row on mobile screens */
@media (max-width: 768px) {
    .list {
        display: flex !important; /* Ensures the list is visible */
        flex-direction: row; /* Keeps items in a horizontal row */
        justify-content: center; /* Centers items horizontally */
        align-items: center; /* Aligns items in the middle */
       
        list-style: none; /* Removes default bullet points */
        padding: 0;
        margin: 0;
        white-space: nowrap; /* Prevents breaking into new lines */
    }

    .list li {
        display: inline-block; /* Ensures items are inline */
    }

    .list li a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        font-size: 16px; /* Adjust font size */
        display: inline-block;
        text-decoration: underline; /* Apply underline */
    }

    .list li:not(:last-child)::after {
        content: " | "; /* Adds a vertical separator */
        
        color: white; /* Set color of separator */
        font-weight: bold;
        display: inline-block;
    }
}


@media (width: 1280px), 
       (width: 1024px), 
       (width: 820px),
       (width: 912px),
       (width: 853px),
       (width: 912px)  {
    .language-list {
        margin-right: -10px !important;
    }
}

/* /////for laptop */
@media (max-width: 1605px)
       
        {
    .language-list {
        margin-right: -7px !important;
    }
}

@media (max-width: 1366px),
(max-width: 1440px),
        (max-width: 1080px),
        (max-width: 1920px)
       
        {
    .language-list {
        margin-right: -7px !important;
    }
}
@media (max-width: 1808px)
       
        {
    .language-list {
        margin-right: -8px !important;
    }
}

.no-style-link {
    color: white;  /* Keeps the text color unchanged */
    text-decoration: none;  /* Removes underline */
}


/* === MOBILE SIDEBAR STYLES === */
@media screen and (max-width: 768px) {
    /* Toggle Button */
    .menu-toggle {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: black;
        cursor: pointer;
        position: absolute;
        top: 12px;
        left: 15px;
        z-index: 1001;
        transition: opacity 0.3s ease-in-out;
    }
    .custom-navbar a {
        background-color: transparent !important; /* Removes background */
    }

    /* Hide toggle button when sidebar is open */
    .menu-toggle.hidden {
        display: none;
    }

#nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    border-radius: 40px; 
    /* Background image */
    background-image: url('<?= base_url("public/assets/images/mukut-trimbak.webp"); ?>');
    background-size: cover;       /* cover entire menu */
    background-position: center;  /* center the image */
    background-repeat: no-repeat; /* prevent repeating */
    
    /* fallback color if image doesn't load */
    background-color: #490000 !important;

    display: flex;
    flex-direction: column;
    align-items: center; /* Center menu items */
    justify-content: start;
    padding-top: 60px;
    z-index: 1002;
    transition: left 0.3s ease-in-out;
    overflow-y: auto; /* Allow vertical scrolling if content exceeds the viewport */
}


    /* Ensure menu shows when active */
    #nav-menu.active {
        left: 0;
    }

    .sidebar-logo {
        width: 10%;
        height: auto;
        display: block !important;
      
    }
    #nav-menu li {
        list-style: none;
        width: 80%;
        text-align: left;
        position: relative;
        margin-left:-1rem;
    }

    #nav-menu li a {
        color: white;
        text-decoration: none;
        font-size: 17px;
        display: block;
        border-bottom: 1px solid rgb(252, 73, 2);
        border-radius: 1px;
 
    }

    /* Dropdown */
    .dropdown-content {
        display: none; /* Initially hidden */
        position: relative;
        width: 100%;
        text-align: left;
        /* background-color: #a01200; */
        margin-top: 5px; /* Space between dropdown and link */
        box-sizing: border-box;
        padding: 5px 0;
    }

    .dropdown-content a {
        display: block;
        text-decoration: none;
        /* background-color: #9f2a00; */
        color: white;
        padding: 10px;
        width: 100%; /* Ensure the dropdown items take full width */
    }

    /* Toggle dropdown visibility */
    .dropdown.active .dropdown-content {
        display: block;
    }

    /* Hide dropdown button */
    .dropbtn {
        display: none !important;
    }

    /* Close Button (X) */
    .close-menu {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        display: block; /* Ensure visibility */
        z-index: 1003;
    }

    /* Sidebar should show the close button when active */
    #nav-menu.active .close-menu {
        display: block !important;
    }

    #nav-menu li::after,
    .dropdown-content a::after {
        content: none !important;
    }
}



/* MOBILE VIEW LANGUAGE SELECTOR STYLE */
@media (max-width: 768px) {
    .language-selector.nav-right li a {
        background: #ff6b00 !important; /* orange */
        color: #fff !important;
        padding: 8px 16px;
        border-radius: 50px; /* rounded pill */
        font-size: 14px;
        font-weight: bold;
        display: inline-block;
    }

    .language-selector.nav-right {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10px;
    }
}

.h2text{
    font-size: 25px;
    color: #bc0000;
    margin-bottom: -15px;
}
.ultext{
    color: black;
}
.h3text{
    font-size: 22px;
    color: #bc0000;
    font-weight: bold;
    /* margin-bottom: 2px; */
}
.h4text{
    font-size: 20px;
    color: #bc0000;
    font-weight: bold;
    /* margin-bottom: 2px; */
}
a.text-white {
    color: #bc0000;
    text-decoration: none !important;
}

.dektopimg{
    margin-top: -3rem;
}


@media screen and (max-width: 768px) {
    .desktop-break {
        display: none;
    }
    .dektopimg {
        margin-top: 0 !important; /* Reset margin in mobile view */
    }
    .ultext{
        margin-left: -2rem;
    }
    
}

@media (width: 820px), 
       (width: 853px), 
       (width: 912px),
       (width: 1024px),
       (width: 1280px){
    .dektopimg {
        margin-bottom: -3rem !important;
    }
}
@media (width: 375px), 
       (width: 390px), 
       (width: 344px){
    .dektopimg {
        margin-right: -0.6rem !important;
    }
}


@media  (width: 1280px){
    .logo {
        margin-left: 6rem !important;
    }
}
@media (width: 360px){
    .dektopimg {
        margin-right: -1rem !important;
    }
}

@media (max-width: 768px) {
    .h2text {
        font-size: 17px; /* Adjust h2 font size for mobile */
    }
    
     .h3text {
        font-size: 16px; 
    }
    .h4text{
        font-size: 17px; 
    }
}
.newclass{
    margin-top: -18px;
}

/* 31-03-25 */


@media (max-width: 768px) { /* Mobile screen adjustment */
    .textup {
        margin-top: 2px;
    }
   

    .textpuja {
        margin-top: -4rem;
    }

    .textp {
        margin-top: -3rem;
    }
    .text_pset {
        margin-top: -2.5rem;
    }
     .text_new {
            margin-top:-0.5rem;
     }
    
}
 
@media (min-width: 769px) {
  .textpp {
    margin-top: -2rem;
  }
}

@media (max-width: 768px) { /* Mobile screen adjustment */
    .tp {
       margin-left: 2rem;
    }
    .lp{
        margin-left: -1rem;
    }
    
}



@media (max-width: 1366px),
(max-width: 1440px),
        (max-width: 1080px)
        {
            .dektopimg{
                margin-top: -3rem;
            }
}

@media (max-width: 1366px),
(max-width: 1440px),
        (max-width: 1080px)
        {
            .laptop-break {
                display: inline;
            }
            .desktop-break{
                display: none !important;
            }
        
}
/* @media screen and (max-width: 768px) {
    .set-containt {
        font-size: 16px;
    }
} */


.laptop-break{
    display: none !important;
}








@media only screen and (max-width: 768px) {
    .cc {
        margin-left:2rem; /* Adjust the value as needed */
    }
}

#online-puja-dropdown .dropdown-content {
    display: none;
}
#online-puja-dropdown.active .dropdown-content {
    display: block;
}


.container-banner {
    text-align: center;
    margin-bottom: 20px;
}

.row-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logo.lp {
    margin-bottom: 20px;
}

.banner .title.tp {
    font-weight: bold;
    color: #333;
    margin: 0;
}



/* MOBILE: Always show puja list inside sidebar */
@media (max-width: 768px) {
    #online-puja-dropdown .dropdown-content {
        display: block !important;
        position: relative;
        background: transparent;
        box-shadow: none;
        margin-top: 5px;
        padding-left: 15px; /* indent items nicely */
    }

    #online-puja-dropdown > a {
        pointer-events: none;  /* disable clicking */
    }
}
/* @media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block !important;
    }
} */

/* MAIN FOOTER WRAPPER */
.footer-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 60px;
    border-top: 6px solid #a80000;      /* TOP RED BORDER */
    border-bottom: none !important;     /* REMOVE OLD BOTTOM BORDER */
    color: black;
}

/* RED LINE BETWEEN PUJA LINKS & PRIVACY POLICY */
.footer-end-hr {
    width: 100%;
    border-bottom: 6px solid #a80000;
    margin: 20px 0 10px 0;               /* spacing */
}

/* LEFT — ORANGE BUTTON MENU */
.footer-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-left {
    padding-left: 10rem;
}
.footer-left li {
    background: #ff5100;
    color: white;
    padding: 8px 30px;
    font-size: 18px;
    margin: 15px 0;
    border-radius: 40px;
    font-weight: bold;
    width: fit-content;
    text-align: center;
}
.footer-left li a {
    color: white;
    text-decoration: none;
}

/* CENTER — ADDRESS TEXT */
.footer-center {
    width: 40%;
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    padding-left: 11rem;
}

/* RIGHT — CONTACT + SOCIAL ICONS */
.footer-right {
    text-align: start;
    padding-right: 15rem;
}
.footer-right span {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}
.footer-right i {
    color: #c10000;
    margin-right: 5px;
}
.footer-right .social-icons {
    margin: 18px 0;
}
.footer-right .social-icons a {
    font-size: 32px;
    margin: 0 8px;
    color: #ff0000;
}

/* LOGIN BUTTON */
.login-btn {
    background: #28a745;
    color: white;
       padding: 7px 28px;
    border-radius: 40px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
     text-decoration: none;
}


/* PUJA LINKS */
.footer-puja-links {
    margin: -19px auto;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #b10000;
    
}
.footer-puja-links a {
    color: #b10000;
    text-decoration: none;
}
.footer-puja-links a:hover {
    text-decoration: underline;
}
.pipe {
    margin: 0 8px;
    font-weight: bold;
    color: #b10000;
}
/* 🔥 MOBILE RESPONSIVE FOOTER FIX */
@media (max-width: 768px) {

    .footer-new {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    /* LEFT COLUMN */
    .footer-left {
        padding-left: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    .footer-left ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-left li {
        width: 80%;
        padding: 10px 0;
        margin: 10px 0;
        font-size: 16px;
    }

    /* CENTER COLUMN */
    .footer-center {
        width: 100%;
        padding-left: 0;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 24px;
    }

    /* RIGHT COLUMN */
    .footer-right {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }
    .footer-right span {
        font-size: 16px;
    }
    .footer-right .social-icons a {
        font-size: 28px;
        margin: 0 6px;
    }

    .login-btn {
        width: 60%;
        padding: 10px 0;
        font-size: 18px;
    }

    /* PUJA LINKS MOBILE */
    .footer-puja-links {
        font-size: 12px;
        line-height: 16px;
        width: 90%;
        margin: -10px auto;
    }

    /* RED LINE */
    .footer-end-hr {
        margin: 15px 0;
    }

    /* PRIVACY POLICY */
    .privacy-policy p {
        font-size: 9px !important;
        padding: 0 10px;
    }
}

/*  SUPER SMALL SCREENS (max-width: 480px) */
@media (max-width: 480px) {
    .footer-left li {
        width: 100%;
        font-size: 15px;
    }

    .footer-right span {
        font-size: 14px;
    }

    .login-btn {
        width: 80%;
    }

    .footer-puja-links {
        font-size: 11px;
    }
}
/*  MOBILE: UL → INLINE LINK FORMAT */
@media (max-width: 768px) {

    .footer-left ul {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
  
        flex-wrap: wrap;
    }

    .footer-left li {
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        font-size: 16px !important;
        font-weight: normal !important;
        width: auto !important;
        color: #b10000 !important;
    }

    .footer-left li a {
        color: #b10000 !important;
        font-weight: bold;
        text-decoration: none;
    }

    /* Add vertical line between items */
    .footer-left li::after {
        content: " | ";
        margin: 0 5px;
        color: #b10000;
        font-weight: bold;
    }

    /* Remove last separator */
    .footer-left li:last-child::after {
        content: "";
    }
}
/* MOBILE: Address Left & Right */
@media (max-width: 768px) {

    .footer-center {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 10px !important;
        text-align: left !important;
    }

    .footer-center p {
        width: 50% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 18px !important;
        white-space: normal !important; /* allow 2nd line wrap */
    }
}
/* MOBILE: Social icons + Login button in one line */
@media (max-width: 768px) {

    .footer-right {
        width: 100% !important;
        text-align: center !important;
    }

    .footer-right .social-icons,
    .footer-right .login-btn {
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .footer-right .social-icons {
        margin: 10px 10px 0 0 !important;
    }

    .footer-right .login-btn {
        padding: 10px 20px !important;
        font-size: 16px !important;
        width: auto !important;  /* Prevent full width */
        margin-left: 10px !important;
    }
}



/* Grid container */
.pandit-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(353px, 0fr));
    gap: 15px;
    padding: 10px;
    justify-content: center;
}
/* Mobile (1 Card) */
@media (max-width: 768px) {
    .pandit-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* SHOW ONLY 4 CARDS ON MOBILE */
@media (max-width: 768px) {
    .pandit-card-wrapper:nth-child(n+5) {
        display: none !important;
    }

    .pandit-container {
        grid-template-columns: 1fr !important; /* 1 card per row */
    }
}

.pandit-card-wrapper {
    width: 100%;
}

.home-pandit-card {
    background-color: #fff8dc;
    border: 2px solid #ffa500;
    border-radius: 25px;
    padding: 10px;
    transition: transform 0.2s;
}

/* Card header */
.card-header {
    font-size: 12px;
    color: #a33;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

/* Pandit info */
.pandit-info {
    display: flex;
    gap: 44px;
    align-items: center;
}

.pandit-info img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.text-info {
    font-size: 13px;
}

/* Card buttons */
.card-buttons {
    display: flex;
    gap: 44px;
    margin-top: 10px;
    justify-content: center;
}

.card-buttons a {
    color: white;
    padding: 5px 3px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.2s;
}

/* Phone & Book Now stay normal */
.card-buttons a:not(.whatsapp) {
    background-color: #008000;
}

/* FINAL WhatsApp button — DOES NOT affect other buttons */
.card-buttons a.whatsapp {
    background: none !important;
    padding: 0 !important;
}

.card-buttons a.whatsapp i {
    font-size: 28px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #25D366;
}

/* Search box top-right */
.pandit-search-box {
    width: 100%;
    text-align: right;
    padding: 0 15px 10px 0;
}

.pandit-search-box input {
    width: 260px;
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #ffa500;
    border-radius: 6px;
    outline: none;
}

.pandit-search-box input:focus {
    border-color: #ff7b00;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .pandit-search-box {
        text-align: center;
        padding: 0 0 15px 0;
    }
    
    .pandit-search-box input {
        width: 100%;
        max-width: 330px;
    }
}

.text-info p {
    margin: 2px 0 !important; /* reduce vertical spacing */
    line-height: 1.2; /* tighter line spacing */
}



/* pandit details page css */


/* Main Container */
.pandit-profile-card {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background: #fff8c4;
    border: 2px solid orange;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
 
    font-family: Arial, sans-serif;
}

/* Left Section */
.pandit-left {
    flex: 1 1 45%;
    min-width: 250px;
}

.pandit-left iframe {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
}

.pandit-left p {
    margin: 5px 0;
}

.pandit-left a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: green;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

/* Right Section */
.pandit-right {
    flex: 1 1 45%;
    min-width: 250px;
}

.pandit-right p {
    text-align: center;
    font-weight: bold;
}

.pandit-right ul {
    list-style: none;
  text-align: center;
    color: darkred;
    margin: 10px 0;
    line-height: 1.5;
}

.pandit-right hr {
    border-color: darkred;
    margin: 10px 0;
}

.pandit-right a.location-link {
    color: green;
    font-weight: bold;
    text-decoration: none;
}

.pandit-right .actions {
    text-align: center;
    margin-top: 10px;
}

.pandit-right .actions a {
    display: inline-block;
    text-decoration: none;
}

.pandit-right .actions a.wa-link {
    margin-right: 147px;
       padding: 7px 11px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 26px;
}
/* Tablet / Mobile */
@media (max-width: 768px) {
    .pandit-right .actions a.wa-link {
        margin-right: 10px; /* smaller gap */
    }
}

@media (max-width: 480px) {
    .pandit-right .actions a.wa-link {
        margin-right: 10; /* center or full width */
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
.pandit-right .actions a.book-now {
    padding: 10px 20px;
    background: green;
    color: white;
    border-radius: 5px;
    font-size: 15px;
}

/* Share Profile Button */
.share-profile-wrapper {
    text-align: center;
    margin-top: 15px;
    position: relative;
    margin-bottom: 2rem;
}

.share-profile {
    display: inline-block;
    position: relative;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    color: white;
}


/* Social icons hidden by default */
.social-icons {
    position: absolute;
    right: -90px; /* move to the right of the button */
    top: 50%; /* vertically center */
    transform: translateY(-50%);
    display: flex;
    flex-direction: row; /* horizontal row */
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

/* Each social icon */
.social-icons a {
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-size: 16px;
    text-decoration: none;
    color: white;
}

/* WhatsApp and Facebook colors */
.social-icons a:nth-child(1) {
    background-color: #25D366; /* WhatsApp green */
}

.social-icons a:nth-child(2) {
    background-color: #1877F2; /* Facebook blue */
}

/* Show icons on hover of button */
.share-profile:hover .social-icons,
.share-profile:focus-within .social-icons {
    opacity: 1;
    visibility: visible;
}


/* Desktop: contact button below name/age/experience in left */
.contact-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: green;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

/* Hide the mobile contact in desktop view */
.mobile-contact-btn {
    display: none !important;
}
/* MOBILE VIEW */
@media (max-width: 600px) {
    .pandit-profile-card {
        flex-direction: column;
               margin-left: 1rem;
        margin-right: 1rem;
    }

    .pandit-left, .pandit-right {
        flex: 1 1 100%;
    }

    /* Hide desktop contact button in mobile */
    .pandit-left .contact-btn {
        display: none;
    }

    /* Show contact in actions row in mobile */
    .mobile-contact-btn {
        display: inline-block !important;
        background: green;
        color: #fff;
        border-radius: 5px;
        padding: 10px 15px;
        text-decoration: none;
    }

      .pandit-right .actions {
        display: flex !important;      /* flex row */
        justify-content: center;       /* center horizontally */
        align-items: center;           /* vertically align */
        gap: 10px;                     /* spacing between buttons */
        flex-wrap: nowrap;             /* prevent wrapping */
    }

    .pandit-right .actions a {
        display: inline-flex;          /* keep inline and flex for icons */
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .pandit-right .actions a.wa-link {
        width: 40px;                   /* uniform size */
        height: 40px;
        font-size: 24px;
        padding: 11;                    /* remove extra padding */
        border-radius: 50%;
    }

    .pandit-right .actions a.book-now,
    .pandit-right .actions a.mobile-contact-btn {
        padding: 8px 12px;             /* reduce size to fit one line */
    }

    .pandit-left p, 
    .pandit-left a {
        text-align: center; /* Center text and link */
    }
}

/* Fixed Puja list height with vertical scroll */
.pandit-right .puja-list {
    height: 143px;        /* Fixed height for 6 items (adjust as needed) */
    overflow-y: auto;     /* Scroll if items exceed height */
    padding-left: 0;
    margin: 10px 0;
    text-align: center;
    list-style: none;
    box-sizing: border-box; /* Ensure padding doesn't increase height */
}

.pandit-left iframe {
    width: 283px;      /* fixed width, adjust as needed */
    height: 190px;     /* maintain 16:9 ratio */
  
    display: block;
    margin: 0 auto 15px 1; /* center it */
}

/* Mobile view: center iframe and make it responsive if needed */
@media (max-width: 600px) {
    .pandit-left iframe {
        width: 100%;       /* fill container */
       
        height: auto;      /* keep aspect ratio */
    }
}
.sharep {
    padding: 10px 20px;
    background-color: #28a745; /* green background */
    color: white;              /* text color */
    border-radius: 50px;       /* rounded button */
    
}
/* Keep the wrapper as flex always */
.tamrapatra-wrapper {
    display: flex;
    align-items: flex-start; /* text starts at top of image */
    gap: 15px;
    max-width: 1708px;
    margin-left: 4rem;
}

/* Image */
.tamrapatra-image img {
    width: 128px; /* smaller width for mobile */
    height: 128px;
    border-radius: 5px;
}

/* Text */
.tamrapatra-text {
    flex: 1;
    text-align: justify;
    font-size: 16px;
}

/* MOBILE */
@media (max-width: 768px) {
    .tamrapatra-wrapper {
        flex-direction: row; /* keep row, not column */
        align-items: flex-start;
        margin-left: 1rem; 
        margin-right: 1rem;
    }

    .tamrapatra-image img {
        width: 80px; /* shrink image */
        height: 80px;
    }

    .tamrapatra-text {
        font-size: 15px;
    }
}

.carousel-container {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1067px; /* 4 images * 250px approx */
}

/* Wrapper */
.carousel-inner {
    width: 100%;
}

/* Track */
.carousel-track {
    display: flex;
    gap: 15px;
    transition: transform 0.4s ease-in-out;
}

/* Items */
.carousel-item img {
        width: 252px;
    height: 252px;
    object-fit: cover; /* ensures image fills square without distortion */
    border-radius: 10px;
}

/* MOBILE */


/* Arrows */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 28px;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.arrow.left { left: -10px; }
.arrow.right { right: -10px; }

/* MOBILE */
@media (max-width: 600px) {

    .carousel-container {
        max-width: 100%;
        padding: 10px 0;
    }

    .carousel-track {
        gap: 0;                 /* IMPORTANT */
    }

    .carousel-item {
        flex: 0 0 100%;         /* 1 image per slide */
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .carousel-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
    }

    .arrow.left { left: 5px; }
    .arrow.right { right: 5px; }
}





/* End teh puaj detals css */

/* start the puja booking form css */
  .appointment-box {
    width: 90%;
    max-width: 574px;
    margin: 0 auto;
    background: #fff3b0;
    border: 8px solid #ff8c00;
    border-radius: 20px;
    padding: 25px;
    position: relative;
        margin-bottom: 2rem;
}

.id-code {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.appointment-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pandit-info-booking {
    width: 30%;
}

.pandit-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.pandit-details {
    width: 70%;
    font-size: 17px;
    line-height: 0.5;
        margin-left: 4rem;
}

.divider {
    width: 57%;
    border-top: 2px solid red;
    margin: 10px 0 23px 0;
    position: relative;
    margin-left: 13rem;
    margin-top: 0rem;
}

.diamond {
    width: 15px;
    height: 15px;
    background: orange;
    transform: rotate(45deg);
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -7px;
}

.form-side {
    width: 100%;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.form-group label {
    width: 35%;
    font-weight: bold;
    font-size: 15px;
}

.form-group input,
.form-group select {
    width: 65%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid gray;
    font-size: 16px;
}

.otp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 65%;
}

.otp-btn {
    background: green;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    white-space: nowrap;
}

.submit-btn {
    background: green;
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 8px;
    display: block;
    margin: 20px auto 0;
}

@media(max-width: 768px){
    .appointment-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pandit-info-booking {
        width: 100%;
    }

    .pandit-img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block;
    }

    .pandit-details {
        width: 100%;
    
        font-size: 16px;
       
        text-align: start;
        margin-left: 4rem;
    }

    .divider {
        width: 80%;
        margin: 20px auto;
        margin-top: 10px;
        margin-left: auto;
    }

    .form-side {
        width: 100%;
        margin-top: 10px;
    }

    .form-group label {
        width: 40%;
        font-size: 14px;
    }

    .form-group input,
    .form-group select {
        width: 60%;
    }
}
@media(max-width: 768px){

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .form-group label {
        width: 100%;
        margin-bottom: 5px;
        text-align: left;
    }

    .form-group input,
    .form-group select {
        width: 100%;
    }

    .otp-row {
        width: 100%;
        flex-direction: row;
    }

    .form-group div {
        width: 100%;
    }
}

@media(max-width: 768px){
    .id-code {
        text-align: center;
        width: 100%;
    }
}
@media(max-width: 768px){
    #pujaSelect {
        width: 100% !important;
        box-sizing: border-box;
    }

    .form-group > div {
        width: 100% !important;
    }

    .form-group {
        width: 100% !important;
    }
}
.ui-datepicker .highlight-date a {
    background: orange !important;
    color: white !important;
    border-radius: 50% !important;
}
.ui-datepicker {
    z-index: 9999 !important;
}
.otp-btn:disabled {
    background: gray !important;
    cursor: not-allowed;
    opacity: 0.6;
}
.otp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%; /* take full width of wrapper */
}

#otpMessage {
    display: block;
    margin-top: 5px;
}

.home-pandit-card a,
.home-pandit-card a * {
    text-decoration: none !important;

}

.home-pandit-card a:hover {
    text-decoration: none; /* prevents underline on hover too */
}



 .faq-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 20px;
        margin-bottom: 1rem;
}

.faq-column {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #d03c00; /* SAME ORANGE-RED HEADING LIKE IMAGE */
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    background: #c23800;
    padding: 12px 15px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.faq-answer {
    background: #fff;
    padding: 12px 15px;
    color: #000;
    font-size: 16px;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .faq-wrapper {
        flex-direction: column;
    }
    .faq-column {
        width: 100%;
    }
}

/* satrt ridrabhish mantra css */
 .mantra-two-col {
    column-count: 2;
    column-gap: 40px;
    text-align: center;
}

.mantra-two-col p {
    margin-bottom: 15px;
    break-inside: avoid; /* prevents paragraph breaking */
    font-size: 18px;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mantra-two-col {
        column-count: 1;
    }
}
/* end ridrabhish mantra css */

/* Satrt Css contact from */

.contact-form-container {
    max-width: 650px;
    margin: 2rem auto;
    
    border-radius: 10px;
    font-family: Arial, sans-serif;
}

/* Heading */
.contact-form-container h1 {
    text-align: center;
    color: #d63000;
    margin-bottom: 1rem;
    font-size: 28px;
}

.contact-form-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: #444;
    font-size: 16px;
}

/* Make form vertical — label on top */
.contact-form .form-group {
    margin-bottom: 1.2rem;
    display: block;
}

.contact-form label {
    display: block;          /* Forces label above input */
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #bbb;
    font-size: 15px;
    box-sizing: border-box;
}


/* Message box */
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button */
.contact-form .submit-btn {
    display: block;
    margin: 20px auto 0 auto;
    width: 200px;
    padding: 12px 0;
    background: #2ecc71;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form .submit-btn:hover {
    background: #27ae60;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
         margin-top: -1rem;
    }
}
/* End Css contact from */


.aarti-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.aarti-left,
.aarti-right {
    width: 50%;
}

@media(max-width: 768px) {
    .aarti-container {
        flex-direction: column;
    }
    .aarti-left,
    .aarti-right {
        width: 100%;
    }
}


/* Start Review Section Styles */


/* Remove column stacking on mobile */
@media (max-width: 600px) {
    .review-section_new .form-row {
        flex-direction: row; /* Keep them in one line */
    }

    .review-section_new .form-row .form-group {
        flex: 1; /* equal width */
    }
}
/* Full section */
.review-list-section {
    padding-left: 4rem;
    padding-right: 4rem;
}

/* MOBILE VIEW */
@media (max-width: 600px) {
    .review-list-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* Reviews wrapper */
.reviews-wrapper {
    max-width: 1200px;
    margin-top: 10px;
}

/* Each review */
.single-review {
    
    color: #bc0000; 
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

/* Name + Icon row */
.devotee-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #bc0000;
}

/* Red circular user icon */
.icon-circle {
    width: 32px;
    height: 32px;
    background: #bc0000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

/* Date below name, aligned like screenshot */
.review-date {
    margin-left: 42px;
    margin-top: -1rem;
    font-size: 13px;
    color: #bc0000;
}

/* Puja Name (bold line below date) */
.review-puja {
    margin-top: -17px;
    font-size: 16px;
    font-weight: bold;
    color: #bc0000;
}

/* Review text */
.review-text {
    font-size: 16px;
    margin-top: -16px;
    color: #bc0000;
}
h2 {
    /* text-align: center; */
   font-size: 32px;
   color: #bc0000;
}
/* Top Heading */
.flash-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: bold;
    z-index: 9999;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.flash-message.success {
    background: #2e7d32;
    color: #fff;
}

.flash-message.error {
    background: #c62828;
    color: #fff;
}

/* end Review Section Styles */



/* FIX MAIN TWO COLUMN LAYOUT */
.articles-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* LEFT CONTENT FIXED WIDTH (default for all screens) */
.articles-left {
    width: 70%;
    margin-left: 0; /* reset for mobile */
}

/* APPLY margin-left ONLY on desktop */
@media (min-width: 1024px) {
    .articles-left {
        margin-left: 10rem !important;
    }
}

/* RIGHT SIDEBAR FIXED WIDTH */
.pandit-right {
    width: 30%;
    position: sticky;
    top: 20px;
}

/* ARTICLE DESCRIPTION (FORMAT FIX) */
.article-description_article {
    white-space: normal !important;
    font-size: 16px;
    line-height: 1.6 !important;   /* FIX line spacing */
    overflow: hidden;
}

.article-description_article p {
    margin: 6px 0 !important;  /* FIX paragraph spacing */
}


/* HEADINGS STYLING */
.article-description_article h2,
.article-description_article h3 {
    /* margin: 1px 0 -47px; */
      margin: 1px 0 -11px;
    color: #5a0a00;
    font-weight: bold;
}
/* REMOVE FIXED HEIGHT / EMPTY SPACE */
.articles-list {
    min-height: auto !important;
    height: auto !important;
}

/* ARTICLE CARD AUTO HEIGHT */
.article-card {
    height: auto !important;
    min-height: auto !important;
    display: block;
}

/* REMOVE divider last extra gap */
.article-divider:last-child {
    display: none;
}


/* READ MORE BUTTON */
.read-more {
    color: #a80000;
    cursor: pointer;
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
}

/* INITIAL COLLAPSED STYLE */
/* INITIAL COLLAPSED STYLE */
.short-text {
    max-height: 120px;
    overflow: hidden !important;
}

/* FIX: hide big content in collapsed mode */
.short-text img,
.short-text iframe,
.short-text table,
.short-text ul,
.short-text ol {
    display: none !important;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .articles-wrapper {
        flex-direction: column;
    }
    .articles-left, .pandit-right {
        width: 100%;
    }
}
.article-author {
    display: block;
    font-size: 14px;
    color: #555;
    margin-top: 10px; /* space after Read More */
    text-align: right; /* aligns date to the right */
    font-style: italic;
}
.article-author {
    display: block;
    font-size: 14px;
    color: #555;       /* normal text color */
    margin-top: 10px;  /* space after Read More */
    text-align: right; /* aligns date to the right */
    font-style: normal; /* remove italic if you want normal text */
}

.article-date {
    color: #a80000;   /* maroon color */
    font-weight: bold; /* bold date value */
}
.article-title {
    position: relative;
    padding-left: 25px;   /* space for bullet */
}

.article-title::before {
    content: "";
    width: 12px;
    height: 12px;
    background: #a80000;
    position: absolute;
    left: 0;
    top: 8px;
    transform: rotate(45deg); /* diamond shape */
    border-radius: 3px;
}

.articles-page-wrapper-article {
    max-width: 1150px;
    margin: 0 auto;
   
    border: 2px solid #ff8c00;
    border-radius: 20px;
    padding: 25px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
/* AUTO ADJUST WHEN FEWER ARTICLES (1 or 2) — REMOVE BLANK SPACE */
.few-articles .articles-left {
    width: 100% !important;
}

/* ARTICLE IMAGE */
.article-image {
    width: 800px;         /* fixed width */
    height: 350px;        /* fixed height */
    object-fit: cover;    /* maintain aspect ratio, crop if necessary */
    border-radius: 10px;
    margin-bottom: 20px;
}
@media (max-width: 820px) {
    .article-image {
        width: 100%;
        height: auto;
    }
}








/* MAIN WRAPPER → article left + pandit right */
.article-container_view {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 2rem;
}

/* LEFT ARTICLE SECTION */
.article-full-view {
    width: 70%;
    border: 2px solid #ff8c00;  
    border-radius: 15px;
   

    /* ADD THIS → PADDING ON ALL 4 SIDES */
    padding: 2rem;

    /* margin: 2rem 3rem; */
}

/* RIGHT SIDEBAR (Pandit Cards) */
.right-side {
    width: 30%;
    position: sticky;
    top: 20px;
}

/* ARTICLE TITLE */
.article-title_view {
    font-size: 30px;
    font-weight: bold;
    color: #b30000;
    margin-bottom: 15px;
}

/* ARTICLE IMAGE */
.article-full-view img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ARTICLE DESCRIPTION */
.article-description_view {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

/* PUBLISH DATE */
.article-author_view {
    margin-top: 15px;
    font-size: 16px;
    color: #444;
    font-weight: bold;
}

/* BACK BUTTON */
.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 18px;
    background: #a80000;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
}

.back-btn:hover {
    background: #7a0000;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .article-container_view {
        flex-direction: column !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .article-full-view,
    .right-side {
        width: 100% !important;
    }

    .right-side {
        position: relative !important;
        top: unset !important;
        margin-top: 2rem;
    }
}