/* Client-supplied final flow, artwork, popup, and full-width revisions. */
:root {
  --mlg-client-green-texture: url("../mlg/client-revisions/state-background.png");
  --mlg-client-tear-medium: url("../mlg/client-revisions/page-tear-medium.png");
  --mlg-client-tear-rough: url("../mlg/client-revisions/page-tear-rough.png");
  --mlg-client-tear-subtle: url("../mlg/client-revisions/page-tear-subtle.png");
}

.mlg-page {
  width: 100%;
  max-width: none;
  margin: 0;
}

.mlg-page .mlg-wrap {
  width: min(1560px, calc(100% - 64px));
}

.mlg-state-page,
.mlg-county-page {
  background-image: none;
}

.mlgs-glance,
.mlgs-featured,
.mlgc-glance,
.mlgc-businesses,
.mlgc-suggestions {
  background-color: #03392c;
  background-image: linear-gradient(rgba(1, 47, 36, .82), rgba(1, 35, 27, .9)), var(--mlg-client-green-texture) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

[data-mlg-rotating-bg] {
  transition: background-image .8s ease-in-out;
}

/* State page */
.mlg-state-page .mlgs-nav .mlg-header {
  width: min(1560px, calc(100% - 64px));
}

.mlgs-hero {
  min-height: min(820px, 82vh);
  background-position: center;
}

.mlgs-hero__content {
  padding-left: 2%;
}

.mlgs-counties__map {
  background: transparent !important;
  box-shadow: none !important;
}

.mlgs-featured__grid {
  width: 100%;
}

.mlgs-featured__grid,
.mlgs-featured__side {
  gap: 16px;
}

.mlgs-county-card {
  overflow: hidden;
  border: 1px solid rgba(210, 171, 91, .55);
  border-radius: 5px;
}

.mlgs-america {
  padding-bottom: 0;
  overflow: hidden;
}

.mlgs-america > img {
  width: 100%;
  height: min(690px, 66vw);
  min-height: 520px;
  object-fit: cover;
  object-position: center top;
}

.mlgs-america__paper {
  width: min(1560px, calc(100% - 64px));
  margin-top: -300px;
  padding: 156px 72px 0;
  border: 1px solid rgba(184, 148, 71, .62);
  border-bottom: 0;
  background: linear-gradient(to bottom, rgba(248, 244, 234, 0), rgba(248, 244, 234, .8) 115px, #f8f4ea 255px);
}

.mlgs-america__paper::before {
  display: none;
}

.mlgs-america__paper h2 {
  font-size: clamp(76px, 9vw, 138px);
  text-shadow: 0 2px 16px rgba(248, 244, 234, .9);
}

.mlgs-america__paper > div > p,
.mlgs-america__paper > p {
  max-width: 980px;
  font-size: 18px;
}

.mlgs-values {
  margin-inline: -72px;
  padding: 42px 72px 48px;
}

.mlgs-values article p {
  font-size: 16px;
}

.mlgs-america__end {
  padding: 38px 20px 50px;
  font-size: 16px;
}

.mlgs-dispatch::after,
.mlgs-gallery__hero::after,
.mlgs-help::after {
  z-index: 7;
  right: 0;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: clamp(55px, 8vw, 118px);
  background: var(--mlg-client-tear-medium) center bottom / 100% 100% no-repeat !important;
  clip-path: none !important;
  content: "";
  pointer-events: none;
}

.mlgs-dispatch,
.mlgs-gallery__hero,
.mlgs-help {
  position: relative;
}

.mlgs-story-video {
  padding-top: 58px;
  padding-bottom: 76px;
}

.mlgs-story-video__media {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(184, 148, 71, .7);
  border-radius: 7px;
}

.mlgs-story-video__play {
  display: grid !important;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(3, 57, 44, .88);
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.mlgs-gallery__hero {
  min-height: 600px;
}

.mlgs-county-popup {
  padding: 22px;
  background: rgba(0, 22, 17, .86);
}

.mlgs-county-popup__dialog {
  width: min(1240px, 100%);
  max-height: 92vh;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(197, 154, 69, .8);
  background: #f8f4ea;
  text-align: left;
}

.mlgs-county-popup__close {
  z-index: 20;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
}

.mlgs-popup-explore__top {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 38px;
  padding: 46px 52px 28px;
  align-items: center;
}

.mlgs-popup-explore__top h2 {
  margin: 4px 0 12px;
  color: #073d31;
  font-size: 48px;
}

.mlgs-popup-explore__top p {
  color: #475c54;
  font-size: 15px;
  line-height: 1.7;
}

.mlgs-popup-explore__top img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.mlgs-popup-explore__content {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: 28px 52px 42px;
}

.mlgs-popup-explore__content h3 {
  margin-bottom: 18px;
  color: #073d31;
  font-size: 30px;
}

.mlgs-county-popup__list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0;
}

.mlgs-county-popup__list a {
  display: flex;
  gap: 7px;
  padding: 9px;
  align-items: center;
  font-size: 11px;
}

.mlgs-popup-explore__feature {
  overflow: hidden;
  border: 1px solid rgba(197, 154, 69, .55);
  border-radius: 5px;
  background: #073d31;
  color: #fff;
}

.mlgs-popup-explore__feature img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.mlgs-popup-explore__feature > div {
  padding: 18px;
  font-size: 13px;
  line-height: 1.55;
}

.mlgs-county-popup .mlgs-sponsor {
  min-height: 100px;
  padding: 10px 0;
}

/* County page */
.mlgc-hero {
  min-height: min(930px, 92vh);
  background-position: center;
}

.mlgc-hero__content {
  min-height: min(930px, 92vh);
}

.mlgc-hero__shade {
  background: linear-gradient(90deg, rgba(1, 24, 18, .94) 0%, rgba(1, 24, 18, .94) 30%, rgba(1, 24, 18, .62) 48%, rgba(1, 24, 18, .08) 78%, transparent 100%);
}

.mlgc-businesses > .mlg-wrap {
  width: min(1640px, calc(100% - 44px));
}

.mlgc-businesses {
  padding-top: 74px;
  padding-bottom: 96px;
}

.mlgc-businesses::before {
  background: var(--mlg-client-tear-subtle) center top / 100% 100% no-repeat !important;
  clip-path: none !important;
}

.mlgc-business-slider .mlg-slider__track {
  height: 500px;
}

.mlgc-business-slider .mlg-ad-card {
  width: 25%;
  min-width: 0;
}

.mlgc-gallery__hero {
  min-height: 690px;
}

.mlgc-gallery__thumbs {
  width: min(1560px, calc(100% - 64px));
}

.mlgc-wire {
  width: 100%;
  padding-inline: max(32px, calc((100% - 1560px) / 2));
}

.mlgc-wire a {
  border: 1px solid #d2ae63;
  padding: 8px 14px;
}

.mlgc-lead::after {
  height: clamp(50px, 7vw, 105px);
  background: var(--mlg-client-tear-rough) center bottom / 100% 100% no-repeat !important;
  clip-path: none !important;
}

.mlgc-ad-popup {
  padding: 20px;
}

.mlgc-ad-popup__dialog {
  width: min(1420px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid #c59a45;
  background: #01291f;
}

.mlgc-ad-popup__dialog > .mlgc-businesses {
  min-height: 0;
  padding: 46px 0 54px;
}

.mlgc-ad-popup__dialog .mlgc-business-slider .mlg-slider__track {
  height: 420px;
}

/* Ad page */
.mlg-ad-page .mlg-wrap,
.mlg-ad-story__values {
  width: min(1560px, calc(100% - 64px));
}

.mlg-ad-brush-top::before,
.mlg-ad-brush-bottom::after {
  right: 0;
  left: 0;
  width: 100%;
  height: clamp(58px, 8vw, 130px);
  clip-path: none !important;
  background-color: transparent !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 100% 100% !important;
}

.mlg-ad-brush-top::before {
  top: calc(clamp(58px, 8vw, 130px) * -0.72);
  background-image: url("../mlg/client-revisions/ad-brush-1.png") !important;
}

.mlg-ad-brush-bottom::after {
  bottom: calc(clamp(58px, 8vw, 130px) * -0.72);
  background-image: url("../mlg/client-revisions/ad-brush-2.png") !important;
}

.mlg-ad-current {
  margin-bottom: clamp(72px, 8vw, 128px);
  padding-top: 72px;
}

.mlg-ad-current .mlg-ad-panel {
  padding: 42px 54px 45px;
  border: 2px solid rgba(184, 148, 71, .8);
  box-shadow: inset 0 0 0 7px rgba(184, 148, 71, .12);
}

.mlg-ad-current.mlg-ad-brush-bottom::after {
  bottom: calc(clamp(70px, 9vw, 140px) * -0.86);
  height: clamp(70px, 9vw, 140px);
  background-image: url("../mlg/client-revisions/ad-brush-2.png") !important;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-slider__track {
  height: 460px;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
  width: 30%;
  height: 400px;
  aspect-ratio: auto;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card--wide {
  width: 70%;
  height: 220px;
}

.mlg-ad-script--thanks {
  min-height: 112px;
  margin-top: 26px;
  padding: 38px 24px;
  clip-path: none;
  background: transparent url("../mlg/client-revisions/ad-brush-1.png") center / 100% 100% no-repeat;
  font-size: 27px;
}

.mlg-ad-brand {
  grid-template-columns: 220px 1fr;
  min-height: 138px;
  padding: 25px 34px;
}

.mlg-ad-brand__mark {
  height: 104px;
}

.mlg-ad-brand h3 {
  font-size: 31px;
}

.mlg-ad-brand p {
  font-size: 16px;
}

.mlg-ad-story {
  position: relative;
  padding-bottom: clamp(68px, 8vw, 126px);
}

.mlg-ad-story::after {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(68px, 8vw, 126px);
  background: url("../mlg/client-revisions/ad-brush-4.png") center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.mlg-ad-story__media {
  margin-left: 0;
  clip-path: none;
}

.mlg-ad-logo-wall {
  width: 100%;
  min-height: 125vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.mlg-contact-popup {
  padding: 20px;
}

.mlg-contact-popup__panel {
  width: min(1180px, 100%);
  max-height: 92vh;
  padding: 38px 42px 0;
  overflow: auto;
  border: 2px solid #b89447;
  background: #f7f1df;
}

.mlg-contact-popup__panel > .mlg-ad-panel {
  padding: 30px 32px;
  border: 1px solid rgba(184, 148, 71, .72);
}

.mlg-contact-popup__panel .mlg-ad-script--thanks {
  width: calc(100% + 84px);
  margin-right: -42px;
  margin-left: -42px;
}

.mlg-contact-popup__close {
  z-index: 8;
}

@media (max-width: 980px) {
  .mlg-page .mlg-wrap,
  .mlg-state-page .mlgs-nav .mlg-header,
  .mlg-ad-page .mlg-wrap,
  .mlg-ad-story__values,
  .mlgc-gallery__thumbs {
    width: calc(100% - 40px);
  }

  .mlgs-america__paper {
    width: calc(100% - 40px);
    padding-inline: 38px;
  }

  .mlgs-values {
    margin-inline: -38px;
    padding-inline: 38px;
  }

  .mlgs-popup-explore__top,
  .mlgs-popup-explore__content {
    padding-inline: 30px;
  }

  .mlgc-business-slider .mlg-ad-card {
    width: 38%;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
    width: 42%;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card--wide {
    width: 78%;
  }
}

@media (max-width: 700px) {
  .mlg-page .mlg-wrap,
  .mlg-state-page .mlgs-nav .mlg-header,
  .mlg-ad-page .mlg-wrap,
  .mlg-ad-story__values,
  .mlgc-gallery__thumbs {
    width: calc(100% - 28px);
  }

  .mlgs-hero {
    min-height: 680px;
  }

  .mlgs-america > img {
    min-height: 420px;
    height: 480px;
  }

  .mlgs-america__paper {
    width: calc(100% - 20px);
    margin-top: -205px;
    padding: 105px 18px 0;
  }

  .mlgs-america__paper h2 {
    font-size: 54px;
  }

  .mlgs-america__paper > div > p,
  .mlgs-america__paper > p {
    font-size: 14px;
  }

  .mlgs-values {
    margin-inline: -18px;
    padding: 28px 18px 34px;
  }

  .mlgs-values article p {
    font-size: 13px;
  }

  .mlgs-gallery__hero {
    min-height: 410px;
  }

  .mlgs-story-video__play {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .mlgs-county-popup {
    padding: 8px;
  }

  .mlgs-county-popup__dialog {
    max-height: 96vh;
  }

  .mlgs-popup-explore__top,
  .mlgs-popup-explore__content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 18px 20px;
  }

  .mlgs-popup-explore__top h2 {
    font-size: 34px;
  }

  .mlgs-popup-explore__top img {
    max-height: 190px;
  }

  .mlgs-county-popup__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mlgs-popup-explore__feature img {
    height: 160px;
  }

  .mlgc-hero,
  .mlgc-hero__content {
    min-height: 720px;
  }

  .mlgc-hero__shade {
    background: linear-gradient(90deg, rgba(1, 24, 18, .92) 0%, rgba(1, 24, 18, .8) 48%, rgba(1, 24, 18, .16) 100%);
  }

  .mlgc-businesses > .mlg-wrap {
    width: calc(100% - 16px);
  }

  .mlgc-business-slider .mlg-slider__track,
  .mlgc-ad-popup__dialog .mlgc-business-slider .mlg-slider__track {
    height: 320px;
  }

  .mlgc-business-slider .mlg-ad-card {
    width: 72%;
  }

  .mlgc-gallery__hero {
    min-height: 450px;
  }

  .mlgc-ad-popup {
    padding: 7px;
  }

  .mlgc-ad-popup__dialog > .mlgc-businesses {
    padding-top: 42px;
  }

  .mlg-ad-current .mlg-ad-panel {
    padding: 32px 12px 34px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-slider__track {
    height: 340px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
    width: 76%;
    height: 305px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card--wide {
    width: 88%;
    height: 150px;
  }

  .mlg-ad-brand {
    grid-template-columns: 1fr;
  }

  .mlg-ad-brand__mark {
    height: 92px;
  }

  .mlg-ad-logo-wall {
    min-height: 100vh;
    background-attachment: scroll;
  }

  .mlg-contact-popup {
    padding: 7px;
  }

  .mlg-contact-popup__panel {
    padding: 42px 12px 0;
  }

  .mlg-contact-popup__panel > .mlg-ad-panel {
    padding: 22px 10px;
  }

  .mlg-contact-popup__panel .mlg-ad-script--thanks {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
    font-size: 21px;
  }
}

/* Final reference alignment: clean section flow, restrained tears, readable controls. */
.mlg-ad-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  clip-path: none;
}

.mlg-ad-hero__media::before {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 34px;
  background: linear-gradient(90deg, var(--ad-paper) 0%, rgba(248, 243, 226, .92) 32%, rgba(248, 243, 226, .4) 68%, transparent 100%);
  content: "";
  pointer-events: none;
}

.mlg-ad-brush-top::before,
.mlg-ad-brush-bottom::after {
  height: 50px;
  background-size: 100% 100% !important;
}

.mlg-ad-brush-top::before {
  top: -27px;
}

.mlg-ad-brush-bottom::after {
  bottom: -27px;
}

.mlg-ad-map.mlg-ad-brush-top::before,
.mlg-ad-services.mlg-ad-brush-top::before {
  display: none;
}

.mlg-ad-script--thanks {
  position: relative;
  min-height: 84px;
  margin: 24px 0 0;
  padding: 27px 24px;
  overflow: visible;
  clip-path: none;
  background: var(--ad-green);
  font-size: 25px;
}

.mlg-ad-script--thanks::before,
.mlg-ad-script--thanks::after {
  position: absolute;
  z-index: 1;
  right: 0;
  left: 0;
  width: 100%;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: "";
  pointer-events: none;
}

.mlg-ad-script--thanks::before {
  top: -18px;
  background-image: url("../mlg/client-revisions/ad-brush-1.png");
}

.mlg-ad-script--thanks::after {
  bottom: -18px;
  background-image: url("../mlg/client-revisions/ad-brush-2.png");
}

.mlg-ad-map {
  padding-top: 70px;
}

.mlg-ad-current {
  margin-bottom: 42px;
  padding: 64px 0 70px;
}

.mlg-ad-current.mlg-ad-brush-bottom::after {
  bottom: -31px;
  height: 58px;
}

.mlg-ad-current .mlg-ad-panel {
  padding: 48px 56px 44px;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-slider__viewport {
  padding: 24px 8px 40px;
  perspective: none;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-slider__track {
  position: relative;
  display: flex;
  height: 390px;
  gap: 22px;
  align-items: center;
  transition: transform .45s ease;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: 350px;
  min-width: 0;
  flex: 0 0 calc((100% - 44px) / 3);
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 1px solid rgba(184, 148, 71, .66);
  border-radius: 5px;
  background: #073d31;
  box-shadow: 0 12px 26px rgba(15, 50, 38, .17);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--ad-gold);
  box-shadow: 0 17px 32px rgba(15, 50, 38, .23);
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mlg-ad-current .mlg-ad-coverflow .mlg-ad-card--wide {
  width: auto;
  height: 190px;
  flex-basis: 100%;
  background: transparent;
}

.mlg-ad-current .mlg-slider__arrow,
.mlgc-business-slider .mlg-slider__arrow {
  position: relative;
  z-index: 6;
  flex: 0 0 auto;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.mlg-ad-current .mlg-slider__arrow i,
.mlgc-business-slider .mlg-slider__arrow i {
  display: none;
}

.mlg-ad-current .mlg-slider__arrow::after,
.mlgc-business-slider .mlg-slider__arrow::after {
  display: block;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.mlg-ad-current .mlg-slider__arrow--prev::after,
.mlgc-business-slider .mlg-slider__arrow--prev::after {
  content: "\2039";
}

.mlg-ad-current .mlg-slider__arrow--next::after,
.mlgc-business-slider .mlg-slider__arrow--next::after {
  content: "\203A";
}

.mlg-ad-current .mlg-slider__arrow:hover,
.mlgc-business-slider .mlg-slider__arrow:hover {
  transform: scale(1.08);
  background: var(--ad-gold);
  color: var(--ad-green);
}

.mlg-ad-story {
  padding-bottom: 0;
}

.mlg-ad-story::after {
  bottom: -28px;
  height: 58px;
}

.mlg-ad-logo-wall {
  margin-top: 0;
}

.mlgs-dispatch::after,
.mlgs-gallery__hero::after,
.mlgs-help::after {
  bottom: -1px;
  height: clamp(36px, 4vw, 58px);
}

.mlgc-lead::after {
  bottom: -1px;
  height: clamp(34px, 3.8vw, 54px);
}

.mlgs-coverage-title {
  padding: 34px 20px 14px;
}

.mlgs-stories {
  padding-top: 34px;
}

.mlgs-story-video__play i {
  display: none;
}

.mlgs-story-video__play::before {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid #fff;
  content: "";
}

.mlgs-glance article {
  padding: 23px 14px 20px;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.mlgs-glance article:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 172, 98, .8);
  background: rgba(255, 255, 255, .045);
}

.mlgs-gallery__title {
  padding: 25px 20px 27px;
}

@media (max-width: 980px) {
  .mlg-ad-current .mlg-ad-panel {
    padding-inline: 34px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 700px) {
  .mlg-ad-hero__media {
    min-height: 350px;
    margin: 0;
    clip-path: none;
  }

  .mlg-ad-hero__media::before {
    display: none;
  }

  .mlg-ad-brush-top::before,
  .mlg-ad-brush-bottom::after {
    height: 34px;
  }

  .mlg-ad-brush-top::before {
    top: -18px;
  }

  .mlg-ad-brush-bottom::after {
    bottom: -18px;
  }

  .mlg-ad-current {
    margin-bottom: 28px;
    padding-block: 48px 54px;
  }

  .mlg-ad-current .mlg-ad-panel {
    padding: 31px 15px 28px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-slider__track {
    height: 345px;
    gap: 12px;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card {
    height: 320px;
    flex-basis: 100%;
  }

  .mlg-ad-current .mlg-ad-coverflow .mlg-ad-card--wide {
    height: 145px;
    flex-basis: 100%;
  }

  .mlg-ad-current.mlg-ad-brush-bottom::after,
  .mlg-ad-story::after {
    bottom: -20px;
    height: 40px;
  }

  .mlg-ad-script--thanks {
    min-height: 74px;
    padding: 24px 16px;
    font-size: 20px;
  }

  .mlgs-dispatch::after,
  .mlgs-gallery__hero::after,
  .mlgs-help::after,
  .mlgc-lead::after {
    height: 34px;
  }

  .mlgs-story-video__play::before {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 15px;
  }
}

/* Default content and preserved Terms template */
.mlg-default-template {
  min-height: 100vh;
  background: #f8f4ea;
}

.mlg-default-template__hero {
  position: relative;
  min-height: 360px;
  padding-top: 120px;
  background: linear-gradient(110deg, rgba(1, 41, 31, .98), rgba(4, 75, 56, .88)), var(--mlg-client-green-texture) center / cover no-repeat;
  color: #fff;
}

.mlg-default-template__hero > .mlg-wrap {
  padding: 80px 0 65px;
}

.mlg-default-template__hero span {
  color: #d4ac62;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.mlg-default-template__hero h1 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(48px, 7vw, 94px);
  line-height: 1.02;
}

.mlg-default-template__content {
  padding-top: 72px;
  padding-bottom: 90px;
  color: #33473f;
  font-size: 17px;
  line-height: 1.8;
}

.mlg-default-template__content > * {
  max-width: 980px;
}

.terms-page {
  --terms-green: #063d31;
  --terms-gold: #c59a45;
  --terms-paper: #f8f4ea;
  background: var(--terms-paper);
  color: #263a33;
}

.terms-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.terms-pdf-hero {
  position: relative;
  display: grid;
  min-height: 650px;
  padding: 80px 24px;
  place-items: center;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.terms-pdf-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(1, 34, 26, .56), rgba(1, 34, 26, .82));
}

.terms-pdf-hero-inner {
  position: relative;
  width: min(900px, 100%);
}

.terms-pdf-eyebrow,
.terms-pdf-divider,
.terms-pdf-info-heading,
.terms-pdf-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.terms-pdf-eyebrow {
  color: #e0bd72;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.terms-pdf-hero h1 {
  margin: 18px 0;
  color: #fff;
  font-size: clamp(50px, 8vw, 96px);
  line-height: 1;
}

.terms-pdf-divider span {
  width: 110px;
  height: 1px;
  background: #d4ac62;
}

.terms-pdf-hero p {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 17px;
  line-height: 1.75;
}

.terms-pdf-about,
.terms-pdf-text-row,
.terms-pdf-attributions,
.terms-pdf-info {
  padding: 76px 0;
}

.terms-pdf-about-card {
  padding: 50px 58px;
  border: 1px solid rgba(197, 154, 69, .55);
  border-radius: 6px;
  background: rgba(255, 255, 255, .58);
}

.terms-pdf-about h2,
.terms-pdf-section-title h2,
.terms-pdf-info h2,
.terms-pdf-cta h2 {
  color: var(--terms-green);
  font-size: clamp(34px, 4.5vw, 56px);
}

.terms-pdf-about p,
.terms-pdf-text-row,
.terms-pdf-section-intro,
.terms-pdf-info > .terms-wrap > p {
  font-size: 16px;
  line-height: 1.75;
}

.terms-pdf-attributions,
.terms-pdf-info {
  border-top: 1px solid rgba(197, 154, 69, .26);
  background: rgba(255, 255, 255, .46);
}

.terms-pdf-section-title,
.terms-pdf-info-heading {
  justify-content: flex-start;
  color: var(--terms-gold);
}

.terms-pdf-section-title span {
  height: 1px;
  flex: 1;
  background: rgba(197, 154, 69, .55);
}

.terms-pdf-section-intro,
.terms-pdf-info > .terms-wrap > p {
  margin: 18px 0 30px;
}

.terms-pdf-select-wrap select {
  width: min(460px, 100%);
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid rgba(197, 154, 69, .65);
  background: #fff;
  color: var(--terms-green);
}

.terms-attribution-panel {
  display: none;
  margin-top: 28px;
  padding: 30px;
  border: 1px solid rgba(197, 154, 69, .3);
  background: #fff;
}

.terms-attribution-panel.is-active {
  display: block;
}

.terms-attribution-panel li {
  margin: 8px 0;
}

.terms-attribution-panel a {
  color: #08704f;
  overflow-wrap: anywhere;
}

.terms-pdf-accordion {
  border: 1px solid rgba(197, 154, 69, .35);
  background: #fff;
}

.terms-pdf-acc-item {
  border-bottom: 1px solid rgba(6, 61, 49, .12);
}

.terms-pdf-acc-item button {
  display: grid;
  width: 100%;
  min-height: 66px;
  padding: 12px 20px;
  align-items: center;
  grid-template-columns: 44px 1fr 24px;
  border: 0;
  background: transparent;
  color: var(--terms-green);
  text-align: left;
  cursor: pointer;
}

.terms-pdf-acc-item button span {
  color: var(--terms-gold);
  font-family: var(--mlg-serif);
  font-size: 18px;
}

.terms-pdf-acc-item button b {
  font-family: var(--mlg-serif);
  font-size: 18px;
}

.terms-pdf-acc-body {
  padding: 0 65px 24px;
  font-size: 15px;
  line-height: 1.75;
}

.terms-pdf-acc-item.is-open button i {
  transform: rotate(180deg);
}

.terms-pdf-cta {
  padding: 66px 0;
  background: linear-gradient(110deg, #063d31, #01291f), var(--mlg-client-green-texture);
  color: #fff;
}

.terms-pdf-cta .terms-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.terms-pdf-cta-copy {
  display: flex;
  max-width: 850px;
  align-items: center;
  gap: 24px;
}

.terms-pdf-cta-copy > i {
  color: #d4ac62;
  font-size: 42px;
}

.terms-pdf-cta h2 {
  color: #fff;
}

.terms-pdf-cta p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.terms-pdf-cta-btn {
  flex: 0 0 auto;
  padding: 14px 21px;
  border: 1px solid #d4ac62;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 700px) {
  .terms-wrap {
    width: calc(100% - 28px);
  }

  .terms-pdf-hero {
    min-height: 540px;
  }

  .terms-pdf-about,
  .terms-pdf-text-row,
  .terms-pdf-attributions,
  .terms-pdf-info {
    padding: 48px 0;
  }

  .terms-pdf-about-card,
  .terms-attribution-panel {
    padding: 28px 20px;
  }

  .terms-pdf-acc-item button {
    padding-inline: 10px;
    grid-template-columns: 36px 1fr 20px;
  }

  .terms-pdf-acc-body {
    padding: 0 46px 20px;
  }

  .terms-pdf-cta .terms-wrap,
  .terms-pdf-cta-copy {
    align-items: flex-start;
    flex-direction: column;
  }
}
