/* ===== وين نروح بالرياض؟ — Premium Riyadh UI v3 ===== */
/* Theme: أصالة وحداثة — Heritage meets Future */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --primary: #0a1628;
  --primary-light: #162040;
  --gold: #c9a84c;
  --gold-light: #dbb960;
  --gold-dark: #b08d3a;
  --sand: #f4ede4;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #888888;
  --teal: #0891b2;
  --border: #e8e0d4;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(10,22,40,0.08);
  --shadow-hover: 0 12px 40px rgba(10,22,40,0.15);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* ===== Dark Mode ===== */
[data-theme="dark"] {
  --primary: #0a1628;
  --primary-light: #162040;
  --sand: #0d1117;
  --white: #161b22;
  --card-bg: #1c2333;
  --text: #e6edf3;
  --text-light: #8b949e;
  --text-muted: #6e7681;
  --border: #30363d;
  --shadow: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.15);
}

/* Dark mode smooth transition */
[data-theme] body,
[data-theme] .header,
[data-theme] .category-card,
[data-theme] .place-card,
[data-theme] .widget,
[data-theme] .sort-filter-bar,
[data-theme] .footer,
[data-theme] .info-box,
[data-theme] .rating-analysis,
[data-theme] .seo-article .article-content,
[data-theme] .review-card,
[data-theme] .rating-distribution {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Dark mode specific overrides */
[data-theme="dark"] body {
  background: var(--sand);
  color: var(--text);
}

[data-theme="dark"] .category-card h3,
[data-theme="dark"] .place-card-body h3,
[data-theme="dark"] .section-title h2,
[data-theme="dark"] .categories > h2,
[data-theme="dark"] .widget h3,
[data-theme="dark"] .info-box h3,
[data-theme="dark"] .rating-analysis h2,
[data-theme="dark"] .seo-article h2,
[data-theme="dark"] .seo-article h3 {
  color: #e6edf3;
}

[data-theme="dark"] .place-card-body .category-badge {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

[data-theme="dark"] .card-rating-block {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.12);
}

[data-theme="dark"] .card-rating-big .big-number {
  color: var(--gold);
}

[data-theme="dark"] .card-rating-meta .review-count .count-num {
  color: var(--gold);
}

[data-theme="dark"] .review-quote-line {
  background: rgba(201,168,76,0.04);
  color: var(--text-light);
}

[data-theme="dark"] .sort-select,
[data-theme="dark"] .filter-select {
  background-color: var(--card-bg);
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .audience-chip,
[data-theme="dark"] .toggle-chip {
  background: var(--card-bg);
  color: var(--text);
  border-color: var(--border);
}

[data-theme="dark"] .share-btn {
  background: var(--card-bg);
  color: var(--text-light);
  border-color: var(--border);
}

[data-theme="dark"] .fav-btn {
  background: rgba(28,35,51,0.9);
}

[data-theme="dark"] .search-box input {
  background: rgba(255,255,255,0.06);
  color: #e6edf3;
}

[data-theme="dark"] .no-results {
  color: var(--text-muted);
}

[data-theme="dark"] .no-results h3 {
  color: var(--text);
}

[data-theme="dark"] .breadcrumb {
  color: var(--text-muted);
}

[data-theme="dark"] .breadcrumb a {
  color: var(--gold);
}

[data-theme="dark"] .pros-section {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.15);
}

[data-theme="dark"] .cons-section {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.15);
}

[data-theme="dark"] .visit-info-card {
  background: rgba(255,255,255,0.03);
  border-color: var(--border);
}

[data-theme="dark"] .visit-info-card .info-value {
  color: var(--gold);
}

[data-theme="dark"] .dist-bar-bg {
  background: #30363d;
}

[data-theme="dark"] .review-source-badge {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

[data-theme="dark"] .review-avatar {
  opacity: 0.9;
}

[data-theme="dark"] .seo-article .highlight-box {
  background: rgba(201,168,76,0.06);
}

[data-theme="dark"] .seo-article p,
[data-theme="dark"] .seo-article li {
  color: var(--text);
}

[data-theme="dark"] .fd-card {
  background: var(--card-bg);
  border-color: #2d5a3f;
}

[data-theme="dark"] .fd-card h3 {
  color: #7bc67e;
}

[data-theme="dark"] .season-zone {
  background: var(--card-bg);
}

[data-theme="dark"] .season-zone h3 {
  color: #c084fc;
}

[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .submenu {
  background: #1c2333;
  border-color: rgba(201,168,76,0.15);
}

[data-theme="dark"] .review-dot {
  background: var(--border);
}

/* Dark mode toggle button */
.dark-mode-toggle {
  background: none;
  border: 2px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
  transform: scale(1.05);
}

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

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

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== Header ===== */
.header {
  background: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
}

.logo span {
  font-size: 26px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav a:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.nav a.active {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(201,168,76,0.3);
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
}

.menu-toggle:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold);
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a2d50 100%);
  color: white;
  padding: 70px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Geometric pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    );
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
  line-height: 1.3;
}

.hero h2 span {
  color: var(--gold);
}

.hero > p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  line-height: 1.8;
}

.search-box {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid rgba(201,168,76,0.25);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: 'Tajawal', sans-serif;
  background: rgba(255,255,255,0.08);
  color: white;
  outline: none;
  transition: var(--transition);
  direction: rtl;
  backdrop-filter: blur(8px);
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.45);
}

.search-box input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}

.search-box .search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gold);
  pointer-events: none;
}

/* ===== Categories Section ===== */
.categories {
  max-width: var(--max-width);
  margin: -30px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.categories > h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--primary);
  padding-top: 50px;
  position: relative;
}

.categories > h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
  border-radius: 2px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.category-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border-top: 3px solid var(--gold);
  position: relative;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold-light);
}

.category-card .icon {
  font-size: 44px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.category-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.category-card p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}

.category-card .count {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  margin-top: 12px;
}

/* ===== Main Layout with Sidebar ===== */
.main-layout {
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

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

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== Section Title ===== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-title h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  position: relative;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title .subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text);
  min-height: 44px;
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--primary);
}

.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

/* ===== Place Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.place-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 3px solid var(--gold);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  content-visibility: auto;
  contain-intrinsic-size: 0 420px;
}

.place-card:nth-child(1) { animation-delay: 0.05s; }
.place-card:nth-child(2) { animation-delay: 0.1s; }
.place-card:nth-child(3) { animation-delay: 0.15s; }
.place-card:nth-child(4) { animation-delay: 0.2s; }
.place-card:nth-child(5) { animation-delay: 0.25s; }
.place-card:nth-child(6) { animation-delay: 0.3s; }

.place-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.place-card-image {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.place-card-image .card-category-icon {
  font-size: 56px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  z-index: 1;
}

.place-card:hover .card-category-icon {
  transform: scale(1.15);
}

.place-card-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.place-card-image .trending-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.place-card-image .new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #e74c3c;
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
}

.place-card-body {
  padding: 16px;
}

.place-card-body .category-badge {
  display: inline-block;
  background: rgba(10,22,40,0.06);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.place-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.place-card-body .neighborhood {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.place-card-body .neighborhood::before {
  content: "📍 ";
}

.place-card-body .rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  direction: ltr;
}

.rating .stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
}

.rating .score {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 600;
}

.place-card-body .description {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.place-card-body .price-range {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  line-height: 1.5;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201,168,76,0.3);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid var(--primary);
  cursor: pointer;
  min-height: 44px;
  line-height: 1.5;
}

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

.card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ===== Enhanced Rating on Cards ===== */
.card-rating-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201,168,76,0.15);
}

.card-rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
}

.card-rating-big .big-number {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.card-rating-big .stars-small {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 1px;
  margin-top: 2px;
}

.card-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-rating-meta .review-count {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 600;
}

.card-rating-meta .review-count .count-num {
  color: var(--primary);
  font-weight: 800;
}

.card-rating-meta .google-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: var(--text-muted);
}

.review-quote-line {
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-right: 3px solid var(--gold);
  background: rgba(201,168,76,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-quote-line::before {
  content: '"';
  font-weight: 900;
  color: var(--gold);
}

.review-quote-line::after {
  content: '"';
  font-weight: 900;
  color: var(--gold);
}

/* ===== Sidebar Widgets ===== */
.widget {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.widget h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.trending-list {
  list-style: none;
}

.trending-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

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

.trending-list li .rank {
  background: var(--gold);
  color: var(--primary);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ===== Sort Bar ===== */
.sort-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.sort-filter-bar .results-count {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.sort-filter-bar .results-count strong {
  color: var(--primary);
}

.sort-filter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sort-select, .filter-select {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Tajawal', sans-serif;
  font-size: 13px;
  font-weight: 500;
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  direction: rtl;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  padding-left: 28px;
  min-height: 44px;
}

.sort-select:focus, .filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}

/* ===== Page Header (Category pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 45px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.03) 40px,
      rgba(201,168,76,0.03) 41px
    );
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 8px;
  position: relative;
}

.page-header h2 span {
  color: var(--gold);
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  position: relative;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  max-width: var(--max-width);
  margin: 14px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--gold-dark);
  transition: var(--transition);
}

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

.breadcrumb span {
  margin: 0 8px;
}

/* ===== Place Detail ===== */
.place-detail {
  max-width: var(--max-width);
  margin: 24px auto;
  padding: 0 20px;
}

.place-detail-hero {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 72px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.place-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.place-detail-info h1 {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

.place-detail-info .meta {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.place-detail-info .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: var(--text-light);
}

.place-detail-info .full-description {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}

.place-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  background: var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
}

.info-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.info-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.info-box .info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

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

/* ===== Rating Analysis ===== */
.rating-analysis {
  margin: 24px 0;
  padding: 28px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.rating-analysis h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-overview {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.rating-big-display {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius);
  color: white;
}

.rating-big-display .big-score {
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.rating-big-display .big-stars {
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 4px;
  margin: 6px 0;
}

.rating-big-display .total-reviews {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.rating-big-display .google-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.rating-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rating-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rating-detail-item .detail-icon {
  font-size: 18px;
  min-width: 28px;
  text-align: center;
}

.rating-detail-item .detail-content {
  flex: 1;
}

.rating-detail-item .detail-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.rating-detail-item .detail-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* Pros & Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pros-section, .cons-section {
  padding: 18px;
  border-radius: var(--radius);
}

.pros-section {
  background: rgba(46, 204, 113, 0.05);
  border: 1px solid rgba(46, 204, 113, 0.18);
}

.cons-section {
  background: rgba(231, 76, 60, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.18);
}

.pros-section h3, .cons-section h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pros-section h3 { color: #27ae60; }
.cons-section h3 { color: #e74c3c; }

.pros-section ul, .cons-section ul {
  list-style: none;
  padding: 0;
}

.pros-section ul li, .cons-section ul li {
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.pros-section ul li::before {
  content: "✅";
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.cons-section ul li::before {
  content: "⚠️";
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Visit Info */
.visit-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.visit-info-card {
  padding: 14px;
  background: rgba(10,22,40,0.02);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.visit-info-card .info-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.visit-info-card .info-value {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

/* ===== Updated Badge ===== */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.1);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid rgba(201,168,76,0.2);
}

.updated-badge .dot {
  width: 8px;
  height: 8px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== Top Rated ===== */
.top-rated-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.top-rated-rank {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(201,168,76,0.3);
}

.top-rated-rank.gold { background: linear-gradient(135deg, #FFD700, #FFA500); }
.top-rated-rank.silver { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.top-rated-rank.bronze { background: linear-gradient(135deg, #CD7F32, #A0522D); color: white; }

/* ===== No Results ===== */
.no-results {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.no-results .emoji {
  font-size: 52px;
  margin-bottom: 12px;
}

.no-results h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}

/* ===== Ad Slots (hidden/minimal) ===== */
.ad-slot {
  display: none;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: white;
  padding: 40px 20px 0;
  margin-top: 50px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  padding-bottom: 28px;
}

.footer h3 {
  color: var(--gold);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.8;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  transition: var(--transition);
  display: inline-block;
  padding: 2px 0;
}

.footer ul li a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

.footer-heart {
  text-align: center;
  padding: 12px 0 16px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.footer-heart span {
  color: #e74c3c;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(201,168,76,0.35);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .sidebar {
    display: none;
  }

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

  .rating-overview {
    grid-template-columns: 1fr;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  .header-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .logo h1 {
    font-size: 18px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 8px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    text-align: right;
    border-radius: var(--radius-sm);
    font-size: 15px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding: 45px 16px 40px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero > p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .search-box {
    max-width: 100%;
  }

  .search-box input {
    font-size: 15px;
    padding: 14px 44px 14px 16px;
  }

  .categories {
    margin-top: -20px;
  }

  .categories > h2 {
    font-size: 22px;
    padding-top: 36px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .category-card {
    padding: 20px 14px;
  }

  .category-card .icon {
    font-size: 36px;
    margin-bottom: 8px;
  }

  .category-card h3 {
    font-size: 15px;
  }

  .category-card p {
    font-size: 12px;
    display: none;
  }

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

  .section-title h2 {
    font-size: 20px;
  }

  .page-header {
    padding: 32px 16px 28px;
  }

  .page-header h2 {
    font-size: 24px;
  }

  .page-header p {
    font-size: 14px;
  }

  .place-detail-hero {
    height: 220px;
    font-size: 48px;
  }

  .place-detail-info h1 {
    font-size: 22px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .sort-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px;
  }

  .sort-filter-controls {
    justify-content: center;
  }

  .card-rating-block {
    padding: 6px 8px;
    gap: 8px;
  }

  .card-rating-big .big-number {
    font-size: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .main-layout {
    padding: 0 16px;
    margin: 20px auto;
  }

  .scroll-top {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 24px;
  }
}

/* ===== Tablet tweaks ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Dropdown Menu ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.7;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  min-width: 200px;
  padding: 8px 0;
  z-index: 1001;
  border: 1px solid rgba(201,168,76,0.15);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > a::after {
  content: '◂';
  float: left;
  font-size: 10px;
  opacity: 0.7;
}

.submenu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  min-width: 180px;
  padding: 8px 0;
  border: 1px solid rgba(201,168,76,0.15);
}

.dropdown-submenu:hover .submenu {
  display: block;
}

/* ===== Foundation Day Theme ===== */
.page-header-foundation {
  background: linear-gradient(135deg, #1a472a 0%, #2d5a3f 50%, #3d2b1f 100%);
  color: white;
  padding: 50px 20px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-foundation::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(139,115,85,0.05) 40px, rgba(139,115,85,0.05) 41px),
    repeating-linear-gradient(-60deg, transparent, transparent 40px, rgba(139,115,85,0.05) 40px, rgba(139,115,85,0.05) 41px);
  pointer-events: none;
}

.page-header-foundation::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #8b7355, #2d5a3f, #8b7355, transparent);
}

.page-header-foundation h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
  position: relative;
}

.page-header-foundation h2 .highlight-green {
  color: #7bc67e;
}

.page-header-foundation h2 .highlight-brown {
  color: #d4a574;
}

.page-header-foundation p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  position: relative;
}

.foundation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,115,85,0.2);
  border: 1px solid rgba(139,115,85,0.4);
  color: #d4a574;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  position: relative;
}

/* Foundation day section cards */
.fd-section {
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0 20px;
}

.fd-section h2 {
  font-size: 24px;
  font-weight: 800;
  color: #1a472a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fd-section h2::after {
  content: '';
  display: block;
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #8b7355, transparent);
}

.fd-section .section-desc {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 18px;
}

.fd-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  border-right: 4px solid #1a472a;
  margin-bottom: 16px;
  transition: var(--transition);
}

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

.fd-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a472a;
  margin-bottom: 6px;
}

.fd-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
}

.fd-card .fd-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.fd-card .fd-meta span {
  font-size: 13px;
  color: #8b7355;
  font-weight: 600;
}

/* ===== Season Theme ===== */
.page-header-season {
  background: linear-gradient(135deg, #1a0533 0%, #2d1054 50%, #4a1a7a 100%);
  color: white;
  padding: 50px 20px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-season::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168,85,247,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236,72,153,0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-header-season::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ec4899, #a855f7, #3b82f6, #a855f7, #ec4899);
}

.page-header-season h2 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 10px;
  position: relative;
}

.page-header-season h2 .highlight-purple {
  color: #c084fc;
}

.page-header-season p {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  position: relative;
}

.season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168,85,247,0.2);
  border: 1px solid rgba(168,85,247,0.4);
  color: #c084fc;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  position: relative;
}

.season-zone {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid #a855f7;
  margin-bottom: 20px;
  transition: var(--transition);
}

.season-zone:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(168,85,247,0.15);
}

.season-zone h3 {
  font-size: 20px;
  font-weight: 800;
  color: #2d1054;
  margin-bottom: 8px;
}

.season-zone p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.season-zone .zone-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.season-zone .zone-meta span {
  font-size: 13px;
  color: #7c3aed;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.season-ticket {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
}

/* ===== Neighborhood Pages ===== */
.neighborhood-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1a3050 100%);
  color: white;
  padding: 50px 20px 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.neighborhood-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(201,168,76,0.03) 40px, rgba(201,168,76,0.03) 41px);
  pointer-events: none;
}

.neighborhood-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.neighborhood-header h2 {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 10px;
  position: relative;
}

.neighborhood-header h2 span {
  color: var(--gold);
}

.neighborhood-header p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.neighborhood-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  position: relative;
}

.neighborhood-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.neighborhood-stats .stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
}

.neighborhood-stats .stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.neighborhood-map {
  max-width: var(--max-width);
  margin: 20px auto;
  padding: 0 20px;
}

.neighborhood-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== SEO Article Sections ===== */
.seo-article {
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0 20px;
}

.seo-article .article-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  line-height: 1.9;
}

.seo-article h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 28px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  margin-top: 22px;
}

.seo-article p {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 14px;
  line-height: 1.9;
}

.seo-article ul, .seo-article ol {
  margin-bottom: 14px;
  padding-right: 24px;
}

.seo-article li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.seo-article .highlight-box {
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.02));
  border-right: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 18px 0;
}

.seo-article .highlight-box p {
  margin-bottom: 0;
  font-weight: 500;
}

/* ===== Favorite Button ===== */
.fav-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 5;
}

.fav-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.fav-btn.is-fav {
  background: rgba(255,255,255,0.95);
  animation: favPop 0.3s ease;
}

@keyframes favPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ===== Share Buttons ===== */
.card-share-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.share-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--card-bg);
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--primary);
  transform: translateY(-1px);
}

.share-whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
}

.share-twitter:hover {
  border-color: #000;
  color: #000;
}

.share-copy:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.share-btn svg {
  width: 14px;
  height: 14px;
}

/* ===== Free Badge ===== */
.free-badge {
  display: inline-block;
  background: rgba(46, 204, 113, 0.1);
  color: #27ae60;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  border: 1px solid rgba(46, 204, 113, 0.2);
}

/* ===== Advanced Filters ===== */
.advanced-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  white-space: nowrap;
}

.audience-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.audience-chip {
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--card-bg);
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text);
  white-space: nowrap;
  min-height: 36px;
}

.audience-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.audience-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.toggle-chip {
  padding: 6px 14px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: var(--card-bg);
  cursor: pointer;
  font-family: 'Tajawal', sans-serif;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text);
  white-space: nowrap;
  min-height: 36px;
}

.toggle-chip:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.toggle-chip.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: var(--gold);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(201,168,76,0.3);
}

/* ===== Leaflet custom markers ===== */
.custom-marker {
  background: none !important;
  border: none !important;
}

.custom-cluster {
  background: none !important;
  border: none !important;
}

/* ===== Mobile adjustments for new features ===== */
@media (max-width: 768px) {
  .card-share-row {
    gap: 4px;
  }
  .share-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
  .fav-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .advanced-filters {
    gap: 8px;
    margin-bottom: 12px;
  }
  .audience-chip,
  .toggle-chip {
    padding: 5px 10px;
    font-size: 11px;
    min-height: 32px;
  }
  .filter-label {
    font-size: 12px;
  }
}

/* ===== Print ===== */
@media print {
  .header, .footer, .scroll-top, .search-box, .sort-filter-bar {
    display: none;
  }
  body {
    background: white;
  }
}

/* ===== Responsive for new sections ===== */
@media (max-width: 768px) {
  .page-header-foundation h2,
  .page-header-season h2 {
    font-size: 24px;
  }

  .page-header-foundation,
  .page-header-season {
    padding: 35px 16px;
  }

  .neighborhood-header h2 {
    font-size: 24px;
  }

  .neighborhood-stats {
    gap: 16px;
  }

  .neighborhood-stats .stat-number {
    font-size: 22px;
  }

  .seo-article .article-content {
    padding: 20px;
  }

  .seo-article h2 {
    font-size: 20px;
  }

  .seo-article p {
    font-size: 15px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: 0;
    padding: 0 12px;
  }

  .submenu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.03);
    padding: 0 12px;
  }

  .nav-dropdown > a::after {
    display: none;
  }

  .dropdown-submenu > a::after {
    display: none;
  }

  .fd-section,
  .seo-article {
    padding: 0 16px;
  }

  .season-zone {
    padding: 18px;
  }
}

/* ===== Reviews Section ===== */
.reviews-section {
  margin: 32px 0;
  padding: 0;
}

.reviews-section .section-title {
  margin-bottom: 24px;
}

/* Rating Distribution */
.rating-distribution {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  border-top: 3px solid var(--gold);
}

.dist-summary {
  text-align: center;
  min-width: 120px;
  flex-shrink: 0;
}

.dist-big-score {
  font-size: 48px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.dist-stars {
  margin-bottom: 6px;
}

.dist-stars .review-star {
  font-size: 18px;
}

.dist-total {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.dist-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dist-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dist-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  min-width: 30px;
  text-align: left;
}

.dist-bar-bg {
  flex: 1;
  height: 10px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
}

.dist-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 5px;
  transition: width 1s ease;
  min-width: 2px;
}

.dist-percent {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 35px;
  text-align: left;
  font-weight: 600;
}

/* Reviews Slider */
.reviews-slider-container {
  position: relative;
  overflow: visible;
}

.reviews-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  cursor: grab;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

/* Navigation Buttons */
.reviews-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--border);
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  line-height: 1;
}

.reviews-nav-btn:hover {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.reviews-nav-prev {
  right: -22px;
}

.reviews-nav-next {
  left: -22px;
}

/* Review Card */
.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 300px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  transition: var(--transition);
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

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

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.review-author-info {
  flex: 1;
  min-width: 0;
}

.review-author-name {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  line-height: 1.3;
}

.review-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.review-source-badge {
  font-size: 11px;
  color: var(--text-muted);
  background: #f5f5f5;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.review-rating {
  margin-bottom: 10px;
}

.review-star {
  font-size: 16px;
  margin-left: 1px;
}

.review-star.filled {
  color: var(--gold);
}

.review-star.empty {
  color: #ddd;
}

.review-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
  word-wrap: break-word;
}

/* Review Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.review-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== Reviews Responsive ===== */
@media (max-width: 768px) {
  .rating-distribution {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
  }
  
  .dist-summary {
    min-width: unset;
  }
  
  .dist-big-score {
    font-size: 40px;
  }
  
  .review-card {
    min-width: 260px;
    max-width: 300px;
    padding: 16px;
  }
  
  .reviews-nav-btn {
    display: none;
  }
  
  .reviews-slider {
    padding: 4px 2px 12px;
  }
}

@media (max-width: 480px) {
  .review-card {
    min-width: 240px;
    max-width: 280px;
  }
  
  .review-card-header {
    gap: 8px;
  }
  
  .review-avatar {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  
  .review-source-badge {
    display: none;
  }
}

/* ===== Weather & Prayer Banner ===== */
.wp-banner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.wp-banner-top {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.wp-weather-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card-bg);
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  flex-shrink: 0;
}

.wp-temp {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
}

.wp-desc {
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.wp-range {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.wp-prayer-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--card-bg);
  padding: 10px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}

.wp-prayer-strip::-webkit-scrollbar { display: none; }

.wp-prayer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  min-width: 65px;
  transition: var(--transition);
  position: relative;
}

.wp-prayer-item.past {
  opacity: 0.4;
}

.wp-prayer-item.next {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1.5px solid var(--gold);
}

.wp-prayer-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.wp-prayer-time {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  direction: ltr;
}

.wp-prayer-countdown {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.wp-prayer-warning {
  background: linear-gradient(135deg, rgba(231,76,60,0.1), rgba(231,76,60,0.05));
  border: 1.5px solid rgba(231,76,60,0.3);
  color: #e74c3c;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  animation: prayerWarningPulse 2s infinite;
}

[data-theme="dark"] .wp-prayer-warning {
  background: rgba(231,76,60,0.12);
  color: #ff6b6b;
}

@keyframes prayerWarningPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.wp-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wp-suggestion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  white-space: nowrap;
}

.wp-suggestion-badge[data-filter]:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

.wp-suggestion-badge.wp-badge-active {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

/* Weather Suggestion Banner (below hero) */
.wp-weather-suggestion {
  max-width: var(--max-width);
  margin: 20px auto;
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  background: var(--card-bg);
}

.wp-weather-suggestion.wp-hot {
  border-top-color: #e74c3c;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(231,76,60,0.04) 100%);
}

.wp-weather-suggestion.wp-nice {
  border-top-color: #27ae60;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(39,174,96,0.04) 100%);
}

.wp-weather-suggestion.wp-cool {
  border-top-color: #3498db;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(52,152,219,0.04) 100%);
}

.wp-weather-suggestion.wp-rain {
  border-top-color: #8e44ad;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(142,68,173,0.04) 100%);
}

.wp-suggestion-text {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.wp-suggestion-icon-big {
  font-size: 36px;
  line-height: 1;
}

.wp-suggestion-text strong {
  display: block;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
}

.wp-suggestion-temp {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.wp-suggested-places {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.wp-suggested-places::-webkit-scrollbar { display: none; }

.wp-suggested-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,22,40,0.04);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: pointer;
}

[data-theme="dark"] .wp-suggested-card {
  background: rgba(255,255,255,0.04);
}

.wp-suggested-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.15);
}

.wp-suggested-icon { font-size: 20px; }

.wp-suggested-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.wp-suggested-rating {
  font-size: 12px;
  color: var(--gold-dark);
  font-weight: 600;
}

/* After Prayer Badge (on place cards) */
.wp-after-prayer-badge {
  display: none;
  align-items: center;
  gap: 4px;
  background: rgba(201,168,76,0.1);
  color: var(--gold-dark);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(201,168,76,0.2);
  margin-right: 6px;
}

/* ===== Weather/Prayer Responsive ===== */
@media (max-width: 768px) {
  .wp-banner {
    padding: 0 16px;
  }

  .wp-banner-top {
    flex-direction: column;
    gap: 10px;
  }

  .wp-weather-strip {
    padding: 10px 14px;
  }

  .wp-temp {
    font-size: 22px;
  }

  .wp-prayer-strip {
    padding: 8px 10px;
    gap: 2px;
  }

  .wp-prayer-item {
    padding: 4px 7px;
    min-width: 55px;
  }

  .wp-prayer-name { font-size: 11px; }
  .wp-prayer-time { font-size: 12px; }
  .wp-prayer-countdown { font-size: 9px; }

  .wp-suggestions {
    gap: 6px;
  }

  .wp-suggestion-badge {
    padding: 6px 12px;
    font-size: 12px;
  }

  .wp-weather-suggestion {
    margin: 14px 16px;
    padding: 16px 18px;
  }

  .wp-suggestion-icon-big { font-size: 28px; }
  .wp-suggestion-text strong { font-size: 15px; }
  .wp-suggestion-temp { font-size: 13px; }
  .wp-suggested-card { padding: 8px 12px; }
  .wp-suggested-name { font-size: 13px; }
}

/* ===== Compare Button on Cards ===== */
.compare-btn {
  position: absolute;
  top: 12px;
  right: 48px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.compare-btn:hover {
  transform: scale(1.15);
  background: #c9a84c;
}
.compare-btn.in-compare {
  background: #c9a84c;
  color: #0a1628;
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
}
