/* ================================================================
   Collingwood.net - Main Stylesheet
   Town guide for Collingwood, Ontario
   Navy (#1e3a5f) + Amber (#d4913b) palette
   Playfair Display + Nunito
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  /* Primary palette */
  --navy: #1e3a5f;
  --navy-dark: #142a47;
  --navy-deeper: #0e1f35;
  --navy-light: #2a4f7a;
  --navy-pale: #e8eef5;
  --navy-faint: #f2f5f9;

  /* Accent palette */
  --amber: #d4913b;
  --amber-dark: #b87a2e;
  --amber-light: #e5a855;
  --amber-pale: #fdf3e5;
  --amber-faint: #fef9f1;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic */
  --text: #374151;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --text-dark: #1f2937;
  --bg: #f9fafb;
  --bg-alt: #ffffff;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(0, 0, 0, 0.08), 0 3px 7px -3px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 5px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-max: 1140px;
  --container-narrow: 780px;
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.35s ease;
}


/* ----------------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--amber);
}

::selection {
  background: var(--navy-pale);
  color: var(--navy-dark);
}


/* ----------------------------------------------------------------
   3. Typography
   ---------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

h6 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1.15rem;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

blockquote {
  border-left: 4px solid var(--amber);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--amber-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--gray-600);
  font-size: 1.05rem;
}

blockquote p:last-child {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

ul, ol {
  margin-bottom: 1.15rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

figure {
  margin: 1.5rem 0;
}

figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-style: italic;
  text-align: center;
}

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gray-600);
}

.small-text {
  font-size: 0.85rem;
}

.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.4rem;
}


/* ----------------------------------------------------------------
   4. Layout
   ---------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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


/* ----------------------------------------------------------------
   5. Header - Top Bar
   ---------------------------------------------------------------- */
.header-top {
  background: var(--navy-deeper);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ----------------------------------------------------------------
   6. Header - Main Navigation
   ---------------------------------------------------------------- */
.main-nav {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-slow);
}

.main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  display: flex;
  align-items: baseline;
  text-decoration: none;
  gap: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-dot {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
}

.site-logo:hover .logo-text {
  color: var(--white);
}

.site-logo:hover .logo-dot {
  color: var(--amber-light);
}

.nav-menu {
  display: flex;
  align-items: center;
}

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

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1010;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ----------------------------------------------------------------
   7. Breadcrumbs
   ---------------------------------------------------------------- */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--navy);
}

.breadcrumb-sep {
  margin: 0 0.45rem;
  color: var(--gray-300);
  font-size: 0.78rem;
}

.breadcrumb-current {
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   8. Hero Sections
   ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/img/hero.jpg') center center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(14, 31, 53, 0.5), transparent);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-centered .hero-content {
  margin: 0 auto;
  text-align: center;
}

.hero .overline {
  color: var(--amber-light);
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  line-height: 1.65;
  font-weight: 400;
  max-width: 560px;
}

.hero-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero-centered .hero-actions {
  justify-content: center;
}

/* Page hero (shorter, for subpages) */
.hero-page {
  padding: 3.5rem 0 3rem;
}

.hero-page .hero-title {
  font-size: 2.35rem;
}

.hero-page .hero-subtitle {
  font-size: 1.08rem;
}

/* Split hero with image */
.hero-split {
  padding: 0;
}

.hero-split .hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.hero-split .hero-content {
  padding: 4rem 3rem 4rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-split .hero-image {
  position: relative;
  overflow: hidden;
}

.hero-split .hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Amber accent hero variant */
.hero-warm {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2c3e5a 100%);
}

.hero-warm::before {
  opacity: 0.12;
}


/* ----------------------------------------------------------------
   9. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 145, 59, 0.35);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.02rem;
}

.btn-block {
  display: flex;
  width: 100%;
}


/* ----------------------------------------------------------------
   10. Sections
   ---------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

.section-lg {
  padding: 5.5rem 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-navy {
  background: var(--navy-dark);
  color: var(--white);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.8);
}

.section-navy .overline {
  color: var(--amber-light);
}

.section-bordered {
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.text-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--navy-dark);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Section divider with decorative line */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-divider h2 {
  margin-bottom: 0;
  white-space: nowrap;
}

.section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--amber), transparent);
}


/* ----------------------------------------------------------------
   11. Card Components
   ---------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.card-image-tall {
  height: 260px;
}

.card-image-short {
  height: 160px;
}

.card-body {
  padding: 1.35rem;
}

.card-category {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber-dark);
  background: var(--amber-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.card-title a {
  color: var(--navy-dark);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--amber);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  transition: color var(--transition), gap var(--transition);
}

.card-link:hover {
  color: var(--amber);
  gap: 0.5rem;
}

.card-link::after {
  content: '\2192';
}

/* Horizontal card variant */
.card-horizontal {
  display: grid;
  grid-template-columns: 240px 1fr;
}

.card-horizontal .card-image {
  height: 100%;
  min-height: 180px;
}

/* Compact card */
.card-compact .card-body {
  padding: 1rem;
}

.card-compact .card-title {
  font-size: 1rem;
}

.card-compact .card-image {
  height: 160px;
}

/* Featured card (larger) */
.card-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.card-featured .card-image {
  height: 100%;
  min-height: 300px;
}

.card-featured .card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-featured .card-title {
  font-size: 1.45rem;
}

.card-featured .card-excerpt {
  font-size: 0.95rem;
}

/* Icon card (no image, with icon) */
.card-icon {
  text-align: center;
  padding: 2rem 1.5rem;
}

.card-icon .card-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--navy-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
}

.card-icon .card-title {
  font-size: 1.05rem;
}


/* ----------------------------------------------------------------
   12. Feature Blocks
   ---------------------------------------------------------------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2.5rem 0;
}

.feature-block.reverse {
  direction: rtl;
}

.feature-block.reverse > * {
  direction: ltr;
}

.feature-block img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.feature-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-block p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Stats row in feature block */
.feature-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.feature-stat {
  text-align: center;
}

.feature-stat .stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

.feature-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}


/* ----------------------------------------------------------------
   13. Content / Article Layout
   ---------------------------------------------------------------- */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 3rem 0;
  align-items: start;
}

.content-body {
  min-width: 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.article-meta .meta-date {
  font-weight: 600;
}

.article-meta .meta-author {
  color: var(--navy);
  font-weight: 600;
}

.article-meta .meta-sep {
  color: var(--gray-300);
}

.content-body h2 {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 1.55rem;
}

.content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.content-body h3 {
  margin-top: 1.75rem;
  font-size: 1.25rem;
}

.content-body p {
  margin-bottom: 1.25rem;
}

.content-body img {
  border-radius: var(--radius);
  margin: 1.75rem 0;
  box-shadow: var(--shadow);
}

.content-body .caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -1.25rem;
  margin-bottom: 1.5rem;
  font-style: italic;
  text-align: center;
}

.content-body a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gray-300);
  text-underline-offset: 2px;
}

.content-body a:hover {
  text-decoration-color: var(--amber);
  color: var(--amber-dark);
}

.content-body ul,
.content-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.content-body li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.content-body blockquote {
  margin: 2rem 0;
}

/* Info box within content */
.info-box {
  background: var(--navy-faint);
  border: 1px solid var(--navy-pale);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.info-box h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.info-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-600);
}

/* Tip box */
.tip-box {
  background: var(--amber-faint);
  border: 1px solid var(--amber-pale);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.tip-box h4 {
  color: var(--amber-dark);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.tip-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-600);
}


/* ----------------------------------------------------------------
   14. Sidebar
   ---------------------------------------------------------------- */
.sidebar {
  position: sticky;
  top: 5rem;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy-dark);
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--amber);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-light);
  margin: 0;
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget li a {
  font-size: 0.88rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.sidebar-widget li a:hover {
  color: var(--amber);
}

/* CTA sidebar widget */
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  text-align: center;
  border: none;
}

.sidebar-cta h3 {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  font-family: var(--font-heading);
  text-transform: none;
  letter-spacing: 0;
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}


/* ----------------------------------------------------------------
   15. Image Gallery
   ---------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

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

.gallery-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Masonry-like gallery with a featured image */
.gallery-featured {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.gallery-featured .gallery-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}


/* ----------------------------------------------------------------
   16. CTA / Callout Boxes
   ---------------------------------------------------------------- */
.cta-box {
  background: var(--navy-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box h3 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.cta-box p {
  color: var(--gray-600);
  max-width: 480px;
  margin: 0 auto 1.25rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 2.5rem 0;
}

.cta-banner h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}


/* ----------------------------------------------------------------
   17. FAQ / Accordion
   ---------------------------------------------------------------- */
.faq-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.faq-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}


/* ----------------------------------------------------------------
   18. Related Content
   ---------------------------------------------------------------- */
.related-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border);
}

.related-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}


/* ----------------------------------------------------------------
   19. Events List
   ---------------------------------------------------------------- */
.event-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
  align-items: center;
}

.event-item:hover {
  box-shadow: var(--shadow);
}

.event-date-badge {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 0.6rem 0.5rem;
}

.event-date-badge .event-month {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.event-date-badge .event-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.event-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.event-info h3 a {
  color: var(--navy-dark);
}

.event-info h3 a:hover {
  color: var(--amber);
}

.event-info p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.event-info .event-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}


/* ----------------------------------------------------------------
   20. Season Tags / Badges
   ---------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
}

.badge-winter {
  background: #e8f0fe;
  color: #1a56db;
}

.badge-spring {
  background: #e6f6e6;
  color: #1b7a1b;
}

.badge-summer {
  background: #fef3cd;
  color: #856404;
}

.badge-fall {
  background: #fde8d8;
  color: #c34a10;
}

.badge-amber {
  background: var(--amber-pale);
  color: var(--amber-dark);
}

.badge-navy {
  background: var(--navy-pale);
  color: var(--navy);
}


/* ----------------------------------------------------------------
   21. Tables
   ---------------------------------------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.data-table th {
  background: var(--navy-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tbody tr:hover {
  background: var(--gray-50);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}


/* ----------------------------------------------------------------
   22. Lists (styled)
   ---------------------------------------------------------------- */
.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-plain li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.list-plain li:last-child {
  border-bottom: none;
}

.list-bordered {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-bordered li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-bordered li:last-child {
  border-bottom: none;
}

.list-check {
  list-style: none;
  padding: 0;
}

.list-check li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}

.list-check li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}


/* ----------------------------------------------------------------
   23. Tags / Category Labels
   ---------------------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--gray-100);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
  transition: background var(--transition), color var(--transition);
}

.tag:hover {
  background: var(--navy-pale);
  color: var(--navy);
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}


/* ----------------------------------------------------------------
   24. Pagination
   ---------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
}

.pagination a:hover {
  background: var(--navy-pale);
  color: var(--navy);
}

.pagination .current {
  background: var(--navy);
  color: var(--white);
}

.pagination .dots {
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   25. Author Box
   ---------------------------------------------------------------- */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-top: 2.5rem;
  border: 1px solid var(--border);
}

.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.author-box .author-role {
  font-size: 0.78rem;
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.4rem;
}

.author-box p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.55;
}


/* ----------------------------------------------------------------
   26. Newsletter / Signup Box
   ---------------------------------------------------------------- */
.newsletter-box {
  background: var(--amber-faint);
  border: 1px solid var(--amber-pale);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.newsletter-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.newsletter-box p {
  color: var(--gray-600);
  max-width: 420px;
  margin: 0 auto 1.25rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.newsletter-form .btn {
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   27. Map / Location Block
   ---------------------------------------------------------------- */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
}


/* ----------------------------------------------------------------
   28. Footer
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deeper);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4rem;
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-logo span {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  padding: 0.2rem 0;
  margin: 0;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}


/* ----------------------------------------------------------------
   29. Utility Classes
   ---------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 1rem; }
.pt-4 { padding-top: 2rem; }
.pb-0 { padding-bottom: 0; }
.pb-2 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ----------------------------------------------------------------
   30. Responsive - Tablet (max-width: 960px)
   ---------------------------------------------------------------- */
@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .card-featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .card-featured .card-image {
    min-height: 220px;
  }

  .card-horizontal {
    grid-template-columns: 1fr;
  }

  .card-horizontal .card-image {
    height: 200px;
    min-height: auto;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sidebar {
    position: static;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-block.reverse {
    direction: ltr;
  }

  .hero-split .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split .hero-content {
    padding: 3rem 0;
  }

  .hero-split .hero-image {
    height: 280px;
  }

  .hero-split .hero-image img {
    position: relative;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-about {
    grid-column: span 2;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .gallery-featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-featured .gallery-item:first-child {
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }
}


/* ----------------------------------------------------------------
   31. Responsive - Mobile Nav (max-width: 768px)
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0;
  }

  .nav-link {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }

  .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .main-nav {
    position: sticky;
  }

  .header-top {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-page .hero-title {
    font-size: 1.85rem;
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero-page {
    padding: 2.5rem 0 2rem;
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.15rem; }

  .section {
    padding: 2.5rem 0;
  }

  .section-lg {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .event-item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

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

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}


/* ----------------------------------------------------------------
   32. Responsive - Small Mobile (max-width: 480px)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 1rem;
  }

  .card-grid,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .card-featured {
    grid-column: span 1;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-page .hero-title {
    font-size: 1.55rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }

  .section {
    padding: 2rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-about {
    grid-column: span 1;
  }

  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 1.75rem 1.25rem;
  }

  .cta-banner {
    padding: 2rem 1.5rem;
  }

  .feature-stats {
    gap: 1rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .data-table {
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.6rem 0.7rem;
  }

  .event-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-date-badge {
    display: inline-flex;
    gap: 0.4rem;
    align-items: baseline;
    justify-content: center;
  }

  .event-date-badge .event-month {
    display: inline;
  }

  .event-date-badge .event-day {
    display: inline;
    font-size: 1.2rem;
  }
}


/* ----------------------------------------------------------------
   33. Print Styles
   ---------------------------------------------------------------- */
@media print {
  .site-header,
  .header-top,
  .main-nav,
  .breadcrumb-bar,
  .site-footer,
  .sidebar,
  .cta-box,
  .cta-banner,
  .newsletter-box,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: #000;
    font-size: 11pt;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    background: none !important;
    color: #000;
    padding: 1rem 0;
  }

  .hero-title,
  .hero h1 {
    color: #000;
    font-size: 1.5rem;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  img {
    max-width: 100%;
  }
}
