/*
Theme Name: CDL - Chinese Daily Life
Theme URI: https://chinesedailylife.com
Description: A fast, SEO-optimized video curation theme showcasing authentic Chinese daily life through YouTube videos. Built for Google ranking and AdSense monetization.
Version: 1.2.0
Author: CDL Team
License: GPL-2.0+
Text Domain: cdl-theme
*/

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
    --cdl-red: #C62828;
    --cdl-red-dark: #8E0000;
    --cdl-red-light: #FFEBEE;
    --cdl-bg: #FAFAFA;
    --cdl-dark: #1A1A1A;
    --cdl-text: #333333;
    --cdl-gray: #666666;
    --cdl-light-gray: #999999;
    --cdl-border: #E0E0E0;
    --cdl-white: #FFFFFF;
    --cdl-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --cdl-shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
    --cdl-radius: 8px;
    --cdl-radius-sm: 6px;
    --cdl-transition: all 0.2s ease;
    --cdl-max-width: 1280px;
    --cdl-sidebar-width: 320px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cdl-text);
    background: var(--cdl-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--cdl-red);
    text-decoration: none;
    transition: var(--cdl-transition);
}

a:hover { color: var(--cdl-red-dark); }

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

button, .btn {
    cursor: pointer;
    font-family: inherit;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: var(--cdl-dark);
    font-weight: 700;
}

/* =============================================
   Accessibility
   ============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--cdl-red);
    color: #fff;
    padding: 8px 16px;
    z-index: 9999;
}

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

/* =============================================
   Container
   ============================================= */
.container {
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   Header
   ============================================= */
.site-header {
    background: var(--cdl-white);
    border-bottom: 1px solid var(--cdl-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo {
    width: 36px;
    height: 36px;
    background: var(--cdl-red);
    border-radius: var(--cdl-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--cdl-dark);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.site-title:hover { color: var(--cdl-red); }

/* Header Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a {
    color: var(--cdl-gray);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: var(--cdl-transition);
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--cdl-dark);
    border-bottom-color: var(--cdl-red);
}

/* Search in header */
.header-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-search-form {
    display: flex;
    align-items: center;
}

.header-search-input {
    width: 180px;
    padding: 7px 12px;
    border: 1px solid var(--cdl-border);
    border-radius: 20px;
    font-size: 13px;
    outline: none;
    transition: var(--cdl-transition);
    background: var(--cdl-bg);
}

.header-search-input:focus {
    border-color: var(--cdl-red);
    width: 220px;
    background: #fff;
}

.header-search-btn {
    margin-left: -36px;
    background: none;
    border: none;
    color: var(--cdl-gray);
    font-size: 14px;
    padding: 6px;
    cursor: pointer;
}

.header-search-btn:hover { color: var(--cdl-red); }

/* Mobile nav toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cdl-dark);
    cursor: pointer;
    padding: 4px;
}

/* =============================================
   Breadcrumbs
   ============================================= */
.cdl-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 16px 0 8px;
    font-size: 13px;
    color: var(--cdl-light-gray);
}

.cdl-breadcrumb a {
    color: var(--cdl-gray);
    text-decoration: none;
}

.cdl-breadcrumb a:hover {
    color: var(--cdl-red);
    text-decoration: underline;
}

.cdl-breadcrumb .sep {
    color: var(--cdl-border);
    user-select: none;
}

.cdl-breadcrumb .current {
    color: var(--cdl-dark);
    font-weight: 600;
}

/* =============================================
   Video Grid
   ============================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Video Card */
.video-card {
    background: var(--cdl-white);
    border-radius: var(--cdl-radius);
    overflow: hidden;
    box-shadow: var(--cdl-shadow);
    transition: var(--cdl-transition);
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    box-shadow: var(--cdl-shadow-hover);
    transform: translateY(-3px);
}

.video-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background: #e8e8e8;
    overflow: hidden;
}

.video-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

.video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: var(--cdl-transition);
}

.video-card:hover .video-card-play { opacity: 1; }

.video-card-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}

.video-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-card-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--cdl-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.video-card-category:hover { text-decoration: underline; }

.video-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--cdl-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card-title a {
    color: inherit;
    text-decoration: none;
}

.video-card-title a:hover { color: var(--cdl-red); }

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--cdl-light-gray);
    margin-top: auto;
}

.video-card-excerpt {
    font-size: 13px;
    color: var(--cdl-gray);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   Homepage Hero
   ============================================= */
.cdl-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    text-align: center;
    padding: 48px 20px 40px;
}

.cdl-hero h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.cdl-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Category Navigation Bar
   ============================================= */
.cdl-cat-nav {
    background: var(--cdl-white);
    border-bottom: 1px solid var(--cdl-border);
    position: sticky;
    top: 60px;
    z-index: 999;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.cdl-cat-nav::-webkit-scrollbar { height: 0; }

.cdl-cat-nav-inner {
    display: flex;
    gap: 2px;
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cdl-cat-nav a {
    display: inline-block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cdl-gray);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: var(--cdl-transition);
}

.cdl-cat-nav a:hover,
.cdl-cat-nav a.active {
    color: var(--cdl-dark);
    border-bottom-color: var(--cdl-red);
}

/* =============================================
   Page Header
   ============================================= */
.page-header {
    background: var(--cdl-white);
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--cdl-border);
}

.page-header-inner {
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.page-header .tax-description {
    font-size: 14px;
    color: var(--cdl-light-gray);
}

/* =============================================
   Section Title
   ============================================= */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cdl-border);
}

.section-title h2 {
    font-size: 20px;
    font-weight: 700;
}

.section-title .view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--cdl-red);
    text-decoration: none;
}

.section-title .view-all:hover { text-decoration: underline; }

/* =============================================
   Main Content Area
   ============================================= */
.site-main {
    padding: 30px 0;
    min-height: 400px;
}

/* Two-column layout for archive/taxonomy pages */
.cdl-two-col {
    display: grid;
    grid-template-columns: 1fr var(--cdl-sidebar-width);
    gap: 30px;
    align-items: start;
}

/* =============================================
   Sidebar
   ============================================= */
.cdl-sidebar {
    position: sticky;
    top: 140px;
}

.cdl-sidebar-widget {
    background: var(--cdl-white);
    border-radius: var(--cdl-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--cdl-shadow);
}

.cdl-sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--cdl-border);
}

/* Sidebar video mini-cards */
.cdl-sidebar-video {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cdl-border);
}

.cdl-sidebar-video:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.cdl-sidebar-video-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    background: #e8e8e8;
}

.cdl-sidebar-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cdl-sidebar-video-info {
    flex: 1;
    min-width: 0;
}

.cdl-sidebar-video-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cdl-sidebar-video-title a {
    color: var(--cdl-dark);
    text-decoration: none;
}

.cdl-sidebar-video-title a:hover { color: var(--cdl-red); }

.cdl-sidebar-video-views {
    font-size: 11px;
    color: var(--cdl-light-gray);
    margin-top: 4px;
}

/* =============================================
   Single Video Page
   ============================================= */
.single-wrap {
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 1fr var(--cdl-sidebar-width);
    gap: 30px;
    align-items: start;
}

.single-content {
    background: var(--cdl-white);
    border-radius: var(--cdl-radius);
    overflow: hidden;
    box-shadow: var(--cdl-shadow);
}

.single-video-embed {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.single-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.single-body {
    padding: 24px;
}

.single-body h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: var(--cdl-light-gray);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cdl-border);
}

.single-meta .cat-link {
    font-weight: 600;
    color: var(--cdl-red);
}

.single-meta .cat-link:hover { text-decoration: underline; }

.single-content-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--cdl-text);
}

.single-content-text p { margin-bottom: 16px; }

.single-content-text h2 {
    font-size: 20px;
    margin: 24px 0 12px;
}

.single-content-text h3 {
    font-size: 17px;
    margin: 20px 0 10px;
}

/* Ad insert between content */
.cdl-ad-inline {
    margin: 24px 0;
    padding: 20px;
    background: var(--cdl-bg);
    border-radius: var(--cdl-radius);
    text-align: center;
    font-size: 12px;
    color: var(--cdl-light-gray);
}

/* Editorial Commentary */
.cdl-commentary {
    margin-top: 24px;
    padding: 20px 24px;
    background: #f9f9f9;
    border-left: 4px solid var(--cdl-red);
    border-radius: 0 8px 8px 0;
}

.cdl-commentary h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--cdl-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cdl-commentary p {
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Related / Recommended Section */
.cdl-related {
    margin-top: 30px;
}

/* =============================================
   Pagination
   ============================================= */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    padding-top: 20px;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--cdl-radius-sm);
    text-decoration: none;
    background: var(--cdl-white);
    color: var(--cdl-gray);
    border: 1px solid var(--cdl-border);
    transition: var(--cdl-transition);
}

.nav-links a:hover {
    background: var(--cdl-red-light);
    border-color: var(--cdl-red);
    color: var(--cdl-red);
}

.nav-links .current {
    background: var(--cdl-red);
    border-color: var(--cdl-red);
    color: #fff;
    font-weight: 600;
}

.nav-links .dots {
    border: none;
    background: none;
    color: var(--cdl-light-gray);
}

/* =============================================
   No Results / Empty State
   ============================================= */
.cdl-empty-state {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.cdl-empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cdl-empty-state h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cdl-empty-state p {
    font-size: 15px;
    color: var(--cdl-gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.cdl-empty-state .btn-home {
    display: inline-block;
    padding: 11px 28px;
    background: var(--cdl-red);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--cdl-radius-sm);
    text-decoration: none;
    transition: var(--cdl-transition);
}

.cdl-empty-state .btn-home:hover {
    background: var(--cdl-red-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* =============================================
   Footer
   ============================================= */
.site-footer {
    background: var(--cdl-dark);
    color: rgba(255,255,255,0.6);
    padding: 40px 0 24px;
    margin-top: 60px;
}

.footer-inner {
    max-width: var(--cdl-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding: 3px 0;
    transition: var(--cdl-transition);
}

.footer-col a:hover { color: #fff; }

.footer-disclaimer {
    max-width: var(--cdl-max-width);
    margin: 24px auto 0;
    padding: 16px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
}

.footer-disclaimer h4 {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-disclaimer a {
    color: rgba(255,255,255,0.6);
    text-decoration: underline;
}

.footer-disclaimer a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: var(--cdl-max-width);
    margin: 24px auto 0;
    padding: 16px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    text-align: center;
    color: rgba(255,255,255,0.3);
}

/* =============================================
   AdSense Placeholder
   ============================================= */
.cdl-ad-unit {
    background: #f0f0f0;
    border: 1px dashed #ccc;
    border-radius: var(--cdl-radius);
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #999;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   Search Page
   ============================================= */
.search-page-header {
    text-align: center;
    padding: 30px 0 20px;
}

.search-page-header h1 {
    font-size: 22px;
    margin-bottom: 6px;
}

.search-page-header .search-query {
    color: var(--cdl-red);
}

.search-form-inline {
    display: flex;
    max-width: 400px;
    margin: 16px auto 0;
}

.search-form-inline input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--cdl-border);
    border-right: none;
    border-radius: var(--cdl-radius-sm) 0 0 var(--cdl-radius-sm);
    font-size: 14px;
    outline: none;
}

.search-form-inline input:focus { border-color: var(--cdl-red); }

.search-form-inline button {
    padding: 10px 20px;
    background: var(--cdl-red);
    color: #fff;
    border: none;
    border-radius: 0 var(--cdl-radius-sm) var(--cdl-radius-sm) 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.search-form-inline button:hover { background: var(--cdl-red-dark); }

/* =============================================
   404 Page
   ============================================= */
.page-404 {
    text-align: center;
    padding: 80px 20px;
}

.page-404 h1 {
    font-size: 72px;
    font-weight: 800;
    color: var(--cdl-red);
    line-height: 1;
    margin-bottom: 10px;
}

.page-404 h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.page-404 p {
    color: var(--cdl-gray);
    margin-bottom: 24px;
}

/* =============================================
   Loading Spinner
   ============================================= */
@keyframes cdl-spin {
    to { transform: rotate(360deg); }
}

.cdl-loader {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid var(--cdl-border);
    border-top-color: var(--cdl-red);
    border-radius: 50%;
    animation: cdl-spin 0.6s linear infinite;
}

/* =============================================
   Back to Top Button
   ============================================= */
#cdl-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--cdl-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

#cdl-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

#cdl-back-to-top:hover {
    background: var(--cdl-red-dark);
    transform: translateY(-2px);
}

#cdl-back-to-top.visible:hover {
    transform: translateY(-2px);
}

/* =============================================
   Utility
   ============================================= */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none !important; }

/* =============================================
   Responsive: Tablet (< 1024px)
   ============================================= */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cdl-two-col,
    .single-wrap {
        grid-template-columns: 1fr;
    }

    .cdl-sidebar {
        position: static;
    }

    .cdl-hero h1 { font-size: 26px; }
    .cdl-hero p { font-size: 14px; }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* =============================================
   Responsive: Mobile (< 768px)
   ============================================= */
@media (max-width: 768px) {
    .header-inner { height: 52px; }

    .header-search { display: none; }

    .main-navigation {
        display: none;
        position: absolute;
        top: 52px;
        left: 0;
        right: 0;
        background: var(--cdl-white);
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .main-navigation.open { display: flex; }

    .mobile-nav-toggle { display: block; }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cdl-cat-nav { top: 52px; }

    .site-title { font-size: 17px; }

    .cdl-hero {
        padding: 32px 16px 28px;
    }

    .cdl-hero h1 { font-size: 22px; }

    .section-title h2 { font-size: 17px; }

    .single-body h1 { font-size: 20px; }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .cdl-empty-state {
        padding: 50px 16px;
    }

    .cdl-empty-state h2 { font-size: 20px; }
}

/* =============================================
   Print
   ============================================= */
@media print {
    .site-header, .site-footer, .cdl-cat-nav, .cdl-sidebar,
    .cdl-ad-inline, .cdl-ad-unit { display: none; }
    body { font-size: 14px; }
    .single-wrap { grid-template-columns: 1fr; }
    .single-content { box-shadow: none; border: 1px solid #ddd; }
}
