:root {
  --primary: #000000;
  --secondary: #374151;
  --light: #E5E7EB;
  --bg: #F9FAFB;
  --text: #111827;
  --header: #1F2937;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
#site-preloader {
  position: fixed; inset: 0; background: var(--bg); z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; transition: opacity 0.5s, visibility 0.5s;
}
#site-preloader.hidden { opacity: 0; visibility: hidden; }
.category-tag {
  display: inline-block; background: var(--light); color: var(--primary);
  padding: 4px 14px; border-radius: 20px; font-size: 0.75em;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px;
}
.btn-primary {
  display: inline-block; padding: 12px 28px; background: var(--primary);
  color: #fff; text-decoration: none; border-radius: 6px;
  font-weight: 700; transition: all 0.3s; border: 2px solid var(--primary); margin-top: 8px;
}
.btn-primary:hover { background: linear-gradient(135deg, #374151 0%, #000000 100%); color: #fff; box-shadow: 0 6px 20px #00000040; }
.section-title {
  font-size: 1.5em; margin-bottom: 24px; color: var(--text);
  font-weight: 800; position: relative; padding-bottom: 10px;
}
.section-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 50px; height: 4px; background: var(--primary); border-radius: 2px;
}
.tag {
  display: inline-block; background: var(--light); color: var(--primary);
  padding: 3px 10px; border-radius: 12px; font-size: 0.7em;
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}
.site-footer {
  background: var(--text); color: rgba(255,255,255,0.85);
  padding: 50px 20px 30px; text-align: center; margin-top: 60px;
}
.site-footer p { margin-bottom: 12px; }
.site-footer a { color: var(--light); text-decoration: none; font-weight: 600; }
.legal-page { max-width: 800px; margin: 40px auto; padding: 0 24px; line-height: 1.8; }
.legal-page h1 { font-size: 2.2rem; margin-bottom: 8px; color: var(--text); }
.legal-page h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--primary); }
.legal-page p, .legal-page li { color: #4b5563; font-size: 1rem; }
.legal-page ul { padding-left: 22px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }
.hero-borderless { padding: 0; margin: 0; }
.borderless-image { height: 50vh; min-height: 300px; background: linear-gradient(135deg, #0e749040, #2dd4bf30); display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,0.3); font-size: 1.2em; }
.borderless-content { padding: 50px 24px; text-align: center; max-width: 700px; margin: 0 auto; }
.borderless-content h1 { font-size: 2.5em; font-weight: 800; margin-bottom: 12px; }
.borderless-content p { font-size: 1.05em; color: #4b5563; }
.borderless-grid { display: grid; gap: 0; margin: 40px 0; }
.bl-card { background: #fff; }
.bl-card.full { grid-column: span 2; }
.bl-card.full .bl-img { height: 350px; background: #0e7490; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); }
.bl-card.full .bl-body { padding: 40px 24px; text-align: center; }
.bl-card.half { padding: 40px 24px; border-top: 1px solid #0e749020; }
.bl-card.half h3 { font-size: 1.2em; margin: 8px 0; }
.bl-card.half p { color: #4b5563; }
@media (max-width: 768px) { .bl-card.full { grid-column: span 1; } }

/* Gradients & Transparency */

.hero-focus .hero-image,
.hero-express .express-image,
.hero-default .hero-image {
  background: linear-gradient(135deg, #0e749025 0%, #2dd4bf35 50%, #99f6e420 100%) !important;
}

.hero-dna .helix-bar { background: linear-gradient(90deg, #000000, #374151) !important; opacity: 0.6; }

.hero-pulse {
  background: linear-gradient(180deg, #ecfeff 0%, #0e749008 50%, #ecfeff 100%);
}

.hero-globe .globe-ring {
  border: 1px solid #0e749018;
  background: radial-gradient(circle, #99f6e415 0%, transparent 70%);
}

.hero-aztec .step { background: linear-gradient(90deg, #000000, #374151) !important; }

.hero-analysis .chart-bars { background: linear-gradient(180deg, #00000010 0%, #00000005 100%); }

.hero-instant .clock-face {
  background: radial-gradient(circle, #0e749010 0%, transparent 70%);
}

.hero-bridge .bridge-connector { background: linear-gradient(90deg, #000000, #374151); }

.hero-bold .bold-content { background: linear-gradient(135deg, #00000012 0%, #E5E7EB15 100%); }

.hero-observer .panorama-bar {
  background: linear-gradient(90deg, #0e7490, #2dd4bf, #99f6e4, #0e7490);
}

.hero-observer .observer-horizon {
  background: linear-gradient(to bottom, #0e749012, transparent);
}

.hero-plus .layer { background: linear-gradient(90deg, #000000, #374151) !important; }

.hero-borderless .borderless-image {
  background: linear-gradient(135deg, #0e749035 0%, #2dd4bf25 50%, #99f6e415 100%) !important;
}

.hero-breaking .breaking-banner {
  background: linear-gradient(90deg, #dc2626, #ef4444) !important;
}

.hero-republic .republic-emblem {
  background: linear-gradient(135deg, #0e749015, #2dd4bf10);
}

.hero-finance .finance-ticker .t-item {
  background: linear-gradient(135deg, #fff 0%, #0e749008 100%);
}

.hero-monitor .m-card {
  background: linear-gradient(135deg, #fff 0%, #0e749006 100%);
}

.hero-prophet .rays .ray {
  background: linear-gradient(to right, transparent, #99f6e4, transparent);
}

.hero-prophet {
  background: radial-gradient(circle at center, #0e749008 0%, transparent 60%);
}

.hero-radio .wave-container .wave { background: linear-gradient(to top, #000000, #374151) !important; }

.hero-perspective .perspective-vanish {
  background: linear-gradient(180deg, #0e749008, transparent);
}

.hero-community .m-tile { background: linear-gradient(135deg, #000000, #374151) !important; }

/* Card improvements */
.col-card, .pair-card, .rhythm-card, .world-card,
.aztec-card, .an-card, .feed-item, .bridge-card,
.bold-card, .obs-card, .plus-card, .bl-card,
.break-card, .rep-card, .news-card, .fin-card,
.mon-card, .pro-card, .sum-card, .rad-card,
.persp-card, .comm-card, .express-card, .d-article,
.entry, .brief-item, .news-item, .world-card {
  background: linear-gradient(135deg, #fff 0%, #0e749004 100%);
  backdrop-filter: blur(4px);
}

/* Button gradient */
.btn-primary { background: linear-gradient(135deg, #000000 0%, #374151 100%); border: none; box-shadow: 0 4px 14px #00000030; }
.btn-primary:hover { background: linear-gradient(135deg, #374151 0%, #000000 100%); color: #fff; box-shadow: 0 6px 20px #00000040; }

/* Section subtle backgrounds */
.latest-grid,
.timeline-vertical,
.rhythm-grid,
.world-grid,
.express-grid,
.daily-brief,
.aztec-grid,
.analysis-grid,
.instant-feed,
.bridge-grid,
.diary-entries,
.bold-grid,
.observer-grid,
.plus-grid,
.borderless-grid,
.breaking-grid,
.republic-grid,
.news-grid,
.finance-grid,
.monitor-grid,
.prophet-grid,
.summary-grid,
.radio-grid,
.persp-grid,
.comm-grid,
.paired-grid,
.featured-columns,
.daily-columns,
.content-grid {
  position: relative;
}

/* Footer gradient */
.site-footer {
  background: linear-gradient(180deg, #134e4a 0%, #0e7490 100%);
}

/* Header glass effect */
header {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, #0e7490ee 0%, #2dd4bfdd 100%) !important;
}

/* Tag enhancements */
.tag, .category-tag {
  background: linear-gradient(135deg, #99f6e4 0%, #2dd4bf30 100%);
  border: 1px solid #0e749020;
}

/* Image placeholders with subtle patterns */
.hero-image span,
.card-img span,
.rhythm-img span,
.world-img span,
.az-img span,
.pair-img span,
.ex-img span,
.lead-image span,
.bold-img span,
.obs-img span,
.plus-img span,
.bl-img span,
.break-img span,
.rep-img span,
.pro-img span,
.persp-img span,
.comm-mosaic span {
  background: linear-gradient(45deg, #0e749010 25%, transparent 25%, transparent 50%, #0e749010 50%, #0e749010 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smooth transitions */
* {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover glow effects */
.col-card:hover, .pair-card:hover, .rhythm-card:hover, .world-card:hover,
.aztec-card:hover, .an-card:hover, .bridge-card:hover, .bold-card:hover,
.obs-card:hover, .plus-card:hover, .break-card:hover, .rep-card:hover,
.news-card:hover, .fin-card:hover, .pro-card:hover, .sum-card:hover,
.rad-card:hover, .persp-card:hover, .comm-card:hover, .express-card:hover {
  box-shadow: 0 8px 30px #0e749020, 0 2px 8px rgba(0,0,0,0.08);
}

/* ============================================
   ARTICLE CARD ENHANCEMENTS - cms-nuevos3
   Enhanced cards with site color adaptability
   ============================================ */

/* Enhanced Hero Cards */
.hero-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #0e7490), var(--secondary, #2dd4bf));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.hero-card:hover::before {
    opacity: 1;
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
}

.hero-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
}

.hero-card:hover img {
    transform: scale(1.05);
    filter: brightness(1.06);
}

.hero-card .hero-content {
    transition: transform 0.4s ease;
}

.hero-card:hover .hero-content {
    transform: translateY(-4px);
}

/* Enhanced News Cards */
.news-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.98) 100%);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary, #0e7490), var(--secondary, #2dd4bf));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

.news-card:hover::before {
    opacity: 1;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.04);
}

.news-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover img {
    transform: scale(1.06);
}

.news-card .news-content {
    transition: transform 0.3s ease;
    padding: 20px;
}

.news-card:hover .news-content {
    transform: translateY(-2px);
}

.news-card .news-title {
    transition: color 0.3s ease;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.news-card:hover .news-title {
    color: var(--primary, #0e7490);
}

.news-card .news-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
}

.news-card .news-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary, #0e7490);
    margin-bottom: 10px;
    display: inline-block;
    padding: 3px 10px;
    background: var(--light, #99f6e4);
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

/* Enhanced News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Enhanced Custom Cards (rep-card, entry, etc.) */
.rep-card,
.entry,
.col-card,
.pair-card,
.rhythm-card,
.world-card,
.aztec-card,
.an-card,
.feed-item,
.bridge-card,
.bold-card,
.obs-card,
.plus-card,
.bl-card,
.break-card,
.fin-card,
.mon-card,
.pro-card,
.sum-card,
.rad-card,
.persp-card,
.comm-card,
.express-card,
.d-article,
.brief-item,
.news-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.rep-card:hover,
.entry:hover,
.col-card:hover,
.pair-card:hover,
.rhythm-card:hover,
.world-card:hover,
.aztec-card:hover,
.an-card:hover,
.feed-item:hover,
.bridge-card:hover,
.bold-card:hover,
.obs-card:hover,
.plus-card:hover,
.break-card:hover,
.fin-card:hover,
.mon-card:hover,
.pro-card:hover,
.sum-card:hover,
.rad-card:hover,
.persp-card:hover,
.comm-card:hover,
.express-card:hover,
.d-article:hover,
.brief-item:hover,
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card,
.news-card,
.rep-card,
.entry {
    animation: fadeInUp 0.5s ease forwards;
}

.hero-card:nth-child(1) { animation-delay: 0.05s; }
.hero-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(1) { animation-delay: 0.05s; }
.news-card:nth-child(2) { animation-delay: 0.1s; }
.news-card:nth-child(3) { animation-delay: 0.15s; }
.news-card:nth-child(4) { animation-delay: 0.2s; }
.rep-card:nth-child(1) { animation-delay: 0.05s; }
.rep-card:nth-child(2) { animation-delay: 0.1s; }
.entry:nth-child(1) { animation-delay: 0.05s; }
.entry:nth-child(2) { animation-delay: 0.1s; }

/* Section title enhancements */
.section-title {
    font-size: 1.8em;
    margin-bottom: 32px;
    font-weight: 800;
    position: relative;
    padding-bottom: 14px;
}

.section-title::after {
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

/* Button enhancements */
.btn-primary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary:hover { background: linear-gradient(135deg, #374151 0%, #000000 100%); color: #fff; box-shadow: 0 6px 20px #00000040; }

/* Category tag enhancements */
.category-tag,
.tag {
    transition: all 0.3s ease;
}

.category-tag:hover,
.tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-card,
    .news-card,
    .rep-card,
    .entry,
    .hero-card img,
    .news-card img,
    .hero-card .hero-content,
    .news-card .news-content {
        transition: none;
        animation: none;
    }
    
    .hero-card:hover,
    .news-card:hover,
    .rep-card:hover,
    .entry:hover {
        transform: none;
    }
    
    .hero-card:hover img,
    .news-card:hover img {
        transform: none;
    }
}


/* ===== UNIQUE LOADER (graph/bookPagging) ===== */
.loader {
          width: 200px;
          height: 140px;
          background: #979794;
          box-sizing: border-box;
          position: relative;
          border-radius:8px;
          perspective: 1000px;
        }

        .loader:before{
          content: '';
          position: absolute;
          left: 10px;
          right: 10px;
          top: 10px;
          bottom: 10px;
          border-radius:8px;
          background: #f5f5f5  no-repeat;
          background-size: 60px 10px;
          background-image: 	linear-gradient(#ddd 100px, transparent 0) ,
                    linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0);

          background-position: 15px 30px , 15px 60px , 15px 90px,
                    105px 30px , 105px 60px , 105px 90px;
          box-shadow: 0 0 10px rgba(0,0,0,0.25);
        }
        .loader:after {
          content: '';
            position: absolute;
            width: calc(50% - 10px);
            right: 10px;
            top: 10px;
            bottom: 10px;
            border-radius: 8px;
            background: #fff no-repeat;
            background-size: 60px 10px;
            background-image: linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0),
                    linear-gradient(#ddd 100px, transparent 0);
            background-position: 50% 30px ,50% 60px , 50%  90px;
            transform: rotateY(0deg );
            transform-origin: left center;
          animation: paging 1s linear infinite;
        }


        @keyframes paging {
          to {
            transform: rotateY( -180deg );
          }
        }

/* ===== TOPBAR ===== */
.topbar {
  background: linear-gradient(135deg, #0a5f70 0%, #0e7490 100%);
  color: rgba(255,255,255,0.9);
  padding: 8px 0;
  font-size: 0.78em;
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-date { letter-spacing: 0.5px; opacity: 0.9; }
.topbar-social { display: none; }
.topbar-logo { display: block; margin-left: auto; }
.topbar-logo img { height: 32px; width: auto; object-fit: contain; filter: brightness(0) invert(1); }
.topbar-nav { display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.topbar-nav-link { color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 600; font-size: 0.75em; letter-spacing: 0.5px; padding: 6px 12px; border-radius: 4px; transition: all 0.3s; }
.topbar-nav-link:hover { color: #fff; background: rgba(255,255,255,0.15); }
.topbar-nav-link.active { background: rgba(255,255,255,0.2); color: #fff; }
.topbar-social-link {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s;
}
.topbar-social-link:hover { color: #fff; background: rgba(255,255,255,0.15); }

/* ===== COMBINED STICKY HEADER ===== */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 300;
}
.site-header-wrap > .topbar { border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header-wrap > .site-header-newspaper { top: 0; }

/* ===== NEWSPAPER HEADER (removed - using topbar logo only) ===== */

/* ===== WORLD TICKER ===== */
.world-ticker {
  display: flex;
  align-items: stretch;
  background: #134e4a;
  color: #fff;
  overflow: hidden;
  height: 44px;
}
.ticker-world-label {
  background: linear-gradient(135deg, #0e7490 0%, #2dd4bf 100%);
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.8em;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-world-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(to right, #000, #000 95%, transparent); }
.ticker-world-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  gap: 0;
}
.ticker-world-msg {
  padding: 0 32px;
  font-size: 0.88em;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}
.ticker-world-msg:hover { color: #2dd4bf; }
.ticker-world-sep { color: #2dd4bf; padding: 0 16px; font-size: 0.7em; }
.ticker-loading { padding: 0 32px; font-size: 0.85em; opacity: 0.7; }

/* ===== NEWSPAPER FOOTER ===== */
.site-footer-newspaper {
  background: #134e4a;
  padding: 40px 20px 24px;
  margin-top: 60px;
}
.footer-newspaper-inner {
  max-width: 800px;
  margin: 0 auto;
}
.footer-newspaper-brand { text-align: center; margin-bottom: 20px; }
.footer-newspaper-brand img { display: none; }
.footer-newspaper-desc { font-size: 0.85em; color: rgba(255,255,255,0.6); max-width: 500px; margin: 0 auto 16px; line-height: 1.5; }
.footer-newspaper-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto 30px;
}
.footer-col { text-align: center; }
.footer-col-title {
  font-size: 0.7em;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2dd4bf;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #2dd4bf;
  display: inline-block;
}
.footer-col-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col-list li a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85em; transition: color 0.3s; }
.footer-col-list li a:hover { color: #fff; }
.footer-newspaper-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.75em;
  color: rgba(255,255,255,0.5);
}

/* ===== BOOK LOADER ===== */
.book-loader {
  display: flex;
  gap: 8px;
  perspective: 800px;
}
.book-loader-page {
  width: 30px;
  height: 40px;
  background: linear-gradient(135deg, #0e7490 0%, #2dd4bf 100%);
  border-radius: 3px 6px 6px 3px;
  position: relative;
  transform-origin: left center;
}
.book-loader-page.left {
  animation: pageFlipLeft 1.2s ease-in-out infinite;
}
.book-loader-page.right {
  animation: pageFlipRight 1.2s ease-in-out infinite;
  animation-delay: 0.6s;
}
@keyframes pageFlipLeft {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(-120deg); }
}
@keyframes pageFlipRight {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(120deg); }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .edition-tag { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md) !important; }
  .topbar-inner { padding: 8px 16px; }
  .header-newspaper-inner { padding: 16px; }
  .nav-inner { padding: 0 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-newspaper-link { padding: 12px 16px; font-size: 0.8em; }
  .footer-newspaper-cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
  .site-footer { padding: 30px var(--space-sm); }
  .legal-page { padding: 0 var(--space-sm); }
  .news-grid { gap: 20px; }
}

/* ===== MOBILE SPACING FIXES ===== */
@media (max-width: 768px) {
    .container { padding: 0 var(--space-md) !important; }
    .site-footer { padding: 40px var(--space-md) 30px; }
    .legal-page { padding: 0 var(--space-md); }
}

@media (max-width: 600px) {
    .site-footer { padding: 30px var(--space-sm); }
    .legal-page { padding: 0 var(--space-sm); }
    .news-grid { gap: 20px; }
}
