/* =================================================================
   FA Style 7 – "FA Premium" Listing Template
   File: listingpro-child/assets/css/style7.css
   ================================================================= */

/* ── Reset & Vars ─────────────────────────────────────────────── */
:root {
  --fa7-primary:   #1a73e8;
  --fa7-wa:        #25D366;
  --fa7-dark:      #1a1a2e;
  --fa7-text:      #333;
  --fa7-muted:     #666;
  --fa7-light:     #f8f9fa;
  --fa7-border:    #e8ecf0;
  --fa7-radius:    12px;
  --fa7-shadow:    0 4px 20px rgba(0,0,0,.08);
  --fa7-shadow-lg: 0 8px 40px rgba(0,0,0,.15);
  --fa7-trans:     all .25s ease;
  --fa7-font:      'Open Sans', 'Quicksand', sans-serif;
}

/* Plan colour overrides */
.fa7-plan-basic    { --fa7-plan: #6c757d; }
.fa7-plan-standard { --fa7-plan: #0077cc; }
.fa7-plan-premium  { --fa7-plan: #9c27b0; }
.fa7-plan-featured { --fa7-plan: #e65100; }

/* ── Wrapper ──────────────────────────────────────────────────── */
.fa7-wrap {
  font-family: var(--fa7-font);
  color: var(--fa7-text);
  background: var(--fa7-light);
}
.fa7-wrap * { box-sizing: border-box; }
.fa7-wrap .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Announcement ─────────────────────────────────────────────── */
.fa7-announce {
  background: linear-gradient(90deg, #ff6b35, #f7c59f);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
}
.fa7-announce-icon { margin-right: 6px; }

/* ══════════════════════ HERO ═══════════════════════════════════ */
.fa7-hero {
  position: relative;
  padding: 40px 0 48px;
  overflow: hidden;
}
.fa7-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Decorative circles */
.fa7-hero::before,
.fa7-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  pointer-events: none;
}
.fa7-hero::before { width:400px; height:400px; top:-100px; right:-80px; }
.fa7-hero::after  { width:250px; height:250px; bottom:-60px; left:5%;  }

.fa7-hero-inner {
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.fa7-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.fa7-breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: var(--fa7-trans);
}
.fa7-breadcrumb a:hover { color: #fff; }
.fa7-breadcrumb span   { color: rgba(255,255,255,.6); }
.fa7-bc-current        { color: #fff; font-weight: 600; }

/* Hero body */
.fa7-hero-body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

/* Logo */
.fa7-logo-wrap {
  position: relative;
  flex-shrink: 0;
}
.fa7-logo {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  padding: 4px;
  box-shadow: var(--fa7-shadow-lg);
}
.fa7-avatar {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--fa7-shadow-lg);
  letter-spacing: -1px;
}
.fa7-verified-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: #1a73e8;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border: 2px solid #fff;
}

/* Hero meta */
.fa7-hero-meta { flex: 1; min-width: 0; }

.fa7-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.fa7-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.fa7-cat-badge {
  background: rgba(255,255,255,.25);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.fa7-verified-label {
  background: #1a73e8;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.fa7-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.fa7-tagline {
  color: rgba(255,255,255,.9);
  font-size: 16px;
  margin: 0 0 12px;
  font-style: italic;
}

/* Stars */
.fa7-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.fa7-stars { display: flex; gap: 2px; }
.fa7-star  { font-size: 18px; color: rgba(255,255,255,.35); }
.fa7-star.filled { color: #FFD700; }
.fa7-star.half   { color: #FFD700; opacity: .6; }
.fa7-rating-num  { color: #fff; font-weight: 700; font-size: 15px; }
.fa7-review-count { color: rgba(255,255,255,.75); font-size: 13px; }
.fa7-rate-cta { color: rgba(255,255,255,.85); font-size: 13px; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.5); }

/* Hero action buttons */
.fa7-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fa7-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--fa7-trans);
  white-space: nowrap;
}
.fa7-btn-wa {
  background: var(--fa7-wa);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37,211,102,.4);
}
.fa7-btn-wa:hover { background: #1eba56; transform: translateY(-2px); color: #fff; }
.fa7-btn-call {
  background: rgba(255,255,255,.2);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.fa7-btn-call:hover { background: rgba(255,255,255,.35); color: #fff; }
.fa7-btn-share, .fa7-btn-save {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}
.fa7-btn-share:hover, .fa7-btn-save:hover { background: rgba(255,255,255,.3); color: #fff; }
.fa7-btn-primary {
  background: var(--fa7-primary);
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 15px;
  border-radius: var(--fa7-radius);
  box-shadow: 0 4px 15px rgba(26,115,232,.35);
}
.fa7-btn-primary:hover { background: #1557b0; transform: translateY(-1px); color: #fff; }
.fa7-btn-upgrade {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 11px;
  border-radius: var(--fa7-radius);
  box-shadow: 0 4px 15px rgba(239,68,68,.3);
}
.fa7-btn-upgrade:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.fa7-btn-claim {
  background: #fff;
  color: var(--fa7-primary);
  border: 2px solid var(--fa7-primary);
  width: 100%;
  justify-content: center;
  padding: 10px;
  border-radius: var(--fa7-radius);
  font-weight: 700;
}
.fa7-btn-claim:hover { background: var(--fa7-primary); color: #fff; }

/* ══════════════════ QUICK-INFO BAR ═════════════════════════════ */
.fa7-infobar {
  background: #fff;
  border-bottom: 1px solid var(--fa7-border);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.fa7-infobar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.fa7-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--fa7-light);
  border: 1px solid var(--fa7-border);
  font-size: 13px;
  color: var(--fa7-text);
  text-decoration: none;
  transition: var(--fa7-trans);
  white-space: nowrap;
}
.fa7-info-chip:hover { background: #e8f0fe; border-color: var(--fa7-primary); color: var(--fa7-primary); }
.fa7-info-chip.fa7-open   { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.fa7-info-chip.fa7-closed { background: #ffebee; border-color: #ef5350; color: #c62828; }
.fa7-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ══════════════════ DEAL BANNER ════════════════════════════════ */
.fa7-deal-banner {
  background: linear-gradient(90deg, #fff3e0, #ffe0b2);
  border-top: 3px solid #ff9800;
  padding: 12px 0;
  font-size: 14px;
  color: #333;
}
.fa7-deal-banner .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fa7-deal-icon { font-size: 18px; }
.fa7-deal-cta {
  margin-left: auto;
  color: #e65100;
  font-weight: 700;
  text-decoration: none;
  background: rgba(230,81,0,.1);
  padding: 4px 14px;
  border-radius: 20px;
  transition: var(--fa7-trans);
}
.fa7-deal-cta:hover { background: #e65100; color: #fff; }

/* ══════════════════ MAIN GRID ══════════════════════════════════ */
.fa7-main-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  padding-top: 32px;
  padding-bottom: 40px;
  align-items: start;
}

/* ══════════════════ CARDS ═══════════════════════════════════ */
.fa7-card {
  background: #fff;
  border-radius: var(--fa7-radius);
  box-shadow: var(--fa7-shadow);
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid var(--fa7-border);
}
.fa7-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--fa7-dark);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--fa7-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.fa7-review-badge {
  background: var(--fa7-primary);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* About */
.fa7-description { font-size: 15px; line-height: 1.7; color: #444; }
.fa7-description p { margin: 0 0 12px; }
.fa7-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fa7-tag {
  background: #e8f0fe;
  color: var(--fa7-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--fa7-trans);
}
.fa7-tag:hover { background: var(--fa7-primary); color: #fff; }

/* Gallery */
.fa7-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 8px;
}
.fa7-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.fa7-gallery-main { grid-row: 1 / 3; }
.fa7-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.fa7-gallery-item:hover img { transform: scale(1.05); }
.fa7-gallery-more {
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

/* Menu / Packages */
.fa7-menu-cat-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fa7-muted);
  margin: 0 0 14px;
  background: var(--fa7-light);
  padding: 8px 14px;
  border-radius: 6px;
  border-left: 3px solid var(--fa7-primary);
}
.fa7-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.fa7-menu-card {
  border: 1px solid var(--fa7-border);
  border-radius: var(--fa7-radius);
  overflow: hidden;
  transition: var(--fa7-trans);
  background: #fff;
}
.fa7-menu-card:hover { box-shadow: var(--fa7-shadow); transform: translateY(-2px); }
.fa7-menu-img {
  height: 140px;
  background-size: cover;
  background-position: center;
}
.fa7-menu-info { padding: 14px; }
.fa7-menu-name  { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.fa7-menu-desc  { font-size: 13px; color: var(--fa7-muted); margin-bottom: 8px; line-height: 1.5; }
.fa7-menu-price { font-size: 16px; font-weight: 800; color: var(--fa7-primary); margin-bottom: 10px; }
.fa7-menu-enquire {
  display: inline-flex;
  align-items: center;
  background: var(--fa7-wa);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--fa7-trans);
}
.fa7-menu-enquire:hover { background: #1eba56; color: #fff; }

/* Reviews */
.fa7-review-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--fa7-border);
}
.fa7-review-item:last-of-type { border-bottom: 0; }
.fa7-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.fa7-reviewer-avatar img, .fa7-avatar-img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.fa7-reviewer-info { flex: 1; }
.fa7-reviewer-info strong { display: block; font-size: 14px; font-weight: 700; }
.fa7-review-date { font-size: 12px; color: var(--fa7-muted); }
.fa7-review-stars { display: flex; gap: 2px; }
.fa7-review-text { font-size: 14px; color: #444; line-height: 1.6; margin: 0; }
.fa7-reviews-empty {
  text-align: center;
  padding: 32px;
  color: var(--fa7-muted);
}
.fa7-reviews-empty-icon { font-size: 40px; margin-bottom: 10px; }
.fa7-write-review {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--fa7-border);
}
.fa7-write-review h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; }

/* Map */
.fa7-map-frame {
  border-radius: var(--fa7-radius);
  overflow: hidden;
  border: 1px solid var(--fa7-border);
}
.fa7-map-address {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--fa7-muted);
}

/* ══════════════════ SIDEBAR WIDGETS ════════════════════════════ */
.fa7-sidebar { position: sticky; top: 72px; }

.fa7-widget {
  background: #fff;
  border-radius: var(--fa7-radius);
  box-shadow: var(--fa7-shadow);
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--fa7-border);
}
.fa7-widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fa7-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--fa7-border);
}

/* Contact Card */
.fa7-contact-card { border-top: 4px solid var(--fa7-primary); }
.fa7-contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--fa7-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  transition: var(--fa7-trans);
  cursor: pointer;
}
.fa7-contact-wa   { background: var(--fa7-wa); color: #fff; box-shadow: 0 4px 15px rgba(37,211,102,.3); }
.fa7-contact-wa:hover { background: #1eba56; transform: translateY(-1px); color: #fff; }
.fa7-contact-call { background: #e8f0fe; color: var(--fa7-primary); }
.fa7-contact-call:hover { background: var(--fa7-primary); color: #fff; }
.fa7-contact-web  { background: var(--fa7-light); color: var(--fa7-text); border: 1px solid var(--fa7-border); }
.fa7-contact-web:hover { background: #fff; border-color: var(--fa7-primary); color: var(--fa7-primary); }
.fa7-contact-email { background: #fff3e0; color: #e65100; }
.fa7-contact-email:hover { background: #e65100; color: #fff; }
.fa7-contact-map  { background: #fce4ec; color: #c2185b; }
.fa7-contact-map:hover { background: #c2185b; color: #fff; }

/* Analytics */
.fa7-analytics { background: linear-gradient(135deg, #1a1a2e, #16213e); border: none; }
.fa7-analytics .fa7-widget-title { color: #fff; border-color: rgba(255,255,255,.1); }
.fa7-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px,1fr)); gap: 12px; }
.fa7-stat { text-align: center; }
.fa7-stat-num { display: block; font-size: 24px; font-weight: 800; color: #fff; }
.fa7-stat-lbl { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* Enquiry Form */
.fa7-form { display: flex; flex-direction: column; gap: 10px; }
.fa7-form-social-proof {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #f57f17;
  margin-bottom: 4px;
}
.fa7-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--fa7-border);
  border-radius: var(--fa7-radius);
  font-size: 14px;
  color: var(--fa7-text);
  background: #fff;
  transition: var(--fa7-trans);
  font-family: var(--fa7-font);
  resize: vertical;
}
.fa7-input:focus {
  outline: none;
  border-color: var(--fa7-primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.15);
}
.fa7-input::placeholder { color: #aaa; }

/* Hours */
.fa7-hours-list { list-style: none; padding: 0; margin: 0; }
.fa7-hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--fa7-border);
}
.fa7-hour-row:last-child { border-bottom: 0; }
.fa7-hour-row.fa7-today { background: #f0f4ff; margin: 0 -12px; padding: 8px 12px; border-radius: 6px; font-weight: 700; }
.fa7-hour-day  { color: var(--fa7-text); }
.fa7-hour-time { color: var(--fa7-muted); }
.fa7-closed-text { color: #ef5350; }

/* Plan Card */
.fa7-plan-card {
  text-align: center;
  background: linear-gradient(135deg, var(--fa7-light), #fff);
  border-top: 4px solid var(--fa7-plan);
}
.fa7-plan-card-featured { background: linear-gradient(135deg, #fff3e0, #fff); }
.fa7-plan-card-premium  { background: linear-gradient(135deg, #f3e5f5, #fff); }
.fa7-plan-icon  { font-size: 36px; margin-bottom: 8px; }
.fa7-plan-title { font-size: 16px; font-weight: 800; color: var(--fa7-plan); margin-bottom: 6px; }
.fa7-plan-desc  { font-size: 13px; color: var(--fa7-muted); margin-bottom: 14px; line-height: 1.5; }

/* Claim */
.fa7-claim { border-top: 3px dashed #e0e0e0; }
.fa7-claim p { font-size: 13px; color: var(--fa7-muted); margin: 0 0 12px; line-height: 1.5; }

/* ══════════════════ MORE LISTINGS ══════════════════════════════ */
.fa7-more-section {
  background: #fff;
  border-top: 1px solid var(--fa7-border);
  padding: 40px 0;
}
.fa7-more-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--fa7-dark);
  margin: 0 0 24px;
}
.fa7-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.fa7-related-card {
  background: #fff;
  border: 1px solid var(--fa7-border);
  border-radius: var(--fa7-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--fa7-trans);
  cursor: pointer;
}
.fa7-related-card:hover {
  box-shadow: var(--fa7-shadow);
  border-color: var(--fa7-primary);
  transform: translateY(-3px);
}
.fa7-related-card.fa7-plan-featured { border-top: 3px solid #e65100; }
.fa7-related-card.fa7-plan-premium  { border-top: 3px solid #9c27b0; }
.fa7-related-logo { flex-shrink: 0; }
.fa7-related-logo img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.fa7-related-avatar {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.fa7-related-info { min-width: 0; flex: 1; }
.fa7-related-plan  { font-size: 14px; }
.fa7-related-name  { font-size: 13px; font-weight: 700; color: var(--fa7-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fa7-related-meta  { font-size: 12px; color: var(--fa7-muted); margin-top: 2px; }


  50%       { box-shadow: 0 6px 30px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,.1); }
}

/* ══════════════════ COMMENT FORM OVERRIDES ═════════════════════ */
.fa7-write-review .comment-form { margin: 0; }
.fa7-write-review .comment-form p { margin-bottom: 12px; }
.fa7-write-review .comment-form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 4px; }
.fa7-write-review .comment-form input[type="text"],
.fa7-write-review .comment-form input[type="email"],
.fa7-write-review .comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--fa7-border);
  border-radius: var(--fa7-radius);
  font-size: 14px;
  font-family: var(--fa7-font);
  transition: var(--fa7-trans);
}
.fa7-write-review .comment-form input:focus,
.fa7-write-review .comment-form textarea:focus {
  outline: none;
  border-color: var(--fa7-primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,.15);
}
.fa7-submit-review {
  padding: 12px 28px;
  background: var(--fa7-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--fa7-trans);
}
.fa7-submit-review:hover { background: #1557b0; }

/* ══════════════════ RESPONSIVE ═════════════════════════════════ */
@media (max-width: 1024px) {
  .fa7-main-grid { grid-template-columns: 1fr; }
  .fa7-sidebar   { position: static; }
}
@media (max-width: 768px) {
  .fa7-hero { padding: 28px 0 36px; }
  .fa7-title { font-size: 22px; }
  .fa7-hero-body { flex-direction: column; gap: 16px; }
  .fa7-logo, .fa7-avatar { width: 72px; height: 72px; }
  .fa7-avatar { font-size: 26px; }
  .fa7-hero-actions { gap: 8px; }
  .fa7-btn { padding: 9px 16px; font-size: 13px; }
  .fa7-infobar { display: none; } /* hide on mobile to save space */
  .fa7-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .fa7-gallery-main { grid-column: 1/3; grid-row: auto; }
  .fa7-card { padding: 18px; }
  .fa7-more-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fa7-hero-actions .fa7-btn-share,
  .fa7-hero-actions .fa7-btn-save { display: none; }
  .fa7-more-grid { grid-template-columns: 1fr 1fr; }
}

/* ── v4.1 overrides: CSS Grid — container class separated ── */
.fa7-main-grid {
  display: grid !important;
  grid-template-columns: 1fr 360px !important;
  gap: 28px !important;
  padding-top: 32px !important;
  padding-bottom: 40px !important;
  align-items: start !important;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .fa7-main-grid {
    grid-template-columns: 1fr !important;
  }
}
/* Ensure columns fill their grid cells */
.fa7-main-grid > .fa7-content,
.fa7-main-grid > .fa7-sidebar {
  min-width: 0;
  width: 100%;
}
