/* September client review: shared news/weather, help banners, ad page, county page, and state homepage refinements. */

/* ── 1. Shared Weather & News ── */
.mlg-page .mlgs-weather,
.mlg-page .mlgc-weather {
  height: auto;
  min-height: 140px;
  padding: 0;
  margin: 18px 0 0;
  overflow: visible;
  background: transparent;
}
a.text-center {
    align-items: center;
}
.mlg-page .mlgs-weather iframe,
.mlg-page .mlgc-weather iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 155px;
  max-height: none;
  border: 0;
  overflow: visible;
}
.mlg-page .mlg-news {
  background: #f8f5ed;
  padding: 24px 0 18px;
}
.mlg-page .mlg-news > .mlg-wrap {
  width: calc(100% - 64px);
  max-width: 1680px;
}
.mlg-page .mlg-news__heading {
  margin-bottom: 20px;
  text-align: center;
}
.mlg-page .mlg-news__heading h2 {
  margin: 0 0 8px;
  font: 400 30px / 1.25 Georgia, serif;
  color: #123d2b;
}
.mlg-page .mlg-news__heading p {
  margin: 0;
  font: 14px / 1.5 Arial, sans-serif;
  color: #304b3e;
}
.mlg-page .mlg-news__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.mlg-page .mlg-news__card {
  display: flex;
  align-items: flex-end;
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #072a1c;
  text-decoration: none;
  isolation: isolate;
}
.mlg-page .mlg-news__card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mlg-page .mlg-news__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(transparent, #032418e8 60%, #032418);
}
.mlg-page .mlg-news__copy {
  display: block;
  padding: 16px 13px 18px;
  width: 100%;
}
.mlg-page .mlg-news__copy h3 {
  margin: 0 0 9px;
  font: 400 23px / 1.13 Georgia, serif;
  color: white;
}
.mlg-page .mlg-news__copy p {
  margin: 0 0 18px;
  font: 13px / 1.5 Arial, sans-serif;
  color: #fff;
}
.mlg-page .mlg-news__copy small {
  display: block;
  padding-right: 27px;
  font: 10px / 1.5 Arial, sans-serif;
  color: #f7f3e9;
}
.mlg-page .mlg-news__copy > i {
  position: absolute;
  bottom: 12px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #f8f5ed;
  color: #123d2b;
  font-size: 13px;
}
.mlg-page .mlg-news__card:hover {
  box-shadow: 0 4px 16px #082b2326;
}

/* ── 2. FAQ & Help Banner: Full Width & Headline Spacing ── */
.mlg-page .mlgs-help,
.mlg-page .mlgc-help {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 450px;
  border-radius: 0;
  background-position: center;
  background-size: cover;
  box-shadow: none;
  isolation: isolate;
}
.mlg-page .mlgs-help::before,
.mlg-page .mlgc-help::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #032a1af0 0%, #032a1ac7 28%, #032a1a45 55%, transparent 78%);
}
.mlg-page .mlgs-help::after,
.mlg-page .mlgc-help::after {
  display: none;
}
.mlg-page .mlgs-help .mlg-wrap,
.mlg-page .mlgc-help .mlg-wrap {
  width: calc(100% - 96px);
  max-width: 1680px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0;
}
.mlg-page .mlgs-help span,
.mlg-page .mlgc-help h2 {
  display: block;
  width: 540px;
  max-width: 55%;
  margin: 0 0 26px;
  font: 400 70px / 1.15 Georgia, serif;
  color: #fff;
}
.mlg-page .mlgs-help p,
.mlg-page .mlgc-help p {
  width: 480px;
  max-width: 50%;
  margin: 0;
  font: 18px / 1.65 Arial, sans-serif;
  color: #fff;
}
.mlg-page .mlgs-faq h2,
.mlg-page .mlgc-faq h2 {
  line-height: 1.18;
  margin-bottom: 28px;
}
.mlg-page .mlgs-faq > .mlg-wrap > p,
.mlg-page .mlgc-faq > .mlg-wrap > p {
  margin-top: 4px;
  line-height: 1.6;
}
.mlg-page .mlg-faq__answer,
.terms-pdf-acc-body {
  box-sizing: border-box;
}
.mlg-page .mlg-faq__answer {
  will-change: height;
}

/* ── 3. Business Ad Page: Hero Headline Centering & Larger Buttons ── */
.mlg-ad-page .mlg-ad-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-self: stretch;
  padding: 24px 0;
}
.mlg-ad-page .mlg-ad-hero__copy > span {
  text-align: center;
  margin-bottom: 8px;
}
.mlg-ad-page .mlg-ad-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 18px auto 22px;
  width: 100%;
}
.mlg-ad-page .mlg-ad-hero__rich {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 560px;
}
.mlg-ad-page .mlg-ad-hero__copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mlg-ad-page .mlg-ad-hero__actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 20px !important;
  margin: 34px auto 0 !important;
  width: 100% !important;
  max-width: 600px !important;
  padding: 0 16px;
  box-sizing: border-box;
}
.mlg-ad-page .mlg-ad-hero__actions a {
  flex: 0 1 auto !important;
  min-width: 220px !important;
  max-width: 270px !important;
  height: 52px !important;
  font-family: var(--mlg-sans, Arial, sans-serif) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  padding: 0 24px !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-sizing: border-box !important;
}
.mlg-ad-page .mlg-ad-hero__actions a:first-child {
  background: #0d382b !important;
  color: #dfc187 !important;
  border: 1.5px solid #1a5643 !important;
  box-shadow: 0 4px 14px rgba(13, 56, 43, 0.25) !important;
}
.mlg-ad-page .mlg-ad-hero__actions a:first-child:hover {
  background: #07251c !important;
  border-color: #dfc187 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(13, 56, 43, 0.35) !important;
}
.mlg-ad-page .mlg-ad-hero__actions a:nth-child(2) {
  background: #fcfaf5 !important;
  color: #0d382b !important;
  border: 1.5px solid #b99554 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
}
.mlg-ad-page .mlg-ad-hero__actions a:nth-child(2):hover {
  background: #b99554 !important;
  color: #fff !important;
  border-color: #b99554 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(185, 149, 84, 0.32) !important;
}

/* ── 4. Business Ad Page: Centered Promise Banner ── */
.mlg-ad-page .mlg-ad-promise {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 34px 24px 44px;
}
.mlg-ad-page .mlg-ad-promise > div:first-child {
  border-left: 0;
  border-right: 0;
  padding: 0 0 10px;
  text-align: center;
}
.mlg-ad-page .mlg-ad-promise strong {
  display: block;
  text-align: center;
}
.mlg-ad-page .mlg-ad-promise__message {
  padding: 0;
  border: 0;
  text-align: center;
}
.mlg-ad-page .mlg-ad-promise__message p {
  text-align: center;
  margin: 0 auto;
}
.mlg-ad-page .mlg-ad-promise__message em,
.mlg-ad-page .mlg-ad-signature {
  text-align: center;
  display: block;
  margin: 8px auto 0;
}

/* ── 5. Business Ad Page: Quick Info & Paper Edge Alignment ── */
.mlg-ad-page .mlg-ad-quick {
  position: relative;
  padding-bottom: 0;
}
.mlg-ad-page .mlg-ad-quick > .mlg-ad-panel {
  position: static;
  padding-bottom: 36px;
  margin-bottom: 20px;
}
.mlg-ad-page .mlg-ad-quick > .mlg-ad-panel::after {
  display: none;
}
.mlg-ad-page .mlg-ad-quick::after {
  content: '';
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 32px;
  margin-bottom: -1px;
  background: #173327;
  mask: url('../mlg/state/client/paper-edge-mask.png') center / 100% 100% no-repeat;
  bottom: 115px;
}
.mlg-ad-page .mlg-ad-script--thanks {
  margin-top: 0;
  padding-top: 32px;
  min-height: 100px;
}

/* ── 6. Business Ad Page: Current Ads (Rock-Solid Consistent Height & 1-by-1 Scroll) ── */
.mlg-ad-page .mlg-ad-current .mlg-slider__viewport {
  height: 380px !important;
  max-height: 380px !important;
  overflow: hidden !important;
  padding: 10px 0 !important;
  box-sizing: border-box !important;
}
.mlg-ad-page .mlg-ad-current .mlg-slider__track {
  height: 360px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card {
  flex: 0 0 calc((100% - 24px) / 2) !important;
  width: calc((100% - 24px) / 2) !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 360px !important;
  aspect-ratio: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #082d22 !important;
  border: 1.5px solid rgba(185, 149, 84, 0.75) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16) !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card:hover {
  transform: translateY(-4px) !important;
  border-color: #dfc187 !important;
  box-shadow: 0 14px 32px rgba(8, 45, 34, 0.3) !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 4px !important;
  display: block !important;
  margin: auto !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card--wide {
  flex: 0 0 calc((100% - 24px) / 2) !important;
  width: calc((100% - 24px) / 2) !important;
  height: 360px !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card--wide img {
  max-width: 96% !important;
  max-height: 90% !important;
}
.mlg-ad-page .mlg-ad-current .mlg-ad-card--landscape {
  flex: 0 0 calc((100% - 24px) / 2) !important;
  width: calc((100% - 24px) / 2) !important;
  height: 360px !important;
}

/* ── 7. Business Ad Page: Enlarged River's Edge Logo ── */
.mlg-ad-page .mlg-ad-brand {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}
.mlg-ad-page .mlg-ad-brand__mark {
  width: 260px;
  max-width: 100%;
  height: 200px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mlg-ad-page .mlg-ad-brand__mark img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
}

/* ── 8. Business Ad Page: Story Section Paragraph & Image Stretch ── */
.mlg-ad-page .mlg-ad-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: auto;
}
.mlg-ad-page .mlg-ad-story__grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.mlg-ad-page .mlg-ad-story__media {
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  display: flex;
}
.mlg-ad-page .mlg-ad-story__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 9. Business Ad Page: Logo Wall Full-Screen Page Break ── */
html,
body,
.mlg-ad-page {
  overflow-x: clip;
}
.mlg-ad-page .mlg-ad-logo-wall {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  height: 150vh;
  height: 150svh;
  min-height: 150vh;
  background-size: cover;
  background-position: center calc(50% + var(--ad-parallax, 0px));
  background-repeat: no-repeat;
  overflow: hidden;
}

/* ── 10. Business Ad Page: Centered Cities & Counties We Serve ── */
.mlg-ad-page .mlg-ad-area,
.mlg-ad-page .mlg-ad-area__box,
.mlg-ad-page .mlg-ad-area__content,
.mlg-ad-page .mlg-ad-area__box ul,
.mlg-ad-page .mlg-ad-area__box li {
  text-align: center;
}
.mlg-ad-page .mlg-ad-area__box h3 {
  text-align: center;
  margin-bottom: 18px;
}
.mlg-ad-page .mlg-ad-area__box ul {
  justify-items: center;
  justify-content: center;
  padding: 0;
}
.mlg-ad-page .mlg-ad-area__box li {
  list-style: none;
  text-align: center;
  padding-left: 0;
}
.mlg-ad-page .mlg-ad-area__box li::before {
  display: none;
}

/* ── 11. County Page: Sponsor Strip Truly Full Width ── */
.mlg-county-page .mlgc-sponsor,
.mlg-page .mlgc-sponsor {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.mlg-county-page .mlgc-sponsor .mlgs-sponsor__track,
.mlg-page .mlgc-sponsor .mlgs-sponsor__track {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}
.mlg-county-page .mlgc-sponsor img,
.mlg-page .mlgc-sponsor img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: 210px;
  object-fit: cover;
  display: block;
}

/* ── 12. County Page: Gallery Hero & Thumbnails Carousel ── */
.mlg-county-page .mlgc-gallery,
.mlg-county-page .mlgc-gallery__hero {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}
.mlg-county-page .mlgc-gallery__hero {
  transition: background-image 0.8s ease-in-out;
}
.mlg-county-page .mlgc-gallery__pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 12px 0;
}
.mlg-county-page .mlgc-gallery__pagination button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.mlg-county-page .mlgc-gallery__pagination button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bdab87;
  transition: background 0.2s;
}
.mlg-county-page .mlgc-gallery__pagination button[aria-current='true']::before {
  background: #123d2b;
}
.mlg-county-page .mlgc-gallery__thumbs-wrap {
  width: 100%;
  max-width: 1680px;
  margin: 12px auto 0;
  padding: 0 16px;
}
.mlg-county-page .mlgc-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mlg-county-page .mlgc-gallery__thumbs img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.mlg-county-page .mlgc-gallery__thumbs img:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.mlg-county-page .mlgc-gallery__thumbs-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 10px;
}
.mlg-county-page .mlgc-gallery__thumbs-nav button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c2b59b;
  cursor: pointer;
  transition: background 0.2s;
}
.mlg-county-page .mlgc-gallery__thumbs-nav button[aria-current='true'] {
  background: #123d2b;
}

/* ── 13. County Page: Wire & Lead Story Typography ── */
.mlg-county-page .mlgc-wire {
  min-height: 82px;
  padding: 18px 36px;
}
.mlg-county-page .mlgc-wire h3 {
  font-size: 38px;
  letter-spacing: 1px;
}
.mlg-county-page .mlgc-wire span {
  font-size: 14px;
  letter-spacing: 1px;
}
.mlg-county-page .mlgc-wire a#photo-credits {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.mlg-page .mlgc-lead,
.mlg-page .mlgs-dispatch__lead {
  min-height: 650px;
}
.mlg-page .mlgc-lead .mlg-wrap {
  min-height: 650px;
  padding: 60px 0;
}
.mlg-page .mlgc-lead__card {
  width: 520px;
  max-width: 60%;
  padding: 0;
  border: 0;
  background: none;
}
.mlg-page .mlgc-lead::before {
  background: linear-gradient(90deg, #051b14d9, transparent 80%);
}
.mlg-page .mlgc-lead__card span {
  font-size: 14px;
  letter-spacing: 2px;
}
.mlg-page .mlgc-lead__card h2 {
  font-size: 64px;
  line-height: 1.08;
}
.mlg-page .mlgc-lead__card p {
  font: 20px / 1.6 Arial, sans-serif;
}
.mlg-page .mlgc-lead__card a {
  font-size: 17px;
}
.mlg-page .mlgc-lead__card small {
  font-size: 14px;
}

/* ── 14. County Page: Random County Suggestions (Centered Header & >3 Carousel Slider) ── */
.mlg-county-page .mlgc-suggestions {
  padding: 44px 0 60px;
  text-align: center;
}
.mlg-county-page .mlgc-suggestions > .mlg-wrap {
  width: calc(100% - 48px);
  max-width: 1680px;
}
.mlg-county-page .mlgc-suggestions__header {
  text-align: center;
  margin: 0 auto 36px;
  width: 100%;
}
.mlg-county-page .mlgc-suggestions .mlgc-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  letter-spacing: 3px;
  text-align: center;
  color: #dfc187;
  text-transform: uppercase;
}
.mlg-county-page .mlgc-suggestions h2 {
  margin: 10px auto 0 !important;
  font: 400 44px / 1.2 Georgia, serif !important;
  text-align: center !important;
  color: #fff !important;
}
.mlg-county-page .mlgc-suggestions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mlg-county-page .mlgc-suggestions__carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}
.mlg-county-page .mlgc-suggestions__viewport {
  flex: 1;
  overflow: hidden;
  padding: 8px 0;
}
.mlg-county-page .mlgc-suggestions__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.mlg-county-page .mlgc-suggestions__track .mlgc-suggestion-card,
.mlgc-suggestions__track .mlgc-suggestion-card {
  flex: 0 0 calc((100% - 40px) / 3);
  width: calc((100% - 40px) / 3);
  min-width: 0;
}
.mlg-county-page .mlgc-suggestion-card,
.mlg-county-page .mlgc-suggestions__grid > a,
.mlgc-suggestion-card,
.mlgc-suggestions__grid > a {
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  min-height: 420px !important;
  height: auto !important;
  padding: 36px 28px !important;
  border: 1px solid #b99554 !important;
  border-radius: 8px !important;
  background-size: cover !important;
  background-position: center !important;
  text-decoration: none !important;
  text-align: center !important;
  isolation: isolate !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  box-sizing: border-box !important;
}
.mlg-county-page .mlgc-suggestion-card:hover,
.mlg-county-page .mlgc-suggestions__grid > a:hover,
.mlgc-suggestion-card:hover,
.mlgc-suggestions__grid > a:hover {
  transform: translateY(-4px) !important;
  border-color: #dfc187 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45) !important;
}
.mlg-county-page .mlgc-suggestion-card::before,
.mlg-county-page .mlgc-suggestions__grid > a::before,
.mlgc-suggestion-card::before,
.mlgc-suggestions__grid > a::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  background: linear-gradient(to top, rgba(1, 28, 21, 0.95) 0%, rgba(1, 28, 21, 0.55) 32%, transparent 68%) !important;
  border-radius: 7px !important;
  pointer-events: none !important;
}
.mlg-county-page .mlgc-suggestion-card > span,
.mlg-county-page .mlgc-suggestions__grid > a > span,
.mlg-county-page .mlgc-suggestion-card__title,
.mlgc-suggestion-card > span,
.mlgc-suggestions__grid > a > span,
.mlgc-suggestion-card__title {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  font: 400 32px / 1.2 Georgia, serif !important;
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}
.mlg-county-page .mlgc-suggestion-card p,
.mlg-county-page .mlgc-suggestions__grid p,
.mlg-county-page .mlgc-suggestion-card__copy,
.mlgc-suggestion-card p,
.mlgc-suggestions__grid p,
.mlgc-suggestion-card__copy {
  position: relative !important;
  z-index: 2 !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font: 16px / 1.6 Arial, sans-serif !important;
  text-align: center !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.mlg-county-page .mlgc-suggestions__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 41, 27, 0.9);
  border: 1.5px solid #b99554;
  color: #dfc187;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 0 0 auto;
  z-index: 5;
}
.mlg-county-page .mlgc-suggestions__arrow:hover:not(:disabled) {
  background: #b99554;
  color: #05291b;
  transform: scale(1.08);
}
.mlg-county-page .mlgc-suggestions__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.mlg-county-page .mlgc-suggestions__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.mlg-county-page .mlgc-suggestions__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c2b59b;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.mlg-county-page .mlgc-suggestions__dots button[aria-current="true"] {
  background: #dfc187;
  transform: scale(1.3);
}

/* ── 15. State Homepage: Map & Section Typography ── */
.mlg-state-page .mlgs-counties__top {
  grid-template-columns: 1.2fr 2fr;
  align-items: center;
  gap: 36px;
}
.mlg-state-page .mlgs-counties__map {
  max-height: 540px;
  width: 100%;
  object-fit: contain;
}
.mlg-state-page .mlgs-counties__copy .mlgs-kicker {
  font-size: 15px;
  letter-spacing: 4px;
}
.mlg-state-page .mlgs-counties__copy h2 {
  font-size: 46px;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.mlg-state-page .mlgs-counties__copy p {
  font-size: 21px;
  line-height: 1.6;
}
.mlg-state-page .mlgs-county-panel h3 {
  font-size: 26px;
  margin-bottom: 18px;
}
.mlg-state-page .mlgs-county-list a {
  font-size: 16px;
  padding: 8px 0;
  line-height: 1.4;
}
.mlg-state-page .mlgs-counties__feature p {
  font-size: 20px;
  line-height: 1.5;
}

/* ── 16. State Homepage: America Title Contrast & "This is Home" Layout ── */
.mlg-state-page .mlgs-america__paper > .mlgs-kicker,
.mlg-state-page .mlgs-america__paper h2 {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2);
}
.mlg-state-page .mlgs-america__end {
  display: block;
  text-align: center;
  min-height: auto;
  margin: 0;
  padding: 38px 24px;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--mlgs-gold);
  text-transform: uppercase;
  line-height: 1.5;
}
.mlg-state-page .mlgs-america__end::before,
.mlg-state-page .mlgs-america__end::after {
  display: inline-block;
  width: 72px;
  height: 2px;
  margin: 0 18px 5px;
  background: var(--mlgs-gold);
  content: "";
  vertical-align: middle;
}
.mlg-state-page .mlgs-america__end b {
  display: block;
  margin: 12px auto 0;
  color: var(--mlgs-deep);
  font-family: var(--mlg-script);
  font-size: 62px;
  font-weight: 400;
  text-transform: none;
  line-height: 1.15;
}

/* ── Responsive Breakpoints ── */
@media (min-width: 701px) and (max-width: 1050px) {
  .mlg-page .mlg-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mlg-state-page .mlgs-counties__top {
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
  }
  .mlg-page .mlgs-help span,
  .mlg-page .mlgc-help h2 {
    font-size: 54px;
    width: 100%;
    max-width: 80%;
  }
  .mlg-page .mlgs-help p,
  .mlg-page .mlgc-help p {
    width: 100%;
    max-width: 80%;
  }
  .mlg-county-page .mlgc-suggestions__grid {
    grid-template-columns: 1fr 1fr;
  }
  .mlg-county-page .mlgc-suggestions__track .mlgc-suggestion-card {
    flex: 0 0 calc((100% - 20px) / 2);
    width: calc((100% - 20px) / 2);
  }
  .mlg-county-page .mlgc-gallery__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .mlg-ad-page .mlg-ad-brand {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .mlg-ad-page .mlg-ad-current .mlg-slider__viewport {
    height: 340px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-slider__track {
    height: 320px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-ad-card {
    height: 320px !important;
  }
}

@media (max-width: 700px) {
  .mlg-page .mlgs-weather iframe,
  .mlg-page .mlgc-weather iframe {
    min-height: 260px;
  }
  .mlg-page .mlgs-help .mlg-wrap,
  .mlg-page .mlgc-help .mlg-wrap {
    width: calc(100% - 36px);
    min-height: 380px;
    padding: 44px 0;
  }
  .mlg-page .mlgs-help,
  .mlg-page .mlgc-help {
    min-height: 380px;
    background-position: 60% center;
  }
  .mlg-page .mlgs-help span,
  .mlg-page .mlgc-help h2 {
    max-width: 100%;
    width: 100%;
    font-size: 44px;
    line-height: 1.15;
    margin-bottom: 18px;
  }
  .mlg-page .mlgs-help p,
  .mlg-page .mlgc-help p {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
  }
  .mlg-ad-page .mlg-ad-hero h1 {
    min-height: auto;
    font-size: 32px;
    margin: 14px 0 18px;
  }
  .mlg-ad-page .mlg-ad-hero__actions {
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 24px !important;
  }
  .mlg-ad-page .mlg-ad-hero__actions a {
    font-size: 15px !important;
    padding: 12px 20px !important;
    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    height: 48px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-slider__viewport {
    height: 290px !important;
    max-height: 290px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-slider__track {
    height: 270px !important;
    gap: 16px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-ad-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 270px !important;
    padding: 12px !important;
  }
  .mlg-ad-page .mlg-ad-current .mlg-ad-card--wide,
  .mlg-ad-page .mlg-ad-current .mlg-ad-card--landscape {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 270px !important;
  }
  .mlg-ad-page .mlg-ad-brand {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mlg-ad-page .mlg-ad-brand__mark {
    width: 200px;
    max-width: 100%;
    height: 160px;
    margin: 0 auto;
  }
  .mlg-ad-page .mlg-ad-story__grid {
    grid-template-columns: 1fr;
  }
  .mlg-ad-page .mlg-ad-story__media {
    min-height: 300px;
  }
  .mlg-ad-page .mlg-ad-logo-wall {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    height: 150vh;
    height: 150svh;
    min-height: 150vh;
    background-size: cover;
    background-position: center;
  }
  .mlg-ad-page .mlg-ad-area__box ul {
    grid-template-columns: 1fr !important;
  }
  .mlg-state-page .mlgs-counties__top {
    grid-template-columns: 1fr;
  }
  .mlg-state-page .mlgs-counties__map {
    max-height: 320px;
  }
  .mlg-state-page .mlgs-america__end {
    font-size: 13px;
    padding: 28px 16px;
  }
  .mlg-state-page .mlgs-america__end::before,
  .mlg-state-page .mlgs-america__end::after {
    width: 32px;
    margin: 0 10px 3px;
  }
  .mlg-state-page .mlgs-america__end b {
    font-size: 48px;
  }
  .mlg-page .mlg-news > .mlg-wrap {
    width: calc(100% - 32px);
  }
  .mlg-page .mlg-news__grid {
    grid-template-columns: 1fr;
  }
  .mlg-page .mlg-news__card {
    min-height: 320px;
  }
  .mlg-page .mlg-news__copy h3 {
    font-size: 26px;
  }
  .mlg-page .mlg-news__copy p {
    font-size: 15px;
  }
  .mlg-page .mlgc-lead__card {
    width: 100%;
    max-width: 100%;
  }
  .mlg-page .mlgc-lead__card h2 {
    font-size: 42px;
  }
  .mlg-county-page .mlgc-gallery__thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .mlg-county-page .mlgc-suggestions__grid {
    grid-template-columns: 1fr;
  }
  .mlg-county-page .mlgc-suggestions__track .mlgc-suggestion-card {
    flex: 0 0 100%;
    width: 100%;
  }
  .mlg-county-page .mlgc-suggestions h2 {
    font-size: 32px !important;
  }
  .mlg-county-page .mlgc-suggestion-card,
  .mlg-county-page .mlgc-suggestions__grid > a {
    min-height: 360px;
    padding: 28px 20px;
  }
}

/* ── 21. Ad Gallery Lightbox Modal ── */
body.mlg-lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

.mlg-ad-lightbox[hidden] {
  display: none !important;
}

.mlg-ad-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlg-ad-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mlg-ad-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 25, 20, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mlg-ad-lightbox__container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  box-sizing: border-box;
  overflow: auto;
}

.mlg-ad-lightbox__dialog {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(1300px, 92vw);
  max-height: 88vh;
  background: #082d22;
  border: 1.5px solid rgba(199, 161, 80, 0.7);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  padding: 14px;
  box-sizing: border-box;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mlg-ad-lightbox.is-visible .mlg-ad-lightbox__dialog {
  transform: scale(1) translateY(0);
}

.mlg-ad-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #c7a150;
  color: #073a2d;
  border: 2.5px solid #ffffff;
  font-size: 26px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  z-index: 10;
  padding: 0;
}

.mlg-ad-lightbox__close:hover,
.mlg-ad-lightbox__close:focus {
  background: #073a2d;
  color: #c7a150;
  transform: scale(1.1);
  outline: none;
}

.mlg-ad-lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.mlg-ad-lightbox__image {
  display: block;
  min-width: min(580px, 86vw);
  max-width: min(1200px, 88vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Banner ad adjustments: allow full wide layout without artificial height constraints */
.mlg-ad-lightbox--banner .mlg-ad-lightbox__dialog {
  max-width: min(1400px, 95vw);
}

.mlg-ad-lightbox--banner .mlg-ad-lightbox__image {
  min-width: min(920px, 90vw);
  max-width: min(1360px, 92vw);
  max-height: 70vh;
}

@media (max-width: 768px) {
  .mlg-ad-lightbox__container {
    padding: 24px 16px;
  }
  .mlg-ad-lightbox__dialog {
    max-width: 95vw;
    max-height: 90vh;
    padding: 10px;
  }
  .mlg-ad-lightbox__close {
    top: -12px;
    right: -8px;
    width: 36px;
    height: 36px;
    font-size: 22px;
  }
  .mlg-ad-lightbox__image {
    min-width: 0;
    max-width: 88vw;
    max-height: 80vh;
  }
  .mlg-ad-lightbox--banner .mlg-ad-lightbox__image {
    min-width: 0;
    max-width: 90vw;
  }
}

/* ── Hero Text Readability (NEW) ── */
/* Overlay + gradient + shadow for text protection on background images */

.mlg-hero-section {
    position: relative;
    overflow: hidden;
}

.mlg-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.30) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.mlg-hero-content {
    position: relative;
    z-index: 3;
}

.mlg-hero-headline {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.85);
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
}

.mlg-hero-subheadline {
    font-size: 1.35rem;
    color: #f0e8c0;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75);
    margin-top: 1rem;
    line-height: 1.4;
}

/* Extra protection for story/RSS headlines */
.mlg-story-hero .mlg-hero-headline {
    text-shadow: 4px 4px 14px rgba(0, 0, 0, 0.9);
    font-size: 2.8rem;
}

.mlg-story-hero .mlg-hero-subheadline {
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
}

/* ── Service Cities Adaptive Layout ── */

.mlg-service-cities {
    text-align: left;
}

.mlg-service-cities[data-city-count="1"] {
    text-align: center;
    margin: 0 auto;
    width: max-content;
}

.mlg-service-cities[data-city-count="2"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.mlg-service-cities[data-city-count="3"] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

.mlg-service-cities[data-city-count="4"] {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    text-align: center;
}

/* ── Clickable Ad Styles ── */

.clickable-ad {
    display: block;
    text-decoration: none;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-ad:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.clickable-ad img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.ad-image {
    display: block;
    border-radius: 4px;
    overflow: hidden;
}

.ad-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── Ad Carousel Base Styles ── */

.ad-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.ad-carousel-wrapper {
    flex: 1;
    position: relative;
}

.ad-carousel-wrapper .ad-item {
    display: none;
}

.ad-carousel-wrapper .ad-item[style*="display: block"] {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 5;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: -55px;
}

.carousel-next {
    right: -55px;
}

@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .carousel-prev {
        left: -45px;
    }

    .carousel-next {
        right: -45px;
    }

    .mlg-hero-headline {
        font-size: 2.2rem;
    }

    .mlg-hero-subheadline {
        font-size: 1rem;
    }

    .mlg-service-cities[data-city-count="2"],
    .mlg-service-cities[data-city-count="3"],
    .mlg-service-cities[data-city-count="4"] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
