/*
Theme Name: AdeptWiz Newspaper Theme
Theme URI: https://adeptwiz.com
Author: AdeptWiz
Author URI: https://adeptwiz.com
Description: Premium customizable WordPress Newspaper & News Portal Theme. Features 10 customizable news category sections, 6 layout display engines, custom logo upload & sizing, breaking news ticker options, topbar options, menu customizer, and 1-4 column footer widgets. Built with Unicode support for Tamil & English community portals.
Version: 7.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adeptwiz
Tags: news, newspaper, two-columns, right-sidebar, custom-menu, custom-logo, theme-options, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Mukta+Malar:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #ad274b;
  --primary-hover: #8e1c3a;
  --secondary-color: #1e293b;
  --accent-color: #e11d48;
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --topbar-bg: #111827;
  --topbar-text: #e2e8f0;
  --header-bg: #ffffff;
  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --font-family-body: 'Noto Sans Tamil', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-heading: 'Mukta Malar', 'Noto Sans Tamil', 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-color: #0b0f17;
  --surface-color: #151c28;
  --border-color: #232d3f;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --topbar-bg: #070a0f;
  --header-bg: #151c28;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
}

[data-theme="dark"], [data-theme="dark"] body {
  background-color: #0b0f17 !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .site-header,
[data-theme="dark"] .header-navigation-area,
[data-theme="dark"] .site-topbar,
[data-theme="dark"] .prime-article,
[data-theme="dark"] .sub-article,
[data-theme="dark"] .card-post,
[data-theme="dark"] .compact-item,
[data-theme="dark"] .widget,
[data-theme="dark"] .top-stories-column,
[data-theme="dark"] .site-breadcrumbs-bar,
[data-theme="dark"] .search-modal-box,
[data-theme="dark"] .minimal-feed-item {
  background-color: #151c28 !important;
  border-color: #232d3f !important;
  color: #f1f5f9 !important;
}

[data-theme="dark"] .site-title a,
[data-theme="dark"] .prime-title a,
[data-theme="dark"] .sub-title a,
[data-theme="dark"] .card-title a,
[data-theme="dark"] .compact-title a,
[data-theme="dark"] .story-title a,
[data-theme="dark"] .section-title,
[data-theme="dark"] .widget-title,
[data-theme="dark"] .primary-menu > li > a {
  color: #f1f5f9 !important;
}

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

body {
  font-family: var(--font-family-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

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

.wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.site-topbar {
  background-color: var(--topbar-bg);
  color: var(--topbar-text);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-components {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-component-date, .topbar-component-clock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar-component-clock {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  color: var(--topbar-text);
  opacity: 0.8;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Site Header */
.site-header {
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.3s ease;
}

.header-branding-area {
  padding: 16px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.site-branding {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.site-logo-img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

.header-banner-wrapper {
  margin: 12px 0;
  text-align: center;
}

.header-banner-wrapper img {
  max-height: 100px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.site-title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: 4px;
  letter-spacing: -0.5px;
}

.site-description {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Primary Menu & Navigation */
.header-navigation-area {
  background-color: var(--header-bg);
}

.header-navigation-area .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 54px;
}

.primary-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}

.primary-menu > li {
  position: relative;
}

.primary-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 3px solid transparent;
}

.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--surface-color);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 1px solid var(--border-color);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
  padding: 6px 0;
}

.primary-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  border-left: 3px solid transparent;
}

.primary-menu .sub-menu a:hover {
  background-color: rgba(173, 39, 75, 0.06);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: rgba(173, 39, 75, 0.1);
  color: var(--primary-color);
}

/* Breaking News Ticker Bar */
.wpi-header-ticker {
  background: linear-gradient(90deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 2px solid var(--primary-color);
}

.wpi-ticker-panel {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wpi-ticker-title {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 4px 14px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(173, 39, 75, 0.4);
}

.wpi-ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.ticker-slider {
  display: inline-flex;
  animation: ticker-slide 28s linear infinite;
}

.ticker-slider:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 32px;
  font-size: 14px;
  font-weight: 500;
}

.ticker-item a {
  color: #e2e8f0;
}

.ticker-item a:hover {
  color: #f43f5e;
}

.ticker-date {
  font-size: 12px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

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

/* Main Layout Grid */
.site-content {
  padding: 28px 0 40px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.content-grid.no-sidebar {
  grid-template-columns: 1fr;
}

.main-column {
  min-width: 0;
}

/* Hero Banner Section */
.hero-banner-section {
  margin-bottom: 36px;
}

.hero-grid,
.hero-grid-3 {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 24px;
}

.hero-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.hero-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hero-main-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.prime-article {
  position: relative;
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.prime-article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.prime-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.prime-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.prime-details {
  padding: 20px;
}

.prime-title {
  font-family: var(--font-family-heading);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.sub-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sub-article {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.sub-image-wrapper {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sub-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sub-details {
  padding: 14px;
}

.sub-title {
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.top-stories-column {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.top-stories-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.top-story-item {
  display: grid;
  grid-template-columns: 28px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-color);
}

.top-story-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.story-number {
  width: 28px;
  height: 28px;
  background-color: rgba(173, 39, 75, 0.1);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-title {
  font-family: var(--font-family-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-thumb {
  width: 70px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION LAYOUT STYLES */
.news-section {
  margin-bottom: 38px;
}

.news-scroll-container {
  position: relative;
}

.news-scroll-flex {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}

.news-scroll-flex::-webkit-scrollbar {
  height: 6px;
}

.news-scroll-flex::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 10px;
}

.news-scroll-flex::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.news-scroll-flex .card-post {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.scroll-controls {
  display: flex;
  gap: 6px;
}

.scroll-btn {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

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

.news-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.news-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card-post {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.card-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 16px;
}

.card-title {
  font-family: var(--font-family-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.news-compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compact-item {
  display: flex;
  gap: 16px;
  background: var(--surface-color);
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  align-items: center;
  transition: var(--transition);
}

.compact-item:hover {
  border-color: var(--primary-color);
  transform: translateX(3px);
}

.compact-thumb {
  width: 110px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-content {
  flex: 1;
  min-width: 0;
}

.compact-title {
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.news-overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.overlay-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.overlay-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(15,23,42,0.9) 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
}

.overlay-title {
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 6px;
  color: #ffffff;
}

.news-magazine-hero {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 20px;
}

.mag-big-card {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.mag-side-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-minimal-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.minimal-feed-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--surface-color);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.minimal-feed-item:hover {
  border-color: var(--primary-color);
}

.minimal-feed-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(173, 39, 75, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Memorial Sidebar Rows */
.memorial-rows-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.memorial-row-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.memorial-row-item:hover {
  transform: translateX(4px);
}

.memorial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  flex-shrink: 0;
}

.memorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memorial-info {
  flex: 1;
  min-width: 0;
}

.memorial-name {
  font-family: var(--font-family-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.memorial-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--surface-color);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-family: var(--font-family-heading);
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  margin-bottom: 16px;
}

.categories-list {
  list-style: none;
}

.categories-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 500;
}

.count-badge {
  background: rgba(173, 39, 75, 0.1);
  color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-box {
  background: var(--surface-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .search-modal-box {
  transform: translateY(0);
}

.search-form-group {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 16px;
  background: var(--bg-color);
  color: var(--text-main);
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

/* Footer (Dynamic Grid Columns) */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 24px;
  border-top: 4px solid var(--primary-color);
}

.footer-widgets {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}

.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: repeat(2, 1fr); }
.footer-cols-3 { grid-template-columns: repeat(3, 1fr); }
.footer-cols-4 { grid-template-columns: repeat(4, 1fr); }

.footer-widget-title {
  font-family: var(--font-family-heading);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-credits a {
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-grid, .news-magazine-hero {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .news-grid-3, .news-overlay-grid, .footer-cols-4, .footer-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sub-banner-grid, .news-grid-3, .news-grid-2, .news-overlay-grid, .footer-cols-4, .footer-cols-3, .footer-cols-2 {
    grid-template-columns: 1fr;
  }
  .hide-on-mobile {
    display: none !important;
  }
}

/* Site Breadcrumbs Bar */
.site-breadcrumbs-bar {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  margin-bottom: 20px;
  font-size: 13px;
}
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb-home, .breadcrumb-category a {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
}
.breadcrumb-home:hover, .breadcrumb-category a:hover {
  text-decoration: underline;
}
.breadcrumb-separator {
  color: var(--text-muted);
}
.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}
