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

/* ============================================================
   Sundgren Realty Ã¢â‚¬â€ Main Stylesheet
   KillerGrowth Build | 2026-07
   Colors: #fdf132 (yellow), #000000 (black), #1a1a1a (dark), #fff (white)
   Fonts: Trajan Pro 3 Semibold (headings), SF New Republic SC Bold (body/nav)
   ============================================================ */

/* Self-hosted brand fonts */
@font-face {
  font-family: 'Trajan Pro';
  src: url('/fonts/Trajan Pro Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Trajan Pro';
  src: url('/fonts/Trajan Pro Bold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Trajan Pro';
  src: url('/fonts/Trajan Pro Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF New Republic SC';
  src: url('/fonts/SF New Republic SC.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF New Republic SC';
  src: url('/fonts/SF New Republic SC Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF New Republic SC';
  src: url('/fonts/SF New Republic SC Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'SF New Republic SC';
  src: url('/fonts/SF New Republic SC Bold Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}



:root {
  --yellow: #fdf132;
  --yellow-dark: #d9ac00;
  --dark: #1a1a1a;
  --dark2: #2c2c2c;
  --text: #333;
  --text-light: #666;
  --border: #e5e5e5;
  --bg-light: #f7f7f7;
}

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

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

/* Brand typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Trajan Pro', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav li a, .logo-badge-name, .logo-badge-sub, .app-store-btn {
  font-family: 'SF New Republic SC', 'Helvetica Neue', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--yellow-dark); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Top Bar Ã¢â€â‚¬Ã¢â€â‚¬ */
.top-bar {
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--yellow); }
.top-bar .sep { color: rgba(255,255,255,.4); }
.top-bar .socials { display: flex; gap: 12px; margin-left: auto; }
.top-bar .socials a {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: background .2s, border-color .2s;
}
.top-bar .socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Main Nav Ã¢â€â‚¬Ã¢â€â‚¬ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* allow badge to hang below without clipping */
  overflow: visible;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}
/* Logo badge â€” hangs below the sticky nav */
.logo-badge {
  position: absolute;
  left: 24px;
  top: 0;
  z-index: 1100;
  text-decoration: none;
  display: block;
}
.logo-badge-inner {
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 16px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  /* clip the top edge flush with the header top, hang below */
  border-radius: 0 0 6px 6px;
  min-width: 110px;
  line-height: 1;
}
.logo-badge-symbol {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin-bottom: 6px;
}
.logo-badge-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.logo-badge-name {
  font-family: 'Trajan Pro', Georgia, 'Times New Roman', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--dark);
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-badge-sub {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--dark);
  text-transform: uppercase;
  white-space: nowrap;
}
/* Spacer so nav links don't overlap the badge area */
.logo-spacer {
  width: 160px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li a {
  display: block;
  padding: 28px 14px;
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  transition: color .2s;
  white-space: nowrap;
}
.main-nav li a:hover,
.main-nav li a.active { color: #c00; }
.main-nav li.contact-btn a {
  background: var(--yellow);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 700;
}
.main-nav li.contact-btn a:hover { background: var(--yellow-dark); color: var(--dark); }

/* --- Listings dropdown --- */
.main-nav li.has-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 180px;
  border-top: 3px solid var(--yellow);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.main-nav li.has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block;
  padding: 10px 20px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown li a:hover { color: var(--yellow); background: rgba(255,255,255,0.05); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Container Ã¢â€â‚¬Ã¢â€â‚¬ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Hero Ã¢â€â‚¬Ã¢â€â‚¬ */
.hero {
  position: relative;
  min-height: 480px;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1600&q=80') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero p {
  color: rgba(255,255,255,.92);
  font-size: clamp(13px, 1.8vw, 17px);
  margin: 0 0 28px;
}
.hero-search {
  display: flex;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.hero-search input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  outline: none;
  background: #fff;
}
.hero-search button {
  background: var(--yellow);
  border: none;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--yellow-dark); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Section Defaults Ã¢â€â‚¬Ã¢â€â‚¬ */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Who We Are Ã¢â€â‚¬Ã¢â€â‚¬ */
.about-section { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 20px;
}
.about-text p { color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--yellow-dark); color: var(--dark); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--dark);
  padding: 11px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--dark);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ App CTA Banner Ã¢â€â‚¬Ã¢â€â‚¬ */
.app-banner {
  background: var(--yellow);
  padding: 48px 0;
}
.app-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.app-banner-text {
  flex: 0 1 480px;
}
.app-phone-wrap {
  flex: 0 1 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.app-phone-img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  /* Slide in from right on scroll */
  transform: translateX(120px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
}
.app-phone-img.in-view {
  transform: translateX(0);
  opacity: 1;
}
@keyframes slideInRight {
  from { transform: translateX(120px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
.app-banner h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px;
  text-transform: uppercase;
}
.app-banner .tagline {
  font-size: 15px;
  color: var(--dark2);
  margin: 0 0 16px;
}
.app-banner ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.app-banner ul li {
  font-size: 14px;
  color: var(--dark);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-banner ul li::before { display: none; }
.app-banner ul li i {
  color: var(--dark);
  font-size: 16px;
  flex-shrink: 0;
}
.app-store-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* App phone mockup */
.app-phone-wrap {
  flex-shrink: 0;
  overflow: visible;
}
.app-phone-img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  /* no border-radius or box-shadow — image already has phone frame baked in */
  transform: translateX(80px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
}
.app-phone-img.in-view {
  transform: translateX(0);
  opacity: 1;
}
.app-store-btn {
  background: var(--dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}
.app-store-btn:hover { background: #333; color: #fff; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Cards Ã¢â€â‚¬Ã¢â€â‚¬ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}
.card-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #ccc;
}
.card-body { padding: 20px; }
.card-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.card-badge.sold { background: var(--bg-light); color: var(--text-light); }
.card-badge.pending { background: #1a6b3a; color: #fff; }
.card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
  line-height: 1.4;
}
.card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-meta i { color: var(--yellow-dark); font-size: 12px; }
.card-price { font-size: 18px; font-weight: 800; color: var(--dark); margin: 10px 0 0; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #c00;
  text-decoration: underline;
}
.card-link:hover { color: var(--dark); }

/* Fully clickable card */
.card-wrap { display: block; color: inherit; }
.card-wrap:hover .card { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Breadcrumb Hero (inner pages) Ã¢â€â‚¬Ã¢â€â‚¬ */
.page-hero {
  background: #fdf132;
  min-height: 220px;
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.28) 100%);
}
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 {
  color: #000;
  text-shadow: none;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li { font-size: 13px; color: rgba(0,0,0,.6); }
.breadcrumb li a { color: rgba(0,0,0,.6); }
.breadcrumb li a:hover { color: #000; }
.breadcrumb li.active { color: #000; font-weight: 700; }
.breadcrumb li + li::before { content: '\203A'; margin-right: 8px; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Agents Ã¢â€â‚¬Ã¢â€â‚¬ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}
.agent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: box-shadow .2s;
}
.agent-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.agent-photo {
  width: 100%;
  height: 275px;
  object-fit: cover;
  object-position: top;
  background: var(--bg-light);
}
.agent-photo-placeholder {
  width: 100%;
  height: 275px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #ccc;
}
.agent-info { padding: 20px 16px; }
.agent-name { font-size: 17px; font-weight: 800; color: var(--dark); margin: 0 0 4px; }
.agent-title { font-size: 13px; color: var(--text-light); margin: 0 0 12px; }
.agent-bio { font-size: 13px; color: var(--text-light); line-height: 1.6; margin: 0 0 14px; }
.agent-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}
.agent-btn:hover { background: var(--yellow-dark); color: var(--dark); }

/* Ã¢â€â‚¬Ã¢â€â‚¬ News/Blog Ã¢â€â‚¬Ã¢â€â‚¬ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.news-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--bg-light); }
.news-card-body { padding: 20px; }
.news-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.news-title { font-size: 17px; font-weight: 700; color: var(--dark); margin: 0 0 10px; line-height: 1.4; }
.news-excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0 0 14px; }
.news-link { font-size: 13px; font-weight: 700; color: #c00; text-decoration: underline; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Contact Page Ã¢â€â‚¬Ã¢â€â‚¬ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-block { background: var(--bg-light); border-radius: 6px; padding: 32px; }
.contact-info-block h3 { font-size: 20px; font-weight: 800; margin: 0 0 20px; color: var(--dark); }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-icon {
  width: 42px; height: 42px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--dark);
}
.contact-detail strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 2px; color: var(--dark); }
.contact-detail span { font-size: 14px; color: var(--text-light); }
.contact-detail a { color: var(--text-light); }
.contact-detail a:hover { color: #c00; }

/* Contact Form */
.contact-form h3 { font-size: 24px; font-weight: 800; margin: 0 0 24px; color: var(--dark); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--yellow-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Ã¢â€â‚¬Ã¢â€â‚¬ Footer Ã¢â€â‚¬Ã¢â€â‚¬ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo .logo-box { padding: 10px 14px; }
.footer-logo .logo-box .logo-name { font-size: 15px; }
.footer-nap { font-size: 14px; line-height: 1.8; }
.footer-nap a { color: rgba(255,255,255,.8); }
.footer-nap a:hover { color: var(--yellow); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,.7);
  transition: background .2s, border-color .2s;
}
.footer-socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 24px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* Ã¢â€â‚¬Ã¢â€â‚¬ Auction-specific styles Ã¢â€â‚¬Ã¢â€â‚¬ */
.auction-hero {
  min-height: 320px;
  background: var(--dark) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  position: relative;
  padding-bottom: 0;
}
.auction-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.72) 100%);
}

/* ── Listing detail: solid yellow hero (no photo) ── */
.listing-hero-solid {
  background: #fdf132 !important;
  min-height: 260px;
  align-items: center;
  justify-content: center;
}
.listing-hero-solid::before {
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.28) 100%) !important;
}
.listing-hero-solid .auction-hero-content {
  text-align: center;
  width: 100%;
}
.listing-hero-solid .auction-hero-title {
  color: #000 !important;
  text-shadow: none !important;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: .01em;
}
.listing-hero-solid .auction-hero-sub {
  color: #111 !important;
  text-shadow: none !important;
  opacity: .85;
}
.listing-hero-solid .auction-hero-meta {
  margin-bottom: 10px;
}
.auction-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 36px;
}
.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pill-active     { background: #16a34a; color: #fff; }
.pill-upcoming   { background: var(--yellow); color: var(--dark); }
.pill-sold       { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.pill-pending    { background: #2563eb; color: #fff; }
.pill-terminated { background: #6b7280; color: #fff; }

.sold-banner {
  background: var(--dark2);
  border-left: 4px solid var(--yellow);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.sold-banner p { margin: 0; color: #fff; font-size: 15px; font-weight: 600; }
.sold-banner .btn-go {
  background: var(--yellow);
  color: var(--dark);
  padding: 9px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
}
.sold-banner .btn-go:hover { background: var(--yellow-dark); }

.auction-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.info-card--sticky {
  position: sticky;
  top: 80px;
}
.info-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
}
.meta-list { list-style: none; padding: 0; margin: 0; }
.meta-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 14px;
  color: var(--text);
}
.meta-list li:last-child { border-bottom: none; }
.meta-list .mlabel {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #999;
  display: block;
  margin-bottom: 2px;
}
.meta-list i { color: var(--yellow-dark); width: 18px; flex-shrink: 0; margin-top: 3px; }
.btn-bid {
  display: block;
  background: var(--yellow);
  color: var(--dark) !important;
  text-align: center;
  padding: 13px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
  transition: background .2s;
}
.btn-bid:hover { background: var(--yellow-dark); }
.btn-all {
  display: block;
  background: transparent;
  color: var(--dark) !important;
  text-align: center;
  padding: 11px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
  border: 2px solid var(--dark);
  transition: background .2s;
}
.btn-all:hover { background: var(--bg-light); }

/* Document links in info card */
.info-card-docs { margin-top: 4px; }
.doc-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  background: var(--bg-light);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.doc-link:hover { background: #fff8e1; border-color: var(--yellow); color: var(--dark); }
.doc-link .fa-file-pdf { color: #d32f2f; }
.doc-link .fa-file-word { color: #1565c0; }
.doc-link .fa-file-excel { color: #2e7d32; }
.doc-link .fa-file-alt { color: var(--yellow-dark); }
.doc-link span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 28px;
}
.photo-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.photo-grid img:hover { opacity: .88; transform: scale(1.02); }

/* ── Listing Cards + Grid ── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .listing-grid { grid-template-columns: 1fr; } }
.listing-card {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.listing-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.listing-card--sundgren { border: 2px solid rgba(212,175,55,.45); }
.listing-card--sundgren:hover { border-color: rgba(212,175,55,.75); }
.listing-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.listing-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.listing-card-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; border-radius: 4px; padding: 3px 8px; width: fit-content; }
.listing-card-address { font-size: 15px; font-weight: 800; color: var(--dark); margin: 0 0 8px; line-height: 1.3; }
.listing-card-meta { font-size: 13px; color: var(--text-light); margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.listing-card-meta i { color: var(--yellow-dark); font-size: 12px; }
.listing-card-price { font-size: 20px; font-weight: 900; color: var(--dark); margin: 12px 0 0; display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.listing-card-price--original { font-size: 15px; font-weight: 600; color: var(--text-light); text-decoration: line-through; }
.listing-card-price--reduced { font-size: 20px; font-weight: 900; color: #c0392b; }
.listing-card-more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--red); }

/* ── Stats Row (quick-facts bar on listing detail) ── */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
  background: #fff;
}
.stat-cell {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  text-align: center;
  min-width: 100px;
}
.stat-cell:last-child { border-right: none; }
.stat-cell i { font-size: 18px; color: var(--yellow-dark); margin-bottom: 6px; }
.stat-val { font-size: 16px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-top: 3px; }
@media (max-width: 600px) {
  .stat-cell { flex: 1 1 50%; border-bottom: 1px solid var(--border); }
  .stat-cell:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Features Grid (2-col on listing detail) ── */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-top: 12px;
}
.feat-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
}
.feat-cell i { color: var(--yellow-dark); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.feat-cell .mlabel { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: 1px; }
@media (max-width: 580px) { .feat-grid { grid-template-columns: 1fr; } }

/* ── Map + Contact row ── */
.sg-map-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.sg-map-col .sg-map-inner,
.sg-map-col .sg-map-inner > div {
  width: 100%;
}
.sg-map-col #sg-map {
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.sg-contact-col .info-card {
  margin: 0;
  border-radius: 10px;
  padding: 24px;
}
@media (max-width: 700px) {
  .sg-map-contact-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── Photo Mosaic (listing detail pages) ── */
.sg-mosaic {
  display: grid;
  grid-template-columns: 4fr 1.3fr;
  gap: 6px;
  border-radius: 10px;
  overflow: hidden;
  align-items: stretch;
  max-height: 480px;
}
.sg-mosaic-hero {
  grid-row: 1;
  padding: 0; border: none; cursor: pointer;
  overflow: hidden; display: block;
  background: #111;
  width: 100%;
  height: 100%;
}
.sg-mosaic-hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease;
}
.sg-photo-pill-wrap { position: relative; }
.sg-photo-pills {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  pointer-events: none;
}
.sg-type-pill {
  background: rgba(0,0,0,0.52) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
}
.sg-mosaic-hero:hover img { transform: scale(1.03); }
.sg-mosaic-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: stretch;
}
.sg-mosaic-thumb {
  position: relative;
  flex: 1;
  padding: 0; border: none; cursor: pointer;
  overflow: hidden; background: #111;
  width: 100%;
  min-height: 0;
}
.sg-mosaic-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s ease;
}
.sg-mosaic-thumb:hover img { transform: scale(1.05); }
.sg-mosaic-more {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sg-gallery-bar {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}
.sg-gallery-all-btn {
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .15s;
}
.sg-gallery-all-btn:hover { background: #333; }
@media (max-width: 600px) {
  .sg-mosaic { grid-template-columns: 1fr; }
  .sg-mosaic-hero { aspect-ratio: 4 / 3; height: auto; }
  .sg-mosaic-strip { flex-direction: row; height: 100px; }
  .sg-mosaic-thumb { aspect-ratio: unset; height: 100px; flex: 1; }
}

/* Lightbox */
#sg-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
}
#sg-lightbox.open, #sg-lightbox.active { display: flex; }
#sg-lightbox-img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
#sg-lightbox-close {
  position: absolute; top: 18px; right: 24px;
  font-size: 32px; color: #fff; cursor: pointer;
  background: none; border: none; opacity: .8;
  line-height: 1;
}
#sg-lightbox-close:hover { opacity: 1; }
#sg-lightbox-prev, #sg-lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 32px; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.1);
  border: none; border-radius: 50%;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
#sg-lightbox-prev { left: 16px; }
#sg-lightbox-next { right: 16px; }
#sg-lightbox-prev:hover, #sg-lightbox-next:hover { background: rgba(255,255,255,.22); }
#sg-lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
}

/* Embed wrapper */
.embed-wrap {
  background: var(--bg-light);
  padding: 48px 0;
}
.embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 700px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* CTA dark */
.cta-dark {
  background: var(--dark);
  padding: 64px 0;
  text-align: center;
}
.cta-dark h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.cta-dark p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 28px; font-size: 15px; }
.btn-yellow {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 13px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  transition: background .2s;
}
.btn-yellow:hover { background: var(--yellow-dark); color: var(--dark); }
.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 11px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(255,255,255,.4);
  margin-left: 12px;
  transition: background .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.08); }

/* Auctions index view toggle */
.view-toggle { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 28px; }
.view-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 4px;
  font-size: 13px; font-weight: 700; cursor: pointer;
  border: 2px solid var(--dark);
  background: #fff; color: var(--dark);
  transition: all .15s;
}
.view-btn.active { background: var(--dark); color: var(--yellow); border-color: var(--dark); }
.view-btn:hover:not(.active) { background: var(--bg-light); }

/* Auction cards */
.auction-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.auction-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.auction-card-wrap { display: block; text-decoration: none; color: inherit; height: 100%; }
.auction-card-img {
  aspect-ratio: 4 / 3;
  background: var(--bg-light) center/cover no-repeat;
  position: relative;
  flex-shrink: 0;
}
.auction-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.auction-card-badge.active { background: #16a34a; color: #fff; }
.auction-card-badge.upcoming { background: var(--yellow); color: var(--dark); }
.auction-card-badge.sold { background: rgba(0,0,0,.55); color: #ddd; }
.sold-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,26,.45);
  display: flex; align-items: center; justify-content: center;
}
.sold-overlay span {
  background: var(--dark);
  color: #ccc;
  padding: 6px 16px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}
.auction-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.auction-card-title { font-size: 15px; font-weight: 700; color: var(--dark); margin: 0 0 8px; line-height: 1.4; }
.auction-card-meta { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.auction-card-meta i { color: var(--yellow-dark); margin-right: 5px; }
.auction-card-more { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 700; color: #c00; }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center; }
.text-muted { color: var(--text-light); }
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c00;
  margin-bottom: 8px;
}
hr.divider {
  border: none;
  border-top: 3px solid var(--yellow);
  width: 48px;
  margin: 0 auto 24px;
}
hr.divider-left { margin: 0 0 24px; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .auction-detail-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; }
  .logo-spacer { width: 90px; }
  .logo-badge-inner { min-width: 80px; padding: 8px 10px 12px; }
  .logo-badge-symbol { width: 36px; height: 36px; }
  .logo-badge-name { font-size: 10px; }
  .logo-badge-sub { font-size: 7px; letter-spacing: .12em; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); padding: 12px 0; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .main-nav.open { display: flex; }
  .main-nav li a { padding: 12px 24px; }
  .main-nav li.contact-btn a { margin: 8px 24px; padding: 10px 20px; }
  .nav-dropdown {
    position: static;
    display: none;
    border-top: none;
    border-left: 3px solid var(--yellow);
    margin-left: 24px;
    box-shadow: none;
    padding: 0;
  }
  .main-nav li.has-dropdown.open .nav-dropdown { display: block; }
  .nav-dropdown li a { padding: 10px 16px; font-size: 16px; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
  .hero { min-height: 360px; padding-bottom: 48px; }
  .hero-search { flex-direction: column; border-radius: 4px; }
  .hero-search input, .hero-search button { border-radius: 4px; }
  .app-banner-inner { flex-direction: column; align-items: flex-start; }
  .top-bar .container { justify-content: center; }
  .top-bar .socials { margin-left: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .sold-banner { flex-direction: column; }
  .btn-outline-white { margin-left: 0; margin-top: 10px; }
  .embed-wrap iframe { min-height: 500px; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   IDX Broker Widget Overrides
   ============================================================ */

/* --- AI Smart Search: constrain to 50% on desktop --- */
.idx-smart-search-wrap {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .idx-smart-search-wrap { max-width: 100%; }
}

/* --- IDX gray header bar: hide via CSS broad net + JS MutationObserver fallback --- */
/* Broad CSS sweep for any IDX-injected header row */
[class*="carousel-header"],
[class*="showcaseHeader"],
[class*="widgetHeader"],
[class*="widget-header"],
[class*="listingHeader"],
[class*="listing-header"],
[class*="IDX-carousel"] > *:first-child,
[class*="IDX-showcase"] > *:first-child,
[id*="idxwidget"] ~ div > div:first-child > a {
  display: none !important;
}

/* --- Our custom View All button sits below the carousel --- */
.idx-viewall-wrap {
  text-align: center;
  margin-top: 24px;
}
.idx-viewall-wrap .btn-primary {
  display: inline-block;
}

/* --- Property search page AI search: left-aligned, half width --- */
.idx-search-page-wrap {
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .idx-search-page-wrap { max-width: 100%; }
}

/* -- Hero: Three-Panel Expanding -- */
.hero-split {
  display: flex;
  width: 100%;
  height: 90vh;
  min-height: 500px;
  max-height: 860px;
  overflow: hidden;
}

.hero-panel {
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JS adds .hero-split--active when any panel is hovered.
   Active panel expands to 2x, inactive panels shrink to 0.5x */
.hero-split--active .hero-panel {
  flex: 0.5;
}
.hero-split--active .hero-panel--hovered {
  flex: 2;
}

/* Dark overlay -- deepens slightly on hover */
.hero-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.10) 100%);
  transition: background 0.4s ease;
}
.hero-panel:hover .hero-panel-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}

/* Vertical divider between panels */
.hero-panel + .hero-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(253,241,50,0.35);
  z-index: 3;
  transition: background 0.3s ease;
}
.hero-panel:hover + .hero-panel::before,
.hero-panel + .hero-panel:hover::before {
  background: rgba(253,241,50,0.6);
}

/* Content anchored to bottom of each panel */
.hero-panel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 36px 40px;
  transform: translateY(8px);
  transition: transform 0.4s ease;
}
.hero-panel:hover .hero-panel-content {
  transform: translateY(0);
}

/* Eyebrow -- fades in on hover */
.hero-panel-eyebrow {
  display: block;
  font-family: 'SF New Republic SC', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}
.hero-panel:hover .hero-panel-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

/* Title -- always visible, clips when panel is narrow */
.hero-panel-title {
  font-family: 'Trajan Pro', serif;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Subtext -- fades in on hover */
.hero-panel-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 340px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.hero-panel:hover .hero-panel-sub {
  opacity: 1;
  transform: translateY(0);
}

/* CTA button -- fades in on hover */
.hero-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--dark);
  font-family: 'SF New Republic SC', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 11px 22px;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s, background 0.2s ease;
}
.hero-panel:hover .hero-panel-btn {
  opacity: 1;
  transform: translateY(0);
}
.hero-panel-btn:hover {
  background: var(--yellow-dark);
}

/* Mobile: stack panels vertically, always show content */
@media (max-width: 768px) {
  .hero-split {
    flex-direction: column;
    height: auto;
    max-height: none;
  }
  .hero-panel {
    flex: none !important;
    height: 300px;
    width: 100%;
    transition: none;
  }
  .hero-split--active .hero-panel { flex: none; }
  .hero-panel-eyebrow,
  .hero-panel-sub,
  .hero-panel-btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-panel-content {
    transform: none;
    padding: 24px 20px;
  }
  .hero-panel-title {
    font-size: 22px;
    white-space: normal;
  }
  .hero-panel + .hero-panel::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 2px;
  }
}


/* ── Add to Calendar buttons ──────────────────────────────────────── */
.cal-buttons { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.cal-buttons > p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.cal-buttons > p i { color: var(--yellow-dark); }
.cal-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cal-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 6px; text-decoration: none; transition: opacity .15s; border: 1px solid transparent; }
.cal-btn:hover { opacity: .82; }
.cal-btn--google  { background: #fff; border-color: #dadce0; color: #3c4043; }
.cal-btn--outlook { background: #0078d4; color: #fff; border-color: #0078d4; }
.cal-btn--ics     { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ── App Ad (sidebar + listing card) ──────────────────────────────── */
.app-ad { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 16px; }
.app-ad__eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow-dark); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.app-ad__eyebrow i { font-size: 13px; }
.app-ad__body { font-size: 13px; color: var(--text-light); line-height: 1.6; margin: 0 0 12px; }
.app-ad__badges { display: flex; flex-direction: column; gap: 8px; }
.app-ad__badge { display: inline-flex; align-items: center; gap: 10px; background: var(--dark); color: #fff; padding: 9px 14px; border-radius: 8px; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s; border: 1px solid rgba(255,255,255,.1); }
.app-ad__badge:hover { background: #333; color: #fff; }
.app-ad__badge span { display: flex; flex-direction: column; line-height: 1.2; }
.app-ad__badge small { font-size: 10px; font-weight: 400; opacity: .75; }
.app-ad__badge svg { flex-shrink: 0; }

/* ── News ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.news-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-light);
}
.news-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 13px; color: rgba(0,0,0,.55); margin-bottom: 6px; }
.news-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover { color: var(--yellow-dark); }
.news-excerpt { font-size: 14px; color: rgba(0,0,0,.7); line-height: 1.5; flex: 1; margin-bottom: 14px; }
.news-btn {
  display: inline-block;
  align-self: flex-start;
  padding: 8px 18px;
  background: var(--yellow-dark);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity .2s;
}
.news-btn:hover { opacity: .85; }
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, border-color .2s, color .2s;
}
.page-link:hover { background: var(--bg-light); border-color: rgba(0,0,0,.2); }
.page-link.active {
  background: var(--yellow-dark);
  color: #000;
  font-weight: 700;
  border-color: var(--yellow-dark);
  pointer-events: none;
}
.page-link.page-arrow {
  font-size: 13px;
  color: rgba(0,0,0,.65);
}
.page-link.page-arrow.disabled {
  opacity: .35;
  pointer-events: none;
  cursor: default;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: rgba(0,0,0,.4);
  font-size: 14px;
  user-select: none;
}
.pagination-summary {
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,.55);
  margin-top: 12px;
}
.news-article { max-width: 780px; margin: 0 auto; }
.news-article .news-date { font-size: 14px; margin-bottom: 12px; }
.news-body p { margin-bottom: 18px; line-height: 1.7; font-size: 16px; }
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
}
