/* ===========================================================
   XTREME GRAPHIX — Shared stylesheet
   Modern / sporty. Red + black hex trim + yellow accents.
   =========================================================== */

:root {
  --red: #c8102e;
  --red-dark: #8b0000;
  --red-deep: #5a0006;
  --yellow: #ffc72c;
  --yellow-bright: #ffdd44;
  --black: #0a0a0a;
  --bg: #111111;
  --bg-elev: #1a1a1a;
  --bg-card: #1f1f1f;
  --border: #2a2a2a;
  --text: #f5f5f5;
  --text-muted: #a8a8a8;
  --text-dim: #6f6f6f;

  --shadow-red: 0 6px 30px rgba(200, 16, 46, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --radius: 6px;

  --font-display: 'Rajdhani', 'Oswald', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: var(--yellow); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--yellow-bright); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--yellow); }
.text-red { color: var(--red); }

/* ---------- Hexagon band (decorative black border with hex pattern) ---------- */

.hex-band {
  height: 28px;
  background-color: var(--black);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='48' viewBox='0 0 56 48'><g fill='none' stroke='%23c8102e' stroke-opacity='0.55' stroke-width='1.2'><polygon points='14,2 26,9 26,23 14,30 2,23 2,9'/><polygon points='42,2 54,9 54,23 42,30 30,23 30,9'/><polygon points='28,26 40,33 40,47 28,54 16,47 16,33'/></g></svg>");
  background-size: 56px 48px;
  background-repeat: repeat;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
  position: relative;
}

.hex-band::before,
.hex-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow) 30%, var(--yellow) 70%, transparent);
  opacity: 0.35;
}
.hex-band::before { top: 0; }
.hex-band::after  { bottom: 0; }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.nav-band {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  position: relative;
}

.nav-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='35' viewBox='0 0 40 35'><polygon points='10,0 20,5 20,15 10,20 0,15 0,5' fill='none' stroke='%23000' stroke-opacity='0.15' stroke-width='0.8'/><polygon points='30,0 40,5 40,15 30,20 20,15 20,5' fill='none' stroke='%23000' stroke-opacity='0.15' stroke-width='0.8'/><polygon points='20,17 30,22 30,32 20,37 10,32 10,22' fill='none' stroke='%23000' stroke-opacity='0.15' stroke-width='0.8'/></svg>");
  pointer-events: none;
  opacity: 0.9;
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.brand img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.5));
  transition: transform 0.25s ease;
}

.brand:hover img { transform: scale(1.04); }

.brand-fallback {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--yellow);
  text-shadow: 2px 2px 0 var(--black), -1px -1px 0 var(--black);
  letter-spacing: 0.03em;
}

.nav-list {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a {
  display: inline-block;
  padding: 10px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-list a:hover {
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.25);
}

.nav-list a:hover::after { transform: scaleX(1); }

.nav-list a.active {
  color: var(--yellow);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 -3px 0 var(--yellow), 0 0 15px rgba(255, 199, 44, 0.2);
}

.nav-list a.active::after { transform: scaleX(1); }

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  border: 2px solid var(--yellow);
  border-radius: 4px;
  transition: all 0.2s ease;
}

.cta-phone:hover {
  background: var(--yellow);
  color: var(--black);
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: transparent;
    padding: 0 16px;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, border-top-width 0.3s ease, visibility 0s linear 0.3s;
    border-top: 0 solid var(--red);
  }
  .nav-list.open {
    max-height: 500px;
    padding: 14px 16px;
    border-top-width: 2px;
    background: var(--black);
    visibility: visible;
    transition: max-height 0.3s ease, padding 0.3s ease, border-top-width 0.3s ease, visibility 0s linear 0s;
  }
  .nav-list a { display: block; width: 100%; }
  .cta-phone { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(200,16,46,0.25), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(255,199,44,0.08), transparent 50%),
    linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'><g fill='none' stroke='%23c8102e' stroke-opacity='0.07' stroke-width='1'><polygon points='20,2 38,11 38,29 20,38 2,29 2,11'/><polygon points='60,2 78,11 78,29 60,38 42,29 42,11'/><polygon points='40,35 58,44 58,62 40,71 22,62 22,44'/></g></svg>");
  opacity: 0.9;
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 0 24px; }

.hero h1 {
  color: var(--text);
  line-height: 1.05;
}

.hero h1 .accent { display: block; color: var(--yellow); }

.hero .tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
  font-weight: 600;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--yellow);
  border-color: var(--yellow);
}
.btn-ghost:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

/* ---------- Sections ---------- */

section.page-section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
  padding: 4px 12px;
  border: 1px solid var(--red);
  border-radius: 2px;
}

.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- Feature banner (editable image strip) ---------- */

.feature-banner {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 460px);
  overflow: hidden;
  border-top: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
}
.feature-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
.feature-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}
.feature-banner-overlay .eyebrow {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.feature-banner-overlay h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.feature-banner-overlay p  { color: rgba(255,255,255,0.88); font-size: clamp(0.95rem, 1.6vw, 1.15rem); max-width: 680px; margin: 0; }

/* ---------- Service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(200,16,46,0.4);
  font-size: 1.5rem;
}

.service-card h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- Feature strip ---------- */

.feature-strip {
  background: linear-gradient(180deg, #0d0d0d, #111);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.feature-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 6px;
}

.feature-item span {
  color: var(--text-muted);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.07); }

.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .caption { transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 4px; box-shadow: 0 0 60px rgba(200,16,46,0.5); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: transparent; border: 2px solid var(--yellow); color: var(--yellow);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; font-weight: bold;
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--red);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: #222;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }

.about-text h2 { color: var(--text); }
.about-text p { color: var(--text-muted); font-size: 1.05rem; }
.about-text ul { padding-left: 0; list-style: none; }
.about-text ul li {
  color: var(--text);
  padding: 8px 0 8px 28px;
  position: relative;
}
.about-text ul li::before {
  content: "▲";
  position: absolute;
  left: 0;
  color: var(--yellow);
  transform: rotate(90deg);
  font-size: 0.85rem;
  top: 12px;
}

/* ---------- Contact / form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px;
}
.info-card h3 { color: var(--yellow); }
.info-card dl { margin: 0; }
.info-card dt {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 14px;
}
.info-card dd {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.05rem;
}
.info-card dd a { color: var(--text); }
.info-card dd a:hover { color: var(--yellow); }

form.xg-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
form.xg-form h3 { color: var(--text); margin-bottom: 18px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #0c0c0c;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,199,44,0.18);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 10px;
}

.form-success {
  display: none;
  background: rgba(50,180,90,0.12);
  border: 1px solid rgba(50,180,90,0.5);
  color: #a5e8b9;
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */

.site-footer {
  background: #060606;
  border-top: 3px solid var(--red);
  padding: 50px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid ul a { color: var(--text-muted); font-size: 0.95rem; }
.footer-grid ul a:hover { color: var(--yellow); }

.footer-about p { color: var(--text-muted); font-size: 0.95rem; }

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.footer-socials:empty { display: none; }
.footer-socials .social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.footer-socials .social-link:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 10px rgba(200, 16, 46, 0.4);
}
.footer-socials .social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* Admin: social rows */
.social-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.social-row .social-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.social-row .social-check input[type="checkbox"] { margin: 0; width: 18px; height: 18px; accent-color: var(--red); }
.social-row .social-icon { display: inline-flex; width: 22px; height: 22px; color: var(--text-muted); }
.social-row .social-icon svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.social-row .social-name { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; }
.social-row .social-url {
  width: 100%;
  padding: 8px 10px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
}
@media (max-width: 560px) {
  .social-row { grid-template-columns: 1fr; }
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Admin ---------- */

.admin-shell {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

.admin-login {
  max-width: 420px;
  margin: 80px auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
}
.admin-login h2 { color: var(--yellow); }
.admin-login p { color: var(--text-muted); font-size: 0.92rem; }

.admin-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  margin-bottom: 28px;
}
.admin-tabs button {
  background: transparent;
  color: var(--text-muted);
  border: 0;
  padding: 12px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.admin-tabs button:hover { color: var(--yellow); }
.admin-tabs button.active { color: var(--yellow); border-bottom-color: var(--red); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.admin-panel h2 { color: var(--text); }

.lead-list {
  display: grid;
  gap: 14px;
}
.lead-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.lead-card h4 { color: var(--text); margin: 0 0 4px; font-size: 1.1rem; }
.lead-card .meta { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 10px; }
.lead-card .row { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 0.95rem; }
.lead-card .row span:nth-child(odd) {
  color: var(--text-dim);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding-top: 2px;
}
.lead-card .row span:nth-child(even) { color: var(--text); }
.lead-card .actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.lead-card .actions .btn:disabled { opacity: 0.55; cursor: not-allowed; }

.lead-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.lead-page-btn {
  min-width: 36px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s ease;
}
.lead-page-btn:hover:not(:disabled) {
  border-color: var(--yellow);
  color: var(--yellow);
}
.lead-page-btn.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
  font-weight: 700;
  cursor: default;
}
.lead-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lead-page-ellipsis {
  padding: 0 6px;
  color: var(--text-dim);
  font-family: var(--font-display);
}

.staff-note-display {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255, 199, 44, 0.07);
  border-left: 3px solid var(--yellow);
  border-radius: 3px;
}
.staff-note-display .staff-note-label {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.staff-note-display p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.staff-note-editor { margin-top: 12px; }
.staff-note-editor label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.staff-note-editor textarea {
  width: 100%;
  min-height: 56px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.staff-note-editor textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.staff-note-display .staff-note-by {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.user-list { display: grid; gap: 10px; margin-top: 12px; }
.user-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "identity actions"
    "meta     actions";
  gap: 4px 18px;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.user-row .user-identity { grid-area: identity; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--text); }
.user-row .user-meta     { grid-area: meta;     font-size: 0.82rem; }
.user-row .user-actions  { grid-area: actions; }
.role-pill {
  display: inline-block;
  padding: 1px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.role-master { border-color: var(--yellow); color: var(--yellow); }
.role-staff  { border-color: var(--border); color: var(--text-dim); }
@media (max-width: 560px) {
  .user-row {
    grid-template-columns: 1fr;
    grid-template-areas: "identity" "meta" "actions";
  }
}

/* ---------- Content editor (Admin > Content tab) ---------- */
.content-editor {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  margin-top: 14px;
}
.content-tabs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  align-content: start;
}
.content-tab {
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 9px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 3px;
  font-size: 0.95rem;
}
.content-tab:hover { background: rgba(255,255,255,0.04); }
.content-tab.active {
  background: rgba(255, 199, 44, 0.1);
  color: var(--yellow);
  border-left: 3px solid var(--yellow);
  padding-left: 9px;
}
.content-pane {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 22px;
  min-height: 320px;
}
.content-page-head { margin-bottom: 14px; }
.content-page-head h3 { margin: 0 0 4px; color: var(--text); font-size: 1.25rem; }
.content-page-head p  { margin: 0; font-size: 0.88rem; }
.content-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.content-section:first-of-type { border-top: 0; padding-top: 4px; }
.content-section h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}
.content-field { margin-bottom: 14px; }
.content-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.content-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
}
.content-reset {
  background: transparent;
  border: 0;
  color: var(--yellow);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.content-reset:hover { color: #ffd85a; }
.content-default {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border-left: 2px solid var(--border);
  border-radius: 2px;
  white-space: pre-wrap;
  word-break: break-word;
}
.content-field input[type="text"],
.content-field input[type="url"],
.content-field input[type="email"],
.content-field input[type="tel"],
.content-field textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  font-size: 0.92rem;
}
.content-field textarea { resize: vertical; min-height: 44px; }
.content-field input:focus,
.content-field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.content-form-actions {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

/* Hours editor */
.hours-grid-head,
.hours-row {
  display: grid;
  grid-template-columns: 120px 170px 130px 130px;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
}
.hours-grid-head {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.hours-row strong { color: var(--text); }
.hours-row select,
.hours-row input[type="time"] {
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  padding: 6px 8px;
  font: inherit;
  font-size: 0.9rem;
}
.hours-row input[type="time"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 780px) {
  .content-editor { grid-template-columns: 1fr; }
  .content-tabs {
    flex-direction: row;
    overflow-x: auto;
    gap: 4px;
  }
  .content-tab { flex: 0 0 auto; white-space: nowrap; }
  .content-tab.active { border-left: 0; border-bottom: 3px solid var(--yellow); padding-left: 12px; }
  .hours-grid-head, .hours-row { grid-template-columns: 1fr 1fr; }
  .hours-grid-head > *:nth-child(3),
  .hours-grid-head > *:nth-child(4) { display: none; }
  .hours-row input[type="time"] { grid-column: span 1; }
}

.admin-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.admin-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb button {
  position: absolute;
  top: 6px; right: 6px;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.8);
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 50%;
  cursor: pointer;
  font-weight: bold;
}

.email-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.email-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 4px;
}
.email-chip button {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 3px 10px;
  cursor: pointer;
  font-size: 0.8rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.btn-danger {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.admin-note {
  background: rgba(255,199,44,0.08);
  border-left: 4px solid var(--yellow);
  padding: 14px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-radius: 4px;
  margin-bottom: 20px;
}

.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 18px;
}
.file-drop:hover, .file-drop.drag { border-color: var(--yellow); background: rgba(255,199,44,0.05); }
.file-drop input { display: none; }
.file-drop p { margin: 0; color: var(--text-muted); }

/* ---------- Utility ---------- */

.muted { color: var(--text-muted); }
.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.stack > * + * { margin-top: 14px; }

/* ===========================================================
   Mobile polish — tighten everything under ~768px and ~480px
   =========================================================== */

@media (max-width: 860px) {
  .nav-inner { padding: 10px 16px; gap: 12px; }
  .brand img { height: 44px; }
  .brand-fallback { font-size: 1.5rem; }
  .hex-band { height: 18px; }
}

@media (max-width: 768px) {
  .container { padding: 0 18px; }

  section.page-section { padding: 50px 0; }
  .section-head { margin-bottom: 34px; }

  .hero { padding: 56px 0 48px; }
  .hero .tagline { font-size: 1rem; letter-spacing: 0.1em; }
  .hero-lead { font-size: 1rem; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
  .services-grid { gap: 16px; }
  .service-card { padding: 22px 20px; }

  .feature-strip { padding: 28px 0; }
  .feature-item strong { font-size: 1.9rem; }

  .footer-grid { gap: 28px; margin-bottom: 28px; }
  .site-footer { padding: 40px 0 20px; margin-top: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  .info-card, form.xg-form { padding: 22px; }

  /* Admin: tabs scroll horizontally instead of wrapping awkwardly */
  .admin-shell { margin: 24px auto; padding: 0 16px; }
  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .admin-tabs button { flex: 0 0 auto; padding: 10px 16px; font-size: 0.88rem; }

  .admin-login { margin: 40px auto; padding: 28px 22px; }
  .admin-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }

  /* Lead cards: stack label/value instead of two-column grid */
  .lead-card .row {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .lead-card .row span:nth-child(odd) {
    padding-top: 10px;
    padding-bottom: 0;
  }
  .lead-card .actions { flex-wrap: wrap; }
  .lead-card .actions .btn { flex: 1 1 auto; min-width: 110px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }

  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .btn { padding: 12px 20px; font-size: 0.92rem; letter-spacing: 0.1em; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 16 / 11; }

  .nav-list { padding: 12px 14px; }
  .nav-list a { padding: 12px 14px; font-size: 1rem; }

  /* bigger tap targets in the form */
  .field input, .field select, .field textarea { padding: 14px; font-size: 1rem; }

  .admin-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 44px 0 36px; }
  section.page-section { padding: 40px 0; }
}

/* Prevent iOS zoom-on-focus by keeping input font-size >= 16px (already met, but safe-guard) */
@media (max-width: 480px) {
  input[type="text"], input[type="tel"], input[type="email"],
  input[type="password"], input[type="url"], select, textarea {
    font-size: 16px;
  }
}

/* ===========================================================
   Breadcrumbs, FAQ, blog cards, location cards, events widget
   — added for SEO-oriented subdirectory pages.
   =========================================================== */

.breadcrumbs {
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 14px 0;
}
.breadcrumbs .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.breadcrumbs a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs span {
  color: var(--border);
  margin: 0 8px;
}
.breadcrumbs span[aria-current="page"] {
  color: var(--yellow);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
}
.faq-list details {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-list details[open] { border-color: var(--red); }
.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #fff;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--yellow);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list details p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.98rem;
  margin: 0;
}
.faq-list details p a { color: var(--yellow); }

/* Blog + location cards share this pattern */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.content-card {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.content-card:hover { transform: translateY(-3px); border-color: var(--red); }
.content-card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.content-card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.content-card .card-eyebrow {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 10px;
  display: block;
}
.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}
.content-card p {
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.95rem;
  margin: 0 0 14px;
  flex: 1;
}
.content-card .card-meta {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.content-card .card-cta {
  color: var(--yellow);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  margin-top: 10px;
}

/* Events widget on homepage */
.events-widget {
  background: linear-gradient(180deg,#141414 0%, #0d0d0d 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 22px 26px;
  margin-top: 30px;
}
.events-widget h3 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--yellow);
  margin: 0 0 12px;
}
.events-widget ul { list-style: none; padding: 0; margin: 0; }
.events-widget li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.events-widget li:last-child { border-bottom: 0; }
.events-widget .event-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  min-width: 88px;
  font-size: 0.88rem;
}
.events-widget .event-name {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.events-widget .event-where {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* Blog article body */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-article h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 36px 0 14px;
  color: #fff;
}
.blog-article h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 28px 0 10px;
  color: var(--yellow);
}
.blog-article p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.06rem;
  margin-bottom: 16px;
}
.blog-article ul, .blog-article ol {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 1.06rem;
  padding-left: 22px;
  margin-bottom: 16px;
}
.blog-article li { margin-bottom: 6px; }
.blog-article a { color: var(--yellow); }
.blog-article blockquote {
  border-left: 4px solid var(--red);
  padding: 10px 0 10px 18px;
  margin: 22px 0;
  font-style: italic;
  color: #ddd;
}
.blog-article .post-meta {
  color: var(--text-dim);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 20px;
}
.blog-article .post-meta .post-date {
  color: var(--yellow);
}

/* Hero image shown at the top of a blog post */
.blog-article .post-hero {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}
.blog-article .post-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
}

/* Blog index card variant — admin-created posts with hero thumbnails */
.content-card .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}
.content-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.content-card:hover .card-image img { transform: scale(1.04); }
.content-card .card-date {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 10px;
  display: block;
}
.content-card-blog .card-eyebrow { color: var(--yellow); }

/* ---- Admin: Blog editor ---- */
.blog-editor {
  background: #141414;
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  padding: 22px 24px;
  margin-top: 14px;
}
.blog-editor h3 {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--yellow);
}
.blog-editor .field { margin-bottom: 16px; }
.blog-editor label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); font-size: 0.92rem; }
.blog-editor .req { color: var(--red); }
.blog-editor input[type="text"],
.blog-editor input[type="url"],
.blog-editor textarea {
  width: 100%;
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.15s ease;
}
.blog-editor input[type="text"]:focus,
.blog-editor input[type="url"]:focus,
.blog-editor textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.blog-editor textarea { resize: vertical; min-height: 90px; font-family: 'Inter', system-ui, sans-serif; }
.blog-format-help {
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 4px 0 8px;
}
.blog-format-help code {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 0.82rem;
  color: var(--yellow);
  margin: 0 2px;
}
.blog-img-preview {
  margin-top: 12px;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 6px;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-img-preview.empty { justify-content: center; padding: 22px; }
.blog-img-preview img {
  max-width: 260px;
  max-height: 160px;
  width: auto;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ---- Admin: Published posts list ---- */
.blog-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.blog-admin-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.blog-admin-row:hover { border-color: var(--red); }
.blog-admin-thumb {
  width: 100px;
  height: 72px;
  border-radius: 4px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-admin-thumb-fallback {
  font-family: var(--font-display);
  color: var(--yellow);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 6px;
}
.blog-admin-cat {
  font-family: var(--font-display);
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 4px;
}
.blog-admin-title {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 2px;
}
.blog-admin-meta { font-size: 0.78rem; }
.blog-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .blog-admin-row {
    grid-template-columns: 80px 1fr;
    grid-template-areas:
      "thumb body"
      "actions actions";
  }
  .blog-admin-thumb  { grid-area: thumb; width: 80px; height: 60px; }
  .blog-admin-body   { grid-area: body; }
  .blog-admin-actions{ grid-area: actions; justify-content: flex-start; }
}

/* Service-area list (all locations grid on hub) */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.location-grid a {
  background: #141414;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.location-grid a:hover {
  background: #1a1a1a;
  border-color: var(--red);
  color: var(--yellow);
}
.location-grid a::after {
  content: '\2192';
  color: var(--text-dim);
  margin-left: 8px;
}
