:root {
  --navy: #1a2744;
  --gold: #b8955a;
  --gold-light: #d4a96a;
  --cream: #faf8f5;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #9ca3af;
  --gray-700: #374151;
  --text: #1f2937;
  --electric-blue: #1e5fa8;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
}

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

body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }

a { color: var(--electric-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Header ── */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; position: relative; }

.logo { color: var(--white); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo span { color: var(--gold); }
.logo svg { width: 28px; height: 28px; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; text-decoration: none; transition: color 0.15s; white-space: nowrap; }
.nav-links a:hover { color: var(--gold); text-decoration: none; }

.nav-cta { background: var(--gold); color: var(--navy) !important; padding: 0.4rem 1rem; border-radius: var(--radius); font-weight: 600; }
.nav-cta:hover { background: var(--gold-light); color: var(--navy) !important; }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, rgba(26,39,68,0.97) 0%, rgba(36,53,96,0.95) 60%, rgba(30,74,138,0.92) 100%); color: var(--white); padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.hero-content { position: relative; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }

.hero-search-wrap { display: flex; max-width: 540px; margin: 0 auto 2rem; background: var(--white); border-radius: 50px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.hero-search-wrap input { flex: 1; border: none; padding: 0.85rem 1.25rem; font-size: 1rem; outline: none; color: var(--text); }
.hero-search-wrap button { background: var(--gold); border: none; padding: 0.85rem 1.5rem; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 0.95rem; transition: background 0.15s; }
.hero-search-wrap button:hover { background: var(--gold-light); }

.hero-trust { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.hero-trust strong { color: var(--white); }

.article-hero { background: var(--navy); color: var(--white); padding: 3.5rem 0 3rem; }
.article-hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 0.75rem; max-width: 820px; }
.article-hero .article-sub { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 700px; }
.article-meta { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

.featured-image { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.featured-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

/* ── Sections ── */
.section { padding: 4rem 0; }
.section--gray { background: var(--gray-100); }
.section--navy { background: var(--navy); color: var(--white); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.section--navy .section-header h2 { color: var(--white); }
.section-header p { color: var(--gray-700); font-size: 1.05rem; }
.section--navy .section-header p { color: rgba(255,255,255,0.75); }

.divider { width: 48px; height: 4px; background: var(--gold); border-radius: 2px; margin: 0.75rem auto 0; }

/* ── Listing Cards ── */
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }

.listing-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.listing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.card-header { padding: 1rem 1rem 0.5rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a:hover { color: var(--electric-blue); text-decoration: underline; }

.card-body { padding: 0 1rem 0.75rem; flex: 1; }
.rating-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.stars { color: #f59e0b; letter-spacing: 1px; font-size: 0.9rem; }
.rating-num { font-size: 0.85rem; color: var(--gray-700); }
.card-address { font-size: 0.85rem; color: var(--gray-700); margin-bottom: 0.5rem; }
.card-phone { font-size: 0.85rem; margin-bottom: 0.25rem; }
.card-phone a { color: var(--electric-blue); }
.card-site { font-size: 0.85rem; }

.card-footer { padding: 0.75rem 1rem; border-top: 1px solid var(--gray-100); display: flex; gap: 0.5rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.55rem 1.1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.15s; border: 2px solid transparent; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--electric-blue); border-color: var(--electric-blue); color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); text-decoration: none; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }

/* ── Badges ── */
.badge { display: inline-flex; align-items: center; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.badge-gold { background: #fef3c7; color: #92400e; }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-featured { background: var(--gold); color: var(--navy); }

/* ── Sponsor Banner ── */
.sponsor-banner { background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.5rem 2rem; margin-bottom: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sponsor-banner-left { display: flex; align-items: center; gap: 1rem; }
.sponsor-logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--gray-200); }
.sponsor-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.sponsor-info p { font-size: 0.875rem; color: var(--gray-700); }
.sponsor-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); }

/* ── Search Bar (directory page) ── */
.search-section { background: var(--navy); padding: 2rem 0; }
.search-bar-wrap { display: flex; background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); max-width: 600px; }
.search-bar-wrap input { flex: 1; border: none; padding: 0.85rem 1.25rem; font-size: 1rem; outline: none; color: var(--text); }
.search-bar-wrap button { background: var(--gold); border: none; padding: 0.85rem 1.25rem; font-weight: 700; color: var(--navy); cursor: pointer; font-size: 0.95rem; }
.filter-row { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.filter-row select { padding: 0.6rem 1rem; border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.9rem; cursor: pointer; }
.filter-row select option { background: var(--navy); color: var(--white); }
#results-count { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 0.75rem; }

/* ── Detail page ── */
.detail-hero { background: var(--navy); color: var(--white); padding: 2.5rem 0 2rem; }
.detail-hero h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0.75rem; }
.detail-meta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.detail-contact { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.detail-contact a { color: var(--gold); text-decoration: none; font-weight: 600; }
.detail-contact a:hover { text-decoration: underline; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }

.info-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; box-shadow: var(--shadow); }
.info-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gold); display: inline-block; }
.info-card p, .info-card li { font-size: 0.9rem; color: var(--gray-700); line-height: 1.6; }
.info-card ul { padding-left: 1.25rem; }
.info-card ul li { margin-bottom: 0.25rem; }

.street-view-img { width: 100%; border-radius: var(--radius); margin-bottom: 1rem; aspect-ratio: 16/9; object-fit: cover; }

/* ── FAQ ── */
.faq-section { padding: 3rem 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.25rem 0; }
.faq-question { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.faq-answer { font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }

/* ── CTA Strip ── */
.cta-strip { background: linear-gradient(135deg, var(--electric-blue), var(--navy)); color: var(--white); padding: 2.5rem 0; text-align: center; }
.cta-strip h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.cta-strip p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.cta-strip-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-img { height: 180px; background: linear-gradient(135deg, var(--navy), var(--electric-blue)); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 3rem; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card p { font-size: 0.875rem; color: var(--gray-700); flex: 1; }
.blog-card a.read-more { color: var(--electric-blue); font-size: 0.875rem; font-weight: 600; margin-top: 0.75rem; display: inline-block; }

.article-body { max-width: 780px; padding: 2.5rem 0; }
.article-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 1.5rem 0 0.5rem; }
.article-body p { margin-bottom: 1rem; line-height: 1.75; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: 0.4rem; line-height: 1.65; }

.article-callout { background: #eff6ff; border-left: 4px solid var(--electric-blue); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.article-callout strong { color: var(--navy); display: block; margin-bottom: 0.25rem; }

.author-box { background: var(--gray-100); border-radius: var(--radius); padding: 1.5rem; margin-top: 2.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-size: 1.25rem; flex-shrink: 0; }
.author-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.author-info p { font-size: 0.85rem; color: var(--gray-700); }

.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1.5rem 0; }
.compare-table th { background: var(--navy); color: var(--white); padding: 0.75rem 1rem; text-align: left; }
.compare-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--gray-200); }
.compare-table tr:nth-child(even) td { background: var(--gray-100); }

/* ── Category tiles (homepage hub — 4 niches) ── */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.category-tile { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; text-decoration: none; color: var(--text); transition: box-shadow 0.2s, transform 0.2s; }
.category-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.category-tile .icon { font-size: 2.25rem; margin-bottom: 0.5rem; }
.category-tile h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 0.25rem; }
.category-tile p { font-size: 0.85rem; color: var(--gray-700); }

/* ── Tools ── */
.tool-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.tool-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.tool-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.calc-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.35rem; display: block; }
.form-group select, .form-group input[type=range] { width: 100%; padding: 0.6rem 0.85rem; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 0.95rem; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.5rem; }
.checkbox-grid label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; cursor: pointer; }
.estimate-output { background: var(--gray-100); border-radius: var(--radius); padding: 1.5rem; margin-top: 1.5rem; }
.estimate-range { font-size: 2rem; font-weight: 800; color: var(--navy); }
.breakdown-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; margin-top: 1rem; }
.breakdown-table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--gray-200); }
.breakdown-table tr:last-child td { font-weight: 700; border-bottom: none; }

.compare-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.compare-slot { background: var(--gray-100); border: 2px dashed var(--gray-200); border-radius: var(--radius); padding: 1.25rem; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.compare-slot.filled { background: var(--white); border: 2px solid var(--navy); }
.compare-slot h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); }
.remove-btn { font-size: 0.75rem; color: #dc2626; cursor: pointer; background: none; border: none; margin-top: 0.35rem; }

.search-results-list { border: 1px solid var(--gray-200); border-radius: var(--radius); max-height: 260px; overflow-y: auto; }
.search-result-item { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-100); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.search-result-item:hover { background: var(--gray-100); }
.search-result-item:last-child { border-bottom: none; }

/* ── AdSense ── */
.adsense-placeholder { background: var(--gray-100); border: 2px dashed var(--gray-400); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.05em; margin: 1rem auto; }
.adsense-placeholder--rectangle { width: 300px; height: 250px; }
.adsense-center { text-align: center; display: flex; justify-content: center; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.sep { margin: 0 0.4rem; }

/* ── Footer ── */
.site-footer { background: #0f1828; color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col p { font-size: 0.85rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 0.85rem; text-decoration: none; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.8rem; }
.rss-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--gold); font-size: 0.85rem; text-decoration: none; }
.rss-link:hover { text-decoration: underline; }
.rss-link svg { width: 16px; height: 16px; fill: var(--gold); }

/* ── Advertise ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.pricing-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; position: relative; }
.pricing-card.featured { border-color: var(--gold); }
.pricing-card.featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--navy); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.75rem; border-radius: 20px; white-space: nowrap; }
.pricing-tier { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.25rem; font-weight: 800; color: var(--navy); margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1rem; color: var(--gray-400); font-weight: 400; }
.pricing-features { list-style: none; margin: 1rem 0 1.5rem; text-align: left; }
.pricing-features li { font-size: 0.875rem; padding: 0.35rem 0; border-bottom: 1px solid var(--gray-100); display: flex; align-items: flex-start; gap: 0.5rem; }
.pricing-features li::before { content: '✓'; color: #16a34a; font-weight: 700; flex-shrink: 0; }
.scarcity-note { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 0.75rem 1rem; font-size: 0.875rem; color: #dc2626; margin-top: 1rem; }

/* ── Other listings section ── */
.other-listings { padding: 3rem 0; background: var(--gray-100); }

/* ── Misc ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ── Blog index hero ── */
.blog-index-hero { background: var(--navy); color: var(--white); padding: 3rem 0; text-align: center; }
.blog-index-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
.blog-index-hero p { color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

/* ── Article / tool layout (responsive 2-col) ── */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; padding-top: 2rem; }
.calc-layout    { display: grid; grid-template-columns: 1fr 1fr;   gap: 2rem;   align-items: start; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-layout aside { order: -1; }
  .calc-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-slots { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Hamburger nav */
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 0.85rem 0; font-size: 1rem; min-height: 44px; }
  .nav-cta { background: transparent; padding: 0.85rem 0; }

  /* Hero */
  .hero { padding: 3rem 0 2.5rem; }
  .hero-search-wrap { margin: 0 0 1.5rem; }
  .hero-trust { gap: 0.75rem; font-size: 0.8rem; }

  /* Sponsor banner */
  .sponsor-banner { flex-direction: column; gap: 1rem; }

  /* Sections */
  .section { padding: 2.5rem 0; }
  .faq-section { padding: 2rem 0; }

  /* Article */
  .article-body { padding: 1.5rem 0; }
  .article-body h2 { font-size: 1.25rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Tables */
  .compare-table { font-size: 0.8rem; }
  .compare-table th, .compare-table td { padding: 0.5rem 0.6rem; }
  .compare-table th:first-child, .compare-table td:first-child { min-width: 90px; }

  /* Tools */
  .pricing-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Buttons */
  .btn { min-height: 44px; }
  .cta-strip-buttons { flex-direction: column; align-items: center; }
  .cta-strip-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.5rem; }
  .detail-contact { flex-direction: column; }
  .detail-contact .btn { width: 100%; justify-content: center; }
  .article-meta { gap: 0.75rem; font-size: 0.8rem; }
  .compare-slots { grid-template-columns: 1fr; }
  .adsense-placeholder--rectangle { width: 100%; max-width: 300px; }
  .filter-row { flex-direction: column; }
  .filter-row select { width: 100%; }
  .breakdown-table { font-size: 0.8rem; }
}
