/*
Theme Name: Spice Mantra
Theme URI: https://spicemantra.in
Author: Purab Ganguli
Author URI: https://spicemantra.in
Description: Full visual WordPress theme for the Spice Mantra restaurant. Dark theme with saffron accents, custom post types for menu items, team members, testimonials, and events with ACF fields exposed via REST API.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spice-mantra
Tags: restaurant, dark, custom-post-types, headless, api
*/

/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --color-saffron: #F4A623;
  --color-marigold: #FF6B35;
  --color-deep-red: #8B1A1A;
  --bg-obsidian: #0D0B0A;
  --bg-charcoal: #1A1410;
  --bg-warm-dark: #241C14;
  --text-ivory: #F5EDD8;
  --text-muted: #A89070;
  --text-dim: #5C4A35;
  --border-gold: rgba(244, 166, 35, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'DM Sans', sans-serif;
  --max-width: 1400px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-ivory);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 4rem; }
}

.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section { padding: 8rem 0; }
}

/* ============================================================
   Grid System
   ============================================================ */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.4s;
}

.navbar.scrolled {
  background: rgba(26, 20, 16, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border-gold);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .navbar-inner { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .navbar-inner { padding: 0 4rem; }
}

.navbar-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-ivory);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.navbar-logo span {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .navbar-links { display: flex; }
}

.navbar-links a {
  color: var(--text-ivory);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-saffron);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-marigold));
  transition: width 0.3s;
}

.navbar-links a.active::after,
.navbar-links a:hover::after {
  width: 100%;
}

.btn-reserve {
  display: none;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-marigold));
  color: var(--bg-obsidian);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  box-shadow: 0 0 20px rgba(244, 166, 35, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .btn-reserve { display: inline-flex; }
}

.btn-reserve:hover {
  box-shadow: 0 0 35px rgba(244, 166, 35, 0.5);
  transform: translateY(-2px);
  color: var(--bg-obsidian);
}

/* Mobile menu toggle */
.mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--text-ivory);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-obsidian);
  padding: 2rem;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu nav a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-ivory);
}

.mobile-menu nav a:hover {
  color: var(--color-saffron);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-obsidian), rgba(13, 11, 10, 0.8), transparent);
}

.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 11, 10, 0.9), transparent, rgba(13, 11, 10, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1rem 0;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content { padding: 5rem 2rem 0; }
}

@media (min-width: 1024px) {
  .hero-content { padding: 5rem 4rem 0; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(36, 28, 20, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  color: var(--color-saffron);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

.hero h1 {
  margin-top: 2rem;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--text-ivory);
  max-width: 700px;
}

.hero h1 .light {
  font-weight: 300;
  font-style: italic;
}

.hero h1 .bold {
  font-weight: 600;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(90deg, var(--color-saffron), var(--color-marigold));
  color: var(--bg-obsidian);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  box-shadow: 0 0 30px rgba(244, 166, 35, 0.3);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(244, 166, 35, 0.5);
  transform: translateY(-2px);
  color: var(--bg-obsidian);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  color: var(--text-ivory);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.btn-secondary:hover {
  color: var(--color-saffron);
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .eyebrow {
  display: inline-block;
  color: var(--color-saffron);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-charcoal);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s;
}

.card:hover {
  border-color: rgba(244, 166, 35, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(244, 166, 35, 0.1), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-charcoal), transparent);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.card:hover .card-body h3 {
  color: var(--color-saffron);
}

.card-body p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-price {
  color: var(--color-saffron);
  font-weight: 600;
  font-size: 1.125rem;
}

/* ============================================================
   Food Indicators
   ============================================================ */
.food-dot-veg,
.food-dot-nonveg {
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-dot-veg {
  border: 2px solid #16a34a;
}

.food-dot-veg::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: #16a34a;
  border-radius: 50%;
}

.food-dot-nonveg {
  border: 2px solid #dc2626;
}

.food-dot-nonveg::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: #dc2626;
  border-radius: 50%;
}

/* ============================================================
   Badge
   ============================================================ */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(36, 28, 20, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  border-radius: 9999px;
  color: var(--color-saffron);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   Testimonial Cards
   ============================================================ */
.testimonial-card {
  background: var(--bg-charcoal);
  border-radius: 1rem;
  padding: 2rem;
  border-left: 3px solid var(--color-saffron);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--color-saffron);
  color: var(--color-saffron);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text-ivory);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  color: var(--text-ivory);
  font-weight: 500;
}

.testimonial-location {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================================
   Our Story Section
   ============================================================ */
.story-section {
  background: var(--bg-warm-dark);
}

.story-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.story-images {
  position: relative;
  height: 400px;
}

@media (min-width: 1024px) {
  .story-images { height: 500px; }
}

.story-images img {
  position: absolute;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.story-images img:nth-child(1) {
  top: 0;
  left: 0;
  width: 55%;
  height: 55%;
  z-index: 1;
}

.story-images img:nth-child(2) {
  top: 25%;
  right: 0;
  width: 50%;
  height: 50%;
  z-index: 2;
  border: 4px solid var(--bg-warm-dark);
}

.story-images img:nth-child(3) {
  bottom: 0;
  left: 10%;
  width: 45%;
  height: 40%;
  z-index: 3;
  border: 4px solid var(--bg-warm-dark);
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gold);
}

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

.story-stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-saffron);
}

.story-stat-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* ============================================================
   Blog Teasers
   ============================================================ */
.blog-card {
  background: var(--bg-charcoal);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transition: all 0.4s;
}

.blog-card:hover {
  border-color: rgba(244, 166, 35, 0.4);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--color-saffron);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.blog-card-body h3 a:hover {
  color: var(--color-saffron);
}

.blog-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand .tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-heading {
  color: var(--text-ivory);
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-saffron);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-saffron);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact-item a,
.footer-contact-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-contact-item a:hover {
  color: var(--color-saffron);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-warm-dark);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer-social a:hover {
  color: var(--color-saffron);
  background: var(--bg-charcoal);
}

.footer-social a svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--text-muted);
}

/* ============================================================
   Spice Level
   ============================================================ */
.spice-level {
  display: flex;
  gap: 2px;
}

.spice-level .flame {
  width: 0.875rem;
  height: 0.875rem;
}

.spice-level .flame.active {
  color: #f97316;
}

.spice-level .flame.inactive {
  color: var(--text-dim);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-saffron { color: var(--color-saffron); }
.text-muted { color: var(--text-muted); }
.text-ivory { color: var(--text-ivory); }
.bg-charcoal { background: var(--bg-charcoal); }
.bg-warm-dark { background: var(--bg-warm-dark); }

.gradient-text {
  background: linear-gradient(90deg, var(--color-saffron), var(--color-marigold), var(--color-saffron));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-saffron);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  transition: gap 0.3s;
}

.link-arrow:hover {
  gap: 1rem;
  color: var(--color-saffron);
}

/* ============================================================
   Blog / Single Post
   ============================================================ */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content img {
  border-radius: 1rem;
  margin: 2rem 0;
}

.post-content a {
  color: var(--color-saffron);
  text-decoration: underline;
}

.post-content blockquote {
  border-left: 3px solid var(--color-saffron);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-ivory);
}

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

.post-content li {
  margin-bottom: 0.5rem;
}

/* ============================================================
   Page Header (Archives, Pages)
   ============================================================ */
.page-header {
  text-align: center;
  padding: 8rem 1rem 3rem;
}

.page-header .eyebrow {
  display: inline-block;
  color: var(--color-saffron);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

/* ============================================================
   404 Page
   ============================================================ */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.page-404 h1 {
  font-size: 8rem;
  color: var(--color-saffron);
  line-height: 1;
}

.page-404 p {
  font-size: 1.25rem;
  margin: 1rem 0 2rem;
}

/* ============================================================
   Category Filter
   ============================================================ */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-filter button,
.category-filter a {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: capitalize;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--bg-charcoal);
  color: var(--text-muted);
}

.category-filter button:hover,
.category-filter a:hover,
.category-filter button.active,
.category-filter a.active {
  background: linear-gradient(90deg, var(--color-saffron), var(--color-marigold));
  color: var(--bg-obsidian);
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================================
   Scrollbar
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-obsidian); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-saffron); }

/* ============================================================
   WordPress Specific
   ============================================================ */
.wp-block-image { margin: 2rem 0; }
.wp-block-image img { border-radius: 1rem; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* Admin bar fix */
body.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}
