/* ========================================================= */
/*              WHISKY GUIDES SECTION — STYLES               */
/*   Include this AFTER styles.css on all guide pages        */
/* ========================================================= */

/* ══════════════════════════════════════════════════════════════════════════
   BREADCRUMB ROW  (.breadcrumb)
   ──────────────────────────────────────────────────────────────────────────
   Dark charcoal — creates a sharp visual break between the parchment tabs
   above and the dark hero banner below. Text is warm off-white, links amber.
   ══════════════════════════════════════════════════════════════════════════ */

.breadcrumb {
  background: #2b2b2b;          /* charcoal — matches site header/mega-menu */
  border-bottom: 1px solid #1a1a1a;
  padding: 0.45rem 0;
}

.breadcrumb-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 0.76rem;
  color: #9a8a78;               /* muted warm-tan for separators */
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.breadcrumb-inner a {
  color: #d4a86a;               /* warm amber — clear on dark charcoal */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.breadcrumb-inner a:hover {
  color: #f0c080;
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #555;
  margin: 0 0.1rem;
  font-size: 0.7rem;
}

.breadcrumb-current {
  color: #e8ddd0;               /* light parchment — readable on charcoal */
  font-weight: 600;
}

/* ── Page Hero Banner ──────────────────────────────────── */
.guide-hero {
  background: linear-gradient(135deg, #1c1c1c 0%, #3a2a15 100%);
  padding: 2.5rem 1rem;
  border-bottom: 4px solid #CC6600;
}

.guide-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.guide-hero-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.guide-hero-text p {
  font-size: 1rem;
  color: #ddd;
  margin: 0;
  max-width: 650px;
  line-height: 1.6;
}

.guide-hero-icon {
  font-size: 4rem;
  flex-shrink: 0;
  opacity: 0.85;
}

/* ── Leaderboard Ad ────────────────────────────────────── */
.ad-leaderboard-wrapper {
  background: #f1ede6;
  border-top: 1px solid #e0dbd2;
  border-bottom: 1px solid #e0dbd2;
  padding: 1rem 1rem 1.25rem;
}

.ad-leaderboard-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.ad-leaderboard-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  background: #fff;
  border: 2px dashed #d4ccbf;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.ad-leaderboard-placeholder:hover {
  border-color: #CC6600;
  box-shadow: 0 2px 12px rgba(204,102,0,0.12);
}

.ad-placeholder-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.ad-placeholder-icon { font-size: 2rem; }

.ad-placeholder-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: left;
}

.ad-placeholder-text strong { font-size: 1rem; font-weight: 700; color: #1c1c1c; }
.ad-placeholder-text span   { font-size: 0.8rem; color: #777; }

.ad-placeholder-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #CC6600;
  white-space: nowrap;
  border: 1.5px solid #CC6600;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.ad-leaderboard-placeholder:hover .ad-placeholder-cta {
  background: #CC6600;
  color: #fff;
}

/* ── Content Sections ──────────────────────────────────── */
.guide-section {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.guide-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #CC6600;
}

.guide-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #CC6600;
  margin: 1.5rem 0 0.5rem;
}

.guide-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
  margin: 0 0 1rem;
}

.guide-section img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.guide-img-caption {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
  font-style: italic;
}

/* ── Info Box ──────────────────────────────────────────── */
.info-box {
  background: #f8f4ee;
  border-left: 4px solid #CC6600;
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.info-box h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #CC6600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

/* ── Overview Card Grid ────────────────────────────────── */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.overview-card {
  background: #f8f4ee;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}

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

.overview-card-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.overview-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 0.5rem;
}

.overview-card p {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* ── Region Cards ──────────────────────────────────────── */
.region-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.region-card {
  border-radius: 8px;
  padding: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.region-card.campbeltown { background: #2E4057; }
.region-card.highland    { background: #5A3E6B; }
.region-card.islands     { background: #3D6B74; }
.region-card.islay       { background: #2C5F6E; }
.region-card.lowland     { background: #4A6741; }
.region-card.speyside    { background: #8B5E00; }

.region-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
.region-card p  { font-size: 0.85rem; line-height: 1.5; margin: 0; color: rgba(255,255,255,0.92); }

.region-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Timeline (History) ─────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1.5rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #CC6600;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CC6600;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #CC6600;
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: #CC6600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 0.4rem;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* ── A–Z Index Tabs ─────────────────────────────────────── */
.az-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background: #f8f4ee;
  border-radius: 8px;
}

.az-tab {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #CC6600;
  background: #fff;
  border: 1.5px solid #CC6600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  min-width: 2rem;
  text-align: center;
}

.az-tab:hover,
.az-tab.active {
  background: #CC6600;
  color: #fff;
}

.az-tab.disabled {
  color: #ccc;
  border-color: #e0dbd2;
  cursor: default;
  pointer-events: none;
}

/* ── Glossary Terms ─────────────────────────────────────── */
.glossary-letter-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 120px;
}

.glossary-letter-header {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  background: #CC6600;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.glossary-term {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0ebe3;
}

.glossary-term:last-child { border-bottom: none; }

.glossary-term-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0.2rem;
}

.glossary-term-def {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Distillery Cards (A to Z visiting) ─────────────────── */
.distillery-letter-section {
  scroll-margin-top: 120px;
  margin-bottom: 2rem;
}

.distillery-letter-header {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: #CC6600;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.distillery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.distillery-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid #ccc;
}

.distillery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.13);
}

.distillery-card.campbeltown { border-top-color: #2E4057; }
.distillery-card.highland    { border-top-color: #5A3E6B; }
.distillery-card.islands     { border-top-color: #3D6B74; }
.distillery-card.islay       { border-top-color: #2C5F6E; }
.distillery-card.lowland     { border-top-color: #4A6741; }
.distillery-card.speyside    { border-top-color: #8B5E00; }

.distillery-card-img {
  width: 100%;
  height: 120px;
  background: #f1ede6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}

.distillery-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.distillery-card-body {
  padding: 0.85rem;
}

.distillery-card-region {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.region-pill.campbeltown { background: #2E4057; }
.region-pill.highland    { background: #5A3E6B; }
.region-pill.islands     { background: #3D6B74; }
.region-pill.islay       { background: #2C5F6E; }
.region-pill.lowland     { background: #4A6741; }
.region-pill.speyside    { background: #8B5E00; }

.distillery-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0 0 0.25rem;
}

.distillery-card-type {
  font-size: 0.75rem;
  color: #888;
  margin: 0 0 0.5rem;
}

.distillery-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #CC6600;
  text-decoration: none;
}

.distillery-card-link:hover { color: #994d00; }

/* ── Region Filter Bar ──────────────────────────────────── */
.region-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f4ee;
  border-radius: 8px;
  align-items: center;
}

.region-filter-bar span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  margin-right: 0.5rem;
}

.region-filter-btn {
  padding: 0.3rem 0.85rem;
  border: 1.5px solid #ccc;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  color: #555;
  transition: all 0.15s;
}

.region-filter-btn.active,
.region-filter-btn:hover { color: #fff; border-color: transparent; }

.region-filter-btn[data-region="all"].active,
.region-filter-btn[data-region="all"]:hover    { background: #CC6600; }
.region-filter-btn[data-region="campbeltown"].active,
.region-filter-btn[data-region="campbeltown"]:hover { background: #2E4057; border-color: #2E4057; }
.region-filter-btn[data-region="highland"].active,
.region-filter-btn[data-region="highland"]:hover    { background: #5A3E6B; border-color: #5A3E6B; }
.region-filter-btn[data-region="islands"].active,
.region-filter-btn[data-region="islands"]:hover     { background: #3D6B74; border-color: #3D6B74; }
.region-filter-btn[data-region="islay"].active,
.region-filter-btn[data-region="islay"]:hover       { background: #2C5F6E; border-color: #2C5F6E; }
.region-filter-btn[data-region="lowland"].active,
.region-filter-btn[data-region="lowland"]:hover     { background: #4A6741; border-color: #4A6741; }
.region-filter-btn[data-region="speyside"].active,
.region-filter-btn[data-region="speyside"]:hover    { background: #8B5E00; border-color: #8B5E00; }

/* ── Production Steps ───────────────────────────────────── */
.production-steps {
  counter-reset: step;
  margin: 1.5rem 0;
}

.production-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: #CC6600;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1c1c1c;
  margin: 0.25rem 0 0.4rem;
}

.step-content p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* ── Tasting Notes Grid ─────────────────────────────────── */
.tasting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.tasting-card {
  background: #f8f4ee;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
}

.tasting-card-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.tasting-card h4 { font-size: 0.9rem; font-weight: 700; color: #1c1c1c; margin: 0 0 0.3rem; }
.tasting-card p { font-size: 0.82rem; color: #666; margin: 0; line-height: 1.4; }

/* ── Placeholder distillery image ───────────────────────── */
.dist-img-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #e8e2d9, #f8f4ee);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.dist-img-placeholder span { font-size: 2rem; }
.dist-img-placeholder small { font-size: 0.65rem; color: #aaa; font-weight: 600; }

/* ── Flavour Map ────────────────────────────────────────── */
.flavour-map {
  background: #f8f4ee;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  border: 2px dashed #d4ccbf;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.flavour-map h3 { color: #CC6600; margin: 0; }
.flavour-map p { color: #777; font-size: 0.9rem; margin: 0; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .guide-hero-inner { flex-direction: column; gap: 1rem; }
  .guide-hero-icon { font-size: 2.5rem; }
  .guide-hero-text h1 { font-size: 1.5rem; }

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

@media (max-width: 500px) {
  .overview-grid { grid-template-columns: 1fr; }
  .distillery-grid { grid-template-columns: 1fr; }
  .region-cards { grid-template-columns: 1fr; }
}

/* ── A–Z Inactive (no distilleries for that letter in current filter) ──────── */
.az-tab-inactive {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ccc;
  background: #f1ede6;
  border: 1.5px solid #e5dfd7;
  border-radius: 4px;
  text-decoration: none;
  min-width: 2rem;
  text-align: center;
  cursor: default;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Hide distillery card type line ──────────────────────────────────────── */
.distillery-card-type { display: none; }
