/**
 * WP Daily Jharkhand - Custom Newspaper CSS
 *
 * @package WP_Daily_Jharkhand
 */

/* ===================================================================
   1. GLOBAL & TYPOGRAPHY
   =================================================================== */

body.wpdj-newspaper {
    font-family: 'Roboto', 'Noto Sans Devanagari', system-ui, -apple-system, sans-serif;
    background-color: var(--background);
    color: var(--text-1);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wpdj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

/* ===================================================================
   2. NAVIGATION OVERRIDE (GeneratePress)
   =================================================================== */

.main-navigation {
    background-color: var(--nav-bg) !important;
}

.main-navigation .inside-navigation {
    background-color: var(--nav-bg);
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle {
    color: var(--nav-text) !important;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
    color: var(--color-background-hover) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
}

/* Navigation branding logo */
.navigation-branding img,
.site-logo.mobile-header-logo img {
    height: 50px;
    width: auto;
}

.navigation-branding .main-title {
    color: var(--nav-text) !important;
    font-weight: 700;
    font-size: 22px;
}

/* Search icon in nav */
.main-navigation .menu-bar-items .menu-bar-item > a {
    color: var(--nav-text) !important;
}

.main-navigation .menu-bar-items .menu-bar-item > a:hover {
    color: var(--color-background-hover) !important;
}

/* Dropdown sub-menu */
.main-navigation ul ul {
    background-color: var(--nav-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.main-navigation .main-nav ul ul li a {
    color: #d1d5db !important;
    font-size: 14px;
}

.main-navigation .main-nav ul ul li a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Sticky nav */
.main-navigation.navigation-stick {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ===================================================================
   3. HEADER OVERRIDE
   =================================================================== */

.site-header {
    background-color: var(--background-1) !important;
    border-bottom: 1px solid var(--border-color);
}

/* Hide default GP header when nav has branding */
body.nav-below-header .site-header:not(.has-header-widget) .inside-header {
    padding-top: 0;
    padding-bottom: 0;
}

/* ===================================================================
   4. HOMEPAGE LAYOUT
   =================================================================== */

.wpdj-homepage {
    padding: 0 0 40px;
}

.wpdj-homepage-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* Hide default GP content area on front page */
body.wpdj-front-page .site-content,
body.wpdj-front-page #primary,
body.wpdj-front-page .site > .site-content {
    padding: 0;
    margin: 0;
}

body.wpdj-front-page .site {
    max-width: 100%;
}

body.wpdj-front-page #page {
    max-width: 100%;
}

body.wpdj-front-page .grid-container {
    max-width: 1200px;
}

/* ===================================================================
   5. BREAKING NEWS TICKER
   =================================================================== */

.wpdj-breaking-bar {
    width: 100%;
    background: var(--ticker-bg);
    color: var(--ticker-text);
    font-size: 14px;
    overflow: hidden;
    margin: 15px 0;
    border-radius: var(--radius-sm);
    transition: margin var(--transition-fast), opacity var(--transition-fast);
}

.wpdj-breaking-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
}

.wpdj-breaking-label {
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.wpdj-breaking-label svg {
    width: 14px;
    height: 14px;
}

.wpdj-breaking-ticker {
    overflow: hidden;
    flex: 1 1 auto;
}

.wpdj-breaking-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: wpdj-ticker-scroll 60s linear infinite;
}

.wpdj-breaking-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
}

.wpdj-breaking-arrow {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #ffeb3b;
    margin-right: 10px;
    flex-shrink: 0;
}

.wpdj-breaking-link {
    color: var(--ticker-text) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.wpdj-breaking-link:hover {
    text-decoration: underline;
}

.wpdj-breaking-ticker:hover .wpdj-breaking-track {
    animation-play-state: paused;
}

.wpdj-breaking-close {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--ticker-text);
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0 6px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    flex-shrink: 0;
}

.wpdj-breaking-close:hover {
    opacity: 1;
}

@keyframes wpdj-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================================================
   6. SECTION HEADERS
   =================================================================== */

.wpdj-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--section-header-accent);
    position: relative;
}

.wpdj-section-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: -1;
}

.wpdj-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.wpdj-section-icon {
    display: inline-flex;
    align-items: center;
    color: var(--section-header-accent);
}

.wpdj-section-icon svg {
    width: 20px;
    height: 20px;
}

.wpdj-see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color) !important;
    white-space: nowrap;
    transition: gap var(--transition-fast);
}

.wpdj-see-all:hover {
    gap: 8px;
    color: var(--accent-hover) !important;
}

.wpdj-see-all-icon svg {
    width: 10px;
    height: 10px;
}

/* ===================================================================
   7. HERO SECTION
   =================================================================== */

.wpdj-hero-section {
    margin-bottom: 35px;
}

.wpdj-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

/* Main hero post */
.wpdj-hero-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.wpdj-hero-main-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none !important;
}

.wpdj-hero-main-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
    transition: background var(--transition-smooth);
}

.wpdj-hero-main-link:hover::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.wpdj-hero-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
}

.wpdj-hero-main-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wpdj-hero-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.wpdj-icon-clock {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

.wpdj-icon-clock svg {
    width: 13px;
    height: 13px;
}

.wpdj-hero-main-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Category badge */
.wpdj-category-badge {
    display: inline-block;
    background: var(--color-background-hover);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    transition: background-color var(--transition-fast);
}

.wpdj-category-badge:hover {
    background: var(--accent-color);
}

/* Side posts */
.wpdj-hero-sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpdj-hero-side-item {
    display: flex;
    gap: 15px;
    background: var(--background-1);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.wpdj-hero-side-item:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.wpdj-hero-side-thumb {
    flex-shrink: 0;
    width: 140px;
    overflow: hidden;
}

.wpdj-hero-side-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.wpdj-hero-side-item:hover .wpdj-hero-side-thumb img {
    transform: scale(1.08);
}

.wpdj-hero-side-content {
    flex: 1;
    padding: 12px 15px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wpdj-hero-side-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.wpdj-hero-side-title a {
    color: var(--text-1) !important;
}

.wpdj-hero-side-title a:hover {
    color: var(--accent-color) !important;
}

.wpdj-hero-side-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-2);
}

.wpdj-hero-side-meta svg {
    width: 12px;
    height: 12px;
}

/* ===================================================================
   8. CATEGORY SECTIONS
   =================================================================== */

.wpdj-category-section {
    margin-bottom: 35px;
    background: var(--background-1);
    border-radius: var(--radius-md);
    padding: 25px;
    box-shadow: var(--card-shadow);
}

.wpdj-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Featured post in category */
.wpdj-cat-featured {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.wpdj-cat-featured-thumb {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

.wpdj-cat-featured-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.wpdj-cat-featured:hover .wpdj-cat-featured-thumb img {
    transform: scale(1.05);
}

.wpdj-cat-featured-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}

.wpdj-cat-featured-title a {
    color: var(--text-1) !important;
}

.wpdj-cat-featured-title a:hover {
    color: var(--accent-color) !important;
}

.wpdj-cat-featured-meta {
    font-size: 13px;
    color: var(--text-2);
}

/* Post list in category */
.wpdj-cat-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpdj-cat-list-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition-fast);
}

.wpdj-cat-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wpdj-cat-list-item:hover {
    transform: translateX(3px);
}

.wpdj-cat-list-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.wpdj-cat-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.wpdj-cat-list-item:hover .wpdj-cat-list-thumb img {
    transform: scale(1.08);
}

.wpdj-cat-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wpdj-cat-list-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 5px;
}

.wpdj-cat-list-title a {
    color: var(--text-1) !important;
}

.wpdj-cat-list-title a:hover {
    color: var(--accent-color) !important;
}

.wpdj-cat-list-meta {
    font-size: 12px;
    color: var(--text-2);
}

/* ===================================================================
   9. SIDEBAR
   =================================================================== */

.wpdj-sidebar {
    position: sticky;
    top: 80px;
}

.wpdj-sidebar-widget {
    background: var(--background-1);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--card-shadow);
}

.wpdj-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--section-header-accent);
    position: relative;
}

/* Social Follow Buttons */
.wpdj-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpdj-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wpdj-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wpdj-social-icon {
    display: inline-flex;
    width: 20px;
    justify-content: center;
}

.wpdj-social-icon svg {
    width: 18px;
    height: 18px;
}

.wpdj-social-name {
    flex: 1;
}

.wpdj-social-action {
    font-size: 12px;
    opacity: 0.85;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.wpdj-social-facebook { background: #1877f2; }
.wpdj-social-twitter { background: #0f1419; }
.wpdj-social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.wpdj-social-youtube { background: #ff0000; }

/* Recent Posts Widget */
.wpdj-recent-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.wpdj-recent-post-item:first-child {
    padding-top: 0;
}

.wpdj-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wpdj-recent-post-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--section-header-accent);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.wpdj-recent-post-content {
    flex: 1;
}

.wpdj-recent-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.wpdj-recent-post-title a {
    color: var(--text-1) !important;
}

.wpdj-recent-post-title a:hover {
    color: var(--accent-color) !important;
}

.wpdj-recent-post-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-2);
}

.wpdj-recent-post-meta svg {
    width: 12px;
    height: 12px;
}

/* ===================================================================
   10. FOOTER
   =================================================================== */

.wpdj-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 40px;
}

.wpdj-footer-widgets {
    padding: 50px 0 30px;
}

.wpdj-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
}

.wpdj-footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-background-hover);
    position: relative;
}

.wpdj-footer-about {
    font-size: 14px;
    line-height: 1.7;
    color: var(--footer-text);
    margin-bottom: 20px;
}

/* Footer social icons */
.wpdj-footer-social {
    display: flex;
    gap: 10px;
}

.wpdj-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: #d1d5db !important;
    border-radius: 50%;
    transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.wpdj-footer-social-link svg {
    width: 16px;
    height: 16px;
}

.wpdj-footer-social-link:hover {
    background: var(--color-background-hover);
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Footer menu */
.wpdj-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpdj-footer-menu li {
    margin-bottom: 10px;
}

.wpdj-footer-menu li a {
    color: #d1d5db !important;
    font-size: 14px;
    padding-left: 0;
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.wpdj-footer-menu li a:hover {
    color: #ffffff !important;
    padding-left: 6px;
}

.wpdj-footer-menu li a::before {
    content: '›';
    margin-right: 8px;
    color: var(--color-background-hover);
    font-weight: 700;
}

/* Footer recent posts */
.wpdj-footer-post {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wpdj-footer-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.wpdj-footer-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.wpdj-footer-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wpdj-footer-post-content {
    flex: 1;
}

.wpdj-footer-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px;
}

.wpdj-footer-post-title a {
    color: #d1d5db !important;
}

.wpdj-footer-post-title a:hover {
    color: #ffffff !important;
}

.wpdj-footer-post-date {
    font-size: 12px;
    color: var(--text-2);
}

/* Copyright bar */
.wpdj-copyright-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wpdj-copyright-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.wpdj-copyright-text {
    font-size: 13px;
    color: var(--footer-text);
}

.wpdj-copyright-links {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.wpdj-copyright-links a {
    color: #d1d5db !important;
    transition: color var(--transition-fast);
}

.wpdj-copyright-links a:hover {
    color: #ffffff !important;
}

.wpdj-sep {
    color: rgba(255, 255, 255, 0.2);
}

/* ===================================================================
   11. BACK TO TOP BUTTON
   =================================================================== */

.generate-back-to-top {
    background: var(--section-header-accent) !important;
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.generate-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    background: var(--accent-hover) !important;
}

/* ===================================================================
   12. GP CONTENT AREA TWEAKS (Blog/Archive/Single)
   =================================================================== */

.separate-containers .inside-article {
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.separate-containers .site-main > .post:not(:last-child) {
    margin-bottom: 25px;
}

.entry-header .entry-title a {
    color: var(--text-1) !important;
    font-weight: 700;
}

.entry-header .entry-title a:hover {
    color: var(--accent-color) !important;
}

.entry-meta {
    font-size: 13px;
}

/* Post images */
.post-image img {
    border-radius: var(--radius-md);
}

/* Widget styling for archive/single */
.widget {
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
}

.sidebar .widget-title {
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--section-header-accent);
    margin-bottom: 15px;
}

/* ===================================================================
   13. SEARCH MODAL OVERRIDE
   =================================================================== */

.gp-modal .gp-modal-content {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===================================================================
   14. RESPONSIVE DESIGN
   =================================================================== */

@media (max-width: 1024px) {
    .wpdj-homepage-layout {
        grid-template-columns: 1fr;
    }

    .wpdj-sidebar {
        position: static;
    }

    .wpdj-hero-grid {
        grid-template-columns: 1fr;
    }

    .wpdj-hero-main-link {
        min-height: 300px;
    }

    .wpdj-hero-sidebar-posts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .wpdj-hero-side-item {
        flex-direction: column;
    }

    .wpdj-hero-side-thumb {
        width: 100%;
        height: 140px;
    }

    .wpdj-hero-side-content {
        padding: 10px;
    }

    .wpdj-category-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .wpdj-container {
        padding: 0 12px;
    }

    .wpdj-hero-main-link {
        min-height: 240px;
    }

    .wpdj-hero-main-title {
        font-size: 20px;
    }

    .wpdj-hero-sidebar-posts {
        grid-template-columns: 1fr;
    }

    .wpdj-hero-side-item {
        flex-direction: row;
    }

    .wpdj-hero-side-thumb {
        width: 120px;
        height: auto;
    }

    .wpdj-category-section {
        padding: 18px;
    }

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

    .wpdj-breaking-label {
        display: none;
    }

    .wpdj-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wpdj-copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile sidebar */
    .wpdj-social-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .wpdj-social-btn {
        padding: 8px 10px;
        font-size: 13px;
    }

    .wpdj-social-action {
        display: none;
    }
}

@media (max-width: 480px) {
    .wpdj-hero-main-link {
        min-height: 200px;
    }

    .wpdj-hero-main-title {
        font-size: 18px;
    }

    .wpdj-hero-main-overlay {
        padding: 20px 15px;
    }

    .wpdj-cat-list-thumb {
        width: 90px;
        height: 65px;
    }

    .wpdj-cat-featured-thumb img {
        height: 180px;
    }

    .wpdj-social-buttons {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   15. ANIMATIONS & MICRO-INTERACTIONS
   =================================================================== */

@media (prefers-reduced-motion: no-preference) {
    .wpdj-hero-side-item,
    .wpdj-cat-list-item,
    .wpdj-category-section,
    .wpdj-sidebar-widget,
    .wpdj-social-btn {
        animation: wpdj-fadeInUp 0.5s ease both;
    }

    .wpdj-hero-section {
        animation: wpdj-fadeIn 0.6s ease both;
    }

    @keyframes wpdj-fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes wpdj-fadeInUp {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===================================================================
   16. PRINT STYLES
   =================================================================== */

@media print {
    .wpdj-breaking-bar,
    .wpdj-social-sidebar,
    .wpdj-footer,
    .main-navigation,
    .generate-back-to-top {
        display: none !important;
    }

    .wpdj-homepage-layout {
        display: block;
    }

    .wpdj-category-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
