/* ACTIVE CACHE-BUSTED CSS: pulse-style-v20260516-0830.css generated 2026-05-16 08:30. Upload this file with the HTML pages. */
/* ================================================================
   Canada's Pulse — Shared Stylesheet
   Covers: layout, navigation, cards, footer, utilities
   Page-specific hero/theme styles live in each HTML file
   ================================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:      #102033;
  --primary2:     #07111f;
  --accent:       #c2410c;
  --accent2:      #0f766e;
  --ai-blue:      #2563eb;
  --ai-purple:    #7c3aed;
  --ai-cyan:      #0891b2;
  --green:        #059669;
  --green-dark:   #047857;
  --green-light:  #ecfdf5;
  --orange:       #ea580c;
  --gold:         #f59e0b;
  --purple:       #6d28d9;
  --blue:         #2563eb;
  --light:        #f7f3eb;
  --card-bg:      #ffffff;
  --text:         #1f2933;
  --muted:        #64748b;
  --border:       #e8ded1;
  --soft:         #fffaf2;
  --radius:       18px;
  --shadow:       0 10px 30px rgba(16,32,51,0.09);
  --shadow-lg:    0 20px 55px rgba(16,32,51,0.16);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BODY ===== */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--light);
  color: var(--text);
  min-height: 100vh;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.shared-site-nav {
  background: #1a1a2e;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  font-family: 'Inter', 'Segoe UI', sans-serif;
}
.shared-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  flex-wrap: wrap;
}
.shared-brand {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: .5px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 8px;
}
.shared-brand span { color: #e94560; }

.shared-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}
.shared-links a {
  color: #ccc;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 7px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.shared-links a:hover {
  color: #fff;
  background: rgba(233,69,96,.15);
}
.shared-links a.active {
  color: #fff;
  background: #e94560;
}
.shared-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 6px 8px;
  line-height: 1;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .shared-nav-inner {
    height: auto;
    padding: 10px 16px;
    flex-wrap: wrap;
  }
  .shared-nav-toggle { display: block; }
  .shared-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
    gap: 2px;
  }
  .shared-links.open { display: flex; }
  .shared-links a {
    width: 100%;
    padding: 10px 12px;
    font-size: .9rem;
  }
}

/* ================================================================
   TICKER
   ================================================================ */
.ticker-wrap {
  background: var(--accent);
  overflow: hidden;
  padding: 8px 0;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
}
.ticker:hover { animation-play-state: paused; }
.ticker span {
  padding: 0 40px;
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
}
.ticker-sep { color: rgba(255,255,255,.4); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 48px 0; }

.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1000px) {
  .main-layout { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ================================================================
   SECTION TITLES
   ================================================================ */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
  margin-left: 12px;
}
.section-sub {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 24px;
}

/* ================================================================
   CATEGORY TABS
   ================================================================ */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-tab {
  background: var(--card-bg);
  border: 2px solid #e0e0e0;
  color: var(--text);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}
.cat-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.cat-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ================================================================
   HERO BADGE (shared across pages)
   ================================================================ */
.hero-badge {
  display: inline-block;
  background: rgba(251,191,36,.15);
  border: 1px solid rgba(251,191,36,.5);
  color: #fbbf24;
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ================================================================
   FEATURED STORY
   ================================================================ */
.featured-story {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 6px solid var(--accent);
  animation: slideIn .6s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (max-width: 768px) {
  .featured-story { grid-template-columns: 1fr; }
}
.featured-img {
  height: 320px;
  overflow: hidden;
  position: relative;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.featured-story:hover .featured-img img { transform: scale(1.05); }
.feat-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.featured-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feat-label {
  font-size: .75rem;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.feat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.feat-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.feat-meta {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================================================================
   NEWS CARDS
   ================================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
  margin-bottom: 24px;
}
.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.news-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  border-color: var(--accent);
}
.news-img {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.news-card:hover .news-img img { transform: scale(1.07); }
.news-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.news-badge-time {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,.7);
  color: #fff;
  font-size: .7rem;
  padding: 3px 9px;
  border-radius: 6px;
}
.news-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-title {
  font-family: 'Syne', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 12px;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: .77rem;
  color: var(--muted);
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}
.news-source {
  font-weight: 700;
  color: var(--accent);
}

/* ================================================================
   TOPIC CARDS
   ================================================================ */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.topic-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  border-top: 4px solid var(--accent);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,0,0,.14);
}
.topic-icon { font-size: 2.2rem; margin-bottom: 12px; }
.topic-title {
  font-family: 'Syne', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.topic-desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.5;
}
.topic-count {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 700;
  margin-top: 10px;
}
.topic-img {
  height: 140px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
  margin: -24px -24px 16px -24px;
  position: relative;
}
.topic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.topic-card:hover .topic-img img { transform: scale(1.06); }

/* ================================================================
   TRENDING LIST
   ================================================================ */
.trending-list {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}
.trending-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  transition: background .2s;
}
.trending-item:last-child { border-bottom: none; }
.trending-item:hover { background: #fff9fb; }
.trend-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  font-size: .82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trend-num.hot {
  background: linear-gradient(135deg, #ff6b35, #e94560);
}
.trend-info { flex: 1; min-width: 0; }
.trend-title {
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.35;
  margin-bottom: 3px;
}
.trend-meta { font-size: .75rem; color: var(--muted); }
.trend-cat {
  font-size: .7rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(233,69,96,.1);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar-widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}
.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.widget-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: var(--text);
  font-size: .88rem;
  font-weight: 600;
  transition: color .2s;
}
.widget-link:last-child { border-bottom: none; }
.widget-link:hover { color: var(--accent); }
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .86rem;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--muted); }
.stat-value { font-weight: 800; color: var(--primary); }

/* ================================================================
   PROGRESS BAR
   ================================================================ */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0;
  z-index: 200;
  transition: width .1s;
}

/* ================================================================
   COMMON BUTTONS
   ================================================================ */
.cta-btn {
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  font-family: 'Inter', sans-serif;
  border: none;
}
.cta-primary   { background: var(--accent); color: #fff; }
.cta-primary:hover { background: #c73652; transform: translateY(-2px); }
.cta-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
}
.cta-secondary:hover { background: rgba(255,255,255,.1); }
.cta-green     { background: var(--green); color: #fff; }
.cta-green:hover { background: #059669; transform: translateY(-2px); }
.cta-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  color: #fff;
}
.cta-outline:hover { background: rgba(255,255,255,.1); }

.source-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .2s;
}
.source-btn:hover { background: #c73652; }

/* ================================================================
   AD SLOTS
   ================================================================ */
.ad-banner {
  background: #e8e8e8;
  text-align: center;
  padding: 12px;
  font-size: .78rem;
  color: #999;
  border-bottom: 1px solid #ddd;
}
.ad-slot {
  display: inline-block;
  width: 728px;
  height: 90px;
  background: #d5d5d5;
  line-height: 90px;
  border-radius: 6px;
  max-width: 100%;
  font-size: .8rem;
  color: #aaa;
}
.ad-inline {
  background: #f0f0f0;
  border-radius: var(--radius);
  text-align: center;
  padding: 16px;
  margin: 32px 0;
}
.ad-slot-rect {
  display: inline-block;
  width: 336px;
  height: 280px;
  background: #ddd;
  line-height: 280px;
  border-radius: 8px;
  color: #aaa;
  font-size: .8rem;
  max-width: 100%;
}
.ad-label { font-size: .7rem; color: #bbb; margin-bottom: 6px; }

/* ================================================================
   NOTICE / ALERT BOXES
   ================================================================ */
.notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .85rem;
  color: #795548;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--primary);
  color: #aaa;
  padding: 48px 24px 24px;
  margin-top: 64px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p  { font-size: .85rem; line-height: 1.6; }
.footer-col a {
  display: block;
  color: #888;
  text-decoration: none;
  font-size: .85rem;
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #2a2a4a;
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
}
.footer-bottom a {
  color: #888;
  text-decoration: none;
  margin: 0 8px;
}
.footer-bottom a:hover { color: var(--accent); }
#last-updated { color: var(--accent); font-weight: 600; }

/* ================================================================
   RESPONSIVE UTILITIES
   ================================================================ */
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 24px; }
  .feat-title { font-size: 1.4rem; }
}

/* ================================================================
   NEWSLETTER SIGNUP WIDGET (sitewide)
   ================================================================ */
.newsletter-strip {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 60%, #e94560 140%);
  color: #fff;
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-strip::before {
  content: '📬';
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  opacity: .08;
  pointer-events: none;
}
.newsletter-strip-inner { max-width: 560px; margin: 0 auto; }
.newsletter-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.newsletter-strip p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  margin-bottom: 22px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: none;
  font-size: .9rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  color: #1a1a2e;
}
.newsletter-form button {
  padding: 13px 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: #c73652; transform: translateY(-1px); }
.newsletter-success {
  display: none;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: .9rem;
  margin-top: 14px;
  color: #fff;
}
.newsletter-strip .nl-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.newsletter-strip .nl-badge {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ================================================================
   EXPLORE MORE SECTION (sitewide cross-linking)
   ================================================================ */
.explore-more {
  background: #f8f8fc;
  padding: 48px 24px;
  border-top: 1px solid #e8e8ee;
}
.explore-more-inner { max-width: 1200px; margin: 0 auto; }
.explore-more h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--primary);
}
.explore-more-sub {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}
.explore-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--primary);
  transition: transform .22s, box-shadow .22s;
  display: block;
  border: 2px solid transparent;
}
.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.explore-card-icon { font-size: 2rem; margin-bottom: 8px; }
.explore-card-label {
  font-weight: 800;
  font-size: .82rem;
  line-height: 1.3;
}
@media(max-width:600px){
  .explore-grid { grid-template-columns: repeat(3,1fr); }
}

/* ================================================================
   ADDITIONAL FIXES — required for live server compatibility
   ================================================================ */

/* Ensure topic cards never overflow on small screens */
@media (max-width: 480px) {
  .topics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .topic-img { height: 100px; }
}

/* Prevent news grid from collapsing to 0px on slow-loading pages */
#newsGrid { min-height: 200px; }

/* Ensure the featured strip image never shows broken icon */
.fs-img img, .featured-img img {
  background: #1a1a2e;
  min-height: 100px;
}

/* Fix nav overflow on mid-size screens where 6 tabs wrap badly */
@media (max-width: 1100px) and (min-width: 901px) {
  .shared-links a {
    font-size: .7rem;
    padding: 5px 5px;
  }
}

/* Sidebar sticky offset — accounts for nav height on all pages */
.sidebar-widget[style*="sticky"] {
  top: 68px !important;
}

/* Prevent ticker from causing horizontal scroll on mobile */
.ticker-wrap { overflow: hidden; max-width: 100vw; }

/* Fix explore-card grid on very small phones */
@media (max-width: 380px) {
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Location-aware navigation */
.pulse-location-text { color: var(--accent); }
.pulse-nav-location { font-weight: 800; color: inherit; }
.shared-links a { line-height: 1.25; }
@media (max-width: 1100px) and (min-width: 901px) {
  .shared-links a { font-size: .7rem; padding-left: 5px; padding-right: 5px; }
}


/* ================================================================
   2026 VISUAL REFRESH — warm local magazine palette + readable fonts
   Research-backed choices: Inter/Manrope for UI clarity, Newsreader for
   editorial headlines, warm neutral surfaces, high-contrast navy text,
   and restrained burnt-orange/teal accents.
   ================================================================ */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(194,65,12,.08), transparent 30rem),
    linear-gradient(180deg, #fffaf2 0%, #f7f3eb 44%, #f3efe7 100%);
  color: var(--text);
  line-height: 1.58;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title, .sec-head h2,
.feat-title, .featured-body .feat-title, .featured-story .feat-title,
.hero h1, .page-hero h1, .feature-hero .feat-title,
.feat-event-title, .cb-country {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif !important;
  letter-spacing: -0.025em;
}

.shared-site-nav {
  background: rgba(16,32,51,.96) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 28px rgba(7,17,31,.24);
}
.shared-nav-inner { min-height: 60px; }
.shared-brand {
  font-family: 'Newsreader', Georgia, serif !important;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.shared-brand span { color: #fbbf24 !important; }
.shared-links { gap: 6px; }
.shared-links a {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  color: rgba(255,255,255,.82) !important;
  font-size: .79rem;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.shared-links a:hover {
  background: rgba(251,191,36,.13) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.shared-links a.active {
  background: #f59e0b !important;
  color: #111827 !important;
}

.hero, .page-hero, .country-bar {
  background:
    radial-gradient(circle at 85% 10%, rgba(251,191,36,.18), transparent 22rem),
    linear-gradient(135deg, #07111f 0%, #102033 54%, #0f766e 135%) !important;
}
.hero-badge, .live-pill, .update-badge {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  border-color: rgba(251,191,36,.45) !important;
}

.card, .news-card, .topic-card, .sidebar-widget, .side-panel,
.ecard, .acard, .qa-card, .quiz-card, .quiz-browse-card,
.price-card, .source-card, .featured-story, .feat-event,
.refresh-bar, .country-banner, .loc-banner, .status-bar,
.feed-src, .trending-list, .most-read-item, .picker, .restaurant-card {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  border-color: rgba(16,32,51,.08) !important;
}
.news-card:hover, .topic-card:hover, .ecard:hover, .acard:hover,
.qa-card:hover, .quiz-browse-card:hover, .price-card:hover,
.feed-src:hover, .mtile:hover {
  box-shadow: var(--shadow-lg) !important;
}

.cta-primary, .source-btn, .refresh-btn, .country-banner-btn,
.lbb, .ecard-cta, .btn-quiz, .btn-publish, .sb-btn,
.newsletter-form button {
  background: linear-gradient(135deg, #c2410c, #ea580c) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 18px rgba(194,65,12,.22);
}
.cta-primary:hover, .source-btn:hover, .refresh-btn:hover,
.country-banner-btn:hover, .lbb:hover, .ecard-cta:hover,
.btn-quiz:hover, .btn-publish:hover, .sb-btn:hover,
.newsletter-form button:hover {
  background: linear-gradient(135deg, #9a3412, #c2410c) !important;
}

.cat-tab.active, .hot-tab.active, .cat-chip.active, .cat-btn.active,
.league-tab.active {
  background: #102033 !important;
  color: #fff !important;
  border-color: #102033 !important;
}
.cat-tab:hover, .hot-tab:hover, .cat-chip:hover, .cat-btn:hover,
.league-tab:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.ticker-wrap, .live-ticker { background: #0f766e !important; }
.tick-label { background: #c2410c !important; }
.ticker span, .live-ticker { font-family: 'Manrope','Inter',system-ui,sans-serif; }

.section-title, .sec-head h2, .widget-title, .side-panel h3 {
  color: var(--primary) !important;
}
.section-title::after {
  background: linear-gradient(90deg, #c2410c, rgba(15,118,110,.35), transparent) !important;
}
.news-source, .mtile-src, .trend-cat, .topic-count,
.qa-q-num, .ecard-cat, .src-label, .loc-dot,
.price-card.best .price, .hero h1 em {
  color: var(--accent) !important;
}

input, textarea, select, .picker-search {
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: 12px !important;
  border: 1px solid var(--border) !important;
}
input:focus, textarea:focus, select:focus, .picker-search:focus {
  outline: 3px solid rgba(15,118,110,.18) !important;
  border-color: #0f766e !important;
}

footer {
  background: #102033 !important;
  color: rgba(255,255,255,.78) !important;
}
footer h4 { color: #fff !important; font-family: 'Newsreader', Georgia, serif !important; }
footer a { color: rgba(255,255,255,.82) !important; }
footer a:hover { color: #fbbf24 !important; }
.footer-bottom { border-top-color: rgba(255,255,255,.12) !important; }

@media (max-width: 900px) {
  .shared-links a { border-radius: 12px; font-size: .92rem; }
}


/* ================================================================
   MOBILE-FIRST RESPONSIVE FIXES — May 2026
   Keeps the shared hamburger menu consistent on every page.
   ================================================================ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; }
img, video, iframe { max-width: 100%; height: auto; }
button, a, input, select, textarea { touch-action: manipulation; }

.shared-site-nav { width: 100%; }
.shared-nav-inner {
  width: 100%;
  min-height: 60px;
  height: auto !important;
  gap: 10px;
}
.shared-brand {
  max-width: calc(100vw - 86px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.shared-nav-toggle {
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}
.shared-nav-toggle:focus-visible,
.shared-links a:focus-visible {
  outline: 3px solid rgba(251,191,36,.75);
  outline-offset: 3px;
}

@media (min-width: 901px) {
  .shared-nav-toggle { display: none !important; }
  .shared-links {
    display: flex !important;
    position: static !important;
    width: auto !important;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 900px) {
  .shared-site-nav { position: sticky; top: 0; }
  .shared-nav-inner {
    padding: 9px 14px !important;
    align-items: center;
  }
  .shared-nav-toggle { display: inline-flex !important; margin-left: auto; }
  .shared-nav-toggle::before { content: '☰'; font-size: 1.35rem; line-height: 1; }
  .shared-nav-toggle[aria-expanded="true"]::before { content: '✕'; font-size: 1.18rem; }
  .shared-nav-toggle { font-size: 0 !important; }
  .shared-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    flex-basis: 100% !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease, padding .2s ease, visibility .2s ease;
  }
  .shared-links.open,
  body.nav-open .shared-links {
    max-height: 85vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 10px 0 8px !important;
  }
  .shared-links a {
    width: 100% !important;
    min-height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    font-size: .94rem !important;
    white-space: normal !important;
    line-height: 1.25;
  }
  .container,
  .feature-wrap,
  .section,
  .main-layout,
  .hot-layout,
  .main-2col,
  .two-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .container, .feature-wrap { padding-left: 16px !important; padding-right: 16px !important; }
  .main-layout, .hot-layout, .main-2col, .two-col, .feature, .featured-story, .feat-event {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .news-grid, .mosaic, .events-grid, .attract-grid, .qa-topics-grid,
  .quiz-grid, .price-grid, .source-grid, .topics-grid, .feed-source-grid,
  .explore-grid {
    grid-template-columns: 1fr !important;
  }
  .hero, .page-hero, header { padding: 26px 16px 22px !important; }
  .hero h1, .page-hero h1, header h1 { font-size: clamp(1.75rem, 9vw, 2.45rem) !important; }
  .hero-sub, .hero p, .page-hero p { font-size: .96rem !important; }
  .hero-stats, .hero-meta-bar { gap: 14px !important; }
  .feature-hero { min-height: 300px !important; }
  .cat-strip, .hot-tabs, .category-bar, .cat-tabs, #filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .cat-chip, .hot-tab, .cat-btn, .cat-tab, #filter-bar button { flex: 0 0 auto; }
  table, .gas-table { min-width: 620px; }
  .qa-card-inner { align-items: stretch; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form button { width: 100%; }
  footer .footer-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

@media (max-width: 560px) {
  .shared-brand { font-size: 1.05rem !important; }
  .country-banner, .loc-banner, .refresh-bar, .status-bar { align-items: flex-start !important; }
  .country-banner-btn, .lbb, .sb-btn, .refresh-btn { width: 100%; justify-content: center; }
  .ecard-img, .news-img, .qa-img, .trivia-img, .topic-img, .acard-img { height: 170px !important; }
  .qa-img-side { width: 92px !important; min-width: 92px !important; }
  .feat-event-body, .featured-body, .quiz-body, .creator-form { padding: 18px !important; }
}


/* ================================================================
   CLEAN INDEX-STYLE PAGE HEADER SYSTEM
   Keeps every main page consistent: nav, slim green bar, content.
   ================================================================ */
body.pulse-clean-page .hero,
body.pulse-clean-page .page-hero,
body.pulse-clean-page .local-hero,
body.pulse-clean-page .viral-hero,
body.pulse-clean-page header.buy-hero,
body.pulse-clean-page header.pulse-old-hero,
body.pulse-clean-page > header:not(.keep-header) {
  display: none !important;
}
.pulse-clean-bar {
  background: linear-gradient(90deg, #0f766e 0%, #059669 48%, #16a34a 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 6px 18px rgba(15,118,110,.18);
}
.pulse-clean-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pulse-clean-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
  animation: pulseCleanDot 1.6s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes pulseCleanDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.45;transform:scale(1.25)} }
.pulse-clean-title {
  font-family: 'Manrope','Inter',sans-serif;
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: .94rem;
  white-space: nowrap;
}
.pulse-clean-text {
  font-size: .84rem;
  color: rgba(255,255,255,.9);
  flex: 1 1 280px;
}
.pulse-clean-location {
  font-weight: 900;
  color: #fff7d6;
}
.pulse-clean-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 360px;
  margin-left: auto;
}
.pulse-clean-form input {
  width: min(210px, 48vw);
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255,255,255,.13);
  color: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  outline: none;
  font: 700 .8rem 'Inter',sans-serif;
}
.pulse-clean-form input::placeholder { color: rgba(255,255,255,.78); }
.pulse-clean-form button {
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(255,255,255,.96);
  color: #064e3b;
  border-radius: 999px;
  padding: 7px 12px;
  font: 900 .78rem 'Manrope','Inter',sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.pulse-clean-form button:hover { background:#fff7d6; }
body.pulse-clean-page .container.section,
body.pulse-clean-page .container .section,
body.pulse-clean-page .hot-layout,
body.pulse-clean-page .qa-wrap,
body.pulse-clean-page .viral-wrap,
body.pulse-clean-page .buy-wrap {
  padding-top: 24px !important;
}
body.pulse-clean-page .main-layout { padding-top: 24px !important; }
body.pulse-clean-page .ticker-wrap { display: none !important; }
@media (max-width: 700px) {
  .pulse-clean-bar-inner { gap: 8px; padding: 10px 12px; }
  .pulse-clean-title { width: calc(100% - 24px); font-size: .92rem; }
  .pulse-clean-text { flex-basis: 100%; font-size: .8rem; }
  .pulse-clean-form { width: 100%; margin-left: 0; flex: 1 1 100%; }
  .pulse-clean-form input { flex: 1; width: auto; min-width: 0; }
  .pulse-clean-form button { padding-inline: 10px; }
}


/* Performance update: reserve image space and reduce expensive work below the fold */
img{max-width:100%;height:auto;}
.news-card,.mtile,.ecard,.qa-card,.topic-card,.price-card,.quiz-browse-card,.source-card,.sidebar-widget{content-visibility:auto;contain-intrinsic-size:1px 420px;}
.mosaic,.events-grid,.qa-grid,.news-grid,.price-grid,.topics-grid,.quiz-grid{contain:layout style paint;}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important;}}


/* === Pulse city-owned nav refinement === */
.shared-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.1;
}
.pulse-brand-main { font-weight: 900; letter-spacing: .01em; }
.pulse-brand-comment {
  display: block;
  font-family: 'Manrope','Inter',sans-serif;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  white-space: normal;
  max-width: 250px;
}
.shared-links .pulse-nav-owner {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: 'Newsreader','Georgia',serif;
  font-size: 1.02rem;
  font-weight: 900;
  margin: 0 8px 0 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
}
.shared-links a .pulse-nav-location { display:none!important; }
@media (max-width: 900px) {
  .shared-brand { max-width: calc(100% - 52px); }
  .pulse-brand-comment { font-size: .68rem; max-width: none; }
  .shared-links .pulse-nav-owner {
    width: 100%;
    justify-content: flex-start;
    margin: 8px 0 4px;
    padding: 10px 12px;
    font-size: 1.15rem;
  }
}

/* === Attractions page === */
.attractions-shell { max-width: 1320px; margin: 0 auto; padding: 22px 20px 52px; }
.attractions-top { display:grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-bottom: 22px; }
.attractions-spotlight, .attractions-panel, .attraction-card, .attraction-link-card { background:#fff; border-radius:18px; box-shadow:var(--shadow); overflow:hidden; border:1px solid rgba(15,23,42,.07); }
.attractions-spotlight { display:grid; grid-template-columns: 1.05fr .95fr; min-height: 320px; }
.attractions-spotlight .spot-img { min-height: 320px; background-size:cover; background-position:center; }
.attractions-spotlight .spot-body { padding: 28px; display:flex; flex-direction:column; justify-content:center; }
.attractions-kicker { color:var(--accent); font-weight:900; text-transform:uppercase; letter-spacing:.13em; font-size:.72rem; margin-bottom:8px; }
.attractions-title { font-family:'Newsreader','Georgia',serif; font-size:clamp(2rem,4vw,3.2rem); line-height:1; color:var(--primary); margin:0 0 12px; }
.attractions-copy { color:var(--muted); font-size:.98rem; line-height:1.65; margin-bottom:16px; }
.attractions-actions { display:flex; gap:10px; flex-wrap:wrap; }
.attractions-actions a, .attraction-card a, .attraction-link-card a { color:#fff; text-decoration:none; background:var(--accent); border-radius:999px; padding:9px 14px; font-weight:800; font-size:.82rem; display:inline-flex; }
.attractions-panel { padding:20px; }
.attractions-panel h3, .attractions-section h2 { font-family:'Newsreader','Georgia',serif; color:var(--primary); }
.attractions-panel-list { display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.attractions-pill { display:flex; align-items:center; gap:10px; padding:12px; background:#f8fafc; border-radius:14px; color:var(--text); font-weight:750; }
.attractions-tabs { display:flex; gap:8px; flex-wrap:wrap; margin: 18px 0 22px; }
.attractions-tabs button { border:none; border-radius:999px; padding:9px 15px; background:#fff; color:var(--primary); box-shadow:0 2px 10px rgba(0,0,0,.06); font-weight:850; cursor:pointer; }
.attractions-tabs button.active { background:var(--primary); color:#fff; }
.attractions-section { margin: 28px 0; }
.attractions-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap:16px; }
.attraction-card { display:flex; flex-direction:column; min-height:100%; }
.attraction-card-img { height:155px; background-size:cover; background-position:center; }
.attraction-card-body { padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.attraction-card .tag { color:var(--accent); font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; font-weight:900; }
.attraction-card h3 { font-size:1.05rem; line-height:1.25; margin:0; }
.attraction-card p { color:var(--muted); font-size:.86rem; line-height:1.5; flex:1; }
.attractions-links { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; }
.attraction-link-card { padding:16px; }
.attraction-link-card .mini { font-size:.74rem; color:var(--accent); font-weight:900; text-transform:uppercase; letter-spacing:.1em; }
.attraction-link-card h3 { margin:6px 0 8px; font-size:1rem; }
.attraction-link-card p { color:var(--muted); font-size:.84rem; line-height:1.45; margin-bottom:12px; }
@media (max-width: 900px) { .attractions-top, .attractions-spotlight { grid-template-columns:1fr; } .attractions-spotlight .spot-img { min-height:210px; } }


/* ===== AdSense readiness / richer content sections ===== */
.adsense-content-section{max-width:1120px;margin:36px auto;padding:28px 24px;background:linear-gradient(180deg,#fffdf8,#ffffff);border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 10px 34px rgba(15,23,42,.07);color:#1f2937;line-height:1.7;}
.adsense-content-section h2{font-family:'Newsreader','Playfair Display',serif;font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.15;color:#0f172a;margin:0 0 12px;}
.adsense-content-section h3{font-family:'Manrope','Inter',sans-serif;font-size:1.05rem;color:#0f172a;margin:22px 0 8px;font-weight:900;}
.adsense-content-section p{font-size:1rem;margin:0 0 14px;color:#374151;}
.adsense-content-section .editorial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:18px;}
.adsense-content-section .editorial-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:15px;}
.adsense-content-section .editorial-card strong{display:block;color:#0f172a;margin-bottom:5px;}
.adsense-trust-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;max-width:1120px;margin:20px auto 36px;padding:0 20px;}
.adsense-trust-strip .trust-item{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:14px 16px;box-shadow:0 4px 18px rgba(15,23,42,.05);font-size:.9rem;line-height:1.5;color:#475569;}
.adsense-trust-strip .trust-item b{display:block;color:#0f172a;margin-bottom:3px;}
.footer-col a[href="advertising-policy.html"],.footer-col a[href="local-guide.html"]{font-weight:700;}
@media(max-width:700px){.adsense-content-section{margin:24px 12px;padding:22px 18px;border-radius:18px}.adsense-content-section p{font-size:.95rem}.adsense-trust-strip{margin:16px auto 26px;padding:0 12px}}


/* ===== AdSense readiness / richer content sections ===== */
.adsense-content-section{max-width:1120px;margin:36px auto;padding:28px 24px;background:linear-gradient(180deg,#fffdf8,#ffffff);border:1px solid rgba(15,23,42,.08);border-radius:22px;box-shadow:0 10px 34px rgba(15,23,42,.07);color:#1f2937;line-height:1.7;}
.adsense-content-section h2{font-family:'Newsreader','Playfair Display',serif;font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.15;color:#0f172a;margin:0 0 12px;}
.adsense-content-section h3{font-family:'Manrope','Inter',sans-serif;font-size:1.05rem;color:#0f172a;margin:22px 0 8px;font-weight:900;}
.adsense-content-section p{font-size:1rem;margin:0 0 14px;color:#374151;}
.adsense-content-section .editorial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:18px;}
.adsense-content-section .editorial-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:15px;}
.adsense-content-section .editorial-card strong{display:block;color:#0f172a;margin-bottom:5px;}
.adsense-trust-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;max-width:1120px;margin:20px auto 36px;padding:0 20px;}
.adsense-trust-strip .trust-item{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:14px 16px;box-shadow:0 4px 18px rgba(15,23,42,.05);font-size:.9rem;line-height:1.5;color:#475569;}
.adsense-trust-strip .trust-item b{display:block;color:#0f172a;margin-bottom:3px;}
.footer-col a[href="advertising-policy.html"],.footer-col a[href="local-guide.html"]{font-weight:700;}
@media(max-width:700px){.adsense-content-section{margin:24px 12px;padding:22px 18px;border-radius:18px}.adsense-content-section p{font-size:.95rem}.adsense-trust-strip{margin:16px auto 26px;padding:0 12px}}


/* ================================================================
   PULSE TOPIC INTRO ANIMATIONS — restored for non-index pages
   These live in the active cache-busted stylesheet so the server
   cannot hide the page intros by loading an older CSS file.
   ================================================================ */
.pulse-topic-intro{
  --intro-a:#0f172a;--intro-b:#0f766e;--intro-c:#f59e0b;
  position:relative;overflow:hidden;margin:16px auto 22px;max-width:1320px;min-height:260px;border-radius:28px;
  color:#fff;background:linear-gradient(135deg,var(--intro-a),var(--intro-b) 58%,var(--intro-c));
  box-shadow:0 18px 55px rgba(15,23,42,.22);transition:opacity .62s ease,transform .62s ease,max-height .62s ease,margin .62s ease,border-width .62s ease;
  isolation:isolate;display:block!important;
}
.pulse-topic-intro::before{content:'';position:absolute;inset:-30%;background:conic-gradient(from 90deg,rgba(255,255,255,0),rgba(255,255,255,.34),rgba(255,255,255,.04),rgba(255,255,255,.28),rgba(255,255,255,0));animation:pulseIntroSpin 4.2s ease-in-out forwards;z-index:-2;}
.pulse-topic-intro::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 82% 20%,rgba(255,255,255,.28),transparent 26%),radial-gradient(circle at 14% 82%,rgba(255,255,255,.18),transparent 28%);animation:pulseIntroGlow 1.55s ease-in-out infinite;z-index:-1;}
.pulse-topic-intro.hide{opacity:0;transform:translateY(-12px) scale(.985);max-height:0;min-height:0;margin-top:0;margin-bottom:0;border-width:0;pointer-events:none;}
.pulse-topic-inner{min-height:260px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:24px;padding:34px 42px;position:relative;}
.pulse-topic-icon{width:112px;height:112px;border-radius:30px;display:flex;align-items:center;justify-content:center;font-size:3.6rem;background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 16px 35px rgba(0,0,0,.18);animation:pulseIntroBeat 1.35s ease-in-out infinite;}
.pulse-topic-copy{min-width:0;}
.pulse-topic-kicker{font-family:'Manrope','Inter',sans-serif;font-size:.78rem;font-weight:900;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.78);margin-bottom:8px;}
.pulse-topic-title{font-family:'Newsreader','Playfair Display',Georgia,serif;font-size:clamp(2rem,5vw,4.1rem);line-height:.96;font-weight:800;letter-spacing:-.04em;text-wrap:balance;text-shadow:0 3px 12px rgba(0,0,0,.18);}
.pulse-topic-sub{font-size:clamp(.95rem,2vw,1.1rem);line-height:1.55;color:rgba(255,255,255,.84);max-width:760px;margin-top:12px;}
.pulse-topic-chip{position:absolute;right:32px;top:26px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);font-size:.72rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase;}
.pulse-topic-progress{position:absolute;left:42px;right:42px;bottom:22px;height:6px;border-radius:999px;background:rgba(255,255,255,.22);overflow:hidden;}
.pulse-topic-progress span,.pulse-topic-progress i{display:block;height:100%;width:0;border-radius:999px;background:rgba(255,255,255,.92);animation:pulseIntroProgress 4.2s linear forwards;}
.pulse-topic-intro[data-topic="news"]{--intro-a:#0f172a;--intro-b:#0f766e;--intro-c:#f59e0b;}
.pulse-topic-intro[data-topic="sports"]{--intro-a:#0f172a;--intro-b:#1d4ed8;--intro-c:#16a34a;}
.pulse-topic-intro[data-topic="gas"]{--intro-a:#0f172a;--intro-b:#047857;--intro-c:#f59e0b;}
.pulse-topic-intro[data-topic="restaurants"]{--intro-a:#7f1d1d;--intro-b:#e85d04;--intro-c:#f59e0b;}
.pulse-topic-intro[data-topic="buy-local"]{--intro-a:#064e3b;--intro-b:#0f766e;--intro-c:#fbbf24;}
.pulse-topic-intro[data-topic="deals"]{--intro-a:#581c87;--intro-b:#e85d04;--intro-c:#fbbf24;}
.pulse-topic-intro[data-topic="schools"]{--intro-a:#0f172a;--intro-b:#2563eb;--intro-c:#06b6d4;}
.pulse-topic-intro[data-topic="attractions"]{--intro-a:#0f172a;--intro-b:#0f766e;--intro-c:#fbbf24;}
.pulse-topic-intro[data-topic="hot"]{--intro-a:#7f1d1d;--intro-b:#e11d48;--intro-c:#f59e0b;}
.pulse-topic-intro[data-topic="viral"]{--intro-a:#312e81;--intro-b:#db2777;--intro-c:#06b6d4;}
.pulse-topic-intro[data-topic="gossip"]{--intro-a:#4c0519;--intro-b:#be185d;--intro-c:#f59e0b;}
.pulse-topic-intro[data-topic="qa"]{--intro-a:#172554;--intro-b:#7c3aed;--intro-c:#06b6d4;}
.pulse-topic-intro[data-topic="support"]{--intro-a:#0f172a;--intro-b:#475569;--intro-c:#0f766e;}
@keyframes pulseIntroSpin{0%{transform:rotate(0deg) scale(1);opacity:.42}100%{transform:rotate(155deg) scale(1.06);opacity:.18}}
@keyframes pulseIntroGlow{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes pulseIntroBeat{0%,100%{transform:scale(1)}40%{transform:scale(1.06)}55%{transform:scale(.98)}}
@keyframes pulseIntroProgress{from{width:0}to{width:100%}}
@media(max-width:700px){.pulse-topic-intro{margin:12px 12px 16px;min-height:210px;border-radius:20px}.pulse-topic-inner{grid-template-columns:1fr;gap:10px;min-height:210px;text-align:center;padding:24px 18px 30px}.pulse-topic-icon{width:82px;height:82px;border-radius:22px;font-size:2.4rem;margin:0 auto}.pulse-topic-chip{display:none}.pulse-topic-progress{left:18px;right:18px;bottom:14px}.pulse-topic-title{font-size:clamp(1.9rem,10vw,3rem)}}
@media(prefers-reduced-motion:reduce){.pulse-topic-intro{display:none!important}.pulse-topic-intro *{animation:none!important}}

/* ================================================================
   NAV STABILITY FIX — 2026-05-16
   Keeps “Pulse of [City]” on one stable line so location updates do
   not push the city below the brand or make the page jump/flicker.
   ================================================================ */
.shared-site-nav{
  contain: layout paint;
}
.shared-nav-inner{
  min-height:64px !important;
  height:auto !important;
  align-items:center !important;
  row-gap:0 !important;
}
.shared-brand,
.shared-site-nav .shared-brand{
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:baseline !important;
  justify-content:flex-start !important;
  gap:.24em !important;
  line-height:1 !important;
  min-height:44px !important;
  height:44px !important;
  padding:0 !important;
  white-space:nowrap !important;
  flex:0 0 auto !important;
  max-width:min(430px,42vw) !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  position:relative !important;
  z-index:5 !important;
}
.shared-brand .pulse-brand-main,
.shared-brand .pulse-location-text,
.shared-brand [data-city-word]{
  display:inline !important;
  white-space:nowrap !important;
  line-height:1 !important;
  min-width:0 !important;
}
.shared-brand .pulse-location-text,
.shared-brand [data-city-word]{
  max-width:190px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  vertical-align:baseline !important;
}
.shared-brand .pulse-brand-comment{display:none !important;}
.shared-links{
  min-height:44px !important;
  align-items:center !important;
}
@media (min-width:901px){
  .shared-nav-inner{flex-wrap:nowrap !important;}
  .shared-links{flex:1 1 auto !important; justify-content:flex-end !important; overflow-x:auto !important; scrollbar-width:none;}
  .shared-links::-webkit-scrollbar{display:none;}
}
@media (max-width:900px){
  .shared-nav-inner{flex-wrap:wrap !important; min-height:62px !important;}
  .shared-brand,.shared-site-nav .shared-brand{order:1 !important; max-width:calc(100% - 62px) !important;}
  .shared-nav-toggle{order:2 !important; margin-left:auto !important;}
  .shared-links{order:3 !important;}
}
@media (max-width:420px){
  .shared-brand,.shared-site-nav .shared-brand{font-size:.98rem !important; max-width:calc(100% - 58px) !important;}
  .shared-brand .pulse-location-text,.shared-brand [data-city-word]{max-width:130px !important;}
}
/* Keep the green location bar stable too: title above the city input/buttons on small screens. */
.pulse-clean-bar-inner{align-items:center !important;}
@media (max-width:700px){
  .pulse-clean-title{flex:1 1 100% !important; width:auto !important; white-space:nowrap !important;}
  .pulse-clean-form{order:3 !important;}
}


/* ================================================================
   NAV CENTERING + LIVE LOCAL CONTENT UPDATE (May 2026)
   ================================================================ */
.shared-site-nav.pulse-centered-nav{position:sticky;top:0;z-index:9999;background:#1a1a2e;box-shadow:0 2px 12px rgba(0,0,0,.35)}
.pulse-nav-stacked{max-width:1400px;margin:0 auto;padding:8px 16px 10px;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px;min-height:86px;height:auto!important;box-sizing:border-box}.pulse-brand-centered{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:.28em!important;width:auto!important;min-width:0!important;white-space:nowrap!important;text-align:center!important;margin:0 auto!important;font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.35rem,3vw,2rem)!important;line-height:1.05!important;color:#fff!important;text-decoration:none!important;transform:none!important}.pulse-brand-centered span{display:inline!important;color:#e94560!important;white-space:nowrap!important}.pulse-nav-links{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex-wrap:wrap!important;width:100%!important}.pulse-nav-links a{font-size:.78rem!important;padding:7px 9px!important;border-radius:999px!important}.pulse-nav-links a.active{background:#e94560!important;color:#fff!important}.shared-nav-toggle{align-self:center}@media(max-width:900px){.pulse-nav-stacked{min-height:80px;padding:8px 12px}.pulse-brand-centered{font-size:1.35rem!important}.pulse-nav-links{display:none!important;flex-direction:column!important;align-items:stretch!important}.pulse-nav-links.open{display:flex!important}.pulse-nav-links a{width:100%;text-align:center}.shared-nav-toggle{display:block!important;position:absolute;right:12px;top:14px}}
.pulse-live-local-section{max-width:1320px;margin:34px auto;padding:0 20px}.pulse-live-head{background:linear-gradient(135deg,#1a1a2e,#0f3460 58%,#e94560);color:#fff;border-radius:22px;padding:22px 24px;display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap;box-shadow:0 14px 38px rgba(0,0,0,.18);position:relative;overflow:hidden}.pulse-live-head:before{content:'✨';position:absolute;right:28px;top:2px;font-size:4rem;opacity:.12}.pulse-live-head h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(1.45rem,3vw,2.2rem);margin:0}.pulse-live-head p{margin:4px 0 0;color:rgba(255,255,255,.78);max-width:720px}.pulse-live-refresh{background:#fff;color:#1a1a2e;border:0;border-radius:999px;padding:10px 16px;font-weight:800;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.18)}.pulse-live-refresh:hover{transform:translateY(-2px)}.pulse-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:16px;margin-top:16px}.pulse-live-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,.1);border:1px solid #eee;display:flex;flex-direction:column;min-height:100%;animation:pulseCardIn .45s ease both}.pulse-live-card img{width:100%;height:145px;object-fit:cover;background:#e8e8ee}.pulse-live-card-body{padding:15px}.pulse-live-kicker{display:inline-flex;background:#fff1f3;color:#e94560;border-radius:999px;padding:4px 10px;font-size:.68rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.pulse-live-card h3{font-size:1rem;line-height:1.35;margin:0 0 8px;color:#1a1a2e}.pulse-live-card p{font-size:.85rem;line-height:1.55;color:#5f6470;margin:0 0 10px}.pulse-live-meta{font-size:.75rem;color:#777;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #f0f0f0;padding-top:9px}.pulse-live-loading,.pulse-live-error{grid-column:1/-1;background:#fff;border-radius:16px;padding:24px;text-align:center;color:#666;box-shadow:0 4px 18px rgba(0,0,0,.08)}@keyframes pulseCardIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}


/* ================================================================
   Mobile PageSpeed boost — 2026-05-16
   Keeps desktop design but reduces layout shifts, paint work and
   animation cost on phones.
   ================================================================ */
html{scroll-behavior:auto;}
img,iframe{content-visibility:auto;}
.shared-site-nav,.pulse-brand-row{contain:layout paint;}
@media (max-width: 700px){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important;}
  .ticker,.tick-track,.hero::before,.hero::after,.page-hero::before,.page-hero::after,.floating-icon,.sparkle{animation:none!important;}
  .shared-nav-inner{min-height:48px!important;}
  .shared-links{max-height:70vh;overflow:auto;-webkit-overflow-scrolling:touch;}
  .hero,.page-hero{padding-top:22px!important;padding-bottom:22px!important;}
  .news-grid,.mosaic,.events-grid,.qa-grid,.price-grid,.topics-grid,.attract-grid{content-visibility:auto;contain-intrinsic-size:1px 900px;}
  .ad-inline,.sidebar-widget{content-visibility:auto;contain-intrinsic-size:1px 300px;}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}

/* Restaurants/nav/content update 2026-05-16 */
.pulse-nav-links a{white-space:nowrap}
.pulse-live-card.pulse-rich-card{min-height:100%;}
.pulse-live-address{font-size:.78rem;color:var(--muted,#666);line-height:1.35;margin:8px 0 0;background:rgba(0,0,0,.035);padding:7px 9px;border-radius:8px;}
.pulse-live-card-body p{line-height:1.55;}
@media(max-width:760px){.pulse-nav-links{justify-content:center}.pulse-nav-links a{font-size:.78rem;padding:8px 9px}.pulse-live-card img{max-height:190px;object-fit:cover}}


/* Restaurant intro food-photo reel */
.pulse-topic-intro[data-topic="restaurants"] .pulse-topic-inner{overflow:hidden;}
.restaurant-food-reel{position:absolute;right:24px;bottom:24px;display:flex;gap:10px;align-items:center;max-width:min(48%,520px);pointer-events:none;}
.restaurant-food-shot{width:76px;height:76px;border-radius:22px;object-fit:cover;box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 0 0 1px rgba(255,255,255,.22);border:2px solid rgba(255,255,255,.42);animation:foodFloat 3.8s ease-in-out infinite;}
.restaurant-food-shot:nth-child(2){animation-delay:.35s}.restaurant-food-shot:nth-child(3){animation-delay:.7s}.restaurant-food-shot:nth-child(4){animation-delay:1.05s}.restaurant-food-shot:nth-child(5){animation-delay:1.4s}
@keyframes foodFloat{0%,100%{filter:saturate(1.05);translate:0 0;scale:1}45%{filter:saturate(1.28);translate:0 -10px;scale:1.05}70%{translate:0 3px;scale:.98}}
@media(max-width:850px){.restaurant-food-reel{position:relative;right:auto;bottom:auto;max-width:100%;justify-content:center;margin:6px auto 0;grid-column:1/-1}.restaurant-food-shot{width:58px;height:58px;border-radius:18px}.restaurant-food-shot:nth-child(n+5){display:none}}


/* CSS cache-bust release: 20260516-cachefix-1. Do not reference bare style.css from HTML pages. */


/* Attractions page: live-first layout and AllCanada travel planner */
.attractions-page .pulse-attractions-live-top{margin-top:0;margin-bottom:24px;border:1px solid rgba(233,69,96,.14);background:linear-gradient(135deg,#fff,#fff7fb 55%,#eef6ff);}
.attractions-page .pulse-live-local-section .pulse-live-grid>.pulse-source-strip{grid-column:1/-1;}
.attractions-page .allcanada-promo{max-width:1320px;margin:0 auto 28px;display:grid;grid-template-columns:minmax(260px,.9fr) 1.4fr;gap:18px;align-items:stretch;}
.attractions-page .allcanada-promo[hidden]{display:none!important;}
.attractions-page .allcanada-hero-card{background:linear-gradient(135deg,#0f172a,#12375d 55%,#e94560);color:#fff;border-radius:22px;padding:24px;box-shadow:0 14px 40px rgba(15,23,42,.22);position:relative;overflow:hidden;}
.attractions-page .allcanada-hero-card:after{content:'✈️';position:absolute;right:18px;bottom:10px;font-size:5rem;opacity:.12;transform:rotate(-12deg);}
.attractions-page .allcanada-badge{display:inline-flex;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:6px 12px;font-size:.78rem;font-weight:900;margin-bottom:12px;}
.attractions-page .allcanada-hero-card h2{font-family:'Playfair Display',serif;font-size:clamp(1.45rem,3vw,2.25rem);line-height:1.1;margin:0 0 10px;}
.attractions-page .allcanada-hero-card p{color:rgba(255,255,255,.86);line-height:1.65;font-size:.92rem;margin:0 0 16px;}
.attractions-page .allcanada-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.attractions-page .allcanada-actions a,.attractions-page .allcanada-actions button{border:none;border-radius:999px;padding:10px 14px;font-weight:900;text-decoration:none;cursor:pointer;font-size:.84rem;}
.attractions-page .allcanada-actions a{background:#fff;color:#0f172a;}
.attractions-page .allcanada-actions button{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.35);}
.attractions-page .allcanada-itinerary{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;}
.attractions-page .allcanada-day-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 7px 24px rgba(15,23,42,.08);display:flex;flex-direction:column;}
.attractions-page .allcanada-day-card img{width:100%;height:118px;object-fit:cover;background:#e5e7eb;}
.attractions-page .allcanada-day-card div{padding:13px;display:flex;flex-direction:column;gap:7px;flex:1;}
.attractions-page .allcanada-day-card span{font-size:.72rem;font-weight:900;color:#e94560;text-transform:uppercase;letter-spacing:.06em;}
.attractions-page .allcanada-day-card h3{font-size:.96rem;line-height:1.25;margin:0;color:#0f172a;}
.attractions-page .allcanada-day-card ul{margin:0 0 2px 17px;padding:0;color:#475569;font-size:.8rem;line-height:1.45;}
.attractions-page .allcanada-day-card a{margin-top:auto;color:#e94560;font-weight:900;text-decoration:none;font-size:.8rem;}
@media(max-width:860px){.attractions-page .allcanada-promo{grid-template-columns:1fr}.attractions-page .allcanada-hero-card{border-radius:18px}.attractions-page .allcanada-day-card img{height:135px}}


/* Canada travel promo + universal image stability */
.allcanada-global-promo{background:linear-gradient(90deg,#fff7ed,#eff6ff);border-bottom:1px solid #e5e7eb;color:#1f2937;text-align:center;padding:9px 14px;font-size:.88rem;line-height:1.45;box-shadow:0 2px 8px rgba(15,23,42,.04)}
.allcanada-global-promo a{color:#e94560;font-weight:900;text-decoration:none}.allcanada-global-promo a:hover{text-decoration:underline}
.pulse-story-img-fallback,img[src=""],img:not([src]){background:linear-gradient(135deg,#e5e7eb,#f8fafc)}
/* Buy Local named stores */
.local-store-names{max-width:1240px;margin:22px auto;padding:0 24px}.local-store-names-inner{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 10px 34px rgba(15,23,42,.08);padding:22px}.local-store-names h2{font-family:'Playfair Display',serif;margin:0 0 8px;color:#111827}.local-store-names p{color:#64748b;line-height:1.6;margin:0 0 16px}.local-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.local-store-card{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px;color:#111827;text-decoration:none;display:block}.local-store-card b{display:block;margin-bottom:4px}.local-store-card span{display:block;color:#64748b;font-size:.82rem;line-height:1.4}.local-store-card:hover{border-color:#e94560;transform:translateY(-2px)}
/* Date Night top local module */
.dn-top-local{background:linear-gradient(135deg,#fff,#fff7fb 52%,#eef6ff);border:1px solid #ececf3;border-radius:24px;padding:22px;margin:0 0 28px;box-shadow:0 14px 38px rgba(9,9,23,.08)}.dn-top-local h2{font-family:'Playfair Display',serif;font-size:clamp(1.6rem,4vw,2.8rem);margin:0 0 8px;color:#171038}.dn-top-local p{color:#5d6070;line-height:1.6;margin:0 0 16px}.dn-restaurant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}.dn-rest-card{background:#fff;border:1px solid #eee;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(9,9,23,.08);text-decoration:none;color:#171038}.dn-rest-card img{width:100%;height:130px;object-fit:cover;display:block}.dn-rest-card div{padding:13px}.dn-rest-card b{display:block;line-height:1.25}.dn-rest-card span{display:block;color:#64748b;font-size:.82rem;margin-top:5px;line-height:1.4}.dn-rest-card small{display:inline-flex;margin-top:9px;background:#fff1f3;color:#e94560;border-radius:999px;padding:4px 9px;font-weight:900;font-size:.68rem}.dn-top-live-family .dn-live{margin-top:0;background:#111827}


/* Buy Local nav highlight + updated nav order */
.shared-links a[href="buylocal.html"],
.shared-links a.pulse-buy-local-nav{
  color:#ffe08a !important;
  font-weight:900 !important;
  text-shadow:0 0 12px rgba(251,191,36,.55) !important;
  border:1px solid rgba(251,191,36,.42) !important;
  background:linear-gradient(135deg,rgba(251,191,36,.18),rgba(233,69,96,.14)) !important;
}
.shared-links a[href="buylocal.html"]:hover,
.shared-links a.pulse-buy-local-nav:hover{
  color:#111827 !important;
  background:linear-gradient(135deg,#fbbf24,#fff3b0) !important;
  box-shadow:0 8px 22px rgba(251,191,36,.34) !important;
}
.shared-links a[href="buylocal.html"].active,
.shared-links a.pulse-buy-local-nav.active{
  color:#111827 !important;
  background:linear-gradient(135deg,#fbbf24,#ffe08a) !important;
  box-shadow:0 8px 24px rgba(251,191,36,.38) !important;
}
.amazon-local-theme-row{margin-bottom:18px;}
