/*
 Theme Name:   Dindarshika Calendar
 Theme URI:    https://dindarshika.com/
 Description:  A polished GeneratePress child theme for the Marathi Calendar 2027, festivals, Panchang information and cultural articles.
 Author:       dindarshika.com
 Author URI:   https://dindarshika.com/
 Template:     generatepress
 Version:      1.4.10
 Text Domain:  dindarshika-calendar
*/

/* Dindarshika Calendar design system */
:root {
    --din-maroon-950: #4a0710;
    --din-maroon-900: #650b16;
    --din-maroon-800: #82111d;
    --din-maroon-700: #a21622;
    --din-saffron-600: #e95b08;
    --din-saffron-500: #f47a0b;
    --din-gold-500: #f5a623;
    --din-gold-300: #f8c76b;
    --din-cream-100: #fffaf0;
    --din-cream-50: #fffdf8;
    --din-ink: #36191b;
    --din-muted: #6f5b55;
    --din-border: #ecd9bb;
    --din-shadow: 0 10px 30px rgba(92, 30, 12, .09);
    --din-shadow-hover: 0 18px 42px rgba(101, 11, 22, .16);
    --din-radius: 14px;
    --din-container: 1240px;
}

html { scroll-behavior: smooth; }
html,
body.dindarshika-child-theme { max-width: 100%; overflow-x: clip; }

body.dindarshika-child-theme {
    color: var(--din-ink);
    background: var(--din-cream-50);
    font-family: "Jost", "Noto Sans Devanagari", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.dindarshika-child-theme h1,
body.dindarshika-child-theme h2,
body.dindarshika-child-theme h3,
body.dindarshika-child-theme h4,
body.dindarshika-child-theme h5,
body.dindarshika-child-theme h6 {
    color: var(--din-maroon-900);
    font-family: "Jost", "Noto Sans Devanagari", system-ui, sans-serif;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.015em;
}

body.dindarshika-child-theme a {
    color: var(--din-maroon-800);
    text-decoration-thickness: .08em;
    text-underline-offset: .15em;
}

body.dindarshika-child-theme a:hover,
body.dindarshika-child-theme a:focus { color: var(--din-saffron-600); }
body.dindarshika-child-theme img { height: auto; }
body.dindarshika-child-theme .grid-container { max-width: var(--din-container); }

/* Header and primary navigation */
body.dindarshika-child-theme .main-navigation {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(130, 17, 29, .10);
    background: rgba(255, 253, 248, .96);
    box-shadow: 0 4px 22px rgba(69, 18, 8, .07);
    backdrop-filter: blur(12px);
}

body.admin-bar.dindarshika-child-theme .main-navigation { top: 32px; }

body.dindarshika-child-theme .main-navigation .inside-navigation {
    min-height: 76px;
    max-width: var(--din-container);
    padding-right: 22px;
    padding-left: 22px;
}

body.dindarshika-child-theme .main-navigation .main-nav ul li a {
    position: relative;
    padding: 0 18px;
    color: var(--din-ink);
    font-weight: 700;
    letter-spacing: .01em;
}

body.dindarshika-child-theme .main-navigation .main-nav ul li a::after {
    position: absolute;
    right: 18px;
    bottom: 13px;
    left: 18px;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--din-saffron-600), var(--din-gold-500));
    content: "";
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .2s ease, transform .2s ease;
}

body.dindarshika-child-theme .main-navigation .main-nav ul li:hover > a::after,
body.dindarshika-child-theme .main-navigation .main-nav ul li.current-menu-item > a::after,
body.dindarshika-child-theme .main-navigation .main-nav ul li.current_page_item > a::after {
    opacity: 1;
    transform: scaleX(1);
}

body.dindarshika-child-theme .main-navigation .main-nav ul li.current-menu-item > a,
body.dindarshika-child-theme .main-navigation .main-nav ul li.current_page_item > a,
body.dindarshika-child-theme .menu-bar-item > a,
body.dindarshika-child-theme .menu-toggle { color: var(--din-maroon-900); }

body.dindarshika-child-theme .site-logo img,
body.dindarshika-child-theme .navigation-branding img { max-height: 54px; }

body.dindarshika-child-theme .site-branding .main-title,
body.dindarshika-child-theme .navigation-branding .main-title {
    color: var(--din-maroon-900);
    font-family: Georgia, "Noto Serif Devanagari", serif;
    font-size: clamp(25px, 3vw, 38px);
    font-weight: 800;
}

/* Custom header identity matching the reference design */
body.dindarshika-child-theme .main-navigation .inside-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.dindarshika-child-theme .main-navigation .main-nav,
body.dindarshika-child-theme .main-navigation .menu-bar-items,
body.dindarshika-child-theme .main-navigation .menu-toggle,
body.dindarshika-child-theme .main-navigation .navigation-branding {
    display: none !important;
}

.din-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex: 0 0 auto;
    color: var(--din-maroon-900) !important;
    text-decoration: none !important;
}

.din-logo-mark {
    position: relative;
    width: 51px;
    height: 45px;
    display: inline-grid;
    place-items: center;
    border: 3px solid #9f1b15;
    border-radius: 9px;
    color: #9d1915;
    background: linear-gradient(145deg, #ffbd3e, #f78817);
    box-shadow: inset 0 0 0 3px rgba(255, 224, 124, .56), 0 4px 12px rgba(101, 11, 22, .13);
    font-family: "Noto Serif Devanagari", serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.din-logo-mark::before,
.din-logo-mark::after {
    position: absolute;
    top: -9px;
    width: 5px;
    height: 13px;
    border: 2px solid #9f1b15;
    border-radius: 4px;
    background: #ffb42d;
    content: "";
}

.din-logo-mark::before { left: 9px; }
.din-logo-mark::after { right: 9px; }

.din-brand-text {
    font-family: Georgia, "Noto Serif Devanagari", serif;
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}

.din-header-links {
    display: flex;
    align-items: stretch;
    gap: clamp(20px, 3vw, 42px);
    min-height: 76px;
    margin-left: auto;
}

.din-header-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: #261a18 !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color .2s ease;
}

.din-header-links a::after {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--din-saffron-600);
    content: "";
    opacity: 0;
    transform: scaleX(.25);
    transition: opacity .2s ease, transform .2s ease;
}

.din-menu-toggle {
    display: none;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 7px 10px;
    border: 0;
    color: var(--din-maroon-900);
    background: transparent;
    font: 600 14px/1 "Jost", sans-serif;
    cursor: pointer;
}

.din-header-links a:hover,
.din-header-links a:focus,
.din-header-links a.is-current {
    color: var(--din-maroon-800) !important;
}

.din-header-links a:hover::after,
.din-header-links a:focus::after,
.din-header-links a.is-current::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Page canvas */
body.dindarshika-child-theme .site-content {
    padding-top: 34px;
    padding-bottom: 54px;
}

body.dindarshika-child-theme.separate-containers .inside-article,
body.dindarshika-child-theme.separate-containers .comments-area,
body.dindarshika-child-theme.separate-containers .page-header {
    border: 1px solid rgba(236, 217, 187, .9);
    border-radius: var(--din-radius);
    background: #fff;
    box-shadow: var(--din-shadow);
}

body.dindarshika-child-theme .entry-title { font-size: clamp(30px, 4vw, 52px); }
body.dindarshika-child-theme .entry-meta { color: var(--din-muted); }

/* Reference-style hero. Apply .dindarshika-hero to a GenerateBlocks container. */
.dindarshika-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(300px, 38vw, 470px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(54px, 8vw, 110px) 24px;
    color: #fffaf0;
    text-align: center;
    background:
        radial-gradient(circle at 78% 42%, rgba(255, 202, 80, .95) 0 4%, rgba(244, 122, 11, .28) 5% 17%, transparent 32%),
        linear-gradient(115deg, #610811 0%, #94121c 38%, #e75208 72%, #f47a0b 100%);
}

.dindarshika-hero::before,
.dindarshika-hero::after {
    position: absolute;
    z-index: -1;
    width: 340px;
    height: 340px;
    border: 2px solid rgba(248, 199, 107, .24);
    border-radius: 50%;
    content: "";
    opacity: .65;
}

.dindarshika-hero::before {
    top: -165px;
    left: -145px;
    box-shadow: 0 0 0 22px rgba(248, 199, 107, .06), 0 0 0 50px rgba(248, 199, 107, .05);
}

.dindarshika-hero::after {
    right: -150px;
    bottom: -190px;
    box-shadow: 0 0 0 22px rgba(248, 199, 107, .06), 0 0 0 50px rgba(248, 199, 107, .05);
}

.dindarshika-hero h1,
.dindarshika-hero .gb-headline {
    margin: 0;
    color: #fffaf0 !important;
    font-size: clamp(48px, 7.2vw, 98px);
    text-shadow: 0 3px 20px rgba(66, 0, 0, .30);
}

.dindarshika-hero .dindarshika-hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    color: #fff5df;
    font-family: Georgia, "Noto Serif Devanagari", serif;
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
}

.dindarshika-hero .dindarshika-hero-subtitle::before,
.dindarshika-hero .dindarshika-hero-subtitle::after {
    width: clamp(60px, 10vw, 150px);
    height: 2px;
    background: var(--din-gold-500);
    content: "";
}

/* Month grid and cards */
.dindarshika-month-grid,
.month-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: var(--din-container);
    margin: 0 auto;
    padding: 28px 22px;
}

.dindarshika-month-card,
.month-card {
    position: relative;
    min-height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 22px 48px 22px 28px;
    border: 1px solid var(--din-border);
    border-radius: 10px;
    color: var(--din-maroon-900) !important;
    background: linear-gradient(135deg, #fffdf8, #fff9ec);
    box-shadow: 0 4px 14px rgba(103, 47, 15, .06);
    text-align: center;
    text-decoration: none !important;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.dindarshika-month-card::before,
.month-card::before {
    position: absolute;
    top: 50%;
    left: -62px;
    width: 122px;
    height: 122px;
    border: 2px solid rgba(244, 122, 11, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 11px rgba(244, 122, 11, .07), 0 0 0 22px rgba(244, 122, 11, .04);
    content: "";
    transform: translateY(-50%);
}

.dindarshika-month-card::after,
.month-card::after {
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--din-maroon-700);
    content: "\203A";
    font-family: Arial, sans-serif;
    font-size: 36px;
    line-height: 1;
    transform: translateY(-54%);
}

.dindarshika-month-card:hover,
.dindarshika-month-card:focus,
.month-card:hover,
.month-card:focus {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-4px);
}

.dindarshika-month-card strong,
.dindarshika-month-card .month-name,
.month-card strong,
.month-card .month-name {
    display: block;
    color: var(--din-maroon-900);
    font-family: "Noto Serif Devanagari", Georgia, serif;
    font-size: clamp(22px, 2.3vw, 30px);
    font-weight: 800;
}

.dindarshika-month-card .month-icon,
.month-card .month-icon {
    display: block;
    margin-top: 7px;
    color: var(--din-saffron-600);
    font-size: 28px;
}

/* Festival highlight */
.dindarshika-festival-banner,
.festival-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, .9fr) minmax(320px, 1.5fr) auto;
    gap: 32px;
    align-items: center;
    overflow: hidden;
    max-width: var(--din-container);
    margin: 10px auto 34px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #f0d495;
    border-radius: var(--din-radius);
    background:
        radial-gradient(circle at 10% 35%, rgba(244, 122, 11, .17), transparent 28%),
        linear-gradient(100deg, #fff1bb, #fffaf0 55%, #ffedb0);
    box-shadow: var(--din-shadow);
}

.dindarshika-festival-banner::after,
.festival-banner::after {
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 2px solid rgba(233, 91, 8, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(233, 91, 8, .05), 0 0 0 38px rgba(233, 91, 8, .04);
    content: "";
}

.dindarshika-festival-banner h2,
.festival-banner h2 {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 64px);
}

.dindarshika-festival-banner .festival-kicker,
.festival-banner .festival-kicker {
    color: var(--din-maroon-800);
    font-size: 20px;
    font-weight: 800;
}

.dindarshika-button,
.dindarshika-festival-banner .gb-button,
.festival-banner .gb-button,
body.dindarshika-child-theme input[type="submit"],
body.dindarshika-child-theme button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 0;
    border-radius: 9px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--din-maroon-700), var(--din-maroon-950));
    box-shadow: 0 8px 20px rgba(101, 11, 22, .20);
    font-weight: 800;
    text-decoration: none !important;
    transition: box-shadow .2s ease, transform .2s ease;
}

.dindarshika-button:hover,
.dindarshika-button:focus,
.dindarshika-festival-banner .gb-button:hover,
.festival-banner .gb-button:hover,
body.dindarshika-child-theme input[type="submit"]:hover,
body.dindarshika-child-theme button[type="submit"]:hover {
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(101, 11, 22, .28);
    transform: translateY(-2px);
}

/* Blog/archive cards; also targets the existing GenerateBlocks loop. */
.dindarshika-blog-grid,
body.dindarshika-child-theme .gb-looper-413bd6c6 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.dindarshika-blog-card,
body.dindarshika-child-theme .gb-looper-413bd6c6 > .gb-loop-item {
    overflow: hidden;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--din-shadow);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.dindarshika-blog-card:hover,
body.dindarshika-child-theme .gb-looper-413bd6c6 > .gb-loop-item:hover {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-5px);
}

.dindarshika-blog-card img,
body.dindarshika-child-theme .gb-media-f9b51dc2 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

.dindarshika-blog-card .card-content,
body.dindarshika-child-theme .gb-element-01d8c3cd { padding: 22px; }

.dindarshika-blog-card h3,
body.dindarshika-child-theme .gb-element-01d8c3cd h2,
body.dindarshika-child-theme .gb-element-01d8c3cd h3 {
    margin: 4px 0 10px;
    font-size: clamp(21px, 2.2vw, 29px);
}

body.dindarshika-child-theme .gb-button-9fed4af9,
.dindarshika-blog-card .read-more {
    color: var(--din-saffron-600) !important;
    font-weight: 800;
    text-decoration: none;
}

/* Section headings */
.dindarshika-section-title,
body.dindarshika-child-theme .gb-element-058f5b7e .gb-text {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    color: var(--din-maroon-900);
    font-family: "Noto Serif Devanagari", Georgia, serif;
    font-size: clamp(28px, 3.3vw, 42px);
    font-weight: 800;
}

.dindarshika-section-title::after,
body.dindarshika-child-theme .gb-element-058f5b7e .gb-text::after {
    width: 72px;
    height: 2px;
    background: linear-gradient(90deg, var(--din-saffron-600), transparent);
    content: "";
}

/* Sidebar */
body.dindarshika-child-theme .inside-right-sidebar > * {
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(92, 30, 12, .07);
}

body.dindarshika-child-theme .inside-right-sidebar h2,
body.dindarshika-child-theme .inside-right-sidebar h3 {
    margin: 0 0 15px;
    padding-bottom: 11px;
    border-bottom: 2px solid rgba(244, 122, 11, .32);
    font-size: 19px;
    letter-spacing: .035em;
}

body.dindarshika-child-theme .inside-right-sidebar ul {
    margin-left: 0;
    list-style: none;
}

body.dindarshika-child-theme .inside-right-sidebar li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(236, 217, 187, .65);
}

/* Article content */
body.dindarshika-child-theme .entry-content h2 {
    margin-top: 1.7em;
    padding-left: 15px;
    border-left: 5px solid var(--din-saffron-600);
}

body.dindarshika-child-theme .entry-content h3 { margin-top: 1.45em; }

body.dindarshika-child-theme .entry-content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border: 0;
    border-left: 5px solid var(--din-gold-500);
    border-radius: 0 12px 12px 0;
    color: var(--din-maroon-900);
    background: linear-gradient(90deg, #fff3cc, #fffaf0);
    font-family: "Noto Serif Devanagari", Georgia, serif;
    font-size: 1.1em;
}

body.dindarshika-child-theme .wp-block-image img,
body.dindarshika-child-theme .entry-content img {
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(69, 18, 8, .10);
}

body.dindarshika-child-theme .wpb-toc {
    border: 1px solid var(--din-border) !important;
    border-radius: 12px !important;
    background: var(--din-cream-100);
    box-shadow: 0 6px 18px rgba(92, 30, 12, .06);
}

body.dindarshika-child-theme .wpb-post-meta {
    color: var(--din-muted);
    font-size: 14px;
}

/* Forms and search */
body.dindarshika-child-theme input[type="text"],
body.dindarshika-child-theme input[type="email"],
body.dindarshika-child-theme input[type="url"],
body.dindarshika-child-theme input[type="password"],
body.dindarshika-child-theme input[type="search"],
body.dindarshika-child-theme input[type="tel"],
body.dindarshika-child-theme input[type="number"],
body.dindarshika-child-theme textarea,
body.dindarshika-child-theme select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--din-border);
    border-radius: 9px;
    color: var(--din-ink);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

body.dindarshika-child-theme input:focus,
body.dindarshika-child-theme textarea:focus,
body.dindarshika-child-theme select:focus {
    border-color: var(--din-saffron-500);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(244, 122, 11, .12);
}

body.dindarshika-child-theme .wp-block-search__inside-wrapper {
    overflow: hidden;
    border: 1px solid var(--din-border);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(92, 30, 12, .08);
}

body.dindarshika-child-theme .wp-block-search__inside-wrapper input {
    border: 0;
    box-shadow: none;
}

/* Breadcrumb and comments */
body.dindarshika-child-theme .rank-math-breadcrumb p {
    padding: 8px 12px;
    border: 1px solid var(--din-border);
    border-radius: 7px;
    color: var(--din-muted);
    background: var(--din-cream-100);
    font-size: 12px;
    font-weight: 700;
}

body.dindarshika-child-theme .comments-area {
    margin-top: 42px;
    border: 1px solid var(--din-border) !important;
    border-radius: var(--din-radius);
}

body.dindarshika-child-theme .comment-reply-title {
    display: inline-block;
    margin-top: -38px;
    margin-bottom: 30px;
    padding: 7px 24px;
    border: 1px solid var(--din-gold-300);
    border-radius: 999px;
    color: var(--din-maroon-900);
    background: #fff;
    font-size: 22px;
}

/* Sticky sidebar and reading progress */
@media (min-width: 769px) {
    body.dindarshika-child-theme .sticky-container > .gb-inside-container,
    body.dindarshika-child-theme .sticky-container {
        position: sticky;
        top: 96px;
    }

    body.dindarshika-child-theme #right-sidebar .inside-right-sidebar { height: 100%; }
}

#wpb-progress {
    background: linear-gradient(90deg, var(--din-saffron-600), var(--din-gold-500)) !important;
}

/* Footer */
body.dindarshika-child-theme .site-footer,
body.dindarshika-child-theme footer.site-info {
    color: rgba(255, 250, 240, .82);
    background: linear-gradient(135deg, var(--din-maroon-950), #260308);
}

body.dindarshika-child-theme .site-footer h2,
body.dindarshika-child-theme .site-footer h3,
body.dindarshika-child-theme .site-footer h4,
body.dindarshika-child-theme footer.site-info h2,
body.dindarshika-child-theme footer.site-info h3 { color: #fff4d9; }

body.dindarshika-child-theme .site-footer a,
body.dindarshika-child-theme footer.site-info a { color: #ffd58b; }

body.dindarshika-child-theme .site-footer a:hover,
body.dindarshika-child-theme footer.site-info a:hover { color: #fff; }

/* ==========================================================
   Marathi Dindarshika 2027 homepage template
   ========================================================== */
body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .site-content {
    display: block;
    max-width: none;
    padding: 0;
}

body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .content-area,
body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .site-main {
    width: 100%;
    max-width: none;
    margin: 0;
}

.din-home {
    overflow: hidden;
    color: var(--din-ink);
    background: var(--din-cream-50);
}

.din-home-shell {
    width: min(var(--din-container), calc(100% - 44px));
    margin: 0 auto;
}

.din-home-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(390px, 42vw, 620px);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: clamp(72px, 9vw, 128px) 24px;
    color: #fff8e9;
    background-image:
        linear-gradient(90deg, rgba(74, 7, 16, .84) 0%, rgba(74, 7, 16, .58) 46%, rgba(74, 7, 16, .08) 76%),
        var(--din-hero-image);
    background-position: center;
    background-size: cover;
}

.din-home-hero::before,
.din-home-hero::after {
    position: absolute;
    z-index: -1;
    width: 310px;
    height: 310px;
    border: 2px solid rgba(248, 199, 107, .25);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 18px rgba(248, 199, 107, .06), 0 0 0 42px rgba(248, 199, 107, .04);
}

.din-home-hero::before {
    top: -156px;
    left: -135px;
}

.din-home-hero::after {
    right: -190px;
    bottom: -205px;
}

.din-home-hero__inner {
    width: min(1040px, 100%);
    margin: 0 auto;
    text-align: center;
}

.din-home-eyebrow,
.din-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    color: var(--din-saffron-600);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.din-home-eyebrow {
    color: #ffd17d;
}

.din-home-eyebrow::before,
.din-home-eyebrow::after,
.din-home-kicker::before,
.din-home-kicker::after {
    width: 30px;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: .75;
}

body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .din-home-hero h1 {
    max-width: 1000px;
    margin: 0 auto;
    color: #fff8e9;
    font-size: clamp(48px, 7.4vw, 105px);
    line-height: 1.02;
    text-shadow: 0 4px 26px rgba(45, 0, 0, .42);
}

/* The general theme heading rule is intentionally strong; keep the hero title
   bright enough to remain readable over the sunset artwork. */
body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .din-home-hero h1 {
    color: #fff8e9;
}

.din-home-hero__subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    margin: 23px 0 3px;
    color: #fff5df;
    font-family: Georgia, "Noto Serif Devanagari", serif;
    font-size: clamp(22px, 3.2vw, 38px);
    font-weight: 700;
}

.din-home-hero__subtitle::before,
.din-home-hero__subtitle::after {
    width: clamp(55px, 9vw, 132px);
    height: 2px;
    background: var(--din-gold-500);
    content: "";
}

.din-home-hero__marathi {
    margin: 10px 0 0;
    color: #ffd999;
    font-family: "Noto Serif Devanagari", Georgia, serif;
    font-size: clamp(18px, 2.3vw, 28px);
    font-weight: 800;
}

.din-home-months {
    padding: clamp(48px, 6vw, 78px) 0;
    background:
        radial-gradient(circle at 10px 10px, rgba(244, 122, 11, .07) 1px, transparent 1.4px),
        var(--din-cream-50);
    background-size: 30px 30px, auto;
}

.din-home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.din-home-section-heading h2 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 54px);
}

.din-home-section-heading > p {
    max-width: 470px;
    margin: 0 0 7px;
    color: var(--din-muted);
    text-align: right;
}

.din-home-month-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
}

.din-home-month-card {
    position: relative;
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 22px 48px 18px 30px;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    color: var(--din-maroon-900) !important;
    background: linear-gradient(145deg, #fff, #fff8e9);
    box-shadow: 0 5px 18px rgba(92, 30, 12, .07);
    text-align: center;
    text-decoration: none !important;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.din-home-month-card::before {
    position: absolute;
    top: 50%;
    left: -72px;
    width: 142px;
    height: 142px;
    border: 2px solid rgba(244, 122, 11, .22);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 12px rgba(244, 122, 11, .06), 0 0 0 26px rgba(244, 122, 11, .035);
    transform: translateY(-50%);
}

.din-home-month-card:hover,
.din-home-month-card:focus {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-5px);
}

.din-home-month-card__name {
    font-family: Georgia, "Noto Serif Devanagari", serif;
    font-size: clamp(21px, 2.2vw, 29px);
    font-weight: 800;
}

.din-home-month-card__ornament {
    color: var(--din-gold-500);
    font-size: 14px;
    line-height: 1.2;
}

.din-home-month-card__icon {
    color: var(--din-saffron-600);
    font-size: 28px;
    line-height: 1;
}

.din-home-month-card__arrow {
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--din-maroon-700);
    font-family: Arial, sans-serif;
    font-size: 36px;
    transform: translateY(-53%);
}

.din-home-month-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(92, 30, 12, .07);
}

.din-home-month-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    color: #24191a;
    background: #fff;
    font-family: "Jost", "Noto Sans Devanagari", sans-serif;
    font-size: 17px;
    line-height: 1.5;
}

.din-home-month-table th,
.din-home-month-table td {
    width: 50%;
    padding: 10px 16px;
    border: 1px solid #3e3434;
    vertical-align: middle;
}

.din-home-month-table th {
    color: var(--din-maroon-950);
    background: #fff8e9;
    font-weight: 700;
    text-align: center;
}

.din-home-month-table td:last-child { text-align: center; }

.din-home-month-table a {
    display: inline-block;
    padding: 9px 19px;
    border-radius: 999px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--din-maroon-700), var(--din-maroon-950));
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

.din-home-month-table a:hover,
.din-home-month-table a:focus {
    color: #fff !important;
    background: var(--din-saffron-600);
}

.din-home-festival-wrap {
    padding: 0 22px 62px;
    background: var(--din-cream-50);
}

.din-home-festival {
    position: relative;
    min-height: 260px;
    display: grid;
    grid-template-columns: minmax(380px, 1.4fr) auto;
    gap: 34px;
    align-items: center;
    overflow: hidden;
    max-width: var(--din-container);
    margin: 0 auto;
    padding: 42px 54px 42px min(34vw, 430px);
    border: 1px solid #f0d495;
    border-radius: 16px;
    background-image: linear-gradient(90deg, rgba(255, 248, 225, .04), rgba(255, 249, 235, .91) 38%, rgba(255, 249, 235, .98) 100%), var(--din-festival-image);
    background-position: left center;
    background-size: cover;
    box-shadow: var(--din-shadow);
}

.din-home-festival__content {
    position: relative;
    z-index: 1;
}

.din-home-festival h2 {
    margin: 0 0 7px;
    font-size: clamp(40px, 5vw, 70px);
}

.din-home-festival p {
    max-width: 580px;
    margin: 0;
    color: #5f4b45;
    font-size: 17px;
}

.din-home-button {
    position: relative;
    z-index: 1;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 23px;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--din-maroon-700), var(--din-maroon-950));
    box-shadow: 0 10px 24px rgba(101, 11, 22, .22);
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
    transition: box-shadow .2s ease, transform .2s ease;
}

.din-home-button:hover,
.din-home-button:focus {
    color: #fff !important;
    box-shadow: 0 15px 32px rgba(101, 11, 22, .30);
    transform: translateY(-3px);
}

.din-home-button span {
    font-family: Arial, sans-serif;
    font-size: 28px;
    line-height: .8;
}

.din-home-blog {
    padding: 60px 0 82px;
    background: #fff;
}

.din-home-section-heading--blog {
    align-items: center;
}

.din-home-all-posts {
    color: var(--din-saffron-600) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.din-home-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.din-home-post-card {
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--din-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--din-shadow);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

@media (min-width: 769px) {
    .din-home-post-card {
        display: grid;
        grid-template-columns: 42% 58%;
        min-height: 158px;
    }

    .din-home-post-card__media { height: 100%; aspect-ratio: auto; }
    .din-home-post-card__media {
        width: 100%;
        min-width: 0;
        grid-column: 1;
        grid-row: 1;
    }
    .din-home-post-card__fallback { width: 100%; }
    .din-home-post-card__body {
        min-width: 0;
        grid-column: 2;
        grid-row: 1;
        background: #fff;
    }
    .din-home-post-card__body { padding: 16px 17px; }
    .din-home-post-card h3 { margin: 7px 0 5px; font-size: 18px; }
    .din-home-post-card__body > p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .din-home-post-card__category { padding: 2px 7px; font-size: 10px; }
    .din-home-post-card__meta { font-size: 11px; }
}

/* Dedicated Marathi Blog archive. */
body.blog.dindarshika-child-theme .site-content {
    display: block;
    max-width: none;
    padding: 0 0 64px;
}

body.blog.dindarshika-child-theme .content-area,
body.blog.dindarshika-child-theme .site-main {
    width: 100%;
    max-width: none;
}

.din-blog-hero {
    margin-bottom: 42px;
    padding: 58px 22px;
    color: #fff4dc;
    text-align: center;
    background:
        radial-gradient(circle at 80% 25%, rgba(244, 122, 11, .5), transparent 28%),
        linear-gradient(125deg, #650b16, #8b151e 52%, #e95b08);
}

.din-blog-hero__inner { width: min(860px, 100%); margin: 0 auto; }
.din-blog-hero__kicker { margin: 0 0 7px; color: #ffd27b; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.blog.dindarshika-child-theme .din-blog-hero h1 { margin: 0; color: #fff9ec; font-size: clamp(34px, 4vw, 48px); font-weight: 600; }
.din-blog-hero p:last-child { max-width: 650px; margin: 9px auto 0; font-size: 16px; }

body.blog.dindarshika-child-theme .site-main {
    width: min(var(--din-container), calc(100% - 44px));
    display: block;
    margin: 0 auto;
}

body.blog.dindarshika-child-theme .din-blog-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

body.blog.dindarshika-child-theme .gb-element-91cdd0e1 { width: 100%; }
body.blog.dindarshika-child-theme .gb-element-058f5b7e { display: none; }

body.blog.dindarshika-child-theme .gb-looper-413bd6c6 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.blog.dindarshika-child-theme .gb-loop-item-08b3672a {
    overflow: hidden;
    border: 1px solid var(--din-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--din-shadow);
}

body.blog.dindarshika-child-theme .gb-loop-item-08b3672a > a:first-child {
    display: block;
    aspect-ratio: 16 / 9;
    background: linear-gradient(rgba(82, 6, 14, .12), rgba(82, 6, 14, .22)), url("assets/images/hero-2027.png") center / cover;
}

body.blog.dindarshika-child-theme .gb-media-f9b51dc2 {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
}

body.blog.dindarshika-child-theme .gb-element-01d8c3cd { padding: 20px 21px 22px; }
body.blog.dindarshika-child-theme .gb-text-10284488 { margin: 10px 0 8px; font-size: 24px; overflow-wrap: normal; word-break: normal; }
body.blog.dindarshika-child-theme .gb-text-c4295256 { font-size: 14px; }
body.blog.dindarshika-child-theme .gb-element-66a1e65d { margin-top: 28px; }

body.blog.dindarshika-child-theme .site-main > article {
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid var(--din-border);
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--din-shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.blog.dindarshika-child-theme .site-main > article:hover { transform: translateY(-4px); box-shadow: var(--din-shadow-hover); }
body.blog.dindarshika-child-theme .site-main > article .post-image { margin: 0; }
body.blog.dindarshika-child-theme .site-main > article .post-image img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; }
body.blog.dindarshika-child-theme .site-main > article .inside-article { padding: 20px 21px 22px; border: 0; border-radius: 0; box-shadow: none; }
body.blog.dindarshika-child-theme .site-main > article .entry-title { margin-bottom: 8px; font-size: 24px; }
body.blog.dindarshika-child-theme .site-main > article .entry-summary,
body.blog.dindarshika-child-theme .site-main > article .entry-content { margin-top: 10px; font-size: 14px; }
body.blog.dindarshika-child-theme .site-main > article .entry-meta { font-size: 12px; }
body.blog.dindarshika-child-theme .paging-navigation { grid-column: 1 / -1; }

@media (max-width: 1024px) {
    body.blog.dindarshika-child-theme .gb-looper-413bd6c6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .din-blog-hero { margin-bottom: 28px; padding: 42px 18px; }
    body.blog.dindarshika-child-theme .site-main { width: min(100% - 28px, var(--din-container)); }
    body.blog.dindarshika-child-theme .gb-looper-413bd6c6 { grid-template-columns: 1fr; gap: 17px; }
}

.din-home-post-card:hover {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-5px);
}

.din-home-post-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #7d101a;
}

.din-home-post-card__media img,
.din-home-post-card__fallback {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.din-home-post-card__fallback {
    background-image: linear-gradient(rgba(82, 6, 14, .12), rgba(82, 6, 14, .22)), var(--din-card-image);
    background-position: center;
    background-size: cover;
}

.din-home-post-card:hover .din-home-post-card__media img,
.din-home-post-card:hover .din-home-post-card__fallback {
    transform: scale(1.04);
}

.din-home-post-card__body {
    padding: 21px 22px 23px;
}

.din-home-post-card__category {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    color: var(--din-maroon-800);
    background: #fff0c9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.din-home-post-card h3 {
    margin: 11px 0 8px;
    font-size: clamp(21px, 2.3vw, 28px);
}

.din-home-post-card h3 a {
    color: var(--din-maroon-900) !important;
    text-decoration: none;
}

.din-home-post-card__body > p {
    margin: 0;
    color: var(--din-muted);
}

.din-home-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    color: #8d746d;
    font-size: 13px;
    font-weight: 700;
}

.din-home-post-card__meta a {
    color: var(--din-saffron-600) !important;
    font-weight: 900;
    text-decoration: none;
}

.din-home-empty {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px dashed var(--din-border);
    border-radius: 12px;
    color: var(--din-muted);
    background: var(--din-cream-100);
    text-align: center;
}

/* ==========================================================
   Page 3928: premium resource/blog landing-page treatment
   ========================================================== */
body.page-id-3928.dindarshika-child-theme .site-content {
    max-width: none;
    padding: 0 0 60px;
}

body.page-id-3928.dindarshika-child-theme #primary,
body.page-id-3928.dindarshika-child-theme .site-main {
    width: 100%;
    max-width: none;
    margin: 0;
}

body.page-id-3928.dindarshika-child-theme .inside-article {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.page-id-3928.dindarshika-child-theme .entry-header {
    display: none;
}

body.page-id-3928.dindarshika-child-theme .entry-content {
    margin-top: 0;
}

/* Hero and search */
body.page-id-3928 .gb-element-e6fe4aec {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 82px 24px;
    background:
        radial-gradient(circle at 79% 37%, rgba(255, 207, 95, .92) 0 4.5%, rgba(244, 122, 11, .22) 5% 18%, transparent 31%),
        linear-gradient(115deg, #5d0710 0%, #8d111b 37%, #db4508 73%, #f47a0b 100%);
}

body.page-id-3928 .gb-element-e6fe4aec::before,
body.page-id-3928 .gb-element-e6fe4aec::after {
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    border: 2px solid rgba(255, 220, 145, .19);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 20px rgba(255, 220, 145, .05), 0 0 0 44px rgba(255, 220, 145, .035);
}

body.page-id-3928 .gb-element-e6fe4aec::before {
    top: -180px;
    left: -130px;
}

body.page-id-3928 .gb-element-e6fe4aec::after {
    right: -145px;
    bottom: -205px;
}

body.page-id-3928 .gb-element-2be92fd7 {
    width: min(960px, 100%);
    margin: 0 auto;
}

body.page-id-3928 .gb-element-d72401f9 {
    text-align: center;
}

body.page-id-3928 .gb-text-5c2c4b63 {
    max-width: 880px;
    margin: 0 auto 18px;
    color: #fff8e9;
    font-size: clamp(44px, 6vw, 78px);
    text-shadow: 0 4px 24px rgba(64, 0, 0, .30);
}

body.page-id-3928 .gb-text-a8a9a316 {
    max-width: 750px;
    margin: 0 auto;
    color: rgba(255, 250, 240, .90);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

body.page-id-3928 .gb-element-1e5ad471 {
    width: min(670px, calc(100% - 32px));
    margin: -30px auto 0;
    position: relative;
    z-index: 5;
}

body.page-id-3928 .wp-block-search {
    margin: 0;
}

body.page-id-3928 .wp-block-search__inside-wrapper {
    min-height: 62px;
    padding: 7px 18px 7px 56px;
    border: 1px solid rgba(245, 166, 35, .48);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(89, 15, 17, .19);
}

body.page-id-3928 .gb-element-1e5ad471::before {
    position: absolute;
    top: 50%;
    left: 23px;
    z-index: 2;
    width: 17px;
    height: 17px;
    border: 2px solid var(--din-maroon-700);
    border-radius: 50%;
    content: "";
    transform: translateY(-58%);
}

body.page-id-3928 .gb-element-1e5ad471::after {
    position: absolute;
    top: calc(50% + 6px);
    left: 38px;
    z-index: 2;
    width: 8px;
    height: 2px;
    background: var(--din-maroon-700);
    content: "";
    transform: rotate(45deg);
}

body.page-id-3928 .wp-block-search__input {
    min-height: 46px;
    padding: 8px 0;
    border: 0;
    color: var(--din-ink);
    background: transparent;
    box-shadow: none !important;
    font-size: 17px;
}

/* Resource/category tiles */
body.page-id-3928 .gb-element-cac8849d {
    padding: 70px 22px 42px;
    background: var(--din-cream-50);
}

body.page-id-3928 .gb-element-5ef8f88c {
    max-width: var(--din-container);
    margin: 0 auto;
}

body.page-id-3928 .gb-element-540278cc {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
}

body.page-id-3928 .gb-element-540278cc > a {
    min-height: 142px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    color: var(--din-maroon-900) !important;
    background: linear-gradient(145deg, #fff, #fff8e9);
    box-shadow: 0 6px 20px rgba(92, 30, 12, .07);
    text-align: center;
    text-decoration: none;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.page-id-3928 .gb-element-540278cc > a:hover,
body.page-id-3928 .gb-element-540278cc > a:focus {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-5px);
}

body.page-id-3928 .gb-element-540278cc > a h2 {
    margin: 0;
    color: var(--din-saffron-600);
    font-size: 30px;
    line-height: 1;
}

body.page-id-3928 .gb-element-540278cc > a .gb-text {
    color: var(--din-maroon-900);
    font-size: 15px;
    font-weight: 800;
}

/* Tabs and posts */
body.page-id-3928 .gb-element-d47858ab {
    padding: 34px 22px 72px;
    background:
        linear-gradient(rgba(255, 250, 240, .9), rgba(255, 250, 240, .9)),
        radial-gradient(circle at 10px 10px, rgba(244, 122, 11, .12) 1px, transparent 1.5px);
    background-size: auto, 26px 26px;
}

body.page-id-3928 .gb-element-044bb89f {
    max-width: var(--din-container);
    margin: 0 auto;
}

body.page-id-3928 .gb-tabs__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 28px;
    padding: 7px;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(92, 30, 12, .06);
    scrollbar-width: thin;
}

body.page-id-3928 .gb-tabs__menu-item {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--din-muted);
    background: transparent;
    cursor: pointer;
    font-weight: 800;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

body.page-id-3928 .gb-tabs__menu-item:hover,
body.page-id-3928 .gb-tabs__menu-item:focus,
body.page-id-3928 .gb-tabs__menu-item.gb-block-is-current {
    border-color: var(--din-maroon-700);
    color: #fff;
    background: linear-gradient(135deg, var(--din-maroon-700), var(--din-maroon-950));
}

body.page-id-3928 .gb-tabs__item > [class*="gb-looper-"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.page-id-3928 .gb-tabs__item .gb-loop-item {
    overflow: hidden;
    border: 1px solid var(--din-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--din-shadow);
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

body.page-id-3928 .gb-tabs__item .gb-loop-item:hover {
    border-color: var(--din-gold-300);
    box-shadow: var(--din-shadow-hover);
    transform: translateY(-5px);
}

body.page-id-3928 .gb-tabs__item .gb-loop-item [class*="gb-element-"] {
    box-sizing: border-box;
}

body.page-id-3928 .gb-tabs__item .gb-loop-item .gb-button {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--din-maroon-800) !important;
    background: #fff1cf;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

body.page-id-3928 .gb-tabs__item .gb-loop-item h2 {
    margin: 10px 0;
    font-size: clamp(22px, 2.3vw, 30px);
}

body.page-id-3928 .gb-tabs__item .gb-loop-item p {
    color: var(--din-muted);
}

body.page-id-3928 .gb-text-f24c2b41 {
    color: #8d746d;
    font-size: 13px;
    font-weight: 700;
}

/* Mobile bottom menu */
.sticky-footer-menu {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 23235;
    min-height: 60px;
    border-top: 1px solid rgba(130, 17, 29, .12);
    background: rgba(255, 253, 248, .97);
    box-shadow: 0 -8px 24px rgba(69, 18, 8, .11);
    backdrop-filter: blur(10px);
}

@media (min-width: 960px) {
    .sticky-footer-menu { display: none !important; }
}

/* Responsive */
@media (max-width: 1024px) {
    .din-header-links { gap: 20px; }

    .din-home-month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .din-home-festival {
        grid-template-columns: 1fr;
        padding-left: min(43vw, 390px);
    }

    .din-home-festival .din-home-button { justify-self: start; }

    .din-home-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .dindarshika-month-grid,
    .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .dindarshika-blog-grid,
    body.dindarshika-child-theme .gb-looper-413bd6c6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .dindarshika-festival-banner,
    .festival-banner { grid-template-columns: 1fr 1.4fr; }

    .dindarshika-festival-banner > :last-child,
    .festival-banner > :last-child {
        grid-column: 1 / -1;
        justify-self: start;
    }

    body.page-id-3928 .gb-element-540278cc {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-id-3928 .gb-tabs__item > [class*="gb-looper-"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 782px) {
    body.admin-bar.dindarshika-child-theme .main-navigation { top: 46px; }
}

@media (max-width: 768px) {
    body.dindarshika-child-theme .main-navigation .inside-navigation {
        min-height: 0;
        flex-wrap: wrap;
        gap: 4px 14px;
        padding: 10px 14px 0;
    }

    .din-brand { gap: 9px; }
    .din-logo-mark {
        width: 43px;
        height: 38px;
        font-size: 20px;
    }
    .din-brand-text { font-size: clamp(22px, 7vw, 31px); }

    .din-header-links {
        order: 2;
        width: calc(100% + 28px);
        min-height: 46px;
        gap: 24px;
        overflow-x: auto;
        margin: 7px -14px 0;
        padding: 0 16px;
        border-top: 1px solid rgba(130, 17, 29, .08);
        scrollbar-width: none;
    }

    .din-header-links::-webkit-scrollbar { display: none; }
    .din-header-links a {
        flex: 0 0 auto;
        min-height: 46px;
        font-size: 14px;
    }
    .din-header-links a::after { bottom: 4px; }

    body.dindarshika-child-theme .main-navigation .main-nav ul li a {
        padding-right: 20px;
        padding-left: 20px;
    }

    body.dindarshika-child-theme .main-navigation .main-nav ul li a::after { display: none; }

    body.dindarshika-child-theme .site-content { padding: 20px 14px 86px; }

    body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .site-content {
        padding: 0 0 86px;
    }

    .din-home-shell { width: min(100% - 28px, var(--din-container)); }

    .din-home-hero {
        min-height: 430px;
        padding: 58px 16px;
        background-image:
            linear-gradient(90deg, rgba(74, 7, 16, .83), rgba(74, 7, 16, .30)),
            var(--din-hero-image);
        background-position: 64% center;
    }

    .din-home-eyebrow { letter-spacing: .1em; }

    .din-home-hero h1 { font-size: clamp(43px, 12vw, 70px); }

    .din-home-hero__subtitle {
        gap: 9px;
        font-size: clamp(20px, 6vw, 30px);
    }

    .din-home-hero__subtitle::before,
    .din-home-hero__subtitle::after { width: 34px; }

    .din-home-section-heading {
        display: block;
        margin-bottom: 21px;
    }

    .din-home-section-heading > p {
        margin-top: 8px;
        text-align: left;
    }

    .din-home-month-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .din-home-month-card {
        min-height: 116px;
        padding: 16px 36px 15px 18px;
    }

    .din-home-festival-wrap { padding: 0 14px 50px; }

    .din-home-festival {
        min-height: 420px;
        grid-template-columns: 1fr;
        align-content: end;
        gap: 18px;
        padding: 190px 22px 26px;
        background-image: linear-gradient(0deg, rgba(255, 249, 235, 1) 0%, rgba(255, 249, 235, .96) 52%, rgba(255, 249, 235, .08) 76%), var(--din-festival-image);
        background-position: 20% center;
    }

    .din-home-festival .din-home-button {
        width: 100%;
        justify-self: stretch;
        white-space: normal;
        text-align: center;
    }

    .din-home-section-heading--blog {
        display: flex;
        align-items: flex-end;
    }

    .din-home-post-grid { grid-template-columns: 1fr; }

    .dindarshika-hero {
        min-height: 300px;
        padding: 52px 18px;
    }

    .dindarshika-hero .dindarshika-hero-subtitle::before,
    .dindarshika-hero .dindarshika-hero-subtitle::after { width: 38px; }

    .dindarshika-month-grid,
    .month-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 20px 12px;
    }

    .dindarshika-month-card,
    .month-card {
        min-height: 106px;
        padding: 16px 34px 16px 18px;
    }

    .dindarshika-blog-grid,
    body.dindarshika-child-theme .gb-looper-413bd6c6 { grid-template-columns: 1fr; }

    .dindarshika-festival-banner,
    .festival-banner {
        grid-template-columns: 1fr;
        gap: 17px;
        margin-right: 12px;
        margin-left: 12px;
        text-align: center;
    }

    .dindarshika-festival-banner > :last-child,
    .festival-banner > :last-child {
        grid-column: auto;
        justify-self: center;
    }

    body.dindarshika-child-theme .rank-math-breadcrumb p,
    body.dindarshika-child-theme .comments-area {
        margin-right: 0;
        margin-left: 0;
    }

    body.page-id-3928.dindarshika-child-theme .site-content {
        padding-right: 0;
        padding-left: 0;
    }

    body.page-id-3928 .gb-element-e6fe4aec {
        min-height: 390px;
        padding: 64px 18px 82px;
    }

    body.page-id-3928 .gb-text-5c2c4b63 {
        font-size: clamp(38px, 11vw, 58px);
    }

    body.page-id-3928 .gb-element-1e5ad471 {
        margin-top: -31px;
    }

    body.page-id-3928 .gb-element-cac8849d {
        padding: 65px 14px 30px;
    }

    body.page-id-3928 .gb-element-540278cc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    body.page-id-3928 .gb-element-540278cc > a {
        min-height: 124px;
        padding: 15px 8px;
    }

    body.page-id-3928 .gb-element-d47858ab {
        padding: 24px 14px 56px;
    }

    body.page-id-3928 .gb-tabs__menu {
        margin-bottom: 20px;
    }

    body.page-id-3928 .gb-tabs__item > [class*="gb-looper-"] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dindarshika-month-grid,
    .month-grid { grid-template-columns: 1fr; }

    .dindarshika-month-card,
    .month-card { min-height: 94px; }

    .din-home-month-grid { grid-template-columns: 1fr; }

    .din-home-month-card { min-height: 102px; }

    .din-home-section-heading--blog {
        display: block;
    }

    .din-home-all-posts {
        display: inline-block;
        margin-top: 7px;
    }

    body.page-id-3928 .gb-element-540278cc {
        grid-template-columns: 1fr;
    }

    body.page-id-3928 .gb-element-540278cc > a {
        min-height: 100px;
    }
}

/* ==========================================================
   Compact homepage proportions — calibrated to the supplied
   Calendar Tamil reference while retaining Dindarshika styling.
   ========================================================== */
body.dindarshika-child-theme .main-navigation .inside-navigation {
    min-height: 60px;
}

.din-logo-mark {
    width: 40px;
    height: 35px;
    border-width: 2px;
    border-radius: 7px;
    font-size: 19px;
}

.din-logo-mark::before,
.din-logo-mark::after {
    top: -7px;
    width: 4px;
    height: 10px;
    border-width: 1.5px;
}

.din-brand { gap: 10px; }
.din-brand-text { font-size: clamp(23px, 2.2vw, 31px); }
.din-header-links { gap: clamp(18px, 2.4vw, 34px); min-height: 60px; }
.din-header-links a { font-size: 14px; }
.din-header-links a::after { bottom: 8px; height: 2px; }

.din-home-hero {
    min-height: clamp(260px, 27vw, 330px);
    padding: clamp(38px, 5vw, 58px) 24px;
}

body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .din-home-hero h1 {
    max-width: 760px;
    font-size: clamp(38px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.2;
}

.din-home-eyebrow { font-size: 11px; }
.din-home-hero__subtitle {
    gap: 12px;
    margin-top: 15px;
    font-size: clamp(19px, 2.2vw, 28px);
}
.din-home-hero__subtitle::before,
.din-home-hero__subtitle::after { width: clamp(38px, 6vw, 82px); }
.din-home-hero__marathi { margin-top: 5px; font-size: clamp(16px, 1.7vw, 21px); }

.din-home-months { padding: 38px 0 44px; }
.din-home-section-heading { margin-bottom: 20px; }
.din-home-section-heading h2 { font-size: clamp(29px, 3vw, 40px); }
.din-home-section-heading > p { font-size: 14px; }
.din-home-month-grid { gap: 14px; }
.din-home-month-card {
    min-height: 102px;
    padding: 16px 38px 14px 24px;
}
.din-home-month-card__name { font-size: clamp(18px, 1.7vw, 23px); }
.din-home-month-card__icon { font-size: 22px; }
.din-home-month-card__arrow { right: 14px; font-size: 29px; }
.din-home-month-card::before { left: -61px; width: 120px; height: 120px; }

.din-home-festival-wrap { padding-bottom: 44px; }
.din-home-festival {
    min-height: 170px;
    grid-template-columns: minmax(330px, 1.4fr) auto;
    gap: 24px;
    padding: 26px 38px 26px min(29vw, 350px);
    border-radius: 12px;
}
.din-home-festival h2 { font-size: clamp(32px, 3.5vw, 46px); }
.din-home-festival p { font-size: 15px; }
.din-home-button { min-height: 42px; padding: 10px 18px; font-size: 14px; }

.din-home-blog { padding: 42px 0 58px; }
.din-home-post-card__body { padding: 17px 18px 19px; }
.din-home-post-card h3 { font-size: 22px; }

/* Restore the existing GeneratePress/Element footer and only re-skin it. */
body.dindarshika-child-theme .site-footer {
    display: block;
    color: rgba(255, 250, 240, .86);
    background: linear-gradient(135deg, var(--din-maroon-950), #30050a);
    font-size: 14px;
}
body.dindarshika-child-theme .footer-widgets-container { padding-top: 36px; padding-bottom: 30px; }
body.dindarshika-child-theme .site-footer h2,
body.dindarshika-child-theme .site-footer h3,
body.dindarshika-child-theme .site-footer h4 { color: #fff4d9; font-size: 18px; }
body.dindarshika-child-theme .site-info { padding-top: 14px; padding-bottom: 14px; background: #260308; }

/* Re-skin the existing GeneratePress Footer Widgets Element. */
body.dindarshika-child-theme .gb-element-e90366a2 {
    margin-top: 0 !important;
    border-top: 0 !important;
    color: #fff4dc;
    background:
        radial-gradient(circle at 8% 0%, rgba(244, 122, 11, .24), transparent 32%),
        linear-gradient(135deg, #650b16 0%, #3a050b 58%, #260308 100%) !important;
}

body.dindarshika-child-theme .gb-element-7d1a147d {
    padding-top: 40px !important;
    padding-bottom: 18px !important;
}

.din-footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
    color: #fff4d9;
}

.din-footer-logo-mark {
    width: 44px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 2px solid #ffb12b;
    border-radius: 8px;
    color: #9a1519;
    background: linear-gradient(145deg, #ffc64f, #f47a0b);
    box-shadow: inset 0 0 0 2px rgba(255, 242, 190, .45);
    font: 700 22px/1 "Noto Sans Devanagari", sans-serif;
}

.din-footer-brand-text {
    font: 600 clamp(23px, 2.2vw, 31px)/1 "Jost", sans-serif;
    letter-spacing: -.02em;
}

body.dindarshika-child-theme .gb-element-e90366a2 p,
body.dindarshika-child-theme .gb-element-e90366a2 div { color: #f8ead3; }

body.dindarshika-child-theme .gb-element-e90366a2 h2 {
    color: #ffe2a1 !important;
    border-color: rgba(255, 199, 82, .5) !important;
    background: rgba(255, 255, 255, .04);
}

body.dindarshika-child-theme .gb-element-e90366a2 a {
    color: #ffd27b !important;
}

body.dindarshika-child-theme .gb-element-e90366a2 a:hover,
body.dindarshika-child-theme .gb-element-e90366a2 a:focus {
    color: #fff !important;
}

.din-footer-explore {
    max-width: 340px;
}

.din-footer-explore h2 {
    margin: 0 0 12px;
    color: #ffe2a1 !important;
    font: 600 21px/1.25 "Jost", sans-serif;
}

.din-footer-explore p {
    margin: 0 0 18px;
    color: #f8ead3 !important;
    font-size: 15px;
    line-height: 1.65;
}

.din-footer-explore nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.din-footer-explore nav a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 210, 123, .38);
    border-radius: 999px;
    background: rgba(255, 255, 255, .055);
    color: #ffd27b !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.din-footer-explore nav a:hover,
.din-footer-explore nav a:focus {
    border-color: #ffd27b;
    background: #ffd27b;
    color: #650b16 !important;
}

body.dindarshika-child-theme .gb-element-281600c0 {
    background: #200206 !important;
}

body.dindarshika-child-theme .gb-element-281600c0,
body.dindarshika-child-theme .gb-element-281600c0 * { color: #ffe8bd !important; }

@media (max-width: 768px) {
    body.dindarshika-child-theme .main-navigation { width: 100%; }
    body.dindarshika-child-theme .main-navigation .inside-navigation {
        position: relative;
        width: 100%;
        min-height: 56px;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 8px 14px;
    }
    .din-logo-mark { width: 34px; height: 31px; font-size: 16px; }
    .din-brand-text { font-size: 21px; }
    .din-menu-toggle { display: inline-flex; }
    .din-header-links {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1002;
        width: auto;
        min-height: 0;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 8px;
        overflow: visible;
        margin: 0;
        padding: 8px 12px;
        border-top: 1px solid var(--din-border);
        background: #fffdf8;
        box-shadow: 0 12px 22px rgba(69, 18, 8, .10);
    }
    .din-header-links.is-open { display: grid; }
    .din-header-links a {
        min-height: 36px;
        padding: 0 8px;
        border-bottom: 1px solid rgba(130, 17, 29, .08);
        font-size: 13px;
    }
    .din-header-links a::after { display: none; }
    .din-home-hero { min-height: 360px; padding: 45px 18px; }
    body.page-template-page-marathi-dindarshika-2027.dindarshika-child-theme .din-home-hero h1 { font-size: clamp(40px, 12.5vw, 50px); }
    .din-home-hero__subtitle { font-size: 19px; }
    .din-home-months { padding: 32px 0 38px; }
    .din-home-month-card { min-height: 94px; }
    .din-home-festival {
        width: 100%;
        min-width: 0;
        min-height: 190px;
        grid-template-columns: minmax(0, 1fr);
        padding: 25px 22px;
    }
    .din-home-festival__content { width: 100%; min-width: 0; }
    .din-home-festival .din-home-button {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }
    .din-home-festival h2 { font-size: 36px; }
    .din-home-blog { padding: 36px 0 48px; }
    .din-home-month-table { font-size: 17px; }
    .din-home-month-table th,
    .din-home-month-table td { padding: 9px 10px; }
    .din-home-month-table a { padding: 8px 15px; }
    body.dindarshika-child-theme .gb-element-7d1a147d { padding-top: 30px !important; }
    .din-footer-logo-mark { width: 38px; height: 35px; font-size: 19px; }
    .din-footer-brand-text { font-size: 23px; }
    .din-footer-explore { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
