/*
Theme Name: Earn2Trade Blog
Theme URI: https://www.earn2trade.com/blog
Author: Earn2Trade
Description: Lightweight custom theme for the Earn2Trade blog.
Version: 1.0.0
Text Domain: e2t-theme
*/

/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */

:root {
    --e2t-dark: #161616;
    --e2t-pink: #E03860;
    --e2t-pink-hover: #C42E50;
    --e2t-text: #2e2e2e;
    --e2t-text-light: #6b6b6b;
    --e2t-bg: #fff;
    --e2t-bg-off: #f7f7f7;
    --e2t-border: #eee;
    --e2t-radius: 16px;
    --e2t-radius-sm: 6px;
    --e2t-max-width: 1440px;
    --e2t-card-shadow: 0 2px 12px rgba(0,0,0,0.06);
    --e2t-plum: #2D1B3D;
    --e2t-lavender: #F8F5FA;
    --e2t-font: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    --e2t-nav-height: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--e2t-nav-height) + 1rem); overflow-x: hidden; }
body { font-family: var(--e2t-font); font-size: 18px; line-height: 1.7; color: var(--e2t-text); background: var(--e2t-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--e2t-pink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--e2t-pink-hover); }
ul, ol { list-style-position: inside; }

.e2t-container { max-width: var(--e2t-max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.e2t-header { position: relative; z-index: 100; }

.e2t-nav-bar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform .3s;
    border-bottom: 3px solid var(--e2t-dark);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.e2t-nav-bar.is-hidden { transform: translateY(-100%); }

.e2t-nav-inner {
    display: flex;
    align-items: center;
    height: var(--e2t-nav-height);
}

.e2t-logo { flex-shrink: 0; margin-right: 2rem; }
.e2t-logo img { width: 160px; height: auto; }

.e2t-main-nav { flex: 1; }
.e2t-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}
.e2t-menu li { position: relative; }
.e2t-menu > li > a {
    display: block;
    padding: 0 0.85rem;
    line-height: var(--e2t-nav-height);
    color: var(--e2t-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.e2t-menu > li > a:hover,
.e2t-menu > li.current-menu-item > a { background: var(--e2t-pink); color: #fff; }

/* Submenus */
.e2t-menu .menu-item-has-children { position: relative; }
.e2t-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 6px;
    vertical-align: middle;
    transition: transform .2s;
}
.e2t-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--e2t-dark);
    min-width: 220px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 101;
    border-top: 3px solid var(--e2t-pink);
    border-radius: 0 0 var(--e2t-radius-sm) var(--e2t-radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.e2t-menu li:hover > .sub-menu { display: block; }
.e2t-menu .sub-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color .15s, background .15s;
}
.e2t-menu .sub-menu a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* WPML flags in menu */
.e2t-menu .wpml-ls-menu-item a { display: flex !important; align-items: center; gap: 6px; }
.e2t-menu .wpml-ls-flag { width: 18px; height: auto; display: inline-block; }

/* Nav actions */
.e2t-nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.e2t-search-toggle {
    background: none; border: none; color: var(--e2t-dark); cursor: pointer; padding: 0.5rem;
    display: flex; align-items: center;
}
.e2t-search-toggle:hover { color: var(--e2t-pink); }

/* Hamburger */
.e2t-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none; border: none; cursor: pointer; padding: 0.5rem;
    width: 32px; height: 32px;
}
.e2t-menu-toggle span {
    display: block; width: 100%; height: 2px; background: var(--e2t-dark);
    transition: transform .2s, opacity .2s;
}
.e2t-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.e2t-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.e2t-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search overlay */
.e2t-search-overlay {
    background: var(--e2t-bg-off);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--e2t-border);
}
.e2t-search-overlay input[type="search"],
.e2t-search-overlay input[name="s"] {
    width: 100%; padding: 0.75rem 1rem; font-size: 16px;
    border: 1px solid var(--e2t-border); border-radius: var(--e2t-radius);
    font-family: var(--e2t-font);
}

/* ==========================================================================
   LAYOUTS
   ========================================================================== */

.e2t-main { padding: 2rem 0; }

.e2t-single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.e2t-archive-layout,
.e2t-home-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}
.e2t-single-layout > *,
.e2t-archive-layout > *,
.e2t-home-layout > * { min-width: 0; }

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.e2t-breadcrumbs {
    font-size: 12px;
    color: var(--e2t-text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.e2t-breadcrumbs a { color: var(--e2t-text-light); }
.e2t-breadcrumbs a:hover { color: var(--e2t-pink); }
.e2t-breadcrumbs span { margin: 0 0.3rem; }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.e2t-hero-image { margin-bottom: 2rem; border-radius: var(--e2t-radius); overflow: hidden; }
.e2t-hero-image img { width: 100%; }

.e2t-post-category a {
    display: inline-block;
    color: var(--e2t-pink);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    transition: color .15s;
}
.e2t-post-category a:hover { color: var(--e2t-pink-hover); }

.e2t-post-title {
    font-size: clamp(1.75rem, 1.5rem + 1.5vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--e2t-dark);
}

.e2t-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 13px;
    color: var(--e2t-text-light);
    letter-spacing: 0.03em;
    margin-bottom: 1.75rem;
    padding-bottom: 0;
    border-bottom: none;
}
.e2t-meta-avatar { border-radius: 50%; width: 36px; height: 36px; margin-right: 0.5rem; }
.e2t-meta-sep { color: #ccc; }

/* Content */
.e2t-post-content { margin-bottom: 2.5rem; }
.e2t-post-content h2 { font-size: clamp(1.35rem, 1.2rem + 1vw, 1.75rem); font-weight: 700; line-height: 1.3; margin: 2.5rem 0 0.75rem; color: var(--e2t-dark); }
.e2t-post-content h3 { font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem); font-weight: 700; line-height: 1.35; margin: 2rem 0 0.5rem; color: var(--e2t-dark); }
.e2t-post-content h4 { font-size: clamp(1.05rem, 1rem + 0.25vw, 1.15rem); font-weight: 600; line-height: 1.4; margin: 1.5rem 0 0.5rem; }
.e2t-post-content p { margin-bottom: 1.5rem; }
.e2t-post-content ul, .e2t-post-content ol { margin: 0 0 1.5rem 1.5rem; list-style-position: outside; }
.e2t-post-content li { margin-bottom: 0.5rem; }
.e2t-post-content blockquote {
    border-left: 4px solid var(--e2t-pink);
    padding: 1.25rem 1.75rem;
    margin: 1.75rem 0;
    background: var(--e2t-lavender);
    border-radius: var(--e2t-radius);
    font-style: italic;
    font-size: 1.1rem;
}
.e2t-post-content a { color: var(--e2t-pink); text-decoration: underline; }
.e2t-post-content a:hover { color: var(--e2t-pink-hover); }
.e2t-post-content a:active { color: #B3304E; }
.e2t-post-content img { border-radius: var(--e2t-radius); margin: 1rem 0; }
.e2t-post-content .wp-block-image { margin: 1.5rem 0; }

/* ==========================================================================
   TABLES (migrated from custom CSS post 15214)
   ========================================================================== */

.e2t-post-content table,
table.table-design-1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5em 0;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    table-layout: fixed;
    word-wrap: break-word;
}
.e2t-post-content table thead th,
.e2t-post-content table tbody tr:first-child td {
    background: var(--e2t-pink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 18px;
    border: none;
    text-align: left;
}
.e2t-post-content table td {
    font-size: 15px;
    padding: 12px 18px;
    border: none;
    border-bottom: 1px solid #eee;
    color: #333;
    background: #fff;
    vertical-align: top;
}
.e2t-post-content table tbody tr:nth-child(even) td { background: #f9f9f9; }
.e2t-post-content table tbody tr:last-child td { border-bottom: none; }
.e2t-post-content table td:first-child {
    font-weight: 700;
    color: var(--e2t-dark);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.03em;
    width: 200px;
    min-width: 140px;
    word-wrap: break-word;
}
.e2t-post-content table tbody tr:first-child td:first-child { color: #fff; }
.e2t-post-content table tbody tr:hover td { background: #f0f0f0; }
.e2t-post-content table tbody tr:first-child:hover td { background: var(--e2t-pink-hover); }

@media (max-width: 600px) {
    .e2t-post-content table,
    .e2t-post-content table thead,
    .e2t-post-content table tbody,
    .e2t-post-content table tr,
    .e2t-post-content table th,
    .e2t-post-content table td { display: block; width: 100%; }
    .e2t-post-content table { table-layout: auto; font-size: 14px; border-radius: 6px; }
    .e2t-post-content table thead th,
    .e2t-post-content table tbody tr:first-child td { padding: 10px 14px; font-size: 13px; }
    .e2t-post-content table tbody tr { margin-bottom: 8px; border-bottom: 2px solid #eee; }
    .e2t-post-content table td:first-child { white-space: normal; padding: 8px 14px 4px; border-bottom: none; font-size: 12px; color: var(--e2t-text-light); width: 100%; min-width: 0; }
    .e2t-post-content table td { padding: 6px 14px; font-size: 14px; }
    .e2t-post-content table tbody tr:last-child td { border-bottom: none; }
}

/* ==========================================================================
   AUTHOR BOX
   ========================================================================== */

.e2t-author-box {
    display: flex;
    gap: 1.75rem;
    padding: 2.5rem;
    background: var(--e2t-lavender);
    border-radius: var(--e2t-radius);
    margin-bottom: 2.5rem;
}
.e2t-avatar-img { border-radius: 50%; border: 3px solid var(--e2t-pink); width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.e2t-author-avatar { flex-shrink: 0; width: 86px; height: 86px; }
.e2t-author-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.e2t-author-name a { color: var(--e2t-dark); }
.e2t-author-bio { font-size: 0.9rem; color: var(--e2t-text-light); line-height: 1.6; margin-bottom: 0.75rem; }
.e2t-author-more { font-size: 0.85rem; font-weight: 600; color: var(--e2t-pink); transition: color .15s; }
.e2t-author-more:hover { color: var(--e2t-pink-hover); }

/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.e2t-related-posts { margin-bottom: 2.5rem; }
.e2t-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.e2t-related-card {
    display: block;
    color: var(--e2t-text);
    text-decoration: none;
    border-radius: var(--e2t-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--e2t-card-shadow);
    transition: box-shadow .25s, transform .25s;
}
.e2t-related-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    color: var(--e2t-text);
}
.e2t-related-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--e2t-bg-off); }
.e2t-related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.e2t-related-card:hover .e2t-related-thumb img { transform: scale(1.03); }
.e2t-related-body { padding: 1.25rem; }
.e2t-related-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.4rem; color: var(--e2t-dark); }
.e2t-related-meta { font-size: 0.8rem; color: var(--e2t-text-light); }
.e2t-related-placeholder { width: 100%; height: 100%; background: var(--e2t-bg-off); }

/* ==========================================================================
   SIDEBAR
   ========================================================================== */

.e2t-sidebar {
    align-self: start;
    background: var(--e2t-bg);
    border: 1px solid var(--e2t-border);
    border-radius: var(--e2t-radius);
    padding: 1.75rem;
}

.e2t-widget { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--e2t-border); }
.e2t-widget:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.e2t-widget-title,
.e2t-sidebar .cb-sidebar-widget-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--e2t-dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--e2t-pink);
    margin-bottom: 1rem;
}

.e2t-widget ul { list-style: none; margin: 0; padding: 0; }
.e2t-widget ul li { margin-bottom: 0.5rem; overflow: hidden; }
.e2t-widget ul li a { color: var(--e2t-text-light); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; }
.e2t-widget ul li a:hover { color: var(--e2t-dark); }

/* Recent posts widget thumbnails */
.rpwwt-widget ul li { overflow: hidden; margin: 0 0 0.5em; }
.rpwwt-widget ul li img {
    float: left;
    margin: 0.3em 0.75em 0.75em 0;
    width: 70px; height: 70px; object-fit: cover;
    border-radius: 8px;
    border: none;
}
.rpwwt-post-title { font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--e2t-text); }
.rpwwt-post-title:hover { color: var(--e2t-dark); }

/* Category widget */
.widget_categories ul { padding: 0; }
.widget_categories li a { color: var(--e2t-pink); font-size: 0.875rem; }
.widget_categories li a:hover { color: var(--e2t-pink-hover); }

/* Sidebar images */
.e2t-sidebar .widget_media_image img { width: 100%; border-radius: var(--e2t-radius); }

/* Sidebar ad images */
.e2t-widget:last-child a img { width: 100%; border-radius: var(--e2t-radius); }

/* ==========================================================================
   POST CARDS (archive/homepage grid)
   ========================================================================== */

.e2t-post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.e2t-card {
    border-radius: var(--e2t-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--e2t-card-shadow);
    transition: box-shadow .25s, transform .25s;
}
.e2t-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.e2t-card-link { display: block; color: var(--e2t-text); }
.e2t-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--e2t-bg-off); }
.e2t-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.e2t-card:hover .e2t-card-thumb img { transform: scale(1.03); }

.e2t-card-body { padding: 1.25rem; }
.e2t-card-category {
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--e2t-pink); margin-bottom: 0.4rem;
    transition: color .15s;
}
.e2t-card:hover .e2t-card-category { color: var(--e2t-pink-hover); }
.e2t-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.5rem; color: var(--e2t-dark); }
.e2t-card-excerpt { font-size: 0.875rem; color: var(--e2t-text-light); line-height: 1.5; margin-bottom: 0.75rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.e2t-card-meta { font-size: 0.8rem; color: var(--e2t-text-light); display: flex; align-items: center; gap: 0.3rem; }
.e2t-card-avatar { width: 22px; height: 22px; border-radius: 50%; margin-right: 0.25rem; }
.e2t-card-placeholder { width: 100%; height: 100%; background: var(--e2t-bg-off); }

/* ==========================================================================
   HOMEPAGE — EDITORIAL LAYOUT
   ========================================================================== */

.e2t-home-full { max-width: var(--e2t-max-width); }

/* Section headers */
.e2t-section-header {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--e2t-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid var(--e2t-pink);
    display: inline-block;
}

.e2t-home-section { margin-bottom: 3.5rem; }

/* Hero grid */
.e2t-hero-section { margin-bottom: 3.5rem; }
.e2t-hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.e2t-hero-main {
    display: block;
    position: relative;
    border-radius: var(--e2t-radius);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    min-height: 420px;
}
.e2t-hero-main-img { width: 100%; height: 100%; }
.e2t-hero-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.e2t-hero-main:hover .e2t-hero-main-img img { transform: scale(1.03); }
.e2t-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    color: #fff;
}
.e2t-hero-cat {
    display: inline-block;
    background: var(--e2t-pink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: var(--e2t-radius-sm);
    margin-bottom: 0.75rem;
}
.e2t-hero-title {
    font-size: clamp(1.4rem, 1.2rem + 1.2vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.e2t-hero-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.e2t-hero-meta {
    font-size: 0.8rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hero secondary cards */
.e2t-hero-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.e2t-hero-side-card {
    display: flex;
    flex: 1;
    border-radius: var(--e2t-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--e2t-card-shadow);
    color: var(--e2t-text);
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.e2t-hero-side-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    color: var(--e2t-text);
}
.e2t-hero-side-img { flex: 0 0 40%; overflow: hidden; }
.e2t-hero-side-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.e2t-hero-side-card:hover .e2t-hero-side-img img { transform: scale(1.03); }
.e2t-hero-side-body {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.e2t-hero-side-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--e2t-pink);
    margin-bottom: 0.4rem;
}
.e2t-hero-side-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--e2t-dark);
    margin-bottom: 0.4rem;
}
.e2t-hero-side-meta {
    font-size: 0.8rem;
    color: var(--e2t-text-light);
    margin-top: auto;
}

/* Article grid (3 columns) */
.e2t-article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Category spotlight strip */
.e2t-category-strip {
    background: var(--e2t-lavender);
    margin: 0 -1.5rem 3.5rem;
    padding: 2.5rem 1.5rem;
    border-radius: 0;
}
.e2t-strip-inner { max-width: var(--e2t-max-width); margin: 0 auto; }
.e2t-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Small cards for spotlight */
.e2t-card-sm {
    display: flex;
    flex-direction: column;
    border-radius: var(--e2t-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--e2t-card-shadow);
    color: var(--e2t-text);
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.e2t-card-sm:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    color: var(--e2t-text);
}
.e2t-card-sm-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--e2t-bg-off); }
.e2t-card-sm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.e2t-card-sm:hover .e2t-card-sm-thumb img { transform: scale(1.03); }
.e2t-card-sm-body { padding: 1rem; }
.e2t-card-sm-cat {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--e2t-pink); margin-bottom: 0.3rem; display: block;
}
.e2t-card-sm-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; color: var(--e2t-dark); margin-bottom: 0.3rem; }
.e2t-card-sm-meta { font-size: 0.75rem; color: var(--e2t-text-light); }

/* Load more button */
.e2t-load-more { text-align: center; margin: 1rem 0 2rem; }
.e2t-load-more-btn {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: transparent;
    color: var(--e2t-dark);
    border: 2px solid var(--e2t-dark);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.e2t-load-more-btn:hover {
    background: var(--e2t-dark);
    color: #fff;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.e2t-pagination { text-align: center; margin: 2rem 0; }
.e2t-pagination .nav-links { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.e2t-pagination .page-numbers {
    display: inline-block; padding: 0.4rem 0.8rem;
    border: 1px solid var(--e2t-border); border-radius: var(--e2t-radius);
    font-size: 0.875rem; color: var(--e2t-text);
}
.e2t-pagination .page-numbers.current { background: var(--e2t-dark); color: #fff; border-color: var(--e2t-dark); }
.e2t-pagination .page-numbers:hover { border-color: var(--e2t-pink); color: var(--e2t-pink); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.e2t-footer {
    background: #000;
    color: #8c8c8c;
    padding: 2.5rem 0 1.5rem;
    font-size: 14px;
    margin-top: 3rem;
}
.e2t-footer a { color: #aaa; }
.e2t-footer a:hover { color: var(--e2t-pink); }

.e2t-footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.e2t-footer-widget { margin-bottom: 1rem; }
.e2t-footer-widget-title { color: #fff; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }

.e2t-footer .menu { list-style: none; padding: 0; text-align: center; }
.e2t-footer .menu li { display: inline-block; margin: 0 0.75rem; }
.e2t-footer .menu li a { text-transform: uppercase; font-weight: 700; font-size: 13px; }

.footer-socials { text-align: right; }
.footer-socials a { display: inline-block; margin-left: 8px; }
.footer-socials img { width: 28px; height: 28px; }
.footer-address { font-size: 14px; line-height: 1.4; font-weight: 400; }

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.e2t-404 { text-align: center; padding: 4rem 1rem; }
.e2t-404 h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.e2t-404 p { font-size: 1.1rem; color: var(--e2t-text-light); margin-bottom: 2rem; }
.e2t-404-search { max-width: 400px; margin: 0 auto 2rem; }
.e2t-btn {
    display: inline-block; padding: 0.7rem 2rem;
    background: var(--e2t-dark); color: #fff;
    border-radius: var(--e2t-radius); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.875rem;
}
.e2t-btn:hover { background: var(--e2t-pink); color: #fff; }

/* ==========================================================================
   POST MODIFIED INFO (from mu-plugin)
   ========================================================================== */

.post-modified-info {
    font-size: 0.8rem;
    color: var(--e2t-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   COMMENTS (from e2t-comments.php mu-plugin, but base styles here)
   ========================================================================== */

.e2t-comments { margin-top: 2rem; }
.e2t-comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.e2t-comment-list .comment { border-bottom: 1px solid var(--e2t-border); padding: 1rem 0; }
.e2t-comment-list .children { list-style: none; padding-left: 2rem; border-left: 2px solid var(--e2t-bg-off); }

/* ==========================================================================
   TABLE OF CONTENTS (LuckyWP plugin)
   ========================================================================== */

.lwptoc { margin: 2rem 0; }
.lwptoc .lwptoc_i { background: var(--e2t-lavender) !important; color: #333; border-radius: var(--e2t-radius); padding: 1.5rem; border: none !important; }
.lwptoc .lwptoc_item a,
.lwptoc .lwptoc_item a:visited { color: var(--e2t-text) !important; font-size: 15px; line-height: 1.6; transition: color .15s; text-decoration: none !important; }
.lwptoc .lwptoc_item a:hover { color: var(--e2t-pink) !important; }
.lwptoc b.lwptoc_title,
.lwptoc .lwptoc_header { color: var(--e2t-dark) !important; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.lwptoc span.lwptoc_item_number { display: none; }
.lwptoc .lwptoc_toggle a,
.lwptoc .lwptoc_toggle a:visited { color: var(--e2t-pink) !important; font-size: 0.85rem; }
.lwptoc .lwptoc_toggle a:hover { color: var(--e2t-pink-hover) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .e2t-single-layout,
    .e2t-archive-layout {
        grid-template-columns: 1fr;
    }
    .e2t-sidebar {
        margin-top: 2rem;
    }

    /* Homepage hero stacks */
    .e2t-hero-grid { grid-template-columns: 1fr; }
    .e2t-hero-main { min-height: 320px; }
    .e2t-hero-secondary { flex-direction: row; gap: 1rem; }
    .e2t-hero-side-card { flex-direction: column; }
    .e2t-hero-side-img { flex: 0 0 auto; aspect-ratio: 16/9; }

    /* Article grid: 2 columns */
    .e2t-article-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    /* Strip grid: 2 columns */
    .e2t-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { font-size: 16px; line-height: 1.65; }

    .e2t-container { padding: 0 1rem; }
    .e2t-main { padding: 1.5rem 0; }

    .e2t-menu-toggle { display: flex; }

    .e2t-main-nav {
        display: none;
        position: absolute;
        top: var(--e2t-nav-height);
        left: 0; right: 0;
        background: var(--e2t-dark);
        padding: 1rem 0;
        border-top: 3px solid var(--e2t-pink);
    }
    .e2t-main-nav.is-open { display: block; }
    .e2t-menu {
        flex-direction: column;
    }
    .e2t-menu > li > a {
        padding: 0.75rem 1.5rem;
        line-height: 1.4;
        color: #fff;
    }
    .e2t-menu .sub-menu {
        position: static;
        display: none;
        border-top: none;
        border-radius: 0;
        box-shadow: none;
        padding-left: 1rem;
        background: rgba(255,255,255,0.03);
    }
    .e2t-menu .sub-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 12px;
    }
    .e2t-menu .is-sub-open > .sub-menu { display: block; }
    .e2t-menu .is-sub-open > a::after { transform: rotate(-135deg); }

    .e2t-post-grid { grid-template-columns: 1fr; }
    .e2t-related-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .e2t-footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .footer-socials { text-align: center; }

    /* Homepage hero mobile */
    .e2t-hero-main { min-height: 260px; }
    .e2t-hero-title { font-size: 1.3rem; }
    .e2t-hero-excerpt { display: none; }
    .e2t-hero-secondary { flex-direction: column; }
    .e2t-hero-side-card { flex-direction: row; }
    .e2t-hero-side-img { flex: 0 0 35%; aspect-ratio: auto; }
    .e2t-hero-side-body { padding: 1rem; }
    .e2t-hero-side-title { font-size: 0.95rem; }
    .e2t-hero-section { margin-bottom: 2rem; }
    .e2t-home-section { margin-bottom: 2rem; }

    /* Article grid: 1 column */
    .e2t-article-grid { grid-template-columns: 1fr; gap: 1.25rem; }

    /* Strip: 1 column */
    .e2t-category-strip { margin: 0 -1rem 2rem; padding: 1.5rem 1rem; }
    .e2t-strip-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    /* Section header smaller */
    .e2t-section-header { font-size: 1.1rem; margin-bottom: 1rem; }

    /* Hide sidebar on mobile */
    .e2t-sidebar { display: none; }

    /* Post header */
    .e2t-post-meta { margin-bottom: 1.5rem; padding-bottom: 1rem; }

    /* Post content mobile spacing */
    .e2t-post-content { padding: 0; overflow-wrap: break-word; word-wrap: break-word; }
    .e2t-post-content p { margin-bottom: 1rem; }

    /* Hero image on mobile */
    .e2t-hero-image {
        margin-bottom: 1rem;
        border-radius: 0;
    }

    /* Content images */
    .e2t-post-content img { border-radius: 0; max-width: 100%; }

    /* Breadcrumbs: prevent overflow */
    .e2t-breadcrumbs {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
        margin-bottom: 0.75rem;
    }

    /* Author box stacked on mobile */
    .e2t-author-box { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; gap: 1rem; }

    /* Blockquotes on mobile */
    .e2t-post-content blockquote { padding: 0.75rem 1rem; margin: 1rem 0; font-size: 1rem; }

    /* Lists: reduce indent on mobile */
    .e2t-post-content ul, .e2t-post-content ol { margin-left: 1rem; }
}

/* ==========================================================================
   UTILITY & MISC
   ========================================================================== */

.screen-reader-text { clip: rect(1px,1px,1px,1px); position: absolute; height: 1px; width: 1px; overflow: hidden; }
body.menu-open { overflow: hidden; }
.e2t-no-posts, .e2t-no-results { text-align: center; padding: 3rem 1rem; color: var(--e2t-text-light); }

/* Advanced Ads compatibility */
.advads-close-button { z-index: 99; }

/* ==========================================================================
   MIGRATED FROM CUSTOM CSS (post 15214) — widget/menu ID-specific rules
   ========================================================================== */

/* EN home sidebar widgets — previously hidden, now visible */

/* Category widgets — subtle background matching sidebar */
#categories-8, #categories-9, #categories-10,
#categories-11, #categories-12, #categories-14, #categories-16 {
    padding-top: 10px;
}

/* Hidden menu items on desktop (shown on mobile) */
#menu-item-15205, #menu-item-15309, #menu-item-15304,
#menu-item-15297, #menu-item-15302 { display: none; }
@media (max-width: 1015px) {
    #menu-item-15205, #menu-item-15309, #menu-item-15304,
    #menu-item-15297, #menu-item-15302 { display: initial; }
}

/* WPML language switcher flags */
[id^="menu-item-wpml-ls-"] a { display: flex !important; align-items: center; gap: 6px; }
[id^="menu-item-wpml-ls-"] img { margin-right: 5px; }
.wpml-ls-flag { min-width: 18px; }

/* entry-content alias (plugins like Yoast, LuckyWP use this class) */
.entry-content a { color: var(--e2t-pink); text-decoration: underline; }
.entry-content a:hover { color: var(--e2t-pink-hover); }
.entry-content a:active { color: #B3304E; }
.entry-content ul { list-style-type: disc; }
.entry-content blockquote { border-left: 4px solid var(--e2t-pink); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--e2t-bg-off); font-style: italic; }

/* Recent posts widget thumbnail sizing */
#rpwwt-recent-posts-widget-with-thumbnails-9 img,
#rpwwt-recent-posts-widget-with-thumbnails-11 img { width: 90px; height: 90px; }
div#recent-posts-widget-with-thumbnails-11 span.rpwwt-post-title,
div#recent-posts-widget-with-thumbnails-9 span.rpwwt-post-title {
    color: var(--e2t-text); text-transform: none; font-size: 16px; font-weight: 600; line-height: 1.4;
}

/* Homepage card images — fill the 16:9 container */
