/*
Theme Name: Khabariya Dose
Theme URI: https://khabariyadose.com/
Author: Khabariya Dose Team
Description: Fast, lightweight, and responsive News Website theme with category-based homepage sections, banner header, and custom footer.
Version: 3.0.1
Requires at least: 5.8
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: khabariya-dose
*/

:root {
  --primary-color: #e50914;
  --secondary-color: #2b59c3;
  --accent-yellow: #f8c218;
  --dark-bg: #141b24;
  --dark-card: #1c2533;
  --header-bg: #1a222e;
  --footer-bg: #0f172a;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #f3f4f6;
  --border-color: #e5e7eb;
  --card-radius: 8px;
  --font-heading: 'Mukta', sans-serif, system-ui;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #f7f9fa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

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

.site-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   Header & Banner (Styled according to Screenshot 2)
   ========================================================================== */
.site-header {
  background: #151e28;
  color: #fff;
  border-bottom: 2px solid #233142;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-banner-wrap {
  background-color: #17212d;
  background-image: url('assets/images/tech-bg.png');
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-banner-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to right, rgba(20, 27, 36, 0.9) 0%, rgba(20, 27, 36, 0.3) 50%, rgba(20, 27, 36, 0.8) 100%);
  background-size: 24px 24px, 100% 100%;
  pointer-events: none;
}

.header-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  position: relative;
  z-index: 2;
  gap: 20px;
}

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

.site-branding .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-branding .custom-logo,
.site-branding img,
.theme-logo-img {
  max-height: 75px !important;
  max-width: 260px !important;
  width: auto !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  object-fit: contain;
  transition: transform 0.2s ease;
}

.site-branding .custom-logo:hover,
.theme-logo-img:hover {
  transform: scale(1.02);
}

.header-text-branding h1 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

.header-text-branding p {
  font-size: 13px;
  color: #94a3b8;
}

/* Header Search Form */
.header-search {
  max-width: 320px;
  width: 100%;
}

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

.header-search input[type="search"] {
  width: 100%;
  padding: 8px 38px 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-search input[type="search"]:focus {
  border-color: var(--accent-yellow);
  background: rgba(15, 23, 42, 0.95);
}

.header-search button {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.header-search button:hover {
  color: var(--accent-yellow);
}

/* Mobile-Only Header Controls (Hidden on Desktop) */
.mobile-search-toggle,
.mobile-menu-toggle,
.mobile-search-dropdown {
  display: none;
}

/* Navigation Bar */
.main-navigation-bar {
  background: #111822;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-menu-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu-container li {
  margin: 0;
}

.nav-menu-container a {
  display: block;
  padding: 12px 18px;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu-container a:hover,
.nav-menu-container li.current-menu-item > a,
.nav-menu-container li.current_page_item > a {
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.04);
}

.nav-menu-container a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.nav-menu-container a:hover::after,
.nav-menu-container li.current-menu-item > a::after {
  background: var(--accent-yellow);
}

/* Ticker / Breaking Banner */
.breaking-news-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 13px;
  overflow: hidden;
}

.breaking-news-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.breaking-badge {
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  user-select: none;
}

.breaking-ticker-container {
  flex-grow: 1;
  position: relative;
  height: 24px;
  overflow: hidden;
}

.breaking-ticker-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  height: 100%;
}

.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticker-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ticker-item a {
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: color 0.2s ease;
}

.ticker-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ==========================================================================
   Homepage & News Sections (Categories: Trending, National, etc.)
   ========================================================================== */
.main-content {
  padding: 32px 0 60px 0;
  min-height: 60vh;
}

.category-news-section {
  margin-bottom: 48px;
  background: #fff;
  padding: 24px;
  border-radius: var(--card-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

/* Section Header Bar */
.section-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 24px;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  color: #2b59c3; /* Matching screenshot 0 clean blue header style */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-title a {
  color: #2b59c3;
}

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

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--primary-color);
}

/* News Cards Grid */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.news-card {
  background: #fff;
  border: 1px solid #edf2f7;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.card-thumbnail-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background-color: #e2e8f0;
  position: relative;
}

.card-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .card-thumbnail-wrap img {
  transform: scale(1.05);
}

.card-placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-category-badge {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.card-title a {
  color: #1e293b;
}

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

.card-excerpt {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-read-more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.empty-section-notice {
  padding: 30px 20px;
  text-align: center;
  color: var(--text-muted);
  background: #f8fafc;
  border-radius: 6px;
  font-size: 14px;
}

/* ==========================================================================
   Single Post & Page Layout
   ========================================================================== */
.article-container {
  background: #fff;
  padding: 36px;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
}

.article-title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
  margin-bottom: 14px;
}

.article-meta {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.article-featured-image {
  margin-bottom: 28px;
  border-radius: 6px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-body {
  font-size: 16px;
  line-height: 1.8;
  color: #27272a;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: var(--font-heading);
  margin: 28px 0 14px 0;
  color: #0f172a;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 24px;
}

.article-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags a {
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #475569;
}

.article-tags a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ==========================================================================
   Comments & Reply Form
   ========================================================================== */
.comments-area {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 2px solid #e2e8f0;
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  margin: 0 0 40px 0;
  padding: 0;
}

.comment-list .comment {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.comment-list .children {
  list-style: none;
  padding-left: 24px;
  margin-top: 20px;
}

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

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

.comment-author .fn {
  font-weight: 700;
  color: #0f172a;
}

.comment-metadata a {
  font-size: 13px;
  color: var(--text-muted);
}

.comment-content p {
  margin-bottom: 12px;
  color: #334155;
  font-size: 15px;
  line-height: 1.6;
}

.comment-reply-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
}

/* Leave a Reply Box */
.comment-respond {
  margin-top: 40px;
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.comment-reply-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-reply-title small a {
  font-size: 13px;
  font-weight: 600;
  color: #e50914;
}

.comment-notes {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.comment-form {
  display: flex;
  flex-direction: column;
}

.comment-form p {
  margin-bottom: 18px;
}

.comment-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.comment-form .required {
  color: var(--primary-color);
}

.comment-form-comment {
  display: flex;
  flex-direction: column;
}

.comment-form-comment textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  color: #1e293b;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form-comment textarea:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(43, 89, 195, 0.15);
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: flex;
  flex-direction: column;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  width: 100%;
  max-width: 480px;
  padding: 10px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  font-size: 15px;
  color: #1e293b;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form-author input:focus,
.comment-form-email input:focus,
.comment-form-url input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(43, 89, 195, 0.15);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.comment-form-cookies-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  cursor: pointer;
  accent-color: var(--secondary-color);
}

.comment-form-cookies-consent label {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 0;
  cursor: pointer;
}

.form-submit {
  margin-top: 8px;
  margin-bottom: 0 !important;
}

.form-submit .submit {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit .submit:hover {
  background-color: #c40811;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

/* ==========================================================================
   Footer (Styled to match website theme)
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg); /* #0f172a matching the dark theme */
  color: #ffffff;
  padding: 48px 0 32px 0;
  font-family: var(--font-body);
  border-top: 3px solid var(--accent-yellow);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-col-contacts h3,
.footer-col-newsletter h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: var(--font-heading);
}

/* Contacts links */
.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.footer-contact-link {
  color: #e2e8f0;
  text-decoration: underline;
  font-size: 15px;
  word-break: break-all;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-contact-link:hover {
  opacity: 1;
  color: var(--accent-yellow);
}

/* Socials section */
.footer-socials-wrap h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
  font-family: var(--font-heading);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #e2e8f0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social-icon-btn:hover {
  transform: translateY(-2px);
  color: var(--accent-yellow);
}

.footer-social-icon-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Newsletter section */
.footer-col-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}

.newsletter-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #cbd5e1;
}

.newsletter-input-email {
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #ffffff;
  color: #1a202c;
  font-size: 15px;
  outline: none;
}

.newsletter-input-email:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 2px rgba(248, 194, 24, 0.3);
}

.newsletter-submit-btn {
  display: inline-block;
  align-self: flex-start;
  width: 100%;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.newsletter-submit-btn:hover {
  background-color: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #0f172a;
}

.footer-bottom-bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Pagination & Utility
   ========================================================================== */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.pagination-container .nav-links {
  display: flex;
  gap: 8px;
}

.pagination-container a,
.pagination-container span {
  padding: 8px 14px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
}

.pagination-container .current {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ==========================================================================
   About Page Layout (Matching Screenshot & Theme Pattern)
   ========================================================================== */
.about-page-main {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 60px 0 90px 0;
  min-height: 70vh;
}

.about-page-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-page-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.about-hero-card {
  background: #141d28;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-info-col {
  display: flex;
  flex-direction: column;
}

.about-subheading {
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: capitalize;
  margin-bottom: 20px;
  display: block;
}

.about-description {
  font-size: 19px;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 42px;
  font-weight: 400;
}

.about-features-grid {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.about-feature-item {
  display: flex;
  flex-direction: column;
}

.about-feature-title {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-yellow);
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-feature-sub {
  font-size: 16px;
  color: #f1f5f9;
  font-weight: 500;
}

.about-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image-wrapper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-hero-img {
  transform: scale(1.02);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-hero-card {
    padding: 32px 24px;
  }
  .about-page-title {
    font-size: 32px;
  }
  .about-description {
    font-size: 17px;
  }
  .about-features-grid {
    gap: 32px;
  }
  .header-banner-wrap {
    background-image: none !important;
    background-color: #111822 !important;
  }
  .header-banner-wrap::before {
    display: none !important;
  }
  .header-banner-inner {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px !important;
    gap: 8px !important;
  }
  .header-search {
    display: none !important;
  }
  .mobile-search-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #e2e8f0;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    flex-shrink: 0;
    transition: color 0.2s ease;
  }
  .mobile-search-toggle:hover,
  .mobile-search-toggle.is-active {
    color: var(--accent-yellow);
  }
  .site-branding {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-grow: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-branding .custom-logo,
  .site-branding img,
  .theme-logo-img {
    max-height: 48px !important;
    max-width: 170px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
  }
  .mobile-menu-toggle {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.2s ease;
  }
  .hamburger-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    background-color: var(--accent-yellow);
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    background-color: var(--accent-yellow);
  }
  .mobile-search-dropdown {
    display: none;
    background: #0d141e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
  }
  .mobile-search-dropdown.is-open {
    display: block !important;
    animation: fadeInDown 0.2s ease-out;
  }
  .mobile-search-dropdown form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .mobile-search-dropdown input[type="search"] {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 29, 41, 0.95);
    color: #ffffff;
    font-size: 14px;
    outline: none;
  }
  .mobile-search-dropdown input[type="search"]:focus {
    border-color: var(--accent-yellow);
  }
  .mobile-search-dropdown button {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .mobile-search-dropdown button:hover {
    color: var(--accent-yellow);
  }
  #site-navigation.main-navigation-bar {
    display: none;
    background: #111822;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid #233142;
    padding: 14px 12px;
  }
  #site-navigation.main-navigation-bar.is-open {
    display: block !important;
    animation: fadeInDown 0.25s ease-out;
  }
  .nav-menu-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    overflow: visible !important;
    white-space: normal !important;
  }
  .nav-menu-container li {
    margin: 0 !important;
  }
  .nav-menu-container a {
    display: inline-block !important;
    padding: 8px 12px !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    position: relative !important;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
  }
  .nav-menu-container a:hover,
  .nav-menu-container li.current-menu-item > a,
  .nav-menu-container li.current_page_item > a {
    color: var(--accent-yellow) !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }
  .nav-menu-container a::after {
    bottom: 0 !important;
    left: 12px !important;
    right: 12px !important;
    height: 3px !important;
    background: transparent !important;
  }
  .nav-menu-container a:hover::after,
  .nav-menu-container li.current-menu-item > a::after,
  .nav-menu-container li.current_page_item > a::after {
    background: var(--accent-yellow) !important;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
  .article-container {
    padding: 20px;
  }
  .article-title {
    font-size: 26px;
  }
}

/* ==========================================================================
   Video Feed Section
   ========================================================================== */
.kd-video-section .card-thumbnail-wrap {
  position: relative;
}

.kd-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease;
}

.kd-play-btn-circle {
  width: 48px;
  height: 48px;
  background: rgba(229, 9, 20, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.kd-video-card:hover .kd-play-btn-circle {
  transform: scale(1.12);
  background: #ff0000;
}

.kd-video-card:hover .kd-play-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.kd-video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.kd-video-badge {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}

.kd-video-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}

.kd-video-views {
  font-size: 12px;
  color: var(--text-muted);
}
