/**
 * DailyTeck Classic V2 - Electrek Style Theme
 * Exact match to Electrek.co design
 */

/* ========================================================================
   CSS Variables
   ======================================================================== */

:root {
    --dt-primary: #54b9b5;
    --dt-primary-dark: #3a9a96;
    --dt-accent: #54b9b5;
    --dt-bg: #ffffff;
    --dt-surface: #f5f5f5;
    --dt-text: #222222;
    --dt-text-light: #666666;
    --dt-muted: #999999;
    --dt-border: #e0e0e0;
    --dt-dark-bg: #222222;
    --dt-font-heading: Georgia, 'Times New Roman', serif;
    --dt-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Dark Mode */
.dt-theme-dark {
    --dt-bg: #1a1a1a;
    --dt-surface: #222222;
    --dt-text: #f0f0f0;
    --dt-text-light: #cccccc;
    --dt-muted: #888888;
    --dt-border: #333333;
    --dt-dark-bg: #111111;
}

@media (prefers-color-scheme: dark) {
    .dt-theme-auto {
        --dt-bg: #1a1a1a;
        --dt-surface: #222222;
        --dt-text: #f0f0f0;
        --dt-text-light: #cccccc;
        --dt-muted: #888888;
        --dt-border: #333333;
        --dt-dark-bg: #111111;
    }
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--dt-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dt-text);
    background-color: var(--dt-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--dt-font-heading);
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 0.5rem;
    color: var(--dt-text);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--dt-primary);
}

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--dt-primary);
    color: #fff;
}

.skip-link:focus {
    left: 0;
    top: 0;
}

/* ========================================================================
   Header - Electrek Style (Teal/Cyan)
   ======================================================================== */

.dt-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--dt-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dt-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

.dt-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dt-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logo - Electrek Style */
.dt-logo-text {
    font-family: var(--dt-font-body);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dt-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.dt-logo-text:hover {
    color: var(--dt-primary);
}

/* Network Switcher - Arrow next to logo */
.dt-network-switcher {
    position: relative;
}

.dt-network-switcher-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--dt-primary);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.dt-network-switcher-toggle:hover {
    color: var(--dt-primary-dark);
}

.dt-network-switcher-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.dt-network-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: -100px;
    min-width: 280px;
    background: var(--dt-bg);
    border: 1px solid var(--dt-border);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 1000;
}

.dt-network-dropdown[hidden] {
    display: none;
}

.dt-network-list {
    padding: 8px 0;
}

.dt-network-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dt-text);
    transition: background 0.2s;
}

.dt-network-link:hover {
    background: var(--dt-surface);
    color: var(--dt-text);
}

.dt-network-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.dt-network-info {
    flex: 1;
    min-width: 0;
}

.dt-network-name {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    color: var(--dt-text);
}

.dt-network-desc {
    font-size: 0.75rem;
    color: var(--dt-muted);
    display: block;
    margin-top: 2px;
}

/* Header Icons */
.dt-header-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dt-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--dt-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.dt-header-icon:hover {
    background: var(--dt-surface);
    color: var(--dt-text);
}

.dt-header-icon svg {
    width: 20px;
    height: 20px;
}

/* Navigation Bar - Teal Background */
.dt-nav-bar {
    background: var(--dt-primary);
}

.dt-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dt-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (min-width: 992px) {
    .dt-menu-toggle {
        display: none;
    }
}

.dt-menu-toggle-close {
    display: none;
}

.dt-menu {
    display: none;
    align-items: center;
    gap: 0;
}

@media (min-width: 992px) {
    .dt-menu {
        display: flex;
    }
}

.dt-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    transition: background 0.2s;
}

.dt-menu li a:hover {
    background: rgba(0,0,0,0.15);
    color: #fff;
}

/* Mobile Menu */
.dt-menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dt-primary);
    padding: 10px 0;
}

.dt-menu.is-open li a {
    padding: 12px 20px;
}

/* Search Modal */
.dt-search-modal {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dt-bg);
    border-bottom: 1px solid var(--dt-border);
    padding: 16px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dt-search-modal[hidden] {
    display: none;
}

.dt-search-modal-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.dt-search-modal .search-form {
    flex: 1;
    display: flex;
}

.dt-search-modal .search-field {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--dt-primary);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    background: var(--dt-bg);
    color: var(--dt-text);
}

.dt-search-modal .search-field:focus {
    outline: none;
}

.dt-search-modal .search-submit {
    padding: 12px 24px;
    background: var(--dt-primary);
    color: #fff;
    border: 2px solid var(--dt-primary);
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
}

.dt-search-close {
    background: transparent;
    border: none;
    color: var(--dt-muted);
    cursor: pointer;
    padding: 8px;
}

/* ========================================================================
   Main Layout
   ======================================================================== */

.dt-content {
    padding-top: 0;
}

.dt-main {
    padding: 30px 0;
}

.dt-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dt-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .dt-layout {
        grid-template-columns: 1fr 340px;
    }
}

.dt-layout-main {
    min-width: 0;
}

.dt-layout-sidebar {
    display: none;
}

@media (min-width: 992px) {
    .dt-layout-sidebar {
        display: block;
    }
}

/* ========================================================================
   Hero/Featured Section - Electrek Style
   ======================================================================== */

.dt-featured {
    margin-bottom: 30px;
}

.dt-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .dt-featured-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Hero Card (Left side large) */
.dt-featured-hero {
    position: relative;
}

.dt-card--hero {
    background: var(--dt-bg);
}

.dt-card--hero .dt-card-media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0;
}

.dt-card--hero .dt-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-card--hero .dt-card-content {
    padding: 16px 0;
}

.dt-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dt-card-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dt-text);
}

.dt-card-category:hover {
    color: var(--dt-primary);
}

.dt-card--hero .dt-card-title {
    font-family: var(--dt-font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--dt-text);
}

@media (min-width: 768px) {
    .dt-card--hero .dt-card-title {
        font-size: 1.75rem;
    }
}

.dt-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--dt-muted);
}

.dt-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dt-primary);
}

.dt-card-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Featured Sidebar (Right side) */
.dt-featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dt-featured-sidebar-title {
    font-family: var(--dt-font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--dt-primary);
    display: inline-block;
}

.dt-card--compact {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--dt-border);
}

.dt-card--compact:last-child {
    border-bottom: none;
}

.dt-card--compact .dt-card-media {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.dt-card--compact .dt-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-card--compact .dt-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dt-card--compact .dt-card-title {
    font-family: var(--dt-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-card--compact .dt-card-meta {
    font-size: 0.75rem;
}

/* ========================================================================
   Section Titles - Electrek Style (Italic Serif)
   ======================================================================== */

.dt-section {
    margin-bottom: 40px;
}

.dt-section-title {
    font-family: var(--dt-font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--dt-primary);
    display: inline-block;
}

/* ========================================================================
   Article Cards - Latest Stream (Electrek Style)
   ======================================================================== */

.dt-posts-stream {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dt-article-row {
    padding: 24px 0;
    border-bottom: 1px solid var(--dt-border);
}

.dt-article-row:first-child {
    padding-top: 0;
}

/* Category Tags Row */
.dt-article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.dt-category-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--dt-text);
}

.dt-category-badge:hover {
    color: var(--dt-primary);
}

/* Article Title */
.dt-article-title {
    font-family: var(--dt-font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.35;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .dt-article-title {
        font-size: 1.75rem;
    }
}

.dt-article-title a {
    color: var(--dt-text);
}

.dt-article-title a:hover {
    color: var(--dt-primary);
}

/* Article Meta */
.dt-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--dt-muted);
    margin-bottom: 16px;
}

.dt-post-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dt-primary);
}

.dt-post-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.dt-post-meta-sep {
    color: var(--dt-border);
}

.dt-post-comments a {
    color: var(--dt-primary);
}

/* Article Image */
.dt-article-media {
    position: relative;
    margin-bottom: 16px;
    border-radius: 0;
    overflow: hidden;
}

.dt-article-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.dt-article-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

/* Article Excerpt */
.dt-article-excerpt {
    font-size: 1rem;
    color: var(--dt-text-light);
    line-height: 1.7;
}

.dt-article-excerpt p {
    margin: 0 0 1rem;
}

.dt-article-excerpt a {
    color: var(--dt-primary);
    text-decoration: underline;
}

/* ========================================================================
   Sidebar - Electrek Style
   ======================================================================== */

.dt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Widget Titles */
.dt-widget-title,
.widget-title {
    font-family: var(--dt-font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--dt-primary);
    display: inline-block;
    color: var(--dt-text);
}

/* Featured Widget (Dark Background) */
.dt-widget--featured {
    background: var(--dt-dark-bg);
    border-radius: 0;
    padding: 20px;
}

.dt-widget--featured .dt-widget-title {
    color: #fff;
}

.dt-widget--featured .dt-widget-list {
    margin: 0;
    padding: 0;
}

.dt-widget--featured .dt-widget-item {
    padding: 12px 0;
    border-bottom: 1px solid #444;
}

.dt-widget--featured .dt-widget-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dt-widget--featured .dt-widget-item:first-child {
    padding-top: 0;
}

.dt-widget--featured .dt-widget-item-link {
    display: flex;
    gap: 12px;
}

.dt-widget--featured .dt-widget-item-media {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.dt-widget--featured .dt-widget-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dt-widget--featured .dt-widget-item-content {
    flex: 1;
    min-width: 0;
}

.dt-widget--featured .dt-widget-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dt-widget--featured .dt-widget-item-title:hover {
    color: var(--dt-primary);
}

.dt-widget--featured .dt-widget-item-meta {
    font-size: 0.7rem;
    color: #999;
}

/* Poll Widget */
.dt-widget--poll {
    background: var(--dt-bg);
    border: 1px solid var(--dt-border);
    padding: 20px;
}

.dt-widget--poll .dt-widget-title {
    margin-bottom: 16px;
}

/* Regular Widgets */
.dt-widget {
    background: var(--dt-bg);
}

.dt-widget h3 {
    font-family: var(--dt-font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--dt-primary);
    display: inline-block;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--dt-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--dt-text);
}

.widget a:hover {
    color: var(--dt-primary);
}

/* Search Widget */
.widget_search .search-form,
.wp-block-search {
    display: flex;
}

.widget_search .search-field,
.wp-block-search__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--dt-border);
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    background: var(--dt-bg);
    color: var(--dt-text);
}

.widget_search .search-field:focus,
.wp-block-search__input:focus {
    outline: none;
    border-color: var(--dt-primary);
}

.widget_search .search-submit,
.wp-block-search__button {
    padding: 10px 16px;
    background: var(--dt-primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
}

/* ========================================================================
   Ad Slots
   ======================================================================== */

.dt-ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dt-surface);
    margin: 30px 0;
    min-height: 90px;
}

.dt-ad-placeholder {
    text-align: center;
    padding: 20px;
    color: var(--dt-muted);
    font-size: 0.85rem;
}

/* ========================================================================
   Footer
   ======================================================================== */

.dt-footer {
    background: var(--dt-dark-bg);
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.dt-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dt-footer-widgets {
    padding: 0;
}

.dt-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.dt-footer-widget-title {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--dt-primary);
}

.dt-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #333;
}

.dt-footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.dt-footer-copyright {
    font-size: 0.85rem;
    color: #888;
}

.dt-footer-menu {
    display: flex;
    gap: 20px;
}

.dt-footer-menu a {
    color: #888;
    font-size: 0.85rem;
}

.dt-footer-menu a:hover {
    color: var(--dt-primary);
}

/* ========================================================================
   Pagination
   ======================================================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--dt-border);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--dt-surface);
    color: var(--dt-text);
    border-radius: 4px;
    font-weight: 500;
}

.page-numbers:hover {
    background: var(--dt-primary);
    color: #fff;
}

.page-numbers.current {
    background: var(--dt-primary);
    color: #fff;
}

/* ========================================================================
   Single Post
   ======================================================================== */

.dt-article {
    max-width: 800px;
}

.dt-article-header {
    margin-bottom: 24px;
}

.dt-article-header .dt-article-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .dt-article-header .dt-article-title {
        font-size: 2.5rem;
    }
}

.dt-article-hero {
    margin-bottom: 24px;
}

.dt-article-hero img {
    width: 100%;
    height: auto;
}

.dt-article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.dt-article-body p {
    margin-bottom: 1.5rem;
}

.dt-article-body h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.dt-article-body h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.dt-article-body img {
    margin: 1.5rem 0;
}

.dt-article-body blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--dt-primary);
    background: var(--dt-surface);
    font-style: italic;
}

/* ========================================================================
   Comments
   ======================================================================== */

.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--dt-border);
}

.comments-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--dt-border);
}

.comment-body {
    display: flex;
    gap: 16px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-author .fn {
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--dt-muted);
}

.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--dt-border);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--dt-bg);
    color: var(--dt-text);
    margin-bottom: 16px;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    padding: 12px 24px;
    background: var(--dt-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.comment-form .submit:hover {
    background: var(--dt-primary-dark);
}

/* ========================================================================
   Reveal Ads
   ======================================================================== */

.dt-reveal-ad {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.dt-reveal-ad-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dt-surface);
    border: 2px solid var(--dt-border);
    border-radius: 50%;
    color: var(--dt-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.dt-reveal-ad-toggle:hover {
    background: var(--dt-primary);
    border-color: var(--dt-primary);
    color: #fff;
}

.dt-reveal-ad-toggle[aria-expanded="true"] {
    transform: rotate(45deg);
}

.dt-reveal-ad-content {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
}

.dt-reveal-ad-content:not([hidden]) {
    max-height: 400px;
    opacity: 1;
    margin-top: 16px;
}

/* ========================================================================
   Theme Toggle
   ======================================================================== */

.dt-theme-toggle {
    display: flex;
    align-items: center;
    background: var(--dt-surface);
    border-radius: 20px;
    padding: 3px;
}

.dt-theme-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: var(--dt-muted);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.dt-theme-toggle-btn:hover {
    color: var(--dt-text);
}

.dt-theme-toggle-btn.active {
    background: var(--dt-primary);
    color: #fff;
}

.dt-theme-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* ========================================================================
   Responsive
   ======================================================================== */

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .dt-container {
        padding: 0 24px;
    }
    
    .dt-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dt-layout-sidebar {
        display: block;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .dt-featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .dt-card--hero .dt-card-title {
        font-size: 1.5rem;
    }
    
    .dt-article-title {
        font-size: 1.5rem;
    }
    
    .dt-header-top {
        padding: 12px 16px;
    }
    
    .dt-menu li a {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Small Tablet / Large Mobile (640px - 767px) */
@media (min-width: 640px) and (max-width: 767px) {
    .dt-container {
        padding: 0 20px;
    }
    
    .dt-featured-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .dt-featured-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .dt-featured-sidebar-title {
        grid-column: 1 / -1;
    }
    
    .dt-card--compact {
        flex-direction: column;
    }
    
    .dt-card--compact .dt-card-media {
        width: 100%;
        height: 140px;
    }
    
    .dt-article-title {
        font-size: 1.35rem;
    }
    
    .dt-card--hero .dt-card-title {
        font-size: 1.35rem;
    }
}

/* Mobile (max-width: 639px) */
@media (max-width: 639px) {
    .dt-container {
        padding: 0 16px;
    }
    
    .dt-header-top {
        padding: 10px 12px;
    }
    
    .dt-logo-text {
        font-size: 1.5rem;
    }
    
    .dt-header-icons {
        gap: 2px;
    }
    
    .dt-header-icon {
        width: 32px;
        height: 32px;
    }
    
    .dt-theme-toggle-btn {
        width: 24px;
        height: 24px;
    }
    
    .dt-theme-toggle-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .dt-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .dt-featured-sidebar {
        margin-top: 20px;
    }
    
    .dt-card--hero .dt-card-title {
        font-size: 1.25rem;
    }
    
    .dt-article-title {
        font-size: 1.25rem;
    }
    
    .dt-article-categories {
        gap: 8px;
    }
    
    .dt-category-badge,
    .dt-card-category {
        font-size: 0.65rem;
    }
    
    .dt-section-title,
    .dt-featured-sidebar-title,
    .dt-widget-title {
        font-size: 1.25rem;
    }
    
    .dt-article-excerpt {
        font-size: 0.95rem;
    }
    
    .dt-card--compact {
        gap: 12px;
    }
    
    .dt-card--compact .dt-card-media {
        width: 100px;
        height: 70px;
    }
    
    .dt-card--compact .dt-card-title {
        font-size: 0.85rem;
    }
    
    .dt-network-dropdown {
        left: -60px;
        min-width: 260px;
    }
    
    .dt-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pagination,
    .nav-links {
        gap: 4px;
    }
    
    .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.9rem;
    }
}
