/* ============================================
   PATCH STYLES v2 — for sub-agent generated pages
   ============================================ */

/* ── PAGE HERO (correct implementation) ── */
.page-hero .hero-tagline {
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}

.page-hero .hero-sub {
  font-weight: 500;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.page-hero {
  /* Force full-bleed */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  max-height: 800px;
  text-align: center;
  color: white;
  background-color: var(--green-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.page-hero h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.page-hero p {
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-hero .breadcrumb a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ── Inner-page banners — Option C (Center Spotlight), approved 2026-11-03 ──
   Radial vignette darkest behind the centered text, fading bright at the corners,
   so white text stays legible over any .page-hero image site-wide. */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 85% at center,
    rgba(18,26,13,0.74) 0%,
    rgba(18,26,13,0.50) 55%,
    rgba(18,26,13,0.22) 100%);
}
.page-hero .breadcrumb { color: rgba(255,255,255,0.85); text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-hero h1 { text-shadow: 0 1px 14px rgba(0,0,0,0.55); }
.page-hero p { color: rgba(255,255,255,0.95); text-shadow: 0 1px 14px rgba(0,0,0,0.55); }

/* ── BREADCRUMB ── */
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}

/* ── CONTENT SECTION ── */
.content-section {
  padding: 5rem 0;
  background: var(--cream);
}

.content-section.alt {
  background: var(--white);
}

/* ── CREDENTIAL GRID ── */
.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.credential-item {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.credential-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.credential-item p {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ── TESTIMONIAL GRID ── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── TESTIMONIAL CARD ── */
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 2rem;
}

.testimonial-card .stars {
  color: #E8A838;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-card .author-info strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
}

.testimonial-card .author-info span {
  font-size: 0.75rem;
  color: var(--warm-gray);
}

/* ── BTN OUTLINE ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--green);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 2px solid var(--green);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--green);
  color: white;
}

/* ── SERVICE ICON GRID ── */
.service-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-icon-item {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.service-icon-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-icon-item p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

/* ── AREA TAG ── */
.area-tag {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}

.area-tag:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ── FAQ SECTION ── */
.faq-intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--stone);
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 3rem 1.5rem 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--green);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: var(--warm-gray);
  line-height: 1.8;
  font-size: 0.97rem;
}

/* ── BLOG CARDS ── */
.blog-card {
  background: var(--cream);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--stone);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  font-size: 0.78rem;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark);
  line-height: 1.3;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--green);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.blog-section {
  padding: 5rem 0;
  background: var(--white);
}

.blog-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.blog-section > p {
  text-align: center;
  color: var(--warm-gray);
  margin-bottom: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ── CONTACT FORM ── */
.contact-section {
  padding: 5rem 0;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.contact-info > p {
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .cd-icon {
  width: 44px;
  height: 44px;
  background: var(--green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.contact-detail span {
  font-size: 0.88rem;
  color: var(--warm-gray);
}

.contact-detail a {
  color: var(--green);
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-form-box {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--stone);
}

.contact-form-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.contact-form-box > p {
  color: var(--warm-gray);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--stone);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── SERVICE DETAIL ── */
.service-detail {
  padding: 5rem 0;
  background: var(--cream);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.service-detail h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.service-detail .lead {
  font-size: 1.1rem;
  color: var(--warm-gray);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.service-detail h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  color: var(--dark);
}

.service-detail p {
  color: var(--warm-gray);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.service-detail ul {
  margin: 0.75rem 0 1.5rem 1.5rem;
}

.service-detail li {
  color: var(--warm-gray);
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

.service-features {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--stone);
}

.service-features h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.feature-item .feature-icon {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.feature-item .feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 0.2rem;
}

.feature-item .feature-text span {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.cta-box {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  border-radius: 12px;
  padding: 2.5rem;
  color: white;
  margin-top: 2rem;
}

.cta-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
  background: white;
  color: var(--green);
}

.cta-box .btn-primary:hover {
  background: var(--cream);
}

/* ── SIDEBAR LAYOUT ── */
.content-with-sidebar {
  padding: 5rem 0;
  background: var(--cream);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-grid .main-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.content-grid .main-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin: 2rem 0 0.75rem;
}

.content-grid .main-content p {
  color: var(--warm-gray);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.content-grid .main-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.content-grid .main-content li {
  color: var(--warm-gray);
  margin-bottom: 0.6rem;
  line-height: 1.7;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.sidebar-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark);
}

.sidebar-box p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sidebar-box .btn-primary {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 0.88rem;
  padding: 0.75rem;
}

/* ── CTA SECTION ── */
.cta-section {
  padding: 5rem 0;
  background: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  color: var(--dark);
}

.cta-section p {
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ── FAQ SECTION ── */
.faq-section {
  padding: 5rem 0;
  background: var(--cream);
}

.faq-section .container-narrow h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--dark);
}

.faq-section .container-narrow > p {
  text-align: center;
  color: var(--warm-gray);
  margin-bottom: 3rem;
}

/* ── CONTAINERS ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── FOOTER ── */
.footer-brand img {
  height: 80px !important;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 115px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 1.5rem 2rem;
  z-index: 99;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--dark);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ── AREA HERO IMAGE ── */
.area-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── ABOUT PAGE SPECIFIC ── */
.about-section {
  padding: 5rem 0;
  background: var(--cream);
}

.about-section.alt {
  background: var(--white);
}

.about-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
  line-height: 1.2;
}

.about-section p {
  color: var(--warm-gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ── SERVICES INDEX ── */
.services-index-section {
  padding: 5rem 0;
  background: var(--cream);
}

.services-index-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
  text-align: center;
}

.services-index-section > p {
  text-align: center;
  color: var(--warm-gray);
  margin-bottom: 3rem;
}

.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.service-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--warm-gray);
  line-height: 1.65;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.2s;
}

.service-card .service-link:hover {
  gap: 0.65rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 3rem; }
  .content-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-card-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}


/* Hero background image — absolutely positioned behind gradient + content */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}

/* Ensure page-hero content is above the image */
.page-hero > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr !important; gap: 2rem !important; }
  .service-row > * { max-width: 100%; }
  .services-area-links { justify-content: center; }
  .services-area-links a { flex: 0 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .services-card-grid { grid-template-columns: 1fr; }
  .mobile-menu { top: 115px; }
}

/* FORCE full-width hero - eliminate any gaps/bars */
.page-hero {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero-bg-img {
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

/* ── MOBILE FIXES (all screens) ── */
@media (max-width: 768px) {
  /* Constrain all fixed-width containers to viewport */
  .container { max-width: 100% !important; }
  .container-narrow { max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; }
  
  /* Fix 2-column inline grids on mobile */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Fix 3-column inline grids on mobile */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Fix auto-fit grids */
  [style*="auto-fit"] {
    grid-template-columns: 1fr !important;
  }
}
