/**
 * Daily Darshan Gallery - Front-end Styles
 * Devotional temple aesthetic
 * Version: 1.7.0
 */

/* ------------------- Variables ------------------- */
:root {
    --dd-saffron: #e67e22;
    --dd-saffron-deep: #c45d0a;
    --dd-gold: #c9a227;
    --dd-gold-light: #f0d78c;
    --dd-maroon: #6b1e2a;
    --dd-maroon-deep: #4a1219;
    --dd-cream: #fbf6eb;
    --dd-cream-dark: #f3e8d0;
    --dd-sandal: #e8d5b5;
    --dd-ink: #2c1810;
    --dd-muted: #6b5344;
    --dd-border: #e0c9a0;
    --dd-primary-color: #c45d0a;
    --dd-border-color: #e0c9a0;
    --dd-background-color: #fbf6eb;
    --dd-spacing: 1.25rem;
    --dd-max-width: 960px;
    --dd-shadow-md: 0 4px 18px rgba(107, 30, 42, 0.1);
    --dd-shadow-lg: 0 8px 28px rgba(107, 30, 42, 0.16);
    --dd-radius: 14px;
    --dd-title-font-size: 1.9rem;
    --dd-caption-font-size: 1.5rem;
    --dd-lightbox-title-font-size: 1.35rem;
    --dd-lightbox-caption-font-size: 1.1rem;
}

/* ------------------- Global ------------------- */
body.dd-lightbox-open {
    overflow: hidden !important;
}

#daily-darshan-wrapper {
    max-width: var(--dd-max-width);
    margin: 0 auto;
    padding: 1.25rem 1rem 2rem;
    box-sizing: border-box;
    text-align: center;
    font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, "Noto Serif", serif;
    color: var(--dd-ink);
    background:
        radial-gradient(ellipse at top, rgba(240, 215, 140, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #fffaf0 0%, var(--dd-cream) 40%, #f7efdc 100%);
    border-radius: 20px;
    border: 1px solid var(--dd-border);
    box-shadow: var(--dd-shadow-md);
    position: relative;
    overflow: hidden;
}

/* Soft decorative top band */
#daily-darshan-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--dd-maroon-deep), var(--dd-saffron), var(--dd-gold), var(--dd-saffron), var(--dd-maroon-deep));
    z-index: 1;
}

/* ------------------- Date Selector ------------------- */
.dd-date-selector-wrapper {
    display: inline-block;
    margin: 1rem auto 1.35rem;
    text-align: center;
    padding: 0.85rem 1.15rem;
    background: linear-gradient(180deg, #fffef9 0%, var(--dd-cream-dark) 100%);
    border: 1.5px solid var(--dd-gold);
    border-radius: 999px;
    box-shadow: 0 3px 12px rgba(201, 162, 39, 0.2);
    max-width: 260px;
    position: relative;
}

.dd-date-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    cursor: pointer;
    margin-bottom: 0.35rem;
}

.dd-calendar-icon {
    display: inline-flex;
    color: var(--dd-saffron-deep);
}

.dd-date-label-text {
    font-weight: 700;
    color: var(--dd-maroon);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

#dd-date-input {
    padding: 0.45rem 0.7rem;
    border: 1px solid var(--dd-border);
    border-radius: 8px;
    width: 200px;
    box-sizing: border-box;
    font-size: 1.1rem;
    background: #fff;
    color: var(--dd-ink);
    font-family: inherit;
}

#dd-date-input:focus {
    outline: none;
    border-color: var(--dd-saffron);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}

/* ------------------- Gallery Intro ------------------- */
.dd-gallery-intro {
    text-align: center;
    margin-bottom: 1.15rem;
    padding: 0.5rem 0.75rem 1rem;
    position: relative;
}

.dd-gallery-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dd-maroon-deep);
    letter-spacing: 0.03em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    display: inline-block;
    padding: 0 1.5rem;
}

/* Decorative om-like flourishes via CSS */
.dd-gallery-title::before,
.dd-gallery-title::after {
    content: "✦";
    color: var(--dd-gold);
    font-size: 0.7em;
    vertical-align: middle;
    margin: 0 0.35rem;
    opacity: 0.9;
}

.dd-gallery-date {
    margin: 0;
    font-size: clamp(1.35rem, 4.2vw, 1.85rem);
    font-weight: 700;
    color: var(--dd-saffron-deep);
    letter-spacing: 0.04em;
    line-height: 1.35;
}

.dd-gallery-date::before {
    content: "🕉 ";
}

/* ------------------- Share Box ------------------- */
.dd-share-box {
    background: linear-gradient(145deg, #fffef8 0%, #faf0d8 55%, #f5e6c8 100%);
    border: 1.5px solid var(--dd-gold);
    border-radius: 18px;
    box-shadow: var(--dd-shadow-md);
    padding: 1.35rem 1.25rem;
    margin: 0 0 1.5rem;
    position: relative;
}

.dd-share-box::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dd-gold-light), transparent);
    opacity: 0.8;
}

.dd-share-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: var(--dd-maroon);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dd-share-title::before {
    content: "🙏 ";
}

.dd-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 0;
    justify-content: center;
}

.dd-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 5px 14px rgba(44, 24, 16, 0.22);
    touch-action: manipulation;
}

.dd-share-btn:hover,
.dd-share-btn:focus {
    transform: translateY(-3px) scale(1.05);
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 8px 18px rgba(44, 24, 16, 0.28);
}

.dd-share-btn-whatsapp { background: linear-gradient(145deg, #2fe075, #1da851); }
.dd-share-btn-copy,
.dd-share-btn-native { background: linear-gradient(145deg, #d4a017, #a67c00); }
.dd-share-btn-facebook { background: linear-gradient(145deg, #4b8ef0, #1877f2); }
.dd-share-btn-x { background: linear-gradient(145deg, #333, #000); }
.dd-share-btn-telegram { background: linear-gradient(145deg, #4eb8ef, #229ed9); }

.dd-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.dd-share-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.dd-share-toast {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    background: rgba(74, 18, 25, 0.92);
    color: #fff8e7;
    padding: 0.75rem 1.15rem;
    border-radius: 999px;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 999999;
    border: 1px solid var(--dd-gold);
}

.dd-share-toast.active {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------- Gallery Grid ------------------- */
#dd-gallery-content {
    padding-top: 0.35rem;
}

.dd-gallery-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.35rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dd-album-item {
    background: linear-gradient(180deg, #fffefb 0%, #fff9ef 100%);
    border: 1.5px solid var(--dd-border);
    border-radius: var(--dd-radius);
    padding: 1rem 1rem 1.15rem;
    box-shadow: var(--dd-shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
    position: relative;
}

.dd-album-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dd-maroon), var(--dd-gold), var(--dd-saffron), var(--dd-gold), var(--dd-maroon));
    opacity: 0.85;
}

.dd-album-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--dd-shadow-lg);
    border-color: var(--dd-gold);
}

.dd-album-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid rgba(201, 162, 39, 0.25);
    background: #fff;
    transition: transform 0.35s ease;
}

.dd-album-item:hover img {
    transform: scale(1.025);
}

/* Album Title – temple nameplate */
.dd-album-item h3 {
    font-weight: 700;
    font-size: var(--dd-title-font-size, 1.9rem);
    color: #fffef5;
    margin: 0.15rem 0 0.9rem;
    display: inline-block;
    padding: 0.55rem 1rem;
    background: linear-gradient(135deg, var(--dd-maroon-deep) 0%, var(--dd-maroon) 45%, #8b2e3a 100%);
    border-radius: 8px;
    text-align: center;
    line-height: 1.25;
    box-shadow: 0 3px 10px rgba(74, 18, 25, 0.25);
    border: 1px solid rgba(240, 215, 140, 0.35);
    letter-spacing: 0.015em;
}

/* Captions */
.dd-caption {
    padding: 0.85rem 0.5rem 0;
    margin: 0 auto;
    font-size: var(--dd-caption-font-size, 1.5rem);
    color: var(--dd-muted);
    line-height: 1.45;
    font-style: italic;
    max-width: 92%;
}

/* Image size modifiers */
#dd-gallery-content.dd-img-size-thumbnail .dd-album-item img { max-width: 150px; }
#dd-gallery-content.dd-img-size-medium .dd-album-item img { max-width: 300px; }
#dd-gallery-content.dd-img-size-large .dd-album-item img { max-width: 500px; }
#dd-gallery-content.dd-img-size-full .dd-album-item img { max-width: 700px; }

/* ------------------- Lightbox ------------------- */
#dd-lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(30, 12, 10, 0.94);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s 0.3s;
    padding: 20px;
    box-sizing: border-box;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

#dd-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.dd-lightbox-content {
    position: relative;
    max-width: min(96vw, 920px);
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    touch-action: pan-y;
}

.dd-lightbox-title {
    margin: 0 0 0.75rem;
    padding: 0.45rem 1rem;
    max-width: 100%;
    box-sizing: border-box;
    color: #fff8e7;
    font-size: var(--dd-lightbox-title-font-size, 1.35rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    background: linear-gradient(135deg, rgba(74, 18, 25, 0.85), rgba(107, 30, 42, 0.8));
    border: 1px solid rgba(240, 215, 140, 0.35);
    border-radius: 8px;
}

.dd-lightbox-image {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.45), var(--dd-shadow-lg);
    background: #1a0c0a;
    -webkit-user-drag: none;
    user-select: none;
}

.dd-lightbox-caption {
    color: #f5e6c8;
    text-align: center;
    padding: 14px 8px 0;
    margin: 0;
    font-size: var(--dd-lightbox-caption-font-size, 1.1rem);
    max-width: 100%;
    line-height: 1.5;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.dd-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff8e7;
    font-size: 1.75rem;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.15s ease, background 0.2s ease;
    z-index: 100002;
    line-height: 1;
    background: rgba(74, 18, 25, 0.92);
    border: 1.5px solid rgba(240, 215, 140, 0.55);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    -webkit-tap-highlight-color: transparent;
}

.dd-lightbox-close:hover,
.dd-lightbox-close:focus {
    opacity: 1;
    color: #fff;
    background: rgba(107, 30, 42, 0.98);
    transform: scale(1.06);
    outline: none;
}

.dd-lightbox-prev,
.dd-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.25rem;
    color: #fff8e7;
    cursor: pointer;
    user-select: none;
    opacity: 0.95;
    transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
    z-index: 100001;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
    background: rgba(30, 12, 10, 0.55);
    border: 1px solid rgba(240, 215, 140, 0.35);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-family: inherit;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.dd-lightbox-prev { left: 10px; }
.dd-lightbox-next { right: 10px; }

.dd-lightbox-prev:hover,
.dd-lightbox-next:hover {
    opacity: 1;
    background: rgba(74, 18, 25, 0.85);
    transform: translateY(-50%) scale(1.06);
}

/* ------------------- Spinner / Messages ------------------- */
#dd-loading-spinner {
    display: none;
}

.dd-spinner {
    border: 4px solid #f3e8d0;
    border-top: 4px solid var(--dd-saffron);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: dd-spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes dd-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dd-no-photos,
.dd-error-message {
    padding: 1.5rem 1.25rem;
    text-align: center;
    border: 1.5px dashed var(--dd-gold);
    background: linear-gradient(180deg, #fffef9, var(--dd-cream-dark));
    color: var(--dd-maroon);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
}

.dd-no-photos::before {
    content: "🙏 ";
}

/* ------------------- Responsive ------------------- */
@media (max-width: 768px) {
    .dd-gallery-items {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    .dd-gallery-title {
        font-size: 1.55rem;
        padding: 0 0.5rem;
    }
    .dd-lightbox-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
    .dd-lightbox-title {
        padding-right: 3.25rem; /* room under floating close */
        margin-top: 0.35rem;
    }
    .dd-share-box {
        padding: 1.1rem;
    }
}

@media (max-width: 640px) {
    #daily-darshan-wrapper {
        padding: 1rem 0.65rem 1.5rem;
        border-radius: 14px;
    }

    .dd-date-selector-wrapper {
        max-width: 72px;
        padding: 0.55rem;
        border-radius: 50%;
        width: 72px;
        height: 72px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        border-width: 2px;
    }

    .dd-date-label-text {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }

    .dd-date-label {
        margin: 0;
        pointer-events: none;
    }

    .dd-calendar-icon svg {
        width: 28px;
        height: 28px;
    }

    #dd-date-input {
        position: absolute;
        inset: 0;
        opacity: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        cursor: pointer;
        font-size: 16px;
    }

    .dd-share-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .dd-share-btn {
        width: 46px;
        height: 46px;
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .dd-gallery-items {
        grid-template-columns: 1fr;
    }
    .dd-lightbox-prev,
    .dd-lightbox-next {
        font-size: 2rem;
        padding: 0 10px;
    }
    .dd-album-item h3 {
        font-size: calc(var(--dd-title-font-size, 1.9rem) * 0.85);
        padding: 0.45rem 0.75rem;
    }
}

/* ------------------- Day navigation (Prev / Today / Next) ------------------- */
.dd-date-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    margin: 0.85rem auto 1.25rem;
}

.dd-day-btn {
    appearance: none;
    border: 1.5px solid var(--dd-gold);
    background: linear-gradient(180deg, #fffef9 0%, var(--dd-cream-dark) 100%);
    color: var(--dd-maroon);
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    touch-action: manipulation;
    line-height: 1;
}

.dd-day-btn:hover,
.dd-day-btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.28);
    background: linear-gradient(180deg, #fff 0%, #f5e6c8 100%);
    outline: none;
}

.dd-day-btn:active {
    transform: translateY(0);
}

.dd-day-prev,
.dd-day-next {
    font-size: 1.15rem;
    padding: 0.55rem 0.85rem;
}

.dd-day-today {
    background: linear-gradient(135deg, var(--dd-maroon-deep) 0%, var(--dd-maroon) 100%);
    color: #fffef5;
    border-color: var(--dd-maroon-deep);
    box-shadow: 0 3px 10px rgba(74, 18, 25, 0.22);
}

.dd-day-today:hover,
.dd-day-today:focus {
    background: linear-gradient(135deg, var(--dd-maroon) 0%, #8b2e3a 100%);
    color: #fff;
}

.dd-day-btn.is-disabled,
.dd-day-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@media (max-width: 640px) {
    .dd-date-nav {
        gap: 0.45rem;
    }
    .dd-day-btn {
        min-width: 42px;
        min-height: 42px;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    /* Keep circular calendar look; nav buttons sit beside it */
    .dd-date-selector-wrapper {
        margin: 0;
    }
}


/* Bilingual album titles */
.dd-album-item h3.dd-album-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    line-height: 1.25;
}
.dd-album-item h3 .dd-title-en {
    display: block;
    font-size: 1em;
}
.dd-album-item h3 .dd-title-kn {
    display: block;
    font-size: 0.92em;
    font-weight: 600;
    opacity: 0.95;
}
.dd-lightbox-title .dd-title-en,
.dd-lightbox-title .dd-title-kn {
    display: block;
}
.dd-lightbox-title .dd-title-kn {
    font-size: 0.92em;
    margin-top: 0.2rem;
    font-weight: 600;
}


/* Today's darshan available banner */
.dd-today-banner {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 auto 1rem;
    max-width: 100%;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #6b1e2a 0%, #8b2e3a 50%, #c45d0a 100%);
    color: #fff8e7;
    border-radius: 12px;
    border: 1px solid rgba(240, 215, 140, 0.45);
    box-shadow: 0 4px 16px rgba(74, 18, 25, 0.25);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.35;
}
.dd-today-banner.is-visible {
    display: flex;
}
.dd-today-banner-text {
    flex: 1;
}
.dd-today-banner-text::before {
    content: "🙏 ";
}
.dd-today-banner-close {
    appearance: none;
    border: 1px solid rgba(255, 248, 231, 0.45);
    background: rgba(0, 0, 0, 0.2);
    color: #fff8e7;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.dd-today-banner-close:hover {
    background: rgba(0, 0, 0, 0.35);
}


/* User email subscribe form */
.dd-notify-subscribe {
    margin: 0 auto 1.25rem;
    padding: 1rem 1.15rem;
    max-width: 520px;
    background: linear-gradient(180deg, #fffef9 0%, #faf0d8 100%);
    border: 1.5px solid var(--dd-gold, #c9a227);
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(201, 162, 39, 0.15);
    text-align: center;
}
.dd-notify-subscribe-title {
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: var(--dd-maroon, #6b1e2a);
    font-size: 1.05rem;
}
.dd-notify-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}
.dd-notify-form input[type="email"] {
    flex: 1 1 200px;
    min-width: 180px;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--dd-border, #e0c9a0);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}
.dd-notify-submit,
.dd-notify-unsub {
    appearance: none;
    border-radius: 8px;
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    font-size: 0.95rem;
}
.dd-notify-submit {
    background: linear-gradient(135deg, #6b1e2a, #8b2e3a);
    color: #fff8e7;
    border: 1px solid #4a1219;
}
.dd-notify-unsub {
    background: #fff;
    color: #6b1e2a;
    border: 1px solid #c9a227;
}
.dd-notify-msg {
    margin: 0.65rem 0 0;
    min-height: 1.2em;
    font-size: 0.95rem;
    color: #2c1810;
}
.dd-notify-msg.is-error { color: #a00; }
.dd-notify-msg.is-ok { color: #1b6b2e; }
.dd-notify-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}


/* Lightbox download */
.dd-lightbox-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.9rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #6b1e2a, #8b2e3a);
    color: #fff8e7 !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(240, 215, 140, 0.45);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.dd-lightbox-download:hover {
    filter: brightness(1.08);
    color: #fff !important;
}


/* Performance: limit layout work for off-screen cards */
.dd-album-item {
    content-visibility: auto;
    contain-intrinsic-size: 360px;
}
.dd-album-item img {
    max-width: 100%;
    height: auto;
    background: #f3e8d0;
}


/* No photos for selected date */
#daily-darshan-wrapper.dd-no-date-photos .dd-gallery-intro {
    opacity: 0.85;
}
#dd-date-input.dd-date-empty {
    border-color: #c9a0a0;
    background: #f7f0f0;
}
.dd-day-btn.is-disabled,
.dd-day-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    filter: grayscale(0.5);
    transform: none !important;
    box-shadow: none !important;
}


/* Browser push */
.dd-push-box {
    margin: 0 auto 1rem;
    text-align: center;
}
.dd-push-enable {
    appearance: none;
    border: 1.5px solid var(--dd-gold, #c9a227);
    background: linear-gradient(135deg, #6b1e2a, #8b2e3a);
    color: #fff8e7;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(74, 18, 25, 0.2);
}
.dd-push-enable:disabled {
    opacity: 0.6;
    cursor: default;
}
.dd-push-hint {
    margin: 0.45rem 0 0;
    font-size: 0.85rem;
    color: #6b5344;
}


/* Platform banners (Festival / Announcement / multi-banner) */
.dd-platform-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 auto 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(240, 215, 140, 0.45);
    box-shadow: 0 4px 16px rgba(74, 18, 25, 0.2);
    font-weight: 600;
}
.dd-platform-banner.is-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
}
.dd-platform-banner-btn {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: #2c1810 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
}
.dd-platform-banner-close {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.2);
    color: inherit;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
}
.dd-festival-list, .dd-announcement-list {
    text-align: left;
    margin: 1rem auto;
    max-width: 720px;
}
.dd-festival-item, .dd-announcement-item {
    background: #fffef9;
    border: 1px solid #e0c9a0;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}




/* ========== Festival pages — full devotional feel ========== */
.dd-festival-page {
    --dd-f-cream: #fffef8;
    --dd-f-gold: #c9a227;
    --dd-f-gold-soft: #e8d5a3;
    --dd-f-saffron: #e67e22;
    --dd-f-saffron-deep: #c45d0a;
    --dd-f-maroon: #6b1e2a;
    --dd-f-maroon-deep: #4a1219;
    --dd-f-ink: #2c1810;
    max-width: 980px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
    font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
    color: var(--dd-f-ink);
    background:
        radial-gradient(ellipse at top, rgba(232, 213, 163, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #fffdf6 0%, #fff9ee 40%, #fffef8 100%);
    border-radius: 16px;
    border: 1px solid var(--dd-f-gold-soft);
    box-shadow: 0 8px 28px rgba(74, 18, 25, 0.08);
    position: relative;
    overflow: visible;
}
.dd-festival-page::before,
.dd-festival-page::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--dd-f-maroon), var(--dd-f-gold), var(--dd-f-saffron), var(--dd-f-gold), var(--dd-f-maroon), transparent);
    pointer-events: none;
    z-index: 1;
}
.dd-festival-page::before { top: 8px; }
.dd-festival-page::after { bottom: 8px; }

.dd-festival-page--compact {
    padding: 1rem 0.85rem 1.5rem;
    box-shadow: 0 4px 16px rgba(74, 18, 25, 0.06);
}

.dd-festival-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0.35rem 0 0.85rem;
}
.dd-festival-ornament--bottom { margin: 1.5rem 0 0.25rem; }
.dd-orn-line {
    height: 1px;
    width: min(120px, 28vw);
    background: linear-gradient(90deg, transparent, var(--dd-f-gold), transparent);
}
.dd-orn-gem {
    color: var(--dd-f-saffron-deep);
    font-size: 1.1rem;
    line-height: 1;
}

.dd-festival-page-intro {
    text-align: center;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0.5rem 0;
}
.dd-festival-om {
    display: block;
    font-size: 2rem;
    color: var(--dd-f-maroon);
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 0 rgba(201, 162, 39, 0.35);
}
.dd-festival-page-title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.7rem, 4.2vw, 2.25rem);
    color: var(--dd-f-maroon-deep);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.dd-festival-page-sub {
    margin: 0;
    color: var(--dd-f-saffron-deep);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
}
.dd-festival-page-divider {
    margin: 0.85rem auto 0;
    width: min(200px, 50%);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dd-f-gold), transparent);
    position: relative;
}
.dd-festival-page-divider span {
    display: none;
}

.dd-festival-section {
    margin-bottom: 2rem;
}
.dd-festival-section-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: var(--dd-f-maroon);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid var(--dd-f-gold-soft);
}
.dd-festival-section-icon {
    color: var(--dd-f-gold);
    font-size: 0.95rem;
}
.dd-festival-section--active .dd-festival-section-title {
    color: var(--dd-f-saffron-deep);
}
.dd-festival-section--past {
    opacity: 0.88;
}

.dd-festival-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.15rem;
}

.dd-festival-card {
    position: relative;
    background: linear-gradient(165deg, #fffefb 0%, #fff8ec 100%);
    border: 1px solid var(--dd-f-gold-soft);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(74, 18, 25, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-festival-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(74, 18, 25, 0.12);
}
.dd-festival-card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--dd-f-maroon), var(--dd-f-gold), var(--dd-f-saffron));
}
.dd-festival-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f5ead2;
}
.dd-festival-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dd-festival-card-body {
    padding: 1rem 1.1rem 1.15rem;
}
.dd-festival-card-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dd-f-maroon);
    background: rgba(201, 162, 39, 0.18);
    border: 1px solid var(--dd-f-gold-soft);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.45rem;
}
.dd-festival-card-title {
    margin: 0 0 0.4rem;
    font-size: 1.15rem;
    color: var(--dd-f-maroon-deep);
    line-height: 1.3;
}
.dd-festival-card-dates {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dd-f-saffron-deep);
}
.dd-festival-card-cal {
    opacity: 0.85;
}
.dd-festival-card-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3d2a1f;
}
.dd-festival-card-desc p:last-child { margin-bottom: 0; }
.dd-festival-card-btn {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.45rem 1rem;
    background: linear-gradient(180deg, var(--dd-f-saffron) 0%, var(--dd-f-saffron-deep) 100%);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(196, 93, 10, 0.35);
    transition: filter 0.15s ease;
}
.dd-festival-card-btn:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

.dd-festival-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1.5px dashed var(--dd-f-gold);
    border-radius: 14px;
    background: rgba(255, 254, 248, 0.9);
    color: var(--dd-f-maroon);
    font-weight: 600;
}

.dd-announcement-list {
    display: grid;
    gap: 0.9rem;
    margin: 1rem auto;
    max-width: 720px;
}
.dd-announcement-item {
    position: relative;
    background: linear-gradient(165deg, #fffefb, #fff6e8);
    border: 1px solid var(--dd-f-gold-soft);
    border-radius: 14px;
    padding: 1.1rem 1.2rem 1.1rem 1.35rem;
    border-left: 4px solid var(--dd-f-saffron);
}
.dd-announcement-item h3 {
    margin: 0 0 0.4rem;
    color: var(--dd-f-maroon-deep);
    font-size: 1.1rem;
}
.dd-announcement-badge {
    color: var(--dd-f-gold);
    margin-right: 0.25rem;
}

.dd-today-label {
    text-align: center;
    font-weight: 700;
    color: var(--dd-f-maroon);
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(90deg, transparent, rgba(232, 213, 163, 0.45), transparent);
}
.dd-today-om {
    color: var(--dd-f-saffron-deep);
}

.dd-shortcode-help {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1.25rem;
    background: #fffef8;
    border: 1px solid #e0c9a0;
    border-radius: 12px;
    font-family: system-ui, sans-serif;
}
.dd-shortcode-help h3 {
    margin-top: 0;
    color: #4a1219;
}
.dd-shortcode-help table {
    width: 100%;
    border-collapse: collapse;
}
.dd-shortcode-help td,
.dd-shortcode-help th {
    text-align: left;
    padding: 0.45rem 0.5rem;
    border-bottom: 1px solid #eee0c8;
    font-size: 0.9rem;
}
.dd-shortcode-help code {
    background: #f5ead2;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.82rem;
}

@media (max-width: 600px) {
    .dd-festival-page {
        padding: 1rem 0.65rem 1.75rem;
        border-radius: 12px;
    }
    .dd-festival-list {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .dd-festival-page-title {
        font-size: 1.55rem;
    }
}


.dd-countdown-card {
    text-align: center;
    padding: 1.25rem 1rem;
    background: linear-gradient(165deg, #fffefb, #fff1dc);
    border: 1px solid #e0c9a0;
    border-radius: 16px;
    max-width: 280px;
    margin: 0.5rem auto;
    box-shadow: 0 4px 16px rgba(74,18,25,0.08);
}
.dd-countdown-days {
    font-size: 2.8rem;
    font-weight: 800;
    color: #6b1e2a;
    line-height: 1;
}
.dd-countdown-label {
    color: #c45d0a;
    font-weight: 700;
    margin: 0.25rem 0 0.5rem;
}
.dd-countdown-name {
    font-size: 1.1rem;
    color: #4a1219;
    font-weight: 700;
}
.dd-countdown-date {
    font-size: 0.9rem;
    color: #6b1e2a;
    margin-top: 0.25rem;
}

.dd-festival-single-img { margin: 0 auto 1.25rem; max-width: 720px; border-radius: 12px; overflow: hidden; border: 1px solid #e0c9a0; }
.dd-festival-single-img img { width: 100%; height: auto; display: block; }
.dd-festival-single-body { max-width: 720px; margin: 0 auto 1.25rem; line-height: 1.65; font-size: 1.05rem; }
.dd-festival-single-actions { text-align: center; margin: 1.5rem 0; }
.dd-festival-card-title a { color: inherit; text-decoration: none; }
.dd-festival-card-title a:hover { color: #c45d0a; }


/* ===== Festival bulletin (same-date group) ===== */
.slh-bulletin {
  margin: 1rem 0 1.25rem;
  background: linear-gradient(165deg, #fffefb, #fff1dc);
  border: 1px solid #e0c9a0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(74,18,25,0.08);
  overflow: hidden;
}
.slh-bulletin-inner { padding: 1.1rem 1.25rem 1.25rem; }
.slh-bulletin-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c45d0a;
  font-weight: 700;
}
.slh-bulletin-title {
  margin: 0 0 0.35rem;
  color: #6b1e2a;
  font-size: 1.25rem;
}
.slh-bulletin-date {
  margin: 0 0 0.75rem;
  color: #4a1219;
  font-weight: 600;
}
.slh-bulletin-list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  line-height: 1.55;
}
.slh-bulletin-list a {
  color: #6b1e2a;
  font-weight: 600;
  text-decoration: none;
}
.slh-bulletin-list a:hover { color: #c45d0a; text-decoration: underline; }
.slh-bulletin-actions { margin: 1rem 0 0; }
.slh-bulletin-range { margin: 1rem 0; }
.slh-bulletin-day { margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #e8d5b5; }
.slh-bulletin-day-title { margin: 0 0 0.4rem; color: #6b1e2a; font-size: 1.05rem; }

/* ===== Festival cards / badges ===== */
.slh-fest-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.5rem; }
.slh-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.slh-badge-cat { background: #6b1e2a; color: #fff8e7; }
.slh-badge-type { background: #fff1dc; color: #6b1e2a; border: 1px solid #e0c9a0; }
.slh-fest-name-kn { margin: 0.15rem 0 0.5rem; color: #4a1219; font-size: 1.05rem; }
.slh-fest-date-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #c45d0a;
  padding: 0.4rem 0.75rem 0;
}
.slh-festival-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
@media (max-width: 600px) {
  .slh-festival-cards { grid-template-columns: 1fr; }
}
.slh-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.slh-category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 1rem;
  background: linear-gradient(165deg, #fffefb, #fff1dc);
  border: 1px solid #e0c9a0;
  border-radius: 12px;
  text-decoration: none;
  color: #4a1219;
}
.slh-category-card:hover { border-color: #c45d0a; }
.slh-category-name { font-weight: 700; color: #6b1e2a; }
.slh-category-count { font-size: 0.85rem; color: #c45d0a; }
.slh-fest-share-block { margin: 1.25rem 0; }
.slh-fest-share-heading { margin: 0 0 0.5rem; color: #6b1e2a; font-size: 1.05rem; }
.slh-festival-share { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.slh-related-festivals { margin-top: 2rem; }
.slh-related-festivals h3 { color: #6b1e2a; }

.slh-share-image-opts { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; margin-left: 0.25rem; }
.slh-share-fmt { font-size: 0.7rem; font-weight: 700; margin-left: 0.15rem; }


/* ===== Dedicated festival page — large clear cards ===== */
.dd-festival-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}
.dd-festival-page-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem) !important;
  line-height: 1.25;
  color: #6b1e2a;
  margin: 0.35rem 0;
}
.dd-festival-page-sub {
  font-size: 1.1rem;
  color: #4a1219;
  opacity: 0.9;
}
.slh-festival-cards--page {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.35rem !important;
}
.slh-fest-card--large,
.slh-festival-cards--page .dd-festival-card {
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(165deg, #fffefb, #fff8e7);
  border: 1px solid #e0c9a0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(74, 18, 25, 0.08);
}
.slh-festival-cards--page .dd-festival-card-img,
.slh-fest-card--large .dd-festival-card-img {
  min-height: 200px;
  max-height: 280px;
  margin: 0;
}
.slh-festival-cards--page .dd-festival-card-img img,
.slh-fest-card--large .dd-festival-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slh-festival-cards--page .dd-festival-card-body,
.slh-fest-card--large .dd-festival-card-body {
  padding: 1.25rem 1.4rem 1.4rem;
}
.slh-festival-cards--page .dd-festival-card-title,
.slh-fest-card--large .dd-festival-card-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
  margin: 0.35rem 0 0.25rem;
  line-height: 1.3;
}
.slh-festival-cards--page .dd-festival-card-title a {
  color: #6b1e2a;
  text-decoration: none;
}
.slh-festival-cards--page .slh-fest-name-kn {
  font-size: 1.15rem;
  color: #4a1219;
  margin: 0 0 0.65rem;
}
.slh-fest-desc-full,
.slh-festival-cards--page .dd-festival-card-desc {
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  color: #3a2018;
  margin: 0.5rem 0 1rem;
}
.slh-festival-cards--page .dd-festival-card-btn {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.slh-fest-date-badge {
  font-size: 0.95rem !important;
  padding: 0.65rem 1rem 0 !important;
  color: #c45d0a !important;
}
@media (max-width: 720px) {
  .slh-fest-card--large,
  .slh-festival-cards--page .dd-festival-card {
    grid-template-columns: 1fr;
  }
  .slh-festival-cards--page .dd-festival-card-img {
    max-height: 220px;
  }
}
.dd-festival-section-title {
  font-size: 1.35rem;
  color: #6b1e2a;
  margin: 1.75rem 0 1rem;
}

.dd-festival-single .dd-festival-page-title {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem) !important;
}
.dd-festival-single .slh-fest-name-kn { font-size: 1.35rem; }
.dd-festival-single-body { font-size: 1.08rem; line-height: 1.75; color: #3a2018; }
.dd-festival-single-img img { border-radius: 16px; width: 100%; max-height: 420px; object-fit: cover; }


/* ===== SLH Festival Design 3.5 ===== */
.dd-festival-page {
  --slh-maroon: #6b1e2a;
  --slh-deep: #4a1219;
  --slh-saffron: #c45d0a;
  --slh-gold: #c9a227;
  --slh-cream: #fff8e7;
  --slh-cream2: #fffefb;
  --slh-border: #e0c9a0;
  --slh-text: #3a2018;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  font-family: Georgia, "Noto Serif", "Times New Roman", serif;
  color: var(--slh-text);
}
.dd-festival-page-intro {
  text-align: center;
  padding: 1.5rem 1rem 1.25rem;
  background: linear-gradient(180deg, #fff1dc 0%, transparent 100%);
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.dd-festival-om {
  display: inline-block;
  font-size: 2rem;
  color: var(--slh-saffron);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.dd-festival-page-title {
  font-size: clamp(1.85rem, 4.5vw, 2.55rem) !important;
  color: var(--slh-maroon) !important;
  margin: 0.2rem 0 0.4rem !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.dd-festival-page-sub {
  font-size: 1.12rem;
  color: var(--slh-deep);
  opacity: 0.88;
  margin: 0;
}
.dd-festival-page-divider {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0.25rem;
}
.dd-festival-page-divider span {
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--slh-gold), transparent);
}
.dd-festival-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem !important;
  color: var(--slh-maroon);
  margin: 2rem 0 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--slh-border);
}
.dd-festival-section-icon { color: var(--slh-gold); }
.slh-sec-count { font-size: 0.9rem; color: var(--slh-saffron); font-weight: 600; }

/* Large festival cards */
.slh-festival-cards--page {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
}
.slh-festival-cards--page .dd-festival-card,
.slh-fest-card--large {
  display: grid;
  grid-template-columns: minmax(140px, 260px) 1fr;
  background: linear-gradient(145deg, var(--slh-cream2) 0%, var(--slh-cream) 55%, #fff1dc 100%);
  border: 1px solid var(--slh-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(74, 18, 25, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.slh-festival-cards--page .dd-festival-card:hover,
.slh-fest-card--large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(74, 18, 25, 0.14);
  border-color: #d4b06a;
}
.slh-festival-cards--page .dd-festival-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--slh-gold), var(--slh-saffron), var(--slh-maroon));
  border-radius: 20px 0 0 20px;
}
.slh-festival-cards--page .dd-festival-card-img {
  position: relative;
  min-height: 210px;
  background: #f5e6c8;
}
.slh-festival-cards--page .dd-festival-card-img img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 300px;
  object-fit: cover;
  display: block;
}
.slh-fest-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(107, 30, 42, 0.92);
  color: #fff8e7 !important;
  font-size: 0.82rem !important;
  font-weight: 700;
  padding: 0.4rem 0.75rem !important;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.slh-festival-cards--page .slh-fest-date-badge {
  position: static;
  display: inline-block;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, var(--slh-maroon), #8b2e3c);
  color: #fff8e7 !important;
  padding: 0.4rem 0.85rem !important;
  border-radius: 999px;
}
.slh-festival-cards--page .dd-festival-card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.slh-badge {
  font-size: 0.7rem !important;
  padding: 0.28rem 0.65rem !important;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.slh-badge-cat {
  background: linear-gradient(135deg, var(--slh-maroon), #8b2e3c);
  color: #fff8e7;
}
.slh-badge-type {
  background: #fff;
  color: var(--slh-maroon);
  border: 1px solid var(--slh-border);
}
.slh-festival-cards--page .dd-festival-card-title {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem) !important;
  margin: 0.4rem 0 0.2rem !important;
  line-height: 1.28;
  font-weight: 700;
}
.slh-festival-cards--page .dd-festival-card-title a {
  color: var(--slh-maroon);
  text-decoration: none;
}
.slh-festival-cards--page .dd-festival-card-title a:hover {
  color: var(--slh-saffron);
}
.slh-festival-cards--page .slh-fest-name-kn {
  font-size: 1.2rem;
  color: var(--slh-deep);
  margin: 0 0 0.7rem;
  opacity: 0.95;
}
.slh-fest-desc-full,
.slh-festival-cards--page .dd-festival-card-desc {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: var(--slh-text);
  margin: 0.35rem 0 1.1rem !important;
  flex-grow: 1;
}
.slh-festival-cards--page .dd-festival-card-btn,
.dd-festival-card-btn {
  align-self: flex-start;
  display: inline-block;
  padding: 0.65rem 1.35rem;
  background: linear-gradient(135deg, var(--slh-maroon) 0%, #8b2e3c 100%);
  color: #fff8e7 !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 4px 12px rgba(107, 30, 42, 0.25);
  transition: background 0.2s, transform 0.15s;
}
.slh-festival-cards--page .dd-festival-card-btn:hover,
.dd-festival-card-btn:hover {
  background: linear-gradient(135deg, var(--slh-saffron), #a84d08);
  transform: translateY(-1px);
  color: #fff !important;
}

/* Pagination */
.slh-fest-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
}
.slh-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.55rem;
  border-radius: 8px;
  background: var(--slh-cream);
  border: 1px solid var(--slh-border);
  color: var(--slh-maroon);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.slh-page-link.is-current,
.slh-page-link:hover {
  background: var(--slh-maroon);
  color: #fff8e7;
  border-color: var(--slh-maroon);
}

/* Single festival */
.dd-festival-single .dd-festival-page-title {
  font-size: clamp(2rem, 5vw, 2.75rem) !important;
}
.dd-festival-single .slh-fest-name-kn { font-size: 1.4rem; }
.dd-festival-single-img {
  margin: 1.25rem 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(74,18,25,0.12);
}
.dd-festival-single-img img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}
.dd-festival-single-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--slh-text);
}
.slh-bulletin {
  background: linear-gradient(165deg, #fffefb, #fff1dc) !important;
  border: 1px solid var(--slh-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 6px 20px rgba(74,18,25,0.08);
}

@media (max-width: 720px) {
  .slh-festival-cards--page .dd-festival-card,
  .slh-fest-card--large {
    grid-template-columns: 1fr;
  }
  .slh-festival-cards--page .dd-festival-card-img img {
    max-height: 220px;
    min-height: 180px;
  }
  .slh-festival-cards--page .dd-festival-card::before {
    width: 100%;
    height: 4px;
    top: 0; left: 0; right: 0; bottom: auto;
    border-radius: 20px 20px 0 0;
  }
}


/* ===== SLH Festival Cards 3.5.3 — clean, no overlap ===== */
.dd-festival-page {
  overflow: visible !important;
  max-width: 920px !important;
  margin: 0 auto 2rem !important;
  padding: 1.5rem 1.15rem 2rem !important;
  box-sizing: border-box;
}
.dd-festival-page::before,
.dd-festival-page::after {
  z-index: 0;
}
.dd-festival-page > * {
  position: relative;
  z-index: 1;
}

.slh-festival-cards,
.slh-festival-cards--page,
.slh-festival-cards--grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  grid-template-columns: none !important;
}

.slh-fest-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  background: linear-gradient(145deg, #fffefb 0%, #fff8e7 100%) !important;
  border: 1px solid #e0c9a0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(74, 18, 25, 0.07) !important;
  box-sizing: border-box !important;
  position: relative !important;
  float: none !important;
  clear: both !important;
}
.slh-fest-card::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 4px !important;
  background: linear-gradient(180deg, #c9a227, #c45d0a, #6b1e2a) !important;
  border-radius: 16px 0 0 16px !important;
  z-index: 2 !important;
}
.slh-fest-card.no-image {
  flex-direction: column !important;
}
.slh-fest-card-media {
  flex: 0 0 200px !important;
  max-width: 200px !important;
  min-height: 160px !important;
  background: #f0e0c0 !important;
  position: relative !important;
  overflow: hidden !important;
}
.slh-fest-card-media a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.slh-fest-card-media img {
  width: 100% !important;
  height: 100% !important;
  min-height: 160px !important;
  max-height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
.slh-fest-card-content {
  flex: 1 1 auto !important;
  padding: 1.1rem 1.25rem 1.2rem 1.35rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.slh-fest-card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.45rem !important;
  margin-bottom: 0.25rem !important;
}
.slh-fest-date {
  display: inline-block !important;
  background: #6b1e2a !important;
  color: #fff8e7 !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  padding: 0.28rem 0.7rem !important;
  border-radius: 999px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
}
.slh-fest-badges {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 0.3rem !important;
}
.slh-badge {
  display: inline-block !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 0.22rem 0.55rem !important;
  border-radius: 999px !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
}
.slh-badge-cat {
  background: #6b1e2a !important;
  color: #fff8e7 !important;
  border: none !important;
}
.slh-badge-type {
  background: #fff !important;
  color: #6b1e2a !important;
  border: 1px solid #e0c9a0 !important;
}
.slh-fest-card-title {
  margin: 0.15rem 0 0 !important;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #6b1e2a !important;
}
.slh-fest-card-title a {
  color: #6b1e2a !important;
  text-decoration: none !important;
}
.slh-fest-card-title a:hover {
  color: #c45d0a !important;
}
.slh-fest-name-kn {
  margin: 0 !important;
  font-size: 1.05rem !important;
  color: #4a1219 !important;
  opacity: 0.92 !important;
}
.slh-fest-card-desc {
  margin: 0.35rem 0 0.6rem !important;
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  color: #3a2018 !important;
}
.slh-fest-card-btn {
  align-self: flex-start !important;
  display: inline-block !important;
  margin-top: auto !important;
  padding: 0.5rem 1.15rem !important;
  background: linear-gradient(135deg, #6b1e2a, #8b2e3c) !important;
  color: #fff8e7 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(107, 30, 42, 0.22) !important;
}
.slh-fest-card-btn:hover {
  background: linear-gradient(135deg, #c45d0a, #a84d08) !important;
  color: #fff !important;
}

.dd-festival-section {
  margin: 1.5rem 0 0.5rem !important;
  clear: both !important;
}
.dd-festival-section-title {
  margin: 0 0 1rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 2px solid #e8d5a3 !important;
  font-size: 1.3rem !important;
  color: #6b1e2a !important;
}

.slh-fest-pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem !important;
  justify-content: center !important;
  margin: 1.25rem 0 0.25rem !important;
}
.slh-page-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.1rem !important;
  height: 2.1rem !important;
  padding: 0 0.5rem !important;
  border-radius: 8px !important;
  background: #fff8e7 !important;
  border: 1px solid #e0c9a0 !important;
  color: #6b1e2a !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}
.slh-page-link.is-current,
.slh-page-link:hover {
  background: #6b1e2a !important;
  color: #fff8e7 !important;
  border-color: #6b1e2a !important;
}

/* Kill old broken date-badge circle styles */
.slh-fest-date-badge,
.slh-festival-cards--page .slh-fest-date-badge {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  border-radius: 999px !important;
  display: inline-block !important;
}

/* Legacy card classes used elsewhere */
.dd-festival-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.15rem !important;
  grid-template-columns: none !important;
}

@media (max-width: 640px) {
  .slh-fest-card.has-image {
    flex-direction: column !important;
  }
  .slh-fest-card-media {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 140px !important;
  }
  .slh-fest-card-media img {
    max-height: 180px !important;
  }
  .slh-fest-card-content {
    padding: 1rem 1.05rem 1.15rem !important;
  }
}


/* Festival share — standard SVG icons */
.slh-festival-share,
.slh-festival-share.dd-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0.25rem;
}
.slh-festival-share .dd-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.slh-festival-share .dd-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.slh-festival-share .dd-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.slh-festival-share .dd-share-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.slh-festival-share .dd-share-btn-whatsapp { background: #25D366; }
.slh-festival-share .dd-share-btn-facebook { background: #1877F2; }
.slh-festival-share .dd-share-btn-x { background: #0f1419; }
.slh-festival-share .dd-share-btn-telegram { background: #26A5E4; }
.slh-festival-share .dd-share-btn-copy { background: #c9a227; }
.slh-festival-share .dd-share-btn-native { background: #6b1e2a; }
.slh-festival-share .dd-share-btn-image { background: #7b2cbf; }
.slh-share-image-opts {
  display: inline-flex;
  gap: 0.4rem;
  margin: 0;
}
.slh-festival-share .slh-share-fmt { display: none; }


/* Generate share image panel */
.slh-share-image-panel {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(145deg, #fff8e7, #fff1dc);
  border: 1px solid #e0c9a0;
  border-radius: 14px;
  box-sizing: border-box;
}
.slh-share-image-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #6b1e2a;
}
.slh-share-image-label-ico {
  display: inline-flex;
  color: #6b1e2a;
}
.slh-share-image-label-ico svg { width: 18px; height: 18px; }
.slh-share-image-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.slh-festival-share .dd-share-btn-image {
  width: auto !important;
  height: auto !important;
  min-height: 44px;
  padding: 0.45rem 0.9rem !important;
  border-radius: 12px !important;
  gap: 0.45rem;
  background: linear-gradient(135deg, #6b1e2a, #8b2e3c) !important;
}
.slh-festival-share .dd-share-btn-image.slh-gen-story {
  background: linear-gradient(135deg, #7b2cbf, #9b4dca) !important;
}
.slh-festival-share .dd-share-btn-image .slh-share-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  text-align: left;
}
.slh-festival-share .dd-share-btn-image .slh-share-btn-text strong {
  font-size: 0.88rem;
  font-weight: 700;
}
.slh-festival-share .dd-share-btn-image .slh-share-btn-text small {
  font-size: 0.72rem;
  opacity: 0.9;
  font-weight: 500;
}
.slh-festival-share .dd-share-btn-image.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.slh-share-image-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: #5a3a2a;
  opacity: 0.9;
}
.slh-share-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

/* Preview modal */
#slh-share-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.slh-share-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 10, 0.55);
}
.slh-share-preview-box {
  position: relative;
  z-index: 1;
  background: #fffef8;
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.4rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  border: 1px solid #e0c9a0;
  text-align: center;
}
.slh-share-preview-box h3 {
  margin: 0 0 0.25rem;
  color: #6b1e2a;
  font-size: 1.15rem;
}
.slh-share-preview-fmt {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: #8b2e3c;
}
.slh-share-preview-img {
  max-width: 100%;
  max-height: 55vh;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  background: #fff8e7;
}
.slh-share-preview-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.slh-share-dl {
  display: inline-block;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, #6b1e2a, #8b2e3c);
  color: #fff8e7 !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
}
.slh-share-close-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #e0c9a0;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  color: #6b1e2a;
}
.slh-share-preview-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b1e2a;
  line-height: 1;
}


/* ===== Festival detail page — Hindu card ===== */
.slh-fest-detail {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #2c1810;
}
.slh-fest-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 40px rgba(74, 18, 25, 0.12);
  border: 1px solid #e0c9a0;
}
.slh-fest-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.25) 0%, transparent 55%),
    linear-gradient(165deg, #6b1e2a 0%, #8b2e3c 40%, #4a1219 100%);
  z-index: 0;
}
.slh-fest-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.25rem 1.75rem;
  color: #fff8e7;
}
.slh-fest-hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.slh-fest-hero-ornament span:not(.slh-fest-lotus) {
  height: 1px;
  width: min(100px, 22vw);
  background: linear-gradient(90deg, transparent, #c9a227, transparent);
}
.slh-fest-lotus { color: #c9a227; font-size: 1.1rem; }
.slh-fest-hero-om {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  color: #c9a227;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.slh-fest-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.slh-fest-hero .slh-badge-cat {
  background: #c9a227;
  color: #4a1219;
}
.slh-fest-hero .slh-badge-type {
  background: transparent;
  color: #fff8e7;
  border: 1px solid rgba(255,248,231,0.55);
}
.slh-fest-hero-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-weight: 700;
  color: #fff8e7;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.slh-fest-hero-kn {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: rgba(255,248,231,0.92);
}
.slh-fest-hero-date {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #c9a227;
}
.slh-fest-hero-range {
  font-weight: 500;
  opacity: 0.85;
  font-size: 0.92rem;
}
.slh-fest-hero-temple {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  opacity: 0.88;
}
.slh-fest-hero-ornament--bottom { margin: 1.1rem 0 0; margin-bottom: 0; }

.slh-fest-body {
  background: linear-gradient(180deg, #fffefb 0%, #fff8e7 100%);
  border: 1px solid #e0c9a0;
  border-radius: 18px;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 6px 24px rgba(74, 18, 25, 0.06);
}
.slh-fest-photo {
  margin: 0 0 1.25rem;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid #c9a227;
  box-shadow: 0 6px 20px rgba(74, 18, 25, 0.1);
}
.slh-fest-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.slh-fest-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #4a1219;
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8d5a3;
}
.slh-fest-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a2018;
  margin-bottom: 1.25rem;
}
.slh-fest-desc p { margin: 0 0 0.85rem; }
.slh-fest-more { margin: 0 0 1.5rem; }
.slh-fest-more-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: linear-gradient(135deg, #c45d0a, #a84d08);
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
}
.slh-fest-section-title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  color: #6b1e2a;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid #e8d5a3;
}
.slh-fest-share-block {
  margin: 1.5rem 0;
  padding-top: 0.5rem;
}
.slh-related-festivals {
  margin-top: 1.75rem;
  padding-top: 0.5rem;
}

@media (max-width: 600px) {
  .slh-fest-hero-inner { padding: 1.5rem 1rem 1.35rem; }
  .slh-fest-body { padding: 1.15rem 1rem 1.35rem; }
}


/* ===== Force festival detail styles over theme ===== */
body .slh-fest-detail .slh-fest-hero,
.slh-fest-detail .slh-fest-hero {
  background: transparent !important;
}
body .slh-fest-detail .slh-fest-hero-bg {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.28) 0%, transparent 55%),
    linear-gradient(165deg, #6b1e2a 0%, #8b2e3c 42%, #4a1219 100%) !important;
}
body .slh-fest-detail .slh-fest-hero-title,
body .slh-fest-detail .slh-fest-hero-kn,
body .slh-fest-detail .slh-fest-hero-om {
  color: #fff8e7 !important;
}
body .slh-fest-detail .slh-fest-hero-date {
  color: #c9a227 !important;
}
body .slh-festival-share .dd-share-btn {
  border-radius: 50% !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  color: #fff !important;
}
body .slh-festival-share .dd-share-btn-whatsapp { background: #25D366 !important; }
body .slh-festival-share .dd-share-btn-facebook { background: #1877F2 !important; }
body .slh-festival-share .dd-share-btn-x { background: #0f1419 !important; }
body .slh-festival-share .dd-share-btn-telegram { background: #26A5E4 !important; }
body .slh-festival-share .dd-share-btn-copy { background: #c9a227 !important; }
body .slh-festival-share .dd-share-btn-native { background: #6b1e2a !important; }
body .slh-festival-share .dd-share-btn-image {
  width: auto !important;
  height: auto !important;
  border-radius: 12px !important;
  padding: 0.45rem 0.9rem !important;
  background: linear-gradient(135deg, #6b1e2a, #8b2e3c) !important;
}
body .slh-festival-share .dd-share-btn-image.slh-gen-story {
  background: linear-gradient(135deg, #7b2cbf, #9b4dca) !important;
}
body .slh-fest-body {
  background: linear-gradient(180deg, #fffefb 0%, #fff8e7 100%) !important;
}
