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

html { scroll-behavior: smooth; }

body {
    font-family: var(--dt-body-font, 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif);
    font-size: var(--dt-body-size, 17px);
    line-height: 1.7;
    color: #1a1a2e;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--dt-primary, #fa5005); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

:root {
    --dt-primary: #fa5005;
    --dt-accent-bg: #e84040;
    --dt-accent-text: #ffffff;
    --dt-container: 1200px;
    --dt-shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --dt-shadow-md: 0 4px 14px rgba(0,0,0,.1);
    --dt-shadow-lg: 0 8px 30px rgba(0,0,0,.12);
    --dt-radius: 10px;
    --dt-radius-sm: 6px;
}

.container { width: 100%; max-width: var(--dt-container); margin: 0 auto; padding: 0 20px; }

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--dt-topbar-bg, #ffffff);
    border-bottom: 1px solid #e5e7eb;
    display: block;
}
.top-bar.empty { display: none; }
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 38px;
}
.top-bar-nav ul { display: flex; gap: 0; }
.top-bar-nav ul li a {
    display: block; padding: 0 14px; line-height: 38px;
    font-size: 11px; color: var(--dt-topbar-text, #6b7280); letter-spacing: .04em; transition: color .2s;
    text-transform: uppercase; font-weight: 500;
}
.top-bar-nav ul li a:hover { color: var(--dt-primary); }
.top-bar-right { display: flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 2px; }
.top-bar-social a {
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--dt-topbar-icon, #9ca3af); border-radius: 4px; transition: all .2s;
}
.top-bar-social a:hover { color: var(--dt-primary); background: rgba(250,80,5,.08); }

/* ========== MID HEADER ========== */
.mid-header {
    background: var(--dt-header-bg, #ffffff);
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.mid-header::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dt-primary) 0%, transparent 60%);
    opacity: .5;
}
.mid-header-inner {
    display: flex; align-items: center; justify-content: space-between; min-height: 72px;
}

.hamburger-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 12px 10px; border-radius: 6px;
    transition: background .2s;
}
.hamburger-btn span {
    display: block; width: 20px; height: 2px; background: #9ca3af; border-radius: 2px; transition: all .3s;
}
.hamburger-btn:hover { background: rgba(0,0,0,.04); }

.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo-text {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 24px; font-weight: 800; letter-spacing: -.5px;
    color: var(--dt-header-text, #1a1a2e);
    transition: opacity .2s;
    display: flex; align-items: center; gap: 8px;
}
.site-logo-icon { max-height: var(--dt-logo-size, 36px); width: auto; border-radius: 4px; }
.site-logo-text:hover { opacity: .7; }
.site-logo-img img { max-height: 40px; width: auto; }
.site-logo-tag {
    font-size: 9px; font-weight: 600; color: var(--dt-logo-tag, #9ca3af); letter-spacing: 2px;
    text-transform: uppercase; border: 1px solid #e5e7eb; border-radius: 3px; padding: 2px 7px;
}

.mid-header-right { display: flex; align-items: center; gap: 8px; }

/* ========== BUTTONS ========== */
.ts-button {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px; border-radius: 5px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all .25s; border: none; font-family: inherit;
}
.ts-button-alt {
    background: var(--dt-sub-bg, rgba(0,0,0,.03)); border: 1px solid var(--dt-sub-border, #d1d5db);
    color: var(--dt-sub-text, #4b5563); text-transform: uppercase; letter-spacing: .5px;
}
.ts-button-alt:hover { border-color: var(--dt-primary); color: var(--dt-primary); background: rgba(250,80,5,.06); }
.ts-button-red { background: var(--dt-accent-bg); color: var(--dt-accent-text); }
.ts-button-red:hover { filter: brightness(1.1); }

.load-more-wrap { text-align: center; margin: 36px 0 10px; }
.load-more-btn { padding: 12px 32px; font-size: 13px; }

.dt-pagination { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dt-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border: 1px solid #e2e4ea; border-radius: 6px;
    font-size: 13px; font-weight: 600; color: #556; text-decoration: none;
    transition: all .2s;
}
.dt-pagination a.page-numbers:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.dt-pagination .page-numbers.current {
    background: var(--dt-primary, #fa5005); border-color: var(--dt-primary, #fa5005);
    color: #fff; cursor: default;
}
.dark-mode .dt-pagination .page-numbers { border-color: #2a2a3e; color: #aab; }
.dark-mode .dt-pagination .page-numbers.current { color: #fff; }

/* ========== BOTTOM NAV ========== */
.bottom-nav-wrap {
    background: var(--dt-nav-bg, #ffffff);
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    transition: box-shadow .3s;
    z-index: 100;
}
.bottom-nav-wrap::before {
    content: ''; position: absolute; top: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--dt-primary) 0%, transparent 50%);
    opacity: .3;
}
.bottom-nav-wrap.stuck { box-shadow: 0 4px 20px rgba(0,0,0,.08); }

.bottom-nav {
    display: flex; align-items: center; justify-content: space-between; min-height: 50px;
}
.bottom-nav ul { display: flex; gap: 0; }
.bottom-nav li { position: relative; }
.bottom-nav a, .bottom-nav li a {
    display: block; padding: 0 20px; line-height: 50px;
    font-family: var(--dt-nav-font, 'Roboto Slab', serif);
    font-size: 16px; font-weight: 500; color: #4b5563;
    letter-spacing: .03em; transition: color .2s, background .2s;
    position: relative;
}
.bottom-nav > ul > li > a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--dt-primary, #fa5005);
    transition: width .25s; border-radius: 1px;
}
.bottom-nav > ul > li > a:hover::after,
.bottom-nav > ul > li.current-menu-item > a::after { width: 60%; }
.bottom-nav a:hover, .bottom-nav li a:hover {
    color: #1a1a2e;
}
.bottom-nav .current-menu-item > a,
.bottom-nav .current_page_item > a,
.bottom-nav .active {
    color: var(--dt-primary);
    background: none;
}
.bottom-nav .current-menu-item > a { font-weight: 600; }

.bottom-nav .sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .3s; z-index: 200;
    padding: 6px 0;
}
.bottom-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.bottom-nav .sub-menu li { border-bottom: 1px solid #f3f4f6; }
.bottom-nav .sub-menu li:last-child { border-bottom: none; }
.bottom-nav .sub-menu a {
    padding: 11px 20px; line-height: 1.4; font-size: 14px; font-weight: 400;
    transition: background .2s, padding-left .2s;
}
.bottom-nav .sub-menu a:hover { background: #f0f4ff; color: var(--dt-primary, #fa5005); padding-left: 26px; }
.bottom-nav .sub-menu .sub-menu { left: 100%; top: -6px; border-radius: 10px; }

.nav-search-btn {
    background: none; border: none; cursor: pointer;
    padding: 10px 14px; font-size: 14px; color: var(--dt-nav-search, #9ca3af);
    transition: color .2s, background .2s; border-radius: 6px;
}
.nav-search-btn:hover { color: #1a1a2e; background: rgba(0,0,0,.03); }

/* ========== SEARCH OVERLAY ========== */
.search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.85); backdrop-filter: blur(12px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all .35s;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-overlay-inner { width: 100%; max-width: 560px; padding: 20px; position: relative; }
.search-overlay-close {
    position: absolute; top: -50px; right: 0;
    background: rgba(255,255,255,.1); border: none; cursor: pointer;
    width: 42px; height: 42px; border-radius: 50%;
    color: #fff; font-size: 24px; transition: background .2s;
}
.search-overlay-close:hover { background: rgba(255,255,255,.2); }
.search-overlay-form {
    display: flex; border-bottom: 2px solid rgba(255,255,255,.2);
    transition: border-color .3s;
}
.search-overlay-form:focus-within { border-color: var(--dt-primary); }
.search-overlay-form input {
    flex: 1; background: none; border: none; padding: 16px 0;
    font-size: 24px; color: #fff; outline: none; font-family: inherit;
}
.search-overlay-form input::placeholder { color: rgba(255,255,255,.4); }
.search-overlay-form button {
    background: none; border: none; cursor: pointer; padding: 16px;
    font-size: 20px; color: rgba(255,255,255,.5); transition: color .3s;
}
.search-overlay-form button:hover { color: var(--dt-primary); }
.search-hints { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.35); }
.search-hints kbd {
    display: inline-block; padding: 1px 6px; border: 1px solid rgba(255,255,255,.15);
    border-radius: 3px; font-size: 11px; font-family: inherit;
}

/* ========== SUBSCRIBE MODAL ========== */
.subscribe-modal { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; }
.subscribe-modal.active { display: flex; }
.subscribe-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.subscribe-modal-content {
    position: relative; background: #fff; border-radius: 16px; padding: 48px 40px 40px;
    max-width: 440px; width: 90%; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.3);
    animation: modalIn .35s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.subscribe-modal-close {
    position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
    border: none; border-radius: 50%; background: #f3f4f6; cursor: pointer;
    font-size: 16px; color: #6b7280; transition: all .2s;
}
.subscribe-modal-close:hover { background: #e5e7eb; color: #1a1a2e; }
.subscribe-modal-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: #fef2f2; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dt-accent-bg, #e84040); font-size: 28px; }
.subscribe-modal-content h3 { font-size: 22px; font-weight: 600; color: #1a1a2e; margin-bottom: 10px; font-family: var(--dt-title-font, 'Roboto Slab', serif); }
.subscribe-modal-content p { font-size: 15px; color: #6b7280; margin-bottom: 24px; line-height: 1.6; }
.subscribe-form { display: flex; gap: 10px; }
.subscribe-form input {
    flex: 1; padding: 12px 16px; border: 1px solid #e5e7eb; border-radius: 8px;
    font-size: 15px; font-family: inherit; outline: none; transition: border-color .2s;
}
.subscribe-form input:focus { border-color: var(--dt-primary); }
.subscribe-form button { padding: 12px 28px; border: none; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; white-space: nowrap; }
.subscribe-msg { margin-top: 14px; font-size: 14px; padding: 10px; border-radius: 8px; display: none; }
.subscribe-msg.success { display: block; background: #ecfdf5; color: #065f46; }
.subscribe-msg.error { display: block; background: #fef2f2; color: #991b1b; }
.dark-mode .subscribe-modal-content { background: #141420; }
.dark-mode .subscribe-modal-content h3 { color: #e5e7eb; }
.dark-mode .subscribe-modal-content p { color: #8899bb; }
.dark-mode .subscribe-modal-close { background: #1a1a30; color: #8899bb; }
.dark-mode .subscribe-modal-close:hover { background: #22223a; color: #e5e7eb; }
.dark-mode .subscribe-form input { background: #1a1a30; border-color: #2a2a40; color: #e5e7eb; }
.dark-mode .subscribe-form input:focus { border-color: var(--dt-primary); }

/* ========== MOBILE OVERLAY ========== */
.mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.7); z-index: 9998;
    opacity: 0; visibility: hidden; transition: all .3s;
}
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-overlay-inner {
    position: fixed; top: 0; left: -320px; width: 300px; height: 100%;
    background: #0d0d18; overflow-y: auto;
    transition: left .35s; z-index: 9999;
}
.mobile-overlay-inner.open { left: 0; }
.mobile-overlay-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid #1a1a30;
}
.mobile-overlay-title { font-size: 14px; font-weight: 600; color: #8899bb; text-transform: uppercase; letter-spacing: 1px; }
.mobile-overlay-close {
    background: none; border: none; cursor: pointer; width: 36px; height: 36px;
    border-radius: 50%; color: #8899bb; font-size: 18px; transition: background .2s;
}
.mobile-overlay-close:hover { background: rgba(255,255,255,.06); color: #fff; }

.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.04); }
.mobile-nav a {
    display: block; padding: 16px 20px; font-size: 17px;
    color: #8899bb; font-weight: 500; transition: color .2s, background .2s;
}
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.03); }
.mobile-nav .sub-menu { display: none; padding-left: 16px; }
.mobile-nav li.expanded > .sub-menu { display: block; }
.mobile-nav .menu-item-has-children > a::after {
    content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    float: right; font-size: 10px; color: #5566aa; transition: transform .25s;
}
.mobile-nav li.expanded > a::after { transform: rotate(180deg); }

.mobile-social {
    display: flex; gap: 4px; padding: 20px;
}
.mobile-social a {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #1a1a30; border-radius: 6px; color: #6677aa;
    font-size: 15px; transition: all .2s;
}
.mobile-social a:hover { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }

/* ========== HERO ========== */
.hero-section { margin: 28px 0; }
.hero-grid {
    display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr;
    border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.08);
    height: 440px;
}
.hero-main {
    position: relative; overflow: hidden; grid-row: 1 / -1;
    background: #0d0d18;
}
.hero-main > a { display: block; width: 100%; height: 100%; }
.hero-main > a img,
.hero-side > a img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .55s cubic-bezier(.25,.46,.45,.94);
    position: absolute; inset: 0;
}
.hero-main > a { position: relative; overflow: hidden; }
.hero-side > a { position: relative; overflow: hidden; display: block; width: 100%; height: 100%; }
.hero-main:hover > a img { transform: scale(1.06); }
.hero-side:hover > a img { transform: scale(1.06); }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 20%, rgba(0,0,0,.4) 45%, transparent 65%);
    pointer-events: none;
}
.hero-content {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 28px; z-index: 2;
}
.hero-main .hero-content { padding: 40px; }
.hero-cats { margin-bottom: 10px; }
.hero-cats .cat-label {
    display: inline-block; padding: 4px 14px; border-radius: 20px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .8px;
    color: #fff; background: var(--dt-primary); box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero-title { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.hero-title a { color: #fff; font-size: 24px; }
.hero-main .hero-title a { font-size: inherit; }
.hero-title a:hover { color: var(--dt-primary); }
.hero-main .hero-title { font-size: 40px; }
.hero-meta {
    font-size: 13px; color: rgba(255,255,255,.55); display: flex; gap: 8px; align-items: center;
}
.hero-meta .sep { opacity: .4; }

.hero-side {
    position: relative; overflow: hidden;
    background: #0d0d18;
}
.hero-side .hero-content { padding: 20px; }
.hero-side .hero-title { font-size: 22px; font-weight: 600; }

/* ========== SECTION DIVIDER ========== */
.section-divider {
    text-align: center; margin: 48px 0 0; position: relative;
}
.section-divider::after {
    content: ''; display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent);
}

/* ========== BLOCK HEAD ========== */
.block-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 22px; padding: 12px 18px;
    background: #fff; border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.block-head h4 {
    font-family: var(--dt-body-font, 'Poppins', sans-serif);
    font-size: 18px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; color: #1a1a2e;
}

/* ========== CATEGORY LABEL ========== */
.cat-label {
    display: inline-block; padding: 3px 11px; border-radius: 3px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
    background: var(--dt-accent-bg); color: var(--dt-accent-text);
}

/* ========== HIGHLIGHTS ROW ========== */
.highlights-row {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 36px 0;
}
.highlight-col-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 22px;
}
.highlight-col-featured .block-head { grid-column: 1 / -1; }
.highlight-col-featured .main-post { position: relative; margin-bottom: 0; }
.highlight-col-featured .main-post-img { margin-bottom: 0; height: 400px; }
.highlight-col-featured .main-post-img img { height: 400px; }
.highlight-col-featured .main-post-img::after {
    background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.82) 100%);
}
.highlight-col-featured .main-post-body {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 28px; align-self: auto;
}
.highlight-col-featured .main-post-title { color: #fff; font-size: 28px; }
.highlight-col-featured .main-post-title a { color: #fff; font-size: 28px; }
.highlight-col-featured .main-post-title a:hover { color: #ffd9c9; }
.highlight-col-featured .main-post-excerpt { color: rgba(255,255,255,.88); }
.highlight-col-featured .main-post-meta { color: rgba(255,255,255,.8); }
.highlight-col-featured .main-post-meta .meta-date,
.highlight-col-featured .main-post-meta .meta-read { color: #ffd9c9; }
.highlight-col-featured .main-post-more { color: #fff; background: rgba(255,255,255,.14); }
.highlight-col-featured .main-post-more:hover { background: var(--dt-accent-bg, #e84040); color: #fff; }
.highlight-col-featured .featured-small-wrap {
    display: flex; flex-direction: column; justify-content: space-between;
}
.highlight-col-featured .featured-small-wrap .small-post { padding: 8px 0; }
.highlight-col-featured .featured-small-wrap .small-post:first-child { padding-top: 0; }
.highlight-col-featured .featured-small-wrap .small-post:last-child { padding-bottom: 0; }
.highlight-col-featured .featured-small-wrap .small-post-title { font-size: 15px; }
.highlight-col {
    background: #fff; border-radius: 12px; padding: 22px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.highlight-col:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.highlight-col .block-head {
    background: transparent; box-shadow: none; padding: 0;
    margin-bottom: 14px; align-items: flex-start; flex-direction: column; gap: 8px;
}
.highlight-col .block-head h4 { font-size: 19px; font-weight: 800; letter-spacing: 1px; }
.highlight-col .block-head::after {
    content: ''; display: block; width: 44px; height: 3px;
    background: var(--dt-accent-bg, #e84040); border-radius: 3px;
}

.main-post { margin-bottom: 18px; }
.main-post-img {
    position: relative; border-radius: 10px; overflow: hidden; margin-bottom: 14px;
}
.main-post-img a { display: block; }
.main-post-img img { width: 100%; height: 220px; object-fit: cover; transition: transform .55s ease; }
.main-post:hover .main-post-img img { transform: scale(1.07); }
.main-post-img::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 48%);
    pointer-events: none;
}
.main-post-label {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--dt-accent-bg, #e84040);
    border-radius: 999px; padding: 4px 12px; font-weight: 700;
    box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.28); backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,.75);
    display: flex; align-items: center; justify-content: center;
    z-index: 2; transition: transform .3s ease, background .3s ease;
}
.play-btn-inner {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--dt-accent-bg, var(--dt-primary));
    display: flex; align-items: center; justify-content: center;
}
.play-btn-inner span { color: #fff; font-size: 12px; margin-left: 2px; }
.main-post-img:hover .play-btn { transform: translate(-50%,-50%) scale(1.12); }
.main-post-body { padding: 0 2px; display: flex; flex-direction: column; justify-content: center; }
.main-post-more {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin-top: 16px; font-size: 13px; font-weight: 700;
    color: var(--dt-accent-bg, #e84040); padding: 8px 18px; border-radius: 999px;
    background: rgba(232,64,64,.08);
    background: color-mix(in srgb, var(--dt-accent-bg, #e84040) 10%, transparent);
    transition: background .2s ease, color .2s ease, gap .2s ease;
}
.main-post-more i { font-size: 11px; transition: transform .2s ease; }
.main-post-more:hover { background: var(--dt-accent-bg, #e84040); color: #fff; }
.main-post-more:hover i { transform: translateX(3px); }
.main-post-more:focus-visible { outline: 2px solid var(--dt-accent-bg, #e84040); outline-offset: 2px; }
.main-post-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 26px; font-weight: 700; line-height: 1.35; margin: 10px 0 7px;
    color: #1a1a2e;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.main-post-title a:hover { color: var(--dt-accent-bg, var(--dt-primary)); }
.main-post-excerpt {
    font-size: 15px; color: #6b7280; line-height: 1.6; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.main-post-meta { font-size: 13px; color: #94a3b8; display: flex; gap: 14px; align-items: center; }
.main-post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.main-post-meta i { font-size: 11px; }
.main-post-meta .meta-date { color: var(--dt-accent-bg, #e84040); font-weight: 600; }
.main-post-meta .meta-read { color: #94a3b8; }

.small-post { display: flex; gap: 14px; padding: 13px 0; }
.small-post-img { flex-shrink: 0; }
.small-post-img a { display: block; overflow: hidden; border-radius: 8px; }
.small-post-img img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; transition: transform .4s ease; }
.small-post:hover .small-post-img img { transform: scale(1.1); }
.small-post-num {
    display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .5px;
    color: var(--dt-accent-bg, #e84040); line-height: 1.4; padding: 2px 7px; margin-bottom: 6px;
    border-radius: 5px;
    background: rgba(232,64,64,.08);
    background: color-mix(in srgb, var(--dt-accent-bg, #e84040) 10%, transparent);
}
.small-post-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 18px; font-weight: var(--dt-title-weight, 500); line-height: 1.45; margin-bottom: 6px;
    color: #1a1a2e;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.small-post-title a { transition: color .2s ease; }
.small-post-title a:hover { color: var(--dt-accent-bg, var(--dt-primary)); }
.small-post-meta { font-size: 12.5px; color: var(--dt-accent-bg, #e84040); font-weight: 600; }

/* ========== BOTTOM LAYOUT ========== */
.bottom-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin: 36px 0 50px; align-items: start; }

/* ========== LATEST NEWS STORIES ========== */
.latest-section { margin-bottom: 8px; }
.news-section-head {
    display: flex; align-items: center; gap: 12px; padding-left: 2px;
}
.news-section-icon {
    width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
    background: var(--dt-accent-bg, #e84040);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px;
}
.news-section-title {
    font-family: var(--dt-body-font, 'Poppins', sans-serif);
    font-size: 21px; font-weight: 800; letter-spacing: -.4px;
    color: #111827; margin: 0; line-height: 1.3;
}
.news-section-line {
    display: block; height: 3px; width: 100%; margin: 18px 0 22px;
    background: linear-gradient(90deg, var(--dt-accent-bg, #e84040) 0%, rgba(232,64,64,.25) 60%, transparent 100%);
    border-radius: 3px;
}
.news-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.news-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    box-shadow: 0 1px 3px rgba(17,24,39,.05);
    overflow: hidden; min-width: 0;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(17,24,39,.09);
    border-color: #d1d5db;
}
.news-card-media {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 16 / 9; background: #f3f4f6;
}
.news-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: var(--dt-accent-bg, #e84040); color: #fff;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    padding: 5px 12px; border-radius: 999px; line-height: 1.3;
}
.news-card-body {
    display: flex; flex-direction: column; flex: 1;
    padding: 16px 16px 14px;
}
.news-card-author {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.news-card-author img.avatar {
    width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}
.news-card-author-name {
    font-size: 12.5px; font-weight: 700; color: #374151;
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
}
.news-card-author-name .fa-circle-check { color: #3b82f6; font-size: 11px; }
.news-card-title {
    font-family: var(--dt-body-font, 'Poppins', sans-serif);
    font-size: 17px; font-weight: 700; line-height: 1.35;
    color: #0f172a; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-title a { color: inherit; transition: color .2s ease; }
.news-card-title a:hover,
.news-card-title a:focus-visible { color: var(--dt-accent-bg, #e84040); }
.news-card-footer {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: auto; padding-top: 12px;
    border-top: 1px solid #f0f1f3;
}
.news-card-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
    font-size: 11px; color: #9ca3af;
}
.news-card-more {
    font-size: 12px; font-weight: 700; color: var(--dt-accent-bg, #e84040);
    white-space: nowrap;
}
.news-card-more i { font-size: 10px; margin-left: 5px; transition: transform .2s ease; }
.news-card-more:hover { color: #b91c1c; }
.news-card-more:hover i,
.news-card-more:focus-visible i { transform: translateX(3px); }
.news-card-more:focus-visible { outline: 2px solid var(--dt-accent-bg, #e84040); outline-offset: 2px; border-radius: 3px; }

/* ========== SIDEBAR ========== */
.widget-area.is-sticky { position: sticky; top: 80px; align-self: start; }

.sidebar-section {
    background: #fff; border-radius: 12px; padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 24px;
}
.sidebar-section .block-head { margin-bottom: 14px; }

.spotlight-card { margin-bottom: 22px; }
.spotlight-card-img {
    position: relative; border-radius: 8px; overflow: hidden; margin-bottom: 12px;
}
.spotlight-card-img img { width: 100%; height: 180px; object-fit: cover; transition: transform .5s; }
.spotlight-card:hover .spotlight-card-img img { transform: scale(1.05); }
.spotlight-card-img .cat-label {
    position: absolute; bottom: 12px; left: 12px;
}
.spotlight-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,.5));
    pointer-events: none;
}
.spotlight-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 22px; font-weight: var(--dt-title-weight, 500); line-height: 1.4; margin-bottom: 6px;
    color: #1a1a2e;
}
.spotlight-title a:hover { color: var(--dt-primary); }
.spotlight-meta { font-size: 12px; color: var(--dt-primary); font-weight: 600; display: flex; gap: 6px; }

.side-small-post { display: flex; gap: 12px; padding: 14px 0; }
.side-small-post-img { flex-shrink: 0; }
.side-small-post-img img { width: 68px; height: 52px; object-fit: cover; border-radius: 5px; }
.side-small-post-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 17px; font-weight: var(--dt-title-weight, 500); line-height: 1.4; margin-bottom: 3px;
    color: #1a1a2e;
}
.side-small-post-title a:hover { color: var(--dt-primary); }
.side-small-post-meta { font-size: 11px; color: var(--dt-primary); font-weight: 600; }

.newsletter-widget {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    padding: 24px; border-radius: 12px; margin-bottom: 24px;
}
.newsletter-widget h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.newsletter-widget p { font-size: 13px; color: #6b7280; margin-bottom: 14px; line-height: 1.6; }
.newsletter-widget form { display: flex; gap: 8px; }
.newsletter-widget input {
    flex: 1; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 13px; outline: none; transition: border-color .2s; font-family: inherit;
}
.newsletter-widget input:focus { border-color: var(--dt-primary); }
.newsletter-widget .ts-button { flex-shrink: 0; }

.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tags-cloud a {
    display: inline-block; padding: 5px 12px; border: 1px solid #e0e3e8; border-radius: 5px;
    font-size: 12px; color: #6b7280; transition: all .2s;
}
.tags-cloud a:hover { border-color: var(--dt-primary); color: var(--dt-primary); background: rgba(250,80,5,.04); }

/* ========== SINGLE POST ========== */
.content-area { display: grid; grid-template-columns: 1fr 320px; gap: 36px; margin: 30px 0; }
.site-main { min-width: 0; }
.single-article { background: #fff; border-radius: var(--dt-radius); padding: 40px; box-shadow: var(--dt-shadow-sm); }
.single-header { margin-bottom: 28px; }
.single-cats { margin-bottom: 12px; }
.single-cats a {
    display: inline-block; padding: 3px 12px; border-radius: 3px;
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
    background: var(--dt-accent-bg); color: var(--dt-accent-text); margin-right: 4px;
}
.single-cats a:hover { filter: brightness(1.1); }
.single-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 30px; font-weight: var(--dt-title-weight, 600); line-height: 1.3;
    color: #1a1a2e; margin-bottom: 14px;
}
.single-meta {
    display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7280; flex-wrap: wrap;
}
.single-author { display: flex; align-items: center; gap: 6px; }
.single-author img.avatar { width: 26px; height: 26px; border-radius: 50%; }
.single-author a { color: #1a1a2e; font-weight: 500; }
.single-author a:hover { color: var(--dt-primary); }
.meta-sep { color: #d1d5db; }

.single-featured { margin-bottom: 28px; border-radius: var(--dt-radius-sm); overflow: hidden; }
.single-featured img { width: 100%; }
.single-featured-caption {
    font-size: 13px; color: #6b7280; text-align: center; padding: 10px 0; font-style: italic;
}

.single-content {
    font-size: var(--dt-content-size, 18px); line-height: 1.8; color: #374151;
}
.single-content p { margin-bottom: 1.4em; }
.single-content h2,
.single-content h3,
.single-content h4 { font-family: var(--dt-title-font, 'Roboto Slab', serif); color: #1a1a2e; margin-top: 1.6em; margin-bottom: .6em; }
.single-content h2 { font-size: 26px; }
.single-content h3 { font-size: 22px; }
.single-content h4 { font-size: 18px; }
.single-content ul,
.single-content ol { margin-bottom: 1.4em; padding-left: 24px; }
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-bottom: .3em; }
.single-content a:not(.no-underline) { color: var(--dt-primary); text-decoration: underline; text-underline-offset: 2px; }
.single-content a:hover { opacity: .8; }
.single-content blockquote {
    margin: 1.6em 0; padding: 16px 24px; border-left: 4px solid var(--dt-primary);
    background: #f7f8fa; border-radius: 0 6px 6px 0; font-style: italic; color: #4b5563;
}
.single-content blockquote p:last-child { margin-bottom: 0; }
.single-content img { border-radius: var(--dt-radius-sm); margin: 1.2em 0; }
.single-content figcaption { font-size: 13px; color: #6b7280; text-align: center; margin-top: -1em; margin-bottom: 1.4em; }
.single-content .wp-block-image { margin: 1.2em 0; }
.single-content .wp-block-image figcaption { margin-top: 6px; }

.page-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 14px; color: #6b7280; }
.page-links a { color: var(--dt-primary); }
.page-links span { display: inline-block; padding: 2px 8px; }

.single-bottom { margin-top: 32px; }
.single-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.single-tags a {
    display: inline-block; padding: 5px 14px; border: 1px solid #e0e3e8;
    border-radius: 4px; font-size: 12px; color: #6b7280; transition: all .2s;
}
.single-tags a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }

.single-author-box {
    display: flex; gap: 22px; margin-top: 40px; padding: 26px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
    box-shadow: 0 1px 3px rgba(17,24,39,.05);
    transition: box-shadow .25s ease;
}
.single-author-box:hover { box-shadow: 0 10px 24px rgba(17,24,39,.08); }
.author-avatar { flex-shrink: 0; }
.author-avatar img {
    border-radius: 50%; width: 84px; height: 84px; object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--dt-primary, #fa5005);
}
.author-body { flex: 1; min-width: 0; }
.author-label {
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--dt-primary, #fa5005); margin-bottom: 6px;
}
.author-name {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 21px; font-weight: 700; margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.author-name a { color: #1a1a2e; }
.author-name a:hover { color: var(--dt-primary, #fa5005); }
.author-verified { color: #3b82f6; font-size: 15px; }
.author-desc { font-size: 14px; color: #6b7280; line-height: 1.65; margin-bottom: 14px; }
.author-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 14px; }
.author-meta span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #94a3b8; }
.author-meta i { color: var(--dt-primary, #fa5005); font-size: 12px; }
.author-all-posts {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 700; color: var(--dt-primary, #fa5005);
}
.author-all-posts i { font-size: 11px; transition: transform .2s ease; }
.author-all-posts:hover { color: #b91c1c; }
.author-all-posts:hover i { transform: translateX(3px); }
.author-all-posts:focus-visible { outline: 2px solid var(--dt-primary, #fa5005); outline-offset: 2px; border-radius: 3px; }

.single-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
}
.single-nav a {
    display: block; padding: 16px 20px; border: 1px solid #e5e7eb;
    border-radius: var(--dt-radius-sm); transition: all .25s;
}
.single-nav a:hover { border-color: var(--dt-primary); background: rgba(250,80,5,.03); }
.single-nav .nav-dir { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #94a3b8; margin-bottom: 4px; }
.single-nav .nav-title { font-size: 14px; font-weight: 500; color: #1a1a2e; line-height: 1.4; }
.single-nav a:hover .nav-title { color: var(--dt-primary); }
.single-nav .nav-next { text-align: right; }

.single-comments-area { margin-top: 36px; }

/* ========== COMMENTS ========== */
.comments-area { padding: 28px 0; }
.comments-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 20px; font-weight: 600; margin-bottom: 24px; color: #1a1a2e;
}
.comment-list > .comment { margin-bottom: 20px; }
.comment-list .children { margin-left: 40px; padding-left: 20px; border-left: 2px solid #e5e7eb; }
.comment-body { padding: 20px; background: #f7f8fa; border-radius: var(--dt-radius-sm); }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.comment-author img { border-radius: 50%; }
.comment-author .fn a { font-size: 15px; font-weight: 600; color: #1a1a2e; }
.comment-author .fn a:hover { color: var(--dt-primary); }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12px; color: #94a3b8; margin-bottom: 10px; }
.comment-metadata a { color: inherit; }
.comment-content { font-size: 14px; color: #374151; line-height: 1.7; }
.comment-content p { margin-bottom: .8em; }
.reply a {
    display: inline-block; font-size: 12px; font-weight: 600; color: var(--dt-primary); margin-top: 6px;
}
.reply a:hover { text-decoration: underline; }
.no-comments { font-size: 14px; color: #6b7280; padding: 16px 0; }

.comment-form { margin-top: 24px; }
.comment-form label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.comment-form input,
.comment-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 5px;
    font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--dt-primary); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit { margin-top: 12px; }
.comment-form .submit {
    display: inline-block; padding: 10px 28px; background: var(--dt-primary);
    color: #fff; border: none; border-radius: 5px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: background .2s; font-family: inherit;
}
.comment-form .submit:hover { filter: brightness(1.1); }

/* ========== ARCHIVE ========== */
.archive-header { margin: 24px 0 32px; }
.archive-title { font-family: var(--dt-title-font, 'Roboto Slab', serif); font-size: 28px; font-weight: 600; color: #1a1a2e; }
.archive-desc { font-size: 15px; color: #6b7280; margin-top: 6px; }

.archive-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.archive-card {
    background: #fff; border-radius: var(--dt-radius); overflow: hidden;
    box-shadow: var(--dt-shadow-sm); transition: transform .3s, box-shadow .3s;
}
.archive-card:hover { transform: translateY(-4px); box-shadow: var(--dt-shadow-md); }
.archive-card-img { position: relative; overflow: hidden; }
.archive-card-img img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s; }
.archive-card:hover .archive-card-img img { transform: scale(1.06); }
.archive-card-img .cat-label {
    position: absolute; bottom: 12px; left: 12px;
}
.archive-card-body { padding: 20px; }
.archive-card-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 22px; font-weight: var(--dt-title-weight, 500); line-height: 1.4; margin-bottom: 6px;
    color: #1a1a2e;
}
.archive-card-title a:hover { color: var(--dt-primary); }
.archive-card-meta { font-size: 12px; color: var(--dt-primary); font-weight: 600; display: flex; gap: 6px; margin-bottom: 8px; }
.archive-card-excerpt { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* ========== PAGINATION ========== */
.pagination { margin: 36px 0; text-align: center; }
.pagination ul { display: inline-flex; gap: 4px; align-items: center; }
.pagination li { display: inline; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #e5e7eb;
    border-radius: 5px; font-size: 13px; color: #6b7280; transition: all .2s;
}
.pagination a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.pagination .current { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }

/* ========== 404 ========== */
.error-404-wrap { min-height: 50vh; display: flex; align-items: center; justify-content: center; }
.error-404 { text-align: center; padding: 60px 20px; }
.error-title { font-size: 120px; font-weight: 800; color: var(--dt-primary); line-height: 1; margin-bottom: 10px; }
.error-message { font-size: 20px; color: #374151; margin-bottom: 10px; }
.error-404 p { font-size: 15px; color: #6b7280; margin-bottom: 20px; }
.error-search { max-width: 400px; margin: 0 auto 24px; }
.error-404 .btn {
    display: inline-block; padding: 12px 32px; background: var(--dt-primary);
    color: #fff; border-radius: 5px; font-weight: 600; transition: background .2s;
}
.error-404 .btn:hover { filter: brightness(1.1); }

/* ========== SEARCH RESULTS ========== */
.page-header { margin: 24px 0 32px; }
.page-title { font-family: var(--dt-title-font, 'Roboto Slab', serif); font-size: 24px; font-weight: 600; color: #1a1a2e; }

.posts-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.post-card {
    background: #fff; border-radius: var(--dt-radius); overflow: hidden;
    box-shadow: var(--dt-shadow-sm); transition: transform .3s, box-shadow .3s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--dt-shadow-md); }
.post-thumbnail img { width: 100%; height: 200px; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-thumbnail img { transform: scale(1.06); }
.post-card-body { padding: 20px; }
.entry-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 22px; font-weight: var(--dt-title-weight, 500); line-height: 1.4; margin-bottom: 6px;
    color: #1a1a2e;
}
.entry-title a:hover { color: var(--dt-primary); }
.entry-meta { font-size: 12px; color: var(--dt-primary); font-weight: 600; margin-bottom: 8px; }
.entry-summary { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* ========== SIDEBAR WIDGETS ========== */
.widget { margin-bottom: 28px; }
.widget-head { margin-bottom: 14px; }
.widget-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 12px;
}
.widget-list li {
    display: flex; gap: 12px; padding: 12px 0;
}
.widget-list li:first-child { padding-top: 0; }
.widget-post-thumb { flex-shrink: 0; }
.widget-post-thumb img { width: 60px; height: 48px; object-fit: cover; border-radius: 4px; }
.widget-post-body { flex: 1; min-width: 0; }
.widget-post-body h4 {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 17px; font-weight: 500; line-height: 1.4; margin-bottom: 2px;
}
.widget-post-body h4 a:hover { color: var(--dt-primary); }
.widget-post-date { font-size: 13px; color: #94a3b8; }

.widget-cat-list li { }
.widget-cat-list li:first-child { }
.widget-cat-list a {
    display: flex; justify-content: space-between; padding: 10px 0;
    font-size: 16px; color: #374151; transition: color .2s;
}
.widget-cat-list a:hover { color: var(--dt-primary); }
.widget-cat-list .cat-count {
    background: #f0f4ff; padding: 1px 8px; border-radius: 10px; font-size: 13px; color: #6b7280;
}

.search-form {
    display: flex; gap: 6px;
}
.search-form input {
    flex: 1; padding: 9px 14px; border: 1px solid #d1d5db; border-radius: 5px;
    font-size: 13px; outline: none; transition: border-color .2s; font-family: inherit;
}
.search-form input:focus { border-color: var(--dt-primary); }
.search-form .search-submit {
    padding: 9px 16px; background: var(--dt-primary); color: #fff;
    border: none; border-radius: 5px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: background .2s; font-family: inherit;
}
.search-form .search-submit:hover { filter: brightness(1.1); }

.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a {
    display: inline-block; padding: 4px 12px; border: 1px solid #e0e3e8;
    border-radius: 4px; font-size: 12px !important; color: #6b7280; transition: all .2s;
}
.tagcloud a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }

/* ========== FOOTER ========== */
.site-footer {
    background: #0d0d18; color: #8899bb; border-top: 1px solid #1a1a30;
}
.footer-inner { max-width: var(--dt-container); margin: 0 auto; padding: 0 20px; }

.footer-columns {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px;
    padding: 48px 0 40px;
}
.footer-col-title {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 16px; font-weight: 600; color: var(--dt-footer-heading, #d1d5db); margin-bottom: 16px;
}
.footer-logo-text {
    font-family: var(--dt-title-font, 'Roboto Slab', serif);
    font-size: 24px; font-weight: 700; color: var(--dt-footer-heading, #fff);
}
.footer-desc { font-size: 14px; color: var(--dt-footer-text, #6b7280); line-height: 1.7; margin: 10px 0 16px; }
.footer-social { display: flex; gap: 6px; }
.footer-social a {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    border: 1px solid #1a1a30; border-radius: 6px; color: var(--dt-footer-link, #6677aa);
    font-size: 14px; transition: all .2s;
}
.footer-social a:hover { background: var(--dt-primary); border-color: var(--dt-primary); color: #fff; }

.footer-recent { display: flex; flex-direction: column; gap: 0; }
.footer-recent li {
    display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.04);
}
.footer-recent li:first-child { border-top: none; padding-top: 0; }
.footer-recent-thumb { flex-shrink: 0; }
.footer-recent-thumb img { width: 56px; height: 44px; object-fit: cover; border-radius: 4px; }
.footer-recent-body { flex: 1; min-width: 0; }
.footer-recent-body a {
    display: block; font-size: 13px; font-weight: 500; color: var(--dt-footer-link, #aab); line-height: 1.4;
    transition: color .2s; margin-bottom: 2px;
}
.footer-recent-body a:hover { color: var(--dt-primary); }
.footer-recent-date { font-size: 11px; color: var(--dt-footer-text, #5566aa); opacity: .6; }

.footer-cat-list li { border-top: 1px solid rgba(255,255,255,.04); }
.footer-cat-list li:first-child { border-top: none; }
.footer-cat-list a {
    display: flex; justify-content: space-between; padding: 9px 0;
    font-size: 13px; color: var(--dt-footer-link, #8899bb); transition: color .2s;
}
.footer-cat-list a:hover { color: var(--dt-primary); }
.footer-cat-count { font-size: 11px; color: var(--dt-footer-text, #5566aa); opacity: .6; }

.footer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-tags a {
    display: inline-block; padding: 4px 12px; border: 1px solid #1a1a30;
    border-radius: 4px; font-size: 12px !important; color: var(--dt-footer-link, #6677aa); transition: all .2s;
}
.footer-tags a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }

.footer-custom-text { font-size: 14px; color: var(--dt-footer-text, #6b7280); line-height: 1.7; }

.footer-bottom-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 0; border-top: 1px solid #1a1a30; flex-wrap: wrap; gap: 10px;
}
.footer-nav ul { display: flex; gap: 4px; }
.footer-nav a {
    display: block; padding: 4px 12px; font-size: 12px; color: var(--dt-footer-text, #5566aa); opacity: .8; transition: color .2s;
}
.footer-nav a:hover { color: var(--dt-primary); opacity: 1; }
.footer-copy { font-size: 13px; color: var(--dt-footer-text, #5566aa); }

/* ========== CONTENT WRAP ========== */
.content-wrap { max-width: 780px; margin: 0 auto; }

/* ========== DARK MODE ========== */
.dark-mode body { background: #0f0f1a; color: #e5e7eb; }
.dark-mode a { color: #d1d5db; }
.dark-mode .top-bar { background: #080910; border-bottom-color: rgba(255,255,255,.03); }
.dark-mode .top-bar-nav ul li a { color: #5566aa; }
.dark-mode .top-bar-social a { color: #4455aa; }
.dark-mode .top-bar-social a:hover { color: var(--dt-primary); }
.dark-mode .mid-header { background: linear-gradient(135deg, #0a0c14 0%, #0e1222 100%); border-bottom-color: rgba(255,255,255,.03); }
.dark-mode .site-logo-text { background: linear-gradient(135deg, #dde 0%, #5577bb 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dark-mode .site-logo-tag { border-color: rgba(255,255,255,.05); color: #4455aa; }
.dark-mode .bottom-nav-wrap { background: #06080e; border-bottom-color: rgba(255,255,255,.03); }
.dark-mode .bottom-nav a, .dark-mode .bottom-nav li a { color: #8899bb; }
.dark-mode .bottom-nav > ul > li > a::after { background: var(--dt-primary, #fa5005); }
.dark-mode .bottom-nav a:hover, .dark-mode .bottom-nav li a:hover { color: #dde; }
.dark-mode .bottom-nav .sub-menu { background: #0a0c14; border-color: rgba(255,255,255,.05); }
.dark-mode .bottom-nav .sub-menu li { border-color: rgba(255,255,255,.04); }
.dark-mode .bottom-nav .sub-menu a { color: #8899bb; }
.dark-mode .bottom-nav .sub-menu a:hover { background: rgba(255,255,255,.04); color: #dde; }
.dark-mode .nav-search-btn { color: #4455aa; }
.dark-mode .nav-search-btn:hover { color: #bcc; background: rgba(255,255,255,.03); }
.dark-mode .hamburger-btn span { background: #4455aa; }
.dark-mode .hamburger-btn:hover { background: rgba(255,255,255,.04); }
.dark-mode .ts-button-alt { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.05); color: #5566aa; }
.dark-mode .ts-button-alt:hover { border-color: var(--dt-primary); color: #fff; background: rgba(250,80,5,.15); }
.dark-mode .mobile-overlay-inner { background: #0a0a14; }
.dark-mode .mobile-nav a { color: #6677aa; border-bottom-color: rgba(255,255,255,.03); }
.dark-mode .mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.03); }
.dark-mode .block-head { background: #181828; border-left-color: #555; }
.dark-mode .block-head h4 { color: #bcc; }
.dark-mode .highlight-col .block-head { background: transparent; }
.dark-mode .highlight-col .block-head h4 { color: #bcc; }
.dark-mode .small-post-num {
    background: rgba(255,255,255,.08);
    background: color-mix(in srgb, var(--dt-accent-bg, #e84040) 22%, transparent);
}
.dark-mode .main-post-title, .dark-mode .news-card-title, .dark-mode .small-post-title,
.dark-mode .side-small-post-title,
.dark-mode .sidebar-section .spotlight-title,
.dark-mode .archive-card-title,
.dark-mode .entry-title,
.dark-mode .single-title,
.dark-mode .widget-title { color: #e5e7eb; }
.dark-mode .main-post-excerpt, .dark-mode .archive-card-excerpt,
.dark-mode .entry-summary, .dark-mode .single-content { color: #9ca3af; }
.dark-mode .news-card, .dark-mode .small-post, .dark-mode .side-small-post { border-color: rgba(255,255,255,.06); }
.dark-mode .news-card { background: #141420; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.dark-mode .news-card:hover { border-color: rgba(255,255,255,.12); box-shadow: 0 12px 28px rgba(0,0,0,.45); }
.dark-mode .news-card-footer { border-top-color: rgba(255,255,255,.06); }
.dark-mode .news-card-author-name { color: #9ca3af; }
.dark-mode .news-card-meta { color: #6b7280; }
.dark-mode .news-section-title { color: #e5e7eb; }
.dark-mode .latest-section { background: transparent; }
.dark-mode .sidebar-section { background: #141420; }
.dark-mode .highlight-col { background: #141420; }
.dark-mode .site-main .single-article,
.dark-mode .archive-card,
.dark-mode .post-card { background: #141420; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.dark-mode .newsletter-widget { background: linear-gradient(135deg, #141420 0%, #181828 100%); }
.dark-mode .newsletter-widget h4 { color: #e5e7eb; }
.dark-mode .newsletter-widget input { background: #1a1a2e; border-color: #2d2d44; color: #e5e7eb; }
.dark-mode .newsletter-widget input:focus { border-color: var(--dt-primary); }
.dark-mode .tags-cloud a { border-color: #2d2d44; color: #6677aa; }
.dark-mode .tags-cloud a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.dark-mode .single-content { color: #9ca3af; }
.dark-mode .single-content h2, .dark-mode .single-content h3, .dark-mode .single-content h4 { color: #e5e7eb; }
.dark-mode .single-content blockquote { background: #141420; color: #b0b7c3; }
.dark-mode .single-meta { color: #6b7280; }
.dark-mode .single-author a { color: #e5e7eb; }
.dark-mode .single-author-box { background: #141420; border-color: rgba(255,255,255,.08); }
.dark-mode .single-author-box:hover { box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.dark-mode .author-avatar img { border-color: #141420; }
.dark-mode .author-name a { color: #e5e7eb; }
.dark-mode .author-desc { color: #9ca3af; }
.dark-mode .single-nav a { border-color: #2d2d44; }
.dark-mode .single-nav .nav-title { color: #e5e7eb; }
.dark-mode .single-nav a:hover { border-color: var(--dt-primary); background: rgba(250,80,5,.04); }
.dark-mode .single-tags a { border-color: #2d2d44; color: #6677aa; }
.dark-mode .single-tags a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.dark-mode .comment-body { background: #141420; }
.dark-mode .comment-author .fn a { color: #e5e7eb; }
.dark-mode .comment-content { color: #9ca3af; }
.dark-mode .comment-form input,
.dark-mode .comment-form textarea { background: #1a1a2e; border-color: #2d2d44; color: #e5e7eb; }
.dark-mode .comment-form input:focus,
.dark-mode .comment-form textarea:focus { border-color: var(--dt-primary); }
.dark-mode .widget-cat-list li { border-color: rgba(255,255,255,.06); }
.dark-mode .widget-cat-list a { color: #9ca3af; }
.dark-mode .widget-cat-list .cat-count { background: #1a1a2e; color: #6b7280; }
.dark-mode .search-form input { background: #1a1a2e; border-color: #2d2d44; color: #e5e7eb; }
.dark-mode .search-form input:focus { border-color: var(--dt-primary); }
.dark-mode .tagcloud a { border-color: #2d2d44; color: #6677aa; }
.dark-mode .tagcloud a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.dark-mode .page-links { border-color: #2d2d44; }
.dark-mode .pagination a, .dark-mode .pagination span { border-color: #2d2d44; color: #6677aa; }
.dark-mode .pagination a:hover { border-color: var(--dt-primary); color: var(--dt-primary); }
.dark-mode .site-footer { background: #07070f; border-top-color: #1a1a30; }
.dark-mode .footer-col-title { color: var(--dt-footer-heading, #aab); }
.dark-mode .footer-recent li, .dark-mode .footer-cat-list li { border-color: rgba(255,255,255,.03); }
.dark-mode .footer-bottom-bar { border-color: #1a1a30; }
.dark-mode .meta-sep { color: #2d2d44; }
.dark-mode .widget-post-thumb img { opacity: .8; }
.dark-mode .search-overlay { background: rgba(0,0,0,.9); }
.dark-mode .single-cats a { color: #fff; }
.dark-mode .cat-label { color: #fff; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .container { padding: 0 16px; }
    .highlights-row { gap: 16px; }
    .highlight-col { padding: 16px; }
    .hero-grid { height: 380px; }
    .hero-main .hero-title { font-size: 34px; }
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1.5fr 1fr; height: 360px; }
    .hero-main .hero-title { font-size: 30px; }
    .hero-side .hero-title { font-size: 18px; }
    .hero-content { padding: 22px; }
    .hero-main .hero-content { padding: 30px; }
    .hero-side .hero-content { padding: 16px; }
    .bottom-layout { gap: 28px; }
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .news-section-title { font-size: 20px; }
    .footer-columns { gap: 24px; }
}

@media (max-width: 820px) {
    .hamburger-btn { display: flex; }
    .mid-header-inner { min-height: 60px; }
    .site-logo-text { font-size: 22px; }
    .mid-header-right .ts-button { display: none; }
    .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; border-radius: 10px; }
    .hero-main { grid-row: auto; grid-column: 1 / -1; height: 320px; }
    .hero-main .hero-title { font-size: 34px; }
    .hero-main .hero-content { padding: 36px; }
    .hero-side { height: 180px; }
    .hero-side .hero-title { font-size: 22px; }
    .highlights-row { grid-template-columns: 1fr; gap: 20px; }
    .highlight-col-featured { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
    .highlight-col-featured .block-head { grid-column: auto; }
    .highlight-col-featured .main-post { margin-bottom: 18px; }
    .highlight-col-featured .main-post-img { height: 240px; }
    .highlight-col-featured .main-post-img img { height: 240px; }
    .highlight-col-featured .main-post-body { padding: 18px; }
    .highlight-col-featured .main-post-title { font-size: 20px; }
    .highlight-col-featured .main-post-title a { font-size: 20px; }
    .highlight-col-featured .main-post-excerpt { display: none; }
    .bottom-layout { grid-template-columns: 1fr; gap: 32px; }
    .content-area { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; gap: 32px; }
    .single-article { padding: 28px; }
    .single-title { font-size: 26px; }
    .single-nav { grid-template-columns: 1fr; }
    .dark-mode .hero-side:first-of-type { border-right-color: #1a1a30; border-bottom-color: #1a1a30; }
.dark-mode .hero-side:first-of-type { border-bottom-color: #1a1a30; }
}

@media (max-width: 600px) {
    .top-bar-social { display: none; }
    .container { padding: 0 12px; }
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; border-radius: 8px; }
    .hero-main { grid-row: auto; height: 260px; }
    .hero-main .hero-title { font-size: 28px; }
    .hero-main .hero-content { padding: 28px; }
    .hero-side { height: 200px; }
    .hero-side .hero-title { font-size: 22px; }
    .hero-content { padding: 20px; }
    .news-grid { grid-template-columns: 1fr; gap: 18px; }
    .news-section-title { font-size: 18px; }
    .news-section-line { margin: 14px 0 18px; }
    .news-card-body { padding: 15px 15px 13px; }
    .single-article { padding: 20px; border-radius: 6px; }
    .single-title { font-size: 22px; }
    .single-author-box { flex-direction: column; align-items: center; text-align: center; }
    .error-title { font-size: 80px; }
    .bottom-nav a, .bottom-nav li a { padding: 0 12px; font-size: 14px; }
    .footer-columns { padding: 32px 0 24px; }
    .footer-bottom-bar { flex-direction: column; text-align: center; }
    .newsletter-widget form { flex-direction: column; }
    .highlight-col { padding: 14px; }
    .dark-mode .hero-side:first-of-type { border-bottom-color: #1a1a30; }
}

@media (max-width: 480px) {
    .site-logo-text { font-size: 18px; }
    .site-logo-tag { display: none; }
    .hero-main { height: 220px; }
    .hero-main .hero-title { font-size: 24px; }
    .hero-main .hero-content { padding: 24px; }
    .hero-side .hero-title { font-size: 20px; }
    .hero-content { padding: 16px; }
    .hero-meta { font-size: 11px; }
    .bottom-nav a, .bottom-nav li a { padding: 0 10px; font-size: 13px; }
    .single-article { padding: 16px; }
    .single-title { font-size: 20px; }
    .single-content { font-size: 16px; }
    .error-title { font-size: 56px; }
}

/* ========== BIG SCREEN ========== */
@media (min-width: 1400px) {
    .container { max-width: 1340px; }
    .hero-grid { border-radius: 16px; height: 520px; }
    .hero-main .hero-title { font-size: 44px; }
    .hero-main .hero-content { padding: 50px; }
    .hero-side .hero-title { font-size: 22px; }
    .hero-side .hero-content { padding: 26px; }
}
@media (min-width: 1800px) {
    .container { max-width: 1500px; }
    body { font-size: 18px; }
    .hero-grid { border-radius: 18px; height: 600px; }
    .hero-main .hero-title { font-size: 52px; }
    .hero-main .hero-content { padding: 56px; }
    .hero-side .hero-title { font-size: 24px; }
}
