/*
Theme Name:        EduBaby Love
Theme URI:         https://nexiamath.com/themes/edubaby-love
Author:            Nexiamath
Author URI:        https://nexiamath.com
Description:       EduBaby Love is a cheerful, pastel-first WordPress theme for parenting blogs, early education portals, and family lifestyle websites. Features a playful rounded design, sticky header, breaking-news ticker, mobile drawer navigation, reading progress bar, auto dark mode, social share bar, breadcrumbs, related posts, author card, and 6 configurable ad slots for editorial monetization. Built-in Schema.org NewsArticle, Open Graph, Twitter Card, and canonical URLs ensure strong SEO with no plugins required. Compatible with the Nexiamath-SEO plugin. Requires WordPress 6.0+ and PHP 8.0+.
Version:           1.0.4
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       edubaby-love
Tags:              news, blog, two-columns, right-sidebar, grid-layout, full-width-template, custom-logo, custom-menu, featured-images, footer-widgets, sticky-post, theme-options, threaded-comments, translation-ready, rtl-language-support, accessibility-ready
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --ebl-cream:        #fffef6;
    --ebl-rose:         #ffb3c8;
    --ebl-rose-dark:    #ff6f9e;
    --ebl-mauve:        #8fd3ff;
    --ebl-mauve-dark:   #4ca3dd;
    --ebl-text:         #2a3552;
    --ebl-text-muted:   #5f6d8d;
    --ebl-text-light:   #8a95b2;
    --ebl-card-bg:      #ffffff;
    --ebl-border:       #e8ecff;
    --ebl-shadow:       0 6px 24px rgba(76,163,221,.12);
    --ebl-shadow-hover: 0 10px 30px rgba(255,111,158,.22);
    --ebl-radius:       22px;
    --ebl-radius-sm:    12px;
    --ebl-max:          1200px;
    --ebl-font-body:    'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ebl-font-heading: 'Fredoka', 'Baloo 2', sans-serif;
    --ebl-transition:   .25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ebl-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ebl-text);
    background:
        radial-gradient(circle at 12% 16%, rgba(255,179,200,.22), transparent 28%),
        radial-gradient(circle at 84% 12%, rgba(143,211,255,.26), transparent 30%),
        radial-gradient(circle at 78% 86%, rgba(255,239,150,.22), transparent 26%),
        var(--ebl-cream);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ebl-rose-dark); text-decoration: none; transition: color var(--ebl-transition); }
a:hover { color: var(--ebl-mauve-dark); }

ul, ol { list-style: none; }

/* ============================================================
   SKIP LINK
   ============================================================ */
.ebl-skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 99999;
    background: var(--ebl-rose-dark);
    color: #fff;
    padding: 8px 20px;
    border-radius: 0 0 var(--ebl-radius-sm) var(--ebl-radius-sm);
    font-weight: 700;
    font-size: .9rem;
}
.ebl-skip-link:focus { left: 8px; }

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
#ebl-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ebl-rose), var(--ebl-mauve));
    z-index: 9999;
    transition: width .1s linear;
}

/* ============================================================
   FOCUS
   ============================================================ */
:focus-visible { outline: 2px solid var(--ebl-rose-dark); outline-offset: 3px; }

/* ============================================================
   CONTAINER & LAYOUT
   ============================================================ */
.ebl-container {
    max-width: var(--ebl-max);
    margin-inline: auto;
    padding-inline: 20px;
}

.ebl-grid-main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* ============================================================
   HEADER
   ============================================================ */
.ebl-header {
    background: var(--ebl-card-bg);
    border-bottom: 2px solid var(--ebl-border);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--ebl-shadow);
}

.ebl-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
}

/* Logo */
.ebl-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    line-height: 1.1;
    white-space: nowrap;
}
.ebl-logo-name {
    font-family: var(--ebl-font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--ebl-rose-dark);
    letter-spacing: 0;
}
.ebl-logo-tagline {
    font-size: .72rem;
    color: var(--ebl-text-light);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ebl-logo-img { display: block; height: 50px; width: auto; max-height: 52px; }
.ebl-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}
.ebl-logo .custom-logo {
    display: block;
    height: auto;
    width: auto;
    max-height: 52px;
    max-width: min(220px, 56vw);
    object-fit: contain;
}

/* Search toggle */
.ebl-search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ebl-text-muted);
    font-size: 1.1rem;
    padding: 6px;
    transition: color var(--ebl-transition);
}
.ebl-search-toggle:hover { color: var(--ebl-rose-dark); }

/* Search panel */
.ebl-search-panel {
    display: none;
    background: var(--ebl-cream);
    padding: 12px 0;
    border-top: 1px solid var(--ebl-border);
}
.ebl-search-panel.is-open { display: block; }
.ebl-search-form {
    display: flex;
    gap: 8px;
}
.ebl-search-input {
    flex: 1;
    border: 2px solid var(--ebl-border);
    border-radius: 40px;
    padding: 10px 18px;
    font-family: var(--ebl-font-body);
    font-size: .95rem;
    color: var(--ebl-text);
    background: #fff;
    outline: none;
    transition: border-color var(--ebl-transition);
}
.ebl-search-input:focus { border-color: var(--ebl-rose); }
.ebl-search-submit {
    background: var(--ebl-rose-dark);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px 22px;
    cursor: pointer;
    font-family: var(--ebl-font-body);
    font-weight: 700;
    font-size: .9rem;
    transition: background var(--ebl-transition);
}
.ebl-search-submit:hover { background: var(--ebl-mauve-dark); }

/* Primary nav */
.ebl-nav {
    background: linear-gradient(90deg, #ff9ebb, #8fd3ff);
}
.ebl-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding-block: 0;
    overflow: visible;
}

.ebl-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding-block: 6px;
    flex-wrap: nowrap;
}
.ebl-nav-menu > li { position: relative; flex: 0 0 auto; }
.ebl-nav-menu li a {
    display: block;
    padding: 7px 16px;
    border-radius: 40px;
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .02em;
    transition: background var(--ebl-transition), color var(--ebl-transition);
    white-space: nowrap;
}
.ebl-nav-menu li a:hover,
.ebl-nav-menu li.current-menu-item > a,
.ebl-nav-menu li.current-cat > a {
    background: rgba(255,255,255,.22);
    color: #fff;
}

.ebl-nav-more { position: relative; }
.ebl-nav-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 40px;
    background: transparent;
    color: #fff;
    padding: 7px 14px;
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background var(--ebl-transition), color var(--ebl-transition);
}
.ebl-nav-more-caret {
    font-size: .7rem;
    line-height: 1;
    opacity: .9;
    transform: translateY(-1px);
}
.ebl-nav-more-toggle:hover,
.ebl-nav-more.is-open .ebl-nav-more-toggle,
.ebl-nav-more.has-current .ebl-nav-more-toggle {
    background: rgba(255,255,255,.22);
    color: #fff;
}
.ebl-nav-more-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 210px;
    max-width: min(300px, 78vw);
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--ebl-border);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(42,53,82,.18);
    z-index: 920;
}
.ebl-nav-more.is-open .ebl-nav-more-menu { display: block; }
.ebl-nav-more-menu li + li { margin-top: 2px; }
.ebl-nav-more-menu li a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--ebl-text);
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.ebl-nav-more-menu li a:hover,
.ebl-nav-more-menu li.current-menu-item > a,
.ebl-nav-more-menu li.current-cat > a {
    background: rgba(255,111,158,.16);
    color: var(--ebl-rose-dark);
}

/* Hamburger (mobile) */
.ebl-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.ebl-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ebl-text);
    border-radius: 2px;
    transition: var(--ebl-transition);
}

/* Mobile drawer */
.ebl-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
}
.ebl-drawer.is-open { display: block; }
.ebl-drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61,44,53,.45);
}
.ebl-drawer-panel {
    position: absolute;
    top: 0; left: 0;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--ebl-card-bg);
    overflow-y: auto;
    padding: 24px 20px;
    box-shadow: 4px 0 32px rgba(0,0,0,.15);
}
.ebl-drawer-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--ebl-text-muted);
    float: right;
    line-height: 1;
    padding: 4px;
}
.ebl-drawer-logo {
    font-family: var(--ebl-font-heading);
    font-size: 1.4rem;
    color: var(--ebl-rose-dark);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    clear: both;
    padding-top: 4px;
}
.ebl-drawer-nav { list-style: none; }
.ebl-drawer-nav li { border-bottom: 1px solid var(--ebl-border); }
.ebl-drawer-nav li a {
    display: block;
    padding: 12px 4px;
    color: var(--ebl-text);
    font-weight: 600;
    font-size: .95rem;
}
.ebl-drawer-nav li a:hover { color: var(--ebl-rose-dark); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.ebl-breadcrumb {
    padding: 10px 0;
    font-size: .8rem;
    color: var(--ebl-text-light);
}
.ebl-breadcrumb a { color: var(--ebl-text-muted); }
.ebl-breadcrumb a:hover { color: var(--ebl-rose-dark); }
.ebl-breadcrumb span { margin-inline: 5px; }

/* ============================================================
   HERO — big card at top of homepage
   ============================================================ */
.ebl-hero {
    margin-block: 28px;
}
.ebl-hero-card {
    position: relative;
    border-radius: var(--ebl-radius);
    overflow: hidden;
    background: var(--ebl-card-bg);
    box-shadow: var(--ebl-shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
    transition: box-shadow var(--ebl-transition);
}
.ebl-hero-card:hover { box-shadow: var(--ebl-shadow-hover); }
.ebl-hero-media { overflow: hidden; }
.ebl-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ebl-hero-card:hover .ebl-hero-media img { transform: scale(1.04); }
.ebl-hero-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.ebl-hero-cat {
    display: inline-block;
    background: var(--ebl-rose);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 40px;
    align-self: flex-start;
}
.ebl-hero-title {
    font-family: var(--ebl-font-heading);
    font-size: 1.9rem;
    line-height: 1.25;
    color: var(--ebl-text);
    font-weight: 700;
}
.ebl-hero-title a { color: inherit; }
.ebl-hero-title a:hover { color: var(--ebl-rose-dark); }
.ebl-hero-excerpt {
    color: var(--ebl-text-muted);
    font-size: .95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebl-hero-meta {
    font-size: .8rem;
    color: var(--ebl-text-light);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.ebl-hero-meta a { color: var(--ebl-text-light); }

/* ============================================================
   SECTION HEADING
   ============================================================ */
.ebl-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-block: 28px 18px;
}
.ebl-section-heading h2 {
    font-family: var(--ebl-font-heading);
    font-size: 1.15rem;
    color: var(--ebl-text);
    font-weight: 700;
}
.ebl-section-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ebl-border);
}
.ebl-section-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--ebl-rose);
    flex-shrink: 0;
}

/* ============================================================
   POST CARDS
   ============================================================ */
.ebl-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.ebl-card {
    background: var(--ebl-card-bg);
    border-radius: var(--ebl-radius);
    overflow: hidden;
    box-shadow: var(--ebl-shadow);
    border: 2px solid rgba(143,211,255,.2);
    transition: box-shadow var(--ebl-transition), transform var(--ebl-transition);
    display: flex;
    flex-direction: column;
}
.ebl-card:hover {
    box-shadow: var(--ebl-shadow-hover);
    transform: translateY(-3px);
}
.ebl-card-media { overflow: hidden; aspect-ratio: 16/9; background: var(--ebl-border); }
.ebl-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ebl-card:hover .ebl-card-media img { transform: scale(1.05); }
.ebl-card-body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.ebl-card-cat {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ebl-rose-dark);
}
.ebl-card-title {
    font-family: var(--ebl-font-heading);
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--ebl-text);
    font-weight: 700;
}
.ebl-card-title a { color: inherit; }
.ebl-card-title a:hover { color: var(--ebl-rose-dark); }
.ebl-card-excerpt {
    font-size: .85rem;
    color: var(--ebl-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ebl-card-meta {
    font-size: .75rem;
    color: var(--ebl-text-light);
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--ebl-border);
}

/* List style card (latest / sidebar) */
.ebl-list-card {
    display: flex;
    gap: 14px;
    background: var(--ebl-card-bg);
    border-radius: var(--ebl-radius-sm);
    padding: 12px;
    box-shadow: var(--ebl-shadow);
    transition: box-shadow var(--ebl-transition);
}
.ebl-list-card:hover { box-shadow: var(--ebl-shadow-hover); }
.ebl-list-card-media {
    flex-shrink: 0;
    width: 90px; height: 70px;
    border-radius: var(--ebl-radius-sm);
    overflow: hidden;
    background: var(--ebl-border);
}
.ebl-list-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ebl-list-card-body { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ebl-list-card-title {
    font-family: var(--ebl-font-heading);
    font-size: .9rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--ebl-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebl-list-card-title a { color: inherit; }
.ebl-list-card-title a:hover { color: var(--ebl-rose-dark); }
.ebl-list-card-meta { font-size: .72rem; color: var(--ebl-text-light); margin-top: auto; }

.ebl-list-stack { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   SITE MAIN
   ============================================================ */
.ebl-site-main { padding-block: 20px 48px; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.ebl-sidebar { display: flex; flex-direction: column; gap: 28px; }

.ebl-widget {
    background: var(--ebl-card-bg);
    border-radius: var(--ebl-radius);
    padding: 20px;
    box-shadow: var(--ebl-shadow);
    border: 2px solid rgba(255,179,200,.18);
}
.ebl-widget-title {
    font-family: var(--ebl-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ebl-text);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ebl-rose);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ebl-widget-title::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ebl-rose);
}

/* ============================================================
   AD SLOTS
   ============================================================ */
.ebl-ad-slot {
    background: #fff;
    border: 2px dashed rgba(76,163,221,.35);
    border-radius: 18px;
    padding: 12px;
    margin-block: 18px;
    position: relative;
    text-align: center;
}
.ebl-ad-slot::before {
    content: attr(data-ad-label);
    position: absolute;
    top: -10px;
    left: 14px;
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--ebl-rose-dark);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}
.ebl-ad-slot > * { margin: 0 auto; }
.ebl-ad-header { margin-top: 0; }
.ebl-ad-billboard { margin-block: 18px 30px; }
.ebl-ad-footer { margin-block: 0 24px; }

/* ============================================================
   ARTICLE (single.php)
   ============================================================ */
.ebl-article {
    background: var(--ebl-card-bg);
    border-radius: var(--ebl-radius);
    box-shadow: var(--ebl-shadow);
    overflow: hidden;
}
.ebl-article-header { padding: 32px 36px 0; }
.ebl-article-cat {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ebl-rose-dark);
    margin-bottom: 10px;
    display: block;
}
.ebl-article-title {
    font-family: var(--ebl-font-heading);
    font-size: 2.1rem;
    line-height: 1.25;
    color: var(--ebl-text);
    font-weight: 700;
    margin-bottom: 16px;
}
.ebl-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .82rem;
    color: var(--ebl-text-light);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ebl-border);
}
.ebl-article-meta a { color: var(--ebl-text-muted); }
.ebl-article-meta a:hover { color: var(--ebl-rose-dark); }
.ebl-reading-time { font-weight: 600; color: var(--ebl-mauve); }

/* Share bar */
.ebl-share-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px 36px;
    border-bottom: 1px solid var(--ebl-border);
}
.ebl-share-label { font-size: .82rem; font-weight: 700; color: var(--ebl-text-muted); }
.ebl-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: opacity var(--ebl-transition), transform var(--ebl-transition);
    color: #fff;
    font-family: var(--ebl-font-body);
}
.ebl-share-btn:hover { opacity: .85; transform: translateY(-1px); color: #fff; }
.ebl-share-btn--x  { background: #000; }
.ebl-share-btn--fb { background: #1877f2; }
.ebl-share-btn--wa { background: #25d366; }
.ebl-share-btn--copy { background: var(--ebl-mauve); }
.ebl-share-btn--copy.copied { background: #16a34a; }

.ebl-article-hero { margin: 0; }
.ebl-article-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.ebl-article-hero figcaption {
    padding: 8px 36px;
    font-size: .78rem;
    color: var(--ebl-text-light);
    font-style: italic;
    background: var(--ebl-cream);
}

.ebl-article-content {
    padding: 28px 36px 36px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--ebl-text);
}
.ebl-article-content p  { margin-bottom: 1.2em; }
.ebl-article-content h2 { font-family: var(--ebl-font-heading); font-size: 1.5rem; margin: 2em 0 .6em; color: var(--ebl-text); }
.ebl-article-content h3 { font-family: var(--ebl-font-heading); font-size: 1.2rem; margin: 1.6em 0 .5em; color: var(--ebl-text); }
.ebl-article-content ul,
.ebl-article-content ol  { padding-left: 1.5em; margin-bottom: 1.2em; }
.ebl-article-content ul  { list-style: disc; }
.ebl-article-content ol  { list-style: decimal; }
.ebl-article-content li  { margin-bottom: .5em; }
.ebl-article-content blockquote {
    margin: 1.8em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--ebl-rose);
    background: #fdf0f4;
    border-radius: 0 var(--ebl-radius-sm) var(--ebl-radius-sm) 0;
    font-style: italic;
    color: var(--ebl-text-muted);
    font-size: 1.05rem;
}
.ebl-article-content a { color: var(--ebl-rose-dark); text-decoration: underline; text-underline-offset: 3px; }

.ebl-article-footer { padding: 0 36px 32px; }
.ebl-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}
.ebl-tag {
    display: inline-block;
    background: var(--ebl-cream);
    border: 1px solid var(--ebl-border);
    color: var(--ebl-text-muted);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: .78rem;
    font-weight: 600;
    transition: background var(--ebl-transition), color var(--ebl-transition);
}
.ebl-tag:hover { background: var(--ebl-rose); color: #fff; border-color: var(--ebl-rose); }

/* Related posts */
.ebl-related { margin-top: 40px; }
.ebl-related-title {
    font-family: var(--ebl-font-heading);
    font-size: 1.2rem;
    color: var(--ebl-text);
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--ebl-rose);
}
.ebl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ebl-related-card {
    background: var(--ebl-cream);
    border-radius: var(--ebl-radius-sm);
    overflow: hidden;
    border: 1px solid var(--ebl-border);
    transition: box-shadow var(--ebl-transition);
}
.ebl-related-card:hover { box-shadow: var(--ebl-shadow); }
.ebl-related-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ebl-related-card-body { padding: 12px; }
.ebl-related-card-title {
    font-family: var(--ebl-font-heading);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ebl-text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ebl-related-card-title a { color: inherit; }
.ebl-related-card-title a:hover { color: var(--ebl-rose-dark); }

/* ============================================================
   ARCHIVE / SEARCH / 404
   ============================================================ */
.ebl-archive-header {
    text-align: center;
    padding: 36px 20px 28px;
}
.ebl-archive-header h1 {
    font-family: var(--ebl-font-heading);
    font-size: 2rem;
    color: var(--ebl-text);
    margin-bottom: 8px;
}
.ebl-archive-header p { color: var(--ebl-text-muted); }
.ebl-archive-cat-badge {
    display: inline-block;
    background: var(--ebl-rose);
    color: #fff;
    padding: 5px 16px;
    border-radius: 40px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.ebl-archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 404 */
.ebl-404-wrap {
    text-align: center;
    padding: 80px 20px;
}
.ebl-404-emoji { font-size: 5rem; margin-bottom: 16px; }
.ebl-404-title {
    font-family: var(--ebl-font-heading);
    font-size: 2.5rem;
    color: var(--ebl-text);
    margin-bottom: 12px;
}
.ebl-404-wrap p { color: var(--ebl-text-muted); margin-bottom: 24px; }
.ebl-btn {
    display: inline-block;
    background: var(--ebl-rose);
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    transition: background var(--ebl-transition);
}
.ebl-btn:hover { background: var(--ebl-rose-dark); color: #fff; }

/* ============================================================
   PAGINATION
   ============================================================ */
.ebl-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ebl-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--ebl-border);
    font-size: .88rem;
    font-weight: 700;
    color: var(--ebl-text-muted);
    transition: all var(--ebl-transition);
}
.ebl-pagination .page-numbers:hover,
.ebl-pagination .page-numbers.current {
    background: var(--ebl-rose);
    border-color: var(--ebl-rose);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ebl-footer {
    background: linear-gradient(145deg, #203055, #2c4776);
    color: #d6def8;
    margin-top: 60px;
}
.ebl-footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    padding: 52px 0 36px;
}
.ebl-footer-brand .ebl-logo-name { font-size: 1.5rem; color: var(--ebl-rose); }
.ebl-footer-brand .ebl-logo-tagline { color: #9e8790; }
.ebl-footer-desc { margin-top: 12px; font-size: .85rem; line-height: 1.7; color: #9e8790; }
.ebl-footer-col h4 {
    font-family: var(--ebl-font-heading);
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #5a4048;
}
.ebl-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.ebl-footer-col ul li a {
    color: #9e8790;
    font-size: .85rem;
    transition: color var(--ebl-transition);
}
.ebl-footer-col ul li a:hover { color: var(--ebl-rose); }

.ebl-footer-bottom {
    border-top: 1px solid #5a4048;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: .8rem;
    color: #7a6070;
    flex-wrap: wrap;
}
.ebl-footer-social { display: flex; gap: 10px; }
.ebl-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #5a4048;
    color: #c9b8be;
    font-size: .85rem;
    transition: background var(--ebl-transition), color var(--ebl-transition);
    text-decoration: none;
}
.ebl-footer-social a:hover { background: var(--ebl-rose); color: #fff; }

/* ============================================================
   MOBILE BOTTOM NAV
   ============================================================ */
.ebl-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--ebl-card-bg);
    border-top: 1px solid var(--ebl-border);
    z-index: 800;
    box-shadow: 0 -2px 12px rgba(155,110,130,.1);
}
.ebl-mobile-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}
.ebl-mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 8px;
    font-size: .65rem;
    font-weight: 700;
    color: var(--ebl-text-light);
    text-transform: uppercase;
    letter-spacing: .04em;
    flex: 1;
    text-align: center;
    transition: color var(--ebl-transition);
    text-decoration: none;
}
.ebl-mobile-nav a span.icon { font-size: 1.2rem; }
.ebl-mobile-nav a:hover,
.ebl-mobile-nav a.active { color: var(--ebl-rose-dark); }

/* ============================================================
   COMMENTS
   ============================================================ */
.ebl-comments-area {
    background: var(--ebl-card-bg);
    border-radius: var(--ebl-radius);
    padding: 32px 36px;
    box-shadow: var(--ebl-shadow);
    margin-top: 24px;
}
.ebl-comments-title {
    font-family: var(--ebl-font-heading);
    font-size: 1.3rem;
    color: var(--ebl-text);
    margin-bottom: 24px;
}
.comment-respond .comment-reply-title {
    font-family: var(--ebl-font-heading);
    font-size: 1.15rem;
    color: var(--ebl-text);
    margin-bottom: 18px;
}
.comment-form input,
.comment-form textarea {
    border: 2px solid var(--ebl-border);
    border-radius: var(--ebl-radius-sm);
    padding: 10px 14px;
    font-family: var(--ebl-font-body);
    font-size: .9rem;
    width: 100%;
    color: var(--ebl-text);
    background: var(--ebl-cream);
    transition: border-color var(--ebl-transition);
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--ebl-rose);
    outline: none;
}
.comment-form .submit {
    background: var(--ebl-rose);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 11px 28px;
    font-family: var(--ebl-font-body);
    font-weight: 700;
    cursor: pointer;
    font-size: .92rem;
    transition: background var(--ebl-transition);
    width: auto;
}
.comment-form .submit:hover { background: var(--ebl-rose-dark); }
.comment-list { list-style: none; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--ebl-border); }
.comment-author .fn { font-weight: 700; color: var(--ebl-text); }
.comment-meta { font-size: .78rem; color: var(--ebl-text-light); margin-bottom: 8px; }
.comment-content p { font-size: .92rem; }

/* ============================================================
   SEARCH RESULTS
   ============================================================ */
.ebl-search-results-header {
    padding: 28px 0 18px;
}
.ebl-search-results-header h1 {
    font-family: var(--ebl-font-heading);
    font-size: 1.6rem;
    color: var(--ebl-text);
}
.ebl-search-results-header h1 span { color: var(--ebl-rose-dark); }

/* ============================================================
   WIDGETS (WordPress)
   ============================================================ */
.widget-title { display: none; } /* hidden, ebl-widget-title is used */
.ebl-sidebar .widget { all: unset; }

/* ============================================================
   NEWS TICKER
   ============================================================ */
.ebl-ticker {
    background: linear-gradient(120deg, var(--ebl-rose-dark) 0%, var(--ebl-mauve) 100%);
    color: #fff;
    padding-block: 8px;
    overflow: hidden;
    position: relative;
    z-index: 850;
}
.ebl-ticker-inner {
    display: flex;
    align-items: center;
    overflow: hidden;
    gap: 0;
}
.ebl-ticker-label {
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,255,255,.22);
    padding: 3px 12px;
    border-radius: 40px;
    margin-right: 20px;
    white-space: nowrap;
}
.ebl-ticker-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
}
.ebl-ticker-items {
    display: inline-block;
    white-space: nowrap;
    animation: ebl-ticker-scroll 55s linear infinite;
}
.ebl-ticker-items:hover { animation-play-state: paused; }
.ebl-ticker-item {
    color: rgba(255,255,255,.92);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    padding-inline: 28px;
    transition: color var(--ebl-transition);
}
.ebl-ticker-item:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.ebl-ticker-sep {
    color: rgba(255,255,255,.4);
    font-size: .7rem;
}
@keyframes ebl-ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.ebl-back-top {
    position: fixed;
    right: 20px;
    bottom: 88px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ebl-rose), var(--ebl-mauve));
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(200,100,140,.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
    z-index: 799;
    line-height: 1;
}
.ebl-back-top.is-visible { opacity: 1; pointer-events: auto; }
.ebl-back-top:hover { transform: translateY(-4px) scale(1.07); }
@media (min-width: 641px) {
    .ebl-back-top { bottom: 24px; }
}

/* ============================================================
   BADGES (BARU / HOT)
   ============================================================ */
.ebl-card-media { position: relative; }
.ebl-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 40px;
    color: #fff;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.ebl-badge-new { background: linear-gradient(90deg, var(--ebl-rose-dark), #e05c8a); }
.ebl-badge-hot { background: linear-gradient(90deg, #f97316, #e05c8a); }

/* ============================================================
   ARTICLE DROP-CAP
   ============================================================ */
.single .ebl-article-content > p:first-of-type::first-letter {
    font-family: var(--ebl-font-heading);
    font-size: 3.8rem;
    float: left;
    line-height: .84;
    margin: 4px 10px 0 0;
    color: var(--ebl-rose-dark);
    font-weight: 700;
}

/* ============================================================
   FONT SIZE TOGGLE
   ============================================================ */
.ebl-font-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.ebl-font-btn {
    background: var(--ebl-cream);
    border: 1.5px solid var(--ebl-border);
    border-radius: 20px;
    padding: 2px 9px;
    font-family: var(--ebl-font-body);
    font-size: .72rem;
    font-weight: 700;
    color: var(--ebl-text-muted);
    cursor: pointer;
    transition: all var(--ebl-transition);
    line-height: 1.6;
}
.ebl-font-btn:hover,
.ebl-font-btn.active {
    background: var(--ebl-rose);
    color: #fff;
    border-color: var(--ebl-rose);
}
.ebl-article-content.font-lg { font-size: 1.15rem; }
.ebl-article-content.font-sm { font-size: .92rem; }

/* ============================================================
   AUTHOR CARD
   ============================================================ */
.ebl-author-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff5f7 0%, var(--ebl-cream) 60%);
    border: 1px solid var(--ebl-border);
    border-radius: var(--ebl-radius);
    padding: 24px;
    margin: 28px 36px;
}
.ebl-author-avatar { flex-shrink: 0; }
.ebl-author-avatar-img,
.ebl-author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--ebl-rose);
    box-shadow: 0 3px 12px rgba(200,100,140,.22);
    display: block;
}
.ebl-author-info { flex: 1; }
.ebl-author-of {
    font-size: .7rem;
    color: var(--ebl-text-light);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}
.ebl-author-name {
    font-family: var(--ebl-font-heading);
    font-size: 1.05rem;
    color: var(--ebl-text);
    margin-bottom: 8px;
    font-weight: 700;
}
.ebl-author-bio {
    font-size: .88rem;
    color: var(--ebl-text-muted);
    line-height: 1.65;
    margin-bottom: 10px;
}
.ebl-author-more {
    font-size: .82rem;
    color: var(--ebl-rose-dark);
    font-weight: 700;
}
.ebl-author-more:hover { color: var(--ebl-mauve-dark); }
@media (max-width: 640px) {
    .ebl-author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-inline: 18px;
    }
}

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.ebl-newsletter-cta {
    margin-block: 48px;
    border-radius: var(--ebl-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--ebl-rose) 0%, var(--ebl-mauve) 100%);
    position: relative;
}
.ebl-newsletter-cta::before {
    content: '💌';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    opacity: .12;
    pointer-events: none;
    line-height: 1;
}
.ebl-newsletter-inner {
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.ebl-newsletter-text { flex: 1; min-width: 200px; }
.ebl-newsletter-text h3 {
    font-family: var(--ebl-font-heading);
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.25;
}
.ebl-newsletter-text p {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    line-height: 1.6;
}
.ebl-newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1.3;
    min-width: 260px;
}
.ebl-newsletter-input {
    flex: 1;
    border: none;
    border-radius: 40px;
    padding: 12px 20px;
    font-family: var(--ebl-font-body);
    font-size: .9rem;
    outline: none;
    color: var(--ebl-text);
    background: rgba(255,255,255,.95);
    transition: box-shadow var(--ebl-transition);
}
.ebl-newsletter-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.ebl-newsletter-btn {
    background: var(--ebl-text);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 12px 22px;
    font-family: var(--ebl-font-body);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-size: .88rem;
    transition: background var(--ebl-transition), transform var(--ebl-transition);
}
.ebl-newsletter-btn:hover { background: #000; transform: translateY(-1px); }
.ebl-newsletter-btn:disabled { background: #16a34a; cursor: default; transform: none; }
@media (max-width: 640px) {
    .ebl-newsletter-inner { padding: 28px 20px; }
    .ebl-newsletter-form { flex-direction: column; }
    .ebl-newsletter-btn { align-self: flex-start; }
    .ebl-newsletter-cta::before { display: none; }
}

/* ============================================================
   FLOATING SHARE BAR (desktop)
   ============================================================ */
.ebl-float-share {
    position: fixed;
    left: max(12px, calc((100vw - var(--ebl-max)) / 2 - 66px));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.ebl-float-share.is-visible { opacity: 1; pointer-events: auto; }
.ebl-float-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ebl-rose);
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(200,100,140,.3);
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--ebl-transition), transform var(--ebl-transition);
    font-family: var(--ebl-font-body);
    line-height: 1;
}
.ebl-float-share-btn:hover { background: var(--ebl-mauve); transform: scale(1.1); color: #fff; }
.ebl-float-share-btn.copied { background: #16a34a; }
@media (max-width: 1260px) { .ebl-float-share { display: none; } }

/* ============================================================
   CARD ENTRANCE ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .ebl-card {
        animation: ebl-fade-up .5s ease both;
    }
    .ebl-card:nth-child(2) { animation-delay: .07s; }
    .ebl-card:nth-child(3) { animation-delay: .14s; }
    .ebl-card:nth-child(4) { animation-delay: .21s; }
    .ebl-card:nth-child(5) { animation-delay: .28s; }
    .ebl-card:nth-child(6) { animation-delay: .35s; }
}
@keyframes ebl-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ebl-footer-top { grid-template-columns: 1fr 1fr; }
    .ebl-card-grid { grid-template-columns: repeat(2, 1fr); }
    .ebl-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .ebl-grid-main { grid-template-columns: 1fr; }
    .ebl-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
    .ebl-hero-card { grid-template-columns: 1fr; min-height: auto; }
    .ebl-hero-media { aspect-ratio: 16/9; }
    .ebl-hero-body { padding: 22px 20px; }
    .ebl-hero-title { font-size: 1.45rem; }
    .ebl-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ebl-hamburger { display: flex; }
    .ebl-nav { display: none; }
    .ebl-mobile-nav { display: block; }
    body { padding-bottom: 62px; }
    .ebl-card-grid { grid-template-columns: 1fr; }
    .ebl-related-grid { grid-template-columns: 1fr; }
    .ebl-sidebar { display: flex; }
    .ebl-footer-top { grid-template-columns: 1fr; }
    .ebl-article-header,
    .ebl-share-bar,
    .ebl-article-content,
    .ebl-article-footer { padding-inline: 18px; }
    .ebl-article-title { font-size: 1.5rem; }
    .ebl-article-hero figcaption { padding-inline: 18px; }
    .ebl-comments-area { padding: 20px 18px; }
    .ebl-footer-bottom { justify-content: center; text-align: center; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .ebl-header-top, .ebl-nav, .ebl-ticker, .ebl-drawer,
    .ebl-drawer-overlay, .ebl-mobile-nav, #ebl-progress,
    .ebl-float-share, .ebl-share-bar, .ebl-sidebar,
    .ebl-pagination, .ebl-newsletter-cta, .ebl-skip-link,
    .ebl-ad-slot, .ebl-back-top, .ebl-font-resize { display: none !important; }
    body { background: #fff !important; color: #000 !important; padding-bottom: 0 !important; }
    a { color: #000 !important; text-decoration: underline; }
    .ebl-article-content { max-width: 100% !important; }
    .ebl-article-header,
    .ebl-article-content,
    .ebl-article-footer { padding-inline: 0 !important; }
}

/* ============================================================
   DARK MODE
   ============================================================ */
@media (prefers-color-scheme: dark) {
    :root {
        --ebl-cream:      #1a1219;
        --ebl-card-bg:    #251820;
        --ebl-border:     #3d2c35;
        --ebl-text:       #f0e8ec;
        --ebl-text-muted: #c9b0bb;
        --ebl-text-light: #9e7e8a;
        --ebl-shadow:     0 2px 16px rgba(0,0,0,.4);
        --ebl-shadow-hover: 0 6px 28px rgba(0,0,0,.55);
    }
    body { background: var(--ebl-cream); }
    .ebl-header { background: var(--ebl-card-bg); border-color: var(--ebl-border); }
    .ebl-nav { background: #4a2c38; }
    .ebl-nav-more-menu {
        background: var(--ebl-card-bg);
        border-color: var(--ebl-border);
        box-shadow: 0 12px 30px rgba(0,0,0,.45);
    }
    .ebl-nav-more-menu li a { color: var(--ebl-text); }
    .ebl-nav-more-menu li a:hover,
    .ebl-nav-more-menu li.current-menu-item > a,
    .ebl-nav-more-menu li.current-cat > a {
        background: rgba(255,255,255,.1);
        color: #fff;
    }
    .ebl-search-panel { background: #1a1219; }
    .ebl-search-input { background: var(--ebl-card-bg); border-color: var(--ebl-border); color: var(--ebl-text); }
    .ebl-article-content blockquote { background: #2d1b25; }
    .ebl-article-content a { color: var(--ebl-rose); }
    .ebl-tag { background: #2d1b25; border-color: var(--ebl-border); color: var(--ebl-text-light); }
    .ebl-footer { background: #110c0e; }
    .ebl-drawer-panel { background: var(--ebl-card-bg); }
    .ebl-drawer-nav li a { color: var(--ebl-text); }
    .ebl-mobile-nav { background: var(--ebl-card-bg); border-color: var(--ebl-border); }
    .ebl-comments-area { background: var(--ebl-card-bg); }
    .comment-form input,
    .comment-form textarea { background: var(--ebl-cream); border-color: var(--ebl-border); color: var(--ebl-text); }
    .ebl-404-wrap { color: var(--ebl-text); }
    .ebl-author-card { background: linear-gradient(135deg, #2d1b25 0%, var(--ebl-cream) 60%); }
    .ebl-font-btn { background: var(--ebl-card-bg); border-color: var(--ebl-border); color: var(--ebl-text-muted); }
    .ebl-newsletter-input { background: rgba(255,255,255,.12); color: #fff; }
    .ebl-newsletter-input::placeholder { color: rgba(255,255,255,.6); }
    .ebl-back-top { box-shadow: 0 4px 18px rgba(0,0,0,.5); }
}
