/* Prevent horizontal overflow on mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;500;600;700;800;900&family=Lilita+One&display=swap');
/*
  Whit Did Ye Say? Phase 2 Navigation + Footer Styles
  This file owns the shared navigation, Explore dropdown, mobile menu state,
  and footer styling. The legacy style.css file is intentionally untouched.
*/

:root {
  --phase2-nav-bg: #0B0F1A;
  --phase2-nav-surface: #111827;
  --phase2-nav-surface-2: #162033;
  --phase2-brand-blue: #1A5FB4;
  --phase2-brand-blue-light: #5B9BD5;
  --phase2-orange: #f97316;
  --phase2-orange-hover: #fb923c;
  --phase2-amber: #f59e0b;
  --phase2-amber-bright: #fbbf24;
  --phase2-text: #F8FAFC;
  --phase2-text-muted: #AAB6C5;
  --phase2-border: rgba(255, 255, 255, 0.10);
  --phase2-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
  --phase2-font: 'League Spartan', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-padding-top: 92px;
}

.nav-container {
  overflow: hidden;
}

body.content-page {
  padding-top: 76px;
}

.navbar,
.navbar#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(11, 15, 26, 0.92);
  border-bottom: 1px solid var(--phase2-border);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: var(--phase2-font);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 76px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--phase2-text) !important;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  white-space: nowrap;
}

.nav-logo span {
  font-family: 'Lilita One', cursive;
  font-weight: 400;
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(249, 115, 22, 0.22));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(26, 95, 180, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}

.nav-links > a,
.nav-dropdown-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--phase2-text-muted) !important;
  font-family: var(--phase2-font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links > a:hover,
.nav-links > a:focus-visible,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-links > a[aria-current="page"] {
  color: var(--phase2-text) !important;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.nav-cta,
.nav-links > a.nav-cta {
  height: 48px;
  min-height: 48px !important;
  padding: 0 20px !important;
  border-radius: 999px;
  font-family: var(--phase2-font);
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em;
}

.nav-insult,
.nav-links > a.nav-insult {
  margin-left: 4px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
  animation: none !important;
  color: var(--phase2-text-muted) !important;
  font-family: var(--phase2-font);
  font-size: 0.98rem;
  font-weight: 700 !important;
  height: auto;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border-radius: 999px;
  transform: none !important;
}

.nav-insult:hover,
.nav-insult:focus-visible,
.nav-links > a.nav-insult:hover,
.nav-links > a.nav-insult:focus-visible {
  color: var(--phase2-text) !important;
  border: 0 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  outline: none;
}

.nav-insult .insult-flame {
  margin-right: 6px;
  font-size: 1rem;
  line-height: 1;
  filter: none !important;
}

.nav-cta,
.nav-links > a.nav-cta {
  margin-left: 4px;
  background: #f97316 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow:
    0 14px 30px rgba(249, 115, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.nav-links > a.nav-cta:hover,
.nav-links > a.nav-cta:focus-visible {
  color: #ffffff !important;
  background: #fb923c !important;
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(249, 115, 22, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
  transform-origin: center;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow,
.nav-dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 230px;
  padding: 10px;
  display: grid;
  gap: 2px;
  background: linear-gradient(180deg, var(--phase2-nav-surface-2), var(--phase2-nav-surface));
  border: 1px solid var(--phase2-border);
  border-radius: 18px;
  box-shadow: var(--phase2-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--phase2-text-muted) !important;
  font-family: var(--phase2-font);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] {
  color: var(--phase2-text) !important;
  background: rgba(26, 95, 180, 0.22);
  padding-left: 15px;
  outline: none;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--phase2-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--phase2-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.active span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2),
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.footer {
  background: #0B0F1A;
  border-top: 1px solid var(--phase2-border);
  color: var(--phase2-text-muted);
  font-family: var(--phase2-font);
  padding: 64px 0 28px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  align-items: start;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 380px;
  color: var(--phase2-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--phase2-text);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(26, 95, 180, 0.22);
}

.footer-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-store-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(26, 95, 180, 0.18);
  border: 1px solid rgba(91, 155, 213, 0.26);
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.footer-store-links a:hover,
.footer-store-links a:focus-visible {
  background: rgba(26, 95, 180, 0.32);
  border-color: rgba(91, 155, 213, 0.48);
  transform: translateY(-1px);
  outline: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 6px;
  color: var(--phase2-text);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.footer-links a {
  color: var(--phase2-text-muted) !important;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--phase2-brand-blue-light) !important;
  transform: translateX(2px);
  outline: none;
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--phase2-border);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #7D8CA0;
  font-size: 0.95rem;
}

@media (max-width: 1080px) {
  .nav-container {
    gap: 14px;
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 0.94rem;
  }

  .nav-cta,
  .nav-links > a.nav-cta {
    padding-left: 14px;
    padding-right: 14px;
  }
}


@media (max-width: 920px) {
  body.content-page {
    padding-top: 70px;
  }

  .nav-logo span {
    display: none;
  }

  .nav-container {
    min-height: 70px !important;
    padding: 0 18px !important;
    position: relative;
    overflow: visible !important;
  }

  .nav-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(249, 115, 22, 0.22));
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08), 0 8px 24px rgba(26, 95, 180, 0.22);
  }

  .nav-toggle,
  .navbar .nav-toggle,
  .navbar#navbar .nav-toggle {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: 0 0 auto !important;
  }

  .nav-links,
  .navbar .nav-links,
  .navbar#navbar .nav-links {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-height: calc(100vh - 96px) !important;
    overflow-y: auto !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-left: 0 !important;
    padding: 14px !important;
    background: linear-gradient(180deg, var(--phase2-nav-surface-2), var(--phase2-nav-surface)) !important;
    border: 1px solid var(--phase2-border) !important;
    border-radius: 20px !important;
    box-shadow: var(--phase2-shadow) !important;
    z-index: 1001 !important;
  }

  .nav-links.active,
  .navbar .nav-links.active,
  .navbar#navbar .nav-links.active {
    display: flex !important;
  }

  .nav-links > a,
  .nav-dropdown-toggle,
  .nav-links > a.nav-insult,
  .nav-links > a.nav-cta {
    width: 100% !important;
    justify-content: flex-start !important;
    min-height: 46px !important;
    padding: 13px 14px !important;
    border-radius: 13px !important;
    font-size: 1rem !important;
    text-align: left !important;
  }

  .nav-dropdown {
    width: 100% !important;
    display: block !important;
  }

  .nav-dropdown-toggle {
    display: flex !important;
  }

  .nav-dropdown-menu,
  .navbar .nav-dropdown-menu,
  .navbar#navbar .nav-dropdown-menu {
    position: static !important;
    top: auto !important;
    right: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 4px 0 0 !important;
    padding: 6px !important;
    display: none !important;
    gap: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(11, 15, 26, 0.48) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .nav-dropdown-menu::before {
    display: none !important;
  }

  .nav-dropdown-menu a {
    width: 100% !important;
    min-height: 40px !important;
    padding: 10px 12px !important;
  }

  .nav-insult,
  .nav-links > a.nav-insult {
    margin-left: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--phase2-text-muted) !important;
  }

  .nav-cta,
  .nav-links > a.nav-cta {
    display: flex !important;
    margin-left: 0 !important;
    margin-top: 4px !important;
    justify-content: center !important;
    background: #f97316 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
}


@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }
}

@media (max-width: 620px) {
  .nav-container {
    padding: 0 14px !important;
  }

  .nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--phase2-text) !important;
    line-height: 1;
    letter-spacing: -0.01em;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .nav-links,
  .navbar .nav-links,
  .navbar#navbar .nav-links {
    left: 14px !important;
    right: 14px !important;
  }
}

/* Phase 2 follow-up: insult page body layout override */
body.insult-page {
  justify-content: flex-start !important;
  align-items: stretch !important;
  padding: 76px 0 0 !important;
}

body.insult-page > .card {
  margin: 40px auto;
}

body.insult-page > .footer {
  width: 100%;
  margin-top: 24px;
}

@media (max-width: 920px) {
  body.insult-page {
    padding: 70px 0 0 !important;
  }

  body.insult-page > .card {
    width: calc(100% - 32px);
    margin: 28px auto;
  }
}

@media (max-width: 920px) {
  .nav-logo span { display: none; }
}

/* Features grid responsive */
@media (min-width: 769px) {
  .features-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   ADDITIONS — Fix insult pages, logo, overflow
   ============================================ */

/* Prevent ALL horizontal overflow sitewide */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Insult pages — add top padding so content clears the fixed nav
   Insult pages have inline body styles so we target more specifically */
body:not(.content-page) .card {
  margin-top: 20px;
}

/* Fix features grid columns */
@media (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile logo text — show it but smaller so it fits */
@media (max-width: 920px) {
  .nav-logo span {
    display: inline !important;
    font-size: 0.95rem !important;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* ============================================
   FINAL FIXES — June 2026
   Add these to the BOTTOM of nav-style.css
   ============================================ */

/* FIX 1: nav-container overflow — was clipping the Explore dropdown */
.nav-container {
  overflow: visible !important;
}

/* FIX 2: Dropdown z-index — ensure it always appears above page content */
.nav-dropdown-menu {
  z-index: 1100 !important;
}

/* FIX 3: Insult hub (/insult/index.html) — body has no class
   The .container inside needs to clear the fixed 76px nav */
.insult-hub-page .container,
body > .container {
  padding-top: 96px !important;
}

/* FIX 4: Individual insult pages (body.insult-page)
   Inline body style has padding:20px which we can't override
   So push the card down with margin-top instead */
.insult-page .card {
  margin-top: 60px !important;
}

/* FIX 5: Logo text visible on mobile but smaller */
@media (max-width: 920px) {
  .nav-logo span {
    display: inline !important;
    font-size: 0.88rem !important;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
/* ============================================
   Explore Modal — Mobile overlay
   Appended to nav-style.css
   ============================================ */

/* Explore button — distinct styling so it feels special */
.nav-dropdown-toggle {
  color: #5B9BD5 !important;
  border: 1px solid rgba(91, 155, 213, 0.35) !important;
  background: rgba(91, 155, 213, 0.08) !important;
  border-radius: 999px !important;
  transition: all 0.2s ease !important;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown[aria-expanded="true"] .nav-dropdown-toggle,
.nav-dropdown.open .nav-dropdown-toggle {
  color: #ffffff !important;
  background: rgba(91, 155, 213, 0.22) !important;
  border-color: rgba(91, 155, 213, 0.6) !important;
  box-shadow: 0 0 18px rgba(91, 155, 213, 0.25) !important;
}

/* ============================================
   Mobile Explore Modal
   ============================================ */
#explore-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: flex-end;
  justify-content: center;
}

#explore-modal.active {
  display: flex;
}

/* Dark backdrop */
#explore-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

/* Modal panel slides up from bottom */
#explore-modal-panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #162033 0%, #0B0F1A 100%);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-bottom: none;
  border-radius: 24px 24px 0 0;
  padding: 0 0 32px;
  z-index: 1;
  animation: slideUp 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  max-height: 85vh;
  overflow-y: auto;
}

#explore-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: 0;
  background: #162033;
  border-radius: 24px 24px 0 0;
  z-index: 1;
}

#explore-modal-title {
  font-family: 'Lilita One', cursive;
  font-size: 1.3rem;
  color: #F8FAFC;
}

#explore-modal-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: #AAB6C5;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

#explore-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

#explore-modal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 16px 0;
}

#explore-modal-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #CBD5E1 !important;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

#explore-modal-links a:hover,
#explore-modal-links a:active {
  background: rgba(91, 155, 213, 0.18) !important;
  border-color: rgba(91, 155, 213, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Highlight the money pages */
#explore-modal-links a[href*="scottish-gifts"],
#explore-modal-links a[href*="plan-your-scotland"] {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: rgba(249, 115, 22, 0.25) !important;
  color: #ffb17a !important;
}

#explore-modal-links a[href*="scottish-gifts"]:hover,
#explore-modal-links a[href*="plan-your-scotland"]:hover {
  background: rgba(249, 115, 22, 0.18) !important;
  border-color: rgba(249, 115, 22, 0.45) !important;
  color: #ffffff !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Desktop — hide modal, use dropdown as normal */
@media (min-width: 921px) {
  #explore-modal {
    display: none !important;
  }
}
.nav-dropdown-toggle {
  color: #ffb17a !important;
  border: 1px solid rgba(249, 115, 22, 0.5) !important;
  background: rgba(249, 115, 22, 0.10) !important;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
  color: #ffffff !important;
  background: rgba(249, 115, 22, 0.22) !important;
  border-color: rgba(249, 115, 22, 0.7) !important;
}

.nav-dropdown-menu a[href*="scottish-gifts"],
.nav-dropdown-menu a[href*="plan-your-scotland-trip"] {
  color: #ffb17a !important;
}

.nav-dropdown-menu a[href*="scottish-gifts"]:hover,
.nav-dropdown-menu a[href*="plan-your-scotland-trip"]:hover {
  color: #ffffff !important;
  background: rgba(249, 115, 22, 0.15) !important;
}

/* ============================================
   Money CTAs Section — Scottish Gifts + Trip
   Add to style.css inline <style> block
   OR append to nav-style.css
   ============================================ */

.money-ctas {
  padding: 80px 0;
  background: var(--bg-dark, #0B0F1A);
}

.money-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.money-cta-card {
  border-radius: 20px;
  padding: 2px;
  position: relative;
  overflow: hidden;
}

.money-cta-card.gifts-card {
  background: linear-gradient(135deg, rgba(249,115,22,0.6), rgba(249,115,22,0.15), rgba(11,15,26,0.8));
}

.money-cta-card.trip-card {
  background: linear-gradient(135deg, rgba(26,95,180,0.6), rgba(91,155,213,0.15), rgba(11,15,26,0.8));
}

.money-cta-inner {
  background: #0e1628;
  border-radius: 18px;
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.money-cta-kicker {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #AAB6C5;
}

.money-cta-title {
  font-family: 'Lilita One', cursive;
  font-size: 1.6rem;
  line-height: 1.2;
  color: #F8FAFC;
  margin: 0;
}

.gifts-card .money-cta-title {
  color: #ffb17a;
}

.trip-card .money-cta-title {
  color: #93c5fd;
}

.money-cta-body {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #AAB6C5;
  margin: 0;
  flex: 1;
}

.money-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  margin-top: 6px;
}

.gifts-card .money-cta-btn {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.gifts-card .money-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.45);
}

.trip-card .money-cta-btn {
  background: #1A5FB4;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(26,95,180,0.3);
}

.trip-card .money-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26,95,180,0.45);
}

@media (max-width: 768px) {
  .money-cta-grid {
    grid-template-columns: 1fr;
  }
  .money-cta-title {
    font-size: 1.4rem;
  }
  .money-cta-inner {
    padding: 28px 22px;
  }
}
/* ============================================
   Internal CTAs — contextual link cards
   ============================================ */

.inline-cta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(26, 95, 180, 0.08);
  border: 1px solid rgba(91, 155, 213, 0.2);
  border-left: 4px solid #1A5FB4;
  border-radius: 14px;
  padding: 22px 24px;
  margin: 32px 0;
  text-decoration: none;
}

.inline-cta:hover {
  background: rgba(26, 95, 180, 0.14);
  border-color: rgba(91, 155, 213, 0.4);
}


.inline-cta.teal {
  background: rgba(20, 184, 166, 0.08);
  border-color: rgba(20, 184, 166, 0.22);
  border-left-color: #14b8a6;
}

.inline-cta.teal:hover {
  background: rgba(20, 184, 166, 0.14);
  border-color: rgba(20, 184, 166, 0.42);
}

.inline-cta.teal .inline-cta-label,
.inline-cta.teal .inline-cta-arrow {
  color: #14b8a6;
}

.inline-cta.amber {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.2);
  border-left-color: #f97316;
}

.inline-cta.amber:hover {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.4);
}

.inline-cta-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.inline-cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inline-cta-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B9BD5;
}

.inline-cta.amber .inline-cta-label {
  color: #f97316;
}

.inline-cta-title {
  font-family: 'Lilita One', cursive;
  font-size: 1.2rem;
  color: #F8FAFC;
  line-height: 1.2;
}

.inline-cta-desc {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.95rem;
  color: #AAB6C5;
  line-height: 1.55;
  margin-top: 4px;
}

.inline-cta-arrow {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #5B9BD5;
  margin-top: 8px;
}

.inline-cta.amber .inline-cta-arrow {
  color: #f97316;
}

/* Related posts grid */
.related-posts {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.related-posts-title {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7B8D;
  margin-bottom: 16px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.related-post-link {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  color: #CBD5E1;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.related-post-link:hover {
  background: rgba(26, 95, 180, 0.15);
  border-color: rgba(91, 155, 213, 0.35);
  color: #ffffff;
}

.related-post-link span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B7B8D;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================
   GetYourGuide Tour Cards
   Append to nav-style.css
   ============================================ */

.gyg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.gyg-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  text-decoration: none !important;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.gyg-card:hover {
  background: rgba(26, 95, 180, 0.12);
  border-color: rgba(91, 155, 213, 0.35);
  transform: translateY(-2px);
}

.gyg-card-featured {
  border-color: rgba(249, 115, 22, 0.3) !important;
  background: rgba(249, 115, 22, 0.06) !important;
}

.gyg-card-featured:hover {
  background: rgba(249, 115, 22, 0.12) !important;
  border-color: rgba(249, 115, 22, 0.5) !important;
}

.gyg-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.gyg-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gyg-card-location {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B9BD5;
}

.gyg-card-featured .gyg-card-location {
  color: #f97316;
}

.gyg-card-title {
  font-family: 'Lilita One', cursive;
  font-size: 1.05rem;
  color: #F8FAFC;
  line-height: 1.25;
  margin: 0;
}

.gyg-card-desc {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.92rem;
  color: #AAB6C5;
  line-height: 1.55;
  margin: 0;
}

.gyg-card-cta {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: #5B9BD5;
  margin-top: 4px;
}

.gyg-card-featured .gyg-card-cta {
  color: #f97316;
}

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

/* ============================================
   Words Hub — word card grid
   Append to nav-style.css
   ============================================ */

.words-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}

.word-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  text-decoration: none !important;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.word-card:hover {
  background: rgba(26, 95, 180, 0.15);
  border-color: rgba(91, 155, 213, 0.4);
  transform: translateY(-2px);
}

.word-card-word {
  font-family: 'Lilita One', cursive;
  font-size: 1.15rem;
  color: #F8FAFC;
  line-height: 1.2;
}

.word-card-meaning {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #AAB6C5;
  line-height: 1.4;
  flex: 1;
}

.word-card-region {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5B9BD5;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .words-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .words-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .word-card {
    padding: 14px 12px;
  }
  .word-card-word {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .words-hub-grid {
    grid-template-columns: 1fr;
  }
}


/* Merch Card Badges */
.merch-card {
  position: relative;
}

.merch-card-badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: #ffb17a;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Word page audio button */
.word-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 95, 180, 0.12);
  border: 1px solid rgba(91, 155, 213, 0.3);
  border-radius: 999px;
  padding: 8px 16px;
  color: #5B9BD5;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  margin-top: 16px;
}

.word-audio-btn:hover {
  background: rgba(26, 95, 180, 0.22);
  border-color: rgba(91, 155, 213, 0.5);
}

.word-audio-btn.playing {
  background: rgba(26, 95, 180, 0.25);
  border-color: #5B9BD5;
  color: #ffffff;
}

/* Slang guide table audio button */
.table-audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: rgba(26, 95, 180, 0.12);
  border: 1px solid rgba(91, 155, 213, 0.25);
  border-radius: 50%;
  color: #5B9BD5;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
  vertical-align: middle;
}

.table-audio-btn:hover {
  background: rgba(26, 95, 180, 0.25);
  border-color: #5B9BD5;
}
