/*
Theme Name: Astra Child - HTown Insider
Template: astra
Version: 1.4
Description: HTown Insider custom child theme
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #002D62;
  --navy-dark: #001A3E;
  --navy-mid: #003580;
  --orange: #EB6E1F;
  --orange-light: #F4852E;
  --cream: #FAFAF7;
  --gray100: #F5F5F3;
  --gray200: #E8E8E4;
  --gray400: #A0A09A;
  --gray600: #6B6B65;
  --text: #1A1A16;
  --white: #ffffff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

body, body.htowner-standalone {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== NAV ====== */
.htowner-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
  width: 100%;
  overflow: hidden;
}

.htowner-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}

.htowner-brand {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-right: 40px;
  flex-shrink: 0;
  text-decoration: none;
}

.htowner-brand-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 2px;
}

.htowner-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.htowner-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.htowner-nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  border: none;
  background: none;
}

.htowner-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.htowner-nav-link.active { color: var(--orange); }

.htowner-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 6px 14px;
  margin: 0 10px;
  flex-shrink: 0;
}

.htowner-weather span { font-size: 12px; font-weight: 700; color: var(--white); }
.htowner-weather small { font-size: 11px; color: rgba(255,255,255,0.55); }

.htowner-cta {
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ====== TICKER ====== */
.htowner-ticker {
  background: var(--orange);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 10;
}

.htowner-ticker-label {
  background: var(--navy-dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.htowner-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: hticker 40s linear infinite;
  will-change: transform;
}

.htowner-ticker-item {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  padding: 0 40px;
  white-space: nowrap;
}

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

/* ====== SHARED ====== */
.htowner-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.htowner-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.htowner-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.htowner-divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin: 16px 0 32px;
}

/* ====== HERO ====== */
.htowner-hero {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.htowner-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.htowner-hero-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.htowner-hero-kicker::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--orange);
}

.htowner-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.htowner-hero-headline em { font-style: normal; color: var(--orange); }

.htowner-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.htowner-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.htowner-btn-primary {
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.htowner-btn-primary:hover { background: var(--orange-light); color: var(--white); }

.htowner-btn-outline {
  background: transparent;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.htowner-btn-outline:hover { border-color: var(--white); color: var(--white); }

.htowner-hero-side {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
}

.htowner-hero-side-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 0;
  display: block;
}

.htowner-mini-card {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.htowner-mini-card:last-child { border-bottom: none; }
.htowner-mini-tag { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.htowner-mini-title { font-family: var(--font-display); font-size: 14px; color: var(--white); line-height: 1.35; font-weight: 700; }

/* ====== COVERS STRIP ====== */
.htowner-covers {
  background: var(--navy);
  padding: 48px 0;
  width: 100%;
}

.htowner-covers-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.htowner-covers-label {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  flex-shrink: 0;
  margin-right: 8px;
}

.htowner-covers-label span { color: var(--orange); display: block; }

.htowner-cover-pill {
  flex: 1;
  min-width: 160px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}

.htowner-cover-pill:hover {
  background: rgba(235,110,31,0.15);
  border-color: rgba(235,110,31,0.4);
}

.htowner-cover-icon { font-size: 26px; margin-bottom: 10px; display: block; }
.htowner-cover-cat { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; display: block; }
.htowner-cover-title { font-family: var(--font-display); font-size: 14px; color: var(--white); line-height: 1.35; font-weight: 700; }

/* ====== CARD GRID ====== */
.htowner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.htowner-card {
  background: var(--white);
  overflow: hidden;
  border-bottom: 3px solid transparent;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
}

.htowner-card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--orange);
  box-shadow: 0 12px 40px rgba(0,45,98,0.12);
}

.htowner-card-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.htowner-card-body { padding: 20px 22px 24px; }
.htowner-card-tag { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block; }
.htowner-card-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.htowner-card-excerpt { font-size: 14px; color: var(--gray600); line-height: 1.65; margin-bottom: 14px; }
.htowner-card-meta { font-size: 11px; color: var(--gray400); font-weight: 500; }

/* ====== CAT HERO ====== */
.htowner-cat-hero {
  background: var(--navy);
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.htowner-cat-hero-inner { max-width: 1200px; margin: 0 auto; }
.htowner-cat-hero-tag { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; display: block; }
.htowner-cat-hero-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); font-weight: 900; color: var(--white); line-height: 1.05; margin-bottom: 16px; }
.htowner-cat-hero-desc { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.7; }

/* ====== FEATURE ARTICLE ====== */
.htowner-feature {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  overflow: hidden;
  width: 100%;
}

.htowner-feature-img { display: flex; align-items: center; justify-content: center; font-size: 80px; min-height: 400px; }
.htowner-feature-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.htowner-feature-tag { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.htowner-feature-tag::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--orange); }
.htowner-feature-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.htowner-feature-excerpt { font-size: 15px; color: var(--gray600); line-height: 1.7; margin-bottom: 24px; }
.htowner-read-more { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); }

/* ====== TOP 5 ====== */
.htowner-top5-hero {
  background: var(--navy-dark);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.htowner-top5-hero::before {
  content: '5';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 400px;
  font-weight: 900;
  color: rgba(235,110,31,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.htowner-top5-inner { position: relative; z-index: 1; }

.htowner-top5-list { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; }

.htowner-top5-item {
  background: var(--white);
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.htowner-top5-item:hover {
  transform: translateX(6px);
  box-shadow: -4px 0 0 var(--orange), 0 8px 24px rgba(0,45,98,0.1);
}

.htowner-top5-num {
  background: var(--navy);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  align-self: stretch;
}

.htowner-top5-text { padding: 16px 20px; }
.htowner-top5-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; display: block; }
.htowner-top5-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); }
.htowner-top5-desc { font-size: 13px; color: var(--gray600); margin-top: 3px; }
.htowner-top5-arrow { color: var(--gray400); font-size: 20px; text-align: center; }

/* ====== CRE STATS ====== */
.htowner-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray200);
  overflow: hidden;
  margin-bottom: 0;
}

.htowner-stat { background: var(--white); padding: 28px 24px; text-align: center; }
.htowner-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 900; color: var(--navy); margin-bottom: 4px; display: block; }
.htowner-stat-num span { color: var(--orange); }
.htowner-stat-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray400); }

.htowner-nbhd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--navy);
  overflow: hidden;
  margin-bottom: 0;
}

.htowner-nbhd { background: var(--navy-mid); padding: 28px 24px; cursor: pointer; transition: background 0.2s; }
.htowner-nbhd:hover { background: var(--orange); }
.htowner-nbhd-type { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block; transition: color 0.2s; }
.htowner-nbhd:hover .htowner-nbhd-type { color: rgba(255,255,255,0.8); }
.htowner-nbhd-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.htowner-nbhd-stat { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.htowner-nbhd:hover .htowner-nbhd-stat { color: rgba(255,255,255,0.85); }

/* ====== NEWSLETTER ====== */
.htowner-newsletter {
  background: var(--navy);
  padding: 72px 24px;
  text-align: center;
  width: 100%;
}

.htowner-newsletter-inner { max-width: 560px; margin: 0 auto; }
.htowner-newsletter-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: var(--white); margin-bottom: 12px; }
.htowner-newsletter-title span { color: var(--orange); }
.htowner-newsletter-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 32px; line-height: 1.6; }

.htowner-nl-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}

.htowner-nl-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-body);
}

.htowner-nl-form input::placeholder { color: rgba(255,255,255,0.35); }

.htowner-nl-form button {
  background: var(--orange);
  border: none;
  padding: 14px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}

/* ====== FOOTER ====== */
.htowner-footer {
  background: var(--navy-dark);
  padding: 48px 24px 24px;
  border-top: 3px solid var(--orange);
  width: 100%;
}

.htowner-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.htowner-footer-brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 10px; display: block; }
.htowner-footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 240px; }
.htowner-footer-col-title { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; display: block; }
.htowner-footer-link { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 10px; text-decoration: none; transition: color 0.2s; }
.htowner-footer-link:hover { color: var(--white); }

.htowner-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* ====== FOOD FILTERS ====== */
.htowner-nbhd-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--gray200); }
.htowner-nbhd-pill { font-size: 11px; font-weight: 600; padding: 6px 16px; border-radius: 100px; border: 1px solid var(--gray200); background: var(--white); color: var(--gray600); cursor: pointer; transition: all 0.2s; }
.htowner-nbhd-pill:hover, .htowner-nbhd-pill.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ====== CONTACT ====== */
.htowner-contact-body { max-width: 1200px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.htowner-contact-info-block { margin-bottom: 20px; }
.htowner-contact-info-label { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; display: block; }
.htowner-contact-info-value { font-size: 14px; color: var(--text); }
.htowner-contact-note { background: var(--navy); padding: 20px; border-left: 3px solid var(--orange); margin-top: 24px; }
.htowner-contact-note p { font-size: 13px; color: rgba(255,255,255,0.8); line-height: 1.7; }

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


/* ====== HERO & CATEGORY BACKGROUND IMAGES ====== */

.htowner-hero-skyline {
  background:
    linear-gradient(to bottom, rgba(0,20,55,0.55) 0%, rgba(0,20,55,0.42) 40%, rgba(0,20,55,0.65) 100%),
    url("https://thehtowninsider.com/wp-content/uploads/2026/06/Houston-skyline-night-scaled.jpg") center 40% / cover no-repeat !important;
}

.htowner-food-hero {
  background:
    linear-gradient(to bottom, rgba(0,20,55,0.65) 0%, rgba(0,20,55,0.50) 40%, rgba(0,20,55,0.70) 100%),
    url("http://thehtowninsider.com/wp-content/uploads/2026/06/lily-banse-YHSwy6uqvk-unsplash-scaled.jpg") center center / cover no-repeat !important;
  min-height: 280px;
}

.htowner-lifestyle-hero {
  background:
    linear-gradient(to bottom, rgba(0,20,55,0.65) 0%, rgba(0,20,55,0.50) 40%, rgba(0,20,55,0.70) 100%),
    url("http://thehtowninsider.com/wp-content/uploads/2026/06/group-fitness-scaled.jpg") center center / cover no-repeat !important;
  min-height: 280px;
}

.htowner-top5-bg {
  background:
    linear-gradient(to bottom, rgba(0,20,55,0.65) 0%, rgba(0,20,55,0.50) 40%, rgba(0,20,55,0.70) 100%),
    url("http://thehtowninsider.com/wp-content/uploads/2026/06/tasha-kostyuk-xEWhTnxISFA-unsplash-scaled.jpg") center 45% / cover no-repeat !important;
  min-height: 280px;
}

.htowner-re-hero {
  background:
    linear-gradient(to bottom, rgba(0,20,55,0.65) 0%, rgba(0,20,55,0.50) 40%, rgba(0,20,55,0.70) 100%),
    url("http://thehtowninsider.com/wp-content/uploads/2026/06/skyscrapers-scaled.jpg") center center / cover no-repeat !important;
  min-height: 280px;
}

/* ====== MOBILE ====== */
@media (max-width: 768px) {

  /* Nav */
  .htowner-nav-links { display: none; }
  .htowner-weather { display: none; }
  .htowner-brand-eyebrow { display: none; }
  .htowner-brand-name { font-size: 16px; }
  .htowner-nav-inner { padding: 0 16px; height: 56px; }

  /* Hero */
  .htowner-hero-inner { grid-template-columns: 1fr; padding: 48px 20px 40px; }
  .htowner-hero-side { display: none; }
  .htowner-hero-headline { font-size: clamp(28px, 8vw, 44px) !important; }
  .htowner-hero-sub { font-size: 15px; }
  .htowner-hero-btns { flex-direction: column; gap: 10px; }
  .htowner-btn-primary, .htowner-btn-outline { text-align: center; width: 100%; }

  /* Background images on mobile - force scroll not fixed */
  .htowner-hero-skyline,
  .htowner-food-hero,
  .htowner-lifestyle-hero,
  .htowner-top5-bg,
  .htowner-re-hero {
    background-attachment: scroll !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
    min-height: 240px !important;
  }

  /* Cat hero text */
  .htowner-cat-hero { padding: 40px 20px !important; }
  .htowner-cat-hero-title { font-size: clamp(28px, 8vw, 44px) !important; }
  .htowner-cat-hero-desc { font-size: 14px; }

  /* Top 5 hero */
  .htowner-top5-hero { padding: 40px 20px !important; }
  .htowner-top5-inner { padding: 0 !important; }

  /* Cards */
  .htowner-cards { grid-template-columns: 1fr !important; gap: 20px !important; }

  /* Covers */
  .htowner-covers-inner { flex-direction: column; padding: 0 16px; }
  .htowner-cover-pill { width: 100%; }

  /* Feature */
  .htowner-feature { grid-template-columns: 1fr !important; }
  .htowner-feature-img { min-height: 200px !important; font-size: 48px !important; }
  .htowner-feature-content { padding: 28px 20px !important; }

  /* Stats */
  .htowner-stat-grid { grid-template-columns: 1fr 1fr !important; }
  .htowner-nbhd-grid { grid-template-columns: 1fr !important; }

  /* Newsletter */
  .htowner-nl-form { flex-direction: column; }
  .htowner-nl-form button { width: 100%; }

  /* Footer */
  .htowner-footer-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  .htowner-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Section */
  .htowner-section { padding: 40px 16px !important; }

  /* Contact */
  .htowner-contact-body { grid-template-columns: 1fr !important; padding: 40px 16px !important; }

  /* Ticker */
  .htowner-ticker-item { font-size: 10px !important; padding: 0 20px !important; }
}

@media (max-width: 480px) {
  .htowner-hero-headline { font-size: 26px !important; }
  .htowner-brand-name { font-size: 14px !important; }
  .htowner-cta { font-size: 10px !important; padding: 7px 10px !important; }
  .htowner-stat-grid { grid-template-columns: 1fr !important; }
}


/* ====== HAMBURGER MENU ====== */
.htowner-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}
.htowner-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}
.htowner-mobile-menu {
  display: none;
  flex-direction: column;
  background: #001A3E;
  border-top: 2px solid #EB6E1F;
  position: sticky;
  top: 56px;
  z-index: 999;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.htowner-mobile-menu.open { display: flex; }
.htowner-mobile-link {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 24px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.htowner-mobile-link:hover { color: #EB6E1F; background: rgba(255,255,255,0.04); }
@media (max-width: 768px) {
  .htowner-hamburger { display: flex !important; }
  .htowner-cta { display: none !important; }
  .htowner-weather { display: none !important; }
  .htowner-nav-links { display: none !important; }
}


/* ====== CRITICAL FIXES ====== */

/* Remove black gap at top caused by Astra admin bar or body padding */
html, body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#wpadminbar {
  display: none !important;
}

/* Hide the leaked mobile menu links that show outside the dropdown */
.htowner-mobile-menu {
  display: none !important;
}
.htowner-mobile-menu.open {
  display: flex !important;
}

/* Desktop: hide hamburger, show nav links */
@media (min-width: 769px) {
  .htowner-hamburger { display: none !important; }
  .htowner-nav-links { display: flex !important; }
  .htowner-cta { display: inline-block !important; }
  .htowner-mobile-menu { display: none !important; }
  .htowner-mobile-menu.open { display: none !important; }
}

/* Mobile: hide nav links, show hamburger */
@media (max-width: 768px) {
  .htowner-nav-links { display: none !important; }
  .htowner-cta { display: none !important; }
  .htowner-weather { display: none !important; }
  .htowner-hamburger { display: flex !important; }
}


/* ====== HAMBURGER FINAL FIX ====== */
nav.htowner-nav .htowner-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-left: 12px;
}
nav.htowner-nav .htowner-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}
@media screen and (max-width: 768px) {
  nav.htowner-nav .htowner-nav-links { display: none !important; }
  nav.htowner-nav .htowner-cta { display: none !important; }
  nav.htowner-nav .htowner-weather { display: none !important; }
  nav.htowner-nav .htowner-hamburger { display: flex !important; }
}
@media screen and (min-width: 769px) {
  nav.htowner-nav .htowner-hamburger { display: none !important; }
}


/* ====== MOBILE WEATHER WIDGET ====== */
.htowner-weather-mobile {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 5px 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.htowner-weather-mobile span {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}
@media screen and (max-width: 768px) {
  .htowner-weather-mobile { display: flex !important; }
  .htowner-weather { display: none !important; }
}


/* ====== MOBILE WEATHER ====== */
.htowner-weather-mobile {
  display: none;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 5px 10px;
  margin-left: auto;
  flex-shrink: 0;
}
.htowner-weather-mobile span {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.htowner-weather-mobile small {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  .htowner-weather-mobile { display: flex !important; }
}


/* ====== MOBILE WEATHER VISIBLE FIX ====== */
@media screen and (max-width: 768px) {
  .htowner-weather-mobile {
    display: flex !important;
    align-items: center;
    gap: 4px;
    background: var(--orange) !important;
    border: none !important;
    border-radius: 4px;
    padding: 5px 10px;
    flex-shrink: 0;
  }
  .htowner-weather-mobile span {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap;
  }
  .htowner-weather-mobile small {
    font-size: 10px !important;
    color: rgba(255,255,255,0.85) !important;
    white-space: nowrap;
  }
}


/* Hide mobile weather on desktop */
@media screen and (min-width: 769px) {
  .htowner-weather-mobile { display: none !important; }
}


/* Hide mobile weather pill on desktop */
@media screen and (min-width: 769px) {
  .htowner-weather-mobile { display: none !important; }
}


/* Hide any Astra default header elements */
#masthead, .site-header, .ast-mobile-header-wrap,
.ast-primary-header-bar, .main-header-bar,
.ast-desktop-header { display: none !important; }

/* Hide duplicate mobile menu links showing outside hamburger */
.htowner-mobile-menu:not(.open) {
  display: none !important;
}


/* ====== KILL ASTRA CONTENT WRAPPER GAP ====== */
.ast-article-single,
.entry-content,
.post-content,
.site-content,
.ast-container,
.content-area,
.site-primary,
#primary,
#content,
.ast-page-builder-template,
.page-content,
.single-content,
.ast-separate-container .ast-article-single:not(.ast-related-post),
.page .ast-article-single {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.ast-page-builder-template .entry-content,
.page-template-page-food .entry-content,
.page-template-page-lifestyle .entry-content,
.page-template-page-top5 .entry-content,
.page-template-page-realestate .entry-content,
.page-template-page-home .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Kill any min-height on Astra content wrappers */
.ast-page-builder-template #content,
.ast-page-builder-template .site-content {
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}




/* ====== PAGINATION ====== */
.htowner-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  flex-wrap: wrap;
}
.htowner-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 0.5px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  background: #fff;
}
.htowner-page-btn:hover {
  background: var(--navy);
  color: #fff;
}
.htowner-page-btn.active {
  background: var(--navy);
  color: #fff;
  pointer-events: none;
}
