/* ----------------------------------------------------------
   PAGE CONTAINER
---------------------------------------------------------- */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ----------------------------------------------------------
   PAGE TITLE
---------------------------------------------------------- */
h1.pagetitle {
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    color: #9c0505;
    margin-bottom: 20px;
}

/* ----------------------------------------------------------
   KALUPUR STYLE SEARCH BAR (LEFT ALIGNED)
---------------------------------------------------------- */
.search-wrapper {
    position: relative;
    width: 300px;           /* Small clean box like Kalupur */
    margin: 10px 0 20px 0;  /* Left aligned */
}

#search-input {
    width: 100%;
    padding: 10px 40px 10px 12px;
    font-size: 16px;
    border: 2px solid #9c0505;
    background: #ffffff;
    color: #000;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

/* Search icon inside */
.search-wrapper i {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #9c0505;
    font-size: 16px;
}

/* Mobile: full width but still left aligned */
@media (max-width: 600px) {
    .search-wrapper {
        width: 100%;
    }
}

/* ----------------------------------------------------------
   GRID LAYOUT (DESKTOP + MOBILE)
---------------------------------------------------------- */
.ek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 20px;
    margin-top: 15px;
    justify-content: flex-start; /* Prevent huge single item */
}

/* MOBILE — EXACTLY 2 CARDS PER ROW */
@media (max-width: 600px) {
    .ek-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }
}

/* ----------------------------------------------------------
   CARD — SQUARE, EQUAL HEIGHT, SHARP CORNERS
---------------------------------------------------------- */
.ek-item {
    background: #ffffff;
    border-radius: 0;
    max-width: 400px; /* Prevent huge card when search = 1 result */
    width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    transition: 0.25s ease;
}

/* Card animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hover */
.ek-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ----------------------------------------------------------
   IMAGE — PERFECT SQUARE, NO CROPPING
---------------------------------------------------------- */
.ek-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain; /* Show full image, no cropping */
    background: #ffffff;
}

/* ----------------------------------------------------------
   TITLE + DESCRIPTION
---------------------------------------------------------- */
.ek-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #9c0505;
    padding: 12px 15px 5px;
}

.ek-item p {
    font-size: 1rem;
    color: #444;
    padding: 0 15px 15px;
    margin: 0;
    flex-grow: 1; /* Ensures equal height + button alignment */
    line-height: 1.45;
}

/* ----------------------------------------------------------
   READ MORE BUTTON — ALWAYS SAME HEIGHT
---------------------------------------------------------- */
.ek-btn {
    margin-top: auto;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 5px;
    padding: 10px 18px;
    font-size: 1rem;
    border: 2px solid #9c0505;
    color: #9c0505;
    background: #ffffff;
    cursor: pointer;
    border-radius: 0;
    transition: 0.2s ease;
}

.ek-btn:hover {
    background: #9c0505;
    color: #ffffff;
}

/* ----------------------------------------------------------
   MOBILE OPTIMIZATION
---------------------------------------------------------- */
@media (max-width: 600px) {

    .ek-title {
        font-size: 1rem;
        padding: 8px 8px 4px;
    }

    .ek-item p {
        padding: 0 8px 8px;
        font-size: 0.85rem;
    }

    .ek-btn {
        margin: auto 8px 8px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}


/* MAIN EKADASHI PAGE WRAPPER */
.ekadashi-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* HERO IMAGE */
.ek-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 0;
}

/* MAIN TITLE */
.ek-main-title {
    text-align: center;
    font-size: 2.2rem;
    color: #9c0505;
    font-weight: bold;
    margin-bottom: 20px;
}

/* CONTENT */
.ek-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* END NOTE */
.ek-end {
    text-align: center;
    color: #9c0505;
    font-size: 1.8rem;
    margin-top: 40px;
    font-weight: bold;
}

/* MOBILE */
@media(max-width:600px) {
    .ek-main-title { font-size: 1.7rem; }
    .ek-content p { font-size: 1rem; }
    .ek-end { font-size: 1.4rem; }
}
/* ----------------------------------------------------------
   EKADASHI PAGE BREADCRUMB (BOTTOM)
---------------------------------------------------------- */
/* ----------------------------------------------------------
   EKADASHI PAGE BREADCRUMB (BOTTOM)
---------------------------------------------------------- */
.ek-breadcrumb {
    margin-top: 40px;
    padding: 12px 0;
    font-size: 1rem;
    color: #555;                  /* Dark grey for readability */
    border-top: 1px solid #ddd;   /* Light divider */
}

.ek-breadcrumb a {
    color: #d35400;               /* Orange/red highlight */
    font-weight: 600;
    text-decoration: none;
}

.ek-breadcrumb a:hover {
    text-decoration: underline;
}

.ek-breadcrumb .active {
    color: #9c0505;               /* ISSO LA red */
    font-weight: bold;
}

/* Mobile */
@media(max-width:600px) {
    .ek-breadcrumb {
        font-size: 0.9rem;
    }
}

