/**
 * 360DailyTrend Header Styles
 * HuffPost/Bloomberg-style comprehensive theme styling
 * Mobile header fixes, notifications, search, typography, and layout
 */

/* ============================================
   GLOBAL TYPOGRAPHY & COLORS (HuffPost/Bloomberg Style)
   ============================================ */

:root {
  /* Primary Colors */
  --dt-primary: #0066cc;
  --dt-primary-dark: #004499;
  --dt-accent: #e53935;
  --dt-accent-dark: #c62828;
  
  /* Text Colors */
  --dt-text-primary: #111111;
  --dt-text-secondary: #444444;
  --dt-text-muted: #888888;
  --dt-text-light: #666666;
  
  /* Background Colors */
  --dt-bg-white: #ffffff;
  --dt-bg-light: #f5f5f5;
  --dt-bg-dark: #1a1a1a;
  
  /* Border Colors */
  --dt-border-light: #eeeeee;
  --dt-border-medium: #dddddd;
  
  /* Typography */
  --dt-font-headline: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dt-font-body: Georgia, "Times New Roman", Times, serif;
  --dt-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Spacing */
  --dt-spacing-xs: 4px;
  --dt-spacing-sm: 8px;
  --dt-spacing-md: 16px;
  --dt-spacing-lg: 24px;
  --dt-spacing-xl: 32px;
  --dt-spacing-xxl: 48px;
}

/* Global Typography Improvements */
body {
  font-family: var(--dt-font-body);
  color: var(--dt-text-primary);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--dt-font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dt-text-primary);
}

/* ============================================
   HOMEPAGE PAGE TITLE FIX
   Hide the page title (e.g., "Home 05") on the homepage
   ============================================ */

/* Hide page title on homepage - targets the page title block */
body.home .wp-block-post-title:first-of-type,
body.home h1.wp-block-post-title,
body.page-template-default.home .entry-title,
body.home .page-title,
body.home header + .wp-block-group > h1:first-child,
body.home .wp-block-template-part + h1,
body.home main > h1:first-child {
  display: none !important;
}

/* Alternative: Hide any h1 that contains "Home" followed by numbers */
body.home h1[class*="title"]:not(.wp-block-heading) {
  display: none !important;
}

/* Hide duplicate "Written by..." metadata on single posts */
/* Target various WordPress theme metadata elements */
.single-post .wp-block-post-author-name,
.single-post .entry-meta:first-of-type,
.single-post .post-meta:first-of-type,
.single-post .wp-block-post-author,
.single-post .wp-block-post-date,
.single-post .taxonomy-edition,
/* Target "Written by X in Y" pattern - common in Twenty Twenty-Five */
.single-post .wp-block-post-terms:first-of-type,
.single-post article > .wp-block-group:first-of-type > p:first-child,
.single-post .entry-content > p:first-child:not(.dt-post-meta):not(.dt-post-byline),
/* More specific targeting for Twenty Twenty-Five theme */
body.single-post .wp-block-post-content > p:first-child {
  display: none !important;
}

/* Alternative: Hide any paragraph that starts with "Written by" */
/* This uses attribute selector on the text content indirectly */
.single-post p[class=""] + .dt-post-meta,
.single-post .wp-block-post-content > p:first-of-type:not([class*="dt-"]) {
  display: none !important;
}

/* ============================================
   EDITIONS DROPDOWN FIX
   Make Editions display as a proper dropdown menu
   ============================================ */

/* Style the Editions navigation item as a dropdown trigger */
.wp-block-navigation-item.has-child[class*="edition"],
.wp-block-navigation-item.has-child a[href*="edition"] {
  position: relative;
}

/* Hide Editions submenu by default and show on hover */
.wp-block-navigation-item.has-child .wp-block-navigation__submenu-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  min-width: 200px;
  border-radius: 4px;
  padding: 8px 0;
}

.wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
.wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
  display: block;
}

/* Style submenu items */
.wp-block-navigation__submenu-container .wp-block-navigation-item {
  display: block;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 10px 16px;
  display: block;
  color: #333;
  text-decoration: none;
  transition: background 0.2s;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: #f5f5f5;
}

/* Dropdown arrow indicator */
.wp-block-navigation-item.has-child > .wp-block-navigation-item__content::after {
  content: " ▼";
  font-size: 8px;
  margin-left: 4px;
  opacity: 0.7;
}

/* ============================================
   MOBILE HEADER FIXES
   ============================================ */

@media (max-width: 768px) {
  /* Ensure proper spacing between header icons */
  .wp-block-navigation__responsive-container-open,
  .wp-block-search__button,
  .wp-block-navigation .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }
  
  /* Add spacing between search and hamburger menu */
  .wp-block-search {
    margin-right: 16px !important;
  }
  
  /* Ensure header items have proper tap targets */
  header .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Fix navigation row spacing on mobile */
  header .wp-block-group {
    gap: 12px;
  }
  
  /* Ensure search button has proper spacing */
  .wp-block-search__button {
    margin-left: 8px;
  }
  
  /* Header row alignment */
  header .wp-block-group.is-layout-flex {
    gap: 16px;
  }
}

/* ============================================
   DESKTOP NAVIGATION FIXES
   ============================================ */

@media (min-width: 769px) {
  /* Ensure navigation dropdown is visible on desktop */
  .wp-block-navigation__submenu-container {
    display: none;
    position: absolute;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 200px;
    border-radius: 4px;
    padding: 8px 0;
  }
  
  .wp-block-navigation-item:hover > .wp-block-navigation__submenu-container,
  .wp-block-navigation-item:focus-within > .wp-block-navigation__submenu-container {
    display: block;
  }
  
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    padding: 8px 16px;
    display: block;
  }
  
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: #f5f5f5;
  }
}

/* ============================================
   NOTIFICATION BELL ICON
   ============================================ */

.dt-notification-bell {
  position: relative;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 8px;
}

.dt-notification-bell svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.dt-notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #e53935;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================
   HUFFPOST-STYLE SEARCH MODAL
   ============================================ */

.dt-search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 99999;
  display: none;
  overflow-y: auto;
  padding: 20px;
}

.dt-search-modal.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dt-search-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #333;
  z-index: 100000;
  border-radius: 50%;
  transition: background 0.2s;
}

.dt-search-modal-close:hover {
  background: #f0f0f0;
}

.dt-search-container {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 60px;
}

.dt-search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  border: 2px solid #333;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.dt-search-input:focus {
  border-color: #0066cc;
}

.dt-search-input::placeholder {
  color: #999;
}

/* Search Sections */
.dt-search-section {
  margin-top: 40px;
}

.dt-search-section h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
  margin-bottom: 16px;
  font-weight: 600;
}

/* Trending List */
.dt-trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: trending;
}

.dt-trending-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.dt-trending-list li:hover {
  background: #f9f9f9;
  margin: 0 -12px;
  padding-left: 12px;
  padding-right: 12px;
}

.dt-trending-list li::before {
  counter-increment: trending;
  content: counter(trending);
  font-weight: bold;
  color: #999;
  margin-right: 16px;
  font-size: 14px;
  min-width: 20px;
}

.dt-trending-list li a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  flex: 1;
}

.dt-trending-list li a:hover {
  color: #0066cc;
}

/* Category Tags */
.dt-category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dt-category-tag {
  padding: 10px 18px;
  background: #f0f0f0;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: #333;
  border: none;
  font-family: inherit;
}

.dt-category-tag:hover {
  background: #333;
  color: #fff;
}

/* Recent Searches */
.dt-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dt-recent-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dt-recent-list li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.dt-recent-list li a:hover {
  color: #0066cc;
}

.dt-recent-remove {
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
}

.dt-recent-remove:hover {
  color: #e53935;
}

/* Search Results Preview */
.dt-search-results {
  margin-top: 20px;
}

.dt-search-result-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.dt-search-result-item a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.dt-search-result-item a:hover {
  color: #0066cc;
}

.dt-search-result-excerpt {
  color: #666;
  font-size: 14px;
  margin-top: 4px;
}

/* ============================================
   BODY SCROLL LOCK WHEN MODAL OPEN
   ============================================ */

body.dt-search-open {
  overflow: hidden;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 480px) {
  .dt-search-container {
    padding-top: 80px;
  }
  
  .dt-search-input {
    font-size: 16px;
    padding: 14px 16px;
  }
  
  .dt-search-section h3 {
    font-size: 11px;
  }
  
  .dt-category-tag {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ============================================
   HUFFPOST/BLOOMBERG HEADER STYLING
   ============================================ */

/* Main Header Container */
header,
.wp-block-template-part[data-slug="header"] {
  background: var(--dt-bg-white);
  border-bottom: 1px solid var(--dt-border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Site Logo/Title */
.wp-block-site-title a,
.site-title a {
  font-family: var(--dt-font-headline);
  font-weight: 900;
  font-size: 28px;
  color: var(--dt-text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.wp-block-site-title a:hover {
  color: var(--dt-accent);
}

/* ============================================
   DESKTOP NAVIGATION (HuffPost Style)
   ============================================ */

@media (min-width: 769px) {
  /* Main Navigation Container */
  .wp-block-navigation {
    font-family: var(--dt-font-ui);
  }
  
  /* Navigation Links */
  .wp-block-navigation-item__content {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dt-text-primary);
    padding: 12px 16px;
    transition: color 0.2s, background 0.2s;
  }
  
  .wp-block-navigation-item__content:hover {
    color: var(--dt-accent);
  }
  
  /* Editions Dropdown - Desktop */
  .wp-block-navigation-item.has-child {
    position: relative;
  }
  
  .wp-block-navigation-item.has-child > .wp-block-navigation-item__content::after {
    content: " ▼";
    font-size: 8px;
    margin-left: 4px;
    opacity: 0.6;
  }
  
  .wp-block-navigation-item.has-child .wp-block-navigation__submenu-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dt-bg-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border-radius: 4px;
    min-width: 220px;
    padding: 8px 0;
    z-index: 1001;
  }
  
  .wp-block-navigation-item.has-child:hover > .wp-block-navigation__submenu-container,
  .wp-block-navigation-item.has-child:focus-within > .wp-block-navigation__submenu-container {
    display: block;
  }
  
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    color: var(--dt-text-secondary);
  }
  
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
    background: var(--dt-bg-light);
    color: var(--dt-accent);
  }
  
  /* Two-row navigation layout */
  .dt-nav-categories {
    border-top: 1px solid var(--dt-border-light);
    padding: 8px 0;
  }
  
  .dt-nav-editions {
    background: var(--dt-bg-light);
    padding: 6px 0;
    font-size: 12px;
  }
}

/* ============================================
   MOBILE NAVIGATION (Editions First)
   ============================================ */

@media (max-width: 768px) {
  /* Mobile Navigation Container */
  .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--dt-bg-white);
    padding: 20px;
  }
  
  /* Mobile Menu Items */
  .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
    font-size: 18px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid var(--dt-border-light);
    display: block;
  }
  
  /* Editions Section - Mobile (First) */
  .wp-block-navigation__responsive-container .wp-block-navigation-item:has(a[href*="edition"]),
  .wp-block-navigation__responsive-container .wp-block-navigation-item[class*="edition"] {
    order: -10;
    background: var(--dt-bg-light);
    margin: -20px -20px 20px -20px;
    padding: 20px;
    border-bottom: 2px solid var(--dt-border-medium);
  }
  
  /* Edition Selector Label */
  .wp-block-navigation__responsive-container .wp-block-navigation-item:has(a[href*="edition"])::before {
    content: "Select Edition";
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--dt-text-muted);
    margin-bottom: 12px;
    font-weight: 600;
  }
  
  /* Edition Links - Horizontal Scroll on Mobile */
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dt-bg-white);
    border: 1px solid var(--dt-border-medium);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
  }
  
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
  .wp-block-navigation__responsive-container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:active {
    background: var(--dt-primary);
    color: white;
    border-color: var(--dt-primary);
  }
  
  /* Categories Section - Mobile (After Editions) */
  .wp-block-navigation__responsive-container .wp-block-navigation-item:not(:has(a[href*="edition"])):not([class*="edition"]) {
    order: 0;
  }
  
  /* Mobile Header Spacing */
  header .wp-block-group.is-layout-flex {
    gap: 12px;
    padding: 12px 16px;
  }
  
  /* Mobile tap targets */
  .wp-block-navigation__responsive-container-open,
  .wp-block-search__button {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Search spacing on mobile */
  .wp-block-search {
    margin-right: 12px !important;
  }
}

/* ============================================
   HOMEPAGE LAYOUT IMPROVEMENTS
   ============================================ */

/* Main Content Container */
main,
.wp-block-group.is-layout-constrained {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--dt-spacing-md);
}

/* Section Headings (HuffPost Style) */
.dt-section-title,
.wp-block-heading.has-text-align-left {
  font-family: var(--dt-font-headline);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dt-text-primary);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--dt-text-primary);
}

/* Two-Column Layout */
.dt-two-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--dt-spacing-xl);
}

@media (max-width: 768px) {
  .dt-two-columns {
    grid-template-columns: 1fr;
    gap: var(--dt-spacing-lg);
  }
}

/* Three-Column Grid */
.dt-three-columns,
.dt-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--dt-spacing-lg);
}

@media (max-width: 768px) {
  .dt-three-columns,
  .dt-stories-grid {
    grid-template-columns: 1fr;
    gap: var(--dt-spacing-md);
  }
}

/* ============================================
   ARTICLE CARDS (HuffPost Style)
   ============================================ */

/* Hero Article */
.dt-hero-card {
  margin-bottom: var(--dt-spacing-xl);
}

.dt-hero-title {
  font-family: var(--dt-font-headline);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--dt-spacing-md);
}

.dt-hero-title a {
  color: var(--dt-text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.dt-hero-title a:hover {
  color: var(--dt-accent);
}

.dt-hero-excerpt {
  font-family: var(--dt-font-body);
  font-size: 20px;
  line-height: 1.5;
  color: var(--dt-text-secondary);
}

@media (max-width: 768px) {
  .dt-hero-title {
    font-size: 28px;
  }
  
  .dt-hero-excerpt {
    font-size: 16px;
  }
}

/* Story Cards */
.dt-story-card {
  display: flex;
  flex-direction: column;
}

.dt-story-image {
  margin-bottom: var(--dt-spacing-sm);
  overflow: hidden;
  border-radius: 4px;
}

.dt-story-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.dt-story-card:hover .dt-story-image img {
  transform: scale(1.03);
}

.dt-story-title {
  font-family: var(--dt-font-headline);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--dt-spacing-xs);
}

.dt-story-title a {
  color: var(--dt-text-primary);
  text-decoration: none;
}

.dt-story-title a:hover {
  color: var(--dt-accent);
}

.dt-story-time {
  font-family: var(--dt-font-ui);
  font-size: 12px;
  color: var(--dt-text-muted);
}

/* ============================================
   BADGES (Edition & Category)
   ============================================ */

.dt-badge {
  display: inline-block;
  padding: 4px 10px;
  font-family: var(--dt-font-ui);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.dt-badge:hover {
  opacity: 0.85;
}

.dt-badge-edition {
  background: var(--dt-accent);
  color: white;
}

.dt-badge-category {
  background: var(--dt-primary);
  color: white;
}

/* ============================================
   SINGLE POST TEMPLATE
   ============================================ */

.single-post article {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--dt-spacing-xl) var(--dt-spacing-md);
}

.single-post .entry-title,
.single-post .wp-block-post-title {
  font-family: var(--dt-font-headline);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: var(--dt-spacing-lg);
}

@media (max-width: 768px) {
  .single-post .entry-title,
  .single-post .wp-block-post-title {
    font-size: 28px;
  }
}

/* Post Meta (Edition + Category + Byline) */
.dt-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dt-spacing-sm);
  margin-bottom: var(--dt-spacing-md);
}

.dt-post-byline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dt-spacing-sm);
  align-items: center;
  font-family: var(--dt-font-ui);
  font-size: 14px;
  color: var(--dt-text-light);
  margin-bottom: var(--dt-spacing-lg);
  padding-bottom: var(--dt-spacing-lg);
  border-bottom: 1px solid var(--dt-border-light);
}

.dt-post-byline .dt-author {
  font-weight: 600;
  color: var(--dt-text-primary);
}

.dt-post-byline .dt-separator {
  color: var(--dt-border-medium);
}

/* Post Content Typography */
.single-post .entry-content,
.single-post .wp-block-post-content {
  font-family: var(--dt-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--dt-text-secondary);
}

.single-post .entry-content p,
.single-post .wp-block-post-content p {
  margin-bottom: var(--dt-spacing-lg);
}

.single-post .entry-content h2,
.single-post .wp-block-post-content h2 {
  font-family: var(--dt-font-headline);
  font-size: 28px;
  font-weight: 700;
  margin-top: var(--dt-spacing-xl);
  margin-bottom: var(--dt-spacing-md);
}

.single-post .entry-content h3,
.single-post .wp-block-post-content h3 {
  font-family: var(--dt-font-headline);
  font-size: 22px;
  font-weight: 700;
  margin-top: var(--dt-spacing-lg);
  margin-bottom: var(--dt-spacing-md);
}

/* ============================================
   FOOTER STYLING
   ============================================ */

footer,
.wp-block-template-part[data-slug="footer"] {
  background: var(--dt-bg-dark);
  color: white;
  padding: var(--dt-spacing-xxl) var(--dt-spacing-md);
  margin-top: var(--dt-spacing-xxl);
}

footer a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.2s;
}

footer a:hover {
  opacity: 1;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.dt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--dt-spacing-md);
}

.dt-section {
  margin-bottom: var(--dt-spacing-xxl);
}

.dt-divider {
  border: none;
  border-top: 1px solid var(--dt-border-light);
  margin: var(--dt-spacing-xl) 0;
}
