/* main.css (FULL FILE) */
:root{
  --bg: #f7f4ee;
  --header-bg: #efe9df; /* darker cream for header band */
  --text: #2b2b2b;
  --accent: #b24a2b;

  /* Footer green (tweak if you want it closer to the logo green) */
  --footer-green: #7b8b73;

  --max: 1200px;
  --pad: 24px;
}

/* Reset / base */
html, body { margin: 0; padding: 0; height: 100%; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Sticky footer layout (so footer stays at bottom even with little content) */
#ccm-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Whatever your main content wrapper is, let it grow */
#ccm-page > main{ flex: 1 0 auto; }
#ccm-page > .site-main{ flex: 1 0 auto; }
#ccm-page > .ccm-page{ flex: 1 0 auto; }

/* =========================
   HEADER
   ========================= */
.site-header{
  background: var(--header-bg);
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.site-header .header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap; /* important: prevents overflow */
}

/* remove Concrete default spacing inside global areas */
.site-header .header-logo,
.site-header .main-nav,
.site-header .header-logo .ccm-area,
.site-header .main-nav .ccm-area{
  margin: 0 !important;
  padding: 0 !important;
}

/* Logo */
.site-header .header-logo{ flex: 0 0 auto; }
.site-header .header-logo img{
  display: block;
  width: 260px;
  height: auto;
  max-width: 100%;
}

/* Nav wrapper */
.site-header .main-nav{
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Concrete Auto-Nav markup */
.site-header .main-nav ul,
.site-header .main-nav .nav,
.site-header nav ul{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  flex-wrap: wrap !important; /* important: allows wrapping on mobile */
}

.site-header .main-nav li{ margin: 0 !important; padding: 0 !important; }

/* pill links */
.site-header .main-nav a{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  text-decoration: none !important;
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 15px !important;

  padding: 10px 14px !important;
  border-radius: 999px !important;
  background: transparent;

  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.site-header .main-nav a:hover{
  background: rgba(178,74,43,.12) !important;
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.site-header .main-nav .nav-selected > a,
.site-header nav ul > li.nav-selected > a{
  background: rgba(178,74,43,.18) !important;
  color: var(--accent) !important;
}

/* =========================
   FOOTER (3 columns desktop, stacked mobile)
   ========================= */
.site-footer{
  background: var(--footer-green);
  color: #fff;
  width: 100%;
  margin-top: auto; /* sticky footer */
  padding: 18px 0;

  /* iPhone safe area so it can't get clipped near the bottom bar */
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
}

.site-footer .footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  flex-wrap: wrap; /* critical: prevents nav/copyright from going off-screen */
}

/* remove Concrete default spacing inside global areas */
.site-footer .footer-col,
.site-footer .footer-col .ccm-area{
  margin: 0 !important;
  padding: 0 !important;
}

/* logo */
.site-footer .footer-logo{
  flex: 0 0 auto;
}
.site-footer .footer-logo img{
  display: block;
  width: 180px;
  height: auto;
  max-width: 100%;
}

/* nav */
.site-footer .footer-nav{
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 220px;
}

.site-footer .footer-nav ul,
.site-footer .footer-nav .nav{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 12px !important;
  flex-wrap: wrap !important;
}

.site-footer .footer-nav a{
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;

  padding: 8px 12px !important;
  border-radius: 999px !important;

  background: rgba(255,255,255,.10);
  transition: background-color .15s ease, transform .15s ease;
}

.site-footer .footer-nav a:hover{
  background: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

.site-footer .footer-nav .nav-selected > a{
  background: rgba(255,255,255,.24);
}

/* copyright */
.site-footer .footer-copy{
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  text-align: right;
}

/* =========================
   MOBILE FIXES
   ========================= */
@media (max-width: 760px){

  /* Header stacks and centers nicely */
  .site-header .header-inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .site-header .main-nav{
    width: 100%;
    justify-content: center;
  }

  .site-header .main-nav ul,
  .site-header .main-nav .nav,
  .site-header nav ul{
    justify-content: center !important;
  }

  /* Footer stacks so nothing gets shoved off-screen */
  .site-footer .footer-inner{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
  }

  .site-footer .footer-nav{
    justify-content: center;
    width: 100%;
  }

  .site-footer .footer-copy{
    text-align: center;
    white-space: normal;
  }
}

/* ===== Eat Local: Express Form Styling (Clean + Spaced) ===== */

.ccm-block-express-form {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 18px;
}

/* Card */
.ccm-block-express-form form {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  backdrop-filter: blur(6px);
}

/* Fieldset + legend */
.ccm-block-express-form fieldset {
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 18px 18px 8px;
  margin: 0 0 18px;
}

.ccm-block-express-form legend {
  padding: 0 10px;
  font-weight: 700;
  font-size: 16px;
  color: rgba(0,0,0,.78);
}

/* --- The key fix: force consistent spacing per field row --- */
/* Concrete Express tends to output label + input inside wrappers.
   This targets common patterns so spacing doesn't collapse. */
.ccm-block-express-form .form-group,
.ccm-block-express-form .control-group,
.ccm-block-express-form .controls,
.ccm-block-express-form .form-group > div,
.ccm-block-express-form fieldset > div {
  margin-bottom: 18px;
}

/* Make labels always sit above their fields with breathing room */
.ccm-block-express-form label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 10px;
  color: rgba(0,0,0,.78);
}

/* Inputs */
.ccm-block-express-form input[type="text"],
.ccm-block-express-form input[type="email"],
.ccm-block-express-form input[type="tel"],
.ccm-block-express-form input[type="url"],
.ccm-block-express-form select,
.ccm-block-express-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.25;
  background: rgba(255,255,255,.88);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

/* Textarea */
.ccm-block-express-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Focus */
.ccm-block-express-form input:focus,
.ccm-block-express-form select:focus,
.ccm-block-express-form textarea:focus {
  outline: none;
  border-color: rgba(179, 92, 62, .55);
  box-shadow: 0 0 0 4px rgba(179, 92, 62, .15);
  background: rgba(255,255,255,.95);
}

/* Headings if any */
.ccm-block-express-form h3,
.ccm-block-express-form h4 {
  margin: 0 0 16px;
}

/* Captcha spacing */
.ccm-block-express-form .g-recaptcha {
  margin: 18px 0 22px;
}

/* Submit button */
.ccm-block-express-form button[type="submit"],
.ccm-block-express-form input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  background: #a5533a;
  color: #fff;
  box-shadow: 0 12px 20px rgba(165, 83, 58, .22);
  transition: transform .08s ease, box-shadow .15s ease, opacity .15s ease;
}

.ccm-block-express-form button[type="submit"]:hover,
.ccm-block-express-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(165, 83, 58, .26);
}

.ccm-block-express-form button[type="submit"]:active,
.ccm-block-express-form input[type="submit"]:active {
  transform: translateY(0);
  opacity: .93;
}

/* Mobile */
@media (max-width: 700px) {
  .ccm-block-express-form {
    margin: 24px auto;
    padding: 0 12px;
  }

  .ccm-block-express-form form {
    padding: 18px;
    border-radius: 14px;
  }

  .ccm-block-express-form fieldset {
    padding: 16px 14px 6px;
  }
}
/* ===== Eat Local: Submit Page Intro (goes ABOVE the Express form) ===== */
.elo-submit-intro{
  max-width: 860px;
  margin: 30px auto 18px;
  padding: 0 18px;
}

.elo-submit-card{
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  backdrop-filter: blur(6px);
}

.elo-submit-title{
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
  color: rgba(0,0,0,.85);
}

.elo-submit-lead{
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(0,0,0,.75);
}

.elo-submit-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 14px 0 12px;
}

@media (min-width: 760px){
  .elo-submit-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.elo-submit-box{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,255,255,.55);
}

.elo-submit-box h2{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  color: rgba(0,0,0,.78);
}

.elo-submit-box ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,.74);
}

.elo-submit-box li{
  margin: 8px 0;
  line-height: 1.45;
}

.elo-submit-note{
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(0,0,0,.60);
}

/* ===== Submit page: tighten intro + form spacing ===== */
.elo-submit-intro{
  margin-bottom: 14px; /* was 18px */
}

/* The Express block already has margin-top: 30px in your form CSS */
.ccm-block-express-form{
  margin-top: 14px; /* overrides 30px so it sits closer to the intro */
}

/* EatLocalOK - Restaurants Express List styling */
.restaurant-list{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* Table layout + card spacing */
.restaurant-list table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 14px; /* space between "cards" */
}

/* Hide header row */
.restaurant-list thead{
  display:none;
}

/* Card row look */
.restaurant-list tbody tr{
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:transform .15s ease, box-shadow .15s ease;
}

/* Cell styling */
.restaurant-list tbody td{
  padding:16px 18px;
  vertical-align:middle;
  border:none !important;
  background:#fff; /* ensures consistent “card” fill */
}

/* Rounded corners on the card (tables need this on TDs) */
.restaurant-list tbody tr td:first-child{
  border-top-left-radius:12px;
  border-bottom-left-radius:12px;
  font-weight:700;
  font-size:18px;
}

.restaurant-list tbody tr td:last-child{
  border-top-right-radius:12px;
  border-bottom-right-radius:12px;
}

/* Links: no “1998 internet” */
.restaurant-list a,
.restaurant-list a:visited{
  color:inherit;
  text-decoration:none;
}

/* Hover */
.restaurant-list tbody tr:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,0.12);
}

/* Mobile stack */
@media (max-width:700px){
  .restaurant-list table,
  .restaurant-list tbody,
  .restaurant-list tr,
  .restaurant-list td{
    display:block;
    width:100%;
  }

  .restaurant-list tbody tr{
    padding:6px 0;
  }

  .restaurant-list tbody td{
    padding:10px 16px;
  }

  .restaurant-list tbody tr td:first-child{
    font-size:18px;
    padding-top:16px;
    border-radius:12px 12px 0 0; /* top corners */
  }

  .restaurant-list tbody tr td:last-child{
    padding-bottom:16px;
    border-radius:0 0 12px 12px; /* bottom corners */
  }
}
/* =========================================================
   EatLocalOK - Restaurant Details (BLOCK TEMPLATE output)
   Targets: .restaurant-details .card .list-group .list-group-item
   ========================================================= */

.restaurant-details{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* Card shell */
.restaurant-details .card{
  border:0 !important;
  border-radius:16px !important;
  box-shadow:0 6px 18px rgba(0,0,0,0.08) !important;
  overflow:hidden; /* keeps rounded corners clean */
  background:#fff !important;
}

/* Inner padding */
.restaurant-details .card-body{
  padding:28px !important;
}

/* Kill default list group look */
.restaurant-details .list-group{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
}

.restaurant-details .list-group-item{
  border:0 !important;
  border-bottom:1px solid rgba(0,0,0,0.06) !important;
  padding:14px 0 !important;
  margin:0 !important;
  background:transparent !important;

  /* Make each field row layout nicely */
  display:grid !important;
  grid-template-columns:220px 1fr !important;
  column-gap:26px !important;
  row-gap:6px !important;
  align-items:start !important;
}

/* last row no border */
.restaurant-details .list-group-item:last-child{
  border-bottom:0 !important;
}

/* LABEL: first element inside each list item */
.restaurant-details .list-group-item > *:first-child{
  margin:0 !important;
  font-size:12px !important;
  font-weight:800 !important;
  letter-spacing:0.05em !important;
  text-transform:uppercase !important;
  opacity:0.6 !important;
}

/* VALUE: second element inside each list item */
.restaurant-details .list-group-item > *:nth-child(2){
  margin:0 !important;
  font-size:18px !important;
  font-weight:600 !important;
  line-height:1.35 !important;
}

/* Make the very first value (Restaurant Name) look like a title */
.restaurant-details .list-group-item:first-child > *:nth-child(2){
  font-size:30px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
}

/* Links: not ugly */
.restaurant-details a,
.restaurant-details a:visited{
  color:inherit;
  text-decoration:none;
}
.restaurant-details a:hover{
  text-decoration:underline;
}

/* Mobile: stack label over value */
@media (max-width:700px){
  .restaurant-details .card-body{
    padding:18px !important;
  }

  .restaurant-details .list-group-item{
    grid-template-columns:1fr !important;
    row-gap:6px !important;
    padding:12px 0 !important;
  }

  .restaurant-details .list-group-item:first-child > *:nth-child(2){
    font-size:24px !important;
  }

  .restaurant-details .list-group-item > *:nth-child(2){
    font-size:16px !important;
  }
}
/* Hide the Express entity name header ("Public Submission") on restaurant details */
.restaurant-details .card > .card-header{
  display:none !important;
}

/* If it’s not using .card-header, this catches common Express templates */
.restaurant-details .ccm-block-express-entry-detail > h1:first-child,
.restaurant-details .ccm-block-express-entry-detail > h2:first-child,
.restaurant-details .ccm-block-express-entry-detail > h3:first-child{
  display:none !important;
  margin:0 !important;
}

/* =========================================================
   EatLocalOK - Remove "Public Submission" legend + the outline line
   (Express form fieldset styling)
   ========================================================= */

.ccm-block-express-form fieldset {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-inline-size: 0; /* keeps some browsers happy */
}

.ccm-block-express-form fieldset legend {
  display: none !important;
}
/* =========================================================
   EatLocalOK - Cuisine checkboxes: 3 columns + clean alignment
   (Targets akID[49] cuisine field)
   ========================================================= */

/* 3-column wrapper */
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) {
  column-count: 3 !important;
  column-gap: 40px !important;
}

/* Make the "Cuisine" label take full width (prevents first option sitting beside it) */
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) > .form-label,
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) > label.form-label,
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) > label {
  display: block !important;
  width: 100% !important;
  column-span: all !important;            /* key */
  margin-bottom: 10px !important;
}

/* Each option stays intact inside columns */
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) .form-check {
  break-inside: avoid !important;
  -webkit-column-break-inside: avoid !important;

  /* checkbox BESIDE text */
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;

  width: 100% !important;
  margin: 6px 0 !important;
}

/* Checkbox alignment */
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) .form-check-input {
  margin: 0 !important;     /* remove bootstrap offsets that push it above text */
  position: static !important;
  flex: 0 0 auto !important;
}

/* Label alignment */
.ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) .form-check-label {
  margin: 0 !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) {
    column-count: 2 !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .ccm-block-express-form .mb-3:has(input[name^="akID[49]"]) {
    column-count: 1 !important;
  }
}
/* =========================================================
   EatLocalOK - Express Form: make REQUIRED errors obvious
   (Works with common Concrete/Bootstrap error markup)
   ========================================================= */

/* 1) The error summary block (the bullet list you’re seeing) */
.ccm-block-express-form .alert.alert-danger,
.ccm-block-express-form .ccm-error,
.ccm-block-express-form .error {
  border-radius: 14px !important;
  padding: 16px 18px !important;

  /* ONE border only */
  border: 2px solid rgba(220, 53, 69, .55) !important;

  /* prevent “double outline” look */
  box-shadow: none !important;
  outline: none !important;
  background: rgba(220, 53, 69, .06) !important;
}

/* Some themes add an inner wrapper with its own border/outline */
.ccm-block-express-form .alert.alert-danger > * {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* If the list itself is getting bordered, kill it */
.ccm-block-express-form .alert.alert-danger ul,
.ccm-block-express-form .alert.alert-danger ol {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  padding-left: 18px !important;
}

/* =========================================================
   EatLocalOK - Homepage Intro Section
   ========================================================= */

.elo-home-intro{
  padding: 64px 0;
}

.elo-home-intro__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

/* Left copy */
.elo-kicker{
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  margin: 0 0 14px 0;
}

.elo-title{
  margin: 0 0 12px 0;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.elo-lede{
  margin: 0 0 16px 0;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 52ch;
}

.elo-bullets{
  margin: 0 0 18px 0;
  padding-left: 18px;
}

.elo-bullets li{
  margin: 8px 0;
  line-height: 1.35;
}

.elo-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Buttons */
.elo-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.16);
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}

.elo-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.elo-btn--primary{
  background: rgba(0,0,0,0.9);
  color: #fff;
  border-color: rgba(0,0,0,0.9);
}

.elo-btn--ghost{
  background: #fff;
  color: rgba(0,0,0,0.9);
}

.elo-note{
  margin: 14px 0 0 0;
  font-size: 13px;
  opacity: 0.7;
  max-width: 62ch;
}

/* Right cards */
.elo-home-intro__cards{
  display: grid;
  gap: 14px;
}

.elo-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.elo-card__icon{
  font-size: 22px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.06);
  margin-bottom: 10px;
}

.elo-card__title{
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 900;
}

.elo-card__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.82;
}

/* Responsive */
@media (max-width: 900px){
  .elo-home-intro__inner{
    grid-template-columns: 1fr;
  }
  .elo-title{
    font-size: 36px;
  }
}

@media (max-width: 520px){
  .elo-home-intro{
    padding: 44px 0;
  }
  .elo-title{
    font-size: 30px;
  }
}
/* =========================================================
   EatLocalOK - Home hero + filter bar (submits to /restaurants)
   ========================================================= */

.elo-home-hero{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px 10px;
}

.elo-hero-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
  padding:28px;
  border:1px solid rgba(0,0,0,0.06);
}

.elo-hero-card h1{
  margin:0 0 10px;
  font-size:34px;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-0.02em;
}

.elo-hero-card p{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.55;
  opacity:0.9;
  max-width:850px;
}

.elo-filter{
  margin-top:14px;
}

.elo-filter-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap:14px;
  align-items:end;
}

.elo-field label{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:0.06em;
  text-transform:uppercase;
  opacity:0.65;
  margin:0 0 8px;
}

.elo-field input,
.elo-field select{
  width:100%;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.14);
  background:#fff;
  padding:0 12px;
  font-size:14px;
  outline:none;
}

.elo-field input:focus,
.elo-field select:focus{
  border-color: rgba(0,0,0,0.35);
  box-shadow:0 0 0 3px rgba(0,0,0,0.06);
}

.elo-actions{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
  min-width:220px;
}

.elo-btn{
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:12px;
  cursor:pointer;
  font-weight:800;
  box-shadow:0 10px 18px rgba(0,0,0,0.12);
  background:#d9a46b;
  color:#1a1a1a;
  white-space:nowrap;
}

.elo-btn:hover{
  filter:brightness(0.97);
}

.elo-link{
  text-decoration:none;
  font-weight:800;
  opacity:0.85;
  white-space:nowrap;
}

.elo-link:hover{
  text-decoration:underline;
}

.elo-hero-notes{
  margin-top:14px;
  font-size:13px;
  opacity:0.7;
}

/* Responsive */
@media (max-width: 980px){
  .elo-filter-grid{
    grid-template-columns: 1fr 1fr;
  }
  .elo-actions{
    justify-content:flex-start;
    min-width:auto;
  }
}

@media (max-width: 600px){
  .elo-hero-card{
    padding:20px;
  }
  .elo-hero-card h1{
    font-size:26px;
  }
  .elo-filter-grid{
    grid-template-columns: 1fr;
  }
  .elo-actions{
    justify-content:stretch;
  }
  .elo-btn{
    width:100%;
  }
}

/* === ELO Results Table Styling === */
.elo-results {
  margin: 28px auto 60px;
  max-width: 1100px;
  padding: 0 18px;
}

.elo-results-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 14px;
}

.elo-results-title {
  font-size: 28px;
  margin: 0;
}

.elo-results-count {
  font-size: 14px;
  opacity: 0.7;
}

.elo-results-table-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
}

.elo-results-table {
  width: 100%;
  border-collapse: collapse;
}

.elo-results-table thead th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  opacity: .75;
}

.elo-results-table td {
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.elo-results-table tbody tr:last-child td {
  border-bottom: none;
}

.elo-name-link {
  font-weight: 700;
  text-decoration: none;
}

.elo-name-link:hover {
  text-decoration: underline;
}

.elo-col-addr {
  line-height: 1.25;
  max-width: 360px;
  word-break: break-word;
}

@media (max-width: 900px) {
  .elo-results-table thead {
    display: none;
  }

  .elo-results-table,
  .elo-results-table tbody,
  .elo-results-table tr,
  .elo-results-table td {
    display: block;
    width: 100%;
  }

  .elo-results-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }

  .elo-results-table td {
    border: none;
    padding: 10px 16px;
  }

  .elo-results-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .7;
    margin-bottom: 4px;
  }
}
/* Keep long descriptions from wrecking the table */
.elo-col-desc{
  max-width: 520px;
}

.elo-col-desc .elo-desc{
  display: -webkit-box;
  -webkit-line-clamp: 2;         /* desktop */
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

@media (max-width: 820px){
  .elo-col-desc .elo-desc{
    -webkit-line-clamp: 3;       /* mobile */
  }
}
/* =========================
   Restaurant Detail Styling
   ========================= */

.elo-detail{
  max-width: 1100px;
  margin: 24px auto 60px;
  padding: 0 24px;
}

/* Back link */
.elo-detail__top{ margin-bottom: 10px; }

.elo-detail__back{
  display:inline-block;
  text-decoration:none;
  font-weight: 800;
  opacity: .75;
}
.elo-detail__back:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Header */
.elo-detail__header{
  margin: 6px 0 18px;
}

.elo-detail__title{
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.elo-detail__desc{
  margin-top: 8px;
  font-size: 16px;
  opacity: .75;
  max-width: 72ch;
}

/* Chips */
.elo-detail__chips{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 8px;
}

.elo-chip{
  display:inline-flex;
  align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.05);
  font-size: 13px;
  font-weight: 800;
  opacity: .9;
}

/* Layout */
.elo-detail__grid{
  display:grid;
  grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.6fr);
  gap: 22px;
  align-items: start;
}

/* Cards */
.elo-detail__card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* Address block */
.elo-detail__block{
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.elo-detail__actions{ margin-top: 12px; }

/* Rows: label/value grid so it doesn't scrunch */
.elo-detail__row{
  display:grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.elo-detail__row:last-child{
  border-bottom: 0;
  padding-bottom: 0;
}

/* Labels + values */
.elo-detail__label{
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 900;
  opacity: .65;
}

.elo-detail__value{
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* Links row */
.elo-detail__links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

.elo-detail__links a{
  text-decoration:none;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}
.elo-detail__links a:hover{
  background: rgba(0,0,0,.06);
}

/* Buttons (used by your template: .elo-btn .elo-btn--primary) */
.elo-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration:none;
}

/* Gold primary button with WHITE text */
.elo-btn--primary{
  background: #caa26e;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.elo-btn--primary:hover{
  filter: brightness(0.97);
}

/* Map */
.elo-detail__map{
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}
.elo-detail__map iframe{
  display:block;
  width:100%;
  height: 420px;
  border: 0;
}

/* Empty */
.elo-detail__empty{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px 20px;
}

/* Mobile */
@media (max-width: 900px){
  .elo-detail__title{ font-size: 32px; }
  .elo-detail__grid{ grid-template-columns: 1fr; }
  .elo-detail__row{ grid-template-columns: 1fr; gap: 6px; }
  .elo-detail__map iframe{ height: 320px; }
}
/* Force white text on the Get Directions button */
.elo-detail a.elo-btn.elo-btn--primary,
.elo-detail a.elo-btn.elo-btn--primary:visited,
.elo-detail a.elo-btn.elo-btn--primary:hover,
.elo-detail a.elo-btn.elo-btn--primary:active{
  color: #fff !important;
}
.elo-detail__card{
  min-height: 420px; /* visually balances map height */
}
@media (max-width: 900px){
  .elo-detail__card{ min-height: 0; }
}
.elo-detail__label{
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.7;
  margin-bottom:10px;
}
/* ===== Links buttons (Website / Facebook / Instagram) ===== */
.elo-detail__links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.elo-detail__links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.10);
  color: #222;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  transition: transform .08s ease, filter .12s ease, background .12s ease;
}

.elo-detail__links a:hover{
  background: rgba(0,0,0,.06);
  filter: brightness(0.98);
  transform: translateY(-1px);
  text-decoration:none;
}

/* Optional: make the first link (usually Website) match the gold button */
.elo-detail__links a:first-child{
  background: #caa26e;
  border-color: rgba(0,0,0,.10);
  color: #fff; /* force white */
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.elo-detail__links a:first-child:hover{
  filter: brightness(0.97);
}

/* Defensive: if something is overriding link color inside the card */
.elo-detail__card .elo-detail__links a{
  color: inherit;
}
.elo-detail__card .elo-detail__links a:first-child{
  color:#fff !important;
}

/* =========================
   Restaurants Search Spacing + Buttons
   Targets: section.elo-home-hero form#elo-search-form
   ========================= */

section.elo-home-hero form#elo-search-form{
  display: flex;
  flex-direction: column;
  gap: 14px; /* gives breathing room between fields */
}

/* Each field block spacing */
section.elo-home-hero form#elo-search-form .elo-field{
  margin: 0; /* gap handles spacing */
}

/* Make labels not “butt up” to inputs */
section.elo-home-hero form#elo-search-form .elo-field label{
  display: block;
  margin: 0 0 8px;
}

/* Inputs/selects spacing + consistent height */
section.elo-home-hero form#elo-search-form .elo-field input[type="text"],
section.elo-home-hero form#elo-search-form .elo-field select{
  display: block;
  width: 100%;
  margin: 0;
}

/* Button row spacing + alignment */
section.elo-home-hero form#elo-search-form .elo-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 8px;
}

/* Fix the black text on the gold button (force it) */
section.elo-home-hero form#elo-search-form .elo-actions button,
section.elo-home-hero form#elo-search-form .elo-actions .elo-btn--primary{
  color: #fff !important;
}

/* If your "Submit a Restaurant" is a link in the actions row */
section.elo-home-hero form#elo-search-form .elo-actions a{
  text-decoration: none;
  font-weight: 800;
}
/* Fix the jacked Get Directions button on restaurant detail */
.elo-detail__actions{
  margin-top: 12px;
  display: flex;
}

.elo-detail__actions .elo-btn--primary{
  width: auto !important;          /* kills full-width */
  display: inline-flex !important; /* keeps it button-y */
  padding: 10px 14px !important;
  border-radius: 12px !important;
  line-height: 1.1 !important;
  white-space: nowrap;
  color: #fff !important;          /* force white text */
}

@media (max-width: 900px){
  .elo-detail__actions{
    justify-content: flex-start; /* left */
  }
}
/* Contact page: center the Concrete form block nicely */
.elo-contact-form-wrap{
  max-width: 820px;
  margin: 28px auto 0;
  padding: 0 24px;
}
/* Contact form: make captcha behave on smaller screens */
@media (max-width: 900px){
  .ccm-block-form{
    padding: 0 24px;
  }
  .g-recaptcha{
    transform: scale(.92);
    transform-origin: 0 0;
  }
}
/* Claim Restaurant button placement + text color */
.elo-detail__claim{
  display:flex;
  justify-content:flex-end;
  margin: 12px 0 18px;
}

.elo-detail__claim .elo-btn,
.elo-detail__claim .elo-btn:hover,
.elo-detail__claim .elo-btn:focus{
  color:#fff !important;
}
/* Title row: name left, claim button right */
.elo-detail__title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.elo-detail__title-row .elo-claim-btn{
  white-space:nowrap;
  color:#fff !important;
}

/* On small screens, stack nicely */
@media (max-width: 640px){
  .elo-detail__title-row{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* Default (safe) */
img.elo-verified-badge{
  display:inline-block;
  width:22px;
  height:22px;
  object-fit:contain;
  vertical-align:middle;
}

/* LIST page badge (Results table) */
.restaurant-results img.elo-verified-badge{
  width:42px;
  height:42px;
  margin-left:6px;
  position:relative;
  top:-1px;
}

/* DETAIL page badge (Restaurant detail template) */
.elo-detail img.elo-verified-badge{
  width:52px;
  height:52px;
  margin-left:10px;
  position:relative;
  top:-2px;
}
.elo-detail__right{
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
/* Restaurant detail logo sizing (overrides inline max-height/max-width) */
.elo-detail__logo img{
  width: 140px !important;      /* increase/decrease */
  max-width: 140px !important;
  max-height: none !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Mobile */
@media (max-width: 900px){
  .elo-detail__logo img{
    width: 95px !important;
    max-width: 95px !important;
  }
}
/* ELO Results: Restaurant name link color */
.elo-results .elo-name-link,
.elo-results .elo-name-link:visited {
  color: var(--elo-link, #879b7a); /* fallback = your tan */
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.elo-results .elo-name-link:hover,
.elo-results .elo-name-link:focus {
  color: var(--elo-link-hover, #9E6F34);
  text-decoration: underline;
}
}