/* ==========================================================================
   MARATHI — Marathi literary & calendar theme for Varient (based on Sampada)
   A warm "palm-leaf & marigold" editorial design inspired by traditional
   traditional manuscript art: ivory paper, deep kumkum maroon, turmeric gold.
   Built on top of the classic Varient base (base-classic.min.css).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (Noto Serif / Sans Devanagari, self-hosted, OFL)
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Marathi Serif';
    src: url('../fonts/noto-serif-devanagari-devanagari-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Marathi Serif';
    src: url('../fonts/noto-serif-devanagari-latin-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Marathi Sans';
    src: url('../fonts/noto-sans-devanagari-devanagari-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}

@font-face {
    font-family: 'Marathi Sans';
    src: url('../fonts/noto-sans-devanagari-latin-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   2. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --smp-paper: #FBF6EC;
    --smp-paper-deep: #F4E9D6;
    --smp-surface: #FFFDF8;
    --smp-surface-2: #FDF7EA;
    --smp-ink: #2B211B;
    --smp-ink-soft: #4E3F34;
    --smp-muted: #7C6A5B;
    --smp-faint: #A08D7B;
    --smp-maroon: #7A1F2B;
    --smp-maroon-deep: #4A0F18;
    --smp-maroon-soft: #9C3B45;
    --smp-saffron: #BE7422;
    --smp-saffron-soft: #E7A94F;
    --smp-gold: #C9A227;
    --smp-gold-soft: #EBD49A;
    --smp-green: #3F6B4F;
    --smp-line: #E7D8C0;
    --smp-line-strong: #D6C0A0;
    --smp-tint: #F6EAD5;
    --smp-tint-maroon: #F8E9E6;
    --smp-shadow-sm: 0 2px 8px rgba(74, 31, 28, .05);
    --smp-shadow: 0 14px 34px rgba(74, 31, 28, .09);
    --smp-shadow-lg: 0 24px 60px rgba(74, 31, 28, .14);
    --smp-radius-sm: 10px;
    --smp-radius: 16px;
    --smp-radius-lg: 22px;
    --smp-serif: 'Marathi Serif', 'Noto Serif Devanagari', 'Tiro Devanagari Marathi', 'Nirmala UI', 'Mangal', Georgia, serif;
    --smp-sans: 'Marathi Sans', 'Noto Sans Devanagari', 'Mukta', 'Nirmala UI', 'Mangal', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --smp-ease: cubic-bezier(.22, .61, .36, 1);

    /* Re-map Varient's runtime variables to the Sampada palette. */
    --vr-theme-color: #BE7422;
    --vr-block-color: #7A1F2B;
    --vr-mega-menu-color: #7A1F2B;
    --vr-subscribe-button-color: #7A1F2B;
    --vr-card-border-color: var(--smp-line);
    --vr-card-shadow: var(--smp-shadow-sm);
    --vr-text-main: var(--smp-ink);
    --vr-text-muted: var(--smp-muted);
    --vr-footer-bg: #3B0F16;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */
body.smp-body {
    background-color: var(--smp-paper);
    background-image:
            radial-gradient(1100px 520px at 12% -8%, rgba(231, 169, 79, .16), transparent 60%),
            radial-gradient(900px 480px at 92% 4%, rgba(122, 31, 43, .07), transparent 62%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--smp-ink);
    font-family: var(--smp-sans);
    font-size: 17px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.smp-body h1,
body.smp-body h2,
body.smp-body h3,
body.smp-body h4,
body.smp-body h5,
body.smp-body h6 {
    font-family: var(--smp-serif);
    font-weight: 600;
    color: var(--smp-ink);
    line-height: 1.45;
    letter-spacing: 0;
}

body.smp-body a {
    color: var(--smp-maroon);
    text-decoration: none;
    transition: color .2s var(--smp-ease);
}

body.smp-body a:hover,
body.smp-body a:focus {
    color: var(--smp-saffron);
}

body.smp-body img {
    max-width: 100%;
}

body.smp-body ::selection {
    background: var(--smp-gold-soft);
    color: var(--smp-maroon-deep);
}

.smp-main {
    padding-bottom: 10px;
}

.container-xl {
    max-width: 1240px;
}

/* Scrollbar */
body.smp-body::-webkit-scrollbar {
    width: 11px;
}

body.smp-body::-webkit-scrollbar-track {
    background: var(--smp-paper-deep);
}

body.smp-body::-webkit-scrollbar-thumb {
    background: var(--smp-line-strong);
    border-radius: 8px;
    border: 2px solid var(--smp-paper-deep);
}

body.smp-body::-webkit-scrollbar-thumb:hover {
    background: var(--smp-saffron-soft);
}

/* --------------------------------------------------------------------------
   4. Top utility bar
   -------------------------------------------------------------------------- */
.smp-topbar {
    background: var(--smp-maroon-deep);
    color: #F1DFC2;
    border-bottom: 1px solid rgba(235, 212, 154, .22);
}

.smp-topbar .topbar {
    background: transparent;
    color: #F1DFC2;
    min-height: 40px;
    font-size: 12.5px;
    letter-spacing: .04em;
}

.smp-topbar .topbar a,
.smp-topbar .topbar .dropdown-toggle {
    color: #F1DFC2;
}

.smp-topbar .topbar a:hover,
.smp-topbar .topbar .dropdown-toggle:hover {
    color: #FFE9BF;
}

.smp-topbar .topbar .left-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.smp-topbar .topbar .left-menu a {
    position: relative;
    padding: 2px 0;
}

.smp-topbar .topbar .left-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: var(--smp-gold-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--smp-ease);
}

.smp-topbar .topbar .left-menu a:hover::after {
    transform: scaleX(1);
}

.smp-topbar .topbar .dropdown-menu {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius-sm);
    box-shadow: var(--smp-shadow);
}

.smp-topbar .topbar .dropdown-menu li a {
    color: var(--smp-ink);
}

.smp-topbar .topbar .theme-toggle-btn,
.smp-topbar .topbar .theme-icon {
    display: none !important;
}

/* --------------------------------------------------------------------------
   5. Masthead
   -------------------------------------------------------------------------- */
.smp-masthead {
    position: relative;
    padding: 30px 0 0;
    background: transparent;
}

.smp-masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.smp-masthead-side {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--smp-muted);
}

.smp-masthead-side.end {
    justify-content: flex-end;
    text-align: right;
}

.smp-masthead-side .smp-side-strong {
    color: var(--smp-maroon);
    font-weight: 600;
}

.smp-masthead-brand {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.smp-masthead-brand img {
    max-height: 70px;
    width: auto;
}

.smp-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background:
            radial-gradient(circle at 32% 28%, #9C3B45, #7A1F2B 58%, #4A0F18 100%);
    color: #F7E6C2;
    font-family: var(--smp-serif);
    font-size: 34px;
    line-height: 1;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, .65), 0 0 0 5px rgba(201, 162, 39, .12), var(--smp-shadow-sm);
    padding-bottom: 4px;
}

.smp-brand-name {
    font-family: var(--smp-serif);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
    color: var(--smp-maroon-deep);
    letter-spacing: .01em;
}

.smp-brand-sub {
    font-size: 10px;
    letter-spacing: .38em;
    text-transform: uppercase;
    color: var(--smp-saffron);
}

.smp-tagline {
    margin: 14px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 14.5px;
    letter-spacing: .06em;
    color: var(--smp-muted);
    text-align: center;
}

.smp-tagline::before,
.smp-tagline::after {
    content: "";
    height: 1px;
    width: clamp(28px, 7vw, 96px);
    background: linear-gradient(90deg, transparent, var(--smp-line-strong));
}

.smp-tagline::after {
    background: linear-gradient(90deg, var(--smp-line-strong), transparent);
}

.smp-masthead-rule {
    height: 6px;
    margin-top: 18px;
    border-top: 1px solid var(--smp-line-strong);
    border-bottom: 1px solid var(--smp-line);
    position: relative;
}

.smp-masthead-rule::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--smp-saffron);
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 0 0 4px var(--smp-paper);
}

/* masthead logo + separators */
.smp-logo {
    max-height: 72px;
    width: auto;
}

.smp-side-sep {
    opacity: .4;
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */
.smp-navwrap {
    background: rgba(251, 246, 236, .96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--smp-line);
    z-index: 1030;
}

.smp-navwrap .mega-menu-wrapper {
    --mn-bg-nav: transparent;
    --mn-bg-dropdown: var(--smp-surface);
    --mn-bg-sidebar: var(--smp-surface-2);
    --mn-bg-hover: var(--smp-tint);
    --mn-bg-card: var(--smp-tint);
    --mn-bg-input: var(--smp-surface);
    --mn-text-main: var(--smp-ink);
    --mn-text-sub: var(--smp-ink-soft);
    --mn-text-muted: var(--smp-muted);
    --mn-border: var(--smp-line);
    --mn-font-size-nav: 15.5px;
    --mn-font-weight-nav: 600;
    --mn-radius-s: 10px;
    --mn-radius-m: 12px;
    --mn-shadow: var(--smp-shadow);
    --mn-navbar-shadow: none;
    --mn-margin-bottom: 0;
    --mn-min-height: 56px;
    --mn-padding-nav-link: 1.05rem .85rem;
    --mn-border-bottom-nav-link: 0;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0;
}

.smp-navwrap .navbar {
    min-height: 56px;
}

.smp-navwrap .navbar-brand {
    display: none;
}

.smp-navwrap .navbar-collapse {
    position: relative;
    justify-content: center;
}

.smp-navwrap .navbar-nav {
    margin: 0 auto !important;
    gap: 2px;
}

.smp-navwrap .navbar-nav .nav-link {
    font-family: var(--smp-serif);
    font-size: 15.5px;
    font-weight: 600;
    color: var(--smp-ink-soft);
    border-radius: 8px;
    position: relative;
}

.smp-navwrap .navbar-nav .nav-link:hover,
.smp-navwrap .navbar-nav .nav-link:focus,
.smp-navwrap .navbar-nav .nav-link.active {
    color: var(--smp-maroon);
}

.smp-navwrap #mega-menu-wrapper .navbar-nav > .active > .nav-link::after,
.smp-navwrap #mega-menu-wrapper .navbar-nav .nav-item.dropdown:hover .nav-link::after,
.smp-navwrap #mega-menu-wrapper .navbar-nav > .nav-item > .nav-link:hover::after {
    height: 2px;
    left: .85rem;
    right: .85rem;
    bottom: 4px;
    background: var(--smp-gold);
    border-radius: 2px;
}

.smp-navwrap .navbar-collapse > .d-flex {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0 !important;
}

.smp-navwrap .search-icon-btn {
    color: var(--smp-maroon);
    border: 1px solid var(--smp-line);
    background: var(--smp-surface);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .22s var(--smp-ease);
}

.smp-navwrap .search-icon-btn:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

.smp-navwrap .btn-nav-subscribe {
    background: var(--smp-maroon) !important;
    border-color: var(--smp-maroon) !important;
    color: #FFF6E4 !important;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13.5px;
    box-shadow: var(--smp-shadow-sm);
}

.smp-navwrap .btn-nav-subscribe:hover {
    background: var(--smp-maroon-deep) !important;
    border-color: var(--smp-maroon-deep) !important;
    color: #FFF6E4 !important;
}

/* dropdown polish */
.smp-body .dropdown-menu {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius-sm);
    box-shadow: var(--smp-shadow);
    padding: 8px;
}

.smp-body .dropdown-item {
    border-radius: 8px;
    font-size: 14.5px;
    color: var(--smp-ink-soft);
}

.smp-body .dropdown-item:hover,
.smp-body .dropdown-item:focus,
.smp-body .dropdown-item.active {
    background: var(--smp-tint) !important;
    color: var(--smp-maroon) !important;
}

/* header search */
.smp-body .header-search-dropdown {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    box-shadow: var(--smp-shadow);
    padding: 14px;
}

.smp-body .search-form-control {
    background: var(--smp-paper);
    border: 1px solid var(--smp-line);
    border-radius: 10px;
    font-family: var(--smp-sans);
    padding: 10px 14px;
}

.smp-body .search-form-control:focus {
    border-color: var(--smp-saffron-soft);
    box-shadow: 0 0 0 3px rgba(190, 116, 34, .12);
}

.smp-body .btn-search {
    background: var(--smp-maroon);
    color: #FFF6E4;
    border-radius: 10px;
    padding: 0 18px;
}

/* mobile header */
.smp-body .mobile-header {
    background: var(--smp-surface);
    color: var(--smp-ink);
    border-bottom: 1px solid var(--smp-line);
    box-shadow: 0 1px 0 var(--smp-line);
}

.smp-body .mobile-header .header-btn {
    color: var(--smp-maroon);
    background: transparent;
    border: 0;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.smp-body .mobile-header .header-btn:hover {
    background: var(--smp-tint);
    color: var(--smp-maroon-deep);
}

.smp-body .mobile-header .header-logo img {
    max-height: 38px;
    width: auto;
}

/* --------------------------------------------------------------------------
   7. Shared ornaments & section headings
   -------------------------------------------------------------------------- */
.smp-orn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--smp-saffron);
    vertical-align: middle;
}

.smp-orn::before,
.smp-orn::after {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
    opacity: .6;
}

.smp-orn i {
    width: 6px;
    height: 6px;
    background: currentColor;
    display: inline-block;
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(190, 116, 34, .12);
}

.smp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--smp-saffron);
    margin-bottom: 6px;
}

.smp-kicker::before {
    content: "";
    width: 18px;
    height: 1px;
    background: var(--smp-saffron);
}

.smp-section {
    padding: 34px 0 6px;
}

.smp-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--smp-line);
    margin-bottom: 24px;
    position: relative;
}

.smp-section-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 74px;
    height: 2px;
    background: linear-gradient(90deg, var(--smp-maroon), var(--smp-saffron));
    border-radius: 2px;
}

.smp-section-title {
    margin: 0;
    font-size: clamp(23px, 2.2vw, 31px);
    line-height: 1.4;
    color: var(--smp-maroon-deep);
}

.smp-section-sub {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--smp-muted);
}

.smp-viewall {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--smp-maroon);
    white-space: nowrap;
    padding-bottom: 2px;
}

.smp-viewall svg {
    transition: transform .22s var(--smp-ease);
}

.smp-viewall:hover {
    color: var(--smp-saffron);
}

.smp-viewall:hover svg {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. Hero + panchangam
   -------------------------------------------------------------------------- */
.smp-hero {
    padding-top: 26px;
}

.smp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.smp-hero-main {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 540px;
    border-radius: var(--smp-radius-lg);
    overflow: hidden;
    background: #5C2A28;
    border: 1px solid rgba(74, 15, 24, .18);
    box-shadow: var(--smp-shadow);
    isolation: isolate;
}

.smp-hero-main > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 1.1s var(--smp-ease);
}

.smp-hero-main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
            linear-gradient(180deg, rgba(30, 8, 8, 0) 30%, rgba(30, 8, 8, .10) 46%, rgba(30, 8, 8, .52) 63%, rgba(30, 8, 8, .86) 82%, rgba(30, 8, 8, .95) 100%),
            linear-gradient(90deg, rgba(30, 8, 8, .38), rgba(30, 8, 8, .05) 55%, rgba(30, 8, 8, 0));
}

.smp-hero-main:hover > img {
    transform: scale(1.045);
}

.smp-hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 34px 36px 30px;
    max-width: 720px;
    color: #FFF8EC;
}

.smp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122, 31, 43, .92);
    color: #FFF6E4;
    border: 1px solid rgba(235, 212, 154, .45);
    font-size: 12px;
    letter-spacing: .04em;
    padding: 5px 13px;
    border-radius: 999px;
    line-height: 1.7;
    backdrop-filter: blur(4px);
}

.smp-chip i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--smp-gold-soft);
    display: inline-block;
}

body.smp-body .smp-hero-title {
    margin: 14px 0 12px;
    font-size: clamp(26px, 3.05vw, 41px);
    line-height: 1.32;
    color: #FFF9EF;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

body.smp-body .smp-hero-title a {
    color: #FFF9EF;
}

body.smp-body .smp-hero-title a:hover {
    color: #FFE3AE;
}

.smp-hero-summary {
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.85;
    color: rgba(255, 246, 228, .84);
    max-width: 620px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    font-size: 12.5px;
    color: rgba(255, 246, 228, .72);
}

.smp-hero-meta span,
.smp-hero-meta a {
    color: inherit;
}

.smp-hero-meta .smp-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    opacity: .7;
}

.smp-hero-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Panchangam card */
.smp-panchangam {
    position: relative;
    background:
            linear-gradient(180deg, var(--smp-surface) 0%, var(--smp-surface-2) 100%);
    border: 1px solid var(--smp-line-strong);
    border-radius: var(--smp-radius);
    padding: 20px 22px 18px;
    box-shadow: var(--smp-shadow-sm);
    overflow: hidden;
}

.smp-panchangam::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--smp-maroon-deep), var(--smp-maroon), var(--smp-saffron), var(--smp-maroon));
}

.smp-panchangam::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(201, 162, 39, .28);
    border-radius: 50%;
    box-shadow: inset 0 0 0 8px var(--smp-surface-2), inset 0 0 0 9px rgba(201, 162, 39, .16);
}

.smp-pancha-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.smp-pancha-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--smp-maroon);
    font-weight: 600;
}

.smp-pancha-label svg {
    color: var(--smp-saffron);
}

.smp-pancha-date {
    margin: 10px 0 2px;
    font-family: var(--smp-serif);
    font-size: 27px;
    line-height: 1.4;
    color: var(--smp-maroon-deep);
}

.smp-pancha-sub {
    font-size: 13.5px;
    color: var(--smp-muted);
    line-height: 1.7;
}

.smp-pancha-rule {
    height: 1px;
    margin: 12px 0;
    background: linear-gradient(90deg, transparent, var(--smp-line-strong), transparent);
}

.smp-pancha-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--smp-muted);
}

.smp-pancha-foot a {
    color: var(--smp-maroon);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* hero side list */
.smp-hero-list {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 4px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--smp-shadow-sm);
}

.smp-hero-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--smp-line);
}

.smp-hero-item:last-child {
    border-bottom: 0;
}

.smp-hero-num {
    font-family: var(--smp-serif);
    font-size: 21px;
    line-height: 1.3;
    color: var(--smp-saffron);
    min-width: 26px;
    padding-top: 1px;
}

.smp-hero-item h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
}

.smp-hero-item h3 a {
    color: var(--smp-ink);
}

.smp-hero-item h3 a:hover {
    color: var(--smp-maroon);
}

.smp-hero-item .smp-meta {
    margin-top: 3px;
    font-size: 12px;
    color: var(--smp-faint);
}

/* --------------------------------------------------------------------------
   9. "This week" cards
   -------------------------------------------------------------------------- */
.smp-week {
    padding-top: 40px;
}

.smp-week-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.smp-week-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, var(--smp-surface) 0%, #FBF2E0 100%);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 22px 22px 18px;
    overflow: hidden;
    box-shadow: var(--smp-shadow-sm);
    transition: transform .3s var(--smp-ease), box-shadow .3s var(--smp-ease), border-color .3s;
}

.smp-week-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--smp-saffron), var(--smp-gold-soft));
    opacity: .85;
}

.smp-week-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--smp-maroon), var(--smp-maroon-soft));
}

.smp-week-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--smp-green), #88A98F);
}

.smp-week-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--smp-shadow);
    border-color: var(--smp-line-strong);
}

.smp-week-glyph {
    position: absolute;
    right: 6px;
    bottom: -34px;
    font-family: var(--smp-serif);
    font-size: 132px;
    line-height: 1;
    color: var(--smp-maroon);
    opacity: .055;
    pointer-events: none;
    user-select: none;
}

.smp-week-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--smp-saffron);
    margin-bottom: 10px;
}

.smp-week-label i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.smp-week-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.5;
}

.smp-week-card h3 a {
    color: var(--smp-ink);
}

.smp-week-card h3 a:hover {
    color: var(--smp-maroon);
}

.smp-week-text {
    margin: 0 0 18px;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--smp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-week-foot {
    position: relative;
    z-index: 1;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    color: var(--smp-faint);
}

.smp-week-foot a {
    font-weight: 600;
    color: var(--smp-maroon);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --------------------------------------------------------------------------
   10. Category section: lead + list
   -------------------------------------------------------------------------- */
.smp-cat-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.smp-lead {
    display: flex;
    flex-direction: column;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    overflow: hidden;
    box-shadow: var(--smp-shadow-sm);
    transition: box-shadow .3s var(--smp-ease), transform .3s var(--smp-ease);
}

.smp-lead:hover {
    transform: translateY(-3px);
    box-shadow: var(--smp-shadow);
}

.smp-lead-media {
    position: relative;
    aspect-ratio: 16 / 9.2;
    overflow: hidden;
    background: var(--smp-tint);
}

.smp-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--smp-ease);
}

.smp-lead:hover .smp-lead-media img {
    transform: scale(1.04);
}

.smp-lead-body {
    padding: 20px 22px 22px;
}

.smp-lead-title {
    margin: 10px 0 8px;
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1.45;
}

.smp-lead-title a {
    color: var(--smp-ink);
}

.smp-lead-title a:hover {
    color: var(--smp-maroon);
}

.smp-lead-summary {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--smp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-cat-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.smp-mini {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px dashed var(--smp-line);
    align-items: center;
}

.smp-mini:first-child {
    padding-top: 0;
}

.smp-mini:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.smp-mini-media {
    aspect-ratio: 4 / 3.1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--smp-tint);
    border: 1px solid var(--smp-line);
}

.smp-mini-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--smp-ease);
}

.smp-mini:hover .smp-mini-media img {
    transform: scale(1.05);
}

.smp-mini h3 {
    margin: 6px 0 6px;
    font-size: 18.5px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-mini h3 a {
    color: var(--smp-ink);
}

.smp-mini h3 a:hover {
    color: var(--smp-maroon);
}

.smp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    font-size: 12px;
    color: var(--smp-faint);
}

.smp-meta a {
    color: inherit;
}

.smp-meta .smp-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    opacity: .7;
}

.smp-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--smp-maroon);
    background: var(--smp-tint-maroon);
    border: 1px solid rgba(122, 31, 43, .14);
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.7;
}

.smp-label.green {
    color: var(--smp-green);
    background: #EDF3EC;
    border-color: rgba(63, 107, 79, .16);
}

.smp-label.gold {
    color: #8A5A12;
    background: #FBF0D8;
    border-color: rgba(190, 116, 34, .18);
}

/* --------------------------------------------------------------------------
   11. Heritage tiles
   -------------------------------------------------------------------------- */
.smp-tiles {
    padding: 36px 0 4px;
}

.smp-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.smp-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 20px 18px;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    box-shadow: var(--smp-shadow-sm);
    overflow: hidden;
    transition: transform .3s var(--smp-ease), box-shadow .3s var(--smp-ease), border-color .3s;
}

.smp-tile::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(201, 162, 39, .25);
    transform: rotate(45deg);
}

.smp-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--smp-shadow);
    border-color: var(--smp-saffron-soft);
}

.smp-tile-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--smp-tint);
    color: var(--smp-maroon);
    border: 1px solid rgba(201, 162, 39, .25);
}

.smp-tile h3 {
    margin: 0;
    font-size: 18.5px;
    line-height: 1.45;
}

.smp-tile h3 a {
    color: var(--smp-ink);
}

.smp-tile h3 a:hover {
    color: var(--smp-maroon);
}

.smp-tile p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--smp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-tile-count {
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--smp-saffron);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   12. Latest posts list
   -------------------------------------------------------------------------- */
.smp-latest {
    padding: 38px 0 50px;
}

.smp-latest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 344px;
    gap: 30px;
    align-items: start;
}

.smp-latest-list {
    border-top: 1px solid var(--smp-line);
}

.smp-latest-item {
    display: grid;
    grid-template-columns: 46px 168px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--smp-line);
    transition: background .25s;
}

.smp-latest-num {
    font-family: var(--smp-serif);
    font-size: 27px;
    line-height: 1;
    color: var(--smp-line-strong);
    padding-left: 2px;
}

.smp-latest-item:hover .smp-latest-num {
    color: var(--smp-saffron);
}

.smp-latest-thumb {
    aspect-ratio: 16 / 10.5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--smp-line);
    background: var(--smp-tint);
}

.smp-latest-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--smp-ease);
}

.smp-latest-item:hover .smp-latest-thumb img {
    transform: scale(1.05);
}

.smp-latest-item h3 {
    margin: 7px 0 6px;
    font-size: 19px;
    line-height: 1.5;
}

.smp-latest-item h3 a {
    color: var(--smp-ink);
}

.smp-latest-item h3 a:hover {
    color: var(--smp-maroon);
}

.smp-latest-more {
    display: flex;
    justify-content: center;
    padding-top: 26px;
}

.smp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--smp-maroon);
    color: #FFF6E4;
    border: 1px solid var(--smp-maroon);
    border-radius: 999px;
    padding: 11px 26px;
    font-family: var(--smp-sans);
    font-size: 14.5px;
    font-weight: 600;
    box-shadow: var(--smp-shadow-sm);
    transition: all .25s var(--smp-ease);
    cursor: pointer;
}

.smp-btn:hover {
    background: var(--smp-maroon-deep);
    border-color: var(--smp-maroon-deep);
    color: #FFF6E4;
    transform: translateY(-1px);
    box-shadow: var(--smp-shadow);
}

body.smp-body a.smp-btn {
    color: #FFF6E4;
}

body.smp-body a.smp-btn:hover {
    color: #FFF6E4;
}

body.smp-body a.smp-btn.ghost {
    color: var(--smp-maroon);
}

body.smp-body .smp-newsletter a.smp-btn.ghost {
    color: #FFF3DC;
}

body.smp-body .smp-newsletter a.smp-btn.ghost:hover {
    color: #3B0F16;
}

body.smp-body a.smp-btn.ghost:hover {
    color: #FFF6E4;
}

.smp-btn.ghost {
    background: transparent;
    color: var(--smp-maroon);
    border-color: var(--smp-line-strong);
    box-shadow: none;
}

.smp-btn.ghost:hover {
    background: var(--smp-maroon);
    color: #FFF6E4;
}

/* --------------------------------------------------------------------------
   13. Sidebar
   -------------------------------------------------------------------------- */
.smp-aside {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 86px;
}

.smp-card {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 20px 20px 18px;
    box-shadow: var(--smp-shadow-sm);
}

.smp-card-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--smp-line);
    font-size: 19px;
    line-height: 1.4;
    position: relative;
}

.smp-card-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: var(--smp-saffron);
}

.smp-card-title svg {
    color: var(--smp-saffron);
    flex: 0 0 auto;
}

/* popular list */
.smp-pop {
    display: flex;
    flex-direction: column;
}

.smp-pop li,
.smp-pop-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--smp-line);
    list-style: none;
}

.smp-pop li:last-child,
.smp-pop-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.smp-pop-num {
    font-family: var(--smp-serif);
    font-size: 18px;
    color: var(--smp-saffron);
    line-height: 1.5;
}

.smp-pop h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.smp-pop h4 a {
    color: var(--smp-ink-soft);
}

.smp-pop h4 a:hover {
    color: var(--smp-maroon);
}

.smp-pop .smp-meta {
    margin-top: 2px;
    font-size: 11.5px;
}

/* tag cloud */
.smp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.smp-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--smp-line);
    background: var(--smp-surface-2);
    color: var(--smp-ink-soft);
    font-size: 12.5px;
    line-height: 1.7;
    transition: all .2s var(--smp-ease);
}

.smp-tag:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

/* newsletter card */
.smp-card.smp-newsletter {
    background:
            radial-gradient(340px 200px at 100% 0%, rgba(201, 162, 39, .22), transparent 60%),
            linear-gradient(160deg, #6B1925, #4A0F18 78%);
    border: 1px solid #8C2A33;
    color: #F6E7CC;
    position: relative;
    overflow: hidden;
}

.smp-newsletter::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -28px;
    width: 110px;
    height: 110px;
    border: 1px solid rgba(235, 212, 154, .22);
    border-radius: 50%;
    box-shadow: inset 0 0 0 9px rgba(235, 212, 154, .06);
}

.smp-newsletter h3 {
    margin: 0 0 6px;
    color: #FFF3DC;
    font-size: 21px;
}

.smp-newsletter p {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(246, 231, 204, .78);
}

.smp-newsletter form {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.smp-newsletter input[type="email"] {
    flex: 1;
    min-width: 0;
    background: rgba(255, 247, 232, .08);
    border: 1px solid rgba(235, 212, 154, .35);
    color: #FFF6E4;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13.5px;
    outline: none;
}

.smp-newsletter input[type="email"]::placeholder {
    color: rgba(246, 231, 204, .55);
}

.smp-newsletter input[type="email"]:focus {
    border-color: var(--smp-gold);
    background: rgba(255, 247, 232, .12);
}

.smp-newsletter button {
    background: var(--smp-gold);
    color: #3B0F16;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: background .2s;
}

.smp-newsletter button:hover {
    background: #E0B94A;
}

/* --------------------------------------------------------------------------
   14. Classic content components re-skinned
   -------------------------------------------------------------------------- */
body.smp-body .section {
    margin-bottom: 40px;
}

body.smp-body .section-page {
    padding-top: 28px;
}

body.smp-body .page-title {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.4;
    margin: 4px 0 24px;
    color: var(--smp-maroon-deep);
    position: relative;
    padding-bottom: 14px;
}

body.smp-body .page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    background: linear-gradient(90deg, var(--smp-maroon), var(--smp-saffron));
}

body.smp-body .breadcrumb {
    font-size: 12.5px;
    color: var(--smp-faint);
    margin-bottom: 6px;
}

body.smp-body .breadcrumb a {
    color: var(--smp-muted);
}

body.smp-body .breadcrumb a:hover {
    color: var(--smp-maroon);
}

body.smp-body .breadcrumb-item.active {
    color: var(--smp-maroon);
}

body.smp-body .badge-category {
    border-radius: 999px;
    padding: 2px 11px;
    font-size: 11.5px;
    line-height: 1.9;
    letter-spacing: .01em;
    text-shadow: none;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

body.smp-body .category-link {
    z-index: 3;
}

/* Section title used by "latest posts" partial */
body.smp-body .latest-posts .section-title {
    border-bottom: 1px solid var(--smp-line);
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

body.smp-body .latest-posts .section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 74px;
    height: 2px;
    background: linear-gradient(90deg, var(--smp-maroon), var(--smp-saffron));
}

body.smp-body .latest-posts .section-title .title {
    display: block;
    height: auto;
    background: transparent;
    color: var(--smp-maroon-deep);
    text-transform: none;
    font-family: var(--smp-serif);
    font-size: 25px;
    font-weight: 600;
    padding: 0;
}

body.smp-body .latest-posts .section-title .view-all {
    color: var(--smp-maroon);
    font-weight: 600;
    font-size: 13.5px;
}

/* Vertical post card */
body.smp-body .post-item {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--smp-shadow-sm);
    transition: transform .3s var(--smp-ease), box-shadow .3s var(--smp-ease), border-color .3s;
    margin-bottom: 24px;
}

body.smp-body .post-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--smp-shadow);
    border-color: var(--smp-line-strong);
}

body.smp-body .post-item .image {
    border-radius: 0;
    overflow: hidden;
}

body.smp-body .post-item .image img {
    transition: transform .8s var(--smp-ease);
    border-radius: 0;
}

body.smp-body .post-item:hover .image img {
    transform: scale(1.04);
}

body.smp-body .post-item .post-content {
    padding: 17px 18px 20px;
}

body.smp-body .post-item .title {
    font-family: var(--smp-serif);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
    margin: 8px 0 8px;
}

body.smp-body .post-item .title a {
    color: var(--smp-ink);
}

body.smp-body .post-item .title a:hover {
    color: var(--smp-maroon);
}

body.smp-body .post-item .description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--smp-muted);
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.smp-body .post-meta .meta-item a,
body.smp-body .post-meta .meta-item span {
    font-size: 11.5px;
    color: var(--smp-faint);
}

body.smp-body .post-meta .meta-item .vr-icon {
    color: var(--smp-saffron);
    opacity: .85;
}

body.smp-body .post-meta .meta-item a:hover {
    color: var(--smp-maroon);
}

/* Horizontal post card */
body.smp-body .post-item-horizontal {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: var(--smp-shadow-sm);
    transition: transform .3s var(--smp-ease), box-shadow .3s var(--smp-ease), border-color .3s;
}

body.smp-body .post-item-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--smp-shadow);
    border-color: var(--smp-line-strong);
}

body.smp-body .post-item-horizontal .image {
    border-radius: 12px;
    overflow: hidden;
}

body.smp-body .post-item-horizontal .image img {
    border-radius: 12px;
    transition: transform .8s var(--smp-ease);
}

body.smp-body .post-item-horizontal:hover .image img {
    transform: scale(1.04);
}

body.smp-body .post-item-horizontal .title {
    font-family: var(--smp-serif);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 600;
    margin: 6px 0 8px;
}

body.smp-body .post-item-horizontal .title a {
    color: var(--smp-ink);
}

body.smp-body .post-item-horizontal .title a:hover {
    color: var(--smp-maroon);
}

body.smp-body .post-item-horizontal .description {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--smp-muted);
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Small post item (sidebar/trending) */
body.smp-body .post-item-small {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--smp-line);
    margin: 0;
}

body.smp-body .post-item-small:last-child {
    border-bottom: 0;
}

body.smp-body .post-item-small .image {
    width: 74px;
    min-width: 74px;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 0.9;
    margin: 0;
}

body.smp-body .post-item-small .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

body.smp-body .post-item-small .title {
    font-family: var(--smp-serif);
    font-size: 14.5px;
    line-height: 1.6;
    font-weight: 600;
    margin: 0 0 3px;
}

body.smp-body .post-item-small .title a {
    color: var(--smp-ink-soft);
}

body.smp-body .post-item-small .title a:hover {
    color: var(--smp-maroon);
}

body.smp-body .post-item-small .post-content {
    min-width: 0;
}

/* Sidebar widgets (classic markup) */
body.smp-body .sidebar-widget {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 18px 18px 16px;
    margin-bottom: 20px;
    box-shadow: var(--smp-shadow-sm);
}

body.smp-body .sidebar-widget .widget-head {
    height: auto;
    background: transparent;
    color: var(--smp-ink);
    margin-bottom: 14px;
    padding: 0 0 10px;
    border-bottom: 1px solid var(--smp-line);
    position: relative;
    overflow: visible;
}

body.smp-body .sidebar-widget .widget-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 2px;
    background: var(--smp-saffron);
}

body.smp-body .sidebar-widget .widget-head .title {
    font-family: var(--smp-serif);
    font-size: 18.5px;
    line-height: 1.4;
    text-transform: none;
    margin: 0;
    color: var(--smp-maroon-deep);
}

body.smp-body .sidebar-widget .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
}

body.smp-body .sidebar-widget .tag-list li {
    margin: 0;
}

body.smp-body .sidebar-widget .tag-list li a {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--smp-line);
    background: var(--smp-surface-2);
    color: var(--smp-ink-soft);
    font-size: 12.5px;
}

body.smp-body .sidebar-widget .tag-list li a:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

body.smp-body .col-sidebar {
    padding-left: calc(var(--bs-gutter-x) * .5);
}

body.smp-body .widget-follow .item a {
    border-radius: 10px;
}

/* Pagination */
body.smp-body .pagination .page-link {
    border: 1px solid var(--smp-line);
    color: var(--smp-ink-soft);
    border-radius: 9px !important;
    margin: 0 3px;
    background: var(--smp-surface);
    font-size: 14px;
    padding: 8px 14px;
}

body.smp-body .pagination .page-item.active .page-link {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

body.smp-body .pagination .page-link:hover {
    background: var(--smp-tint);
    color: var(--smp-maroon);
}

/* Buttons / load more */
body.smp-body .btn-custom,
body.smp-body .btn-load-more-posts {
    background: var(--smp-maroon);
    border: 1px solid var(--smp-maroon);
    color: #FFF6E4;
    border-radius: 999px;
    padding: 10px 24px;
    font-family: var(--smp-sans);
    font-weight: 600;
    box-shadow: var(--smp-shadow-sm);
}

body.smp-body .btn-custom:hover,
body.smp-body .btn-load-more-posts:hover {
    background: var(--smp-maroon-deep);
    border-color: var(--smp-maroon-deep);
    color: #FFF6E4;
}

/* --------------------------------------------------------------------------
   15. Article page
   -------------------------------------------------------------------------- */
body.smp-body .post-content .post-title {
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.38;
    text-align: center;
    margin: 10px auto 14px;
    max-width: 900px;
    color: var(--smp-maroon-deep);
}

body.smp-body .post-content .post-summary {
    font-family: var(--smp-sans);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.85;
    color: var(--smp-muted);
    text-align: center;
    max-width: 820px;
    margin: 0 auto 16px;
}

body.smp-body .post-details-meta {
    border-top: 1px solid var(--smp-line);
    border-bottom: 1px solid var(--smp-line);
    padding: 13px 4px;
    margin: 0 auto 20px !important;
    justify-content: center;
    max-width: 860px;
    font-size: 13px;
    color: var(--smp-muted);
}

body.smp-body .post-details-meta a {
    color: var(--smp-ink-soft);
}

body.smp-body .post-share-buttons {
    justify-content: center;
    padding-bottom: 10px;
}

body.smp-body .post-share-buttons a {
    border-radius: 999px !important;
    background: var(--smp-surface) !important;
    border: 1px solid var(--smp-line) !important;
    color: var(--smp-muted) !important;
}

body.smp-body .post-share-buttons a:hover {
    background: var(--smp-maroon) !important;
    border-color: var(--smp-maroon) !important;
    color: #fff !important;
}

body.smp-body .entry-content {
    font-size: 18.5px;
    line-height: 1.95;
    color: var(--smp-ink-soft);
}

body.smp-body .entry-content > p:first-of-type::first-letter {
    float: left;
    font-family: var(--smp-serif);
    font-size: 3.65em;
    line-height: .88;
    padding: .11em .16em 0 0;
    color: var(--smp-maroon);
}

body.smp-body .entry-content h2,
body.smp-body .entry-content h3,
body.smp-body .entry-content h4 {
    margin-top: 1.9em;
    margin-bottom: .7em;
    color: var(--smp-maroon-deep);
}

body.smp-body .entry-content a {
    color: var(--smp-maroon);
    text-decoration: underline;
    text-decoration-color: rgba(122, 31, 43, .3);
    text-underline-offset: 3px;
}

body.smp-body .entry-content a:hover {
    color: var(--smp-saffron);
    text-decoration-color: currentColor;
}

body.smp-body .entry-content blockquote {
    margin: 1.9rem 0;
    padding: 20px 24px 20px 28px;
    border-left: 3px solid var(--smp-saffron);
    background: var(--smp-surface-2);
    border-radius: 0 14px 14px 0;
    font-family: var(--smp-serif);
    font-size: 1.06em;
    color: var(--smp-maroon-deep);
    position: relative;
}

body.smp-body .entry-content img {
    border-radius: 14px;
    border: 1px solid var(--smp-line);
}

body.smp-body .entry-content table {
    border-color: var(--smp-line);
}

body.smp-body .entry-content th {
    background: var(--smp-tint);
    color: var(--smp-maroon-deep);
}

body.smp-body .post-tags .title {
    font-family: var(--smp-serif);
    color: var(--smp-maroon-deep);
}

body.smp-body .post-tags ul li a {
    border-radius: 999px;
    background: var(--smp-surface-2);
    border: 1px solid var(--smp-line);
    color: var(--smp-ink-soft);
}

body.smp-body .post-tags ul li a:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #fff;
}

body.smp-body .post-content .post-tags {
    border-top: 1px solid var(--smp-line);
    padding-top: 20px;
}

body.smp-body .post-content .post-tags .title {
    font-size: 18px;
}

body.smp-body .about-author,
body.smp-body .post-about-author {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    padding: 20px;
}

/* hero fallback art fills the card */
.smp-hero-main > .smp-art {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.smp-footer-brand img {
    max-height: 54px;
    width: auto;
}

.smp-footer-social svg {
    width: 16px;
    height: 16px;
}

/* tags inside a custom card */
.smp-card .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.smp-card .tag-list li {
    margin: 0;
}

.smp-card .tag-list li a {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--smp-line);
    background: var(--smp-surface-2);
    color: var(--smp-ink-soft);
    font-size: 12.5px;
    line-height: 1.7;
    transition: all .2s var(--smp-ease);
}

.smp-card .tag-list li a:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

/* small fallback art in tiny thumbnails */
.post-item-small .smp-art span {
    font-size: 26px;
}

.smp-newsletter .smp-btn.ghost {
    background: rgba(255, 247, 232, .08);
    border-color: rgba(235, 212, 154, .45);
    color: #FFF3DC;
    box-shadow: none;
}

.smp-newsletter .smp-btn.ghost:hover {
    background: var(--smp-gold);
    border-color: var(--smp-gold);
    color: #3B0F16;
}

/* breaking news strip */
.smp-ticker {
    margin-top: 18px;
}

.smp-ticker .section-newsticker,
.smp-ticker .breaking-news {
    border: 1px solid var(--smp-line);
    border-radius: 12px;
    background: var(--smp-surface);
    padding: 8px 14px;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.smp-footer {
    position: relative;
    margin-top: 12px;
    background:
            radial-gradient(700px 320px at 88% 0%, rgba(201, 162, 39, .14), transparent 60%),
            linear-gradient(170deg, #3F1018 0%, #340C13 70%, #2B090F 100%);
    color: #EBD9BD;
    overflow: hidden;
}

.smp-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--smp-maroon), var(--smp-gold), var(--smp-maroon));
}

.smp-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 3px;
    height: 6px;
    opacity: .18;
    background-image: radial-gradient(circle, #EBD49A 1px, transparent 1.4px);
    background-size: 14px 6px;
    background-position: center;
    pointer-events: none;
}

.smp-footer-inner {
    padding: 52px 0 40px;
    position: relative;
    z-index: 1;
}

.smp-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.25fr;
    gap: 40px;
}

.smp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.smp-footer-brand .smp-brand-mark {
    width: 56px;
    height: 56px;
    font-size: 26px;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, .5), 0 0 0 4px rgba(201, 162, 39, .1);
}

.smp-footer-brand strong {
    display: block;
    font-family: var(--smp-serif);
    font-size: 21px;
    color: #FFF3DC;
    line-height: 1.35;
}

.smp-footer-brand span {
    font-size: 9.5px;
    letter-spacing: .3em;
    color: var(--smp-gold-soft);
    text-transform: uppercase;
}

.smp-footer-about {
    font-size: 13px;
    line-height: 1.9;
    color: rgba(235, 217, 189, .72);
    margin: 0 0 16px;
}

.smp-footer h4.smp-footer-title {
    font-size: 14.5px;
    letter-spacing: .06em;
    color: #F6E7CC;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(235, 212, 154, .18);
    position: relative;
}

.smp-footer h4.smp-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 1px;
    background: var(--smp-gold);
}

.smp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.smp-footer-links a {
    color: rgba(235, 217, 189, .78);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .2s, transform .2s;
}

.smp-footer-links a::before {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--smp-saffron-soft);
    transform: rotate(45deg);
    opacity: .7;
    transition: opacity .2s;
}

.smp-footer-links a:hover {
    color: #FFF3DC;
    transform: translateX(2px);
}

.smp-footer-links a:hover::before {
    opacity: 1;
}

.smp-footer-social {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.smp-footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(235, 212, 154, .22);
    color: #EBD9BD;
    background: rgba(255, 255, 255, .03);
    transition: all .22s var(--smp-ease);
}

.smp-footer-social a:hover {
    background: var(--smp-gold);
    border-color: var(--smp-gold);
    color: #3B0F16;
    transform: translateY(-2px);
}

.smp-footer-newsletter p {
    font-size: 13px;
    line-height: 1.85;
    color: rgba(235, 217, 189, .72);
    margin: 0 0 12px;
}

.smp-footer-form {
    display: flex;
    gap: 8px;
}

.smp-footer-form input[type="email"] {
    flex: 1;
    min-width: 0;
    background: rgba(255, 247, 232, .06);
    border: 1px solid rgba(235, 212, 154, .28);
    border-radius: 10px;
    color: #FFF3DC;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.smp-footer-form input[type="email"]::placeholder {
    color: rgba(235, 217, 189, .45);
}

.smp-footer-form input[type="email"]:focus {
    border-color: var(--smp-gold);
}

.smp-footer-form button {
    background: var(--smp-gold);
    color: #3B0F16;
    border: 0;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.smp-footer-form button:hover {
    background: #E0B94A;
}

.smp-footer-bottom {
    border-top: 1px solid rgba(235, 212, 154, .16);
    padding: 18px 0;
    position: relative;
    z-index: 1;
}

.smp-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 12.5px;
    color: rgba(235, 217, 189, .62);
    flex-wrap: wrap;
}

.smp-footer-bottom-inner a {
    color: rgba(235, 217, 189, .8);
}

.smp-footer-bottom-inner a:hover {
    color: var(--smp-gold-soft);
}

.smp-footer-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   17. Misc: scroll top, modal, empty states
   -------------------------------------------------------------------------- */
body.smp-body .btn-scroll-up {
    background: var(--smp-maroon);
    color: #FFF6E4;
    border-radius: 50%;
    box-shadow: var(--smp-shadow);
}

body.smp-body .btn-scroll-up:hover {
    background: var(--smp-maroon-deep);
}

body.smp-body .modal-content {
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    background: var(--smp-surface);
}

body.smp-body .form-control {
    border-radius: 10px;
    border: 1px solid var(--smp-line);
    background: var(--smp-surface);
    font-family: var(--smp-sans);
}

body.smp-body .form-control:focus {
    border-color: var(--smp-saffron-soft);
    box-shadow: 0 0 0 3px rgba(190, 116, 34, .12);
}

body.smp-body .text-muted {
    color: var(--smp-muted) !important;
}

/* three-up post cards */
.smp-cards3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.smp-card-post {
    display: flex;
    flex-direction: column;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    overflow: hidden;
    box-shadow: var(--smp-shadow-sm);
    transition: transform .3s var(--smp-ease), box-shadow .3s var(--smp-ease), border-color .3s;
}

.smp-card-post:hover {
    transform: translateY(-3px);
    box-shadow: var(--smp-shadow);
    border-color: var(--smp-line-strong);
}

.smp-card-post .smp-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--smp-tint);
}

.smp-card-post .smp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--smp-ease);
}

.smp-card-post:hover .smp-card-media img {
    transform: scale(1.05);
}

.smp-card-post .smp-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.smp-card-post h3 {
    margin: 2px 0 0;
    font-size: 18.5px;
    line-height: 1.5;
}

.smp-card-post h3 a {
    color: var(--smp-ink);
}

.smp-card-post h3 a:hover {
    color: var(--smp-maroon);
}

.smp-card-post p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--smp-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smp-card-post .smp-meta {
    margin-top: auto;
    padding-top: 8px;
}

/* --------------------------------------------------------------------------
   17b. Illustrated fallback art (used when a post has no image)
   -------------------------------------------------------------------------- */
.smp-art {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(150deg, #E9C27F, #C97C4E 58%, #8E4034);
}

.smp-art::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image: radial-gradient(circle, rgba(255, 245, 220, .55) 1px, transparent 1.5px);
    background-size: 15px 15px;
}

.smp-art::after {
    content: "";
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 245, 220, .4);
    border-radius: 50%;
    box-shadow: inset 0 0 0 10px rgba(255, 245, 220, .08), inset 0 0 0 11px rgba(255, 245, 220, .25);
}

.smp-art span {
    position: relative;
    z-index: 1;
    font-family: var(--smp-serif);
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    color: rgba(255, 248, 232, .9);
    text-shadow: 0 2px 18px rgba(74, 15, 24, .35);
    padding-bottom: 4px;
}

.smp-art.art-2 {
    background: linear-gradient(150deg, #C9D2B6, #7E9B77 55%, #3F6B4F);
}

.smp-art.art-3 {
    background: linear-gradient(150deg, #F0D9A8, #D9A55A 55%, #A2652A);
}

.smp-art.art-4 {
    background: linear-gradient(150deg, #E7C3C0, #B96A72 55%, #7A1F2B);
}

.smp-art.art-5 {
    background: linear-gradient(150deg, #D8CBE8, #8E7BAE 55%, #4F3E74);
}

.smp-art.art-6 {
    background: linear-gradient(150deg, #C6DCE4, #6F9CAE 55%, #2F5A6B);
}

/* mobile header brand */
.smp-body .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 16px;
}

.smp-body .smp-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--smp-maroon-deep);
    font-family: var(--smp-serif);
    font-size: 19px;
    line-height: 1.3;
}

.smp-body .smp-mobile-brand:hover {
    color: var(--smp-maroon);
}

.smp-body .smp-mobile-brand .smp-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
    padding-bottom: 2px;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, .55);
}

.smp-body .smp-mobile-brand small {
    display: block;
    font-family: var(--smp-sans);
    font-size: 8px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--smp-gold-soft);
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .smp-hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    }

    .smp-hero-main {
        min-height: 480px;
    }

    .smp-latest-grid {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 24px;
    }

    .smp-footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
        gap: 28px;
    }
}

@media (max-width: 991.98px) {
    body.smp-body {
        font-size: 16.5px;
    }

    .smp-masthead {
        padding-top: 18px;
    }

    .smp-topbar .topbar .left-menu {
        display: none;
    }

    .smp-masthead-row {
        justify-content: center;
    }

    .smp-masthead-side {
        display: none;
    }

    .smp-brand-mark {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .smp-tagline {
        font-size: 13px;
        margin-top: 10px;
    }

    .smp-hero {
        padding-top: 18px;
    }

    .smp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-hero-main {
        min-height: 440px;
    }

    .smp-hero-body {
        padding: 26px 24px 24px;
    }

    .smp-hero-side {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
    }

    .smp-hero-list {
        padding: 4px 16px;
    }

    .smp-week-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-cat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-cat-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 22px;
    }

    .smp-mini {
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .smp-tiles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .smp-cards3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .smp-latest-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-aside {
        position: static;
    }

    .smp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 767.98px) {
    .smp-brand-name {
        font-size: 25px;
    }

    .smp-brand-sub {
        letter-spacing: .28em;
    }

    .smp-hero-main {
        min-height: 390px;
        border-radius: var(--smp-radius);
    }

    body.smp-body .smp-hero-title {
        font-size: 24px;
    }

    .smp-hero-summary {
        display: none;
    }

    .smp-hero-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .smp-cat-list {
        display: block;
    }

    .smp-latest-item {
        grid-template-columns: 30px 108px minmax(0, 1fr);
        gap: 12px;
    }

    .smp-latest-num {
        font-size: 20px;
    }

    .smp-latest-item h3 {
        font-size: 16px;
    }

    .smp-latest-thumb {
        aspect-ratio: 1 / 0.85;
    }

    .smp-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .smp-footer-inner {
        padding: 40px 0 30px;
    }

    .smp-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    body.smp-body .post-item-horizontal {
        padding: 14px;
    }

    body.smp-body .post-content .post-title {
        text-align: left;
        font-size: 28px;
    }

    body.smp-body .post-content .post-summary {
        text-align: left;
        font-size: 16.5px;
    }

    body.smp-body .post-details-meta {
        justify-content: flex-start;
    }

    body.smp-body .post-share-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 479.98px) {
    .smp-tiles-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .smp-hero-body {
        padding: 22px 18px 20px;
    }

    .smp-panchangam {
        padding: 18px 18px 16px;
    }
}

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


/* ==========================================================================
   v1.1 — calendar (homepage) + readability fixes
   ========================================================================== */

/* --- Readability fixes: links on dark surfaces lost to the global link colour */
body.smp-body .smp-chip,
body.smp-body .smp-chip:hover {
    color: #FFF6E4;
}

body.smp-body .smp-chip:hover {
    background: var(--smp-maroon-deep);
}

body.smp-body .smp-newsletter h3 {
    color: #FFF3DC;
}

body.smp-body .smp-footer-links a {
    color: rgba(240, 224, 198, .82);
}

body.smp-body .smp-footer-links a:hover,
body.smp-body .smp-footer-links a:focus {
    color: #FFF3DC;
}

body.smp-body .smp-footer-bottom-inner a,
body.smp-body .smp-footer-nav a {
    color: rgba(240, 224, 198, .78);
}

body.smp-body .smp-footer-bottom-inner a:hover,
body.smp-body .smp-footer-nav a:hover {
    color: var(--smp-gold-soft);
}

body.smp-body .smp-footer-social a {
    color: rgba(240, 224, 198, .85);
}

/* Heritage tiles: fill the row whatever the number of categories */
.smp-tiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Keyboard focus that is visible on paper and on maroon */
body.smp-body a:focus-visible,
body.smp-body button:focus-visible {
    outline: 2px solid var(--smp-saffron);
    outline-offset: 2px;
    border-radius: 6px;
}

/* --- Hero "today" card, now with live panchangam */
.smp-pancha-date {
    margin-top: 8px;
}

.smp-pancha-lunar {
    font-family: var(--smp-serif);
    font-size: 16px;
    line-height: 1.6;
    color: var(--smp-maroon);
}

.smp-pancha-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
}

.smp-pancha-sub span:empty {
    display: none;
}

.smp-pancha-sub span + span::before {
    content: "·";
    margin-right: 12px;
    color: var(--smp-faint);
}

.smp-pancha-fest {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--smp-tint-maroon);
    border: 1px solid rgba(122, 31, 43, .16);
    color: var(--smp-maroon);
    font-size: 12.5px;
    font-weight: 600;
}

.smp-pancha-fest::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--smp-saffron);
    transform: rotate(45deg);
}

.smp-pancha-fest[hidden] {
    display: none;
}

/* --- Calendar section */
.smp-cal {
    padding-top: 40px;
    padding-bottom: 6px;
    scroll-margin-top: 90px;
}

.smp-cal-place {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--smp-line);
    background: var(--smp-surface);
    color: var(--smp-muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.smp-cal-place svg {
    color: var(--smp-saffron);
}

.smp-cal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "board side" "up up";
    gap: 22px;
    align-items: stretch;
}

.smp-cal-board {
    grid-area: board;
}

.smp-cal-side {
    grid-area: side;
}

.smp-cal-upcoming {
    grid-area: up;
}

.smp-cal-board {
    position: relative;
    background:
            radial-gradient(600px 220px at 100% 0%, rgba(231, 169, 79, .10), transparent 70%),
            var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius-lg);
    box-shadow: var(--smp-shadow);
    padding: 22px 22px 18px;
    overflow: hidden;
}

.smp-cal-board::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--smp-maroon-deep), var(--smp-maroon), var(--smp-saffron), var(--smp-gold), var(--smp-maroon));
}

.smp-cal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.smp-cal-heading {
    min-width: 0;
}

body.smp-body .smp-cal-heading h3 {
    margin: 0;
    font-family: var(--smp-serif);
    font-size: 28px;
    line-height: 1.35;
    color: var(--smp-maroon-deep);
    font-weight: 600;
}

.smp-cal-heading p {
    margin: 2px 0 0;
    font-size: 13.5px;
    color: var(--smp-muted);
    line-height: 1.6;
}

.smp-cal-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.smp-cal-arrow,
.smp-cal-todaybtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--smp-line-strong);
    background: var(--smp-surface);
    color: var(--smp-maroon);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}

.smp-cal-arrow {
    width: 40px;
    padding: 0;
}

.smp-cal-todaybtn {
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--smp-sans);
}

.smp-cal-arrow:hover,
.smp-cal-todaybtn:hover {
    background: var(--smp-maroon);
    border-color: var(--smp-maroon);
    color: #FFF6E4;
}

.smp-cal-arrow:active,
.smp-cal-todaybtn:active {
    transform: scale(.96);
}

.smp-cal-weekdays,
.smp-cal-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.smp-cal-weekdays {
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--smp-line);
}

.smp-cal-weekdays span {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--smp-ink-soft);
}

.smp-cal-weekdays span.is-sun {
    color: var(--smp-maroon);
}

.smp-cal-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    min-width: 0;
    min-height: 92px;
    padding: 9px 10px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--smp-ink);
    font-family: var(--smp-sans);
    text-align: left;
    cursor: pointer;
    transition: background .18s, border-color .18s, box-shadow .18s;
}

.smp-cal-cell:hover {
    background: var(--smp-tint);
    border-color: var(--smp-line);
}

.smp-cal-cell.is-skeleton {
    background: linear-gradient(180deg, var(--smp-surface-2), transparent);
    border-color: rgba(231, 216, 192, .5);
    cursor: default;
}

.smp-cal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.smp-cal-num {
    font-family: var(--smp-serif);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 600;
    color: var(--smp-ink);
    font-variant-numeric: lining-nums tabular-nums;
}

.smp-cal-cell.is-sun .smp-cal-num {
    color: var(--smp-maroon);
}

.smp-cal-tithi {
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--smp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smp-cal-fest {
    margin-top: auto;
    font-size: 11.5px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--smp-maroon);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smp-cal-fest.is-day {
    color: var(--smp-green);
}

.smp-cal-cell.has-fest {
    background: linear-gradient(180deg, rgba(248, 233, 230, .9), rgba(248, 233, 230, .35));
    border-color: rgba(122, 31, 43, .10);
}

.smp-cal-cell.has-fest:hover {
    border-color: rgba(122, 31, 43, .25);
}

.smp-cal-evdot {
    position: absolute;
    right: 9px;
    bottom: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--smp-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}

.smp-cal-cell.has-event .smp-cal-fest {
    padding-right: 12px;
}

/* moon / ekadashi markers (also used in the legend) */
.smp-cal-mark {
    display: inline-block;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.smp-cal-mark.is-full {
    background: radial-gradient(circle at 35% 35%, #FFF3C4, var(--smp-gold) 70%);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, .18);
}

.smp-cal-mark.is-new {
    background: var(--smp-ink-soft);
    box-shadow: inset 0 0 0 2px var(--smp-ink-soft), inset 0 0 0 3.5px var(--smp-surface);
}

.smp-cal-mark.is-ekadashi {
    width: 8px;
    height: 8px;
    border-radius: 1px;
    background: var(--smp-saffron);
    transform: rotate(45deg);
    margin-right: 2px;
}

/* selected / today */
.smp-cal-cell.is-out {
    opacity: .4;
}

.smp-cal-cell.is-out:hover {
    opacity: .75;
}

.smp-cal-cell.is-selected {
    background: var(--smp-surface);
    border-color: var(--smp-gold);
    box-shadow: 0 0 0 1px var(--smp-gold), 0 8px 20px rgba(74, 31, 28, .10);
}

.smp-cal-cell.is-today {
    background: linear-gradient(160deg, var(--smp-maroon), var(--smp-maroon-deep));
    border-color: var(--smp-maroon-deep);
    box-shadow: 0 10px 22px rgba(74, 15, 24, .25);
}

.smp-cal-cell.is-today.is-selected {
    box-shadow: 0 0 0 2px var(--smp-surface), 0 0 0 4px var(--smp-gold), 0 10px 22px rgba(74, 15, 24, .25);
}

.smp-cal-cell.is-today .smp-cal-num {
    color: #FFF6E4;
}

.smp-cal-cell.is-today .smp-cal-tithi {
    color: rgba(255, 243, 220, .78);
}

.smp-cal-cell.is-today .smp-cal-fest {
    color: var(--smp-gold-soft);
}

.smp-cal-cell.is-today .smp-cal-mark.is-new {
    background: #FFF6E4;
    box-shadow: inset 0 0 0 2px #FFF6E4, inset 0 0 0 3.5px var(--smp-maroon);
}

.smp-cal-cell:focus-visible {
    outline: 2px solid var(--smp-saffron);
    outline-offset: 2px;
}

.smp-cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--smp-line-strong);
    font-size: 12.5px;
    color: var(--smp-muted);
}

.smp-cal-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.smp-cal-swatch {
    display: inline-block;
    width: 14px;
    height: 10px;
    border-radius: 3px;
}

.smp-cal-swatch.is-fest {
    background: var(--smp-tint-maroon);
    border: 1px solid rgba(122, 31, 43, .3);
}

.smp-cal-swatch.is-event {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--smp-gold);
}

.smp-cal-noscript {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--smp-muted);
}

/* --- Day panel */
.smp-cal-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.smp-cal-panel {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line-strong);
    border-radius: var(--smp-radius-lg);
    box-shadow: var(--smp-shadow-sm);
    overflow: hidden;
    min-height: 200px;
}

.smp-cal-panel-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background:
            radial-gradient(260px 140px at 100% 0%, rgba(201, 162, 39, .28), transparent 70%),
            linear-gradient(150deg, #6B1925, var(--smp-maroon-deep) 80%);
    color: #FFF6E4;
    overflow: hidden;
}

.smp-cal-panel-head::after {
    content: "";
    position: absolute;
    right: -26px;
    bottom: -40px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(235, 212, 154, .25);
    box-shadow: inset 0 0 0 9px rgba(235, 212, 154, .06);
}

.smp-cal-panel-day {
    font-family: var(--smp-serif);
    font-size: 46px;
    line-height: 1;
    font-weight: 600;
    color: var(--smp-gold-soft);
    min-width: 56px;
    font-variant-numeric: lining-nums;
}

.smp-cal-panel-head strong {
    display: block;
    font-size: 17px;
    font-family: var(--smp-serif);
    font-weight: 600;
    line-height: 1.4;
}

.smp-cal-panel-head > div > span {
    display: block;
    font-size: 13px;
    color: rgba(255, 243, 220, .78);
}

.smp-cal-panel-lunar {
    margin: 16px 22px 2px;
    font-family: var(--smp-serif);
    font-size: 18px;
    line-height: 1.5;
    color: var(--smp-maroon);
    font-weight: 600;
}

.smp-cal-panel-year {
    margin: 0 22px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--smp-muted);
}

.smp-cal-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 22px 0;
}

.smp-cal-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--smp-tint-maroon);
    border: 1px solid rgba(122, 31, 43, .16);
    color: var(--smp-maroon);
    font-size: 12.5px;
    font-weight: 600;
}

.smp-cal-tag.is-day {
    background: rgba(63, 107, 79, .09);
    border-color: rgba(63, 107, 79, .22);
    color: var(--smp-green);
}

.smp-cal-rows {
    margin: 12px 22px 0;
}

.smp-cal-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--smp-line);
}

.smp-cal-row:last-child {
    border-bottom: 0;
}

.smp-cal-row dt {
    font-size: 13px;
    font-weight: 500;
    color: var(--smp-muted);
    white-space: nowrap;
}

.smp-cal-row dd {
    margin: 0;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--smp-ink);
    line-height: 1.5;
}

.smp-cal-row dd small {
    display: block;
    font-size: 11.5px;
    font-weight: 400;
    color: var(--smp-faint);
}

.smp-cal-panel-events {
    margin: 6px 22px 0;
    padding: 12px 0 2px;
    border-top: 1px solid var(--smp-line);
}

.smp-cal-panel-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11.5px;
    letter-spacing: .08em;
    color: var(--smp-saffron);
    font-weight: 600;
}

body.smp-body a.smp-cal-event {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(201, 162, 39, .10);
    border-left: 3px solid var(--smp-gold);
    color: var(--smp-ink);
}

body.smp-body a.smp-cal-event:hover {
    background: rgba(201, 162, 39, .18);
    color: var(--smp-maroon-deep);
}

.smp-cal-event-time {
    font-size: 11.5px;
    color: var(--smp-muted);
}

.smp-cal-event-time:empty {
    display: none;
}

.smp-cal-event-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
}

.smp-cal-note {
    margin: auto 22px 16px;
    padding-top: 10px;
    font-size: 11.5px;
    color: var(--smp-faint);
    line-height: 1.6;
}

/* --- Upcoming festivals */
.smp-cal-upcoming {
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius);
    box-shadow: var(--smp-shadow-sm);
    padding: 16px 18px 14px;
}

.smp-cal-upcoming[hidden] {
    display: none;
}

body.smp-body .smp-cal-up-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-family: var(--smp-serif);
    font-size: 17px;
    color: var(--smp-maroon-deep);
}

.smp-cal-up-title svg {
    color: var(--smp-saffron);
}

.smp-cal-up-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.smp-cal-up {
    min-width: 0;
}

body.smp-body .smp-cal-up-link {
    height: 100%;
    border: 1px solid var(--smp-line) !important;
    padding: 10px 12px !important;
}

body.smp-body .smp-cal-up-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 4px;
    border: 0;
    background: transparent;
    text-align: left;
    color: var(--smp-ink);
    cursor: pointer;
    border-radius: 10px;
    font-family: var(--smp-sans);
    transition: background .18s;
}

body.smp-body .smp-cal-up-link:hover {
    background: var(--smp-tint);
    color: var(--smp-ink);
}

.smp-cal-up-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 48px;
    border-radius: 10px;
    background: var(--smp-tint-maroon);
    border: 1px solid rgba(122, 31, 43, .14);
    color: var(--smp-maroon);
    line-height: 1.1;
}

.smp-cal-up.is-event .smp-cal-up-date {
    background: rgba(201, 162, 39, .12);
    border-color: rgba(201, 162, 39, .35);
    color: #7A5A0E;
}

.smp-cal-up-date b {
    font-family: var(--smp-serif);
    font-size: 19px;
    font-weight: 600;
}

.smp-cal-up-date small {
    font-size: 10.5px;
}

.smp-cal-up-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.smp-cal-up-body strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.smp-cal-up-body small {
    font-size: 12px;
    color: var(--smp-muted);
}

/* --- Calendar responsive */
@media (max-width: 1199.98px) {
    .smp-cal-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .smp-cal-cell {
        min-height: 84px;
        padding: 8px 8px 7px;
    }
}

@media (max-width: 1199.98px) {
    .smp-cal-up-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .smp-cal-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "board" "side" "up";
    }

    .smp-cal-up-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .smp-cal {
        padding-top: 30px;
    }


    .smp-cal-place {
        padding: 4px 10px;
        font-size: 11.5px;
    }

    .smp-cal-board {
        padding: 16px 12px 14px;
        border-radius: var(--smp-radius);
    }

    .smp-cal-bar {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
    }

    .smp-cal-heading {
        flex: 1 1 100%;
    }

    body.smp-body .smp-cal-heading h3 {
        font-size: 23px;
    }

    .smp-cal-heading p {
        font-size: 12.5px;
    }

    .smp-cal-nav {
        width: 100%;
        justify-content: space-between;
    }

    .smp-cal-todaybtn {
        flex: 1;
    }

    .smp-cal-weekdays,
    .smp-cal-days {
        gap: 3px;
    }

    .smp-cal-weekdays span {
        font-size: 11.5px;
    }

    .smp-cal-cell {
        min-height: 54px;
        padding: 6px 4px 5px;
        align-items: center;
        text-align: center;
        border-radius: 10px;
        gap: 2px;
    }

    .smp-cal-top {
        flex-direction: column;
        gap: 3px;
    }

    .smp-cal-num {
        font-size: 16px;
    }

    .smp-cal-mark {
        width: 8px;
        height: 8px;
    }

    .smp-cal-mark.is-ekadashi {
        width: 6px;
        height: 6px;
        margin: 1px 0;
    }

    .smp-cal-tithi,
    .smp-cal-fest {
        display: none;
    }

    .smp-cal-cell.has-fest::after,
    .smp-cal-cell.has-day::after {
        content: "";
        margin-top: auto;
        width: 16px;
        height: 3px;
        border-radius: 3px;
        background: var(--smp-maroon);
    }

    .smp-cal-cell.has-day::after {
        background: var(--smp-green);
    }

    .smp-cal-cell.is-today.has-fest::after {
        background: var(--smp-gold-soft);
    }

    .smp-cal-evdot {
        right: 5px;
        bottom: auto;
        top: 5px;
        width: 5px;
        height: 5px;
        box-shadow: none;
    }

    .smp-cal-legend {
        gap: 6px 14px;
        font-size: 11.5px;
    }

    .smp-cal-up-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .smp-cal-panel-head {
        padding: 16px 18px;
    }

    .smp-cal-panel-lunar,
    .smp-cal-panel-year,
    .smp-cal-panel-tags,
    .smp-cal-rows,
    .smp-cal-panel-events,
    .smp-cal-note {
        margin-left: 18px;
        margin-right: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .smp-cal-cell,
    .smp-cal-arrow,
    .smp-cal-todaybtn {
        transition: none;
    }
}

/* --- Typographic wordmark (used when no logo has been uploaded) */
body.smp-body .smp-masthead-brand > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

body.smp-body .smp-masthead-brand > a:hover .smp-brand-mark {
    transform: rotate(-6deg);
}

.smp-masthead-brand .smp-brand-mark {
    width: 64px;
    height: 64px;
    font-size: 26px;
    transition: transform .4s var(--smp-ease);
}

/* --- Indic labels: wide tracking breaks conjunct letters apart */
.smp-kicker,
.smp-pancha-label,
.smp-week-label,
.smp-label,
.smp-chip,
.smp-tile-count,
.smp-tagline,
.smp-masthead-side,
.smp-footer-brand span,
.smp-footer h4.smp-footer-title,
.smp-cal-panel-label {
    letter-spacing: .02em !important;
}

/* mobile header wordmark (inserted by layout.php when no logo is uploaded) */
.smp-body .header-logo.has-smp-brand img,
.smp-body .offcanvas-logo.has-smp-brand img {
    display: none !important;
}

.smp-body .header-logo.has-smp-brand,
.smp-body .offcanvas-logo.has-smp-brand {
    text-decoration: none;
}


/* ==========================================================================
   Marathi theme — calendar entry types from Admin → Calendar
   ========================================================================== */
.smp-cal-fest.is-holiday {
    color: #1F6B45;
}

.smp-cal-fest.is-muhurat {
    color: #8A5A00;
}

.smp-cal-cell.is-holiday {
    background: linear-gradient(180deg, rgba(46, 125, 79, .12), rgba(46, 125, 79, .04));
    border-color: rgba(46, 125, 79, .18);
}

.smp-cal-cell.is-holiday .smp-cal-num {
    color: #1F6B45;
}

.smp-cal-cell.has-muhurat:not(.is-holiday) {
    background: linear-gradient(180deg, rgba(201, 162, 39, .16), rgba(201, 162, 39, .05));
    border-color: rgba(201, 162, 39, .25);
}

.smp-cal-cell.is-today .smp-cal-num,
.smp-cal-cell.is-today.is-holiday .smp-cal-num {
    color: #FFF6E4;
}

.smp-cal-cell.is-today .smp-cal-fest.is-holiday,
.smp-cal-cell.is-today .smp-cal-fest.is-muhurat {
    color: var(--smp-gold-soft);
}

.smp-cal-notedot {
    position: absolute;
    right: 20px;
    bottom: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2F6FB3;
    box-shadow: 0 0 0 3px rgba(47, 111, 179, .15);
}

.smp-cal-cell:not(.has-event) .smp-cal-notedot {
    right: 9px;
}

.smp-cal-swatch.is-holiday {
    background: rgba(46, 125, 79, .16);
    border: 1px solid rgba(46, 125, 79, .4);
}

.smp-cal-swatch.is-muhurat {
    background: rgba(201, 162, 39, .22);
    border: 1px solid rgba(201, 162, 39, .5);
}

.smp-cal-tag.is-holiday {
    background: rgba(46, 125, 79, .09);
    border-color: rgba(46, 125, 79, .22);
    color: #1F6B45;
}

.smp-cal-tag.is-muhurat {
    background: rgba(201, 162, 39, .14);
    border-color: rgba(201, 162, 39, .35);
    color: #7A5A0E;
}

.smp-cal-panel-notes {
    margin: 6px 22px 0;
    padding: 12px 0 2px;
    border-top: 1px solid var(--smp-line);
}

.smp-cal-note-item {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    background: rgba(47, 111, 179, .07);
    border-left: 3px solid #2F6FB3;
}

.smp-cal-note-item strong {
    font-size: 13.5px;
    color: var(--smp-ink);
}

.smp-cal-note-item span {
    font-size: 12.5px;
    color: var(--smp-muted);
}

.smp-cal-up.is-holiday .smp-cal-up-date {
    background: rgba(46, 125, 79, .1);
    border-color: rgba(46, 125, 79, .3);
    color: #1F6B45;
}

/* Devanagari needs a touch more line-height in tight spots */
.smp-cal-tithi,
.smp-cal-fest {
    line-height: 1.6;
}

@media (max-width: 767.98px) {
    .smp-cal-cell.is-holiday::after {
        content: "";
        margin-top: auto;
        width: 16px;
        height: 3px;
        border-radius: 3px;
        background: #1F6B45;
    }

    .smp-cal-notedot {
        right: auto;
        left: 5px;
        top: 5px;
        bottom: auto;
        width: 5px;
        height: 5px;
        box-shadow: none;
    }

    .smp-cal-panel-notes {
        margin-left: 18px;
        margin-right: 18px;
    }
}

/* ==========================================================================
   Calendar image mode (Admin → Calendar → "Calendar image" / "Both")
   ========================================================================== */
.smp-cal-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    box-shadow: var(--smp-shadow-sm);
}

.smp-cal-tab {
    border: 0;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: var(--smp-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--smp-ink-soft);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.smp-cal-tab:hover {
    color: var(--smp-maroon);
}

.smp-cal-tab.is-active {
    background: var(--smp-maroon);
    color: #FFF6E4;
}

.smp-calimg {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    background: var(--smp-surface);
    border: 1px solid var(--smp-line);
    border-radius: var(--smp-radius-lg);
    box-shadow: var(--smp-shadow);
    padding: 18px 20px 20px;
    overflow: hidden;
}

.smp-calimg::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--smp-maroon-deep), var(--smp-maroon), var(--smp-saffron), var(--smp-gold), var(--smp-maroon));
}

.smp-calimg-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

body.smp-body .smp-calimg-title {
    margin: 0;
    font-family: var(--smp-serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--smp-maroon-deep);
    text-align: center;
}

.smp-cal-arrow:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.smp-calimg-figure {
    margin: 0;
}

.smp-calimg-figure a {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--smp-line);
    background: var(--smp-paper-deep);
    cursor: zoom-in;
}

.smp-calimg-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.smp-calimg-figure figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: var(--smp-muted);
}

@media (max-width: 767.98px) {
    .smp-calimg {
        padding: 14px 12px 14px;
        border-radius: var(--smp-radius);
    }

    body.smp-body .smp-calimg-title {
        font-size: 21px;
    }

    .smp-cal-tabs {
        display: flex;
    }

    .smp-cal-tab {
        flex: 1;
        padding: 8px 10px;
        font-size: 13px;
    }
}

.smp-cal-layout[hidden],
.smp-calimg[hidden] {
    display: none !important;
}

/* ==========================================================================
   Year JSON data (e.g. Mahalaxmi calendar 2027)
   ========================================================================== */
.smp-cal-cell.has-bg:not(.is-today):not(.is-selected) {
    background: var(--vc-bg);
}

.smp-cal-cell.is-red .smp-cal-num {
    color: #D7262E;
}

.smp-cal-cell.is-today.is-red .smp-cal-num,
.smp-cal-cell.is-selected.is-red .smp-cal-num {
    color: #FFD2C8;
}

.smp-cal-dinvishesh {
    margin: 12px 22px 0;
}

.smp-cal-dinvishesh ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--smp-surface-2, #FBF4E8);
    border: 1px solid var(--smp-line, #EDE3D3);
}

.smp-cal-dinvishesh li {
    font-size: 13.5px;
    line-height: 1.7;
    color: #2E3092;
}

.smp-cal-dinvishesh li.is-b {
    font-weight: 700;
}

.smp-cal-dinvishesh li.is-i {
    font-style: italic;
}

@media (max-width: 767.98px) {
    .smp-cal-dinvishesh {
        margin-left: 18px;
        margin-right: 18px;
    }
}

.smp-cal-cell.is-today .smp-cal-fest,
.smp-cal-cell.is-today .smp-cal-tithi {
    color: #FFE7B8 !important;
}

/* Calendar first on the homepage, hero below it */
.smp-main > .smp-cal:first-of-type,
.title-index + .smp-cal {
    padding-top: 28px;
}

.smp-cal + .smp-hero {
    margin-top: 12px;
}

/* ==========================================================================
   v2 — clean layout: compact sticky header, intro, navy footer band
   ========================================================================== */
:root {
    --smp-paper: #FAF6EF;
    --smp-paper-deep: #F1E8D8;
    --smp-surface: #FFFDF8;
    --smp-surface-2: #FBF6EC;
    --smp-ink: #2B2320;
    --smp-ink-soft: #4A3F38;
    --smp-muted: #6B5D52;
    --smp-faint: #9A8C80;
    --smp-maroon: #9E3B2B;
    --smp-maroon-deep: #6E2618;
    --smp-maroon-soft: #B5523F;
    --smp-saffron: #C8711F;
    --smp-gold: #E2A23B;
    --smp-gold-soft: #F2CF8A;
    --smp-line: #E9E1D3;
    --smp-line-strong: #DCCFBB;
    --smp-band: #274156;
    --smp-shadow-sm: 0 1px 2px rgba(43, 35, 32, .05);
    --smp-shadow: 0 6px 18px rgba(43, 35, 32, .06);
}

body.smp-body {
    background: var(--smp-paper);
    background-image: none;
    color: var(--smp-ink);
}

/* ---------- Header ---------- */
.smp-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--smp-paper);
    border-bottom: 1px solid rgba(43, 35, 32, .1);
}

.smp-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 64px;
}

body.smp-body a.smp-hlogo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.smp-hlogo-icon {
    width: 38px;
    height: 38px;
    flex: none;
}

.smp-hlogo-img {
    max-height: 44px;
    width: auto;
}

.smp-hlogo-text {
    min-width: 0;
}

.smp-hlogo-name {
    display: block;
    font-family: var(--smp-serif);
    font-size: 23px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--smp-maroon);
    white-space: nowrap;
}

.smp-hlogo-sub {
    display: block;
    margin-top: 1px;
    font-family: var(--smp-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .2em;
    color: var(--smp-muted);
    white-space: nowrap;
}

.smp-hnav {
    display: flex;
    align-self: stretch;
    margin-left: auto;
}

body.smp-body a.smp-hnav-link {
    display: flex;
    align-items: center;
    padding: 0 11px;
    font-family: var(--smp-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--smp-ink);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
}

body.smp-body a.smp-hnav-link:hover {
    color: var(--smp-maroon);
    border-bottom-color: var(--smp-maroon);
}

.smp-hactions {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 6px;
    flex: none;
}

.smp-hdrop > summary {
    list-style: none;
}

.smp-hdrop > summary::-webkit-details-marker {
    display: none;
}

.smp-icon-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    font-family: var(--smp-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--smp-ink);
    cursor: pointer;
    user-select: none;
    transition: background .15s, color .15s;
}

.smp-icon-btn:hover,
.smp-hdrop[open] > .smp-icon-btn {
    background: var(--smp-paper-deep);
    color: var(--smp-maroon);
}

.smp-hpanel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 22px 0 28px;
    background: var(--smp-paper);
    border-bottom: 1px solid rgba(43, 35, 32, .1);
    box-shadow: 0 18px 40px rgba(43, 35, 32, .12);
}

.smp-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px 32px;
}

body.smp-body .smp-menu-head {
    display: inline-block;
    margin-bottom: 4px;
    font-family: var(--smp-sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--smp-ink);
}

.smp-menu-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.smp-body .smp-menu-group li a {
    display: inline-block;
    padding: 3px 0;
    font-family: var(--smp-sans);
    font-size: 14.5px;
    color: var(--smp-muted);
}

body.smp-body .smp-menu-group a:hover {
    color: var(--smp-maroon);
}

/* search box (header panel + intro) */
.smp-searchform {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    height: 52px;
    padding: 0 6px 0 18px;
    border: 1px solid rgba(43, 35, 32, .16);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--smp-muted);
}

.smp-searchform:focus-within {
    border-color: var(--smp-maroon);
    box-shadow: 0 0 0 3px rgba(158, 59, 43, .12);
}

.smp-searchform input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--smp-sans);
    font-size: 16px;
    color: var(--smp-ink);
}

.smp-searchform button {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--smp-maroon);
    color: #FFF8EE;
    font-family: var(--smp-sans);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
}

.smp-searchform button:hover {
    background: var(--smp-maroon-deep);
}

/* ---------- Intro ---------- */
.smp-intro {
    padding-top: 40px;
}

.smp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

body.smp-body .smp-intro-title {
    margin: 0 0 12px;
    font-family: var(--smp-serif);
    font-size: clamp(30px, 3.4vw, 46px);
    line-height: 1.25;
    font-weight: 500;
    color: var(--smp-ink);
}

.smp-intro-lead {
    margin: 0 0 22px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--smp-ink-soft);
}

.smp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

body.smp-body a.smp-chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(43, 35, 32, .16);
    border-radius: 999px;
    background: var(--smp-surface);
    font-family: var(--smp-sans);
    font-size: 14.5px;
    color: var(--smp-ink);
    transition: border-color .15s, color .15s;
}

body.smp-body a.smp-chip-link:hover {
    border-color: var(--smp-maroon);
    color: var(--smp-maroon);
}

.smp-intro-side .smp-panchangam {
    background: var(--smp-paper-deep);
    border: 0;
    box-shadow: none;
}

/* calendar & cards: flatter, cleaner */
.smp-cal-board,
.smp-cal-panel,
.smp-cal-upcoming,
.smp-hero-list,
.smp-week-card,
.smp-tile,
.smp-card {
    box-shadow: none;
}

.smp-cal-board::before,
.smp-panchangam::before,
.smp-calimg::before {
    display: none;
}

/* ---------- Footer ---------- */
.smp-ft {
    margin-top: 56px;
}

.smp-ft-band {
    background: var(--smp-band);
    color: #FAF6EF;
}

.smp-ft-toran {
    padding-top: 10px;
    line-height: 0;
    color: var(--smp-gold);
    opacity: .85;
}

.smp-ft-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0 24px;
    border-bottom: 1px solid rgba(250, 246, 239, .15);
}

body.smp-body a.smp-ft-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #FAF6EF;
}

.smp-ft-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FAF6EF;
    flex: none;
}

.smp-ft-icon {
    width: 28px;
    height: 28px;
}

.smp-ft-logo {
    max-height: 48px;
    width: auto;
}

.smp-ft-name {
    display: block;
    font-family: var(--smp-serif);
    font-size: 23px;
    line-height: 1.15;
    color: #FAF6EF;
}

.smp-ft-sub {
    display: block;
    margin-top: 2px;
    font-family: var(--smp-sans);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .2em;
    color: rgba(250, 246, 239, .6);
}

.smp-ft-about {
    max-width: 560px;
}

.smp-ft-about p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: rgba(250, 246, 239, .78);
}

body.smp-body a.smp-ft-pill {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 10px;
    padding: 0 18px;
    border: 1px solid var(--smp-gold);
    border-radius: 999px;
    background: rgba(226, 162, 59, .15);
    font-family: var(--smp-sans);
    font-size: 14px;
    font-weight: 600;
    color: #FAF6EF;
}

body.smp-body a.smp-ft-pill:hover {
    background: rgba(226, 162, 59, .26);
}

.smp-ft-dir {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 32px;
    padding: 24px 0;
}

body.smp-body a.smp-ft-head {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    font-family: var(--smp-sans);
    font-size: 15px;
    font-weight: 700;
    color: #FAF6EF;
}

.smp-ft-group ul {
    list-style: none;
    margin: 2px 0 0;
    padding: 0;
}

body.smp-body .smp-ft-group li a {
    display: inline-block;
    padding: 4px 0;
    font-family: var(--smp-sans);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(250, 246, 239, .8);
}

body.smp-body .smp-ft-group a:hover,
body.smp-body .smp-ft-links a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.smp-ft-bottom {
    padding: 18px 0 28px;
    border-top: 1px solid rgba(250, 246, 239, .15);
}

.smp-ft-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-bottom: 12px;
}

body.smp-body .smp-ft-links a {
    font-family: var(--smp-sans);
    font-size: 14px;
    color: rgba(250, 246, 239, .85);
}

.smp-ft-copy {
    margin: 0;
    font-size: 13px;
    color: rgba(250, 246, 239, .7);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    body.smp-body a.smp-hnav-link.is-xl {
        display: none;
    }

    .smp-ft-dir {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .smp-hnav {
        display: none;
    }

    .smp-hactions {
        margin-left: auto;
    }

    .smp-intro-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .smp-ft-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .smp-header-inner {
        height: 56px;
    }

    .smp-hlogo-icon {
        width: 32px;
        height: 32px;
    }

    .smp-hlogo-name {
        font-size: 20px;
    }

    .smp-hlogo-sub {
        font-size: 9.5px;
    }

    .smp-icon-btn span {
        display: none;
    }

    .smp-icon-btn {
        width: 40px;
        padding: 0;
        justify-content: center;
    }

    .smp-hpanel {
        max-height: calc(100vh - 56px);
    }

    .smp-intro {
        padding-top: 24px;
    }

    .smp-intro-lead {
        font-size: 16px;
    }

    .smp-ft-dir {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   v3 — Marathi calendar month pages, month grid, calendar links
   ========================================================================== */
.smp-cm { padding-top: 22px; padding-bottom: 56px; }

.smp-cm-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 14px; padding: 0; font-size: .86rem; color: var(--smp-muted); }
.smp-cm-crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--smp-faint); }
body.smp-body .smp-cm-crumbs a { color: var(--smp-muted); text-decoration: none; }
body.smp-body .smp-cm-crumbs a:hover { color: var(--smp-maroon); }

.smp-cm-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--smp-line); }
.smp-cm-title { font-family: var(--smp-serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; margin: 6px 0 8px; color: var(--smp-ink); letter-spacing: -.01em; }
.smp-cm-lead { max-width: 760px; margin: 0; color: var(--smp-ink-soft); font-size: 1.02rem; }
.smp-cm-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; }
.smp-cm-meta span { font-size: .84rem; padding: 4px 10px; border-radius: 999px; background: var(--smp-surface); border: 1px solid var(--smp-line); color: var(--smp-ink-soft); }
.smp-cm-pager { display: flex; gap: 8px; flex-wrap: wrap; }
body.smp-body a.smp-cm-pbtn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--smp-line-strong); background: var(--smp-surface); color: var(--smp-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
body.smp-body a.smp-cm-pbtn:hover { border-color: var(--smp-maroon); color: var(--smp-maroon); }

.smp-cm-months { display: flex; gap: 6px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: thin; }
body.smp-body a.smp-cm-mchip { flex: none; min-width: 52px; text-align: center; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--smp-line); background: var(--smp-surface); color: var(--smp-ink-soft); font-weight: 600; font-size: .88rem; text-decoration: none; }
body.smp-body a.smp-cm-mchip:hover { border-color: var(--smp-maroon); color: var(--smp-maroon); }
body.smp-body a.smp-cm-mchip.is-active { background: var(--smp-maroon); border-color: var(--smp-maroon); color: #fff; }

.smp-cm-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; margin-top: 18px; align-items: start; }
.smp-cm-figure { margin: 0; background: var(--smp-surface); border: 1px solid var(--smp-line); border-radius: 14px; padding: 10px; box-shadow: var(--smp-shadow-sm); }
.smp-cm-figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
.smp-cm-figure figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 4px 2px; font-size: .9rem; color: var(--smp-muted); }
body.smp-body a.smp-cm-dl { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--smp-maroon); text-decoration: none; white-space: nowrap; }

.smp-cm-glance { display: grid; gap: 16px; }
.smp-cm-box { background: var(--smp-surface); border: 1px solid var(--smp-line); border-radius: 14px; padding: 16px 18px; }
.smp-cm-h2 { font-family: var(--smp-serif); font-size: 1.12rem; margin: 0 0 10px; color: var(--smp-ink); display: flex; align-items: baseline; gap: 8px; }
.smp-cm-h2 span { font-family: var(--smp-sans); font-size: .8rem; font-weight: 500; color: var(--smp-faint); }
.smp-cm-empty { margin: 0; color: var(--smp-muted); font-size: .92rem; }
.smp-cm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.smp-cm-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--smp-ink); }
.smp-cm-list.is-compact { max-height: 300px; overflow: auto; }
body.smp-body a.smp-cm-date { flex: none; width: 52px; display: flex; flex-direction: column; align-items: center; padding: 4px 0; border-radius: 10px; background: var(--smp-paper); border: 1px solid var(--smp-line); color: var(--smp-ink); text-decoration: none; line-height: 1.1; }
.smp-cm-date b { font-family: var(--smp-serif); font-size: 1.15rem; }
.smp-cm-date small { font-size: .66rem; color: var(--smp-muted); }
body.smp-body a.smp-cm-date.is-red { color: var(--smp-maroon); background: #FBEDE8; border-color: #F1D2C8; }

.smp-cm-muhurat { margin: 0; display: grid; gap: 10px; }
.smp-cm-muhurat > div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; align-items: start; }
.smp-cm-muhurat dt { font-weight: 600; font-size: .92rem; color: var(--smp-ink); padding-top: 3px; }
.smp-cm-muhurat dd { margin: 0; display: flex; flex-wrap: wrap; gap: 5px; }
body.smp-body .smp-cm-muhurat dd a { min-width: 30px; text-align: center; padding: 2px 6px; border-radius: 7px; background: #FFF4DE; border: 1px solid #F2DDB0; color: var(--smp-ink); font-size: .88rem; text-decoration: none; }
body.smp-body .smp-cm-muhurat dd a:hover { border-color: var(--smp-gold); }

.smp-cm-section { margin-top: 40px; }
.smp-cm-section .smp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
body.smp-body a.smp-cm-all { font-weight: 600; color: var(--smp-maroon); text-decoration: none; white-space: nowrap; }

.smp-cm-fests { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 16px; }
.smp-cm-fests li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--smp-surface); border: 1px solid var(--smp-line); font-size: .95rem; color: var(--smp-ink); }
.smp-cm-fests li.is-major span { font-weight: 700; color: var(--smp-maroon-deep); }

.smp-cm-table { border: 1px solid var(--smp-line); border-radius: 14px; overflow: hidden; background: var(--smp-surface); }
.smp-cm-tr { display: grid; grid-template-columns: 88px minmax(150px, 1fr) minmax(0, 2.2fr) minmax(170px, 1fr); border-top: 1px solid var(--smp-line); scroll-margin-top: 80px; }
.smp-cm-tr:first-child { border-top: 0; }
.smp-cm-thead { background: var(--smp-paper-deep); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--smp-muted); }
.smp-cm-thead span { padding: 10px 12px; }
.smp-cm-td { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; font-size: .93rem; color: var(--smp-ink); min-width: 0; }
.smp-cm-tdate { align-items: center; text-align: center; border-right: 1px solid var(--smp-line); background: var(--smp-paper); }
.smp-cm-tdate b { font-family: var(--smp-serif); font-size: 1.45rem; line-height: 1; }
.smp-cm-tdate small { font-size: .74rem; color: var(--smp-muted); }
.smp-cm-tr.is-red .smp-cm-tdate b { color: #C62828; }
.smp-cm-tr.is-today { box-shadow: inset 4px 0 0 var(--smp-gold); background: #FFFBEF; }
.smp-cm-tr:target { background: #FFF6E0; }
.smp-cm-todaytag { font-style: normal; font-size: .68rem; font-weight: 700; color: #fff; background: var(--smp-maroon); border-radius: 999px; padding: 1px 7px; margin-top: 2px; }
.smp-cm-tithi { font-weight: 600; }
.smp-cm-nak { color: var(--smp-muted); font-size: .86rem; }
.smp-cm-tag { align-self: flex-start; font-size: .74rem; padding: 1px 8px; border-radius: 999px; background: #EAF1F6; color: var(--smp-band); }
.smp-cm-ev { line-height: 1.4; }
.smp-cm-ev.is-bold { font-weight: 700; }
.smp-cm-ev.is-red { color: #B3261E; }
.smp-cm-ev.is-time { font-size: .82rem; color: var(--smp-muted); }
.smp-cm-ev small { font-weight: 400; color: var(--smp-muted); }
.smp-cm-ev.is-festival, .smp-cm-ev.is-holiday { color: var(--smp-maroon); }
.smp-cm-ev.is-muhurat { color: #8A6100; }
.smp-cm-muted { color: var(--smp-faint); }
.smp-cm-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.smp-cm-chips i { font-style: normal; font-size: .78rem; padding: 1px 8px; border-radius: 999px; background: #FFF4DE; border: 1px solid #F2DDB0; }
.smp-cm-rahu { font-size: .8rem; color: var(--smp-muted); }

.smp-cm-mini { background: var(--smp-surface); border: 1px solid var(--smp-line); border-radius: 14px; padding: 16px; }
.smp-cm-mini-head { font-family: var(--smp-serif); font-size: 1.3rem; margin-bottom: 10px; }
.smp-cm-mini-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.smp-cm-mini-wd { font-size: .75rem; color: var(--smp-muted); }
.smp-cm-mini-wd.is-sun { color: #C62828; }
body.smp-body a.smp-cm-mini-day { padding: 8px 0; border-radius: 8px; color: var(--smp-ink); text-decoration: none; background: var(--smp-paper); }
body.smp-body a.smp-cm-mini-day.is-red { color: #C62828; }
body.smp-body a.smp-cm-mini-day.is-today { outline: 2px solid var(--smp-gold); }

/* Month cards */
.smp-months { margin-top: 44px; }
.smp-months .smp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.smp-mgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.smp-mgrid.is-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.smp-mcard { background: var(--smp-surface); border: 1px solid var(--smp-line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s var(--smp-ease), transform .2s var(--smp-ease); }
.smp-mcard:hover { box-shadow: var(--smp-shadow); transform: translateY(-2px); }
body.smp-body a.smp-mcard-link { display: block; color: inherit; text-decoration: none; }
.smp-mcard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--smp-paper-deep); border-bottom: 1px solid var(--smp-line); }
.smp-mcard-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.smp-mcard-ph { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--smp-serif); color: var(--smp-maroon); }
.smp-mcard-ph b { font-size: 1.4rem; }
.smp-mcard-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 10px; }
.smp-mcard-name { font-family: var(--smp-serif); font-size: 1.2rem; font-weight: 700; color: var(--smp-ink); }
.smp-mcard-mr { font-size: .86rem; color: var(--smp-maroon); }
.smp-mcard-stats { font-size: .78rem; color: var(--smp-muted); margin-top: 2px; }
.smp-mcard-fests { list-style: none; margin: 0; padding: 0 14px 14px; display: grid; gap: 4px; font-size: .84rem; color: var(--smp-ink-soft); }
.smp-mcard-fests li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smp-mcard-fests b { display: inline-block; min-width: 22px; color: var(--smp-maroon); }
.smp-mgrid.is-compact .smp-mcard-body { padding: 8px 10px; }
.smp-mgrid.is-compact .smp-mcard-name { font-size: 1rem; }
.smp-mgrid.is-compact .smp-mcard-mr { font-size: .78rem; }

/* Year page — holidays */
.smp-cy-hol { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 16px; }
body.smp-body a.smp-cy-hrow { display: grid; grid-template-columns: 110px 70px 1fr; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--smp-surface); border: 1px solid var(--smp-line); color: var(--smp-ink); text-decoration: none; font-size: .94rem; }
body.smp-body a.smp-cy-hrow:hover { border-color: var(--smp-maroon); }
.smp-cy-hdate { font-weight: 700; color: var(--smp-maroon); }
.smp-cy-hwd { color: var(--smp-muted); font-size: .84rem; }

/* Menu + footer month lists */
.smp-menu-group.is-cal ul { columns: 2; column-gap: 18px; }
.smp-menu-group.is-cal li { break-inside: avoid; }
.smp-ft-group.is-cal { grid-column: span 2; }
.smp-ft-group.is-cal ul { columns: 2; column-gap: 20px; }
.smp-ft-group.is-cal li { break-inside: avoid; }

@media (max-width: 1199.98px) {
    .smp-mgrid.is-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
    .smp-cm-top { grid-template-columns: 1fr; }
    .smp-mgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .smp-cm-tr { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.6fr); }
    .smp-cm-thead span:last-child { display: none; }
    .smp-cm-mu { grid-column: 2 / -1; padding-top: 0; flex-direction: row; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
    .smp-cm-tdate { grid-row: span 2; }
}
@media (max-width: 767.98px) {
    .smp-ft-group.is-cal { grid-column: 1 / -1; }
    .smp-ft-group.is-cal ul { columns: 3; }
}
@media (max-width: 575.98px) {
    .smp-cm { padding-top: 14px; }
    .smp-mgrid, .smp-mgrid.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .smp-mcard-fests { display: none; }
    .smp-mcard-body { padding: 8px 10px; }
    .smp-mcard-name { font-size: 1.02rem; }
    .smp-cm-thead { display: none; }
    .smp-cm-tr { grid-template-columns: 60px minmax(0, 1fr); }
    .smp-cm-tdate { grid-row: span 3; }
    .smp-cm-events, .smp-cm-mu { grid-column: 2; padding-top: 0; }
    .smp-cm-td { padding: 8px 10px; }
    .smp-cm-fests { grid-template-columns: 1fr; }
    body.smp-body a.smp-cy-hrow { grid-template-columns: 96px 1fr; }
    .smp-cy-hwd { display: none; }
    .smp-cy-hol { grid-template-columns: 1fr; }
    .smp-ft-group.is-cal ul { columns: 2; }
    .smp-cm-section .smp-section-head, .smp-months .smp-section-head { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 576px) {
    .smp-menu-group.is-cal { grid-column: span 2; }
    .smp-menu-group.is-cal ul { columns: 3; }
}
@media (max-width: 991.98px) and (min-width: 768px) {
    .smp-ft-group.is-cal { grid-column: 1 / -1; }
    .smp-ft-group.is-cal ul { columns: 4; }
}

/* Post tables (calendar posts) */
.smp-ptable-wrap { overflow-x: auto; margin: 1.2rem 0 1.6rem; border: 1px solid var(--smp-line); border-radius: 12px; background: var(--smp-surface); }
body.smp-body .entry-content table.smp-ptable { width: 100%; margin: 0; border-collapse: collapse; font-size: .9em; line-height: 1.5; }
body.smp-body .entry-content table.smp-ptable th { text-align: left; padding: 10px 12px; font-size: .82em; letter-spacing: .02em; white-space: nowrap; border-bottom: 1px solid var(--smp-line); }
body.smp-body .entry-content table.smp-ptable td { padding: 9px 12px; border-top: 1px solid var(--smp-line); vertical-align: top; color: var(--smp-ink); }
body.smp-body .entry-content table.smp-ptable tr:first-child td { border-top: 0; }
body.smp-body .entry-content table.smp-ptable td:first-child { white-space: nowrap; }
body.smp-body .entry-content table.smp-ptable tbody tr:nth-child(even) td { background: rgba(241, 232, 216, .35); }
body.smp-body .entry-content [lang="mr"] { font-family: var(--smp-sans); }
body.smp-body .entry-content table.smp-ptable td:nth-child(2), body.smp-body .entry-content table.smp-ptable td.nw { white-space: nowrap; }
body.smp-body .entry-content table.smp-ptable.is-wide { min-width: 640px; }
@media (max-width: 575.98px) {
    body.smp-body .entry-content table.smp-ptable { font-size: .82em; }
    body.smp-body .entry-content table.smp-ptable th, body.smp-body .entry-content table.smp-ptable td { padding: 8px 9px; }
}
body.smp-body .post-share-buttons a.btn-social-share { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
body.smp-body .post-share-buttons a.btn-social-share svg { width: 16px; height: 16px; fill: var(--smp-muted) !important; display: block; }
body.smp-body .post-share-buttons a.btn-social-share:hover svg { fill: #fff !important; }

/* ==========================================================================
   v4 — header menu panel (desktop dropdown, mobile full-screen sheet)
   ========================================================================== */
.smp-hmenu .smp-ico-close { display: none; }
.smp-hmenu[open] .smp-ico-close { display: block; }
.smp-hmenu[open] .smp-ico-open { display: none; }
.smp-hmenu[open]::before {
    content: ""; position: fixed; left: 0; right: 0; top: 64px; bottom: 0;
    background: rgba(43, 35, 32, .28); z-index: -1;
}
.smp-mpanel { padding: 22px 0 26px; z-index: 2; }
.smp-mp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px 36px; }
.smp-mp-sec { min-width: 0; }
.smp-mp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.smp-mp-title { font-family: var(--smp-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--smp-faint); }
body.smp-body a.smp-mp-all { font-size: 14px; font-weight: 600; color: var(--smp-maroon); text-decoration: none; }
body.smp-body a.smp-mp-today {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px;
    border-radius: 14px; background: var(--smp-maroon); color: #fff; text-decoration: none;
}
body.smp-body a.smp-mp-today:hover { background: var(--smp-maroon-deep); color: #fff; }
.smp-mp-today span { display: flex; flex-direction: column; line-height: 1.25; }
.smp-mp-today b { font-size: 15.5px; }
.smp-mp-today small { font-size: 12.5px; opacity: .85; }
.smp-mp-months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
body.smp-body .smp-mp-months a {
    display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px;
    background: var(--smp-surface); border: 1px solid var(--smp-line); color: var(--smp-ink);
    font-weight: 600; font-size: 14px; text-decoration: none;
}
body.smp-body .smp-mp-months a:hover { border-color: var(--smp-maroon); color: var(--smp-maroon); }
.smp-mp-topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.smp-body .smp-mp-topics li > a {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
    background: var(--smp-surface); border: 1px solid var(--smp-line); color: var(--smp-ink); text-decoration: none;
}
body.smp-body .smp-mp-topics li > a:hover { border-color: var(--smp-maroon); }
.smp-mp-topics li > a > span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.smp-mp-topics b { font-size: 15px; font-weight: 700; }
.smp-mp-topics small { font-size: 12.5px; color: var(--smp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smp-mp-topics li > a > svg { flex: none; color: var(--smp-faint); }
.smp-mp-dot {
    flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-style: normal; font-family: var(--smp-serif); font-weight: 700; font-size: 16px; color: #fff;
}
.smp-mp-dot.is-c0 { background: #9E3B2B; } .smp-mp-dot.is-c1 { background: #C8711F; } .smp-mp-dot.is-c2 { background: #8A6100; }
.smp-mp-dot.is-c3 { background: #B3261E; } .smp-mp-dot.is-c4 { background: #274156; } .smp-mp-dot.is-c5 { background: #3F6B4F; }
.smp-mp-sub { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 6px 12px 0 58px; font-size: 13.5px; }
body.smp-body .smp-mp-sub a { color: var(--smp-muted); text-decoration: none; }
.smp-mp-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 14px; border-top: 1px solid var(--smp-line); }
body.smp-body .smp-mp-more a { font-size: 14px; color: var(--smp-muted); text-decoration: none; }
body.smp-body .smp-mp-more a:hover { color: var(--smp-maroon); }

@media (max-width: 991.98px) {
    .smp-mp { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 767.98px) {
    .smp-hmenu[open]::before { top: 56px; }
    .smp-mpanel {
        position: fixed; top: 56px; left: 0; right: 0; bottom: 0; max-height: none;
        padding: 18px 0 32px; border-radius: 0; box-shadow: none; overscroll-behavior: contain;
    }
    .smp-mp-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .smp-mp-topics { grid-template-columns: 1fr; }
    .smp-mp-more { gap: 10px 16px; }
    body.smp-body .smp-mp-more a { font-size: 14.5px; }
    .smp-hmenu[open] > .smp-icon-btn { background: var(--smp-maroon); color: #fff; }
}
@media (max-width: 767.98px) {
    html.smp-menu-open, html.smp-menu-open body { overflow: hidden; }
}

/* ==========================================================================
   v5 — Baby names, aarti & stotra, shared FAQ, link tiles
   ========================================================================== */
.smp-bn-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
body.smp-body .smp-bn-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--smp-line-strong); background: var(--smp-surface); color: var(--smp-ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.smp-bn-tabs a small { font-weight: 600; font-size: .78rem; color: var(--smp-muted); background: var(--smp-tint); border-radius: 999px; padding: 1px 8px; }
body.smp-body .smp-bn-tabs a[aria-current="page"] { background: var(--smp-maroon); border-color: var(--smp-maroon); color: #fff; }
.smp-bn-tabs a[aria-current="page"] small { background: rgba(255,255,255,.18); color: #fff; }

.smp-bn-tool, .smp-st-tool { position: sticky; top: 0; z-index: 5; background: var(--smp-paper); padding: 12px 0 10px; border-bottom: 1px solid var(--smp-line); margin-bottom: 16px; }
.smp-bn-filters { display: grid; grid-template-columns: minmax(220px, 2fr) repeat(3, minmax(140px, 1fr)); gap: 8px; }
.smp-bn-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--smp-line-strong); border-radius: 12px; background: var(--smp-surface); color: var(--smp-muted); margin: 0; }
.smp-bn-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: .97rem; color: var(--smp-ink); }
.smp-bn-search:focus-within { border-color: var(--smp-maroon); box-shadow: 0 0 0 3px rgba(122, 31, 43, .12); }
.smp-bn-filters select { width: 100%; padding: 10px 12px; border: 1px solid var(--smp-line-strong); border-radius: 12px; background: var(--smp-surface); color: var(--smp-ink); font-size: .92rem; }
.smp-bn-letters { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.smp-bn-letters button { flex: 0 0 auto; min-width: 40px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--smp-line); background: var(--smp-surface); color: var(--smp-ink); font-family: var(--smp-serif); font-size: 1.05rem; cursor: pointer; }
.smp-bn-letters button:hover { border-color: var(--smp-maroon-soft); }
.smp-bn-letters button.is-on { background: var(--smp-maroon); border-color: var(--smp-maroon); color: #fff; }
.smp-st-chips button { font-family: var(--smp-sans); font-size: .9rem; }
.smp-bn-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.smp-bn-bar p { margin: 0; color: var(--smp-muted); font-size: .92rem; }
.smp-bn-slbtn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--smp-maroon); background: var(--smp-surface); color: var(--smp-maroon); font-weight: 600; cursor: pointer; }
.smp-bn-slbtn b { background: var(--smp-maroon); color: #fff; border-radius: 999px; padding: 0 8px; font-size: .8rem; }

.smp-bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.smp-bn-card { position: relative; padding: 14px 16px 12px; border: 1px solid var(--smp-line); border-radius: var(--smp-radius); background: var(--smp-surface); box-shadow: var(--smp-shadow-sm); display: flex; flex-direction: column; gap: 4px; }
.smp-bn-card[hidden] { display: none; }
.smp-bn-card::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--smp-saffron); }
.smp-bn-card.is-girl::before { background: var(--smp-maroon-soft); }
.smp-bn-card.is-saved { border-color: var(--smp-maroon-soft); background: var(--smp-tint-maroon); }
.smp-bn-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.smp-bn-name { margin: 0; font-size: 1.05rem; line-height: 1.35; color: var(--smp-ink); }
.smp-bn-name span[lang="mr"] { font-family: var(--smp-serif); font-size: 1.45rem; font-weight: 700; color: var(--smp-maroon-deep); margin-right: 4px; }
.smp-bn-roman { font-weight: 600; color: var(--smp-ink-soft); }
.smp-bn-heart { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--smp-line); background: var(--smp-paper); color: var(--smp-maroon); display: grid; place-items: center; cursor: pointer; }
.smp-bn-heart[aria-pressed="true"] { background: var(--smp-maroon); border-color: var(--smp-maroon); color: #fff; }
.smp-bn-heart[aria-pressed="true"] svg { fill: currentColor; }
.smp-bn-mean { margin: 2px 0 0; color: var(--smp-ink); font-size: .95rem; line-height: 1.5; }
.smp-bn-mr { margin: 0; color: var(--smp-muted); font-size: .92rem; }
.smp-bn-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 0; }
.smp-bn-meta > span { font-size: .76rem; padding: 2px 8px; border-radius: 999px; background: var(--smp-tint); color: var(--smp-ink-soft); }
.smp-bn-meta .smp-bn-g { background: transparent; border: 1px solid var(--smp-line-strong); }
.smp-bn-empty { padding: 26px; text-align: center; color: var(--smp-muted); border: 1px dashed var(--smp-line-strong); border-radius: var(--smp-radius); margin-top: 8px; }

.smp-bn-sl { width: min(520px, calc(100vw - 32px)); max-height: 82vh; padding: 0; border: 0; border-radius: var(--smp-radius-lg); box-shadow: var(--smp-shadow-lg); background: var(--smp-surface); color: var(--smp-ink); }
.smp-bn-sl::backdrop { background: rgba(43, 33, 27, .45); }
.smp-bn-sl-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--smp-line); }
.smp-bn-sl-head h2 { margin: 0; font-size: 1.2rem; font-family: var(--smp-serif); }
.smp-bn-x { border: 0; background: transparent; font-size: 1.8rem; line-height: 1; color: var(--smp-muted); cursor: pointer; }
.smp-bn-sl ol { margin: 0; padding: 12px 20px 4px 40px; max-height: 46vh; overflow: auto; }
.smp-bn-sl li { padding: 6px 0; border-bottom: 1px solid var(--smp-line); }
.smp-bn-sl li b { font-family: var(--smp-serif); font-size: 1.15rem; color: var(--smp-maroon-deep); }
.smp-bn-sl li small { display: block; color: var(--smp-muted); }
#bn-sl-none { margin: 12px 20px; color: var(--smp-muted); }
.smp-bn-sl-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px 18px; }
body.smp-body .smp-bn-act { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--smp-maroon); background: var(--smp-maroon); color: #fff; font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer; }
body.smp-body .smp-bn-act.is-wa { background: #1f7a4d; border-color: #1f7a4d; }
body.smp-body .smp-bn-act.is-ghost { background: transparent; color: var(--smp-maroon); }

.smp-bn-prose { max-width: 820px; color: var(--smp-ink); font-size: 1.02rem; line-height: 1.75; }
.smp-bn-prose p { margin: 0 0 14px; }
.smp-bn-prose ol { padding-left: 22px; margin: 0 0 14px; }
.smp-bn-prose li { margin-bottom: 6px; }
body.smp-body .smp-bn-prose a, body.smp-body .smp-sts-rel a { color: var(--smp-maroon); text-decoration: underline; text-underline-offset: 3px; }
.smp-bn-note { color: var(--smp-muted); max-width: 820px; margin: -4px 0 12px; }
.smp-cm table.smp-ptable { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.5; margin: 0; }
.smp-cm table.smp-ptable th { text-align: left; padding: 10px 12px; font-size: .8rem; letter-spacing: .02em; white-space: nowrap; border-bottom: 1px solid var(--smp-line); background: var(--smp-tint); }
.smp-cm table.smp-ptable td { padding: 9px 12px; border-top: 1px solid var(--smp-line); vertical-align: top; }
.smp-cm table.smp-ptable tbody tr:nth-child(even) td { background: rgba(241, 232, 216, .35); }
.smp-bn-table { min-width: 560px; }
.smp-bn-syl { font-family: var(--smp-serif); font-size: 1.1rem; }

.smp-bn-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
body.smp-body .smp-xlink { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--smp-line); border-radius: var(--smp-radius); background: var(--smp-surface); text-decoration: none; color: var(--smp-ink); transition: border-color .2s var(--smp-ease), transform .2s var(--smp-ease); }
body.smp-body .smp-xlink:hover { border-color: var(--smp-maroon-soft); transform: translateY(-2px); }
.smp-xlink b { color: var(--smp-maroon-deep); font-size: 1.02rem; }
.smp-xlink span { color: var(--smp-muted); font-size: .9rem; }

.smp-xfaq-list { display: grid; gap: 10px; max-width: 860px; }
.smp-xfaq-item { border: 1px solid var(--smp-line); border-radius: 14px; background: var(--smp-surface); }
.smp-xfaq-item summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; color: var(--smp-ink); list-style: none; position: relative; }
.smp-xfaq-item summary::-webkit-details-marker { display: none; }
.smp-xfaq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--smp-maroon); }
.smp-xfaq-item[open] summary::after { content: '−'; }
.smp-xfaq-a { padding: 0 18px 16px; color: var(--smp-ink-soft); line-height: 1.7; }

/* stotra index */
.smp-st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
body.smp-body .smp-st-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--smp-radius); border: 1px solid var(--smp-line); background: var(--smp-surface); text-decoration: none; color: var(--smp-ink); box-shadow: var(--smp-shadow-sm); transition: border-color .2s var(--smp-ease), transform .2s var(--smp-ease); }
body.smp-body .smp-st-card:hover { border-color: var(--smp-saffron); transform: translateY(-2px); }
.smp-st-card[hidden] { display: none; }
.smp-st-type { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--smp-saffron); font-weight: 700; }
.smp-st-mr { font-family: var(--smp-serif); font-size: 1.35rem; line-height: 1.4; color: var(--smp-maroon-deep); }
.smp-st-en { font-weight: 600; color: var(--smp-ink-soft); }
.smp-st-sum { color: var(--smp-muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
.smp-st-by { font-size: .8rem; color: var(--smp-faint); margin-top: auto; padding-top: 6px; }
.smp-st-grid.is-compact .smp-st-mr { font-size: 1.15rem; }
.smp-st-week { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
body.smp-body .smp-st-day { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--smp-tint); border: 1px solid var(--smp-line); color: var(--smp-ink); text-decoration: none; }
body.smp-body .smp-st-day:hover { border-color: var(--smp-maroon-soft); }
.smp-st-dname { font-weight: 700; }
.smp-st-dname small { font-weight: 500; color: var(--smp-muted); }
.smp-st-ddeity { font-size: .82rem; color: var(--smp-muted); }
.smp-st-day b { font-family: var(--smp-serif); color: var(--smp-maroon-deep); font-size: 1.05rem; margin-top: 4px; }
.smp-st-order { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 640px; }
.smp-st-order li { counter-increment: st; }
body.smp-body .smp-st-order a { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--smp-line); background: var(--smp-surface); text-decoration: none; color: var(--smp-ink); }
.smp-st-order a::before { content: counter(st); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--smp-maroon); color: #fff; font-weight: 700; }
.smp-st-order b { font-family: var(--smp-serif); font-size: 1.1rem; color: var(--smp-maroon-deep); }
.smp-st-order span { font-size: .84rem; color: var(--smp-muted); }

/* stotra page */
.smp-sts-head { padding-bottom: 16px; border-bottom: 1px solid var(--smp-line); }
.smp-sts-mrt { display: block; font-size: 1.15em; color: var(--smp-maroon-deep); }
.smp-sts-ent { display: block; font-size: .62em; font-family: var(--smp-sans); font-weight: 700; color: var(--smp-ink-soft); margin-top: 4px; letter-spacing: 0; }
.smp-sts-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.smp-sts-facts div { padding: 6px 12px; border-radius: 12px; background: var(--smp-surface); border: 1px solid var(--smp-line); }
.smp-sts-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--smp-muted); font-weight: 600; }
.smp-sts-facts dd { margin: 0; font-weight: 600; color: var(--smp-ink); font-size: .92rem; }
.smp-sts-fig { margin: 18px 0 0; }
.smp-sts-fig img { width: 100%; max-width: 900px; height: auto; border-radius: var(--smp-radius-lg); display: block; }
.smp-sts-intro { max-width: 820px; margin-top: 18px; font-size: 1.04rem; line-height: 1.75; color: var(--smp-ink); }
.smp-sts-intro p { margin: 0 0 12px; }
.smp-sts-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0; margin: 14px 0 6px; background: var(--smp-paper); border-bottom: 1px solid var(--smp-line); }
.smp-sts-size { display: inline-flex; gap: 6px; }
body.smp-body .smp-sts-btn { display: inline-flex; align-items: center; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--smp-line-strong); background: var(--smp-surface); color: var(--smp-ink); font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: none; }
body.smp-body .smp-sts-btn[aria-pressed="true"] { border-color: var(--smp-maroon); color: var(--smp-maroon); }
body.smp-body .smp-sts-btn.is-wa { color: #1f7a4d; border-color: #9cc9b2; }
.smp-sts-verses { --sts-scale: 1; display: grid; gap: 14px; max-width: 900px; }
.smp-sts-v { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; padding: 16px 18px; border-radius: var(--smp-radius); border: 1px solid var(--smp-line); background: var(--smp-surface); }
.smp-sts-v.is-ref { background: var(--smp-tint); border-color: var(--smp-gold-soft); }
.smp-sts-n { grid-row: span 2; align-self: start; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; background: var(--smp-maroon); color: #fff; font-family: var(--smp-serif); font-size: .92rem; font-weight: 700; }
.smp-sts-v.is-ref .smp-sts-n { background: var(--smp-saffron); }
.smp-sts-text { margin: 0; font-family: var(--smp-serif); font-size: calc(1.22rem * var(--sts-scale)); line-height: 1.9; color: var(--smp-ink); }
.smp-sts-mean { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--smp-line-strong); }
.smp-sts-mean p { margin: 0 0 6px; font-size: calc(.95rem * (1 + (var(--sts-scale) - 1) * .5)); line-height: 1.65; }
.smp-sts-en { color: var(--smp-ink-soft); }
.smp-sts-mr { color: var(--smp-muted); }
.smp-sts-mean b { color: var(--smp-maroon); font-weight: 700; }
.smp-sts-verses.no-mean .smp-sts-mean { display: none; }
.smp-sts-rel { margin-top: 6px; color: var(--smp-muted); }
@media (max-width: 991.98px) {
    .smp-bn-filters { grid-template-columns: 1fr 1fr 1fr; }
    .smp-bn-search { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .smp-bn-filters { grid-template-columns: 1fr 1fr; }
    .smp-bn-filters select:last-child { grid-column: 1 / -1; }
    .smp-bn-grid { grid-template-columns: 1fr; }
    .smp-sts-v { grid-template-columns: 1fr; padding: 14px; }
    .smp-sts-n { grid-row: auto; justify-self: start; margin-bottom: 8px; height: 30px; min-width: 32px; border-radius: 9px; }
    .smp-sts-text { font-size: calc(1.12rem * var(--sts-scale)); }
    .smp-bn-tool, .smp-st-tool { position: static; }
}
@media print {
    .smp-header, #footer, .smp-sts-bar, .smp-cm-crumbs, .smp-xfaq, .smp-bn-more, .btn-scroll-up, .smp-st-grid.is-compact { display: none !important; }
    .smp-sts-v { break-inside: avoid; border-color: #ccc; }
    html.smp-print-sl .smp-cm > *:not(#bn-sl) { display: none !important; }
    html.smp-print-sl #bn-sl { position: static; display: block; box-shadow: none; max-height: none; }
    html.smp-print-sl .smp-bn-sl-actions, html.smp-print-sl .smp-bn-x { display: none; }
}
.smp-mp-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
body.smp-body .smp-mp-extra a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--smp-line); background: var(--smp-surface); text-decoration: none; color: var(--smp-ink); }
body.smp-body .smp-mp-extra a:hover { border-color: var(--smp-maroon-soft); }
.smp-mp-extra i { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-family: var(--smp-serif); font-weight: 700; background: var(--smp-tint-maroon); color: var(--smp-maroon); }
.smp-mp-extra span { display: flex; flex-direction: column; min-width: 0; }
.smp-mp-extra b { font-size: .92rem; }
.smp-mp-extra small { font-size: .76rem; color: var(--smp-muted); line-height: 1.35; }
@media (max-width: 420px) { .smp-mp-extra { grid-template-columns: 1fr; } }
.smp-home-x { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
body.smp-body .smp-home-xcard { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--smp-radius-lg); border: 1px solid var(--smp-line); background: var(--smp-surface); color: var(--smp-ink); text-decoration: none; box-shadow: var(--smp-shadow-sm); transition: transform .2s var(--smp-ease), border-color .2s var(--smp-ease); }
body.smp-body .smp-home-xcard:hover { transform: translateY(-2px); border-color: var(--smp-saffron); }
.smp-home-xcard.is-st { background: linear-gradient(135deg, var(--smp-tint) 0%, var(--smp-surface) 70%); }
.smp-home-xcard.is-bn { background: linear-gradient(135deg, var(--smp-tint-maroon) 0%, var(--smp-surface) 70%); }
.smp-home-xcard b { font-family: var(--smp-serif); font-size: 1.35rem; color: var(--smp-maroon-deep); }
.smp-home-xcard > span:last-child { color: var(--smp-muted); line-height: 1.6; }
@media (max-width: 767.98px) { .smp-home-x { grid-template-columns: 1fr; } }
.section-page .page-content .entry-content { max-width: 860px; }


/* Reading cards and collection directory: warm paper, full titles, one shared card. */
.smp-welcome{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;padding-top:38px;padding-bottom:30px}
.smp-welcome h1{font-family:var(--smp-serif);font-size:clamp(2rem,3.8vw,3.25rem);font-weight:600;line-height:1.25;margin:0 0 18px;color:var(--smp-ink)}
.smp-welcome-copy>p{font-size:1.08rem;line-height:1.8;color:var(--smp-muted);max-width:560px;margin-bottom:20px}
.smp-welcome-picture{display:block;width:100%;height:auto;border-radius:14px;aspect-ratio:1200/630;object-fit:cover}
.smp-welcome-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:15px}.smp-welcome-links a{color:var(--smp-maroon);text-decoration:underline;text-underline-offset:4px}
.smp-today-strip{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:5px;margin-bottom:30px;padding-top:15px;padding-bottom:15px;border-top:1px solid var(--smp-line);border-bottom:1px solid var(--smp-line)}
.smp-today-label{font-family:var(--smp-serif);font-weight:600;color:var(--smp-maroon)}.smp-today-strip>a{margin-left:auto;color:var(--smp-maroon)}
.smp-home-section{margin-top:38px;margin-bottom:42px}.smp-reader-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:17px}
.smp-reader-heading h2{font-family:var(--smp-serif);font-size:clamp(1.4rem,2vw,1.7rem);line-height:1.4;font-weight:500;margin:0;color:var(--smp-ink)}
.smp-reader-heading h2::before{content:'❋';color:var(--smp-saffron);font-family:serif;font-size:1.3em;margin-right:10px;vertical-align:-.04em}
.smp-reader-heading>a{font-size:.9rem;color:var(--smp-maroon);white-space:nowrap}
.smp-reading-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
body.smp-body .smp-reading-card{display:flex;flex-direction:column;min-width:0;padding:8px;border:1px solid var(--smp-line);border-radius:13px;background:var(--smp-surface);box-shadow:none;overflow:hidden;height:100%}
.smp-reading-picture{display:block;position:relative;aspect-ratio:3/2;border-radius:9px;overflow:hidden;background:var(--smp-tint);flex-shrink:0}
.smp-reading-picture img{display:block;width:100%;height:100%;object-fit:cover}.smp-reading-picture .smp-art{width:100%;height:100%;min-height:0}
.smp-reading-copy{padding:7px 5px 10px;display:flex;flex-direction:column;gap:4px;flex:1}
.smp-reading-category{font-size:.84rem;line-height:1.6;color:var(--smp-maroon);font-weight:500;text-decoration:none}
.smp-reading-copy h3{font-family:var(--smp-serif);font-size:clamp(1.05rem,1.6vw,1.25rem);font-weight:500;line-height:1.5;margin:0;letter-spacing:0;overflow-wrap:anywhere}
.smp-reading-copy h3 a{color:var(--smp-ink);text-decoration:none}.smp-reading-copy h3 a:hover{color:var(--smp-maroon);text-decoration:underline;text-underline-offset:3px}
.smp-reading-copy p{font-size:.9rem;line-height:1.65;color:var(--smp-muted);margin:6px 0 0}.smp-reading-copy time{font-size:.79rem;color:var(--smp-muted);margin-top:auto;padding-top:9px}
.smp-collections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.smp-collection{padding:21px 22px;background:var(--smp-surface);border:1px solid var(--smp-line);border-radius:13px}
.smp-collection header{display:flex;gap:10px;justify-content:space-between;align-items:baseline;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--smp-line)}
.smp-collection h3{font-family:var(--smp-serif);font-size:1.2rem;margin:0;font-weight:600}.smp-collection h3 a{color:var(--smp-maroon)}.smp-collection-all{font-size:.8rem;white-space:nowrap;color:var(--smp-muted)}
.smp-collection ul{list-style:none;padding:0;margin:0}.smp-collection li+li{margin-top:11px}.smp-collection li a{font-size:.94rem;line-height:1.65;color:var(--smp-ink);text-decoration:none}.smp-collection li a:hover{text-decoration:underline;text-underline-offset:3px}
.smp-names-link{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;padding:18px 22px;border:1px solid var(--smp-line);border-radius:12px;margin-top:22px;background:var(--smp-surface);color:var(--smp-maroon)}.smp-names-link>span:first-child{font-family:var(--smp-serif);font-weight:600}
.smp-related-reading{margin:36px 0}.smp-related-reading .smp-reading-grid{gap:14px}.smp-related-reading .smp-reading-copy h3{font-size:1.06rem}
@media(max-width:991.98px){.smp-welcome{gap:24px}.smp-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smp-collections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575.98px){.smp-welcome{grid-template-columns:1fr;padding-top:22px;gap:22px}.smp-welcome h1{font-size:2rem}.smp-welcome-picture{max-height:270px}.smp-today-strip>a{margin-left:0}.smp-home-section{margin-top:30px;margin-bottom:30px}.smp-collections-grid{grid-template-columns:1fr}.smp-reading-grid{gap:10px}.smp-reading-copy h3{font-size:1rem}.smp-reading-card{padding:6px!important}.smp-related-reading .smp-reading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smp-reader-heading{align-items:flex-start}.smp-reader-heading h2{font-size:1.35rem}.smp-reading-copy{padding:7px 3px 6px}}
@media(prefers-reduced-motion:reduce){.smp-reading-card,.smp-st-card{transition:none!important;transform:none!important}}

/* Compact Marathi calendar: keep every date and tithi visible on phones. */
@media (max-width:575.98px) {
  .smp-cal-board { padding:12px 8px; }
  .smp-cal-bar { display:grid; grid-template-columns:34px minmax(0,1fr) 34px 52px; align-items:center; gap:6px; }
  .smp-cal-heading { grid-column:2; grid-row:1; text-align:center; min-width:0; }
  body.smp-body .smp-cal-heading h3 { font-size:17px; line-height:1.5; margin:0; white-space:nowrap; }
  .smp-cal-heading p { display:none; }
  .smp-cal-nav { display:contents; }
  .smp-cal-nav [data-cal-prev] { grid-column:1; grid-row:1; }
  .smp-cal-nav [data-cal-next] { grid-column:3; grid-row:1; }
  .smp-cal-nav [data-cal-today] { grid-column:4; grid-row:1; width:52px; min-width:0; padding:0 4px; }
  .smp-cal-arrow { width:34px; height:36px; min-width:0; }
  .smp-cal-weekdays,.smp-cal-days { gap:0; }
  .smp-cal-weekdays { padding:8px 0; margin:0; background:var(--smp-surface-2); border:1px solid var(--smp-line); border-radius:10px 10px 0 0; }
  .smp-cal-days { border-left:1px solid var(--smp-line); border-bottom:1px solid var(--smp-line); border-radius:0 0 10px 10px; overflow:hidden; }
  .smp-cal-cell { min-height:59px; padding:6px 1px 4px; gap:3px; border:0; border-right:1px solid var(--smp-line); border-bottom:1px solid var(--smp-line); border-radius:0; justify-content:flex-start; box-shadow:none; background:var(--smp-surface); }
  .smp-cal-top { width:100%; display:flex; flex-direction:row; justify-content:center; }
  .smp-cal-num { font-size:21px; font-weight:500; }
  .smp-cal-tithi { display:block; width:100%; font-size:10px; line-height:1.4; letter-spacing:-.15px; text-overflow:clip; }
  .smp-cal-fest { display:none; }
  .smp-cal-mark { position:absolute; top:4px; right:3px; width:5px; height:5px; }
  .smp-cal-mark.is-ekadashi { width:4px; height:4px; }
  .smp-cal-cell.has-fest::after,.smp-cal-cell.has-day::after { position:absolute; top:4px; right:3px; width:4px; height:4px; margin:0; border-radius:50%; }
  .smp-cal-cell.is-today,.smp-cal-cell.is-selected,.smp-cal-cell.is-today.is-selected { background:#f2e8de; border-color:var(--smp-line); box-shadow:inset 0 0 0 2px var(--smp-maroon); }
  .smp-cal-cell.is-today .smp-cal-num { color:var(--smp-ink); }
  .smp-cal-cell.is-today .smp-cal-tithi { color:var(--smp-muted); }
  .smp-cal-cell.is-out { visibility:hidden; }
  .smp-cal-legend { margin-top:10px; gap:5px 10px; font-size:10px; }
}

@media(max-width:575.98px){.smp-cal-cell.is-today.is-selected .smp-cal-tithi{color:var(--smp-muted)!important}.smp-cal-cell.is-today.is-selected .smp-cal-num{color:var(--smp-ink)!important}}

/* Allow bilingual headings and search fields to shrink on narrow phones. */
.smp-welcome-copy{min-width:0}.smp-welcome h1{overflow-wrap:anywhere}.smp-intro-search{min-width:0;max-width:100%}.smp-intro-search input{min-width:0}
@media(max-width:575.98px){.smp-welcome{grid-template-columns:minmax(0,1fr)}}
