/* =====================================================
   FestiveDining.com — Premium Christmas Theme (Clean)
   - Charcoal header (restored)
   - Header right: "Find festive dining near you" + tiny line + postcode search
   - Shorter hero image (~20% shorter)
   - Breadcrumb/title inside hero
   - County + listing images locked (no stretching)
   ===================================================== */

* { box-sizing: border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:#1f2937;
  line-height:1.45;
  background:#f5f7fa;
}

.container{
  max-width:1280px;
  margin:auto;
  padding:20px;
}

/* ---------------- Links ---------------- */
a{ text-decoration:none; }
a:hover{ text-decoration:underline; }
.muted{ color:#667085; font-size:14px; }

/* =====================================================
   HEADER (CHARCOAL)
   ===================================================== */

.site-header{
  background:#1f2937; /* charcoal */
  box-shadow:0 2px 12px rgba(0,0,0,0.18);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

/* Logo */
.logo{
  font-weight:900;
  font-size:34px;
  color:#fff;
  display:inline-flex;
  align-items:baseline;
  gap:10px;
  white-space:nowrap;
}

.logo:hover{ text-decoration:none; }

.logo-dot{ color:#facc15; } /* gold */

.logo-tagline{
  font-size:14px;
  color:rgba(255,255,255,0.75);
  font-weight:650;
}

/* =====================================================
   HEADER RIGHT (TEXT + SEARCH)
   ===================================================== */

.header-right{
  display:flex;
  align-items:center;
  gap:14px;
}

.header-search-text{
  color:#e5e7eb;
  text-align:right;
  line-height:1.15;
}

.search-title{
  font-size:13px;
  font-weight:850;
  color:#ffffff;
}

.search-sub{
  font-size:12px;
  opacity:0.78;
  margin-top:3px;
  white-space:nowrap; /* keeps it tidy */
}

/* Search form */
.header-search{
  display:flex;
  gap:8px;
  align-items:center;
}

.header-input{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.10);
  color:#fff;
  font-size:14px;
  min-width:240px;
  outline:none;
}

.header-input::placeholder{
  color: rgba(255,255,255,0.70);
}

.header-btn{
  background:#b91c1c;
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:12px;
  font-weight:850;
  cursor:pointer;
  white-space:nowrap;
}

.header-btn:hover{
  background:#991b1b;
}

/* =====================================================
   HERO (shorter) + page info in hero
   ===================================================== */

.hero-banner{
  position:relative;
  background:#111827;
}

.hero-banner img{
  width:100%;
  height:190px; /* ~20% shorter */
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.05);
}

@media (min-width: 900px){
  .hero-banner img{ height:225px; }
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.58));
  display:flex;
  align-items:flex-end;
}

.hero-inner{
  padding:18px 0 18px;
}

/* Breadcrumb + title inside hero */
.hero-pageinfo{
  color:#fff;
  max-width: 980px;
}

.hero-breadcrumb{
  font-size:14px;
  opacity:0.92;
  text-shadow:0 2px 12px rgba(0,0,0,0.55);
}

.hero-heading{
  margin-top:6px;
  font-size:30px;
  font-weight:950;
  line-height:1.08;
  text-shadow:0 2px 14px rgba(0,0,0,0.62);
}

.hero-subheading{
  margin-top:8px;
  font-size:15px;
  opacity:0.92;
  max-width: 820px;
  text-shadow:0 2px 12px rgba(0,0,0,0.55);
}

/* =====================================================
   CONTENT
   ===================================================== */

h1{
  font-size:30px;
  margin:10px 0 12px;
  line-height:1.2;
}

h2{ font-size:22px; }

.notice{
  background:#fff;
  border:1px solid #e5e7eb;
  border-left:4px solid #0b6b3a;
  padding:14px;
  margin:16px 0 18px;
  border-radius:12px;
  font-size:14px;
}

/* Search row (on pages) */
.row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:16px 0 18px;
  align-items:center;
}

.row input{
  flex:1;
  min-width:220px;
  padding:11px 12px;
  border:1px solid #d0d5dd;
  border-radius:10px;
  background:#fff;
  outline:none;
}

.row button{
  padding:11px 16px;
  background:#b91c1c;
  border:none;
  color:#fff;
  border-radius:10px;
  cursor:pointer;
  font-weight:900;
}
.row button:hover{ background:#991b1b; }

/* Tabs */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:14px 0;
}

.tabs a{
  padding:8px 12px;
  background:#eef2f7;
  border:1px solid #d6dde5;
  border-radius:999px;
  font-size:14px;
  color:#374151;
}

.tabs a:hover{ text-decoration:none; }

.tabs a.active{
  background:#1f2937;
  color:#fff;
  border-color:#1f2937;
}

/* =====================================================
   GRID + CARDS
   ===================================================== */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:18px;
  align-items:start;
}

.card{
  background:#fff;
  border-radius:16px;
  padding:16px;
  border:1px solid #e5e7eb;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  overflow:hidden;
}

/* County cards hover */
.card-county{
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.card-county:hover{
  transform: translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,0.12);
}

/* Image window (LOCKED) */
.card-media{
  height:160px;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:12px;
  background:#111827;
}

.card-media img{
  width:100% !important;
  height:100% !important;
  max-width:100%;
  display:block;
  object-fit:cover !important;
  object-position:center;
  transition: transform 220ms ease;
}

.card-county:hover .card-media img{
  transform: scale(1.03);
}

.venue{
  font-size:18px;
  font-weight:900;
  margin-bottom:4px;
  color:#111827;
}

.town{
  font-size:14px;
  color:#6b7280;
  margin-bottom:8px;
}

.desc{
  font-size:14px;
  margin-bottom:12px;
  color:#374151;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn{
  display:inline-block;
  background:#b91c1c;
  color:#fff !important;
  padding:9px 13px;
  border-radius:10px;
  font-size:13px;
  font-weight:900;
  text-decoration:none !important;
}

.btn:hover{ background:#991b1b; }

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer{
  margin-top:40px;
  padding:26px 0;
  background:#1f2937;
}

.site-footer a{
  color:#e5e7eb;
  font-size:16px;
  font-weight:650;
}

.site-footer a:hover{
  color:#fff;
  text-decoration:none;
}

/* =====================================================
   SUBTLE SNOW BACKGROUND
   ===================================================== */

.theme-christmas{
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 15%, rgba(255,255,255,0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 90% 30%, rgba(255,255,255,0.65) 0 6px, transparent 7px),
    #f3f6fb;
  background-size:260px 260px;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 900px){
  .header-search-text{
    display:none; /* avoids clutter */
  }
}

@media (max-width: 800px){
  .container{ padding:16px; }

  .header-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .logo-tagline{ display:none; }

  .header-right{
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .header-search{
    width:100%;
  }

  .header-input{
    width:100%;
    min-width:0;
  }

  .header-btn{
    width:100%;
  }

  .hero-heading{ font-size:22px; }
  .hero-banner img{ height:170px; }

  .card-media{ height:140px; }
}