/*
 Theme Name:   Daily Jharkhand
 Theme URI:    https://dailyjharkhand.com
 Description:  A modern Hindi news theme for Daily Jharkhand, child of GeneratePress.
 Author:       Daily Jharkhand
 Author URI:   https://dailyjharkhand.com
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dailyjharkhand
 Tags:         news, hindi, rtl-language-support, custom-menu, custom-logo, featured-images
*/

/* =========================================================
   CSS VARIABLES
   ========================================================= */
:root {
    --red: #e2001a;
    --red-dark: #c5000f;
    --red-light: #ff1a34;
    --dark: #1a1a1a;
    --dark-2: #2d2d2d;
    --gray-bg: #f5f5f5;
    --white: #ffffff;
    --text-dark: #222222;
    --text-body: #444444;
    --text-light: #888888;
    --border: #e5e5e5;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
    --radius: 6px;
    --fast: 0.2s ease;
    --smooth: 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Noto Sans Devanagari', 'Roboto', system-ui, sans-serif;
    background: var(--gray-bg);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; color: inherit; transition: color var(--fast); }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }

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

/* Hide GP default elements */
.site-header, .main-navigation, .site-footer,
#page > .site-header, #page > .site-footer { display: none !important; }
.site-content { padding: 0 !important; margin: 0 !important; }
.inside-article { padding: 0 !important; }
.entry-content { margin: 0 !important; }
#page { max-width: 100% !important; }
.site { max-width: 100% !important; }
.grid-container { max-width: 100% !important; padding: 0 !important; }

/* =========================================================
   1. TOP BAR
   ========================================================= */
.dj-top-bar {
    background: var(--dark);
    color: #ccc;
    font-size: 12px;
    padding: 6px 0;
}

.dj-top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dj-top-bar-date { color: #fff; font-weight: 500; }

.dj-top-bar-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dj-top-bar-links a {
    color: #ccc;
    padding: 2px 8px;
    border-right: 1px solid #555;
    font-size: 12px;
}

.dj-top-bar-links a:last-child { border-right: none; }
.dj-top-bar-links a:hover { color: #fff; }

.dj-top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-top-bar-social {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}

.dj-top-bar-social a {
    color: #ccc;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--fast);
}

.dj-top-bar-social a:hover { color: #fff; }
.dj-top-bar-social a.fb:hover { background: #1877f2; }
.dj-top-bar-social a.tw:hover { background: #000; }
.dj-top-bar-social a.ig:hover { background: #e4405f; }
.dj-top-bar-social a.yt:hover { background: #ff0000; }
.dj-top-bar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* =========================================================
   2. HEADER
   ========================================================= */
.dj-header {
    background: var(--white);
    padding: 0;
    border-bottom: 3px solid var(--red);
}

.dj-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
}

.dj-logo-area {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.dj-logo-area img {
    max-height: 70px;
    width: auto;
}

.dj-logo-map {
    width: 70px;
    height: 70px;
    position: relative;
}

.dj-logo-map svg { width: 100%; height: 100%; }

.dj-logo-text {
    display: flex;
    flex-direction: column;
}

.dj-logo-tagline {
    font-size: 11px;
    color: var(--red);
    font-weight: 600;
    letter-spacing: 0.5px;
    border-top: 2px solid var(--red);
    padding-top: 2px;
    margin-top: 2px;
}

.dj-header-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.dj-header-nav a,
.dj-header-nav .menu-item a {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 4px;
    transition: all var(--fast);
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.dj-header-nav a:hover,
.dj-header-nav .menu-item a:hover { color: var(--red); background: rgba(226,0,26,0.08); }

.dj-header-nav .menu-item { list-style: none; }
.dj-header-nav .sub-menu { display: none; }

.dj-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dj-search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all var(--fast);
    background: var(--red);
    box-shadow: 0 2px 8px rgba(226,0,26,0.3);
}

.dj-search-toggle:hover { background: var(--red-dark); transform: scale(1.08); }
.dj-search-toggle svg { width: 18px; height: 18px; fill: currentColor; }

/* =========================================================
   3. BREAKING NEWS TICKER
   ========================================================= */
.dj-breaking-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.dj-breaking-inner {
    display: flex;
    align-items: center;
    height: 40px;
}

.dj-breaking-label {
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.dj-breaking-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 12px solid var(--red);
}

.dj-ticker-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin-left: 15px;
}

.dj-ticker-content {
    display: flex;
    animation: dj-ticker 30s linear infinite;
    white-space: nowrap;
    gap: 60px;
}

.dj-ticker-content a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.dj-ticker-content a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dj-ticker-content a:hover { color: var(--red); }

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

/* =========================================================
   4. MAIN LAYOUT
   ========================================================= */
.dj-main-area { padding: 20px 0; }

.dj-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
}

/* =========================================================
   5. HERO SLIDER
   ========================================================= */
.dj-hero-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #111;
}

.dj-slider-slide {
    position: relative;
    width: 100%;
    height: 440px;
}

.dj-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dj-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 35%, rgba(0,0,0,0.1) 65%, transparent 100%);
}

.dj-slider-cat {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
}

.dj-cat-badge {
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 3px;
    display: inline-block;
}

.dj-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px;
    z-index: 2;
}

.dj-slider-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.dj-slider-title a { color: #fff; }
.dj-slider-title a:hover { color: rgba(255,255,255,0.9); }

.dj-slider-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 12px;
}

.dj-slider-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.dj-slider-meta svg { width: 14px; height: 14px; fill: currentColor; margin-right: 4px; vertical-align: middle; }

.dj-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--fast);
}

.dj-slider-arrow:hover { background: rgba(255,255,255,0.35); }
.dj-slider-arrow.prev { left: 12px; }
.dj-slider-arrow.next { right: 12px; }

/* =========================================================
   6. SIDEBAR - à¤®à¥à¤–à¥à¤¯ à¤¸à¤®à¤¾à¤šà¤¾à¤°
   ========================================================= */
.dj-sidebar-main {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dj-sidebar-header {
    padding: 14px 18px;
    border-bottom: 3px solid var(--red);
    background: var(--white);
}

.dj-sidebar-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.dj-sidebar-posts { padding: 0; }

.dj-sidebar-post {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background var(--fast);
}

.dj-sidebar-post:last-child { border-bottom: none; }
.dj-sidebar-post:hover { background: #fafafa; }

.dj-sidebar-post-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

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

.dj-sidebar-post-thumb .dj-placeholder {
    width: 100%;
    height: 100%;
}

.dj-sidebar-post-content { flex: 1; }

.dj-sidebar-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dj-sidebar-post:hover .dj-sidebar-post-title,
.dj-sidebar-post-title a:hover { color: var(--red); }

.dj-post-time {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dj-post-time svg { width: 12px; height: 12px; fill: currentColor; }

/* =========================================================
   7. CATEGORY SECTIONS WITH SIDEBAR
   ========================================================= */
.dj-category-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    margin-top: 25px;
    align-items: start;
}

.dj-categories-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dj-sticky-sidebar {
    position: sticky;
    top: 20px;
}

/* Recent Posts Widget */
.dj-recent-posts-widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dj-widget-header {
    padding: 14px 18px;
    border-bottom: 3px solid var(--red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-widget-header svg {
    width: 24px;
    height: 24px;
    fill: var(--red);
}

.dj-widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.dj-recent-post-item {
    display: flex;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    transition: all var(--fast);
    cursor: pointer;
}

.dj-recent-post-item:last-child { border-bottom: none; }
.dj-recent-post-item:hover { background: #fafafa; }

.dj-recent-post-num {
    width: 28px;
    height: 28px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.dj-recent-post-num.alt { background: var(--dark); }

.dj-recent-post-info { flex: 1; }

.dj-recent-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.dj-recent-post-item:hover .dj-recent-post-title { color: var(--red); }

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

.dj-recent-post-meta svg { width: 11px; height: 11px; fill: currentColor; }

/* =========================================================
   CATEGORY SECTION GENERAL
   ========================================================= */
.dj-cat-section {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dj-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--red);
}

.dj-cat-header-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-cat-header-icon svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.dj-cat-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.dj-cat-see-all {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
}

.dj-cat-see-all:hover { opacity: 1; color: #fff; text-decoration: underline; }
.dj-cat-see-all svg { width: 12px; height: 12px; fill: currentColor; }

/* =========================================================
   LAYOUT A: Featured Left + List Right
   ========================================================= */
.dj-layout-a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.dj-layout-a-featured {
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
}

.dj-layout-a-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 340px;
}

.dj-layout-a-featured .dj-placeholder {
    height: 100%;
    min-height: 340px;
}

.dj-layout-a-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

.dj-layout-a-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.dj-layout-a-featured-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 8px;
}

.dj-layout-a-featured-title a { color: #fff; }

.dj-layout-a-featured-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 8px;
}

.dj-layout-a-featured-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    gap: 4px;
}

.dj-layout-a-featured-meta svg { width: 12px; height: 12px; fill: currentColor; }

.dj-layout-a-list {
    display: flex;
    flex-direction: column;
}

.dj-layout-a-item {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: background var(--fast);
}

.dj-layout-a-item:last-child { border-bottom: none; }
.dj-layout-a-item:hover { background: #fafafa; }

.dj-layout-a-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
}

.dj-layout-a-thumb img,
.dj-layout-a-thumb .dj-placeholder { width: 100%; height: 100%; object-fit: cover; }

.dj-layout-a-content { flex: 1; }

.dj-layout-a-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.dj-layout-a-item:hover .dj-layout-a-title { color: var(--red); }

/* =========================================================
   LAYOUT B: 3-Column Grid
   ========================================================= */
.dj-layout-b {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 18px;
}

.dj-layout-b-card { transition: transform var(--smooth); }
.dj-layout-b-card:hover { transform: translateY(-3px); }

.dj-layout-b-thumb {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 140px;
    position: relative;
}

.dj-layout-b-thumb img,
.dj-layout-b-thumb .dj-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform var(--smooth); }

.dj-layout-b-card:hover .dj-layout-b-thumb img,
.dj-layout-b-card:hover .dj-layout-b-thumb .dj-placeholder { transform: scale(1.05); }

.dj-layout-b-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dj-layout-b-card:hover .dj-layout-b-title,
.dj-layout-b-title a:hover { color: var(--red); }

/* =========================================================
   LAYOUT C: Horizontal List
   ========================================================= */
.dj-layout-c { padding: 18px; }

.dj-layout-c-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: all var(--fast);
}

.dj-layout-c-item:last-child { border-bottom: none; }
.dj-layout-c-item:hover { padding-left: 5px; }

.dj-layout-c-thumb {
    flex-shrink: 0;
    width: 130px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
}

.dj-layout-c-thumb img,
.dj-layout-c-thumb .dj-placeholder { width: 100%; height: 100%; object-fit: cover; }

.dj-layout-c-content { flex: 1; }

.dj-layout-c-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dj-layout-c-item:hover .dj-layout-c-title,
.dj-layout-c-title a:hover { color: var(--red); }

.dj-layout-c-desc {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
   LAYOUT D: 4-Column Card Grid
   ========================================================= */
.dj-layout-d {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 18px;
}

.dj-layout-d-card { transition: transform var(--smooth); }
.dj-layout-d-card:hover { transform: translateY(-3px); }

.dj-layout-d-thumb {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
    height: 110px;
}

.dj-layout-d-thumb img,
.dj-layout-d-thumb .dj-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--smooth);
}

.dj-layout-d-card:hover .dj-layout-d-thumb img,
.dj-layout-d-card:hover .dj-layout-d-thumb .dj-placeholder { transform: scale(1.06); }

.dj-layout-d-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dj-layout-d-card:hover .dj-layout-d-title,
.dj-layout-d-title a:hover { color: var(--red); }

/* =========================================================
   LAYOUT E: Featured + Side List
   ========================================================= */
.dj-layout-e {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px;
}

.dj-layout-e-big {
    grid-row: span 2;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.dj-layout-e-big img,
.dj-layout-e-big .dj-placeholder { height: 100%; min-height: 280px; width: 100%; object-fit: cover; }

.dj-layout-e-big-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.dj-layout-e-big-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.dj-layout-e-big-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 6px;
}

.dj-layout-e-big-title a { color: #fff; }

.dj-layout-e-big-time {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.dj-layout-e-small {
    display: flex;
    gap: 12px;
    transition: transform var(--fast);
}

.dj-layout-e-small:hover { transform: translateX(3px); }

.dj-layout-e-sm-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.dj-layout-e-sm-thumb img,
.dj-layout-e-sm-thumb .dj-placeholder { width: 100%; height: 100%; object-fit: cover; }

.dj-layout-e-sm-content { flex: 1; }

.dj-layout-e-sm-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.dj-layout-e-small:hover .dj-layout-e-sm-title,
.dj-layout-e-sm-title a:hover { color: var(--red); }

/* =========================================================
   LAYOUT F: 2x2 Card Grid
   ========================================================= */
.dj-layout-f {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px;
}

.dj-layout-f-card {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--smooth);
}

.dj-layout-f-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.dj-layout-f-thumb { height: 150px; overflow: hidden; }

.dj-layout-f-thumb img,
.dj-layout-f-thumb .dj-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--smooth);
}

.dj-layout-f-card:hover .dj-layout-f-thumb img,
.dj-layout-f-card:hover .dj-layout-f-thumb .dj-placeholder { transform: scale(1.05); }

.dj-layout-f-body { padding: 14px; }

.dj-layout-f-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.dj-layout-f-card:hover .dj-layout-f-title,
.dj-layout-f-title a:hover { color: var(--red); }

/* =========================================================
   PLACEHOLDERS (for posts without images)
   ========================================================= */
.dj-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 600;
    background: linear-gradient(135deg, #333, #222, #444);
}

/* =========================================================
   8. FOOTER
   ========================================================= */
.dj-footer {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
    color: #c0c0c0;
    padding: 0;
    margin-top: 30px;
}

.dj-footer-top {
    background: var(--red);
    padding: 18px 0;
}

.dj-footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dj-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dj-footer-brand-logo {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--red);
    font-size: 14px;
}

.dj-footer-brand-text {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.dj-footer-top-social {
    display: flex;
    gap: 10px;
}

.dj-footer-top-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--fast);
}

.dj-footer-top-social a:hover {
    background: #fff;
    color: var(--red);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.dj-footer-top-social svg { width: 16px; height: 16px; fill: currentColor; }

.dj-footer-main {
    padding: 40px 0 30px;
}

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

.dj-footer-widget-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
}

.dj-footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.dj-footer-about {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
    color: #aaa;
}

.dj-footer-links li {
    margin-bottom: 10px;
}

.dj-footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: all var(--fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dj-footer-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dj-footer-links a:hover { color: #fff; padding-left: 6px; }

.dj-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #aaa;
}

.dj-footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(226,0,26,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dj-footer-contact-icon svg { width: 14px; height: 14px; fill: var(--red); }

.dj-footer-contact-text {
    display: flex;
    flex-direction: column;
}

.dj-footer-contact-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.dj-copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.dj-copyright-links {
    display: flex;
    gap: 20px;
}

.dj-copyright-links a {
    color: #666;
    font-size: 13px;
    transition: color var(--fast);
}

.dj-copyright-links a:hover { color: var(--red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .dj-content-layout { grid-template-columns: 1fr; }
    .dj-category-with-sidebar { grid-template-columns: 1fr; }
    .dj-header-nav { display: none; }
    .dj-layout-a { grid-template-columns: 1fr; }
    .dj-layout-b { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .dj-top-bar-links { display: none; }
    .dj-layout-d { grid-template-columns: repeat(2, 1fr); }
    .dj-layout-e { grid-template-columns: 1fr; }
    .dj-layout-e-big { grid-row: span 1; }
    .dj-layout-f { grid-template-columns: 1fr; }
    .dj-footer-grid { grid-template-columns: 1fr 1fr; }
    .dj-footer-top-inner { flex-direction: column; gap: 12px; text-align: center; }
    .dj-copyright-bar { flex-direction: column; gap: 8px; text-align: center; }
    .dj-slider-title { font-size: 20px; }
    .dj-slider-slide { height: 300px; }
}

@media (max-width: 480px) {
    .dj-layout-b { grid-template-columns: 1fr; }
    .dj-layout-d { grid-template-columns: 1fr; }
    .dj-footer-grid { grid-template-columns: 1fr; }
    .dj-slider-slide { height: 250px; }
    .dj-slider-title { font-size: 18px; }
}
