/* =========================================================
   Cape Cod Restaurants Network — Unified Template Style
   ========================================================= */

/* ---- Theme variable bridge (theme.js -> CSS variables) ---- */
:root{
  --page-bg:        var(--site-light, #eef5ef);
  --page-text:      var(--site-ink,   #102015);

  --header-grad-start: var(--site-main,   #1F7A4A);
  --header-grad-mid:   var(--site-deep,   #0F5A3C);
  --header-grad-end:   var(--site-forest, #0B3D2E);
  --header-border:     var(--site-forest, #0B3D2E);
  --header-title:      var(--site-cream,  #FFF7E6);
  --header-subtitle:   var(--site-cream,  #FFF7E6);
  --header-link:       var(--site-gold,   #D4AF37);
  --header-link-hover: #FFEAA0;

  --nav-bg:           var(--site-deep,   #0F5A3C);
  --nav-border:       var(--site-forest, #0B3D2E);
  --nav-link:         var(--site-gold,   #D4AF37);
  --nav-link-hover:   #FFEAA0;

  --card-bg:          var(--site-white,  #ffffff);
  --card-shadow:      var(--site-shadow, rgba(0,0,0,0.12));
  --card-heading:     var(--site-forest, #0B3D2E);
  --card-text-muted:  var(--site-muted,  #5C6B62);
  --card-border:      var(--site-border, #CFE6D6);

  --letter-heading-border: var(--site-main, #1F7A4A);
  --letter-heading-text:   var(--site-main, #1F7A4A);

  --chip-bg:        #DFF2E6;
  --chip-bg-hover:  #CFEBDD;
  --chip-text:      var(--site-forest, #0B3D2E);

  --button-bg:        var(--site-main, #1F7A4A);
  --button-bg-hover:  #16663D;
  --button-text:      var(--site-white, #ffffff);

  --button-alt-bg:       var(--site-forest, #0B3D2E);
  --button-alt-text:     var(--site-cream,  #FFF7E6);
  --button-alt-hover-op: 0.92;

  --filter-bg:            #E0F2E7;
  --filter-border:        #BFE3D1;
  --filter-label:         var(--site-forest, #0B3D2E);
  --filter-select-bg:     var(--site-white,  #ffffff);
  --filter-select-border: var(--site-deep,   #0F5A3C);
  --filter-select-text:   var(--site-forest, #0B3D2E);

  --footer-bg:         var(--site-forest, #0B3D2E);
  --footer-text:       var(--site-cream,  #FFF7E6);
  --footer-link:       var(--site-gold,   #D4AF37);
  --footer-link-hover: #FFEAA0;

  --link-text:   var(--site-forest, #0B3D2E);
  --link-hover:  var(--site-main,   #1F7A4A);

  --maxw:   var(--site-maxw, 960px);
  --radius: var(--site-radius, 14px);
  --font:   var(--site-font, Arial, Helvetica, sans-serif);
}

/* ---- Site palette: Cape Cod Restaurants Network ----
   Keep these brand variables near the top so this file can become
   a reusable template for future restaurant directory sites.
   To create another restaurant site, change these values first,
   then update the HTML text, banner image, and canonical URL.
*/
body[data-site="restaurants"] {
  --site-main:   #0b4f77;
  --site-deep:   #062a4f;
  --site-forest: #031b33;
  --site-ink:    #102033;
  --site-muted:  #5d6977;
  --site-light:  #eef6fb;
  --site-cream:  #fff8e7;
  --site-gold:   #d8ad45;
  --site-white:  #ffffff;
  --site-border: #c8ddea;
  --site-shadow: rgba(3, 27, 51, 0.14);

  --page-bg: #eef6fb;
  --page-text: #102033;

  --header-grad-start: #0d5f8a;
  --header-grad-mid: #073e68;
  --header-grad-end: #031b33;
  --header-border: #d8ad45;

  --nav-bg: #062a4f;
  --nav-border: #031b33;
  --nav-link: #fff8e7;
  --nav-link-hover: #ffd978;

  --letter-heading-border: #0b4f77;
  --letter-heading-text: #062a4f;

  --chip-bg: #dfeff8;
  --chip-bg-hover: #cbe5f3;
  --chip-text: #062a4f;

  --button-bg: #0b4f77;
  --button-bg-hover: #073e68;
  --button-alt-bg: #062a4f;

  --filter-bg: #e2f0f8;
  --filter-border: #c8ddea;
  --filter-label: #062a4f;
  --filter-select-border: #0b4f77;

  --footer-bg: #031b33;
}

/* ---- Base reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background: var(--page-bg);
  color: var(--page-text);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

main,
header,
nav,
footer,
section,
div {
  max-width: 100%;
}

a {
  color: var(--link-text);
  text-decoration: none;
  font-weight: 700;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ---- Header ---- */
header {
  width: 100%;
  background: linear-gradient(
    to bottom,
    var(--header-grad-start) 0%,
    var(--header-grad-mid) 60%,
    var(--header-grad-end) 100%
  );
  color: var(--header-title);
  text-align: center;
  padding: 18px 12px 14px;
  border-bottom: 3px solid var(--header-border);
}

header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--header-title);
}

header .tagline {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.95rem;
  color: var(--header-subtitle);
}

header .site-url {
  margin: 0.12rem 0;
  font-size: 0.95rem;
}

header a {
  color: var(--header-link);
  text-decoration: none;
  font-weight: 800;
}

header a:hover {
  color: var(--header-link-hover);
  text-decoration: underline;
}


.site-header-inner {
  width: min(100%, var(--maxw));
  margin: 0 auto;
}

.network-label {
  margin: 0 0 0.35rem;
  color: var(--header-link);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Nav ---- */
nav {
  width: 100%;
  background-color: var(--nav-bg);
  padding: 10px 12px;
  text-align: center;
  border-bottom: 2px solid var(--nav-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

nav a {
  color: var(--nav-link);
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
}

nav a:hover {
  color: var(--nav-link-hover);
  text-decoration: underline;
}

/* Featured Restaurants callout in the main menu */
nav a.featured-nav-link {
  background: linear-gradient(135deg, #f7d774, #d9a441);
  color: #062a4f;
  font-weight: 900;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

nav a.featured-nav-link:hover,
nav a.featured-nav-link:focus {
  background: linear-gradient(135deg, #ffe28a, #c9932f);
  color: #031b33;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.24);
}

/* ---- Shared containers ---- */
.container {
  width: 100%;
  padding: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  background: transparent;
}

.share-container {
  width: 100%;
  text-align: center;
  padding: 10px 12px 0;
}

#share-btn {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--card-shadow);
}

#share-btn:hover {
  background: var(--button-bg-hover);
}

.loading-message,
.error-message {
  padding: 1rem 0;
  font-weight: 700;
}

.error-message {
  color: #b00020;
}

/* ---- Hero banner ---- */
.hero-banner {
  width: 100%;
  margin: 0.9rem auto 0.8rem;
  padding: 0 12px;
}

.hero-banner img {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ---- Accent panel ---- */
.restaurant-accent {
  width: 100%;
  margin: 0 auto 0.75rem;
  padding: 0 12px;
}

.restaurant-accent-inner {
  max-width: 950px;
  margin: 0 auto;
  background: linear-gradient(135deg, #e6f4f9, #fff2dc);
  border-radius: 20px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

.accent-left,
.accent-right {
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.accent-center {
  text-align: center;
  flex: 1 1 auto;
  min-width: 0;
}

.accent-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f4e5f;
  margin-bottom: 0.2rem;
}

.accent-sub {
  font-size: 0.9rem;
  color: #6a4b1f;
  font-weight: 600;
}


/* ---- Homepage intro panel ---- */
.site-intro {
  margin: 0 auto 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(216, 173, 69, 0.18), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #eef8fc 100%);
  border: 1px solid var(--card-border);
  box-shadow: 0 6px 18px var(--card-shadow);
  text-align: center;
}

.site-intro h2 {
  margin: 0 0 0.45rem;
  color: var(--card-heading);
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.15;
}

.site-intro p {
  max-width: 780px;
  margin: 0 auto;
  color: #263b4c;
  font-size: 1rem;
  line-height: 1.55;
}

/* ---- Filter bar ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background-color: var(--filter-bg);
  border-bottom: 2px solid var(--filter-border);
  border-radius: 0 0 10px 10px;
}

#town-search-container,
#specialty-search-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-bar label,
#town-search-container label,
#specialty-search-container label {
  font-weight: 800;
  color: var(--filter-label);
}

.filter-bar select,
#town-search-container select,
#specialty-search-container select {
  max-width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--filter-select-border);
  background: var(--filter-select-bg);
  color: var(--filter-select-text);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---- Letters index ---- */
.letters-index {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.letters-index a {
  padding: 0.4rem 0.6rem;
  background: var(--chip-bg);
  color: var(--chip-text);
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  border: 1px solid var(--card-border);
}

.letters-index a:hover {
  background: var(--chip-bg-hover);
}

/* ---- Letter sections ---- */
.letter-section {
  margin-top: 2rem;
}

.letter-section h2 {
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--letter-heading-border);
  padding-bottom: 0.25rem;
  color: var(--letter-heading-text);
}

.category-heading {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: var(--card-heading);
  text-align: center;
}

/* ---- Restaurant list ---- */
ul.restaurant-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.restaurant-list li {
  background: var(--card-bg);
  margin: 0.5rem 0;
  padding: 0.75rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px var(--card-shadow);
  border: 1px solid var(--card-border);
}

ul.restaurant-list li a.name {
  font-weight: 800;
  color: var(--card-heading);
  text-decoration: none;
}

ul.restaurant-list li a.name:hover {
  text-decoration: underline;
}

ul.restaurant-list li a.address,
ul.restaurant-list li a.phone {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  color: var(--card-text-muted);
  text-decoration: none;
}

ul.restaurant-list li a.address:hover,
ul.restaurant-list li a.phone:hover {
  text-decoration: underline;
}

/* ---- Featured pill ---- */
#restaurant-list a.featured-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.9);
  background: var(--site-forest, #0B3D2E);
  color: var(--site-gold, #D4AF37);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
  vertical-align: middle;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

#restaurant-list a.featured-pill:hover {
  background: var(--site-deep, #0F5A3C);
  border-color: #FFEAA0;
  color: #FFEAA0;
  transform: translateY(-1px);
}

#restaurant-list a.featured-pill:focus-visible {
  outline: 3px solid #FFEAA0;
  outline-offset: 2px;
}

/* ---- Shop cards ---- */
.shop-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--card-shadow);
  padding: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--card-border);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1rem;
  margin: 0.6rem 0 0.25rem;
  color: var(--card-heading);
}

.product-card .price {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--card-text-muted);
}

.product-card .buy-button {
  margin-top: auto;
  background: var(--button-bg);
  color: var(--button-text);
  padding: 0.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.product-card .buy-button:hover {
  background: var(--button-bg-hover);
}

/* ---- Ad / promo cards ---- */
.letter-ad-slot {
  margin: 16px 0 32px;
}

.ad-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 10px var(--card-shadow);
}

.ad-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}

.ad-title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--card-heading);
}

.ad-text {
  margin: 0 0 8px;
  color: var(--card-text-muted);
}

.ad-button {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--button-alt-bg);
  color: var(--button-alt-text);
  text-decoration: none;
  font-weight: 800;
}

.ad-button:hover {
  opacity: var(--button-alt-hover-op);
}

.letter-promo-slot {
  margin: 12px 0 20px;
}

.promo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 10px var(--card-shadow);
  max-width: 420px;
}

.promo-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.promo-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.promo-title {
  margin: 0 0 2px;
  font-size: 0.95rem;
  color: var(--card-heading);
}

.promo-text {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--card-text-muted);
}

.promo-button {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 10px;
  background: var(--button-alt-bg);
  color: var(--button-alt-text);
  text-decoration: none;
  font-weight: 800;
}

.promo-button:hover {
  opacity: var(--button-alt-hover-op);
}

/* ---- Footer ---- */
.site-footer {
  margin-top: 24px;
  padding: 12px 8px 16px;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  font-size: 0.85rem;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--footer-link);
  text-decoration: none;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--footer-link-hover);
  text-decoration: underline;
}

/* ---- Featured page compatibility ---- */
html.featured-page body {
  background: #F4F7F4;
  color: #1B2B22;
}

html.featured-page .featured-header {
  background: linear-gradient(135deg, var(--site-forest, #0B3D2E), var(--site-main, #1F7A4A));
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}

html.featured-page .featured-header h1 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: 0.03em;
  color: #fff;
}

html.featured-page .featured-header p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  color: #EAF6EE;
}

.featured-main {
  max-width: var(--maxw);
  margin: 1.5rem auto 2.5rem;
  padding: 0 1rem 2rem;
}

.intro-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 1.2rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.5rem;
  border: 1px solid var(--card-border);
}

.intro-box h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--site-forest, #0B3D2E);
}

html.featured-page .intro-box.featured-intro {
  background: linear-gradient(135deg, var(--site-deep, #0F5A3C), var(--site-forest, #0B3D2E));
  color: #fff;
  border: 1px solid rgba(0,0,0,0.2);
}

html.featured-page .intro-box.featured-intro h2 {
  color: #fff;
}

html.featured-page .intro-box.featured-intro p,
html.featured-page .intro-box.featured-intro li {
  color: #EAF6EE;
}

html.featured-page .intro-box.featured-intro a.cta-button {
  background: var(--site-gold, #D4AF37);
  color: #1B2B22;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.featured-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  border: 1px solid var(--card-border);
}

.featured-image {
  flex: 0 0 38%;
  min-height: 150px;
  background-size: cover;
  background-position: center;
}

.featured-content {
  flex: 1;
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.featured-town {
  font-size: 0.85rem;
  color: #3E6B55;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.featured-name {
  font-size: 1.25rem;
  margin: 0;
  color: #102015;
}

.featured-description {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #263B31;
}

.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.featured-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #E3F3EA;
  color: #153A2A;
  border: 1px solid #CDE7DB;
}

.featured-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.featured-links a {
  text-decoration: none;
  font-weight: 800;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--site-deep, #0F5A3C);
  color: var(--site-forest, #0B3D2E);
  background: #F4FBF7;
}

.featured-links a:hover {
  background: #E6F4EA;
}

.phone-link::before {
  content: "📞 ";
}

.featured-footer {
  font-size: 0.8rem;
  color: #4B6E5A;
}

.cta-box {
  margin-top: 2.2rem;
  background: var(--site-forest, #0B3D2E);
  color: #fff;
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--site-gold, #D4AF37);
  color: #1B2B22;
  font-weight: 900;
  text-decoration: none;
}

.back-to-listings {
  margin-top: 2rem;
  text-align: center;
}

.back-to-listings a {
  font-weight: 800;
  text-decoration: none;
  color: var(--site-deep, #0F5A3C);
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  nav {
    gap: 8px 14px;
    padding: 10px 8px;
  }

  nav a {
    font-size: 0.95rem;
  }

  .container {
    padding: 0.9rem;
  }

  .restaurant-accent-inner {
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem;
  }

  .accent-left,
  .accent-right {
    font-size: 1.3rem;
  }

  .accent-title {
    font-size: 1rem;
  }

  .accent-sub {
    font-size: 0.85rem;
  }

  .promo-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }

  .ad-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 10px;
    align-items: center;
  }

  .featured-card {
    display: flex;
    flex-direction: column;
  }

  .promo-image {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover;
    flex-shrink: 0;
  }

  .ad-image {
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
  }

  .featured-image {
    width: 100%;
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .site-intro {
    border-radius: 14px;
    padding: 0.95rem;
    text-align: left;
  }

  .site-intro h2 {
    text-align: center;
  }

  header {
    padding: 14px 8px 10px;
  }

  header h1 {
    font-size: 1.28rem;
    line-height: 1.08;
    letter-spacing: 0;
    margin: 0;
  }

  header .tagline,
  header .site-url {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  header .tagline {
    margin: 0.28rem 0 0.18rem;
  }

  header .site-url {
    margin: 0.08rem 0;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 8px;
    align-items: stretch;
  }

  nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.88rem;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    padding: 8px 6px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
  }

  nav a:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 220px;
    margin: 0 auto;
  }

  .share-container {
    padding: 10px 10px 0;
  }

  #share-btn {
    font-size: 0.95rem;
    padding: 10px 16px;
  }

  .hero-banner {
    padding: 0;
    margin-top: 0.7rem;
  }

  .hero-banner img {
    border-radius: 0;
  }

  .restaurant-accent {
    padding: 0 8px;
  }

  .container {
    padding: 0.8rem;
  }

  .filter-bar {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .letters-index {
    justify-content: flex-start;
  }

  #restaurant-list a.featured-pill {
    margin-left: 0;
    margin-top: 0.35rem;
    display: inline-flex;
  }
}

/* ---- Mobile hero banner final fix ---- */
@media screen and (max-width: 768px) {
  .hero-banner {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    margin: 0.75rem auto 0.7rem;
    padding: 0 8px;
    overflow: visible;
  }

  .hero-banner img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    max-width: 1280px;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center center;
    border-radius: 14px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 520px) {
  .hero-banner {
    padding: 0;
    margin-top: 0.7rem;
  }

  .hero-banner img {
    width: 100%;
    height: auto !important;
    border-radius: 0;
  }
}
/* ---- Featured restaurants page refinements ---- */
.featured-hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.featured-page-note {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.02rem;
}

.empty-featured-message,
.loading-message {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(45, 106, 79, 0.35);
  text-align: center;
  margin-top: 1rem;
}

.empty-featured-message[hidden] {
  display: none !important;
}

.featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.featured-address {
  font-size: 0.9rem;
  color: #3E6B55;
  font-weight: 700;
}

.footer-copyright {
  opacity: 0.9;
}

@media (max-width: 720px) {
  .featured-hero-actions,
  .cta-row {
    align-items: stretch;
  }

  .featured-hero-actions .cta-button,
  .cta-row .cta-button {
    width: 100%;
    text-align: center;
  }
}


/* ---- Thank-you pages ---- */
.thankyou-grid {
  display: grid;
  gap: 1rem;
}

.thankyou-card h2 {
  margin-top: 0;
}

.centered-card {
  text-align: center;
}

.success-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.center-buttons {
  justify-content: center;
}

.small-text {
  font-size: 0.98rem;
  line-height: 1.5;
}

.muted-text {
  opacity: 0.82;
}

.subtle-text {
  opacity: 0.9;
}

.badge-inline {
  display: inline-block;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.btn-ghost {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 61, 46, 0.26);
  background: transparent;
  color: var(--site-forest, #0B3D2E);
  font-weight: 900;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(11, 61, 46, 0.06);
  text-decoration: none;
}

.light-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.light-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 520px) {
  .button-row .cta-button,
  .button-row .btn-ghost {
    width: 100%;
    text-align: center;
  }
}

/* ---- Submit restaurant page: polished free-listing form ---- */
body[data-page="submit"] .submit-page {
  max-width: 900px;
  padding-top: 1.25rem;
}

body[data-page="submit"] .category-heading {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--site-forest, #0B3D2E);
  margin: 0.75rem auto 0.35rem;
  text-align: center;
}

.free-listing-callout {
  max-width: 800px;
  margin: 1rem auto 1.35rem;
  padding: 1.25rem 1.25rem 1.35rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(135deg, #eaf8ef 0%, #ffffff 58%, #fff7df 100%);
  border: 1px solid rgba(11, 132, 87, 0.24);
  box-shadow: 0 10px 28px rgba(18, 61, 47, 0.10);
  text-align: center;
}

.free-listing-callout .free-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  background: var(--site-main, #1F7A4A);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(15, 90, 60, 0.18);
}

.free-listing-callout h2 {
  margin: 0.2rem 0 0.5rem;
  color: var(--site-forest, #0B3D2E);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  line-height: 1.12;
}

.free-listing-callout p {
  margin: 0.4rem auto;
  max-width: 690px;
  color: #2d4938;
  font-size: 1rem;
}

.free-listing-callout strong {
  color: var(--site-deep, #0F5A3C);
}

.site-form {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--card-border, #CFE6D6);
  box-shadow: 0 10px 28px rgba(18, 61, 47, 0.10);
}

.form-row {
  margin-top: 0.95rem;
}

.form-row:first-child {
  margin-top: 0;
}

.site-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--site-forest, #0B3D2E);
  font-weight: 900;
}

.site-form input[type="text"],
.site-form input[type="tel"],
.site-form input[type="email"],
.site-form input[type="url"],
.site-form textarea,
.site-form select {
  width: 100%;
  padding: 0.72rem 0.78rem;
  border: 1px solid #bdd9ca;
  border-radius: 12px;
  background: #fbfffd;
  color: var(--site-ink, #102015);
  font: inherit;
  font-size: 1rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.site-form textarea {
  resize: vertical;
  min-height: 118px;
}

.site-form input:focus,
.site-form textarea:focus,
.site-form select:focus {
  outline: none;
  border-color: var(--site-main, #1F7A4A);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(31, 122, 74, 0.14);
}

.form-help,
.form-note {
  margin: 0.38rem 0 0;
  color: var(--site-muted, #5C6B62);
  font-size: 0.88rem;
  line-height: 1.4;
}

.form-note {
  text-align: center;
  margin-top: 0.85rem;
}

.form-submit-row {
  margin-top: 1.15rem;
  text-align: center;
}

.primary-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--site-main, #1F7A4A), var(--site-deep, #0F5A3C));
  color: #ffffff;
  font-weight: 950;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(15, 90, 60, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-submit-button:hover,
.primary-submit-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 90, 60, 0.30);
}

.primary-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.form-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 620px) {
  body[data-page="submit"] .submit-page {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .free-listing-callout,
  .site-form {
    border-radius: 18px;
    padding: 1rem;
  }

  .primary-submit-button {
    width: 100%;
  }
}

/* ---- Pricing page ---- */
body[data-page="pricing"] .pricing-main {
  max-width: 1100px;
}

.pricing-intro {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--site-gold, #D4AF37);
  color: #2e2300;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-hero {
  display: grid;
  gap: 1.2rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--card-border, #CFE6D6);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(18, 61, 47, 0.09);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-copy h2 {
  margin-top: 0;
}

.price-card {
  background: linear-gradient(180deg, #ffffff, #f7fff9);
  border: 2px solid rgba(45, 106, 79, 0.22);
  border-radius: 22px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(18, 61, 47, 0.08);
}

.price-card .badge {
  display: inline-block;
  background: var(--site-gold, #D4AF37);
  color: #302300;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-weight: 950;
  font-size: 0.88rem;
  margin-bottom: 0.8rem;
}

.price-card h2 {
  margin: 0.15rem 0 0;
  color: var(--site-forest, #0B3D2E);
  font-size: clamp(2.35rem, 7vw, 3.65rem);
  line-height: 1.02;
  font-weight: 950;
}

.price-subtitle {
  margin: 0.45rem 0 0.65rem;
  color: var(--site-muted, #5C6B62);
  font-size: 1.05rem;
  font-weight: 850;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.95rem;
  margin-top: 1rem;
}

.pricing-benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.22;
}

.pricing-benefit-card p {
  margin-top: 0.45rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.95rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: start;
  background: #EAF6EF;
  border: 1px solid rgba(45, 106, 79, 0.16);
  border-radius: 18px;
  padding: 1rem;
}

.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  background: var(--site-main, #1F7A4A);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 4px 12px rgba(15, 90, 60, 0.22);
}

.steps li strong {
  display: block;
  color: var(--site-forest, #0B3D2E);
  font-size: 1.04rem;
  line-height: 1.25;
}

.steps li span {
  display: block;
  color: #263B31;
  line-height: 1.45;
}

.secondary-button {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 900;
  text-align: center;
  background: #ffffff;
  color: var(--site-forest, #0B3D2E) !important;
  border: 2px solid var(--site-main, #1F7A4A);
}

.secondary-button:hover,
.secondary-button:focus {
  background: #EAF6EF;
  text-decoration: none;
}

.pricing-note {
  margin-top: 1rem;
}

@media (min-width: 820px) {
  .pricing-hero {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

@media (max-width: 620px) {
  .steps li {
    grid-template-columns: 1fr;
  }

  .steps li::before {
    grid-row: auto;
  }

  .secondary-button {
    width: 100%;
  }
}

/* =========================================================
   Get Featured page — single $199 yearly upgrade
   Used by: GetFeatured.html
   ========================================================= */

.featured-upgrade-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1rem 2.5rem;
}

.featured-upgrade-hero {
  margin: 0.9rem auto 1.2rem;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.24), transparent 38%),
    linear-gradient(135deg, var(--site-forest, #0B3D2E), var(--site-main, #1F7A4A));
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 61, 47, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.featured-upgrade-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 1.25rem;
  text-align: center;
}

.featured-upgrade-hero h1 {
  margin: 0.2rem auto 0.8rem;
  max-width: 820px;
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.featured-upgrade-hero .hero-intro {
  max-width: 720px;
  margin: 0 auto;
  color: #EAF6EE;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  text-decoration: none;
}

.button-primary {
  background: var(--site-gold, #D4AF37);
  color: #1B2B22 !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.button-primary:hover,
.button-primary:focus {
  background: #FFE28A;
  color: #132714 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
}

.content-section {
  width: 100%;
  margin: 1rem auto;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--card-border, #CFE6D6);
  box-shadow: 0 10px 28px rgba(18, 61, 47, 0.10);
}

.content-section h2 {
  margin-top: 0;
  color: var(--site-forest, #0B3D2E);
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1.15;
}

.content-section h3 {
  color: var(--site-forest, #0B3D2E);
}

.featured-upgrade-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 1rem;
  align-items: stretch;
}

.content-copy p {
  color: #263B31;
}

.notice-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: #FFF8DF;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.notice-box strong {
  color: var(--site-forest, #0B3D2E);
  font-size: 1.02rem;
}

.notice-box p {
  margin: 0.35rem 0 0;
}

.featured-price-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 22px;
  padding: 1.35rem 1.15rem;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.24), transparent 36%),
    linear-gradient(160deg, var(--site-forest, #0B3D2E), var(--site-main, #1F7A4A));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 61, 47, 0.18);
}

.price-card-label {
  margin: 0 0 0.5rem;
  color: #FFEAA0;
  font-weight: 950;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.price-card-price {
  margin: 0.15rem 0 0.6rem;
  color: #ffffff;
  font-size: clamp(2.7rem, 8vw, 4.5rem);
  font-weight: 950;
  line-height: 0.95;
}

.price-card-price span {
  display: block;
  margin-top: 0.35rem;
  color: #EAF6EE;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.featured-price-card p:not(.price-card-label):not(.price-card-price) {
  color: #EAF6EE;
}

.benefit-card {
  border-radius: 18px;
  padding: 1rem;
  background: #EAF6EF;
  border: 1px solid rgba(45, 106, 79, 0.16);
}

.benefit-card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  line-height: 1.22;
}

.benefit-card p {
  margin: 0;
  color: #263B31;
}

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

.step-card {
  border-radius: 18px;
  padding: 1rem;
  background: #FFF8DF;
  border: 1px solid rgba(212, 175, 55, 0.42);
}

.step-number {
  width: 2.1rem;
  height: 2.1rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--site-main, #1F7A4A);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 4px 12px rgba(15, 90, 60, 0.22);
}

.step-card h3 {
  margin: 0 0 0.45rem;
}

.step-card p {
  margin: 0;
  color: #263B31;
}

.final-cta {
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff, #EAF6EF);
}

.final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.small-note {
  color: var(--site-muted, #5C6B62);
  font-size: 0.94rem;
}

@media (max-width: 820px) {
  .featured-upgrade-intro,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .featured-upgrade-page {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .featured-upgrade-hero {
    border-radius: 18px;
  }

  .featured-upgrade-hero-inner,
  .content-section,
  .featured-price-card {
    padding: 1rem;
  }

  .hero-actions .button,
  .featured-price-card .button,
  .final-cta .button {
    width: 100%;
  }
}



/* =========================================================
   Rebrand content-page utilities
   Used by: about.html, submit-restaurant.html, featured-restaurants.html,
            getfeatured.html
   ========================================================= */

.interior-hero-banner {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.content-page {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.content-card {
  width: 100%;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.55rem);
  border-radius: 22px;
  background:
    radial-gradient(circle at top left, rgba(216, 173, 69, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 1px solid var(--card-border, #c8dcea);
  box-shadow: 0 10px 28px rgba(6, 42, 79, 0.10);
}

.content-card > p,
.content-section p,
.content-list {
  color: #263b4c;
  font-size: 1rem;
  line-height: 1.62;
}

.content-card > p {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.content-card .category-heading {
  margin-top: 0.15rem;
}

.section-title {
  margin: 0 0 0.5rem;
  color: var(--card-heading, #062a4f);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  line-height: 1.2;
}

.content-list {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.content-list li {
  margin-bottom: 0.45rem;
}

.disclaimer-box {
  background:
    linear-gradient(135deg, #fff8df 0%, #ffffff 100%);
  border-color: rgba(216, 173, 69, 0.45);
}

body[data-page="about"] .content-section {
  margin-top: 1.1rem;
}

/* Keep Get Featured page consistent with the new blue/gold rebrand. */
body[data-site="restaurants"] .featured-upgrade-hero {
  background:
    radial-gradient(circle at top left, rgba(216, 173, 69, 0.28), transparent 38%),
    linear-gradient(135deg, var(--site-navy, #062a4f), var(--site-blue, #0f4c81));
}

body[data-site="restaurants"] .featured-price-card {
  background:
    radial-gradient(circle at top right, rgba(216, 173, 69, 0.26), transparent 36%),
    linear-gradient(160deg, var(--site-navy, #062a4f), var(--site-blue, #0f4c81));
}

/* ---- Featured upgrade price-card contrast fix ----
body[data-site="restaurants"] .featured-price-card .price-card-label {
  color: #ffe28a !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
}

body[data-site="restaurants"] .featured-price-card .price-card-price {
  color: #ffe28a !important;
  font-size: clamp(3rem, 8vw, 4.75rem);
  font-weight: 950;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.38);
}

body[data-site="restaurants"] .featured-price-card .price-card-price span {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body[data-site="restaurants"] .notice-box,
body[data-site="restaurants"] .step-card {
  background: #fff8df;
  border-color: rgba(216, 173, 69, 0.45);
}

body[data-site="restaurants"] .benefit-card,
body[data-site="restaurants"] .steps li {
  background: #eef8fc;
  border-color: rgba(15, 76, 129, 0.16);
}

body[data-site="restaurants"] .button-primary,
body[data-site="restaurants"] .cta-button {
  background: var(--site-gold, #d8ad45);
  color: #062a4f !important;
}

body[data-site="restaurants"] .button-primary:hover,
body[data-site="restaurants"] .button-primary:focus,
body[data-site="restaurants"] .cta-button:hover,
body[data-site="restaurants"] .cta-button:focus {
  background: #ffe28a;
  color: #031b33 !important;
  text-decoration: none;
}

/* Improve featured-page spacing when the shared banner is present. */
.featured-main {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 620px) {
  .content-card {
    border-radius: 18px;
  }

  .content-card > p,
  .content-section p,
  .content-list {
    font-size: 0.96rem;
  }
}


/* =========================================================
   Cape Cod Restaurants Network — featured submission flow
   ========================================================= */
.network-note {
  margin: 0.15rem 0 0;
  color: var(--site-gold, #d8ad45);
  font-weight: 800;
  font-size: 0.9rem;
}

.interior-banner {
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.form-section-heading {
  margin: 1.25rem 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(6, 42, 79, 0.08);
  color: var(--site-navy, #062a4f);
  font-weight: 950;
  border: 1px solid rgba(6, 42, 79, 0.12);
}

.featured-submit-page .site-form {
  max-width: 840px;
}

body[data-site="restaurants"] .featured-price-card .price-card-label,
body[data-site="restaurants"] .payment-price-card .price-card-label {
  color: #ffffff !important;
  opacity: 0.95;
}

body[data-site="restaurants"] .featured-price-card .price-card-price,
body[data-site="restaurants"] .payment-price-card .price-card-price {
  color: #ffd86b !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

body[data-site="restaurants"] .featured-price-card .price-card-price span,
body[data-site="restaurants"] .payment-price-card .price-card-price span {
  color: #ffffff !important;
  text-shadow: none;
}

.form-message.success {
  color: #0b6b35;
}

.form-message.error {
  color: #b00020;
}

/* =========================================================
   Dining Stories / Comments pages
   Add to assets/css/style.css
   ========================================================= */

.main-nav a[aria-current="page"] {
  outline: 2px solid rgba(255, 234, 160, 0.55);
  outline-offset: 3px;
}

.dining-story-page,
.dining-stories-page {
  max-width: 960px;
}

.dining-story-intro {
  text-align: center;
}

.dining-story-intro p {
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}

.optional-label {
  font-weight: 700;
  color: var(--site-muted, #5C6B62);
}

.story-guidelines-box {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 18px;
  background: #fff8df;
  border: 1px solid rgba(212, 175, 55, 0.42);
}

.story-guidelines-box h3 {
  margin-top: 0;
  color: var(--site-forest, #062a4f);
}

.story-guidelines-box ul {
  margin-bottom: 0;
}

.comments-list {
  display: grid;
  gap: 1rem;
}

.comment-card {
  padding: 1.1rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.13), transparent 32%),
    #ffffff;
  border: 1px solid var(--card-border, #CFE6D6);
  box-shadow: 0 7px 18px rgba(6, 42, 79, 0.08);
}

.comment-title {
  margin: 0 0 0.35rem;
  color: var(--site-deep, #062a4f);
  line-height: 1.2;
}

.comment-meta {
  margin: 0 0 0.7rem;
  color: var(--site-muted, #5C6B62);
  font-weight: 800;
  font-size: 0.92rem;
}

.comment-text {
  margin: 0.5rem 0;
  color: var(--page-text, #102015);
  line-height: 1.58;
}

.comment-author {
  margin: 0.75rem 0 0;
  color: var(--site-main, #0a4c80);
  font-weight: 900;
  font-size: 0.92rem;
}

.form-message.success {
  color: #0f6b3f;
}

.form-message.error {
  color: #b00020;
}

@media (max-width: 520px) {
  .main-nav a {
    font-size: 0.84rem;
  }

  .comment-card {
    padding: 0.95rem;
  }
}

