/* =====================
   Glenugie Whisky Club - styles.css
   CLEAN SINGLE VERSION (all pages)
   - Keeps original look (black + gold links)
   - Hamburger + overlay works
   - Map + key panel kept
   - Club Days Out scoped
   - Tasting list + Events list use JS badge spans (.badge-group/.badge)
   - Pseudo-badge rules disabled to prevent duplicates
===================== */


/* =========================================================
   1) GLOBAL TOKENS
========================================================= */
:root{
  --bg: #000000;

  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.08);

  --border: rgba(255,255,255,0.14);
  --border-strong: rgba(255,255,255,0.18);

  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);

  --gold: #caa24a;
  --link: rgba(202,162,74,0.95);
  --link-hover: rgba(255,255,255,0.95);

  --shadow: 0 20px 60px rgba(0,0,0,0.55);
  --topbar-h: 72px;

  /* Distillery marker default whisky colour */
  --distillery-glass: #caa24a;

  /* REGION COLOURS */
  --region-highland:    #2f6fdd;
  --region-speyside:    #caa24a;
  --region-islay:       #7a44c6;
  --region-lowland:     #2e9b63;
  --region-campbeltown: #d45555;
  --region-islands:     #2aa6b6;
  --region-international: #9aa0a6;
  --region-restaurant: #e016be;

  /* SMWS colours */
  --smws-whisky: #7a1f5c;
  --smws-grain:  #2aa6b6;

  /* Day colours */
  --day1:  #caa24a;
  --day2:  #2ecc71;
  --day3:  #e74c3c;
  --day4:  #2aa6b6;
  --day5:  #9b59b6;
  --day6:  #f1c40f;
  --day7:  #FF00FF;
  --day8:  #6A5ACD;
  --day9:  #00FF00;
  --day10: #808000;
  --day11: #66CDAA;
  --day12: #00BFFF;
  --day13: #DAA520;
  --day14: #778899;
}


/* =========================================================
   2) RESET + BASE
========================================================= */
*{ box-sizing: border-box; }
html{
  min-height:100%;
  background:#000;
}

body{
  min-height:100vh;
  margin:0;
  padding-top:var(--topbar-h);
  font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(202,162,74,0.22), transparent 60%),
    radial-gradient(700px 450px at 10% 10%, rgba(202,162,74,0.10), transparent 55%),
    radial-gradient(700px 450px at 90% 20%, rgba(202,162,74,0.08), transparent 55%),
    var(--bg);
  background-repeat:no-repeat;
  background-size:100% 100vh, 100% 100vh, 100% 100vh, auto;
  background-attachment:fixed;
}
a{ color: var(--link); text-decoration: none; }
a:hover{ text-decoration: underline; color: var(--link-hover); }

.muted{ color: var(--muted); }

.centre,
.center{ text-align: center; }


/* =========================================================
   3) TOP BAR
========================================================= */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  isolation: isolate;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(11,11,12,0.60);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  border-radius: 14px;
  padding: 8px 10px;
  flex: 1 1 auto;
  min-width: 0;
}
.brand:hover{ background: rgba(255,255,255,0.04); text-decoration: none; }
.brand:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }

.GWC{
  height: 42px;
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.GWC .gwc-logo{
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}

.brand-text{ line-height: 1.05; min-width: 0; }
.brand-text strong{ display:block; font-size: 14px; letter-spacing: 0.4px; }
.brand-text span{
  display:block;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 520px){
  .brand-text span{ display:none; }
}

.topbar-right{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.topbar-actions{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.icon-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.icon-link img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}


/* =========================================================
   4) HAMBURGER MENU + OVERLAY
========================================================= */
.menu-wrap{
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.menu-toggle{
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  left: -9999px;
}

.hamburger{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  cursor: pointer;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}
.hamburger:hover{ background: rgba(255,255,255,0.06); }
.hamburger:focus-visible{ outline: 2px solid var(--gold); outline-offset: 2px; }

.burger-lines{
  width: 18px;
  height: 14px;
  display: grid;
  gap: 4px;
}
.burger-lines span{
  display: block;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.85);
  transition: transform .18s ease, opacity .18s ease;
}

/* Legacy hamburger span styles */
.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  position: relative;
}
.hamburger span::before,
.hamburger span::after{
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #ffffff;
}
.hamburger span::before{ top: -6px; }
.hamburger span::after{ top: 6px; }

.menu{
  position: fixed;
  top: var(--topbar-h);
  right: -110%;
  width: min(520px, calc(100vw - 32px));
  height: calc(100vh - var(--topbar-h));
  padding: 12px;
  border-radius: 20px 0 0 20px;
  background: rgba(15,15,16,0.96);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  pointer-events: none;
  transition: right .35s ease;
  z-index: 2101;
}

.menu a{ text-decoration: none; color: var(--text); }
.menu > a{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.menu > a:hover{
  border-color: rgba(202,162,74,0.35);
  background: rgba(202,162,74,0.10);
}

.menu a strong{ display:block; font-size: 14px; }
.menu a small{ display:block; font-size: 12px; color: var(--muted); margin-top: 3px; }

.tag{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(202,162,74,0.35);
  background: rgba(202,162,74,0.14);
  color: rgba(255,255,255,0.92);
  align-self: flex-start;
}

.menu-overlay{
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--topbar-h));
  z-index: 2050;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,0.35);
  transition: opacity .18s ease;
}

.menu-toggle:checked ~ .menu{
  right: 0;
  pointer-events: auto;
}
.menu-toggle:checked ~ .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle:checked + .hamburger .burger-lines span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle:checked + .hamburger .burger-lines span:nth-child(2){
  opacity: 0;
}
.menu-toggle:checked + .hamburger .burger-lines span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

.menu a.active{
  border-color: rgba(202,162,74,0.65);
  background: rgba(202,162,74,0.16);
  outline: 2px solid rgba(202,162,74,0.65);
}


/* =========================================================
   5) LAYOUT CONTAINERS + CARDS
========================================================= */
.container,
.container-wide{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 60px;
  min-height: calc(100vh - var(--topbar-h));
  display: block;
}

.page-card,
.badge-card{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}

.page-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.page-head{
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.headline{ margin: 0; font-size: 18px; }
.sub{
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.page-card .home-badge{
  width: min(600px, 70vw);
  height: auto;
  display: block;
  margin: 6px auto 14px;
  border-radius: 18px;
  padding: 0;
}


/* =========================================================
   6) BUTTONS (global)
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}
.btn:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(202,162,74,0.45);
}

.btn-primary{
  background: rgba(202,162,74,0.20);
  border-color: rgba(202,162,74,0.45);
  color: rgba(255,255,255,0.95);
}
.btn-primary:hover{ background: rgba(202,162,74,0.28); }


/* =========================================================
   7) FOOTER
========================================================= */
.site-footer{
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.18);
  border-radius: 18px;
}

.footer-fineprint{
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  text-align: center;
  line-height: 1.6;
}

.site-footer a{
  color: var(--link);
  text-decoration: none;
  font-weight: 700;
}
.site-footer a:hover{
  text-decoration: underline;
  color: rgba(255,255,255,0.95);
}

.footer-note{
  position: relative;
  display: block;
  padding-top: 16px;
}
.footer-note::before{
  content:"";
  display:block;
  width: 260px;
  max-width: 70%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  margin: 0 auto 12px;
  border-radius: 999px;
}


/* =========================================================
   8) OPTIONAL DECOR
========================================================= */
.glow-line,
.glow-sub{
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.glow-line::after,
.glow-sub::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  border-radius: 2px;
}


/* =========================================================
   9) WHISKY MAP (Leaflet page)
========================================================= */
.map-filter{
  min-width: 220px;
  max-width: 320px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
}
.map-filter::placeholder{ color: rgba(255,255,255,0.55); }

.map-controls{ margin-top: 12px; }

.map-tabs{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.map-tabs .tab{
  appearance: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
  transition: transform 0.08s ease, background 0.12s ease, box-shadow 0.12s ease;
}
.map-tabs .tab:hover{
  background: rgba(255,255,255,0.10);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}
.map-tabs .tab:active{
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}
.map-tabs .tab.active{
  border-color: rgba(202,162,74,0.65);
  background: rgba(202,162,74,0.18);
  color: rgba(255,255,255,0.95);
}

.map-layout{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 14px;
  align-items: start;
}

.map{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

#map{
  height: 620px;
  width: 100%;
}

@media (max-width: 980px){
  .map-layout{ grid-template-columns: 1fr; }
  #map{ height: 520px; }
}


/* ---------------------------------------------------------
   Day class compatibility: support day-1 ... day-14
--------------------------------------------------------- */
.knum.day-1  { background: var(--day1)  !important; border-color: var(--day1)  !important; }
.knum.day-2  { background: var(--day2)  !important; border-color: var(--day2)  !important; }
.knum.day-3  { background: var(--day3)  !important; border-color: var(--day3)  !important; }
.knum.day-4  { background: var(--day4)  !important; border-color: var(--day4)  !important; }
.knum.day-5  { background: var(--day5)  !important; border-color: var(--day5)  !important; }
.knum.day-6  { background: var(--day6)  !important; border-color: var(--day6)  !important; }
.knum.day-7  { background: var(--day7)  !important; border-color: var(--day7)  !important; }
.knum.day-8  { background: var(--day8)  !important; border-color: var(--day8)  !important; }
.knum.day-9  { background: var(--day9)  !important; border-color: var(--day9)  !important; }
.knum.day-10 { background: var(--day10) !important; border-color: var(--day10) !important; }
.knum.day-11 { background: var(--day11) !important; border-color: var(--day11) !important; }
.knum.day-12 { background: var(--day12) !important; border-color: var(--day12) !important; }
.knum.day-13 { background: var(--day13) !important; border-color: var(--day13) !important; }
.knum.day-14 { background: var(--day14) !important; border-color: var(--day14) !important; }

.key-btn.day-1  .knum{ background: var(--day1)  !important; border-color: var(--day1)  !important; }
.key-btn.day-2  .knum{ background: var(--day2)  !important; border-color: var(--day2)  !important; }
.key-btn.day-3  .knum{ background: var(--day3)  !important; border-color: var(--day3)  !important; }
.key-btn.day-4  .knum{ background: var(--day4)  !important; border-color: var(--day4)  !important; }
.key-btn.day-5  .knum{ background: var(--day5)  !important; border-color: var(--day5)  !important; }
.key-btn.day-6  .knum{ background: var(--day6)  !important; border-color: var(--day6)  !important; }
.key-btn.day-7  .knum{ background: var(--day7)  !important; border-color: var(--day7)  !important; }
.key-btn.day-8  .knum{ background: var(--day8)  !important; border-color: var(--day8)  !important; }
.key-btn.day-9  .knum{ background: var(--day9)  !important; border-color: var(--day9)  !important; }
.key-btn.day-10 .knum{ background: var(--day10) !important; border-color: var(--day10) !important; }
.key-btn.day-11 .knum{ background: var(--day11) !important; border-color: var(--day11) !important; }
.key-btn.day-12 .knum{ background: var(--day12) !important; border-color: var(--day12) !important; }
.key-btn.day-13 .knum{ background: var(--day13) !important; border-color: var(--day13) !important; }
.key-btn.day-14 .knum{ background: var(--day14) !important; border-color: var(--day14) !important; }


/* =========================================================
   10) KEY PANEL (right-hand list)
========================================================= */
.key{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.key-title{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-weight: 700;
}

.key-list{
  margin: 0;
  padding: 10px 8px 12px;
  list-style: none;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(8 * 60px);
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(202,162,74,0.55) rgba(0,0,0,0.25);
}

.key-foot{
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

.key-heading{
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(0,0,0,0.20);
}

.key-heading .kh-title{ font-weight: 700; display: block; }
.key-heading .kh-date{
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,0.70);
  font-size: 13px;
}

.key-btn{
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  text-align: left;
}
.key-btn:hover{ background: rgba(0,0,0,0.28); }

.kname{ font-weight: 650; }
.kregion{ color: rgba(255,255,255,0.70); font-size: 13px; }

.knum{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  text-align: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(202,162,74,0.18);
  justify-self: center;
  align-self: center;
  color: rgba(0,0,0,0.90);
}

.knum.smws-whisky{
  background: color-mix(in srgb, var(--smws-whisky) 28%, rgba(0,0,0,0.2));
  border-color: color-mix(in srgb, var(--smws-whisky) 55%, rgba(255,255,255,0.10));
}
.knum.smws-grain{
  background: var(--smws-grain) !important;
  border-color: var(--smws-grain) !important;
  color: rgba(0,0,0,0.90);
}

.key-btn.smws-whisky{
  border-color: color-mix(in srgb, var(--smws-whisky) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--smws-whisky) 25%, transparent) inset;
  border-left: 6px solid var(--smws-whisky);
}
.key-btn.smws-grain{
  border-color: color-mix(in srgb, var(--smws-grain) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--smws-grain) 25%, transparent) inset;
  border-left: 6px solid var(--smws-grain);
}
.key-btn.smws-grain .knum{
  background: var(--smws-grain) !important;
  border-color: var(--smws-grain) !important;
  color: rgba(0,0,0,0.90);
}

/* Region pills */
.knum.region-highland{
  background: var(--region-highland) !important;
  border-color: var(--region-highland) !important;
}
.knum.region-speyside{
  background: var(--region-speyside) !important;
  border-color: var(--region-speyside) !important;
}
.knum.region-islay{
  background: var(--region-islay) !important;
  border-color: var(--region-islay) !important;
  color: rgba(255,255,255,0.95);
}
.knum.region-lowland{
  background: var(--region-lowland) !important;
  border-color: var(--region-lowland) !important;
}
.knum.region-campbeltown{
  background: var(--region-campbeltown) !important;
  border-color: var(--region-campbeltown) !important;
}
.knum.region-islands,
.knum.region-island{
  background: var(--region-islands) !important;
  border-color: var(--region-islands) !important;
}
.knum.region-international{
  background: var(--region-international) !important;
  border-color: var(--region-international) !important;
  color: rgba(0,0,0,0.90);
}
.knum.region-restaurant{
  background: var(--region-restaurant) !important;
  border-color: var(--region-restaurant) !important;
  color: rgba(0,0,0,0.90);
}

.key-btn.region-highland{
  border-color: color-mix(in srgb, var(--region-highland) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-highland) 25%, transparent) inset;
  border-left: 6px solid var(--region-highland);
}
.key-btn.region-speyside{
  border-color: color-mix(in srgb, var(--region-speyside) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-speyside) 25%, transparent) inset;
  border-left: 6px solid var(--region-speyside);
}
.key-btn.region-islay{
  border-color: color-mix(in srgb, var(--region-islay) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-islay) 25%, transparent) inset;
  border-left: 6px solid var(--region-islay);
}
.key-btn.region-lowland{
  border-color: color-mix(in srgb, var(--region-lowland) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-lowland) 25%, transparent) inset;
  border-left: 6px solid var(--region-lowland);
}
.key-btn.region-campbeltown{
  border-color: color-mix(in srgb, var(--region-campbeltown) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-campbeltown) 25%, transparent) inset;
  border-left: 6px solid var(--region-campbeltown);
}
.key-btn.region-islands,
.key-btn.region-island{
  border-color: color-mix(in srgb, var(--region-islands) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-islands) 25%, transparent) inset;
  border-left: 6px solid var(--region-islands);
}
.key-btn.region-international{
  border-color: color-mix(in srgb, var(--region-international) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-international) 25%, transparent) inset;
  border-left: 6px solid var(--region-international);
}
.key-btn.region-restaurant{
  border-color: color-mix(in srgb, var(--region-restaurant) 55%, rgba(255,255,255,0.10));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--region-restaurant) 25%, transparent) inset;
  border-left: 6px solid var(--region-restaurant);
}

.key-list::-webkit-scrollbar{ width: 10px; }
.key-list::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
}
.key-list::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}
.key-list::-webkit-scrollbar-thumb:hover{
  background: rgba(202,162,74,0.55);
}


/* =========================================================
   11) GLENCAIRN MARKERS (Leaflet DivIcon)
========================================================= */
.leaflet-div-icon.glass-pin{
  background: transparent !important;
  border: 0 !important;
}
.glass-pin{ background: transparent; border: 0; }
.glass-pin-inner{ width: 34px; height: 44px; position: relative; }

.glass-img{
  width: 34px;
  height: 44px;
  background: var(--glass-colour, #caa24a);
  box-shadow: 0 12px 26px rgba(0,0,0,0.45);
  -webkit-mask-image: url("logos/glencairn_white.svg");
  mask-image: url("logos/glencairn_white.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.glass-num{
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 13px;
  color: var(--number-colour, #000);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  pointer-events: none;
}

@media (max-width: 520px){
  .glass-pin-inner{ transform: translateZ(0); }
}


/* =========================================================
   12) LEAFLET POPUPS
========================================================= */
.leaflet-popup-content-wrapper{
  background: rgba(18,18,20,0.96);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
}
.leaflet-popup-tip{ background: rgba(18,18,20,0.96); }
.leaflet-popup-content { min-width: 220px; }

.popup-image-wrap { margin: 0 0 10px 0; }
.popup-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
}


/* =========================================================
   13) TASTING LIST + LEGEND
========================================================= */
.tasting-list{
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.tasting-list h2{ margin-bottom: 14px; font-size: 1.3rem; }

.legend{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.legend li{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.legend-badge{
  width: 50px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.badge-green     { background: #1f6f43; }
.badge-red       { background: #8b1e1e; }
.badge-gold      { background: var(--gold); }
.badge-turquoise { background: #00dbe6; }

@media (max-width: 520px){
  .legend{ grid-template-columns: 1fr; }
}

.tasting-list .distillery-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 6px;
}
@media (max-width: 768px){
  .tasting-list .distillery-list{ grid-template-columns: 1fr; }
}

.tasting-list .distillery-list li{
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.tasting-list .distillery-list li.open-tour > a,
.tasting-list .distillery-list li.open-tour > span { color: #65d17a; }
.tasting-list .distillery-list li.no-tour > a,
.tasting-list .distillery-list li.no-tour > span { color: #f56b6b; opacity: 0.85; }
.tasting-list .distillery-list li.upcoming > a,
.tasting-list .distillery-list li.upcoming > span { color: #00dbe6; }
.tasting-list .distillery-list li.done{ opacity: 0.82; }
.tasting-list .distillery-list li.done .d-name{ text-decoration: line-through; }

.footer-note.centre{ text-align: center; }

.trip{
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 8px;
  align-items: start;
}
.trip-label{ font-weight: 700; white-space: nowrap; }
.trip-content{ min-width: 0; }
.trip-content a{ white-space: normal; }
.w3w{ display: inline-block; margin-left: 10px; }


/* =========================================================
   14) EVENTS LIST
========================================================= */
.events-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 6px;
}
@media (max-width: 768px){
  .events-list{ grid-template-columns: 1fr; }
}

.events-list li{
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.events-list li.done{ opacity: 0.82; }
.events-list li.done a{ text-decoration: line-through; }

.events-list li.open-tour > a,
.events-list li.open-tour > span { color: #65d17a; }
.events-list li.no-tour > a,
.events-list li.no-tour > span { color: #f56b6b; opacity: 0.85; }
.events-list li.upcoming > a,
.events-list li.upcoming > span { color: #00dbe6; }


/* =========================================================
   15) CLUB DAYS OUT PAGE
========================================================= */
.days-out-wrapper{
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.day-card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.day-card h2{
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--gold);
}

.day-card p{
  color: var(--muted);
  line-height: 1.6;
}

.days-out-wrapper .distillery-list{
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
}

.days-out-wrapper .distillery-list li{
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.06);
}

.days-out-wrapper .open-tour{ border-left: 4px solid #00e5ff; }
.days-out-wrapper .no-tour{ border-left: 4px solid #ff5252; }
.days-out-wrapper .done{
  border-left: 4px solid #00c853;
  opacity: 0.8;
}
.days-out-wrapper .done span{ text-decoration: line-through; }

.days-out-wrapper .badge{
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.days-out-wrapper .badge.open{
  background: rgba(0,229,255,0.15);
  color: #00e5ff;
}
.days-out-wrapper .badge.no-tour{
  background: rgba(255,82,82,0.15);
  color: #ff5252;
}
.days-out-wrapper .badge.done{
  background: rgba(0,200,83,0.15);
  color: #00c853;
}

.visit-counter{
  margin-top: 30px;
  padding: 18px;
  text-align: center;
  border-radius: 12px;
  background: rgba(202,162,74,0.08);
  border: 1px solid rgba(202,162,74,0.25);
  font-weight: 600;
  color: var(--gold);
}

@media (max-width: 768px){
  .days-out-wrapper .distillery-list li{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}


/* =========================================================
   16) BADGES + COUNTERS
========================================================= */
.tasting-list .distillery-list li::before,
.tasting-list .distillery-list li::after,
.events-list li::before,
.events-list li::after{
  content: none !important;
  display: none !important;
}

.badge-group{
  margin-left: auto;
  display: flex;
  gap: 6px;
  align-items: center;
}

.badge{
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}
.badge.tour{ background: #1f6f43; color: #fff; }
.badge.no-tour{ background: #8b1e1e; color: #fff; }
.badge.upcoming{ background: #00dbe6; color: #000; }
.badge.visited{ background: var(--gold); color: #000; }

.counters{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
@media (max-width: 1100px){
  .counters{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .counters{ grid-template-columns: 1fr; }
}

.counter-card{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.10) inset;
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  will-change: transform, box-shadow;
  cursor: default;
}
.counters .counter-card:hover{ transform: translateY(-2px); }

.counter-number{
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
}
.counter-label{
  font-size: 14px;
  opacity: 0.8;
}

.progress-wrap{
  margin-top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}
.progress-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.35s ease;
}
.open-bar{
  background: rgba(101, 209, 122, 0.95);
  box-shadow: 0 0 10px rgba(101, 209, 122, 0.45);
}
.closed-bar{
  background: rgba(245, 107, 107, 0.95);
  box-shadow: 0 0 10px rgba(245, 107, 107, 0.45);
}

.progress-label{
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.2;
  min-height: 14px;
}

.counter-card.counter-open{
  border-color: rgba(101, 209, 122, 0.45) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 22px rgba(101, 209, 122, 0.28),
    0 0 48px rgba(101, 209, 122, 0.16),
    0 0 0 1px rgba(101, 209, 122, 0.18) inset;
}
.counter-card.counter-open .counter-number{ color: rgba(101, 209, 122, 0.95); }

.counter-card.counter-closed{
  border-color: rgba(245, 107, 107, 0.45) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 22px rgba(245, 107, 107, 0.28),
    0 0 48px rgba(245, 107, 107, 0.16),
    0 0 0 1px rgba(245, 107, 107, 0.18) inset;
}
.counter-card.counter-closed .counter-number{ color: rgba(245, 107, 107, 0.95); }

.counter-card.counter-visited{
  border-color: rgba(202, 162, 74, 0.55) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 22px rgba(202, 162, 74, 0.30),
    0 0 52px rgba(202, 162, 74, 0.18),
    0 0 0 1px rgba(202, 162, 74, 0.20) inset;
}
.counter-card.counter-visited .counter-number{ color: rgba(202, 162, 74, 0.98); }

.counter-card.counter-upcoming{
  border-color: rgba(0, 219, 230, 0.55) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    0 0 22px rgba(0, 219, 230, 0.30),
    0 0 52px rgba(0, 219, 230, 0.18),
    0 0 0 1px rgba(0, 219, 230, 0.20) inset;
}
.counter-card.counter-upcoming .counter-number{ color: rgba(0, 219, 230, 0.98); }

.counters .counter-card.counter-open:hover{
  border-color: rgba(101, 209, 122, 0.70) !important;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 28px rgba(101, 209, 122, 0.38),
    0 0 70px rgba(101, 209, 122, 0.22),
    0 0 0 1px rgba(101, 209, 122, 0.22) inset !important;
}
.counters .counter-card.counter-closed:hover{
  border-color: rgba(245, 107, 107, 0.70) !important;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 28px rgba(245, 107, 107, 0.38),
    0 0 70px rgba(245, 107, 107, 0.22),
    0 0 0 1px rgba(245, 107, 107, 0.22) inset !important;
}
.counters .counter-card.counter-visited:hover{
  border-color: rgba(202, 162, 74, 0.78) !important;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 30px rgba(202, 162, 74, 0.42),
    0 0 78px rgba(202, 162, 74, 0.24),
    0 0 0 1px rgba(202, 162, 74, 0.24) inset !important;
}
.counters .counter-card.counter-upcoming:hover{
  border-color: rgba(0, 219, 230, 0.78) !important;
  box-shadow:
    0 26px 70px rgba(0,0,0,0.55),
    0 0 30px rgba(0, 219, 230, 0.42),
    0 0 78px rgba(0, 219, 230, 0.24),
    0 0 0 1px rgba(0, 219, 230, 0.24) inset !important;
}


/* =========================================================
   17) TIMELINE
========================================================= */
.timeline-block{
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.timeline-dual{
  position: relative;
  margin-top: 10px;
  padding: 96px 12px 96px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex;
  align-items: center !important;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.timeline-dual::-webkit-scrollbar{ height: 10px; }
.timeline-dual::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}
.timeline-dual::-webkit-scrollbar-track{
  background: rgba(0,0,0,0.25);
  border-radius: 999px;
}

.timeline-track{
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50% !important;
  transform: translateY(-50%) !important;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
  pointer-events: none;
}

.timeline-progress{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(202,162,74,0.85);
  box-shadow: 0 0 14px rgba(202,162,74,0.35);
}

.t-year{
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  font: inherit;
  line-height: 1;
  text-align: center;
  border-radius: 16px;
}

.t-year::before{
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35);
  -webkit-mask-image: url("images/barrel.svg");
  mask-image: url("images/barrel.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: transform 0.12s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.t-year:hover::before{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(202,162,74,0.45);
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}

.t-year:focus-visible{
  outline: 2px solid rgba(202,162,74,0.75);
  outline-offset: 3px;
}

.t-year .year{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}

.t-year .dot{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
  z-index: 2;
  pointer-events: none;
}

.t-year.active::before{
  border-color: rgba(202,162,74,0.70);
  background: rgba(202,162,74,0.14);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.55),
    0 0 22px rgba(202,162,74,0.22);
}

.t-year.active .dot{
  background: rgba(202,162,74,0.95);
  box-shadow:
    0 0 0 3px rgba(0,0,0,0.25),
    0 0 14px rgba(202,162,74,0.45);
}

.t-year:hover .dot{
  box-shadow:
    0 0 12px rgba(202,162,74,0.55),
    0 0 0 3px rgba(0,0,0,0.25);
}

.timeline-tip{
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(-9999px, -9999px);
  max-width: min(420px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(18,18,20,0.96);
  border: 1px solid rgba(202,162,74,0.65);
  color: rgba(255,255,255,0.92);
  box-shadow: 0 0 18px rgba(202,162,74,0.18), 0 20px 60px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
  z-index: 9999;
}
.timeline-tip.show{ opacity: 1; }
.timeline-tip.tip-top{ z-index: 10002 !important; }
.timeline-tip.tip-bottom{ z-index: 10001 !important; }

.timeline-tip .tip-label{
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: rgba(202,162,74,0.95);
  margin-bottom: 6px;
}
.timeline-tip .tip-content{
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
}


/* =========================================================
   18) INTERNATIONAL + RESTAURANT + SMWS TAB COLOURS
========================================================= */
.map-tabs .tab.region-international{
  border-color: color-mix(in srgb, var(--region-international) 60%, rgba(255,255,255,0.10));
  background: color-mix(in srgb, var(--region-international) 18%, rgba(255,255,255,0.06));
}
.map-tabs .tab.region-restaurant{
  border-color: color-mix(in srgb, var(--region-restaurant) 60%, rgba(255,255,255,0.10));
  background: color-mix(in srgb, var(--region-restaurant) 18%, rgba(255,255,255,0.06));
}
.map-tabs .tab.region-international.active{
  border-color: color-mix(in srgb, var(--region-international) 75%, rgba(255,255,255,0.12));
  background: color-mix(in srgb, var(--region-international) 28%, rgba(0,0,0,0.20));
  color: rgba(255,255,255,0.95);
}
.map-tabs .tab.region-restaurant.active{
  border-color: color-mix(in srgb, var(--region-restaurant) 75%, rgba(255,255,255,0.12));
  background: color-mix(in srgb, var(--region-restaurant) 28%, rgba(0,0,0,0.20));
  color: rgba(255,255,255,0.95);
}

.badge.region-international{
  background: color-mix(in srgb, var(--region-international) 18%, rgba(0,0,0,0.25));
  border: 1px solid color-mix(in srgb, var(--region-international) 55%, rgba(255,255,255,0.10));
  color: rgba(255,255,255,0.92);
}
.badge.region-restaurant{
  background: color-mix(in srgb, var(--region-restaurant) 18%, rgba(0,0,0,0.25));
  border: 1px solid color-mix(in srgb, var(--region-restaurant) 55%, rgba(255,255,255,0.10));
  color: rgba(255,255,255,0.92);
}

.tasting-list .distillery-list li.international > a,
.tasting-list .distillery-list li.international > span,
.events-list li.international > a,
.events-list li.international > span{
  color: color-mix(in srgb, var(--region-international) 85%, white 15%);
}
.tasting-list .distillery-list li.restaurant > a,
.tasting-list .distillery-list li.restaurant > span,
.events-list li.restaurant > a,
.events-list li.restaurant > span{
  color: color-mix(in srgb, var(--region-restaurant) 85%, white 15%);
}

.map-tabs .tab.smws-whisky{
  border-color: color-mix(in srgb, var(--smws-whisky) 60%, rgba(255,255,255,0.10));
  background: color-mix(in srgb, var(--smws-whisky) 18%, rgba(255,255,255,0.06));
}
.map-tabs .tab.smws-grain{
  border-color: color-mix(in srgb, var(--smws-grain) 60%, rgba(255,255,255,0.10));
  background: color-mix(in srgb, var(--smws-grain) 18%, rgba(255,255,255,0.06));
}
.map-tabs .tab.smws-whisky.active{
  border-color: color-mix(in srgb, var(--smws-whisky) 75%, rgba(255,255,255,0.12));
  background: color-mix(in srgb, var(--smws-whisky) 28%, rgba(0,0,0,0.20));
  color: rgba(255,255,255,0.95);
}
.map-tabs .tab.smws-grain.active{
  border-color: color-mix(in srgb, var(--smws-grain) 75%, rgba(255,255,255,0.12));
  background: color-mix(in srgb, var(--smws-grain) 28%, rgba(0,0,0,0.20));
  color: rgba(255,255,255,0.95);
}


/* =========================================================
   EVENTS CALENDAR
========================================================= */
.dow{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.grid{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-auto-rows: 120px;
  gap: 10px;
  align-items: stretch;
}

.day{
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.day-num{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chips{
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  min-height: 0;
}
.day .chips{ overflow: auto; }

@media (max-width: 980px){
  .grid{ grid-auto-rows: 100px; }
}


/* =========================================================
   DISTILLERY PROFILE PAGE
========================================================= */
.distillery-profile{
  display: grid;
  gap: 1.5rem;
}

.eyebrow{
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 7px 0 2px;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(202,162,74,0.35);
}

.eyebrow + p{
  margin-top: 4px;
}

.distillery-hero-grid{
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.25rem;
  align-items: start;
}

.distillery-hero-image{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 520px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  padding: 1rem;
}

.distillery-hero-image img{
  display: block;
  width: 80%;
  height: 80%;
  max-width: 80%;
  max-height: 80%;
  min-height: 0;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.distillery-facts{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
}

.facts-title{
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--gold);
}

.facts-list{
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.facts-list div{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.facts-list dt{
  font-weight: 700;
  color: rgba(255,255,255,0.82);
}
.facts-list dd{
  margin: 0;
  color: rgba(255,255,255,0.92);
}

.distillery-quick-links{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.button-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #111;
  background: var(--gold);
  border: 1px solid rgba(255,255,255,0.14);
}
.button-link:hover{
  filter: brightness(1.05);
}

.distillery-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.profile-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.14);
}

.badge-open{
  background: rgba(41, 163, 90, 0.18);
  color: #7ee2a8;
}
.badge-closed{
  background: rgba(198, 59, 59, 0.18);
  color: #ff8e8e;
}
.badge-visited{
  background: rgba(202, 162, 74, 0.18);
  color: #f0cd7b;
}
.badge-tour{
  background: rgba(0, 196, 204, 0.18);
  color: #7debf0;
}
.badge-club{
  background: rgba(138, 92, 246, 0.18);
  color: #cdb2ff;
}

.content-section{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.1rem;
}
.content-section h2{
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.profile-list{
  margin: 0;
  padding-left: 1.2rem;
}
.profile-list li + li{
  margin-top: 0.45rem;
}

.club-notes-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1rem;
}
.mini-card h3{
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
.mini-card p{ margin: 0; }

.distillery-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.distillery-gallery img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: block;
  background: rgba(255,255,255,0.04);
}

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

@media (max-width: 980px){
  .distillery-hero-grid{ grid-template-columns: 1fr; }
  .club-notes-grid{ grid-template-columns: 1fr; }
  .distillery-gallery{ grid-template-columns: 1fr; }
}


/* =========================================================
   HISTORY / FACTS / DISTILLERY LIST HELPERS
========================================================= */
.timeline p{
  margin-bottom: 14px;
}
.timeline{
  max-width: 72ch;
}
.timeline-glance strong{
  color: var(--gold);
  display: inline-block;
  width: 110px;
}

.eyebrow-feature{
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 34px 0 18px;
  display: inline-block;
  position: relative;
}
.eyebrow-feature::before,
.eyebrow-feature::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(202,162,74,0.6);
}
.eyebrow-feature::before{ top: -10px; }
.eyebrow-feature::after{ bottom: -10px; }

.glenugie-facts{
  max-width: 900px;
}
.fact{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.fact-title{
  color: #caa24a;
  font-weight: 700;
}
.fact-text{
  color: #ffffff;
}
@media (max-width:600px){
  .fact{ grid-template-columns: 1fr; }
}

.distillery-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.glencairn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  flex: 0 0 auto;
}

.glencairn-link img {
  width: 18px;
  height: auto;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.glencairn-link:hover img,
.glencairn-link:focus-visible img {
  transform: scale(1.08);
  opacity: 0.9;
}

.distillery-list li > a:not(.glencairn-link) {
  flex: 1 1 auto;
  min-width: 0;
}


/* =========================================================
   SOCIAL WALL
========================================================= */
.social-section-block{
  margin-top: 1.75rem;
}

.social-section-header{
  display:flex;
  align-items:center;
  gap:.7rem;
  margin:0 0 1rem;
  padding:.85rem 1rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.social-section-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  background:rgba(202,162,74,.14);
  border:1px solid rgba(202,162,74,.35);
  font-size:1rem;
  line-height:1;
}

.social-section-title{
  margin:0;
  font-size:1.1rem;
  font-weight:700;
  color:#caa24a;
  letter-spacing:.02em;
}

.social-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(240px, 1fr));
  gap:1rem;
  align-items:start;
}

.social-card{
  width:100%;
  margin:0;
  display:flex;
  flex-direction:column;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.18);
  min-width:0;
}

.social-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:.75rem;
  padding:.75rem .75rem .6rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.social-card-meta{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  min-width:0;
}

.social-title{
  font-size:.9rem;
  line-height:1.2;
}

.platform-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  background:rgba(255,255,255,.08);
}

.platform-tag.instagram{
  background:rgba(225,48,108,.18);
  color:#ffd5e4;
}

.platform-tag.tiktok{
  background:rgba(37,244,238,.14);
  color:#cffffc;
}

.social-date{
  font-size:.78rem;
  opacity:.8;
  white-space:normal;
  text-align:right;
}

.social-embed{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:.5rem;
  overflow:hidden;
  background:rgba(255,255,255,.02);
  min-width:0;
}

.social-embed .instagram-media,
.social-embed blockquote.tiktok-embed{
  margin:0 auto !important;
  width:100% !important;
  min-width:0 !important;
  max-width:260px !important;
}

.social-card-foot{
  margin-top:auto;
  padding:0 .75rem .75rem;
}

.social-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .8rem;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  font-size:.88rem;
  background:rgba(202,162,74,.14);
  border:1px solid rgba(202,162,74,.35);
  color:#f2d48b;
  transition:all .2s ease;
}

.social-open:hover{
  background:rgba(202,162,74,.22);
  transform:translateY(-1px);
}

.empty-state{
  margin-top:1.5rem;
  padding:1.2rem 1.25rem;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.03);
}

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

@media (max-width:700px){
  .social-card-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .social-embed{
    padding:.5rem;
  }

  .social-embed .instagram-media,
  .social-embed blockquote.tiktok-embed{
    max-width:100% !important;
  }
}

.auction-disclaimer {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
  line-height: 1.3;
  font-style: italic;
}

/* matches your whisky map style nicely */
.map-notice {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.8);
  color: #caa24a;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  z-index: 500;
}

.profile-video {
  width: 100%;
}

.profile-video {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.profile-video video {
  display: block;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.video-card {
  margin: 0 0 1.5rem;
}

.video-card figcaption {
  margin-top: 0.6rem;
  text-align: center;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
}

.eyebrow{
  display:block;
  margin-bottom:0.75rem;
  font-size:0.85rem;
  text-transform:uppercase;
  letter-spacing:0.12em;
  color:#caa24a;
  font-weight:700;
}

.info-grid,
.quick-links{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1rem;
  margin-top:1rem;
}

.info-block,
.quick-link-card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(202,162,74,0.18);
  border-radius:16px;
  padding:1rem;
  text-decoration:none;
  color:inherit;
  transition:transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-link-card:hover,
.quick-link-card:focus,
.info-block:hover{
  transform:translateY(-2px);
  border-color:rgba(202,162,74,0.4);
  background:rgba(255,255,255,0.05);
}

.info-block h3,
.quick-link-card h3{
  margin-top:0;
  margin-bottom:0.5rem;
}

.quick-link-card p,
.info-block p{
  margin:0;
}

.map-guide{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(202,162,74,0.25);
  padding:14px 18px;
  border-radius:12px;
  margin-bottom:18px;
}

.map-guide h3{
  margin:0 0 6px 0;
  color:#caa24a;
}

.map-guide p{
  margin:0;
  font-size:0.95rem;
  line-height:1.6;
}

.auction-card{
  position:relative;
  overflow:hidden;
}

/* glow effect */
.auction-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  opacity:0;
  transition:opacity .25s ease;
  box-shadow:
    0 0 0 1px rgba(202,162,74,0.35),
    0 0 14px rgba(202,162,74,0.35),
    0 0 28px rgba(202,162,74,0.18);
  pointer-events:none;
}

/* show glow on hover */
.auction-card:hover::before{
  opacity:1;
}

.auction-thumb img{
  transition:transform .35s ease, filter .35s ease;
}

.auction-card:hover .auction-thumb img{
  transform:scale(1.04);
  filter:brightness(1.05);
}

.auction-grid + .headline{
  margin-top:48px;
}

.slainte-wrap{
  width:240px;
  margin:15px auto 0;
  text-align:center;
}

.slainte-video{
  width:100%;
  border-radius:14px;
  cursor:pointer;
}

.video-controls{
  margin-top:10px;
  display:flex;
  justify-content:center;
  gap:6px;
}

.video-controls button{
  padding:3px 8px;
  border:none;
  border-radius:999px;
  background:#caa24a;
  color:#000;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
}

.video-controls button:hover{
  background:#e0bb66;
}

.pronunciation-table{
  width:100%;
  border-collapse:collapse;
  min-width:620px;
  table-layout:fixed;
}

.pronunciation-table th:first-child,
.pronunciation-table td:first-child{
  width:60%;
}

.pronunciation-table th:last-child,
.pronunciation-table td:last-child{
  width:40%;
}

.distillery-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

.distillery-name-btn{
  appearance:none;
  border:none;
  background:none;
  padding:0;
  margin:0;
  color:rgba(255,255,255,0.96);
  font:inherit;
  font-weight:700;
  cursor:pointer;
  text-align:left;
  line-height:1.3;
  min-width:0;
  overflow-wrap:anywhere;
}

.region-card{
  --region-accent: var(--gold, #caa24a);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.03));
  border:1px solid color-mix(in srgb, var(--region-accent) 35%, rgba(255,255,255,0.10));
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 30px rgba(0,0,0,0.22);
  position:relative;
  overflow:hidden;
}

.region-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:var(--region-accent);
  opacity:0.95;
}

.region-title{
  margin:0 0 6px;
  color:var(--region-accent);
  font-size:clamp(1.3rem, 2vw, 1.8rem);
}

.region-card .pronunciation-table th{
  color:var(--region-accent);
}

.region-card .map-link:hover{
  background:color-mix(in srgb, var(--region-accent) 16%, transparent);
  border-color:color-mix(in srgb, var(--region-accent) 45%, rgba(255,255,255,0.15));
}

.region-speyside{
  --region-accent: var(--gold, #caa24a);
}

.region-islay{
  --region-accent: #4fb3ff;
}

.region-highlands{
  --region-accent: #9b7bff;
}

.region-lowlands{
  --region-accent: #5ccf8a;
}

.region-campbeltown{
  --region-accent: #ff8a4c;
}

.region-islands{
  --region-accent: #4fd1c5;
}

.region-other{
  --region-accent: #b8b8b8;
}


.glencairn-mini{
  width:18px;
  height:18px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));
  opacity:0.95;
}

.region-card .glencairn-mini{
  outline:none;
}

.map-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid color-mix(in srgb, var(--region-accent) 42%, rgba(255,255,255,0.14));
  background:color-mix(in srgb, var(--region-accent) 10%, transparent);
  color:var(--region-accent);
  text-decoration:none;
  font-size:0.82rem;
  font-weight:700;
  line-height:1;
  flex:0 0 auto;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
}

.map-link:hover{
  transform:translateY(-1px);
}

/* Force primary ticket buttons to match */
.ticket-btn,
.ticket-actions .ticket-btn,
.hero-buttons .ticket-btn{
background:#caa24a;
color:#111;
border:1px solid rgba(202,162,74,.35);
font-weight:700;
border-radius:999px;
padding:12px 22px;
display:inline-flex;
align-items:center;
justify-content:center;
min-height:50px;
text-decoration:none;
}

.ticket-btn:hover,
.ticket-actions .ticket-btn:hover,
.hero-buttons .ticket-btn:hover{
background:#d4ad55;
}

.venue-map{
margin-top:12px;
border-radius:12px;
overflow:hidden;
border:1px solid rgba(255,255,255,.12);
}

.venue-map iframe{
width:100%;
height:180px;
border:0;
display:block;
}

.venue-stat{
grid-column:span 2;
}

.venue-map-wrap{
margin-top:14px;
display:grid;
gap:12px;
}

.venue-map{
border-radius:14px;
overflow:hidden;
border:1px solid rgba(255,255,255,.12);
background:#111;
}

.venue-map iframe{
width:100%;
height:220px;
border:0;
display:block;
filter:grayscale(.15) contrast(1.05);
}

.venue-directions{
width:100%;
}

@media (max-width:640px){
.venue-stat{
grid-column:span 1;
}

.venue-map iframe{
height:180px;
}
}

.distillery-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(320px, 0.95fr);
  grid-template-areas:
    "image facts"
    "venue facts";
  gap: 1.4rem;
  align-items:start;
}

/* =========================
   DISTILLERY PROFILE HERO
========================= */
.distillery-hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(320px, 0.95fr);
  grid-template-areas:
    "image facts"
    "venue facts";
  gap: 1.4rem;
  align-items:start;
  margin-top: 1.2rem;
}

.distillery-hero-image{
  grid-area:image;
}

.distillery-hero-image img{
  display:block;
  width:100%;
  height:auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 10px 30px rgba(0,0,0,0.22);
}

.distillery-facts{
  grid-area:facts;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.12);
  border-radius:22px;
  padding:1rem 1rem 1.1rem;
  box-shadow:0 10px 30px rgba(0,0,0,0.22);
  align-self:stretch;
}

.venue-card{
  grid-area:venue;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border:1px solid rgba(255,255,255,0.12);
  border-radius:22px;
  padding:1rem;
  box-shadow:0 10px 30px rgba(0,0,0,0.22);
}

.facts-title{
  color:var(--gold, #caa24a);
  font-weight:800;
  font-size:1rem;
  margin-bottom:0.8rem;
}

.facts-list{
  display:grid;
  gap:0;
  margin:0;
}

.facts-list div{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:0.9rem;
  padding:0.7rem 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.facts-list div:last-child{
  border-bottom:none;
}

.facts-list dt{
  margin:0;
  font-weight:700;
  color:rgba(255,255,255,0.72);
}

.facts-list dd{
  margin:0;
  color:rgba(255,255,255,0.96);
}

.distillery-quick-links{
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem;
  margin-top:1rem;
}

.venue-address{
  color:rgba(255,255,255,0.9);
  font-weight:700;
  line-height:1.45;
  margin-bottom:0.9rem;
}

.venue-map{
  width:100%;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.12);
  background:rgba(255,255,255,0.04);
  aspect-ratio:16 / 9;
}

.venue-map iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.venue-actions{
  margin-top:0.9rem;
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem;
}

.venue-actions .ticket-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
}

@media (max-width: 980px){
  .distillery-hero-grid{
    grid-template-columns:1fr;
    grid-template-areas:
      "image"
      "venue"
      "facts";
  }
}

@media (max-width: 640px){
  .facts-list div{
    grid-template-columns:1fr;
    gap:0.35rem;
  }
}

.venue-stat{
  grid-column: 1 / -1;
}