/*
Theme Name: Home Decor Ideas DIY
Theme URI: https://homedecorideasdiy.com
Author: Home Decor DIY Team
Author URI: https://homedecorideasdiy.com
Description: A warm, elegant, editorial WordPress theme designed for DIY home decor inspiration, room makeovers, and budget-friendly decorating guides.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: home-decor-diy
Tags: editorial, blog, one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, accessibility-ready
*/

/* Restore standard bullets and numbers in post content and the block editor */
.entry-content ul.wp-block-list,
.editor-styles-wrapper ul.wp-block-list {
    list-style-type: disc !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem;
}

.entry-content ol.wp-block-list,
.editor-styles-wrapper ol.wp-block-list {
    list-style-type: decimal !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem;
}

.entry-content ul.wp-block-list li,
.entry-content ol.wp-block-list li,
.editor-styles-wrapper ul.wp-block-list li,
.editor-styles-wrapper ol.wp-block-list li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   1. CSS Custom Properties & Design Tokens
   ========================================================================== */
:root {
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.35rem;
  --radius-3xl: 1.75rem;

  /* Color Palette (with RGB fallback & OKLCH support) */
  --cream: #f7f2e8;
  --cream-oklch: oklch(0.964 0.018 88);
  --beige: #e8ddcc;
  --beige-oklch: oklch(0.906 0.026 84);
  --offwhite: #fffdf8;
  --offwhite-oklch: oklch(0.99 0.008 92);
  --terracotta: #c9785b;
  --terracotta-oklch: oklch(0.63 0.101 40.5);
  --peach: #e7b39d;
  --peach-oklch: oklch(0.812 0.062 43);
  --sage: #8fa58b;
  --sage-oklch: oklch(0.688 0.032 141);
  --olive: #344338;
  --olive-oklch: oklch(0.339 0.03 155);
  --charcoal: #292725;
  --charcoal-oklch: oklch(0.264 0.005 67);

  --background: var(--cream);
  --foreground: var(--charcoal);
  --card: var(--offwhite);
  --card-foreground: var(--charcoal);
  --primary: var(--olive);
  --primary-foreground: var(--offwhite);
  --secondary: var(--beige);
  --secondary-foreground: var(--olive);
  --muted: var(--beige);
  --muted-foreground: #6b665f;
  --accent: var(--terracotta);
  --accent-foreground: var(--offwhite);
  --border: #ddd5c8;

  --shadow-soft: 0 1px 2px rgba(52, 67, 56, 0.05), 0 12px 32px -18px rgba(52, 67, 56, 0.25);
  --shadow-lift: 0 2px 6px rgba(52, 67, 56, 0.07), 0 20px 40px -20px rgba(52, 67, 56, 0.3);
  --paper: radial-gradient(rgba(52, 67, 56, 0.045) 1px, transparent 1px);

  --font-serif: "Space Grotesk", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@supports (color: oklch(0 0 0)) {
  :root {
    --cream: var(--cream-oklch);
    --beige: var(--beige-oklch);
    --offwhite: var(--offwhite-oklch);
    --terracotta: var(--terracotta-oklch);
    --peach: var(--peach-oklch);
    --sage: var(--sage-oklch);
    --olive: var(--olive-oklch);
    --charcoal: var(--charcoal-oklch);
    --muted-foreground: oklch(0.478 0.014 80);
    --border: oklch(0.868 0.026 82);
  }
}

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

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--olive);
  line-height: 1.12;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

p {
  line-height: 1.75;
  color: var(--muted-foreground);
  font-size: 1rem;
}

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

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

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--peach);
  color: var(--charcoal);
}

/* ==========================================================================
   3. Utility Classes & Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

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

.container-narrow {
  max-width: 880px;
}

.container-text {
  max-width: 720px;
}

.paper-grain {
  background-image: var(--paper);
  background-size: 18px 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  background: var(--terracotta);
}

.eyebrow.text-peach {
  color: var(--peach);
}

.eyebrow.text-peach::before {
  background: var(--peach);
}

.card-lift {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.45rem;
  padding: 0.85rem 1.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.2s ease,
              color 0.2s ease,
              transform 0.2s ease,
              border-color 0.2s ease;
}

.btn-base:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--olive);
  color: var(--offwhite);
}

.btn-primary:hover {
  background: var(--terracotta);
  color: var(--offwhite);
}

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

.btn-outline:hover {
  background: var(--olive);
  color: var(--offwhite);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

/* Category Filter Pills */
.category-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 767px) {
  .category-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
  background: var(--offwhite);
  border: 1px solid var(--border);
  color: var(--olive);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.is-active {
  background: var(--olive);
  color: var(--offwhite);
  border-color: var(--olive);
}

/* Share Buttons */
.share-btn {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--offwhite);
  color: var(--olive);
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--terracotta);
  color: var(--offwhite);
  border-color: var(--terracotta);
  transform: translateY(-2px);
}

@media (min-width: 1024px) {
  .sketch-box {
    display: block !important;
  }
}

/* ==========================================================================
   4. Scroll Reveal Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   5. Site Header & Sticky Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.85rem 0;
  transition: all 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 0.45rem 0;
  background-color: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

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

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--olive);
}

.site-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--olive);
  letter-spacing: -0.02em;
}

.site-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.main-navigation {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

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

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

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(52, 67, 56, 0.85);
  transition: color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
  color: var(--terracotta);
}

/* Submenu Dropdown */
.nav-menu ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.5rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 60;
}

.nav-menu li:hover > ul.sub-menu,
.nav-menu li:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu ul.sub-menu li a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  color: var(--olive);
}

.nav-menu ul.sub-menu li a:hover {
  background: var(--cream);
  color: var(--terracotta);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--olive);
  cursor: pointer;
}

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

.mobile-nav-drawer {
  margin: 0.65rem 1rem 0;
  padding: 1rem;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 1024px) {
  .mobile-nav-drawer {
    display: none !important;
  }
}

.mobile-nav-menu li {
  border-bottom: 1px solid rgba(221, 213, 200, 0.6);
}

.mobile-nav-menu li:last-child {
  border-bottom: none;
}

.mobile-nav-menu li a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--olive);
}

.mobile-nav-menu ul.sub-menu {
  padding-left: 1rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   6. Hero & Spacing
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 6.75rem;
  padding-bottom: 3.25rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 8.5rem;
    padding-bottom: 4.5rem;
  }
}

.hero-orb-left {
  position: absolute;
  pointer-events: none;
  left: -5rem;
  top: 5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  background: rgba(231, 179, 157, 0.22);
  filter: blur(44px);
}

.hero-orb-right {
  position: absolute;
  pointer-events: none;
  right: -4rem;
  bottom: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(143, 165, 139, 0.18);
  filter: blur(44px);
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.hero-tags {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: rgba(52, 67, 56, 0.75);
}

.hero-tags .dot {
  color: var(--terracotta);
  font-weight: 700;
  margin-right: 0.65rem;
}

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

.hero-actions .btn-base {
  padding: 0.9rem 1.65rem;
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 6.25rem;
    padding-bottom: 2.5rem;
  }

  .hero-tags {
    margin-top: 1.15rem;
    margin-bottom: 1.65rem;
    font-size: 0.85rem;
    gap: 0.45rem;
  }

  .hero-tags .dot {
    margin-right: 0.45rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn-base {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.925rem;
  }
}

.hero-image-wrap {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero-img {
    height: 480px;
  }
}

@media (min-width: 1024px) {
  .hero-img {
    height: 580px;
  }
}

.hero-floating-badge {
  display: none;
  position: absolute;
  bottom: -1.25rem;
  left: 1rem;
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.65rem 1.15rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .hero-floating-badge {
    display: block;
  }
}

/* ==========================================================================
   7. Sections & Cards
   ========================================================================== */
.section-padding {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.bg-secondary-tint {
  background-color: rgba(232, 221, 204, 0.5);
}

.bg-olive-dark {
  background-color: var(--olive);
  color: var(--offwhite);
}

.bg-sage-tint {
  background-color: rgba(143, 165, 139, 0.25);
}

.pullquote-mark {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: rgba(201, 120, 91, 0.4);
}

.pullquote-text {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--olive);
}

.section-divider {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* Grid Presets */
.grid-cards-3 {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

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

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

.grid-asymmetric {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .grid-asymmetric {
    grid-template-columns: repeat(6, 1fr);
  }
  .col-span-3 { grid-column: span 3; }
  .col-span-2 { grid-column: span 2; }
  .col-span-4 { grid-column: span 4; }
  .md-mt-8 { margin-top: 1.75rem; }
  .md-mt-6 { margin-top: 1.25rem; }
}

@media (min-width: 1024px) {
  .lg-col-span-2 { grid-column: span 2; }
  .lg-col-span-3 { grid-column: span 3; }
}

/* Card Styles */
.card-item {
  height: 100%;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: var(--offwhite);
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .card-item {
    padding: 1.75rem;
  }
}

.card-item.bg-peach-light { background-color: rgba(231, 179, 157, 0.2); }
.card-item.bg-sage-light { background-color: rgba(143, 165, 139, 0.2); }
.card-item.bg-beige-light { background-color: var(--beige); }

.card-num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: rgba(201, 120, 91, 0.7);
  line-height: 1;
}

.card-dashed-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  border-radius: 1.35rem;
  border: 1px dashed rgba(201, 120, 91, 0.5);
  background-color: rgba(231, 179, 157, 0.15);
  padding: 1.5rem;
}

/* Dark Projects Section Cards */
.card-project-dark {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 253, 248, 0.15);
  background-color: rgba(255, 253, 248, 0.05);
  padding: 1.5rem;
}

.card-project-dark .project-num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  line-height: 1;
  color: rgba(231, 179, 157, 0.8);
}

.card-project-dark .project-title {
  padding-top: 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--offwhite);
}

/* ==========================================================================
   8. FAQ Accordion
   ========================================================================== */
.faq-accordion {
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: var(--offwhite);
  overflow: hidden;
}

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

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

.faq-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--olive);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

@media (min-width: 768px) {
  .faq-button {
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
  }
}

.faq-button:hover {
  background-color: var(--cream);
}

.faq-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--terracotta);
  transition: transform 0.3s ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-panel.is-open {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .faq-panel p {
    padding: 0 2rem 1.5rem;
    padding-right: 4rem;
  }
}

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--offwhite);
  padding: 3rem 0 2.25rem;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.footer-nav ul {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--olive);
  font-size: 0.925rem;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   10. Comments & Pagination
   ========================================================================== */
.comment-body {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--offwhite);
  padding: 1.25rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.comment-author img {
  border-radius: 9999px;
  border: 1px solid var(--border);
}

.comment-author .fn {
  font-weight: 600;
  color: var(--olive);
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 0.65rem;
}

.comment-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

.reply {
  margin-top: 0.65rem;
}

.reply a {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: underline;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--offwhite);
  padding: 0.75rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--foreground);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.comment-form p label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive);
}

.pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.65rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
  background: var(--offwhite);
  color: var(--olive);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--olive);
  color: var(--offwhite);
  border-color: var(--olive);
}

/* ==========================================================================
   11. WordPress Core Classes & Post Content
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  top: -9999rem;
  left: 1rem;
  z-index: 999999;
  padding: 0.75rem 1.5rem;
  background: var(--olive);
  color: var(--offwhite);
  font-weight: 700;
  border-radius: 0.375rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1.5rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.wp-caption {
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  text-align: center;
}

.page-content,
.entry-content {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.page-content p,
.entry-content p {
  margin-bottom: 1.2rem;
}

.page-content h2,
.entry-content h2 {
  margin-top: 2.75rem;
  margin-bottom: 1.15rem;
}

.page-content h3,
.entry-content h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}
