/*
Theme Name: Daksh News
Theme URI: https://dakshpolicenews.local
Author: Daksh Police News
Description: A minimal, modern news and editorial theme with a split hero layout, Top Stories grid, dark mode toggle, and single-article sidebar.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: daksh-news
*/

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-muted: #f4f6f9;
  --surface-hover: #f8fafc;
  --text: #000000;
  --text-secondary: #1f2937;
  --text-muted: #4b5563;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;
  --accent: #000000;
  --accent-hover: #262626;
  --accent-soft: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --container: 1240px;
  --font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.55;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
}

.dn-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.dn-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
}

.dn-header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
}

.dn-brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.dn-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dn-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

.dn-nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dn-nav-list a,
.dn-nav-more-btn {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}

.dn-nav-list a:hover,
.dn-nav-more-btn:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dn-nav-list .current-menu-item > a,
.dn-nav-list a.is-active {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dn-nav-more {
  position: relative;
}

.dn-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 6px;
  display: none;
  z-index: 60;
}

.dn-nav-more.is-open .dn-nav-dropdown {
  display: block;
}

.dn-nav-dropdown a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.dn-nav-dropdown a:hover {
  background: var(--surface-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.dn-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dn-icon-btn:hover {
  background-color: var(--surface-muted);
  color: var(--text);
}

.dn-menu-toggle {
  display: none;
}

.dn-icon-sun {
  display: none;
}

[data-theme="dark"] .dn-icon-sun {
  display: block;
}

[data-theme="dark"] .dn-icon-moon {
  display: none;
}

/* Search Bar */
.dn-search-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 0;
}

.dn-search-panel.is-open {
  display: block;
}

.dn-search-form {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
}

.dn-search-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.95rem;
}

.dn-search-input:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.dn-btn-primary {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dn-btn-primary:hover {
  background: var(--accent-hover);
}

/* Mobile Drawer */
.dn-mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 24px 18px;
}

.dn-mobile-drawer.is-open {
  display: block;
}

.dn-mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.dn-mobile-drawer a {
  display: block;
  padding: 10px 8px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
}

.dn-mobile-drawer a:hover {
  background: var(--surface-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Main */
.dn-main {
  padding: 28px 0 64px;
}

/* Badge & Meta */
.dn-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.dn-badge:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dn-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hero Section */
.dn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.dn-hero-feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 410px;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
}

.dn-hero-feature-media {
  position: absolute;
  inset: 0;
}

.dn-hero-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dn-hero-feature:hover .dn-hero-feature-media img {
  transform: scale(1.03);
}

.dn-hero-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.35) 45%,
    rgba(15, 23, 42, 0.92) 100%
  );
}

.dn-hero-feature-content {
  position: relative;
  z-index: 2;
  padding: 28px;
  color: #ffffff;
}

.dn-hero-feature-content .dn-badge {
  margin-bottom: 12px;
}

.dn-hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.dn-hero-title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dn-hero-excerpt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.88);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-hero-feature-content .dn-meta {
  color: rgba(226, 232, 240, 0.9);
}

/* Hero Right List */
.dn-hero-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.dn-compact-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-md);
  transition: background-color 0.15s ease;
}

.dn-compact-card:hover {
  background-color: var(--surface-hover);
}

.dn-compact-thumb {
  width: 142px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-muted);
  flex-shrink: 0;
}

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

.dn-compact-body {
  min-width: 0;
}

.dn-compact-title {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-compact-card:hover .dn-compact-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Section Header */
.dn-section {
  margin-top: 38px;
}

.dn-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dn-section-title {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.dn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.dn-view-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 4-Column Story Grid */
.dn-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dn-story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dn-story-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.dn-story-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-muted);
  overflow: hidden;
}

.dn-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dn-story-card:hover .dn-story-thumb img {
  transform: scale(1.03);
}

.dn-story-thumb .dn-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
}

.dn-story-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dn-story-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-story-card:hover .dn-story-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-story-card .dn-meta {
  display: none;
}

/* Single Article Page */
.dn-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.dn-article-header {
  margin-bottom: 22px;
}

.dn-article-header .dn-badge {
  margin-bottom: 14px;
}

.dn-article-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text);
}

.dn-article-subtitle {
  margin: 0 0 14px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.dn-article-featured {
  margin: 0 0 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-muted);
}

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

.dn-article-content {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text);
}

.dn-article-content p {
  margin: 0 0 1.25em;
}

.dn-article-content h2,
.dn-article-content h3 {
  margin: 1.6em 0 0.6em;
  line-height: 1.3;
}

.dn-article-content blockquote {
  margin: 1.5em 0;
  padding: 12px 18px;
  border-left: 4px solid var(--accent);
  background: var(--surface-muted);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.dn-article-content figure {
  margin: 1.75em 0;
}

.dn-article-content img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  display: block;
}

.dn-article-content figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.dn-article-content ul,
.dn-article-content ol {
  margin: 0 0 1.25em;
  padding-left: 1.4em;
}

.dn-article-content li {
  margin-bottom: 0.45em;
}

.dn-article-tags {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dn-article-tags a {
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
}

.dn-article-tags a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sidebar */
.dn-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.dn-sidebar-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.dn-related-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dn-related-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.dn-related-thumb {
  width: 104px;
  height: 66px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-muted);
}

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

.dn-related-title {
  margin: 0 0 4px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-related-item:hover .dn-related-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Stay Updated Newsletter Card */
.dn-subscribe-card {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.dn-subscribe-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.dn-subscribe-card p {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.dn-subscribe-form {
  display: flex;
  gap: 8px;
}

.dn-subscribe-form input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.86rem;
}

.dn-subscribe-form .dn-btn-primary {
  height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
}

.dn-subscribe-msg {
  margin: 10px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
}

/* Archive & Page */
.dn-archive-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.dn-archive-title {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-weight: 800;
}

.dn-archive-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dn-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.dn-pagination .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* Placeholder Thumbnail */
.dn-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Footer */
.dn-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.dn-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.dn-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.dn-footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dn-hero-grid {
    grid-template-columns: 1fr;
  }

  .dn-hero-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .dn-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dn-article-layout {
    grid-template-columns: 1fr;
  }

  .dn-sidebar {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
}

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

  .dn-nav,
  .dn-theme-toggle-desktop {
    display: none;
  }

  .dn-menu-toggle {
    display: inline-flex;
  }

  .dn-header-inner {
    height: 64px;
    gap: 8px;
  }

  .dn-brand {
    font-size: 0.96rem;
    gap: 6px;
    min-width: 0;
  }

  .dn-brand-logo {
    height: 48px;
  }

  .dn-main {
    padding: 16px 0 40px;
  }

  .dn-hero-feature {
    min-height: 300px;
  }

  .dn-hero-feature-content {
    padding: 18px;
  }

  .dn-hero-excerpt {
    display: none;
  }

  .dn-hero-list {
    display: none;
  }

  .dn-section {
    margin-top: 24px;
  }

  .dn-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dn-story-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    border: 0;
    box-shadow: none;
    border-radius: var(--radius-sm);
    background: transparent;
  }

  .dn-story-card:hover {
    transform: none;
    box-shadow: none;
  }

  .dn-story-thumb {
    aspect-ratio: auto;
    width: 120px;
    height: 76px;
    border-radius: var(--radius-sm);
  }

  .dn-story-thumb .dn-badge {
    display: none;
  }

  .dn-story-body {
    padding: 2px 0 2px 12px;
    gap: 4px;
  }

  .dn-story-card .dn-meta {
    display: inline-flex;
  }

  .dn-footer {
    padding-bottom: 28px;
  }
}

/* BBC-Inspired Homepage Sections */
.dn-section-ruled {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 2px solid var(--text);
}

/* More News Wire Strip */
.dn-wire-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.dn-wire-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}

.dn-wire-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.dn-wire-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.dn-wire-item:hover .dn-wire-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-wire-excerpt {
  margin: 0 0 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dn-wire-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dn-wire-cat {
  font-weight: 700;
  color: var(--text);
}

.dn-wire-cat:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Special Reports (2-column "Only from ..." split) */
.dn-feature-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dn-feature-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dn-feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.dn-feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-muted);
}

.dn-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dn-feature-card:hover .dn-feature-media img {
  transform: scale(1.03);
}

.dn-feature-media .dn-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
}

.dn-feature-body {
  padding: 18px 20px 20px;
}

.dn-feature-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--text);
}

.dn-feature-card:hover .dn-feature-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-feature-excerpt {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Watch & Briefings Section */
.dn-dark-band {
  margin-top: 44px;
  padding: 22px 0 0;
  background: var(--bg);
  color: var(--text);
}

.dn-dark-band .dn-container {
  padding-top: 22px;
  border-top: 2px solid var(--text);
}

.dn-dark-band .dn-section-title {
  color: var(--text);
}

.dn-dark-band .dn-view-all {
  color: var(--accent);
}

.dn-watch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.dn-watch-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dn-watch-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.dn-watch-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-muted);
}

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

.dn-play-pill {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
}

.dn-watch-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dn-watch-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
}

.dn-watch-card:hover .dn-watch-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-dark-band .dn-meta {
  color: var(--text-muted);
}

/* Category Spotlight Columns (BBC multi-section columns) */
.dn-section-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dn-cat-col {
  border-top: 2px solid var(--text);
  padding-top: 14px;
}

.dn-cat-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dn-cat-col-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.dn-cat-col-head a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
}

.dn-cat-col-head a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-cat-lead {
  display: block;
  margin-bottom: 14px;
}

.dn-cat-lead-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-muted);
  margin-bottom: 10px;
}

.dn-cat-lead-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dn-cat-lead-title {
  margin: 0 0 6px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.dn-cat-lead:hover .dn-cat-lead-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dn-cat-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dn-cat-sublist li {
  border-top: 1px solid var(--border);
  padding: 10px 0;
}

.dn-cat-sublist a {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-secondary);
}

.dn-cat-sublist a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Homepage Newsletter Strip */
.dn-newsletter-banner {
  margin-top: 44px;
  padding: 24px 28px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dn-newsletter-banner h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
}

.dn-newsletter-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dn-newsletter-banner .dn-subscribe-form {
  min-width: 320px;
  flex: 0 1 420px;
}

@media (max-width: 1024px) {
  .dn-wire-grid,
  .dn-watch-grid,
  .dn-section-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dn-wire-item:nth-child(2n) {
    border-right: 0;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .dn-wire-grid,
  .dn-feature-split,
  .dn-watch-grid,
  .dn-section-columns {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .dn-wire-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0 0 14px;
  }

  .dn-wire-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .dn-dark-band {
    margin-top: 28px;
    padding: 0;
  }

  .dn-newsletter-banner {
    padding: 18px;
  }

  .dn-newsletter-banner .dn-subscribe-form {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}

/* Google AdSense Slots */
.dn-ad-slot {
  margin: 24px 0;
  text-align: center;
}

.dn-ad-top {
  margin: 0 0 22px;
}

.dn-ad-mid {
  margin: 34px 0 0;
}

.dn-ad-in-article {
  margin: 24px 0;
}

.dn-ad-sidebar {
  margin: 0;
}

.dn-ad-footer {
  margin: 0 0 28px;
}

.dn-ad-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dn-ad-preview-box {
  padding: 24px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Language Switcher (Google Translate) */
.dn-lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  background: var(--surface);
  color: var(--text);
}

.dn-lang-icon {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.dn-lang-select {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 2px 4px 2px 0;
  cursor: pointer;
  outline: none;
}

.dn-lang-select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.dn-lang-mobile {
  margin-bottom: 10px;
}

.dn-gt-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body {
  top: 0 !important;
}

body > .skiptranslate:not(#google_translate_element),
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

@media (max-width: 768px) {
  .dn-lang-switcher {
    padding: 3px 6px;
    gap: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  .dn-lang-select {
    font-size: 0.75rem;
  }

  .dn-header-actions {
    gap: 2px;
    flex-shrink: 0;
  }

  .dn-header-actions .dn-icon-btn {
    width: 34px;
    height: 34px;
  }
}

/* Social Media Links */
.dn-social-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dn-social-link {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.dn-social-link:hover {
  background: var(--surface-muted);
}

.dn-social-mobile {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
}

.dn-article-social {
  margin-top: 26px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dn-article-social-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}
