/* ===========================================
   SFGUIDE.CO - CONSOLIDATED STYLESHEET
   Version: 2.0
   Last Updated: January 21, 2026

   This file consolidates all CSS from:
   - Customizer Additional CSS (child theme)
   - Customizer Additional CSS (parent theme)
   - Previous sfguide-styles.css

   Following CSS-Standards.md guidelines
   =========================================== */

/* -----------------------------------------
   1. IMPORTS
   ----------------------------------------- */
/* Google Fonts removed in favor of System Fonts (SF) */

/* -----------------------------------------
   2. CSS VARIABLES (Single Source of Truth)
   ----------------------------------------- */
:root {
  /* Background Colors */
  --fog: #0a0a0a;
  --warm-white: #000000;

  /* Brand Colors */
  --terracotta: #C4654A;
  --terracotta-light: #E8D5CF;
  --navy: #1E2D3D;
  --navy-light: #3A4F63;
  --seafoam: #7BA3A8;
  --ochre: #D4A853;

  /* Text Colors */
  --text: #2C2C2C;
  --text-light: #6B6B6B;

  /* Utility Colors */
  --border: #E5E2DC;

  /* Typography - SF Font Stack */
  --font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: var(--font-sf);
  --font-heading: var(--font-sf);

  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
}

/* -----------------------------------------
   3. RESET & BASE STYLES
   ----------------------------------------- */
body {
  font-family: var(--font-body);
  background-color: var(--fog);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-weight: 600;
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
}

a {
  color: var(--navy);
  transition: color 0.2s ease;
}

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

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

/* -----------------------------------------
   4. LAYOUT & CONTAINERS
   ----------------------------------------- */

/* Override GeneratePress flex layout on homepage */
.home.page .site-content,
body.home .site-content,
.home .site-content {
  display: block;
}

.site-content {
  background: var(--fog);
}

body.home .sfguide-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) 0;
  background: var(--fog);
}

body.home {
  background: var(--fog);
  padding-top: 70px;
}

body.home .site-content {
  border: none;
  box-shadow: none;
}

body.home #page,
body.home .site {
  background: transparent;
}

/* -----------------------------------------
   5. HEADER & NAVIGATION
   ----------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.main-navigation a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Download App Button */
.download-app-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  border-radius: 100px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.download-app-btn:hover {
  background: #B35840;
  border-color: #B35840;
  color: white;
}

/* -----------------------------------------
   6. HOMEPAGE SECTIONS
   ----------------------------------------- */

/* --- Hero Section --- */
body.home .site-content>.hero {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: var(--space-16) var(--space-8) var(--space-12);
  background: linear-gradient(180deg, #FDFCFA 0%, #F7F6F3 100%);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.35rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-tag {
  padding: var(--space-2) var(--space-4);
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-tag:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* --- Section Headers --- */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--navy);
  padding-bottom: var(--space-3);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}

.section-header a {
  color: var(--terracotta);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
}

.section-header a:hover {
  color: var(--navy);
  text-decoration: underline;
}

/* --- Featured Grid --- */
.featured {
  margin-bottom: var(--space-16);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
}

.featured-side {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Side Cards - Grid with image on left */
.side-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  overflow: hidden;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  flex: 1;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.side-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.side-card-image {
  background-size: cover;
  background-position: center;
  min-height: 100%;
}

.side-card-content {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.side-card-content h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.side-card-content p {
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0;
}

.side-card-content .featured-label {
  background: var(--fog);
  color: var(--navy-light);
}

.featured-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--terracotta-light);
  color: var(--terracotta);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.side-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-1);
}

.side-card p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

/* Featured Main Card */
.featured-main {
  background: var(--warm-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.featured-main .featured-label {
  background: var(--terracotta-light);
  color: var(--terracotta);
}

.featured-main .featured-content {
  padding: var(--space-6);
  background: var(--warm-white);
}

.featured-main h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.featured-main>a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-main .featured-image {
  height: 280px;
  background: url('https://images.unsplash.com/photo-1501594907352-04cda38ebc29?w=800&h=500&fit=crop') center/cover;
  position: relative;
}

.featured-main .featured-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

/* This Week Card */
.this-week-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
}

.this-week-card .featured-label {
  background: var(--terracotta-light);
  color: var(--terracotta);
}

.this-week-card h3 {
  color: var(--navy);
  font-size: 1.5rem;
}

.this-week-card p {
  color: var(--text-light);
}

/* --- Neighborhood Cards --- */
.neighborhoods {
  margin-bottom: var(--space-16);
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

/* Neighborhood card with image overlay */
.neighborhood-card {
  background: var(--warm-white);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: block;
}

.neighborhood-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Image container with overlay */
.neighborhood-image {
  height: 140px;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Gradient overlay */
.neighborhood-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

/* Neighborhood name positioned at bottom of image */
.neighborhood-name {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Content area below image */
.neighborhood-content {
  padding: 1rem 1.25rem;
}

.neighborhood-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.neighborhood-content .neighborhood-meta {
  padding-top: 0;
  border-top: none;
  margin-top: 0;
  color: var(--seafoam);
}

/* Legacy support for cards without new structure */
.neighborhood-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.neighborhood-card>p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-3);
}

.neighborhood-meta {
  display: flex;
  gap: var(--space-4);
  font-size: 0.85rem;
  color: var(--terracotta);
  font-weight: 500;
}

.neighborhood-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* --- Tour Guide Callout --- */
.tour-guide-callout {
  background: var(--navy);
  border-radius: 16px;
  padding: var(--space-12);
  margin-bottom: var(--space-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.tour-guide-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: white;
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.tour-guide-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: var(--space-6);
}

.tour-guide-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--terracotta);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tour-guide-btn:hover {
  background: #B35840;
  color: white;
}

.tour-guide-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.tour-guide-link {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: var(--space-4);
  text-decoration: none;
  transition: background 0.2s ease;
}

.tour-guide-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tour-guide-link h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: white;
  margin-bottom: var(--space-1);
}

.tour-guide-link p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* --- Restaurant List --- */
.restaurants {
  margin-bottom: var(--space-16);
}

/* Restaurant cards - 2 column grid with images */
/* Restaurant cards - 2 column grid with images */
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Hide the rank numbers */
.restaurant-rank {
  display: none;
}

/* Restaurant card - horizontal with image on left */
.restaurant-item {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-rows: 1fr;
  padding: 0;
  transition: all 0.3s ease;
  text-decoration: none;
  min-height: 140px;
}

.restaurant-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.15);
}

/* Restaurant thumbnail image */
.restaurant-item .restaurant-thumb {
  width: 140px;
  height: 100%;
  object-fit: cover;
  grid-row: 1 / -1;
}

/* Placeholder for restaurants without images */
.restaurant-item:not(:has(.restaurant-thumb))::before {
  content: '';
  background: linear-gradient(135deg, var(--seafoam) 0%, var(--border) 100%);
  width: 140px;
  min-height: 140px;
  grid-row: 1 / -1;
}

/* Restaurant content area */
.restaurant-info {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2;
}

.restaurant-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.restaurant-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* Hide cuisine and neighborhood for cleaner look */
.restaurant-item .restaurant-cuisine,
.restaurant-item .restaurant-neighborhood {
  display: none;
}

/* --- Activities Grid --- */
.activities {
  margin-bottom: var(--space-16);
}

/* Activities - 3 column grid with badges */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.activity-card {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.15);
}

/* Activity image container */
.activity-card-image,
.activity-card .activity-image {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4f2 0%, #dde5e3 100%);
}

.activity-card-image img,
.activity-card .activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.activity-card:hover .activity-card-image img,
.activity-card:hover .activity-image img {
  transform: scale(1.05);
}

/* Activity badge */
.activity-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 1;
}

/* Activity content */
.activity-card-content,
.activity-card .activity-content,
.activity-card>div:last-child {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.activity-card h3,
.activity-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.5rem 0;
}

.activity-card p,
.activity-card-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0 0 0.75rem 0;
  line-height: 1.5;
  flex-grow: 1;
}

/* Activity meta */
.activity-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--seafoam);
  font-weight: 500;
}

/* --- Events Section --- */
.events {
  margin-bottom: var(--space-16);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.event-card {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: var(--space-6);
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.event-date {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.event-date-box {
  background: var(--terracotta);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: 8px;
  text-align: center;
  min-width: 50px;
}

.event-date-box .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  display: block;
}

.event-date-range {
  font-size: 1rem;
  color: var(--text-light);
}

.event-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.event-card p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

/* -----------------------------------------
   7. ARCHIVE PAGES
   ----------------------------------------- */

/* Archive page body */
body.archive,
body.post-type-archive {
  background: var(--fog);
  padding-top: 70px;
}

/* Full-width layout on archive containers */
body.archive .site,
body.archive #page,
body.archive .site-content,
body.archive #content,
body.archive .content-area,
body.post-type-archive .site,
body.post-type-archive #page,
body.post-type-archive .site-content,
body.post-type-archive #content,
body.post-type-archive .content-area {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  float: none;
}

body.archive .site-content,
body.post-type-archive .site-content {
  display: block;
}

/* Archive main container */
body.archive .site-main,
body.post-type-archive .site-main,
.site-main.sfguide-archive-layout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-8) var(--space-16);
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  box-sizing: border-box;
  float: none;
}

/* Archive content - 2 column card grid */
.sfguide-archive-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  align-content: start;
  min-width: 0;
}

/* Archive page header */
.sfguide-archive-content .page-header {
  grid-column: 1 / -1;
  text-align: left;
  margin-bottom: var(--space-2);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--navy);
}

.sfguide-archive-content .page-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}

.sfguide-archive-content .archive-description {
  margin-top: var(--space-2);
  color: var(--text-light);
  font-size: 1rem;
}

/* Archive card styling */
.sfguide-archive-content article {
  margin: 0;
}

.sfguide-archive-content article .inside-article {
  background: var(--warm-white);
  border-radius: 12px;
  padding: 0;
  height: 100%;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.sfguide-archive-content article .inside-article:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.15);
  border-color: var(--terracotta-light);
}

/* Card image */
.sfguide-archive-content article .sfguide-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--seafoam) 0%, var(--navy-light) 100%);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.sfguide-archive-content article .sfguide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sfguide-archive-content article .inside-article:hover .sfguide-card-image img {
  transform: scale(1.05);
}

/* Category badge */
.sfguide-archive-content article .sfguide-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 2;
}

/* Card content */
.sfguide-archive-content article .sfguide-card-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sfguide-archive-content article .post-image {
  display: none;
}

.sfguide-archive-content article .entry-header,
.sfguide-archive-content article .entry-summary {
  padding: 0;
}

.sfguide-archive-content article .entry-header {
  margin-bottom: var(--space-2);
}

/* Entry title */
.sfguide-archive-content .entry-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.sfguide-archive-content .entry-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sfguide-archive-content .entry-title a:hover {
  color: var(--terracotta);
}

/* Card meta */
.sfguide-archive-content article .sfguide-card-meta {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
  font-size: 0.8rem;
  color: var(--seafoam);
  font-weight: 500;
}

/* Entry summary */
.sfguide-archive-content .entry-summary {
  flex-grow: 1;
  margin-top: var(--space-3);
}

.sfguide-archive-content .entry-summary p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sfguide-archive-content .entry-summary a.more-link,
.sfguide-archive-content .read-more {
  display: none;
}

/* Pagination */
.sfguide-archive-content nav.navigation {
  grid-column: 1 / -1;
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
}

.sfguide-archive-content .nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.sfguide-archive-content .nav-links a,
.sfguide-archive-content .nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-3);
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sfguide-archive-content .nav-links a {
  background: var(--fog);
  color: var(--navy);
  border: 1px solid var(--border);
}

.sfguide-archive-content .nav-links a:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.sfguide-archive-content .nav-links .current {
  background: var(--terracotta);
  color: white;
  border: 1px solid var(--terracotta);
}

/* Archive sidebar */
.sfguide-archive-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-width: 0;
}

/* Sidebar blocks */
.sfguide-sidebar-block {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: var(--space-4);
}

.sfguide-sidebar-block h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.85rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

/* Tour guide tip */
.sfguide-tour-guide-tip {
  background: var(--navy);
  border-color: var(--navy);
}

.sfguide-tour-guide-tip h4 {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.sfguide-tour-guide-tip p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

.sfguide-tip-author {
  display: block;
  margin-top: 0.85rem;
  color: var(--terracotta);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
}

/* Quick stats */
.sfguide-quick-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sfguide-quick-stats li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
}

.sfguide-quick-stats li:last-child {
  border-bottom: none;
}

.sfguide-quick-stats li strong {
  color: var(--navy);
  font-weight: 600;
}

.sfguide-stats-updated {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

/* Explore more */
.sfguide-explore-more ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sfguide-explore-more li {
  margin-bottom: var(--space-2);
}

.sfguide-explore-more li:last-child {
  margin-bottom: 0;
}

.sfguide-explore-more a {
  display: block;
  padding: var(--space-2) var(--space-3);
  background: var(--fog);
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.sfguide-explore-more a:hover {
  background: var(--terracotta-light);
  color: var(--terracotta);
}

/* Filters */
.sfguide-filters {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-4);
}

.sfguide-filters h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-4) 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.sfguide-filter-group {
  margin-bottom: var(--space-4);
}

.sfguide-filter-group:last-child {
  margin-bottom: 0;
}

.sfguide-filter-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: var(--space-2);
}

.sfguide-filter-group select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--fog);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sfguide-filter-group select:hover {
  border-color: var(--seafoam);
}

.sfguide-filter-group select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px var(--terracotta-light);
}

.sfguide-filter-reset {
  display: block;
  width: 100%;
  padding: 0.6rem;
  margin-top: var(--space-4);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sfguide-filter-reset:hover {
  background: var(--fog);
  color: var(--navy);
  border-color: var(--navy);
}

.sfguide-filter-count {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.sfguide-filter-count strong {
  color: var(--terracotta);
}

/* Hidden class for filtering */
article.sfguide-hidden {
  display: none;
}

/* No results message */
.sfguide-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-12) var(--space-8);
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px dashed var(--border);
}

.sfguide-no-results h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: var(--space-2);
}

.sfguide-no-results p {
  color: var(--text-light);
  margin: 0;
}

/* -----------------------------------------
   8. SINGLE ENTITY PAGES
   ----------------------------------------- */

/* Single page body */
body.single-neighborhood,
body.single-restaurant,
body.single-bar,
body.single-activity,
body.single-event,
body.single-history {
  background: var(--fog);
  padding-top: 70px;
}

/* Entity container */
.sfguide-entity {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-8);
}

/* Entity header */
.sfguide-entity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.sfguide-entity-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--space-3) 0;
  line-height: 1.2;
}

.sfguide-entity-meta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--text-light);
}

.sfguide-entity-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sfguide-entity-meta a {
  color: var(--terracotta);
  text-decoration: none;
}

.sfguide-entity-meta a:hover {
  text-decoration: underline;
}

/* Verdict box */
.sfguide-verdict {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: var(--space-4) var(--space-6);
  min-width: 280px;
  max-width: 320px;
  flex-shrink: 0;
}

.sfguide-verdict h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-2) 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sfguide-verdict p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
}

/* Featured image */
.sfguide-featured-image {
  margin-bottom: var(--space-8);
  border-radius: 12px;
  overflow: hidden;
}

.sfguide-featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Entity body */
.sfguide-entity-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-12);
}

.sfguide-entity-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: var(--space-8) 0 var(--space-4) 0;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy);
}

.sfguide-entity-content h2:first-child {
  margin-top: 0;
}

.sfguide-entity-content p {
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

/* Entity sidebar */
.sfguide-entity-sidebar {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-6);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.sfguide-entity-sidebar h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-4) 0;
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--navy);
}

.sfguide-detail {
  margin-bottom: var(--space-4);
}

.sfguide-detail:last-child {
  margin-bottom: 0;
}

.sfguide-detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: var(--space-1);
}

.sfguide-detail-value {
  font-size: 0.95rem;
  color: var(--text);
}

.sfguide-detail-value a {
  color: var(--terracotta);
  text-decoration: none;
}

.sfguide-detail-value a:hover {
  text-decoration: underline;
}

/* Neighborhood stats */
.sfguide-neighborhood-stats {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.sfguide-stat {
  background: var(--terracotta-light);
  color: var(--terracotta);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Related venues section */
.sfguide-related-venues {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}

.sfguide-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--navy);
}

.sfguide-section-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}

.sfguide-section-header a {
  color: var(--terracotta);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.sfguide-section-header a:hover {
  text-decoration: underline;
}

/* Venue grid */
.sfguide-venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.sfguide-venue-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.sfguide-venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.12);
}

.sfguide-venue-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--seafoam) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}

.sfguide-venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sfguide-venue-card:hover .sfguide-venue-card-image img {
  transform: scale(1.05);
}

.sfguide-venue-card-content {
  padding: var(--space-4);
}

.sfguide-venue-card-label {
  display: inline-block !important;
  width: fit-content !important;
  align-self: flex-start !important;
  padding: var(--space-1) var(--space-3);
  background: var(--terracotta-light);
  color: var(--terracotta);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.sfguide-venue-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-2) 0;
}

.sfguide-venue-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sfguide-venue-card-meta {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
  font-size: 0.8rem;
  color: var(--seafoam);
  font-weight: 500;
}

/* -----------------------------------------
   9. FOOTER
   ----------------------------------------- */

/* Hide default footer on homepage */
body.home .site-footer {
  display: none;
}

.sfguide-footer {
  background: var(--navy);
  padding: var(--space-16) var(--space-8) var(--space-8);
  margin-top: var(--space-16);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  box-sizing: border-box;
}

.sfguide-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* .sfguide-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
} */

/* .sfguide-footer .footer-brand {
  grid-column: 1;
  grid-row: 1;
}

.sfguide-footer .footer-column:nth-of-type(2) {
  grid-column: 2;
  grid-row: 1;
}

.sfguide-footer .footer-column:nth-of-type(3) {
  grid-column: 3;
  grid-row: 1;
}

.sfguide-footer .footer-column:nth-of-type(4) {
  grid-column: 4;
  grid-row: 1;
} */

.sfguide-footer .footer-brand .footer-logo,
.sfguide-footer-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: var(--space-4);
}

.sfguide-footer .footer-brand .footer-logo span,
.sfguide-footer-logo span:first-child {
  color: var(--terracotta);
}

.sfguide-footer .footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sfguide-footer .footer-column h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

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

.sfguide-footer .footer-column li {
  margin-bottom: var(--space-2);
}

.sfguide-footer .footer-column a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.sfguide-footer .footer-column a:hover {
  color: white;
}

.sfguide-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sfguide-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin: 0;
}

/* Default site footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: white;
}

/* -----------------------------------------
   10. COMPONENTS & UTILITIES
   ----------------------------------------- */

/* Buttons */
.button,
button,
input[type="submit"] {
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: #B35840;
  transform: translateY(-1px);
}

/* Cards base */
.sfguide-card {
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: var(--space-6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sfguide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Labels/Tags */
.sfguide-label {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: var(--terracotta-light);
  color: var(--terracotta);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Meta info */
.sfguide-meta {
  color: var(--text-light);
  font-size: 0.9rem;
}

.sfguide-neighborhood {
  color: var(--seafoam);
  font-weight: 500;
}

/* Screen reader only (accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* -----------------------------------------
   11. RESPONSIVE BREAKPOINTS
   ----------------------------------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

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

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

  .restaurant-list {
    grid-template-columns: 1fr;
  }

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

  .tour-guide-callout {
    grid-template-columns: 1fr;
  }
}

/* Archive tablet */
@media (max-width: 992px) {

  body.archive .site-main,
  body.post-type-archive .site-main,
  .site-main.sfguide-archive-layout {
    grid-template-columns: 1fr;
    padding: var(--space-8) var(--space-6);
  }

  .sfguide-archive-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .sfguide-filters {
    grid-column: 1 / -1;
  }
}

/* Single entity tablet */
@media (max-width: 900px) {
  .sfguide-entity-header {
    flex-direction: column;
  }

  .sfguide-verdict {
    min-width: 100%;
    max-width: 100%;
  }

  .sfguide-entity-body {
    grid-template-columns: 1fr;
  }

  .sfguide-entity-sidebar {
    position: static;
  }
}

/* Small tablet (max-width: 768px) */
@media (max-width: 768px) {
  .sfguide-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

/*   .sfguide-footer .footer-brand {
    grid-column: 1 / -1;
  } */
}

/* Mobile (max-width: 640px) */
@media (max-width: 640px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .neighborhood-meta {
    flex-direction: column;
    gap: var(--space-2);
  }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .neighborhood-grid,
  .activities-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .restaurant-item {
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
  }

  .tour-guide-links {
    grid-template-columns: 1fr;
  }

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

  .sfguide-archive-sidebar {
    grid-template-columns: 1fr;
  }

  .sfguide-archive-content .page-title {
    font-size: 1.75rem;
  }

  .sfguide-entity-title {
    font-size: 2rem;
  }

  .sfguide-venue-grid {
    grid-template-columns: 1fr;
  }

  .sfguide-neighborhood-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* -------------------------------------------
   SLIDER CARDS (More Restaurants / Explore Nearby)
   ------------------------------------------- */

.sfguide-slider-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.sfguide-slider-cards {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.sfguide-slider-card {
  flex: 0 0 280px;
  background: var(--navy, #1E2D3D) !important;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.sfguide-slider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.sfguide-slider-card-image {
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.sfguide-slider-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sfguide-slider-card-content {
  padding: 0.75rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--navy, #1E2D3D);
}

.sfguide-slider-card-label {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--terracotta, #C4654A) !important;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sfguide-slider-card-content h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #FDFCFA !important;
  line-height: 1.3;
}

.sfguide-nearby-places h3,
.sfguide-explore-nearby h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.sfguide-more-neighborhood,
.sfguide-nearby-places {
  margin-top: 2rem;
}


/* -----------------------------------------
   THINGS TO DO ARCHIVE - Category Sections
   ----------------------------------------- */
.sfguide-categorized-activities {
    width: 100%;
}

.sfguide-category-section {
    margin-bottom: 2.5rem;
}

.sfguide-category-section:first-child {
    margin-top: 0;
}

.sfguide-category-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-white, #FDFCFA) !important;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--terracotta, #C4654A);
}

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

.sfguide-category-grid article {
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .sfguide-category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* -----------------------------------------
   12. LOAD MORE BUTTON
   ----------------------------------------- */

/* Hide cards beyond initial batch */
article.sfguide-load-hidden {
  display: none !important;
}

/* Hide default pagination when load-more is active */
.sfguide-has-load-more nav.navigation.pagination {
  display: none;
}

/* Load More wrapper */
.sfguide-load-more-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
}

/* Load More button */
.sfguide-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.85rem 2rem;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.sfguide-load-more-btn:hover {
  background: #B35840;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(196, 101, 74, 0.3);
}

.sfguide-load-more-btn:active {
  transform: translateY(0);
}

/* Count text below button */
.sfguide-load-more-count {
  font-size: 0.85rem;
  color: var(--text-light);
}

.sfguide-load-more-count strong {
  color: var(--terracotta);
  font-weight: 600;
}

/* -----------------------------------------
   13. THINGS TO DO - SWIPEABLE CATEGORY ROWS
   ----------------------------------------- */

/* Full-width override for activity archive */
body.post-type-archive-activity .site-main,
body.post-type-archive-activity .site-main.sfguide-archive-layout {
  grid-template-columns: 1fr;
  max-width: 1200px;
}

/* Hide sidebar on activity archive */
body.post-type-archive-activity .sfguide-archive-sidebar {
  display: none;
}

/* Override content grid to block layout for rows */
body.post-type-archive-activity .sfguide-archive-content {
  display: block;
}

/* Sticky category pill navigation */
.sfguide-category-nav {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
  margin-bottom: var(--space-8);
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sfguide-category-nav::-webkit-scrollbar {
  display: none;
}

.sfguide-category-pill {
  flex-shrink: 0;
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--fog);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sfguide-category-pill:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.sfguide-category-pill.active {
  background: var(--terracotta);
  color: white;
  border-color: var(--terracotta);
}

/* Category row section */
.sfguide-category-row {
  margin-bottom: var(--space-12);
}

/* Row header */
.sfguide-category-row-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--navy);
}

.sfguide-category-row-header h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0;
}

.sfguide-category-row-header .sfguide-row-count {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
}

/* Scroll wrapper with fade edge */
.sfguide-row-scroll-wrapper {
  position: relative;
}

.sfguide-row-scroll-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to right, transparent, var(--fog));
  pointer-events: none;
  z-index: 2;
}

/* Horizontal scroll container */
.sfguide-row-scroll {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sfguide-row-scroll::-webkit-scrollbar {
  height: 4px;
}

.sfguide-row-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sfguide-row-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.sfguide-row-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--seafoam);
}

/* Row card */
.sfguide-row-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--warm-white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.sfguide-row-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 45, 61, 0.15);
  border-color: var(--terracotta-light);
}

.sfguide-row-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--seafoam) 0%, var(--navy-light) 100%);
  overflow: hidden;
  position: relative;
}

.sfguide-row-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sfguide-row-card:hover .sfguide-row-card-image img {
  transform: scale(1.05);
}

.sfguide-row-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}

.sfguide-row-card-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sfguide-row-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-2) 0;
  line-height: 1.3;
}

.sfguide-row-card-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sfguide-row-card-meta {
  display: flex;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: 0.8rem;
  color: var(--seafoam);
  font-weight: 500;
}

/* -----------------------------------------
   14. RESPONSIVE - LOAD MORE & ROWS
   ----------------------------------------- */

@media (max-width: 1024px) {
  .sfguide-row-card {
    flex: 0 0 260px;
  }
}

@media (max-width: 768px) {
  .sfguide-category-nav {
    padding: var(--space-2) var(--space-4);
    margin-left: calc(-1 * var(--space-6));
    margin-right: calc(-1 * var(--space-6));
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }

  .sfguide-row-card {
    flex: 0 0 240px;
  }

  .sfguide-row-card-image {
    height: 140px;
  }
}

@media (max-width: 640px) {
  .sfguide-row-card {
    flex: 0 0 85vw;
  }

  .sfguide-row-card-image {
    height: 180px;
  }

  .sfguide-category-row-header h2 {
    font-size: 1.2rem;
  }

  .sfguide-load-more-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   END OF CONSOLIDATED STYLESHEET
   =========================================== */
