/*
Theme Name:        DML Resources
Theme URI:         https://digitalmarketinglucknow.in/resources
Author:            SlideScope – Digital Marketing Lucknow
Author URI:        https://digitalmarketinglucknow.in
Description:       A custom Elementor-compatible WordPress theme for Digital Marketing Lucknow (SlideScope). Matches the static site design — navy & orange palette, Syne + DM Sans typography, fully responsive.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      7.4
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       dml-resources
Tags:              blog, elementor, full-width-template, custom-colors, custom-menu, featured-images, sticky-post, threaded-comments
*/

/* ============================================================
   ROOT – Design Tokens (matches static site exactly)
   ============================================================ */
:root {
  --dml-primary:    #0A2540;
  --dml-accent:     #FF5C28;
  --dml-accent2:    #FFB347;
  --dml-light:      #F5F7FA;
  --dml-white:      #ffffff;
  --dml-text:       #1a2a3a;
  --dml-muted:      #6b7a8d;
  --dml-border:     #e0e6ef;
  --dml-nav-h:      72px;
  --dml-radius:     12px;
  --dml-shadow:     0 4px 32px rgba(10,37,64,.10);
  --dml-transition: .3s cubic-bezier(.4,0,.2,1);
  --dml-font-head:  'Syne', sans-serif;
  --dml-font-body:  'DM Sans', sans-serif;
}

/* ============================================================
   BASE RESET & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--dml-font-body);
  font-size: 16px;
  color: var(--dml-text);
  background: var(--dml-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dml-font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dml-primary);
}
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 40px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { margin-bottom: 1.1em; color: var(--dml-muted); line-height: 1.8; }
p:last-child { margin-bottom: 0; }
a { color: var(--dml-accent); text-decoration: none; transition: color var(--dml-transition); }
a:hover { color: #e04a18; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.4em; }
ul li, ol li { margin-bottom: .4em; }
strong, b { font-weight: 700; color: var(--dml-text); }
em { font-style: italic; }
blockquote {
  border-left: 4px solid var(--dml-accent);
  padding: 18px 24px;
  margin: 28px 0;
  background: var(--dml-light);
  border-radius: 0 var(--dml-radius) var(--dml-radius) 0;
  font-style: italic;
  color: var(--dml-muted);
}
hr { border: none; border-top: 1px solid var(--dml-border); margin: 32px 0; }
code, pre {
  font-family: 'Courier New', monospace;
  background: var(--dml-light);
  border-radius: 6px;
}
code { padding: 2px 8px; font-size: 14px; }
pre { padding: 20px; overflow-x: auto; font-size: 14px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container,
.site-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

/* Elementor full-width */
.elementor-section.elementor-section-stretched { width: 100% !important; left: 0 !important; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
button.btn,
a.btn,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--dml-font-head);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--dml-transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary,
input[type="submit"],
.wp-block-button__link {
  background: var(--dml-accent);
  color: #fff !important;
}
.btn-primary:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background: #e04a18;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,92,40,.35);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--dml-primary);
  border: 2px solid var(--dml-primary);
}
.btn-outline:hover {
  background: var(--dml-primary);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--dml-accent) !important;
  font-weight: 700;
}
.btn-white:hover {
  background: var(--dml-primary);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
  height: var(--dml-nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dml-border);
  transition: box-shadow var(--dml-transition);
}
#site-header.scrolled { box-shadow: var(--dml-shadow); }

.nav-inner {
  height: var(--dml-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-branding .logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--dml-primary), var(--dml-accent));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--dml-font-head); font-weight: 800; color: #fff; font-size: 18px;
  flex-shrink: 0;
}
.site-branding .logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.site-branding .logo-text {
  font-family: var(--dml-font-head); font-weight: 800; font-size: 17px; color: var(--dml-primary);
}
.site-branding .logo-text span { color: var(--dml-accent); }
.site-branding .logo-sub { font-size: 10px; color: var(--dml-muted); font-family: var(--dml-font-body); }
.site-branding img.custom-logo { max-height: 44px; width: auto; }

/* Custom logo container */
.custom-logo-link { display: flex; align-items: center; }

/* Primary nav */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; padding: 0; margin: 0;
}
.main-navigation ul li a {
  display: block;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dml-text);
  transition: var(--dml-transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current_page_item > a {
  background: rgba(10,37,64,.07);
  color: var(--dml-accent);
}
.main-navigation ul li.current-menu-item > a { font-weight: 700; }

/* Dropdown */
.main-navigation ul li { position: relative; }
.main-navigation ul ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  flex-direction: column;
  background: var(--dml-white);
  border: 1px solid var(--dml-border);
  border-radius: var(--dml-radius);
  box-shadow: 0 12px 40px rgba(10,37,64,.14);
  padding: 8px;
  gap: 2px;
  z-index: 999;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul ul li a { border-radius: 8px; font-size: 14px; padding: 9px 14px; }
.main-navigation ul ul li a:hover { background: var(--dml-light); }

.nav-cta-btn { flex-shrink: 0; }
.nav-cta-btn a {
  background: var(--dml-accent); color: #fff; padding: 11px 22px;
  border-radius: 50px; font-family: var(--dml-font-head); font-weight: 600;
  font-size: 14px; transition: var(--dml-transition); display: inline-block;
}
.nav-cta-btn a:hover { background: #e04a18; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,92,40,.35); color: #fff; }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dml-primary); border-radius: 2px;
  transition: var(--dml-transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
#mobile-nav-panel {
  display: none;
  position: fixed;
  top: var(--dml-nav-h); left: 0; width: 100%;
  background: var(--dml-white);
  border-bottom: 1px solid var(--dml-border);
  padding: 16px 24px;
  z-index: 9998;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
#mobile-nav-panel.open { display: flex; }
#mobile-nav-panel a {
  padding: 12px 16px; border-radius: 8px;
  font-weight: 500; color: var(--dml-text); font-size: 16px;
}
#mobile-nav-panel a:hover,
#mobile-nav-panel .current-menu-item > a { background: var(--dml-light); color: var(--dml-accent); }

/* Offset content for fixed header */
body { padding-top: var(--dml-nav-h); }
.elementor-section { position: relative; }

/* ============================================================
   BLOG – ARCHIVE
   ============================================================ */
.blog-archive-wrap,
.archive-wrap { padding: 72px 0; }

.archive-header { margin-bottom: 48px; }
.archive-header h1 { font-size: clamp(28px, 4vw, 42px); color: var(--dml-primary); margin-bottom: 10px; }
.archive-header p { color: var(--dml-muted); font-size: 16px; }

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

/* Post card */
.post-card {
  background: var(--dml-white);
  border: 1px solid var(--dml-border);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--dml-transition);
  display: flex; flex-direction: column;
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(10,37,64,.12);
  border-color: transparent;
}
.post-card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--dml-accent); color: #fff;
  font-size: 11px; font-weight: 700; font-family: var(--dml-font-head);
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { font-size: 12px; color: var(--dml-muted); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-card-meta span { display: flex; align-items: center; gap: 5px; }
.post-card-body h3 { font-size: 18px; color: var(--dml-primary); margin-bottom: 10px; line-height: 1.35; }
.post-card-body h3 a { color: inherit; }
.post-card-body h3 a:hover { color: var(--dml-accent); }
.post-card-body p { font-size: 14px; color: var(--dml-muted); line-height: 1.75; flex: 1; }
.post-card-footer { padding: 0 24px 24px; }
.post-card-footer a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--dml-accent);
  font-family: var(--dml-font-head);
}
.post-card-footer a:hover { gap: 10px; }

/* Sidebar layout */
.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 72px 0;
  align-items: start;
}
.content-area { min-width: 0; }
.widget-area { position: sticky; top: calc(var(--dml-nav-h) + 24px); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-wrap { padding: 72px 0; }
.single-post-inner { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }

.post-hero-img { border-radius: 18px; overflow: hidden; margin-bottom: 32px; }
.post-hero-img img { width: 100%; max-height: 480px; object-fit: cover; }

.entry-header { margin-bottom: 24px; }
.entry-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.entry-cats a {
  background: rgba(255,92,40,.1); color: var(--dml-accent);
  font-size: 11px; font-weight: 700; font-family: var(--dml-font-head);
  padding: 4px 14px; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase;
}
.entry-title { font-size: clamp(26px, 4vw, 44px); color: var(--dml-primary); margin-bottom: 16px; }
.entry-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--dml-muted); padding-bottom: 24px; border-bottom: 1px solid var(--dml-border); margin-bottom: 28px; }
.entry-meta span { display: flex; align-items: center; gap: 6px; }
.entry-meta a { color: var(--dml-muted); }
.entry-meta a:hover { color: var(--dml-accent); }

/* Post body content */
.entry-content { font-size: 16px; color: var(--dml-text); line-height: 1.85; }
.entry-content h2 { font-size: 26px; color: var(--dml-primary); margin: 36px 0 14px; }
.entry-content h3 { font-size: 21px; color: var(--dml-primary); margin: 28px 0 12px; }
.entry-content h4 { font-size: 18px; color: var(--dml-primary); margin: 22px 0 10px; }
.entry-content p { color: var(--dml-text); margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin: 16px 0 20px 20px; }
.entry-content li { margin-bottom: 8px; color: var(--dml-text); }
.entry-content a { color: var(--dml-accent); text-decoration: underline; }
.entry-content img { border-radius: var(--dml-radius); margin: 24px auto; }
.entry-content .wp-block-quote,
.entry-content blockquote { border-left: 4px solid var(--dml-accent); padding: 20px 24px; background: var(--dml-light); border-radius: 0 12px 12px 0; margin: 28px 0; }

/* Tags */
.entry-tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dml-border); }
.entry-tags span { font-weight: 700; font-family: var(--dml-font-head); font-size: 14px; color: var(--dml-primary); }
.entry-tags a { display: inline-block; background: var(--dml-light); color: var(--dml-muted); font-size: 13px; padding: 4px 14px; border-radius: 50px; margin: 4px 4px 4px 0; transition: var(--dml-transition); }
.entry-tags a:hover { background: var(--dml-accent); color: #fff; }

/* Author box */
.author-box { background: var(--dml-light); border-radius: 18px; padding: 28px; margin-top: 40px; display: flex; gap: 20px; align-items: flex-start; }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--dml-primary), var(--dml-accent)); flex-shrink: 0; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: 16px; color: var(--dml-primary); margin-bottom: 6px; }
.author-info .author-role { font-size: 12px; color: var(--dml-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.author-info p { font-size: 14px; color: var(--dml-muted); line-height: 1.7; margin: 0; }

/* Related posts */
.related-posts { margin-top: 56px; }
.related-posts h3 { font-size: 22px; color: var(--dml-primary); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   SIDEBAR WIDGETS
   ============================================================ */
.widget-area .widget {
  background: var(--dml-white);
  border: 1px solid var(--dml-border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
}
.widget-title {
  font-size: 16px; font-family: var(--dml-font-head); font-weight: 700;
  color: var(--dml-primary); margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 2px solid var(--dml-light);
}
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.widget ul li a { font-size: 14px; color: var(--dml-text); display: flex; align-items: center; gap: 8px; }
.widget ul li a::before { content: '›'; color: var(--dml-accent); font-size: 16px; }
.widget ul li a:hover { color: var(--dml-accent); }
.widget_search form { display: flex; gap: 8px; }
.widget_search input[type="search"] {
  flex: 1; border: 1.5px solid var(--dml-border); border-radius: 10px;
  padding: 10px 14px; font-family: var(--dml-font-body); font-size: 14px;
  outline: none;
}
.widget_search input[type="search"]:focus { border-color: var(--dml-accent); }
.widget_search input[type="submit"] {
  background: var(--dml-accent); color: #fff; border: none;
  border-radius: 10px; padding: 10px 16px; cursor: pointer; font-size: 14px;
}
.widget_tag_cloud a {
  display: inline-block; background: var(--dml-light); color: var(--dml-muted);
  font-size: 13px !important; padding: 5px 14px; border-radius: 50px;
  margin: 3px; transition: var(--dml-transition);
}
.widget_tag_cloud a:hover { background: var(--dml-accent); color: #fff; }

/* Recent posts widget with thumb */
.widget-recent-thumb { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--dml-border); margin-bottom: 12px; }
.widget-recent-thumb:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.widget-recent-img { width: 64px; height: 52px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.widget-recent-img img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-info a { font-size: 13px; font-weight: 600; color: var(--dml-primary); line-height: 1.4; display: block; margin-bottom: 4px; }
.widget-recent-info a:hover { color: var(--dml-accent); }
.widget-recent-info span { font-size: 11px; color: var(--dml-muted); }

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--dml-primary) 0%, #0d3361 100%);
  color: #fff; padding: 70px 0 80px; position: relative; overflow: hidden;
}
.page-banner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 56px;
  background: var(--dml-white); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-banner h1 { color: #fff; margin-bottom: 10px; font-size: clamp(28px, 4vw, 46px); }
.page-banner p { color: rgba(255,255,255,.75); font-size: 16px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.breadcrumb a { color: var(--dml-accent2); }
.breadcrumb span { color: rgba(255,255,255,.5); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  font-family: var(--dml-font-head); font-weight: 600; font-size: 15px;
  border: 1.5px solid var(--dml-border); color: var(--dml-text);
  transition: var(--dml-transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current { background: var(--dml-accent); color: #fff; border-color: var(--dml-accent); }
.pagination .prev, .pagination .next { width: auto; padding: 0 18px; gap: 6px; }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 56px; border-top: 1px solid var(--dml-border); padding-top: 40px; }
.comments-title { font-size: 22px; color: var(--dml-primary); margin-bottom: 28px; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { border: 1px solid var(--dml-border); border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.comment-author .fn { font-weight: 700; font-family: var(--dml-font-head); color: var(--dml-primary); }
.comment-metadata { font-size: 12px; color: var(--dml-muted); margin-bottom: 12px; }
.comment-content p { font-size: 15px; color: var(--dml-text); }
.comment-reply-link { font-size: 13px; font-weight: 600; color: var(--dml-accent); }

/* Comment form */
.comment-respond { margin-top: 40px; background: var(--dml-light); border-radius: 18px; padding: 32px; }
.comment-respond h3 { font-size: 20px; color: var(--dml-primary); margin-bottom: 20px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%; border: 1.5px solid var(--dml-border); border-radius: 10px;
  padding: 12px 16px; font-family: var(--dml-font-body); font-size: 15px;
  outline: none; margin-bottom: 16px; transition: border-color var(--dml-transition);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--dml-accent); }
.comment-form textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   ELEMENTOR OVERRIDES
   ============================================================ */
/* Fix Elementor's default padding */
.elementor-section .elementor-container { max-width: 1160px; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--dml-font-head) !important; }
.elementor-widget-text-editor { font-family: var(--dml-font-body); }

/* Elementor button overrides */
.elementor-button {
  font-family: var(--dml-font-head) !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: var(--dml-transition) !important;
}
.elementor-button.elementor-button-link { text-decoration: none !important; }

/* Elementor colour palette picks up CSS vars */
.e-global__colors { --e-global-color-primary: var(--dml-primary); }

/* ============================================================
   UTILITY CLASSES (usable in Elementor Custom CSS)
   ============================================================ */
.section-label {
  display: inline-block;
  background: rgba(255,92,40,.1); color: var(--dml-accent);
  font-family: var(--dml-font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.text-accent  { color: var(--dml-accent) !important; }
.text-primary { color: var(--dml-primary) !important; }
.text-muted   { color: var(--dml-muted) !important; }
.bg-primary   { background: var(--dml-primary) !important; }
.bg-accent    { background: var(--dml-accent) !important; }
.bg-light     { background: var(--dml-light) !important; }
.rounded-lg   { border-radius: 18px; }
.shadow-md    { box-shadow: var(--dml-shadow); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--dml-accent); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; z-index: 9000;
  opacity: 0; pointer-events: none; transition: var(--dml-transition);
  box-shadow: 0 4px 16px rgba(255,92,40,.4);
}
#scroll-top-btn.visible { opacity: 1; pointer-events: all; }
#scroll-top-btn:hover { transform: translateY(-3px); }

/* ============================================================
   FOOTER (WordPress native)
   ============================================================ */
#site-footer {
  background: var(--dml-primary);
  color: rgba(255,255,255,.75);
  padding: 72px 0 0;
  font-size: 15px;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-widget-area {}
.footer-widget-area .widget-title {
  color: #fff; font-size: 15px; border-bottom-color: rgba(255,255,255,.1);
}
.footer-widget-area .widget ul li a { color: rgba(255,255,255,.65); }
.footer-widget-area .widget ul li a::before { color: var(--dml-accent); }
.footer-widget-area .widget ul li a:hover { color: var(--dml-accent); }
.footer-widget-area p { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-brand .logo-text-wrap .logo-text { font-size: 19px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  transition: var(--dml-transition);
}
.footer-socials a:hover { background: var(--dml-accent); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--dml-accent); }
.footer-bottom .footer-links { display: flex; gap: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .content-sidebar-wrap { grid-template-columns: 1fr; }
  .single-post-inner { grid-template-columns: 1fr; }
  .widget-area { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-navigation, .nav-cta-btn { display: none; }
  .menu-toggle { display: flex; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-widgets { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .author-box { flex-direction: column; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, #site-footer, .widget-area, .related-posts { display: none !important; }
  body { padding-top: 0; }
  .single-post-inner { grid-template-columns: 1fr; }
}
