/*
Theme Name: Theme By Sojan T.S
Theme URI: https://paranwo.com
Author: Sojan TS
Author URI: https://paranwo.com
Description: A dark, professional WordPress theme for Paranwo - Parapsychology of the New World.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme-by-sojan-ts
*/

/* ========== LOCAL FONTS ========== */
@font-face { font-family: 'Cinzel'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/cinzel-500.ttf') format('truetype'); }
@font-face { font-family: 'Cinzel'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/cinzel-600.ttf') format('truetype'); }
@font-face { font-family: 'Cinzel'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/cinzel-700.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 300; font-style: normal; font-display: swap; src: url('fonts/dmsans-300.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/dmsans-400.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/dmsans-500.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/dmsans-600.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/dmsans-700.ttf') format('truetype'); }

/* ========== VARIABLES ========== */
:root {
    --bg: #050507;
    --bg-soft: #0a0a0e;
    --card: rgba(255,255,255,.03);
    --ink: #e7eefc;
    --muted: #a9b7d6;
    --dim: #5e6e8a;
    --brand: #5ec4e6;
    --brand-soft: rgba(94,196,230,.35);
    --brand-glow: rgba(94,196,230,.08);
    --ring: rgba(94,196,230,.18);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 10px;
    --shadow: 0 10px 30px rgba(0,0,0,.45), 0 3px 10px rgba(0,0,0,.35);
    --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Cinzel', Georgia, serif;
    --transition: 0.3s cubic-bezier(.25,.1,.25,1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e2a3e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* ========== STARFIELD & VIGNETTE ========== */
#starfield { position: fixed; inset: 0; z-index: -2; background: #030305; width: 100%; height: 100%; display: block; }
.bg-vignette {
    position: fixed; inset: -10%; pointer-events: none; z-index: -1;
    background:
        radial-gradient(1200px 800px at 10% -10%, rgba(91,209,255,.08), transparent 60%),
        radial-gradient(900px 700px at 110% 10%, rgba(94,196,230,.08), transparent 60%);
}

/* ========== NAVBAR ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom, rgba(5,5,7,.8), rgba(5,5,7,.4));
    border-bottom: 1px solid rgba(94,196,230,.08);
}
.nav-wrap {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px;
    padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .5px; }
.brand-logo {
    width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: #030305;
    box-shadow: inset 0 2px 8px rgba(255,255,255,.12), 0 6px 18px var(--brand-soft);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-logo-fallback {
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
    color: var(--brand);
}
.brand-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }

.menu {
    margin-left: auto; display: flex; gap: 8px; align-items: center;
    list-style: none;
}
.menu li { position: relative; }
.menu a { padding: 10px 12px; border-radius: var(--radius-xs); display: block; font-size: 14px; font-weight: 500; }
.menu a:hover { background: var(--brand-glow); color: var(--brand); }
.menu .cta {
    background: linear-gradient(135deg, var(--brand), #8dd8f0);
    color: #152138; font-weight: 700; padding: 10px 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 16px var(--brand-soft);
}
.menu .cta:hover { opacity: 0.9; color: #152138; }

/* Nav dropdown (StudyHub courses) */
.menu .menu-item-has-children > a .dropdown-caret {
    font-size: .7em; margin-left: 4px; opacity: .75;
    transition: transform .2s ease;
}
.menu .menu-item-has-children:hover > a .dropdown-caret { transform: rotate(180deg); }
.menu .sub-menu {
    position: absolute; top: 100%; left: 0;
    min-width: 200px; padding: 8px;
    background: var(--bg-soft);
    border: 1px solid var(--ring);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    list-style: none; margin: 6px 0 0;
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 100;
}
.menu .menu-item-has-children:hover > .sub-menu,
.menu .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
.menu .sub-menu li { position: relative; }
.menu .sub-menu a {
    padding: 8px 12px; font-size: 13px; font-weight: 500;
    color: var(--ink); border-radius: var(--radius-xs);
    text-transform: none; letter-spacing: 0;
}
.menu .sub-menu a:hover { background: var(--brand-glow); color: var(--brand); }

/* Mobile sidebar nested list — flat indent */
.mobile-sidebar-nav .sub-menu {
    list-style: none; padding-left: 16px; margin: 4px 0 8px;
    border-left: 1px solid var(--ring);
    display: flex; flex-direction: column; gap: 2px;
}
.mobile-sidebar-nav .menu-item-has-children > a .dropdown-caret { display: none; }
.mobile-sidebar-nav .sub-menu a { font-size: 14px; opacity: .85; }

/* Hamburger */
.hamburger {
    display: none; margin-left: auto; background: none; border: 0;
    color: var(--ink); font-size: 26px; cursor: pointer;
}

/* ========== MOBILE SIDEBAR ========== */
.overlay {
    position: fixed; inset: 0;
    background: rgba(4,8,16,.55); backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease; z-index: 70;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.mobile-sidebar {
    position: fixed; top: 10px; bottom: 10px; left: 10px;
    width: min(360px, 86vw); z-index: 80;
    transform: translateX(-120%);
    transition: transform .32s cubic-bezier(.25,.1,.25,1);
    border-radius: 26px; overflow: hidden; pointer-events: none;
}
.mobile-sidebar.open { transform: translateX(0); pointer-events: auto; }

.mobile-sidebar-shell {
    height: 100%; display: flex; flex-direction: column;
    padding: 14px 16px 20px;
    background: linear-gradient(145deg, rgba(8,8,10,0.95), rgba(5,5,7,0.92));
    border-radius: 26px;
    border: 1px solid rgba(94,196,230,.32);
    box-shadow: 0 24px 70px rgba(0,0,0,.85);
    backdrop-filter: blur(26px) saturate(150%);
}
.mobile-sidebar-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 10px; border-bottom: 1px solid rgba(94,196,230,.16);
    margin-bottom: 18px;
}
.mobile-sidebar-brand { display: flex; align-items: center; gap: 10px; }
.mobile-sidebar-logo {
    width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
    background: #030305; box-shadow: 0 6px 16px rgba(0,0,0,.7);
}
.mobile-sidebar-logo img { width: 100%; height: 100%; object-fit: contain; }
.mobile-sidebar-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }

.mobile-sidebar-close {
    width: 36px; height: 36px; border-radius: 16px;
    border: 1px solid var(--brand-soft); background: rgba(5,5,7,.96);
    color: var(--ink); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.7);
    transition: background .18s, transform .18s;
}
.mobile-sidebar-close:hover { background: var(--brand-glow); transform: translateY(-1px); }

.mobile-sidebar-nav ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.mobile-sidebar-nav a {
    display: block; padding: 4px 2px; font-weight: 600;
    font-size: 0.98rem; letter-spacing: .04em;
}
.mobile-sidebar-nav a:hover { color: var(--brand); text-shadow: 0 0 18px rgba(94,196,230,.55); }

/* ========== FRONT PAGE HERO ========== */
.fp-hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #08090d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fp-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom, rgba(5,5,7,.6) 0%, rgba(5,5,7,.3) 40%, rgba(5,5,7,.5) 70%, rgba(5,5,7,.95) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(5,5,7,.7) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Hero Content */
.fp-hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
    opacity: 0; transform: translateY(20px);
    animation: heroFadeIn .9s ease .3s forwards;
}
@keyframes heroFadeIn {
    to { opacity: 1; transform: none; }
}

.fp-hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 22px; border-radius: 999px;
    border: 1px solid rgba(94,196,230,.25);
    background: rgba(10,14,20,.7);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    font-size: 14px; font-weight: 400; color: rgba(255,255,255,.85);
    letter-spacing: .3px;
    margin-bottom: 28px;
}
.fp-hero-badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--brand);
}
.fp-hero-badge strong {
    font-weight: 700;
    color: #fff;
}
.fp-hero-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.12; color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.fp-hero-glow {
    color: #fff;
}
.glow-letter {
    display: inline-block;
    color: #fff;
    text-shadow: none;
    animation: letterGlow 1.8s ease-in-out infinite;
}
@keyframes letterGlow {
    0%, 100% { color: #fff; text-shadow: none; }
    40% { color: var(--brand); text-shadow: 0 0 6px rgba(94,196,230,.4), 0 0 16px rgba(94,196,230,.2); }
    60% { color: var(--brand); text-shadow: 0 0 6px rgba(94,196,230,.4), 0 0 16px rgba(94,196,230,.2); }
}
.fp-hero-desc {
    font-size: 16px; color: rgba(255,255,255,.7);
    line-height: 1.7; max-width: 500px;
    margin: 0 auto 32px;
}

/* Hero CTA Buttons */
.fp-hero-ctas {
    display: flex; gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.fp-hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 12px;
    font-size: 15px; font-weight: 600;
    transition: all .25s ease;
}
.fp-hero-btn-primary {
    background: var(--brand); color: #0a0a0e;
    box-shadow: 0 4px 24px rgba(94,196,230,.25);
}
.fp-hero-btn-primary:hover {
    transform: translateY(-2px); color: #0a0a0e;
    box-shadow: 0 8px 32px rgba(94,196,230,.4);
}

/* Hero Tags */
.fp-hero-tags {
    font-size: 14px; font-weight: 400;
    color: rgba(255,255,255,.45);
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Scroll indicator */
.fp-hero-scroll {
    position: absolute; bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,.35);
    animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}
.fp-hero-latest svg { color: var(--brand); flex-shrink: 0; }

/* Trust line */
.fp-hero-trust {
    font-size: 11px; color: var(--dim);
    letter-spacing: .5px;
    padding-top: 20px;
    border-top: 1px solid rgba(94,196,230,.06);
}

/* Hero mobile image card — hidden on desktop */
.fp-hero-mobile-img { display: none; }

/* ========== FRONT PAGE BLOGS ========== */
.fp-blogs {
    padding: 64px 0 80px;
    position: relative;
}
.fp-blogs-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 32px; gap: 20px;
}
.fp-blogs-header > div { flex: 1; }
.fp-blogs-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 32px);
    color: #fff; margin-bottom: 6px;
}
.fp-blogs-sub {
    font-size: 14px; color: var(--dim);
    margin-bottom: 0;
}
.fp-blogs-viewall-desktop {
    font-size: 14px; font-weight: 600;
    color: var(--brand); white-space: nowrap;
    padding: 10px 20px; border-radius: 10px;
    border: 1px solid rgba(94,196,230,.2);
    transition: all .25s ease;
    flex-shrink: 0;
}
.fp-blogs-viewall-desktop:hover {
    background: rgba(94,196,230,.08);
    border-color: var(--brand);
    color: var(--brand);
}
/* Hide bottom CTA on desktop, show on mobile */
.section-cta { text-align: center; margin-top: 40px; display: none; }
.fp-blogs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.fp-blogs-grid > .article-card { max-width: 280px; }
@media (max-width: 1100px) {
    .fp-blogs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .fp-blogs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .fp-blogs-grid { grid-template-columns: 1fr; gap: 14px; }
    .fp-blogs-grid > .article-card { max-width: none; }
}

/* ========== FOOTER (redesigned) ========== */
.site-footer {
    border-top: 1px solid var(--ring);
    padding: 0;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px; padding: 52px 0 36px;
}
.footer-brand {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.footer-logo {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    background: #030305; box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 700; color: #fff;
}
.footer-desc {
    font-size: 14px; color: var(--muted); line-height: 1.7;
}
.footer-heading {
    font-size: 13px; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.footer-links {
    list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
    color: var(--muted); font-size: 14px; transition: all var(--transition);
}
.footer-links a:hover { color: var(--brand); }

.footer-email {
    display: inline-block; color: var(--brand);
    font-size: 15px; font-weight: 600;
    margin-bottom: 18px;
    transition: text-shadow var(--transition);
}
.footer-email:hover { text-shadow: 0 0 14px var(--brand-soft); }

.footer-socials {
    display: flex; gap: 10px;
}
.footer-social-icon {
    width: 40px; height: 40px; border-radius: 10px;
    border: 1px solid var(--ring);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: all var(--transition);
}
.footer-social-icon:hover {
    color: var(--brand); border-color: var(--brand);
    background: var(--brand-glow);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--ring);
    padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--dim);
}
.footer-credit { letter-spacing: .5px; }

/* ========== BLOG HERO (for home.php) ========== */
.hero {
    position: relative; overflow: hidden;
    background: left center / cover no-repeat;
    background-color: var(--bg);
    min-height: 100vh;
    margin-top: 0;
}
body.home, body.page-template-front-page { padding-top: 0; }

.hero::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to left,
        rgba(5,5,7,.93) 35%, rgba(5,5,7,.6) 55%,
        rgba(5,5,7,.2) 75%, transparent);
    z-index: 1;
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(5,5,7,1) 0%, transparent 30%);
    z-index: 1;
}

.hero-wrap {
    position: relative; z-index: 2;
    max-width: 1400px; margin: 0 auto;
    padding: 90px 40px 70px;
    display: flex; justify-content: flex-end; align-items: center;
    min-height: 100vh;
}
.details { max-width: 520px; }
.details .badge {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid rgba(94,196,230,.25);
    padding: 8px 16px; border-radius: 999px;
    background: rgba(10,10,14,.65);
    font-size: 14px; font-weight: 500; color: var(--brand);
}
.details .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--brand-soft); }
    50% { opacity: .7; box-shadow: 0 0 0 6px transparent; }
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.12; margin: 14px 0 10px;
    color: #fff;
}
.hero .lead {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--muted); max-width: 50ch;
    line-height: 1.7;
}
.stats { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.stat {
    padding: 10px 18px;
    border: 1px solid var(--ring);
    border-radius: var(--radius-sm);
    background: rgba(10,10,14,.6);
    font-size: 14px; font-weight: 600;
    color: var(--brand);
    letter-spacing: .3px;
}

/* Mobile hero image card (hidden on desktop) */
.hero-mobile-img { display: none; }

@keyframes rotateBorder {
    to { --border-angle: 360deg; }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ========== SECTIONS ========== */
section { padding: 72px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 40px);
    margin: 0 0 12px; color: #fff;
}
.section-sub { color: var(--muted); margin: 0 0 32px; font-size: 16px; }
.btn-view-all {
    display: inline-block; padding: 12px 28px;
    border: 1px solid var(--ring); border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; color: var(--brand);
    transition: all var(--transition);
}
.btn-view-all:hover {
    background: var(--brand-glow); border-color: var(--brand);
    color: var(--brand); transform: translateY(-2px);
}

/* ========== SPONSORED POSTS ========== */
.section-sponsored { padding: 40px 0 0; }
.sponsored-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.sponsored-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid rgba(94,196,230,.25);
    overflow: hidden;
    background: rgba(255,255,255,.03);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sponsored-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    border-color: rgba(94,196,230,.45);
}
.sponsored-link {
    display: block; color: inherit; text-decoration: none;
}
.sponsored-img { overflow: hidden; }
.sponsored-img img {
    width: 100%; height: auto; display: block;
    transition: transform .4s ease;
}
.sponsored-card:hover .sponsored-img img { transform: scale(1.03); }
.sponsored-label {
    padding: 12px 16px 8px;
    font-family: var(--font-display);
    font-size: 14px; font-weight: 600;
    color: var(--ink);
}
.sponsored-badge {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 10px; border-radius: 6px;
    background: rgba(94,196,230,.9);
    color: #152138; font-size: 10px;
    font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px;
}

/* ========== ARTICLE CARDS GRID ========== */
.article-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.article-card {
    border-radius: 20px;
    border: 1px solid var(--ring);
    background: #15151f;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    display: flex; flex-direction: column;
    padding: 14px; overflow: hidden;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.7);
    border-color: rgba(94,196,230,.4);
}
.article-card-thumb {
    aspect-ratio: 16/9; overflow: hidden;
    background: #030305; border-radius: var(--radius-sm);
}
.article-card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.article-card:hover .article-card-thumb img { transform: scale(1.05); }

.article-card-body {
    padding: 10px 4px 6px;
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.article-tag-row {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.article-tag {
    display: inline-block; padding: 3px 8px;
    border: 1px solid rgba(94,196,230,.3);
    border-radius: 999px;
    font-size: .6rem; font-weight: 600;
    letter-spacing: .05em; text-transform: uppercase;
    color: var(--brand); background: var(--brand-glow);
    width: fit-content;
}
.article-tag a { color: var(--brand); }
.article-tag a:hover { color: #8dd8f0; }
.article-tag-course {
    border-color: rgba(180,140,255,.35);
    background: rgba(180,140,255,.10);
    color: #c8a8ff;
}
.article-tag-course a { color: #c8a8ff; }
.article-tag-course a:hover { color: #e0ccff; }

.article-card-body h3 {
    margin: 0; font-family: var(--font-display);
    font-size: 1.1rem; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-body h3 a { color: var(--ink); }
.article-card-body h3 a:hover { color: var(--brand); }

.article-card-body .excerpt {
    margin: 0; font-size: .88rem; color: var(--muted);
    line-height: 1.5; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-meta {
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid rgba(94,196,230,.1);
    display: flex; flex-direction: column; gap: 2px;
    font-size: .75rem; color: var(--dim);
}
.article-meta strong { color: var(--muted); font-weight: 600; }

.no-thumb {
    width: 100%; height: 100%; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--dim); font-size: 13px;
}

.no-posts-msg {
    text-align: center; padding: 60px 20px; color: var(--dim);
}
.no-posts-msg h3 { font-size: 22px; color: var(--muted); margin-bottom: 8px; }

/* ========== ABOUT ========== */
.about-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.card {
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}
.card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem; margin-bottom: 12px; color: #fff;
}
.card p { color: var(--muted); line-height: 1.7; margin-bottom: 10px; font-size: 15px; }

.about-features { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.about-feat { display: flex; gap: 14px; align-items: flex-start; }
.about-feat-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.about-feat strong { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.about-feat p { margin: 0; font-size: 13px; color: var(--muted); }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-email {
    color: var(--brand); font-weight: 600; font-size: 17px;
    transition: text-shadow var(--transition);
}
.contact-email:hover { text-shadow: 0 0 16px var(--brand-soft); }

.contact-socials { display: flex; gap: 10px; margin-top: 16px; }
.contact-social-link {
    padding: 8px 16px; border: 1px solid var(--ring);
    border-radius: var(--radius-xs); font-size: 13px; font-weight: 600;
    transition: all var(--transition);
}
.contact-social-link:hover {
    border-color: var(--brand); background: var(--brand-glow); color: var(--brand);
}

.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.contact-form input,
.contact-form textarea {
    width: 100%; background: rgba(5,5,7,.8);
    border: 1px solid var(--ring); border-radius: var(--radius-xs);
    padding: 12px 16px; font-size: 14px; font-family: var(--font-body);
    color: var(--ink); transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--dim); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button {
    padding: 12px 28px; border: none; border-radius: var(--radius-xs);
    background: linear-gradient(135deg, var(--brand), #8dd8f0);
    color: #152138; font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all var(--transition);
    box-shadow: 0 6px 16px var(--brand-soft);
}
.contact-form button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px var(--brand-soft); }

/* ========== FOOTER ========== */
.site-footer {
    border-top: 1px solid var(--ring);
    background: #000;
    position: relative; z-index: 1;
}
.footer-top { padding: 60px 0 40px; background: #000; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden;
    background: #030305; box-shadow: 0 4px 12px rgba(0,0,0,.5);
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand-name {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff;
}
.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }

.footer-socials { display: flex; gap: 8px; }
.footer-social {
    padding: 6px 12px; border: 1px solid var(--ring);
    border-radius: var(--radius-xs); font-size: 13px; font-weight: 600;
    transition: all var(--transition); color: var(--muted);
}
.footer-social:hover {
    border-color: var(--brand); color: var(--brand); background: var(--brand-glow);
}

.footer-heading {
    font-size: 13px; font-weight: 700; color: #fff;
    text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: all var(--transition); }
.footer-links a:hover { color: var(--brand); transform: translateX(3px); display: inline-block; }

.footer-bottom {
    border-top: 1px solid var(--ring);
    padding: 20px 0;
}
.footer-bottom-inner {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; color: var(--dim);
}
.footer-credit { letter-spacing: .5px; }

/* ========== SCROLL REVEAL ========== */
.reveal { opacity: 0; transform: translateY(16px); transition: .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ========== BACK TO TOP ========== */
.to-top {
    position: fixed; right: 18px; bottom: 18px;
    background: rgba(10,10,14,.9);
    border: 1px solid var(--ring);
    border-radius: 14px; padding: 10px 14px;
    display: none; z-index: 60;
    color: var(--brand); font-size: 18px; font-weight: 700;
    transition: all var(--transition);
}
.to-top.show { display: block; }
.to-top:hover { background: var(--brand-glow); border-color: var(--brand); transform: translateY(-3px); }

/* ========== WP ADMIN BAR FIX ========== */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* ========== BLOG LIST PAGE (home.php / index.php / archive.php) ========== */
.page-wrapper {
    max-width: 1200px; margin: 0 auto; padding: 90px 20px 40px;
}
.page-heading {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 40px);
    color: #fff; margin: 0 0 8px;
}
.blog-layout {
    display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: start;
}
.blog-list { display: flex; flex-direction: column; gap: 0; }
.blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
@media (max-width: 820px) {
    .blog-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .blog-grid-3 { grid-template-columns: 1fr; }
}
.posts-count { font-size: 14px; color: var(--dim); margin-bottom: 15px; }
.posts-count strong { color: var(--brand); }

.blog-card {
    background: var(--card); border-radius: var(--radius); padding: 24px;
    margin-bottom: 16px; border: 1px solid var(--ring);
    transition: all var(--transition);
}
.blog-card:hover { border-color: rgba(94,196,230,.35); box-shadow: 0 0 30px var(--brand-glow); }

.blog-card-title { font-size: 19px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; font-family: var(--font-display); }
.blog-card-title a { color: var(--ink); }
.blog-card-title a:hover { color: var(--brand); }
.blog-card-meta { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--dim); margin-bottom: 15px; flex-wrap: wrap; }
.blog-card-meta .meta-author { color: var(--brand); }
.blog-card-body { display: flex; gap: 20px; align-items: flex-start; }
.blog-card-thumb { width: 200px; height: 130px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-thumb .no-thumb { width: 100%; height: 100%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 12px; }
.blog-card-desc { flex: 1; font-size: 14px; color: var(--muted); line-height: 1.7; }
.blog-card-footer { margin-top: 12px; }
.blog-card-category {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px;
    background: var(--brand-glow); color: var(--brand); border: 1px solid rgba(94,196,230,.2);
}
.blog-card-category:hover { background: var(--brand); color: #152138; }

.load-more-wrapper { text-align: center; margin-top: 25px; }
.load-more-btn {
    display: inline-block; background: var(--bg-soft); color: var(--ink);
    padding: 12px 35px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
    border: 1px solid var(--ring); cursor: pointer; transition: all var(--transition);
}
.load-more-btn:hover { border-color: var(--brand); background: var(--brand-glow); color: var(--brand); }
.load-more-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ========== BLOG SIDEBAR ========== */
.blog-sidebar {
    display: flex; flex-direction: column; gap: 20px;
    position: sticky; top: 90px;
}

.sw-widget {
    background: var(--card); border-radius: var(--radius); padding: 20px;
    border: 1px solid var(--ring);
}
.sw-search-form {
    display: flex; gap: 0;
    border-radius: 12px; overflow: hidden;
    border: 1px solid var(--ring);
    background: rgba(255,255,255,.03);
    transition: border-color .25s ease;
}
.sw-search-form:focus-within {
    border-color: var(--brand);
}
.sw-search-input {
    flex: 1; padding: 12px 16px;
    background: transparent; border: none; outline: none;
    color: var(--ink); font-size: 14px;
    font-family: var(--font-body);
}
.sw-search-input::placeholder { color: var(--dim); }
.sw-search-btn {
    padding: 12px 14px;
    background: transparent; border: none;
    color: var(--muted); cursor: pointer;
    transition: color .25s ease;
    display: flex; align-items: center;
}
.sw-search-btn:hover { color: var(--brand); }
.sw-search-mobile { display: none; margin-bottom: 16px; }
.search-results .sw-search-mobile { display: block; }

.sw-title {
    font-family: var(--font-display); font-size: 15px; font-weight: 700;
    color: #fff; margin: 0 0 15px; padding-bottom: 10px;
    border-bottom: 1px solid var(--ring);
}

/* Sidebar: Post Items */
.sw-post-item {
    display: flex; gap: 12px; align-items: center;
    padding: 10px 0; border-bottom: 1px solid rgba(94,196,230,.08);
}
.sw-post-item:last-child { border-bottom: none; }
.sw-post-thumb {
    width: 70px; height: 55px; border-radius: 6px;
    overflow: hidden; flex-shrink: 0;
}
.sw-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sw-post-no-thumb {
    width: 100%; height: 100%; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: var(--dim);
}
.sw-post-info h4 { font-size: 13px; font-weight: 600; line-height: 1.4; margin: 0; }
.sw-post-info h4 a { color: var(--muted); }
.sw-post-info h4 a:hover { color: var(--brand); }

/* Sidebar: Comments */
.sw-comment {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 0; border-bottom: 1px solid rgba(94,196,230,.08);
}
.sw-comment:last-child { border-bottom: none; }
.sw-comment-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-soft); flex-shrink: 0; overflow: hidden;
}
.sw-comment-avatar img,
.sw-comment-avatar .avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.sw-comment-info strong {
    font-size: 13px; font-weight: 700; color: #fff;
    display: block; margin-bottom: 2px;
}
.sw-comment-info p {
    font-size: 12px; color: var(--muted); margin: 0; line-height: 1.5;
}

/* Sidebar: Tags */
.sw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sw-tags a {
    display: inline-block; border: 1px solid var(--ring); color: var(--muted);
    padding: 5px 14px; border-radius: 6px; font-size: 12px;
    transition: all var(--transition);
}
.sw-tags a:hover {
    background: var(--brand-glow); color: var(--brand); border-color: var(--brand);
}

/* Sidebar: Lists (Categories etc.) */
.sw-list { list-style: none; }
.sw-list li {
    padding: 8px 0; border-bottom: 1px solid rgba(94,196,230,.08);
}
.sw-list li:last-child { border-bottom: none; }
.sw-list li a { color: var(--muted); font-size: 14px; }
.sw-list li a:hover { color: var(--brand); }

/* Sidebar: Sponsored */
.sw-sponsored-widget {
    position: relative; overflow: hidden; padding: 0;
}
.sw-sponsored-widget a { display: block; color: inherit; text-decoration: none; }
.sw-sponsored-img { overflow: hidden; }
.sw-sponsored-img img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.sw-sponsored-widget:hover .sw-sponsored-img img { transform: scale(1.03); }
.sw-sponsored-label {
    padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink);
}
.sw-sponsored-badge {
    position: absolute; top: 8px; right: 8px;
    padding: 2px 8px; border-radius: 5px;
    background: rgba(94,196,230,.9); color: #152138;
    font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}

/* Sidebar: Ad Space */
.sw-ad-space {
    background: var(--bg-soft); border: 1px dashed var(--ring);
    border-radius: var(--radius-sm); min-height: 250px;
    display: flex; align-items: center; justify-content: center;
    color: var(--dim); font-size: 13px; text-align: center; padding: 20px;
}

/* ========== SINGLE POST ========== */
.single-post-main { min-width: 0; }

.single-breadcrumb { font-size: 13px; color: var(--dim); margin-bottom: 12px; }
.single-breadcrumb a { color: var(--brand); }

.single-post-content {
    background: #0a0a0e; border-radius: var(--radius); padding: 32px;
    border: 1px solid var(--ring);
}
.single-post-title { font-size: 28px; font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: 12px; font-family: var(--font-display); }
.single-post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 25px; flex-wrap: wrap; }
.meta-author-avatar img, .meta-author-avatar .avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.meta-author-link { color: var(--brand); font-weight: 600; }
.meta-dot { color: var(--dim); }

.single-post-thumb { width: 100%; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 25px; }
.single-post-thumb img { width: 100%; height: auto; border-radius: var(--radius-sm); }

.single-post-body { font-size: 16px; line-height: 1.8; color: var(--muted); }
.single-post-body h2 { font-size: 24px; margin: 30px 0 15px; color: #fff; font-family: var(--font-display); }
.single-post-body h3 { font-size: 20px; margin: 25px 0 12px; color: #fff; font-family: var(--font-display); }
.single-post-body p { margin-bottom: 18px; }
.single-post-body img { border-radius: var(--radius-sm); margin: 15px 0; }
.single-post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.single-post-body blockquote {
    border-left: 3px solid var(--brand); padding: 20px 25px; margin: 25px 0;
    background: rgba(94,196,230,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic; color: var(--muted);
}
.single-post-body ul, .single-post-body ol { margin: 15px 0; padding-left: 30px; }
.single-post-body li { margin-bottom: 8px; }

.single-post-tags { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--ring); font-size: 14px; color: var(--muted); }
.single-post-tags strong { margin-right: 5px; color: var(--ink); }
.single-post-tags a { color: var(--brand); margin: 0 2px; }
.single-post-courses + .single-post-tags { margin-top: 12px; padding-top: 12px; border-top: none; }
.single-post-courses a { color: #c8a8ff; }

.single-share { display: flex; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--ring); flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; padding: 8px 18px; border-radius: var(--radius-xs); color: #fff; font-size: 13px; font-weight: 600; transition: opacity var(--transition); }
.share-btn:hover { opacity: .85; color: #fff; }
.share-facebook { background: #1877f2; }
.share-x { background: #14171a; }
.share-whatsapp { background: #25d366; }
.share-email { background: #555; }

.author-box {
    display: flex; gap: 20px; align-items: center;
    background: var(--card); border-radius: var(--radius); padding: 25px; margin-top: 20px;
    border: 1px solid var(--ring);
}
.author-avatar img, .author-avatar .avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.author-info h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 5px; font-family: var(--font-display); }
.author-info p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; }

.related-posts { background: var(--card); border-radius: var(--radius); padding: 25px; margin-top: 20px; border: 1px solid var(--ring); }
.related-posts h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 20px; font-family: var(--font-display); }
.related-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.related-post-card a { color: var(--muted); }
.related-post-card a:hover { color: var(--brand); }
.related-post-thumb { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; height: 120px; }
.related-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-post-card h4 { font-size: 13px; font-weight: 600; line-height: 1.4; }

/* Comments Section */
.comments-section {
    background: #0a0a0e; border-radius: var(--radius); padding: 28px;
    margin-top: 20px; border: 1px solid var(--ring);
}
.comments-section h3 {
    font-size: 18px; font-weight: 700; color: #fff;
    margin-bottom: 6px; font-family: var(--font-display);
}
.comment-note { font-size: 13px; color: var(--dim); font-style: italic; margin-bottom: 20px; }

/* Comments List */
.comments-list { list-style: none; padding: 0; margin: 0; }
.comments-list .comment-list { list-style: none; padding: 0; margin: 0; }
.single-comment, .comments-list > .comment,
.comments-list > li { list-style: none; }

/* Individual Comment Card */
.comment-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--ring);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 14px;
    transition: border-color var(--transition);
}
.comment-card:hover { border-color: rgba(94,196,230,.3); }

.comment-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.comment-user-avatar { flex-shrink: 0; }
.comment-user-avatar img,
.comment-user-avatar .avatar {
    width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--ring);
}
.comment-user-info { flex: 1; }
.comment-author-name {
    font-size: 14px; font-weight: 700; color: #fff; display: block;
}
.comment-date {
    font-size: 11px; color: var(--dim); display: block; margin-top: 2px;
}

.comment-body-text {
    font-size: 14px; color: var(--muted); line-height: 1.7;
    padding: 0; margin-bottom: 10px;
}
.comment-body-text p { margin: 0 0 8px; }
.comment-body-text p:last-child { margin-bottom: 0; }

.comment-reply-link { margin-top: 8px; }
.comment-reply-link a,
.comment-reply-link .comment-reply-link a {
    color: var(--brand); font-size: 12px; font-weight: 600;
    padding: 4px 14px; border: 1px solid var(--ring);
    border-radius: 6px; transition: all var(--transition);
    display: inline-block;
}
.comment-reply-link a:hover {
    background: var(--brand-glow); border-color: var(--brand);
}

/* Nested/Threaded Replies */
.comments-list .children {
    list-style: none; padding-left: 28px; margin: 0;
    border-left: 2px solid rgba(94,196,230,.12);
}

/* Cancel Reply */
#cancel-comment-reply-link {
    color: #ff6b6b; font-size: 12px; font-weight: 600;
    padding: 3px 10px; border: 1px solid rgba(255,107,107,.3);
    border-radius: 6px; margin-left: 8px;
    transition: all var(--transition); text-decoration: none;
}
#cancel-comment-reply-link:hover {
    background: rgba(255,107,107,.1); border-color: #ff6b6b;
}

/* Reply title with cancel */
.comment-respond .comment-reply-title {
    font-family: var(--font-display); font-size: 16px; font-weight: 700;
    color: #fff; margin-bottom: 12px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.comment-respond .comment-reply-title small {
    font-size: 12px; font-weight: 400;
}

/* Comment Form */
.comment-form-wrapper {
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid var(--ring);
}

.comment-form .logged-in-as {
    font-size: 13px; color: var(--dim); margin-bottom: 14px;
}
.comment-form .logged-in-as a { color: var(--brand); }

.comment-form-field textarea {
    width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--ring);
    border-radius: var(--radius-xs); padding: 15px; font-size: 14px;
    font-family: var(--font-body); color: var(--ink); resize: vertical;
    transition: border-color var(--transition);
    min-height: 120px;
}
.comment-form-field textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.comment-form label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--muted); margin-bottom: 5px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
    width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--ring);
    border-radius: var(--radius-xs); padding: 10px 15px; font-size: 14px;
    font-family: var(--font-body); color: var(--ink); margin-bottom: 12px;
    transition: border-color var(--transition);
}
.comment-form input:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-glow);
}

.comment-submit-btn {
    display: inline-block; background: linear-gradient(135deg, var(--brand), #8dd8f0);
    color: #152138; border: none; padding: 12px 30px;
    border-radius: var(--radius-xs); font-size: 15px; font-weight: 700;
    cursor: pointer; transition: all var(--transition); margin-top: 10px; width: 100%;
}
.comment-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--brand-soft); }

.post-nav-bottom {
    display: flex; justify-content: space-between; margin-top: 20px;
    padding: 20px 25px; background: var(--card);
    border-radius: var(--radius); border: 1px solid var(--ring);
}
.post-nav-bottom a { font-size: 14px; color: var(--brand); font-weight: 600; }
.post-nav-bottom a:hover { color: #8dd8f0; }

.pagination { margin-top: 24px; text-align: center; }
.pagination .nav-links { display: flex; justify-content: center; gap: 6px; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-xs);
    background: var(--card); border: 1px solid var(--ring);
    color: var(--muted); font-size: 14px; font-weight: 600;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--brand-glow); border-color: var(--brand); color: var(--brand);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== TABLET ========== */
@media (max-width: 980px) {
    .menu { display: none; }
    .hamburger { display: block; }

    /* Front page hero */
    .fp-hero-title { font-size: clamp(26px, 5vw, 40px); }
    .fp-hero-desc { font-size: 15px; }

    .hero-wrap { padding: 50px 20px 40px; justify-content: center; }
    .details { max-width: 100%; }
    .hero::before {
        background: linear-gradient(to top,
            rgba(5,5,7,.95) 30%, rgba(5,5,7,.7) 60%, rgba(5,5,7,.4));
    }

    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .sw-search-mobile { display: block; }
    .blog-sidebar .sw-widget:first-child { display: none; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    /* Nav */
    .nav-wrap { padding: 10px 16px; }
    .brand-logo { width: 36px; height: 36px; }
    .brand-name { font-size: 1.1rem; }

    /* Front page hero — mobile */
    .fp-hero::after {
        content: '';
        position: absolute; inset: 0;
        backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
        z-index: 0;
        pointer-events: none;
    }
    .fp-hero-overlay { z-index: 1; }
    .fp-hero-title { font-size: clamp(24px, 6vw, 34px); }
    .fp-hero-desc { font-size: 14px; }
    .fp-hero-badge { font-size: 12px; padding: 8px 16px; }
    .fp-hero-btn { font-size: 13px; padding: 12px 24px; }
    .fp-hero-tags { font-size: 12px; }

    /* Mobile image card with animated border */
    .fp-hero-mobile-img {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    .fp-hero-mobile-img-border {
        position: relative;
        width: 85%; aspect-ratio: 16/9;
        border-radius: 16px;
        padding: 3px;
        background: conic-gradient(
            from var(--border-angle, 0deg),
            var(--brand), rgba(94,196,230,.15), var(--brand), rgba(94,196,230,.15), var(--brand)
        );
        animation: rotateBorder 4s linear infinite;
    }
    @property --border-angle {
        syntax: '<angle>';
        initial-value: 0deg;
        inherits: false;
    }
    @keyframes rotateBorder {
        to { --border-angle: 360deg; }
    }
    .fp-hero-mobile-img-border img {
        width: 100%; height: 100%;
        object-fit: cover;
        border-radius: 13px;
        display: block;
    }
    .fp-blogs { padding: 40px 16px 50px; }
    .fp-blogs-header { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
    .fp-blogs-viewall-desktop { display: none; }
    .section-cta { display: block; margin-top: 24px; }
    .fp-blogs-title { font-size: clamp(20px, 5vw, 28px); }
    .fp-blogs-sub { font-size: 13px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 24px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

    /* Hero: fullscreen, hide bg image, show card */
    .hero {
        background-image: none !important;
        min-height: calc(100vh - 56px);
        min-height: calc(100dvh - 56px);
        margin-top: 56px;
        display: flex; align-items: center;
    }
    .hero::before, .hero::after { display: none; }
    .hero-wrap {
        min-height: auto;
        padding: 24px 20px;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    .details {
        text-align: center; max-width: 100%;
        display: flex; flex-direction: column;
        align-items: center; justify-content: center;
    }

    .hero-mobile-img {
        display: block;
        width: 100%; margin: 18px 0;
        padding: 3px; border-radius: 18px;
        background: conic-gradient(
            from var(--border-angle, 0deg),
            rgba(94,196,230,.04) 0%, var(--brand) 8%, rgba(94,196,230,.15) 16%,
            transparent 28%, transparent 50%,
            rgba(94,196,230,.04) 55%, var(--brand) 63%, rgba(94,196,230,.15) 71%,
            transparent 83%
        );
        animation: rotateBorder 4s linear infinite;
        box-shadow: 0 0 40px rgba(94,196,230,.08), 0 12px 40px rgba(0,0,0,.4);
    }
    .hero-mobile-img img {
        width: 100%; height: auto; display: block;
        border-radius: 15px;
    }

    .hero h1 { font-size: clamp(22px, 7vw, 30px); margin: 10px 0 0; line-height: 1.2; }
    .hero .lead { font-size: 14px; line-height: 1.7; }
    .stats { justify-content: center; gap: 8px; flex-wrap: wrap; }
    .stat { padding: 7px 14px; font-size: 12px; border-radius: 10px; }

    /* Page & sections */
    .page-wrapper { padding: 70px 16px 30px; }
    section { padding: 40px 16px; }
    .section-title { font-size: clamp(20px, 5vw, 28px); margin-bottom: 8px; }
    .section-sub { font-size: 14px; margin-bottom: 24px; }

    /* Article cards — 2 column */
    .article-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .blog-grid-3 { gap: 12px; }
    .article-card {
        padding: 8px; border-radius: 14px;
    }
    .article-card-thumb { border-radius: 10px; }
    .article-card-body { padding: 8px 4px 4px; gap: 6px; }
    .article-card-body h3 { font-size: 0.88rem; -webkit-line-clamp: 2; }
    .article-card-body .excerpt { font-size: .78rem; -webkit-line-clamp: 2; }
    .article-tag { font-size: .65rem; padding: 3px 8px; }
    .article-meta { font-size: .68rem; padding-top: 8px; gap: 1px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
    .footer-top { padding: 36px 0 20px; }
    .footer-heading { font-size: 12px; margin-bottom: 12px; }
    .footer-desc { font-size: 13px; }

    /* Single post */
    .single-post-title { font-size: 22px; }
    .single-post-content { padding: 18px; border-radius: 14px; }
    .single-post-meta { font-size: 12px; }
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .author-box { flex-direction: column; text-align: center; padding: 18px; }
    .comment-body-text, .comment-reply-link { padding-left: 0; }
    .comment-card { padding: 14px; margin-bottom: 10px; }
    .post-nav-bottom { flex-direction: column; gap: 10px; text-align: center; }

    /* Cards */
    .card { padding: 20px; border-radius: 14px; }
    .contact-grid { gap: 14px; }
    .sponsored-grid { gap: 12px; }
    .sw-widget { padding: 16px; border-radius: 14px; }

    /* Load more */
    .load-more-btn { padding: 10px 28px; font-size: 13px; }

    /* Back to top */
    .to-top { right: 12px; bottom: 12px; padding: 8px 10px; border-radius: 10px; font-size: 16px; }
}

/* ========== SMALL MOBILE ========== */
@media (max-width: 420px) {
    .nav-wrap { padding: 8px 12px; }
    .brand-logo { width: 30px; height: 30px; }
    .brand-name { font-size: .95rem; }
    .hamburger { font-size: 22px; }

    .fp-hero-title { font-size: 22px; }
    .fp-hero-desc { font-size: 13px; }
    .fp-hero-btn { font-size: 12px; padding: 10px 20px; }
    .fp-blogs { padding: 24px 12px 36px; }
    .footer-grid { gap: 20px; }

    .hero { margin-top: 48px; min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); }
    .hero-wrap { padding: 16px 14px; }
    .hero h1 { font-size: 20px; }
    .hero .lead { font-size: 13px; }
    .details .badge { font-size: 10px; padding: 5px 10px; }
    .stat { padding: 6px 10px; font-size: 11px; }
    .hero-mobile-img { border-radius: 14px; margin: 14px 0; }
    .hero-mobile-img img { border-radius: 11px; }

    .page-wrapper { padding: 60px 12px 20px; }
    section { padding: 32px 12px; }

    /* Single column */
    .blog-grid-3,
    .article-grid { grid-template-columns: 1fr; gap: 14px; }
    .article-card { padding: 10px; }
    .article-card-body .excerpt { display: block; font-size: .82rem; -webkit-line-clamp: 2; }
    .article-card-body h3 { font-size: .95rem; }
    .article-meta { font-size: .7rem; }

    .single-post-title { font-size: 19px; }
    .single-post-content { padding: 14px; }
    .related-posts-grid { grid-template-columns: 1fr; }

    .footer-grid { gap: 18px; }
    .footer-container { padding: 0 12px; }
    .footer-brand-name { font-size: 1rem; }
}

/* ===================================================================== */
/* =============== CRANWO HOME-ONLY STYLES (cw- prefix) ================ */
/* ===================================================================== */

/* On Cranwo pages: override dark theme bg + hide starfield */
body.cw-page { background: #ffffff !important; color: #0e1230; font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
body.cw-page #starfield, body.cw-page .bg-vignette { display: none !important; }

:root {
    --cw-brand: #5b3bff;
    --cw-brand-2: #7a5cff;
    --cw-brand-deep: #4426e8;
    --cw-brand-soft: #ece7ff;
    --cw-ink: #0e1230;
    --cw-ink-2: #1c2046;
    --cw-muted: #5b6178;
    --cw-dim: #8a8fa6;
    --cw-line: #e7e9f1;
    --cw-bg-soft: #f7f7fb;
    --cw-shadow: 0 8px 24px rgba(20,16,80,.06), 0 2px 6px rgba(20,16,80,.05);
    --cw-shadow-lg: 0 24px 60px rgba(40,28,140,.12), 0 6px 16px rgba(40,28,140,.08);
    --cw-radius: 14px;
    --cw-transition: 0.25s cubic-bezier(.4,0,.2,1);
}

.cw-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ===== Cranwo Nav ===== */
.cw-nav {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--cw-line);
}
.cw-nav-wrap {
    max-width: 1240px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cw-brand { display: flex; align-items: center; gap: 10px; }
.cw-brand-logo { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.cw-brand-logo img, .cw-brand-logo svg { width: 100%; height: 100%; object-fit: contain; }
.cw-brand-name { font-size: 20px; font-weight: 700; color: var(--cw-ink); letter-spacing: -0.01em; }

.cw-menu { display: flex; align-items: center; gap: 36px; flex: 1; justify-content: center; list-style: none; padding: 0; margin: 0; }
.cw-menu li { position: relative; }
.cw-menu a { color: var(--cw-ink-2); font-weight: 500; font-size: 15px; padding: 8px 0; text-decoration: none; transition: color var(--cw-transition); }
.cw-menu a:hover, .cw-menu .current-menu-item > a, .cw-menu .current_page_item > a { color: var(--cw-brand); }
.cw-menu .current-menu-item > a::after, .cw-menu .current_page_item > a::after {
    content: ''; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
    width: 24px; height: 2px; background: var(--cw-brand); border-radius: 2px;
}
.cw-menu .menu-item-has-children > a::after { content: ' \25BE'; font-size: 10px; margin-left: 4px; color: var(--cw-dim); }
.cw-menu .sub-menu {
    position: absolute; top: 100%; left: -16px; min-width: 200px;
    background: #fff; box-shadow: var(--cw-shadow-lg);
    border-radius: 12px; padding: 10px; margin-top: 10px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--cw-transition); list-style: none;
}
.cw-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.cw-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--cw-ink-2); }
.cw-menu .sub-menu a:hover { background: var(--cw-brand-soft); color: var(--cw-brand); }

.cw-nav-tools { display: flex; align-items: center; gap: 14px; }
.cw-nav-search {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--cw-ink-2); transition: all var(--cw-transition); text-decoration: none;
}
.cw-nav-search:hover { background: var(--cw-bg-soft); color: var(--cw-brand); }
.cw-nav-cta {
    background: var(--cw-brand); color: #fff;
    padding: 11px 22px; border-radius: 10px;
    font-weight: 600; font-size: 14px; text-decoration: none;
    transition: all var(--cw-transition);
    box-shadow: 0 6px 20px rgba(91,59,255,.28);
}
.cw-nav-cta:hover { background: var(--cw-brand-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(91,59,255,.36); }
.cw-hamburger { display: none; width: 40px; height: 40px; border-radius: 8px; font-size: 22px; color: var(--cw-ink); background: none; border: 0; cursor: pointer; }

/* ===== Cranwo Mobile Sidebar ===== */
.cw-overlay { position: fixed; inset: 0; background: rgba(15,17,40,.5); opacity: 0; visibility: hidden; transition: all var(--cw-transition); z-index: 300; }
.cw-overlay.show { opacity: 1; visibility: visible; }
.cw-mobile-sidebar { position: fixed; top: 0; right: 0; width: 320px; max-width: 88vw; height: 100vh; background: #fff; transform: translateX(100%); transition: transform var(--cw-transition); z-index: 310; display: flex; flex-direction: column; }
.cw-mobile-sidebar.open { transform: translateX(0); }
.cw-mobile-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--cw-line); }
.cw-mobile-close { width: 36px; height: 36px; border-radius: 8px; font-size: 18px; background: none; border: 0; cursor: pointer; color: var(--cw-ink); }
.cw-mobile-close:hover { background: var(--cw-bg-soft); }
.cw-mobile-nav { padding: 20px 16px; overflow-y: auto; }
.cw-mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; }
.cw-mobile-nav a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--cw-ink-2); font-weight: 500; text-decoration: none; }
.cw-mobile-nav a:hover { background: var(--cw-bg-soft); color: var(--cw-brand); }
.cw-mobile-nav .sub-menu { padding-left: 14px; margin-top: 4px; }
.cw-mobile-nav .sub-menu a { font-size: 14px; color: var(--cw-muted); }

/* ===== Cranwo Hero Slider ===== */
.cw-hero-section { padding: 24px 0 40px; background: #fff; }
.cw-hero-slider { max-width: 1240px; margin: 0 auto; padding: 0 24px; position: relative; }
.cw-hero-track {
    position: relative; overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #f3eeff 0%, #e9efff 50%, #f7e9ff 100%);
}
.cw-hero-slide {
    display: none; padding: 56px 64px; min-height: 420px;
    align-items: center; gap: 40px; grid-template-columns: 1.05fr .95fr;
}
.cw-hero-slide.active { display: grid; animation: cwSlideFade .6s ease; }
@keyframes cwSlideFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cw-hero-eyebrow {
    color: var(--cw-brand); font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px;
}
.cw-hero-title {
    font-size: clamp(34px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -0.02em;
    color: var(--cw-ink); margin-bottom: 18px; font-weight: 700;
}
.cw-hero-title .cw-accent { color: var(--cw-brand); }
.cw-hero-desc { color: var(--cw-muted); font-size: 16px; max-width: 480px; margin-bottom: 28px; }
.cw-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.cw-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 11px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all var(--cw-transition); }
.cw-btn-primary { background: var(--cw-brand); color: #fff; box-shadow: 0 8px 20px rgba(91,59,255,.28); }
.cw-btn-primary:hover { background: var(--cw-brand-deep); transform: translateY(-2px); color: #fff; }
.cw-btn-ghost { background: #fff; color: var(--cw-ink); border: 1px solid var(--cw-line); }
.cw-btn-ghost:hover { border-color: var(--cw-brand); color: var(--cw-brand); }
.cw-btn-arrow { transition: transform var(--cw-transition); }
.cw-btn:hover .cw-btn-arrow { transform: translateX(3px); }

.cw-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.cw-hero-visual img { max-width: 100%; max-height: 380px; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(40,28,140,.18)); }
.cw-hero-visual-fallback {
    width: 100%; min-height: 320px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(91,59,255,.12), rgba(122,92,255,.06));
    display: flex; align-items: center; justify-content: center; color: var(--cw-brand);
}

.cw-hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; box-shadow: var(--cw-shadow);
    display: flex; align-items: center; justify-content: center;
    color: var(--cw-ink-2); z-index: 5; cursor: pointer; border: 0;
    transition: all var(--cw-transition);
}
.cw-hero-arrow:hover { color: var(--cw-brand); transform: translateY(-50%) scale(1.06); }
.cw-hero-arrow.cw-prev { left: 8px; }
.cw-hero-arrow.cw-next { right: 8px; }
.cw-hero-dots { display: flex; justify-content: center; gap: 8px; position: absolute; bottom: 18px; left: 0; right: 0; }
.cw-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(91,59,255,.25); transition: all var(--cw-transition); cursor: pointer; border: 0; }
.cw-hero-dot.active { background: var(--cw-brand); width: 24px; border-radius: 4px; }

/* ===== Stats Bar ===== */
.cw-stats-section { padding: 0 0 24px; }
.cw-stats-bar {
    background: #fff; border: 1px solid var(--cw-line);
    border-radius: 18px; box-shadow: var(--cw-shadow);
    padding: 24px 32px;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
    margin-top: -36px; position: relative; z-index: 10;
}
.cw-stat-item { display: flex; align-items: center; gap: 14px; }
.cw-stat-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cw-brand-soft); color: var(--cw-brand); flex-shrink: 0;
}
.cw-stat-icon.green { background: #e6f7ec; color: #16a34a; }
.cw-stat-icon.blue  { background: #e2efff; color: #2b6bff; }
.cw-stat-icon.pink  { background: #ffe6ee; color: #ff5a8a; }
.cw-stat-icon.amber { background: #fff3da; color: #ffb547; }
.cw-stat-num { font-size: 22px; font-weight: 700; line-height: 1; color: var(--cw-ink); }
.cw-stat-label { font-size: 13px; color: var(--cw-muted); margin-top: 4px; }

/* ===== Cranwo Sections ===== */
.cw-section { padding: 80px 0; }
.cw-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 24px; }
.cw-section-eyebrow { color: var(--cw-brand); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 10px; }
.cw-section-title { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; color: var(--cw-ink); font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.cw-section-link { color: var(--cw-brand); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.cw-section-link:hover { color: var(--cw-brand-deep); }
.cw-section-head.cw-center { text-align: center; flex-direction: column; align-items: center; }
.cw-section-head.cw-center .cw-section-title { max-width: 600px; }

/* ===== Domains Grid ===== */
.cw-domains-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 16px; }
.cw-domain-card {
    background: #fff; border: 1px solid var(--cw-line); border-radius: 14px;
    padding: 22px 14px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    transition: all var(--cw-transition); text-decoration: none; color: inherit;
}
.cw-domain-card:hover { transform: translateY(-4px); border-color: var(--cw-brand); box-shadow: var(--cw-shadow-lg); }
.cw-domain-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.cw-domain-icon img { width: 100%; height: 100%; object-fit: contain; }
.cw-domain-icon-fallback {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--cw-brand-soft), #fff);
    color: var(--cw-brand); display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 20px;
}
.cw-domain-name { font-size: 13px; font-weight: 600; color: var(--cw-ink-2); line-height: 1.3; }

/* ===== Blog Cards ===== */
.cw-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    justify-content: start;
}
.cw-article-card {
    background: #fff; border: 1px solid var(--cw-line); border-radius: 14px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: all var(--cw-transition);
}
.cw-article-card:hover { transform: translateY(-4px); border-color: rgba(91,59,255,.25); box-shadow: var(--cw-shadow-lg); }
.cw-article-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eef0f7; }
.cw-article-thumb a { display: block; height: 100%; }
.cw-article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cw-article-card:hover .cw-article-thumb img { transform: scale(1.06); }
.cw-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--cw-dim); font-size: 14px; }
.cw-card-tag {
    position: absolute; left: 12px; bottom: 12px;
    background: rgba(255,255,255,.96); color: var(--cw-ink-2);
    font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 7px;
    box-shadow: 0 1px 3px rgba(15,17,40,.05);
}
.cw-article-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cw-article-body h3 { font-size: 17px; line-height: 1.35; margin: 0; color: var(--cw-ink); font-weight: 700; letter-spacing: -0.01em; }
.cw-article-body h3 a { color: inherit; text-decoration: none; }
.cw-article-body h3 a:hover { color: var(--cw-brand); }
.cw-excerpt { color: var(--cw-muted); font-size: 14px; line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cw-article-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 14px; color: var(--cw-dim); font-size: 13px;
}
.cw-meta-arrow { display: inline-flex; color: var(--cw-brand); text-decoration: none; }
.cw-meta-arrow svg { transition: transform var(--cw-transition); }
.cw-article-card:hover .cw-meta-arrow svg { transform: translateX(3px); }
.cw-empty { text-align: center; padding: 60px 20px; background: var(--cw-bg-soft); border-radius: 16px; }
.cw-empty h3 { font-size: 22px; margin-bottom: 8px; color: var(--cw-ink); }
.cw-empty p { color: var(--cw-muted); }

/* ===== Why Choose ===== */
.cw-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cw-why-card { display: flex; align-items: flex-start; gap: 16px; }
.cw-why-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--cw-brand-soft);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cw-why-icon.green { background: #e6f7ec; }
.cw-why-icon.blue  { background: #e2efff; }
.cw-why-icon.amber { background: #fff3da; }
.cw-why-icon img { width: 36px; height: 36px; object-fit: contain; }
.cw-why-text h4 { font-size: 16px; margin: 0 0 6px; color: var(--cw-ink); font-weight: 700; }
.cw-why-text p { color: var(--cw-muted); font-size: 14px; line-height: 1.55; margin: 0; }

/* ===== Newsletter ===== */
.cw-newsletter-section { padding: 24px 0 60px; }
.cw-newsletter-card {
    background: linear-gradient(120deg, #6e4cff 0%, #5b3bff 60%, #7a5cff 100%);
    border-radius: 22px; padding: 44px 56px;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center;
    color: #fff; position: relative; overflow: hidden;
}
.cw-newsletter-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.12), transparent 60%);
    pointer-events: none;
}
.cw-newsletter-text h3 { color: #fff; font-size: 26px; margin: 0 0 8px; font-weight: 700; }
.cw-newsletter-text p { color: rgba(255,255,255,.85); font-size: 15px; max-width: 380px; margin: 0; }
.cw-newsletter-form {
    display: flex; gap: 8px; margin-top: 20px;
    background: rgba(255,255,255,.14); padding: 6px;
    border-radius: 12px; max-width: 460px;
}
.cw-newsletter-form input {
    flex: 1; background: #fff; border: 0; outline: 0;
    border-radius: 8px; padding: 12px 16px; color: var(--cw-ink);
    font-family: inherit; font-size: 14px;
}
.cw-newsletter-form input::placeholder { color: var(--cw-dim); }
.cw-newsletter-form button {
    background: var(--cw-brand-deep); color: #fff;
    padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 14px;
    border: 0; cursor: pointer; font-family: inherit;
    transition: background var(--cw-transition);
}
.cw-newsletter-form button:hover { background: #2e16a4; }
.cw-newsletter-visual { display: flex; justify-content: flex-end; align-items: center; position: relative; z-index: 1; }
.cw-newsletter-visual img { max-height: 180px; object-fit: contain; }
.cw-newsletter-visual-fallback {
    width: 160px; height: 130px; border-radius: 14px;
    background: rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center;
}

/* ===== Cranwo Footer ===== */
.cw-footer { background: var(--cw-bg-soft); border-top: 1px solid var(--cw-line); padding: 60px 0 30px; color: var(--cw-ink); }
.cw-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.cw-footer-about { max-width: 360px; }
.cw-footer-email { display: inline-flex; align-items: center; gap: 6px; }
.cw-footer-email svg { opacity: 0.6; flex-shrink: 0; }
.cw-footer-socials { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.cw-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.cw-footer-brand img, .cw-footer-brand svg { width: 32px; height: 32px; }
.cw-footer-brand-name { font-size: 22px; font-weight: 700; color: var(--cw-ink); }
.cw-footer-desc { color: var(--cw-muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.cw-footer-socials { display: flex; gap: 10px; }
.cw-footer-social {
    width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 1px solid var(--cw-line);
    display: flex; align-items: center; justify-content: center;
    color: var(--cw-ink-2); text-decoration: none;
    transition: all var(--cw-transition);
}
.cw-footer-social:hover { background: var(--cw-brand); color: #fff; border-color: var(--cw-brand); }
.cw-footer-heading { font-size: 16px; color: var(--cw-ink); margin: 0 0 18px; font-weight: 700; }
.cw-footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.cw-footer-links a { color: var(--cw-muted); font-size: 14px; text-decoration: none; }
.cw-footer-links a:hover { color: var(--cw-brand); }
.cw-footer-join-text { color: var(--cw-muted); font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.cw-footer-join-btn {
    display: inline-block; background: var(--cw-brand); color: #fff;
    padding: 10px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: all var(--cw-transition);
}
.cw-footer-join-btn:hover { background: var(--cw-brand-deep); color: #fff; }
.cw-footer-bottom {
    border-top: 1px solid var(--cw-line); padding-top: 22px;
    text-align: center;
    color: var(--cw-dim); font-size: 13px;
}
.cw-footer-bottom-links { display: flex; gap: 22px; }
.cw-footer-bottom-links a { color: var(--cw-dim); text-decoration: none; }
.cw-footer-bottom-links a:hover { color: var(--cw-brand); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cw-menu { display: none; }
    .cw-hamburger { display: flex; align-items: center; justify-content: center; }
    .cw-nav-cta { display: none; }
    .cw-domains-grid { grid-template-columns: repeat(4, 1fr); }
    .cw-blog-grid { grid-template-columns: repeat(2, 1fr); }
    .cw-stats-bar { grid-template-columns: repeat(3, 1fr); padding: 22px 26px; }
    .cw-why-grid { grid-template-columns: repeat(2, 1fr); }
    .cw-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
}
@media (max-width: 768px) {
    .cw-nav-wrap { padding: 12px 18px; gap: 16px; }
    .cw-hero-slide { grid-template-columns: 1fr; padding: 36px 24px; min-height: auto; gap: 24px; }
    .cw-hero-arrow { width: 36px; height: 36px; }
    .cw-hero-arrow.cw-prev { left: 6px; } .cw-hero-arrow.cw-next { right: 6px; }
    .cw-hero-visual { min-height: 220px; } .cw-hero-visual img { max-height: 240px; }
    .cw-stats-bar { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 18px; }
    .cw-domains-grid { grid-template-columns: repeat(3, 1fr); }
    .cw-blog-grid { grid-template-columns: 1fr; }
    .cw-why-grid { grid-template-columns: 1fr; gap: 22px; }
    .cw-newsletter-card { grid-template-columns: 1fr; padding: 30px 24px; text-align: center; }
    .cw-newsletter-visual { justify-content: center; }
    .cw-newsletter-text p { margin: 0 auto; }
    .cw-newsletter-form { margin-left: auto; margin-right: auto; }
    .cw-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .cw-footer-col:first-child { grid-column: span 2; }
    .cw-section { padding: 56px 0; }
    .cw-section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .cw-domains-grid { grid-template-columns: repeat(2, 1fr); }
    .cw-stats-bar { grid-template-columns: 1fr; }
    .cw-footer-grid { grid-template-columns: 1fr; }
    .cw-footer-col:first-child { grid-column: span 1; }
}

/* ===================================================================== */
/* === LIGHT THEME OVERRIDES FOR INNER PAGES (blog list / detail / sidebar) === */
/* applied because every page now has body.cw-page                       */
/* ===================================================================== */

/* Body & base text */
body.cw-page,
body.cw-page p,
body.cw-page li,
body.cw-page td { color: var(--cw-ink-2); }

body.cw-page h1, body.cw-page h2, body.cw-page h3, body.cw-page h4, body.cw-page h5 {
    color: var(--cw-ink); font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; letter-spacing: -0.01em;
}
body.cw-page a { color: var(--cw-brand); }

/* Page wrapper / blog layout */
body.cw-page .page-wrapper { background: #fff; padding: 50px 0; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
body.cw-page .blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; max-width: 1240px; margin: 0 auto; }

/* Blog grid + cards (override dark) */
body.cw-page .blog-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    justify-content: start;
}
body.cw-page .posts-count { color: var(--cw-muted); font-size: 14px; margin-bottom: 18px; }
body.cw-page .article-card {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: all var(--cw-transition);
}
body.cw-page .article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(91,59,255,.25) !important;
    box-shadow: var(--cw-shadow-lg) !important;
}
body.cw-page .article-card-thumb { background: #eef0f7; aspect-ratio: 16/10; }
body.cw-page .article-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.cw-page .article-card-thumb .no-thumb { background: #eef0f7; color: var(--cw-dim); }
body.cw-page .article-card-body { padding: 18px 20px 20px; background: #fff !important; }
body.cw-page .article-card-body h3, body.cw-page .article-card-body h3 a { color: var(--cw-ink) !important; font-family: inherit; }
body.cw-page .article-card-body h3 a:hover { color: var(--cw-brand) !important; }
body.cw-page .article-card-body .excerpt { color: var(--cw-muted) !important; }
body.cw-page .article-meta, body.cw-page .article-meta * { color: var(--cw-dim) !important; }
body.cw-page .article-meta strong { color: var(--cw-ink-2) !important; }
body.cw-page .article-tag {
    background: var(--cw-red-soft) !important;
    color: var(--cw-red-2) !important;
    border: 1px solid rgba(214,50,42,0.28) !important;
    text-transform: uppercase; letter-spacing: 0.05em;
    padding: 3px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 600;
    display: inline-block;
}
body.cw-page .article-tag a {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border: 0 !important;
    text-decoration: none;
}
body.cw-page .article-tag-course {
    background: var(--cw-brand-soft) !important;
    color: var(--cw-brand) !important;
    border: 1px solid rgba(212,175,55,0.28) !important;
}
body.cw-page .article-tag-course a { background: transparent !important; color: inherit !important; }

/* Load more button */
body.cw-page .load-more-wrapper { text-align: center; margin: 36px 0; }
body.cw-page .load-more-btn {
    background: var(--cw-brand) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 12px 30px !important;
    border-radius: 10px !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(91,59,255,.28);
}
body.cw-page .load-more-btn:hover { background: var(--cw-brand-deep) !important; }
body.cw-page .load-more-btn:disabled { opacity: 0.7; }

body.cw-page .no-posts-msg {
    text-align: center; padding: 60px 20px;
    background: var(--cw-bg-soft);
    border: 1px solid var(--cw-line);
    border-radius: 14px;
    color: var(--cw-muted);
}
body.cw-page .no-posts-msg h3 { color: var(--cw-ink); margin-bottom: 6px; }

/* ===== Sidebar widgets ===== */
body.cw-page .blog-sidebar > * { color: var(--cw-ink-2); }
body.cw-page .sw-widget {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 18px;
    box-shadow: none !important;
}
body.cw-page .sw-title {
    color: var(--cw-ink) !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px !important;
    font-family: inherit !important;
}
body.cw-page .sw-search-form {
    display: flex; gap: 8px;
}
body.cw-page .sw-search-input {
    flex: 1;
    background: var(--cw-bg-soft) !important;
    border: 1px solid var(--cw-line) !important;
    color: var(--cw-ink) !important;
    padding: 10px 14px;
    border-radius: 10px;
    font: inherit;
}
body.cw-page .sw-search-input::placeholder { color: var(--cw-dim); }
body.cw-page .sw-search-input:focus { outline: none; border-color: var(--cw-brand); box-shadow: 0 0 0 3px var(--cw-brand-soft); }
body.cw-page .sw-search-btn {
    background: var(--cw-brand) !important;
    color: #fff !important;
    border: 0 !important;
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
body.cw-page .sw-search-btn:hover { background: var(--cw-brand-deep) !important; }

body.cw-page .sw-post-item {
    display: flex; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cw-line);
    align-items: center;
}
body.cw-page .sw-post-item:last-child { border-bottom: 0; }
body.cw-page .sw-post-thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--cw-bg-soft); flex-shrink: 0; }
body.cw-page .sw-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
body.cw-page .sw-post-no-thumb {
    width: 100%; height: 100%;
    background: var(--cw-bg-soft); color: var(--cw-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
}
body.cw-page .sw-post-info h4 { font-size: 14px !important; margin: 0; font-family: inherit !important; }
body.cw-page .sw-post-info h4 a { color: var(--cw-ink) !important; }
body.cw-page .sw-post-info h4 a:hover { color: var(--cw-brand) !important; }

body.cw-page .sw-comment {
    display: flex; gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cw-line);
}
body.cw-page .sw-comment:last-child { border-bottom: 0; }
body.cw-page .sw-comment-avatar img { width: 36px; height: 36px; border-radius: 50%; }
body.cw-page .sw-comment-info strong { color: var(--cw-ink) !important; font-size: 13px; }
body.cw-page .sw-comment-info p { color: var(--cw-muted) !important; font-size: 13px; line-height: 1.4; margin-top: 3px; }

body.cw-page .sw-tags { display: flex; flex-wrap: wrap; gap: 6px; }
body.cw-page .sw-tags a {
    background: var(--cw-bg-soft) !important;
    color: var(--cw-ink-2) !important;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 12px;
    border: 1px solid var(--cw-line) !important;
}
body.cw-page .sw-tags a:hover { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; border-color: var(--cw-brand-soft) !important; }

body.cw-page .sw-list, body.cw-page .sw-list ul { list-style: none; padding: 0; margin: 0; }
body.cw-page .sw-list li {
    padding: 8px 0; border-bottom: 1px solid var(--cw-line); font-size: 14px;
}
body.cw-page .sw-list li:last-child { border-bottom: 0; }
body.cw-page .sw-list a { color: var(--cw-muted) !important; }
body.cw-page .sw-list a:hover { color: var(--cw-brand) !important; }

body.cw-page .sw-ad-space {
    background: var(--cw-bg-soft);
    border: 2px dashed var(--cw-line);
    color: var(--cw-dim);
    padding: 80px 20px;
    text-align: center;
    border-radius: 10px;
    font-size: 13px;
}

body.cw-page .sw-sponsored-widget { padding: 0 !important; overflow: hidden; }
body.cw-page .sw-sponsored-widget a { display: block; color: inherit; }
body.cw-page .sw-sponsored-img img { width: 100%; height: auto; display: block; }
body.cw-page .sw-sponsored-label { padding: 12px 18px; font-weight: 600; color: var(--cw-ink); font-size: 14px; }
body.cw-page .sw-sponsored-badge {
    display: inline-block; margin: 0 18px 14px;
    background: var(--cw-brand-soft); color: var(--cw-brand);
    padding: 3px 9px; border-radius: 6px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}

body.cw-page .sw-search-mobile { display: none; margin-bottom: 18px; }
@media (max-width: 1024px) {
    body.cw-page .blog-layout { grid-template-columns: 1fr; }
    body.cw-page .sw-search-mobile { display: block; }
    body.cw-page .blog-sidebar { display: none; }
}
@media (max-width: 768px) {
    body.cw-page .blog-grid-3 { grid-template-columns: 1fr; }
    body.cw-page .page-wrapper { padding: 30px 18px; }
}

/* ===== Single post (blog detail) ===== */
body.cw-page .single-post-main { min-width: 0; }
body.cw-page .single-post-content {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    color: var(--cw-ink-2);
    box-shadow: none !important;
}
body.cw-page .single-breadcrumb {
    color: var(--cw-muted) !important;
    font-size: 13px;
    margin-bottom: 18px;
}
body.cw-page .single-breadcrumb a { color: var(--cw-brand) !important; text-decoration: none; }
body.cw-page .single-breadcrumb a:hover { color: var(--cw-brand-deep) !important; }
body.cw-page .single-post-title {
    color: var(--cw-ink) !important;
    font-size: clamp(26px, 3.5vw, 38px) !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
    margin-bottom: 18px;
    text-transform: none !important;
    letter-spacing: -0.01em;
}
body.cw-page .single-post-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    color: var(--cw-muted) !important;
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cw-line);
}
body.cw-page .single-post-meta a { color: var(--cw-brand) !important; }
body.cw-page .meta-author-avatar img { width: 32px; height: 32px; border-radius: 50%; }
body.cw-page .meta-dot { color: var(--cw-dim) !important; }
body.cw-page .single-post-thumb { margin: 24px 0; border-radius: 14px; overflow: hidden; }
body.cw-page .single-post-thumb img { width: 100%; height: auto; display: block; }

body.cw-page .single-post-body { color: var(--cw-ink-2) !important; font-size: 16.5px; line-height: 1.75; }
body.cw-page .single-post-body > * + * { margin-top: 16px; }
body.cw-page .single-post-body h2 { color: var(--cw-ink) !important; font-size: 24px; margin-top: 32px; }
body.cw-page .single-post-body h3 { color: var(--cw-ink) !important; font-size: 20px; margin-top: 24px; }
body.cw-page .single-post-body p { color: var(--cw-ink-2) !important; }
body.cw-page .single-post-body a { color: var(--cw-brand) !important; text-decoration: underline; text-underline-offset: 3px; }
body.cw-page .single-post-body img { border-radius: 12px; margin: 20px 0; max-width: 100%; height: auto; }
body.cw-page .single-post-body blockquote {
    background: var(--cw-brand-soft) !important;
    border-left: 4px solid var(--cw-brand) !important;
    padding: 16px 20px !important;
    border-radius: 0 12px 12px 0 !important;
    color: var(--cw-ink-2) !important;
    margin: 18px 0;
    font-style: italic;
}
body.cw-page .single-post-body code {
    background: var(--cw-bg-soft) !important;
    color: var(--cw-brand-deep) !important;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.92em;
}
body.cw-page .single-post-body pre {
    background: #0e1230 !important;
    color: #e7eefc !important;
    padding: 18px; border-radius: 12px; overflow-x: auto;
}
body.cw-page .single-post-body pre code { background: none !important; color: inherit !important; padding: 0; }
body.cw-page .single-post-body ul, body.cw-page .single-post-body ol { margin: 12px 0 12px 22px; }

body.cw-page .single-post-tags, body.cw-page .single-post-courses {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--cw-line);
    color: var(--cw-muted);
    font-size: 13px;
}
body.cw-page .single-post-tags strong { color: var(--cw-ink) !important; margin-right: 8px; }
body.cw-page .single-post-tags a {
    color: var(--cw-brand) !important;
    margin-right: 4px;
}
body.cw-page .single-post-tags a:hover { color: var(--cw-brand-deep) !important; }

body.cw-page .single-share {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-top: 22px; padding-top: 18px;
    border-top: 1px solid var(--cw-line);
}
body.cw-page .share-btn {
    color: #fff !important; text-decoration: none !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 13px; font-weight: 600;
    border: 0 !important;
}
body.cw-page .share-facebook { background: #1877f2 !important; }
body.cw-page .share-x        { background: #14171a !important; }
body.cw-page .share-whatsapp { background: #25d366 !important; }
body.cw-page .share-email    { background: #6b7280 !important; }
body.cw-page .share-btn:hover { opacity: 0.92; transform: translateY(-1px); }

/* Author box */
body.cw-page .author-box {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 14px !important;
    padding: 22px !important;
    margin-top: 24px;
    display: flex; gap: 18px; align-items: center;
    box-shadow: none !important;
}
body.cw-page .author-avatar img { width: 64px; height: 64px; border-radius: 50%; }
body.cw-page .author-info h4 { color: var(--cw-ink) !important; font-size: 16px; margin-bottom: 4px; font-family: inherit !important; }
body.cw-page .author-info p { color: var(--cw-muted) !important; font-size: 14px; margin: 0; }

/* Related posts */
body.cw-page .related-posts {
    background: transparent !important;
    border: 0 !important;
    margin-top: 36px;
    padding: 0 !important;
}
body.cw-page .related-posts h3 {
    color: var(--cw-ink) !important;
    font-size: 20px;
    margin-bottom: 18px;
    font-family: inherit !important;
}
body.cw-page .related-posts-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
body.cw-page .related-post-card {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: all var(--cw-transition);
}
body.cw-page .related-post-card:hover { border-color: var(--cw-brand); box-shadow: var(--cw-shadow-lg); transform: translateY(-2px); }
body.cw-page .related-post-card a { color: inherit !important; text-decoration: none !important; }
body.cw-page .related-post-thumb img { width: 100%; height: 140px; object-fit: cover; }
body.cw-page .related-post-card h4 {
    padding: 12px 14px;
    font-size: 14px !important;
    line-height: 1.4;
    color: var(--cw-ink) !important;
    font-family: inherit !important;
}

/* Comments */
body.cw-page .comments-section {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 16px !important;
    padding: 28px !important;
    margin-top: 28px;
    box-shadow: none !important;
}
body.cw-page .comments-section > h3 { color: var(--cw-ink) !important; font-family: inherit !important; }
body.cw-page .comment-note { color: var(--cw-muted) !important; font-size: 13px; }
body.cw-page .comments-list { list-style: none; padding: 0; margin: 22px 0 0; }
body.cw-page .single-comment { list-style: none; margin-bottom: 16px; }
body.cw-page .comment-card {
    background: var(--cw-bg-soft) !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 12px;
    padding: 16px 18px;
}
body.cw-page .comment-card .comment-header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
body.cw-page .comment-user-avatar img { width: 40px; height: 40px; border-radius: 50%; }
body.cw-page .comment-author-name { color: var(--cw-ink) !important; font-size: 14px; }
body.cw-page .comment-date { color: var(--cw-dim) !important; font-size: 12px; }
body.cw-page .comment-body-text { color: var(--cw-muted) !important; font-size: 14px; line-height: 1.6; }
body.cw-page .comment-reply-link a { color: var(--cw-brand) !important; font-size: 13px; font-weight: 600; }

body.cw-page .comment-form-wrapper { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--cw-line); }
body.cw-page .comment-form-wrapper h3 { color: var(--cw-ink) !important; font-family: inherit !important; }
body.cw-page .comment-form-field textarea,
body.cw-page .comment-form input[type="text"],
body.cw-page .comment-form input[type="email"],
body.cw-page .comment-form input[type="url"] {
    width: 100%;
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    color: var(--cw-ink) !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    font: inherit;
    margin-bottom: 12px;
}
body.cw-page .comment-form-field textarea:focus,
body.cw-page .comment-form input:focus {
    outline: none;
    border-color: var(--cw-brand) !important;
    box-shadow: 0 0 0 3px var(--cw-brand-soft);
}
body.cw-page .comment-submit-btn,
body.cw-page .comment-form .submit,
body.cw-page .comment-form input[type="submit"] {
    background: var(--cw-brand) !important;
    color: #fff !important;
    border: 0 !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(91,59,255,.28);
}
body.cw-page .comment-submit-btn:hover { background: var(--cw-brand-deep) !important; }

body.cw-page .post-nav-bottom {
    display: flex; justify-content: space-between; gap: 12px;
    margin-top: 30px;
}
body.cw-page .post-nav-prev a, body.cw-page .post-nav-next a {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--cw-line);
    color: var(--cw-ink) !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
body.cw-page .post-nav-prev a:hover, body.cw-page .post-nav-next a:hover {
    border-color: var(--cw-brand);
    color: var(--cw-brand) !important;
}

@media (max-width: 768px) {
    body.cw-page .related-posts-grid { grid-template-columns: 1fr; }
    body.cw-page .single-post-content,
    body.cw-page .comments-section { padding: 20px !important; }
}

/* Default page (page.php) */
body.cw-page .page-content { color: var(--cw-ink-2); }
body.cw-page .page-content h1 { color: var(--cw-ink); }

/* Domains archive page header */
body.cw-page .cw-page-header {
    text-align: left;
    margin: 0 0 28px;
    max-width: 640px;
}
body.cw-page .cw-page-header .cw-section-eyebrow { display: block; }
body.cw-page .cw-page-header h1 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    margin: 8px 0 10px;
    color: var(--cw-ink);
    letter-spacing: -0.01em;
    text-align: left;
}
body.cw-page .cw-page-header p { color: var(--cw-muted); font-size: 14.5px; line-height: 1.55; }

/* Tighter grid in the domains archive sidebar layout (4 cols since less width) */
body.cw-page .cw-domains-grid-page { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { body.cw-page .cw-domains-grid-page { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { body.cw-page .cw-domains-grid-page { grid-template-columns: repeat(2, 1fr); } }

/* ===================================================================== */
/* === BLACK THEME — GOLD primary + RED accent + SILVER wordmark ====== */
/* (overrides all light/purple Cranwo styles for a luxe dark look)      */
/* ===================================================================== */

body.cw-page {
    --cw-bg: #000000;
    --cw-bg-soft: #0e0e0e;
    --cw-card: #111111;
    --cw-card-2: #161616;
    --cw-ink: #f5f5f5;
    --cw-ink-2: #d8d8d8;
    --cw-muted: #9a9a9a;
    --cw-dim: #6a6a6a;
    --cw-line: #262626;
    --cw-line-2: #333333;
    --cw-brand: #d4af37;
    --cw-brand-2: #f0c75a;
    --cw-brand-deep: #a8861f;
    --cw-brand-soft: rgba(212,175,55,0.12);
    --cw-red: #d6322a;
    --cw-red-2: #ff4a3d;
    --cw-red-soft: rgba(214,50,42,0.14);
    --cw-silver: #c0c0c0;
    --cw-silver-2: #e8e8e8;
    --cw-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
    --cw-shadow-lg: 0 24px 60px rgba(0,0,0,0.7), 0 6px 16px rgba(0,0,0,0.45);
    background: var(--cw-bg) !important;
    color: var(--cw-ink);
}
body.cw-page h1, body.cw-page h2, body.cw-page h3, body.cw-page h4, body.cw-page h5 { color: var(--cw-ink) !important; }
body.cw-page p, body.cw-page li, body.cw-page td { color: var(--cw-ink-2); }
body.cw-page a { color: var(--cw-ink-2); }
body.cw-page a:hover { color: var(--cw-brand); }

/* ===== NAV ===== */
body.cw-page .cw-nav { background: rgba(0,0,0,0.92) !important; border-bottom: 1px solid var(--cw-line) !important; }
body.cw-page .cw-brand-name {
    background: linear-gradient(135deg, #f4f4f4 0%, #c0c0c0 50%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    font-weight: 700;
}
/* Banner-style logo (wide image that already contains the wordmark) */
body.cw-page .cw-brand-banner { gap: 0; }
body.cw-page .cw-brand-banner .cw-brand-logo {
    width: auto; height: 44px;
    display: flex; align-items: center;
}
body.cw-page .cw-brand-banner .cw-brand-logo img {
    width: auto; height: 100%;
    max-height: 44px;
    max-width: 240px;
    object-fit: contain; display: block;
}
@media (max-width: 768px) {
    body.cw-page .cw-brand-banner .cw-brand-logo { height: 38px; }
    body.cw-page .cw-brand-banner .cw-brand-logo img { max-height: 38px; max-width: 180px; }
}
body.cw-page .cw-menu a { color: var(--cw-ink-2) !important; }
body.cw-page .cw-menu a:hover,
body.cw-page .cw-menu .current-menu-item > a,
body.cw-page .cw-menu .current_page_item > a { color: var(--cw-brand) !important; }
body.cw-page .cw-menu .current-menu-item > a::after,
body.cw-page .cw-menu .current_page_item > a::after { background: var(--cw-red) !important; height: 3px !important; box-shadow: 0 0 12px rgba(214,50,42,0.5); }
body.cw-page .cw-menu .sub-menu { background: var(--cw-card-2) !important; border: 1px solid var(--cw-line); box-shadow: var(--cw-shadow-lg); }
body.cw-page .cw-menu .sub-menu a { color: var(--cw-ink-2) !important; }
body.cw-page .cw-menu .sub-menu a:hover { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; }
body.cw-page .cw-nav-search { color: var(--cw-ink-2) !important; background: transparent; border: 0; cursor: pointer; }
body.cw-page .cw-nav-search:hover { background: var(--cw-bg-soft) !important; color: var(--cw-brand) !important; }
body.cw-page .cw-nav-search[aria-expanded="true"] { background: var(--cw-bg-soft) !important; color: var(--cw-brand) !important; }

/* Inline search dropdown */
body.cw-page .cw-search-wrap { position: relative; }
body.cw-page .cw-search-pop {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: flex; gap: 6px;
    background: var(--cw-card-2);
    border: 1px solid var(--cw-line);
    box-shadow: var(--cw-shadow-lg);
    border-radius: 12px;
    padding: 8px;
    min-width: 320px;
    z-index: 250;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
body.cw-page .cw-search-pop.open { opacity: 1; visibility: visible; transform: translateY(0); }
body.cw-page .cw-search-pop input[type="search"] {
    flex: 1;
    background: #0a0a0a;
    border: 1px solid var(--cw-line);
    color: var(--cw-ink);
    border-radius: 8px;
    padding: 10px 14px;
    font: inherit; font-size: 14px;
    outline: 0;
}
body.cw-page .cw-search-pop input[type="search"]::placeholder { color: var(--cw-dim); }
body.cw-page .cw-search-pop input[type="search"]:focus { border-color: var(--cw-brand); box-shadow: 0 0 0 3px var(--cw-brand-soft); }
body.cw-page .cw-search-pop button {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%);
    color: #0a0a0a !important;
    border: 0;
    width: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: filter .15s;
}
body.cw-page .cw-search-pop button:hover { filter: brightness(1.05); }
@media (max-width: 480px) {
    body.cw-page .cw-search-pop { right: -8px; min-width: 260px; }
}
body.cw-page .cw-nav-cta {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important;
    box-shadow: 0 6px 20px rgba(212,175,55,0.35);
    border: 1px solid rgba(255,220,140,0.4);
}
body.cw-page .cw-nav-cta:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; color: #0a0a0a !important; box-shadow: 0 8px 26px rgba(212,175,55,0.5); }
body.cw-page .cw-hamburger { color: var(--cw-ink) !important; }

/* ===== MOBILE SIDEBAR ===== */
body.cw-page .cw-mobile-sidebar { background: #0d0d0d !important; border-left: 1px solid var(--cw-line); }
body.cw-page .cw-mobile-sidebar-head { border-bottom-color: var(--cw-line) !important; }
body.cw-page .cw-mobile-close { color: var(--cw-ink) !important; }
body.cw-page .cw-mobile-close:hover { background: var(--cw-bg-soft) !important; }
body.cw-page .cw-mobile-nav a { color: var(--cw-ink-2) !important; }
body.cw-page .cw-mobile-nav a:hover { background: var(--cw-bg-soft) !important; color: var(--cw-brand) !important; }

/* ===== Override the original .mobile-sidebar (dark Paranwo cyan tones) ===== */
body.cw-page .mobile-sidebar-shell {
    background: #0d0d0d !important;
    border: 1px solid var(--cw-line) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,0.85) !important;
}
body.cw-page .mobile-sidebar-head {
    border-bottom-color: var(--cw-line) !important;
    padding-bottom: 14px !important;
    margin-bottom: 14px !important;
}
body.cw-page .mobile-sidebar-name {
    font-family: 'DM Sans', sans-serif !important;
    background: linear-gradient(135deg, #f4f4f4 0%, #c0c0c0 50%, #ffffff 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body.cw-page .mobile-sidebar-logo {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}
body.cw-page .mobile-sidebar-close {
    border: 1px solid var(--cw-line) !important;
    background: var(--cw-card) !important;
    color: var(--cw-ink) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
body.cw-page .mobile-sidebar-close:hover {
    background: var(--cw-brand-soft) !important;
    border-color: var(--cw-brand) !important;
    color: var(--cw-brand) !important;
}
body.cw-page .mobile-sidebar-nav ul { gap: 2px !important; }
body.cw-page .mobile-sidebar-nav a {
    color: var(--cw-ink-2) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    padding: 12px 14px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease;
    text-shadow: none !important;
}
body.cw-page .mobile-sidebar-nav a:hover {
    color: var(--cw-brand) !important;
    background: var(--cw-brand-soft) !important;
    text-shadow: none !important;
}
body.cw-page .mobile-sidebar-nav .current-menu-item > a,
body.cw-page .mobile-sidebar-nav .current_page_item > a {
    color: var(--cw-brand) !important;
    background: var(--cw-brand-soft) !important;
}
body.cw-page .mobile-sidebar-nav .sub-menu { padding-left: 12px !important; }
body.cw-page .mobile-sidebar-nav .sub-menu a { font-size: 14px !important; opacity: 0.85; }
body.cw-page .overlay { background: rgba(0,0,0,0.7) !important; }

/* ===== HERO ===== */
body.cw-page .cw-hero-section { background: var(--cw-bg) !important; }
body.cw-page .cw-hero-track {
    background:
        radial-gradient(circle at 88% 25%, rgba(212,175,55,0.10), transparent 45%),
        #0a0a0a !important;
    border: 1px solid var(--cw-line);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.6);
}
body.cw-page .cw-hero-eyebrow { color: var(--cw-brand) !important; }
body.cw-page .cw-hero-title { color: var(--cw-ink) !important; }
body.cw-page .cw-hero-title .cw-accent {
    background: linear-gradient(135deg, #ff4a3d 0%, #d6322a 60%, #a02118 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    color: transparent !important;
}
body.cw-page .cw-hero-desc { color: var(--cw-muted) !important; }
body.cw-page .cw-hero-arrow { background: var(--cw-card-2) !important; color: var(--cw-ink) !important; border: 1px solid var(--cw-line); }
body.cw-page .cw-hero-arrow:hover { color: var(--cw-brand) !important; border-color: var(--cw-brand); }
body.cw-page .cw-hero-dot { background: rgba(192,192,192,0.25) !important; }
body.cw-page .cw-hero-dot.active { background: var(--cw-brand) !important; }
body.cw-page .cw-hero-visual-fallback {
    background: #0d0d0d !important;
    color: var(--cw-brand) !important;
    border: 1px solid var(--cw-line);
}

/* Buttons */
body.cw-page .cw-btn-primary {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important;
    box-shadow: 0 8px 20px rgba(212,175,55,0.32);
    border: 1px solid rgba(255,220,140,0.4);
}
body.cw-page .cw-btn-primary:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; color: #0a0a0a !important; }
body.cw-page .cw-btn-ghost {
    background: transparent !important;
    color: var(--cw-silver-2) !important;
    border: 1px solid var(--cw-silver) !important;
}
body.cw-page .cw-btn-ghost:hover { border-color: var(--cw-brand) !important; color: var(--cw-brand) !important; }

/* ===== STATS BAR ===== */
body.cw-page .cw-stats-bar { background: var(--cw-card) !important; border: 1px solid var(--cw-line) !important; box-shadow: var(--cw-shadow) !important; }
body.cw-page .cw-stat-num { color: var(--cw-ink) !important; }
body.cw-page .cw-stat-label { color: var(--cw-muted) !important; }
body.cw-page .cw-stat-icon { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; }
body.cw-page .cw-stat-icon.green { background: rgba(34,197,94,0.15) !important; color: #22c55e !important; }
body.cw-page .cw-stat-icon.blue  { background: rgba(96,165,250,0.15) !important; color: #60a5fa !important; }
body.cw-page .cw-stat-icon.pink  { background: rgba(244,114,182,0.15) !important; color: #f472b6 !important; }
body.cw-page .cw-stat-icon.amber { background: rgba(251,191,36,0.18) !important; color: #fbbf24 !important; }

/* ===== SECTION HEADINGS ===== */
body.cw-page .cw-section-eyebrow { color: var(--cw-brand) !important; }
body.cw-page .cw-section-title { color: var(--cw-ink) !important; }
body.cw-page .cw-section-link { color: var(--cw-brand) !important; }
body.cw-page .cw-section-link:hover { color: var(--cw-brand-2) !important; }

/* ===== DOMAIN CARDS ===== */
body.cw-page .cw-domain-card {
    background: var(--cw-card) !important;
    border-color: var(--cw-line) !important;
}
body.cw-page .cw-domain-card:hover {
    border-color: var(--cw-brand) !important;
    box-shadow: 0 24px 60px rgba(212,175,55,0.14), 0 0 0 1px rgba(212,175,55,0.25) !important;
    transform: translateY(-4px);
}
body.cw-page .cw-domain-icon-fallback {
    background: #1a1a1a !important;
    color: var(--cw-brand) !important;
    border: 1px solid var(--cw-line);
}
body.cw-page .cw-domain-name { color: var(--cw-ink-2) !important; }

/* ===== HOME BLOG CARDS (cw-) ===== */
body.cw-page .cw-article-card { background: var(--cw-card) !important; border-color: var(--cw-line) !important; }
body.cw-page .cw-article-card:hover { border-color: rgba(214,50,42,0.45) !important; box-shadow: 0 24px 60px rgba(214,50,42,0.12), 0 0 0 1px rgba(214,50,42,0.18) !important; }
body.cw-page .cw-article-thumb { background: var(--cw-card-2) !important; }
body.cw-page .cw-no-thumb { background: var(--cw-card-2) !important; color: var(--cw-dim) !important; }
body.cw-page .cw-card-tag { background: rgba(212,175,55,0.95) !important; color: #0a0a0a !important; }
body.cw-page .cw-article-body { background: var(--cw-card) !important; }
body.cw-page .cw-article-body h3, body.cw-page .cw-article-body h3 a { color: var(--cw-ink) !important; }
body.cw-page .cw-article-body h3 a:hover { color: var(--cw-brand) !important; }
body.cw-page .cw-excerpt { color: var(--cw-muted) !important; }
body.cw-page .cw-article-meta, body.cw-page .cw-article-meta * { color: var(--cw-dim) !important; }
body.cw-page .cw-meta-arrow { color: var(--cw-brand) !important; }
body.cw-page .cw-empty { background: var(--cw-card) !important; border: 1px solid var(--cw-line); }
body.cw-page .cw-empty h3 { color: var(--cw-ink) !important; }
body.cw-page .cw-empty p { color: var(--cw-muted) !important; }

/* ===== WHY CHOOSE ===== */
body.cw-page .cw-why-icon { background: #161616 !important; border: 1px solid var(--cw-line); }
body.cw-page .cw-why-icon.green { background: #161616 !important; border-color: var(--cw-line); }
body.cw-page .cw-why-icon.blue  { background: #161616 !important; border-color: var(--cw-line); }
body.cw-page .cw-why-icon.amber { background: #161616 !important; border-color: var(--cw-line); }
body.cw-page .cw-why-icon svg { stroke: var(--cw-brand) !important; }
body.cw-page .cw-why-icon.green svg { stroke: #22c55e !important; }
body.cw-page .cw-why-icon.blue svg  { stroke: #60a5fa !important; }
body.cw-page .cw-why-icon.amber svg { stroke: #fbbf24 !important; }
body.cw-page .cw-why-text h4 { color: var(--cw-ink) !important; }
body.cw-page .cw-why-text p { color: var(--cw-muted) !important; }

/* ===== FOOTER ===== */
body.cw-page .cw-footer {
    background: #050505 !important;
    border-top: 1px solid var(--cw-line) !important;
    color: var(--cw-ink);
}
body.cw-page .cw-footer-brand-name { color: var(--cw-ink) !important; }
body.cw-page .cw-footer-desc { color: var(--cw-muted) !important; }
body.cw-page .cw-footer-social {
    background: var(--cw-card) !important;
    border: 1px solid var(--cw-line) !important;
    color: var(--cw-ink-2) !important;
}
body.cw-page .cw-footer-social:hover { background: var(--cw-brand) !important; color: #0a0a0a !important; border-color: var(--cw-brand) !important; }
body.cw-page .cw-footer-heading { color: var(--cw-ink) !important; }
body.cw-page .cw-footer-links a { color: var(--cw-muted) !important; }
body.cw-page .cw-footer-links a:hover { color: var(--cw-brand) !important; }
body.cw-page .cw-footer-join-text { color: var(--cw-muted) !important; }
body.cw-page .cw-footer-join-btn {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important;
    border: 1px solid rgba(255,220,140,0.4);
}
body.cw-page .cw-footer-join-btn:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; color: #0a0a0a !important; }
body.cw-page .cw-footer-bottom { border-top-color: var(--cw-line) !important; color: var(--cw-dim) !important; }
body.cw-page .cw-footer-bottom-links a { color: var(--cw-dim) !important; }
body.cw-page .cw-footer-bottom-links a:hover { color: var(--cw-brand) !important; }

/* ===================================================================== */
/* ===== INNER PAGES (blog list / detail / sidebar) — DARK MODE ======== */
/* ===================================================================== */

body.cw-page .page-wrapper { background: var(--cw-bg) !important; }

/* Generic blog cards used by home.php / index.php */
body.cw-page .article-card {
    background: var(--cw-card) !important;
    border: 1px solid var(--cw-line) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden;
}
body.cw-page .article-card:hover { border-color: rgba(214,50,42,0.45) !important; box-shadow: 0 24px 60px rgba(214,50,42,0.12), 0 0 0 1px rgba(214,50,42,0.18) !important; }
body.cw-page .article-card-thumb {
    background: var(--cw-card-2) !important;
    aspect-ratio: 16 / 10 !important;
    border-radius: 0 !important;
    overflow: hidden;
    position: relative;
}
body.cw-page .article-card-thumb a { display: block; width: 100%; height: 100%; }
body.cw-page .article-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.cw-page .article-card-thumb .no-thumb {
    background: var(--cw-card-2) !important;
    color: var(--cw-dim) !important;
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
}
body.cw-page .article-card-body {
    background: var(--cw-card) !important;
    text-align: left !important;
    padding: 14px 16px 16px !important;
    border-top: 0 !important;
    gap: 8px !important;
}
body.cw-page .article-card-body h3 {
    text-align: left !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-family: 'DM Sans', sans-serif !important;
    margin: 0 !important;
}
body.cw-page .article-card-body h3 a { color: var(--cw-ink) !important; text-decoration: none; }
body.cw-page .article-card-body h3 a:hover { color: var(--cw-brand) !important; }
body.cw-page .article-card-body .excerpt {
    color: var(--cw-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}
body.cw-page .article-card .article-tag-row { justify-content: flex-start; margin: 0; }
body.cw-page .article-card .article-tag {
    border-radius: 6px !important;
    padding: 3px 9px !important;
    font-size: 10.5px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
body.cw-page .article-card .article-meta {
    border-top: 1px solid var(--cw-line) !important;
    padding-top: 10px !important;
    margin-top: 6px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    font-size: 12px !important;
}
body.cw-page .article-meta, body.cw-page .article-meta * { color: var(--cw-dim) !important; }
body.cw-page .article-meta strong { color: var(--cw-ink-2) !important; }
body.cw-page .article-tag { background: var(--cw-red-soft) !important; color: var(--cw-red-2) !important; border-color: rgba(214,50,42,0.28) !important; }
body.cw-page .article-tag a { background: transparent !important; color: inherit !important; padding: 0 !important; }
body.cw-page .article-tag-course { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; }
body.cw-page .article-tag-course a { background: transparent !important; color: inherit !important; }
body.cw-page .posts-count { color: var(--cw-muted) !important; }
body.cw-page .posts-count strong { color: var(--cw-brand) !important; }
body.cw-page .load-more-btn {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important; border: 1px solid rgba(255,220,140,0.4) !important;
}
body.cw-page .load-more-btn:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; }
body.cw-page .no-posts-msg {
    background: var(--cw-card) !important;
    border: 1px solid var(--cw-line) !important;
    color: var(--cw-muted) !important;
    text-align: left !important;
    padding: 28px 28px !important;
    border-radius: 14px;
}
body.cw-page .no-posts-msg h3 { color: var(--cw-ink) !important; text-align: left !important; margin-bottom: 6px; font-size: 18px; }
body.cw-page .no-posts-msg p { color: var(--cw-muted) !important; font-size: 14px; }
body.cw-page .no-posts-msg strong { color: var(--cw-brand) !important; }

/* Single post (blog detail) */
body.cw-page .single-post-content { background: var(--cw-card) !important; border-color: var(--cw-line) !important; color: var(--cw-ink-2) !important; box-shadow: var(--cw-shadow) !important; }
body.cw-page .single-breadcrumb { color: var(--cw-muted) !important; }
body.cw-page .single-breadcrumb a { color: var(--cw-brand) !important; }
body.cw-page .single-post-title { color: var(--cw-ink) !important; }
body.cw-page .single-post-meta { color: var(--cw-muted) !important; border-bottom-color: var(--cw-line) !important; }
body.cw-page .single-post-meta a, body.cw-page .meta-author-link { color: var(--cw-brand) !important; }
body.cw-page .meta-dot { color: var(--cw-dim) !important; }
body.cw-page .single-post-body { color: var(--cw-ink-2) !important; }
body.cw-page .single-post-body h2, body.cw-page .single-post-body h3 { color: var(--cw-ink) !important; }
body.cw-page .single-post-body p { color: var(--cw-ink-2) !important; }
body.cw-page .single-post-body a { color: var(--cw-brand) !important; }
body.cw-page .single-post-body blockquote {
    background: #0d0d0d !important;
    border-left-color: var(--cw-brand) !important;
    color: var(--cw-ink-2) !important;
}
body.cw-page .single-post-body code { background: var(--cw-card-2) !important; color: var(--cw-brand-2) !important; }
body.cw-page .single-post-body pre { background: #050505 !important; color: #f3ead0 !important; border: 1px solid var(--cw-line); }
body.cw-page .single-post-tags, body.cw-page .single-post-courses { border-top-color: var(--cw-line) !important; color: var(--cw-muted) !important; }
body.cw-page .single-post-tags strong { color: var(--cw-ink) !important; }
body.cw-page .single-post-tags a { color: var(--cw-brand) !important; }
body.cw-page .single-share { border-top-color: var(--cw-line) !important; }

body.cw-page .author-box { background: var(--cw-card) !important; border-color: var(--cw-line) !important; box-shadow: var(--cw-shadow) !important; }
body.cw-page .author-info h4 { color: var(--cw-ink) !important; }
body.cw-page .author-info p { color: var(--cw-muted) !important; }

body.cw-page .related-posts h3 { color: var(--cw-ink) !important; }
body.cw-page .related-post-card { background: var(--cw-card) !important; border-color: var(--cw-line) !important; }
body.cw-page .related-post-card:hover { border-color: var(--cw-brand) !important; }
body.cw-page .related-post-card h4 { color: var(--cw-ink) !important; }
body.cw-page .related-post-card .no-thumb { background: var(--cw-card-2) !important; color: var(--cw-dim) !important; }

body.cw-page .comments-section { background: var(--cw-card) !important; border-color: var(--cw-line) !important; box-shadow: var(--cw-shadow) !important; }
body.cw-page .comments-section > h3 { color: var(--cw-ink) !important; }
body.cw-page .comment-note { color: var(--cw-muted) !important; }
body.cw-page .comment-card { background: #0d0d0d !important; border-color: var(--cw-line) !important; }
body.cw-page .comment-author-name { color: var(--cw-ink) !important; }
body.cw-page .comment-date { color: var(--cw-dim) !important; }
body.cw-page .comment-body-text { color: var(--cw-muted) !important; }
body.cw-page .comment-reply-link a { color: var(--cw-brand) !important; }
body.cw-page .comment-form-wrapper { border-top-color: var(--cw-line) !important; }
body.cw-page .comment-form-wrapper h3 { color: var(--cw-ink) !important; }
body.cw-page .comment-form-field textarea,
body.cw-page .comment-form input[type="text"],
body.cw-page .comment-form input[type="email"],
body.cw-page .comment-form input[type="url"] {
    background: #0d0d0d !important;
    border-color: var(--cw-line) !important;
    color: var(--cw-ink) !important;
}
body.cw-page .comment-form-field textarea::placeholder,
body.cw-page .comment-form input::placeholder { color: var(--cw-dim) !important; }
body.cw-page .comment-form-field textarea:focus,
body.cw-page .comment-form input:focus { border-color: var(--cw-brand) !important; box-shadow: 0 0 0 3px var(--cw-brand-soft) !important; }
body.cw-page .comment-submit-btn,
body.cw-page .comment-form .submit,
body.cw-page .comment-form input[type="submit"] {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important; border: 1px solid rgba(255,220,140,0.4) !important;
}
body.cw-page .comment-submit-btn:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; }

body.cw-page .post-nav-prev a, body.cw-page .post-nav-next a {
    background: var(--cw-card) !important;
    border-color: var(--cw-line) !important;
    color: var(--cw-ink-2) !important;
}
body.cw-page .post-nav-prev a:hover, body.cw-page .post-nav-next a:hover {
    border-color: var(--cw-brand) !important;
    color: var(--cw-brand) !important;
}

/* Sidebar widgets */
body.cw-page .sw-widget { background: var(--cw-card) !important; border-color: var(--cw-line) !important; box-shadow: none !important; }
body.cw-page .sw-title { color: var(--cw-ink) !important; }
body.cw-page .sw-search-input { background: #0d0d0d !important; border-color: var(--cw-line) !important; color: var(--cw-ink) !important; }
body.cw-page .sw-search-input::placeholder { color: var(--cw-dim) !important; }
body.cw-page .sw-search-input:focus { border-color: var(--cw-brand) !important; box-shadow: 0 0 0 3px var(--cw-brand-soft) !important; }
body.cw-page .sw-search-btn {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 50%, #b8902a 100%) !important;
    color: #0a0a0a !important;
}
body.cw-page .sw-search-btn:hover { background: linear-gradient(135deg, #f0c75a 0%, #d4af37 100%) !important; }
body.cw-page .sw-post-item { border-bottom-color: var(--cw-line) !important; }
body.cw-page .sw-post-thumb { background: var(--cw-card-2) !important; }
body.cw-page .sw-post-no-thumb { background: var(--cw-card-2) !important; color: var(--cw-dim) !important; }
body.cw-page .sw-post-info h4 a { color: var(--cw-ink) !important; }
body.cw-page .sw-post-info h4 a:hover { color: var(--cw-brand) !important; }
body.cw-page .sw-comment { border-bottom-color: var(--cw-line) !important; }
body.cw-page .sw-comment-info strong { color: var(--cw-ink) !important; }
body.cw-page .sw-comment-info p { color: var(--cw-muted) !important; }
body.cw-page .sw-tags a {
    background: #0d0d0d !important;
    border-color: var(--cw-line) !important;
    color: var(--cw-ink-2) !important;
}
body.cw-page .sw-tags a:hover { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; border-color: var(--cw-brand) !important; }
body.cw-page .sw-list li { border-bottom-color: var(--cw-line) !important; }
body.cw-page .sw-list a { color: var(--cw-muted) !important; }
body.cw-page .sw-list a:hover { color: var(--cw-brand) !important; }
body.cw-page .sw-ad-space { background: #0d0d0d !important; border-color: var(--cw-line) !important; color: var(--cw-dim) !important; }
body.cw-page .sw-sponsored-widget { background: var(--cw-card) !important; border-color: var(--cw-line) !important; }
body.cw-page .sw-sponsored-label { color: var(--cw-ink) !important; }
body.cw-page .sw-sponsored-badge { background: var(--cw-brand-soft) !important; color: var(--cw-brand) !important; }

/* Domains archive page header */
body.cw-page .cw-page-header h1 { color: var(--cw-ink) !important; }
body.cw-page .cw-page-header p { color: var(--cw-muted) !important; }

/* Pagination */
body.cw-page .pagination a, body.cw-page .pagination span,
body.cw-page .nav-links a, body.cw-page .nav-links span {
    background: var(--cw-card) !important;
    border-color: var(--cw-line) !important;
    color: var(--cw-ink-2) !important;
}
body.cw-page .pagination .current, body.cw-page .nav-links .current {
    background: linear-gradient(135deg, #e8c560 0%, #d4af37 100%) !important;
    color: #0a0a0a !important;
    border-color: var(--cw-brand) !important;
}
body.cw-page .pagination a:hover, body.cw-page .nav-links a:hover {
    background: var(--cw-brand-soft) !important;
    color: var(--cw-brand) !important;
    border-color: var(--cw-brand) !important;
}

/* ===== IMAGE-ONLY HERO CAROUSEL ===== */
body.cw-page .cw-hero-image-only .cw-hero-track {
    background: #000 !important;
    border: 1px solid var(--cw-line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--cw-shadow);
    aspect-ratio: 21 / 9;
    min-height: 320px;
}
body.cw-page .cw-hero-image-only .cw-hero-slide {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    min-height: 0 !important;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    align-items: stretch !important;
    gap: 0 !important;
}
body.cw-page .cw-hero-image-only .cw-hero-slide.active { position: relative; }
body.cw-page .cw-hero-image-only .cw-hero-slide img,
body.cw-page .cw-hero-image-only .cw-hero-image-link {
    width: 100%; height: 100%;
    display: block;
}
body.cw-page .cw-hero-image-only .cw-hero-slide img {
    object-fit: cover;
    object-position: center;
}
body.cw-page .cw-hero-empty {
    background: #0a0a0a;
    border: 1px dashed var(--cw-line);
    border-radius: 28px;
    padding: 80px 24px;
    text-align: center;
    color: var(--cw-muted);
    font-size: 15px;
}
body.cw-page .cw-hero-empty strong { color: var(--cw-brand); }

@media (max-width: 768px) {
    body.cw-page .cw-hero-image-only .cw-hero-track {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
        min-height: 240px;
    }
}

/* WP pagination */
body.cw-page .pagination a,
body.cw-page .pagination span,
body.cw-page .nav-links a,
body.cw-page .nav-links span {
    background: #fff !important;
    border: 1px solid var(--cw-line) !important;
    color: var(--cw-ink-2) !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    margin: 0 2px;
    font-size: 14px;
}
body.cw-page .pagination .current,
body.cw-page .nav-links .current {
    background: var(--cw-brand) !important;
    color: #fff !important;
    border-color: var(--cw-brand) !important;
}
