@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Space+Mono:wght@400;700&display=swap");

.advertise-editorial,
.pricing-editorial,
.advertise-businesses-editorial,
.advertise-golf-courses-editorial,
.advertise-hotels-editorial,
.advertise-restaurants-editorial,
.advertise-tourism-boards-editorial {
  --paper: #f4f0e6;
  --surface: #fbfaf6;
  --ink: #173b32;
  --muted: #53655d;
  --line: #d6ded5;
  --moss: #2d644d;
  --gold: #c59a4c;
  --rust: #a45b3d;
  min-width: 0;
  overflow: hidden;
  background: var(--paper) !important;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.advertise-editorial h1,
.advertise-editorial h2,
.advertise-editorial h3,
.pricing-editorial h1,
.pricing-editorial h2,
.pricing-editorial h3,
.advertise-businesses-editorial h1,
.advertise-businesses-editorial h2,
.advertise-businesses-editorial h3,
.advertise-golf-courses-editorial h1,
.advertise-golf-courses-editorial h2,
.advertise-golf-courses-editorial h3,
.advertise-hotels-editorial h1,
.advertise-hotels-editorial h2,
.advertise-hotels-editorial h3,
.advertise-restaurants-editorial h1,
.advertise-restaurants-editorial h2,
.advertise-restaurants-editorial h3,
.advertise-tourism-boards-editorial h1,
.advertise-tourism-boards-editorial h2,
.advertise-tourism-boards-editorial h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Instrument Serif", Georgia, serif;
  letter-spacing: -0.035em;
}

.ad-wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 1.25rem;
}

/* The site's later-loaded public stylesheet caps every ad-* class at 100%
   and hides overflow. Restore the intended centered wrapper on these pages. */
.public-site main :is(
  .advertise-editorial,
  .pricing-editorial,
  [class^="advertise-"][class$="-editorial"]
) .ad-wrap {
  max-width: 1180px;
  overflow: visible;
}

.ad-hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0 5rem;
  background: var(--ink) !important;
  color: var(--paper);
}

.ad-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8px;
  background: var(--gold);
  content: "";
}

.ad-hero h1 {
  max-width: 11ch;
  margin: 1rem 0 1.5rem;
  color: var(--paper) !important;
  font-size: clamp(3.3rem, 8vw, 7.2rem);
  font-weight: 400;
  line-height: 0.92;
}

.ad-hero p {
  max-width: 48rem;
  color: #d1ded5 !important;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.ad-kicker {
  color: var(--moss);
  font: 700 0.72rem/1 "Space Mono", monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ad-hero .ad-kicker,
.ad-band .ad-kicker {
  color: #e5c272;
}

.ad-crumb {
  color: #b9ccc0;
  font-size: 0.82rem;
}

.ad-crumb a {
  color: #e5eee7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.ad-btn {
  display: inline-block;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #17352c !important;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.ad-btn:hover {
  border-color: #e0bb70;
  background: #e0bb70;
  transform: translateY(-2px);
}

.ad-btn.alt {
  border-color: #315b4d;
  background: transparent;
  color: var(--ink) !important;
}

.ad-hero .ad-btn.alt,
.ad-band .ad-btn.alt {
  border-color: #afc5b7;
  color: var(--paper) !important;
}

.ad-btn.alt:hover {
  background: #2c5548;
}

.ad-section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.ad-section.tinted {
  background: #e8eee7;
}

.ad-intro {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.ad-intro h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
}

.ad-intro p,
.ad-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ad-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ad-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 59, 50, 0.06);
  transition: transform 0.2s, border-color 0.2s;
}

.ad-card:hover {
  border-color: #a9c6ae;
  transform: translateY(-3px);
}

.ad-card h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.7rem;
  font-weight: 400;
}

.ad-card p,
.ad-card li {
  color: var(--muted);
  line-height: 1.6;
}

.ad-card ul {
  margin: 1rem 0;
  padding-left: 1.1rem;
}

.ad-price {
  margin: 1rem 0 0.2rem;
  color: var(--moss);
  font: 700 1.8rem "DM Sans", sans-serif;
}

.ad-note,
.ad-legal {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.ad-price-card {
  display: flex;
  flex-direction: column;
}

.ad-price-card .ad-btn {
  margin-top: auto;
  text-align: center;
}

.ad-table {
  width: 100%;
  border: 1px solid var(--line);
  border-collapse: collapse;
  background: var(--surface);
}

.ad-table th,
.ad-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ad-table th {
  background: #e8eee7;
  color: var(--moss);
  font: 700 0.75rem "Space Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-band {
  padding: clamp(3rem, 7vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.ad-band h2 {
  color: var(--paper) !important;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.ad-band p {
  color: #d1ded5;
  line-height: 1.7;
}

.ad-faq details {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.ad-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.ad-faq p {
  max-width: 70ch;
  padding-top: 0.75rem;
  color: var(--muted);
  line-height: 1.7;
}

.ad-btn:focus-visible,
.ad-card a:focus-visible,
.ad-focus:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .ad-wrap {
    padding: 0 1rem;
  }

  .ad-hero h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  .ad-actions > * {
    width: 100%;
    text-align: center;
  }

  .ad-grid,
  .ad-grid.two {
    grid-template-columns: 1fr;
  }

  .ad-table {
    display: block;
    overflow-x: auto;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .public-site main .pricing-editorial .ad-table {
    overflow-x: auto;
  }

  .ad-card {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .advertise-editorial *,
  .pricing-editorial *,
  .advertise-businesses-editorial *,
  .advertise-golf-courses-editorial *,
  .advertise-hotels-editorial *,
  .advertise-restaurants-editorial *,
  .advertise-tourism-boards-editorial * {
    transition: none !important;
  }
}