/*
Theme Name: True Homely - Home & Living Advisory
Theme URI: https://truehomely.com
Author: True Homely Editorial Team
Author URI: https://truehomely.com
Description: Standalone, modern editorial home & living publication and professional content consulting theme. Features pure Vanilla CSS with OKLCH tokens, modular template parts, dynamic blog suite, and zero runtime dependencies.
Version: 1.1.3
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: truehomely
Tags: blog, news, custom-colors, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ==========================================================================
   DESIGN TOKENS & CSS CUSTOM PROPERTIES
   True Homely — editorial home & living publication design system.
   Palette: forest green primary, warm cream secondary, honey gold accent, ink dark.
   ========================================================================== */

:root {
  /* Typography */
  --font-display: "Fraunces", Georgia, Cambria, "Times New Roman", Times, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Corner Radii */
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);

  /* Color Palette (sRGB fallbacks + OKLCH) */
  --background: #F6F5F2;
  --background: oklch(0.985 0.006 95);
  --foreground: #1D1D1D;
  --foreground: oklch(0.22 0.01 260);

  --ink: #161616;
  --ink: oklch(0.18 0.008 260);
  --cream: #F6F5F2;
  --cream: oklch(0.985 0.006 95);

  --card: #FFFFFF;
  --card: oklch(1 0 0);
  --card-foreground: #1D1D1D;
  --card-foreground: oklch(0.22 0.01 260);

  --popover: #FFFFFF;
  --popover-foreground: #1D1D1D;

  --primary: #2F6B3C;
  --primary: oklch(0.48 0.09 148);
  --primary-foreground: #F6F5F2;
  --primary-foreground: oklch(0.985 0.006 95);

  --secondary: #EFECE6;
  --secondary: oklch(0.96 0.008 95);
  --secondary-foreground: #1D1D1D;
  --secondary-foreground: oklch(0.22 0.01 260);

  --muted: #EAE7E0;
  --muted: oklch(0.94 0.008 95);
  --muted-foreground: #6B6964;
  --muted-foreground: oklch(0.48 0.01 260);

  --accent: #D6A86B;
  --accent: oklch(0.75 0.11 75);
  --accent-foreground: #1D1D1D;
  --accent-foreground: oklch(0.22 0.01 260);

  --destructive: #DC2626;
  --destructive-foreground: #FFFFFF;

  --border: #DFDDD7;
  --border: oklch(0.90 0.006 95);
  --input: #DFDDD7;
  --input: oklch(0.90 0.006 95);
  --ring: #2F6B3C;
  --ring: oklch(0.48 0.09 148);

  /* Shadows */
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.10);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.05), 0 20px 40px -16px rgba(0, 0, 0, 0.18);

  /* Layout dimensions */
  --container-width: 80rem;
  --header-height: 5rem;
}

/* Dark Mode Overrides */
.dark {
  --background: #18191A;
  --background: oklch(0.16 0.01 260);
  --foreground: #F6F5F2;
  --foreground: oklch(0.96 0.006 95);

  --card: #222326;
  --card: oklch(0.20 0.01 260);
  --card-foreground: #F6F5F2;

  --popover: #222326;
  --popover-foreground: #F6F5F2;

  --primary: #4FA866;
  --primary: oklch(0.65 0.12 148);
  --primary-foreground: #141414;

  --secondary: #2B2C30;
  --secondary: oklch(0.24 0.01 260);
  --secondary-foreground: #F6F5F2;

  --muted: #2B2C30;
  --muted: oklch(0.24 0.01 260);
  --muted-foreground: #A8A8A8;
  --muted-foreground: oklch(0.70 0.01 260);

  --accent: #E0BA82;
  --accent: oklch(0.78 0.11 75);
  --accent-foreground: #18191A;

  --border: rgba(255, 255, 255, 0.12);
  --input: rgba(255, 255, 255, 0.15);
  --ring: #4FA866;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html,
body,
.site-main {
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw + 0.25rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw + 0.2rem, 1.75rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.15rem, 1.35rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

button, input, select, textarea {
  font: inherit;
}

::selection {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

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

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */

.container-editorial {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-editorial {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

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

.page-hero {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #EFECE6 0%, var(--background) 100%);
  padding-top: clamp(3rem, 5vw, 5.5rem);
  padding-bottom: clamp(3rem, 5vw, 5.5rem);
}

.dark .page-hero {
  background: linear-gradient(180deg, #222326 0%, var(--background) 100%);
}

.glass-panel {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.dark .glass-panel {
  background-color: rgba(34, 35, 38, 0.92);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 9999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: rgba(47, 107, 60, 0.10);
  color: var(--primary);
  border: 1px solid rgba(47, 107, 60, 0.20);
}

.badge-gold {
  background-color: var(--accent);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Front Page Hero Badge Responsive Single-Line */
.hero-badge-pill {
  white-space: nowrap !important;
  max-width: 100% !important;
}

.hero-badge-desktop {
  display: none !important;
}

.hero-badge-mobile {
  display: inline !important;
}

@media (min-width: 640px) {
  .hero-badge-desktop {
    display: inline !important;
  }
  .hero-badge-mobile {
    display: none !important;
  }
}

@media (max-width: 639px) {
  .hero-badge-pill {
    font-size: clamp(0.68rem, 2.9vw, 0.75rem) !important;
    padding: 0.35rem 0.75rem !important;
    letter-spacing: 0.03em !important;
  }
}

/* Category Filter Pills (Multi-line Responsive Wrap) */
.category-pills-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.625rem 0.5rem !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 2.5rem !important;
  overflow: visible !important;
}

.category-pills-bar .btn {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

@media (max-width: 639px) {
  .category-pills-bar {
    gap: 0.5rem 0.375rem !important;
    margin-bottom: 2rem !important;
  }
  .category-pills-bar .btn {
    font-size: 0.75rem !important;
    padding: 0.42rem 0.9rem !important;
    min-height: 36px !important;
  }
}

.hover-lift {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(47, 107, 60, 0.35);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

/* ==========================================================================
   DISPLAY & FLEXBOX UTILITIES
   ========================================================================== */

.hidden,
[style*="display: none"],
[style*="display:none"] {
  display: none !important;
}

#footer-newsletter-success,
.footer-newsletter-success,
#article-newsletter-success,
.article-newsletter-success {
  display: none !important;
}

#footer-newsletter-success.is-visible,
.footer-newsletter-success.is-visible,
#article-newsletter-success.is-visible,
.article-newsletter-success.is-visible {
  display: flex !important;
}

.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.shrink-0 { flex-shrink: 0 !important; }
.overflow-x-auto { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
.scrollbar-none { scrollbar-width: none !important; -ms-overflow-style: none !important; }
.scrollbar-none::-webkit-scrollbar { display: none !important; }

.items-start { align-items: flex-start !important; }
.items-center { align-items: center !important; }
.items-end { align-items: flex-end !important; }
.justify-start { justify-content: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.self-start { align-self: flex-start !important; }
.self-end { align-self: flex-end !important; }
.self-auto { align-self: auto !important; }

.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }
.gap-10 { gap: 2.5rem !important; }
.gap-12 { gap: 3rem !important; }

.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.col-span-1 { grid-column: span 1 / span 1 !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }
.col-span-6 { grid-column: span 6 / span 6 !important; }
.col-span-12 { grid-column: span 12 / span 12 !important; }

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:inline-flex { display: inline-flex !important; }
  .sm\:inline { display: inline !important; }
  .sm\:block { display: block !important; }
  .sm\:hidden { display: none !important; }
}

@media (min-width: 768px) {
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-end { align-items: flex-end !important; }
  .md\:items-center { align-items: center !important; }
  .md\:justify-between { justify-content: space-between !important; }
  .md\:self-auto { align-self: auto !important; }
  .md\:inline { display: inline !important; }
  .md\:p-10 { padding: 2.5rem !important; }
  .md\:p-12 { padding: 3rem !important; }
  .md\:p-14 { padding: 3.5rem !important; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)) !important; }
  .lg\:col-span-1 { grid-column: span 1 / span 1 !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .lg\:col-span-3 { grid-column: span 3 / span 3 !important; }
  .lg\:col-span-4 { grid-column: span 4 / span 4 !important; }
  .lg\:col-span-6 { grid-column: span 6 / span 6 !important; }
  .lg\:col-span-7 { grid-column: span 7 / span 7 !important; }
  .lg\:col-span-12 { grid-column: span 12 / span 12 !important; }
}

/* Width & Max-width */
.w-full { width: 100% !important; }
.max-w-xs { max-width: 20rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Spacing & Alignment Utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-2\.5 { margin-top: 0.625rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-5 { margin-top: 1.25rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mt-8 { margin-top: 2rem !important; }
.mt-10 { margin-top: 2.5rem !important; }
.mt-12 { margin-top: 3rem !important; }
.mt-14 { margin-top: 3.5rem !important; }
.mt-16 { margin-top: 4rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-12 { margin-bottom: 3rem !important; }

.p-3 { padding: 0.75rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-7 { padding: 1.75rem !important; }
.p-8 { padding: 2rem !important; }
.p-10 { padding: 2.5rem !important; }
.p-12 { padding: 3rem !important; }
.p-14 { padding: 3.5rem !important; }

.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-7 { padding-left: 1.75rem !important; padding-right: 1.75rem !important; }
.px-8 { padding-left: 2rem !important; padding-right: 2rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

.pt-4 { padding-top: 1rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.pt-8 { padding-top: 2rem !important; }
.pt-16 { padding-top: 4rem !important; }
.pb-4 { padding-bottom: 1rem !important; }

.border { border: 1px solid var(--border) !important; }
.border-t { border-top: 1px solid var(--border) !important; }
.border-b { border-bottom: 1px solid var(--border) !important; }
.border-border { border-color: var(--border) !important; }

.rounded-lg { border-radius: var(--radius-sm) !important; }
.rounded-xl { border-radius: var(--radius-md) !important; }
.rounded-2xl { border-radius: var(--radius-xl) !important; }
.rounded-3xl { border-radius: var(--radius-2xl) !important; }
.rounded-full { border-radius: 9999px !important; }

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

.text-foreground { color: var(--foreground) !important; }
.text-muted-foreground { color: var(--muted-foreground) !important; }
.text-primary { color: var(--primary) !important; }
.text-white { color: #FFFFFF !important; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-white\/50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-white\/40 { color: rgba(255, 255, 255, 0.4) !important; }

.bg-card { background-color: var(--card) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-muted { background-color: var(--muted) !important; }

.section-pad {
  padding-top: clamp(3rem, 5vw, 6rem);
  padding-bottom: clamp(3rem, 5vw, 6rem);
}

.section-alt {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: rgba(239, 236, 230, 0.45);
}

.dark .section-alt {
  background-color: rgba(43, 44, 48, 0.35);
}

/* ==========================================================================
   BUTTONS & FORMS (TOUCH-FRIENDLY & NO IOS ZOOM)
   ========================================================================== */

.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  min-height: 44px;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--primary) !important;
  color: var(--primary-foreground) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-soft);
}

.btn-accent:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--border) !important;
  background-color: var(--card) !important;
  color: var(--foreground) !important;
}

.btn-outline:hover {
  background-color: var(--secondary) !important;
  border-color: rgba(47, 107, 60, 0.35) !important;
}

.btn-white-glass {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(8px);
}

.btn-white-glass:hover {
  background-color: rgba(255, 255, 255, 0.22) !important;
}

/* Forms: Font size 16px to prevent iOS safari auto-zoom! */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
select,
textarea {
  width: 100%;
  font-size: 16px;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--input);
  background-color: var(--background);
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(47, 107, 60, 0.18);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 221, 215, 0.7);
  background-color: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.dark .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(24, 25, 26, 0.92);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 1;
}

.site-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover .site-logo {
  opacity: 0.92;
}

/* Light mode (default) in header */
.site-logo-light {
  display: block;
}

.site-logo-dark {
  display: none;
}

/* Dark mode (when html.dark or body.dark is active) */
html.dark .site-logo-light,
body.dark .site-logo-light,
.dark .site-logo-light {
  display: none !important;
}

html.dark .site-logo-dark,
body.dark .site-logo-dark,
.dark .site-logo-dark {
  display: block !important;
}

/* Footer logo is always on dark background */
.site-logo.site-logo-footer {
  display: block !important;
  height: 42px;
  width: auto;
  max-width: 220px;
}

@media (max-width: 640px) {
  .site-logo {
    height: 35px;
    max-width: 165px;
  }
  .site-logo.site-logo-footer {
    height: 38px;
    max-width: 175px;
  }
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(47, 107, 60, 0.82) 100%);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--foreground);
}

.brand-title span {
  color: var(--primary);
}

.brand-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-top: 1px;
}

/* Desktop Navigation Reset - CRITICAL: No bullets! */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

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

.desktop-nav ul,
.desktop-nav .menu,
.desktop-nav .primary-nav-menu,
#menu-primary-navigation {
  display: flex !important;
  align-items: center !important;
  gap: 1.75rem !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.desktop-nav li,
.desktop-nav .menu-item {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.desktop-nav li::marker,
.desktop-nav .menu-item::marker {
  display: none !important;
  content: "" !important;
}

.desktop-nav a,
.desktop-nav li a,
.nav-dropdown-trigger {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: rgba(29, 29, 29, 0.85) !important;
  transition: color 0.2s ease !important;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none !important;
}

.dark .desktop-nav a,
.dark .desktop-nav li a,
.dark .nav-dropdown-trigger {
  color: rgba(246, 245, 242, 0.85) !important;
}

.desktop-nav a:hover,
.desktop-nav li a:hover,
.nav-dropdown-trigger:hover,
.desktop-nav a.active,
.desktop-nav a[aria-current="page"],
.desktop-nav .current-menu-item > a,
.desktop-nav .current_page_item > a {
  color: var(--primary) !important;
}

/* Category Mega Dropdown */
.nav-dropdown-container {
  position: relative;
}

.nav-mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 680px;
  padding-top: 0.75rem;
  z-index: 200;
}

.nav-dropdown-container:hover .nav-mega-menu,
.nav-dropdown-container:focus-within .nav-mega-menu {
  display: block;
}

.mega-menu-card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--popover);
  padding: 1.75rem;
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-advisory-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.header-advisory-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 107, 60, 0.25);
  opacity: 0.95;
}

.action-icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.action-icon-btn:hover {
  background-color: var(--secondary);
  border-color: rgba(47, 107, 60, 0.4);
  color: var(--primary);
}

.mobile-menu-btn {
  display: grid;
  place-items: center;
}

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

/* Mobile Drawer Backdrop Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-height, 68px);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.mobile-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Mobile Nav Drawer with Smooth Slide & Blur */
.mobile-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease, padding 0.35s ease;
  padding: 0;
  border-top: 1px solid transparent;
  background-color: rgba(246, 245, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15);
  z-index: 95;
}

.dark .mobile-drawer {
  background-color: rgba(24, 25, 26, 0.98);
}

.mobile-drawer.is-open {
  max-height: calc(100vh - 68px);
  opacity: 1;
  visibility: visible;
  padding: 1.5rem 0 2.5rem;
  border-top-color: var(--border);
  overflow-y: auto;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none !important;
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link[aria-current="page"] {
  background-color: var(--secondary);
  color: var(--primary) !important;
  font-weight: 600;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC LAYOUT ENHANCEMENTS
   ========================================================================== */

/* Section header row (prevents full-width stretching of View All Services button) */
.section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header-btn {
  align-self: flex-start;
  flex-shrink: 0;
  width: auto;
}

@media (min-width: 768px) {
  .section-header-btn {
    align-self: flex-end;
  }
}

/* Trending topics scroll track */
.trending-scroll-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1.25rem;
  padding-right: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 107, 60, 0.3) transparent;
}

.trending-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.trending-scroll-track::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
}

.trending-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(47, 107, 60, 0.35);
  border-radius: 9999px;
}

.trending-scroll-item {
  width: 320px;
  max-width: 360px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .trending-scroll-item {
    width: 360px;
  }
}

/* ==========================================================================
   ARTICLE BODY & LONG-FORM EDITORIAL TYPOGRAPHY
   Smart, balanced, high-legibility editorial typography
   ========================================================================== */

/* Single Blog Hero Header Responsive Typography */
.single-post-layout .single-hero-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
  font-weight: 500 !important;
}

.single-post-layout .single-excerpt {
  font-size: clamp(0.96rem, 1.8vw, 1.075rem) !important;
  line-height: 1.6 !important;
  margin-top: 0.75rem !important;
  color: var(--muted-foreground) !important;
}

/* Article Body Typography */
.article-body {
  color: rgba(29, 29, 29, 0.88);
  font-size: 0.985rem;
  line-height: 1.72;
  letter-spacing: -0.005em;
}

.dark .article-body {
  color: rgba(246, 245, 242, 0.88);
}

.article-body > * + * {
  margin-top: 1.15rem;
}

.article-body p {
  font-size: 0.985rem;
  line-height: 1.72;
  margin-bottom: 1.15rem;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.68rem);
  line-height: 1.25;
  font-weight: 500;
  margin-top: 2.35rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  letter-spacing: -0.015em;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.2vw, 1.3rem);
  line-height: 1.28;
  font-weight: 500;
  margin-top: 1.85rem;
  margin-bottom: 0.6rem;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

.article-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.article-body ul,
.article-body ol {
  padding-left: 1.35rem;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body li {
  margin-top: 0.35rem;
  padding-left: 0.2rem;
}

.article-body li::marker {
  color: var(--primary);
}

.article-body strong {
  color: var(--foreground);
  font-weight: 600;
}

.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.65rem 1.15rem;
  margin: 1.35rem 0;
  font-style: italic;
  font-size: 0.935rem;
  line-height: 1.62;
  color: var(--muted-foreground);
  background-color: rgba(47, 107, 60, 0.04);
  border-radius: 0 0.5rem 0.5rem 0;
}

.dark .article-body blockquote {
  background-color: rgba(79, 168, 102, 0.08);
  color: var(--muted-foreground);
}

/* Smart Mobile Adjustments for Single Blog Articles */
@media (max-width: 639px) {
  .single-post-layout .page-hero {
    padding-top: 2.25rem !important;
    padding-bottom: 2.5rem !important;
  }
  .single-post-layout .single-hero-title {
    font-size: clamp(1.35rem, 5.2vw, 1.75rem) !important;
    line-height: 1.14 !important;
  }
  .single-post-layout .single-excerpt {
    font-size: 0.915rem !important;
    line-height: 1.55 !important;
    margin-top: 0.65rem !important;
  }

  .article-body {
    font-size: 0.925rem !important;
    line-height: 1.65 !important;
  }
  .article-body p {
    font-size: 0.925rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1rem !important;
  }
  .article-body h2 {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    margin-top: 1.75rem !important;
    margin-bottom: 0.55rem !important;
    letter-spacing: -0.015em !important;
  }
  .article-body h3 {
    font-size: 1.08rem !important;
    line-height: 1.28 !important;
    margin-top: 1.4rem !important;
    margin-bottom: 0.45rem !important;
  }
  .article-body h4 {
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
  }
  .article-body ul,
  .article-body ol {
    padding-left: 1.15rem !important;
    font-size: 0.895rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1rem !important;
  }
  .article-body blockquote {
    font-size: 0.875rem !important;
    line-height: 1.55 !important;
    padding: 0.55rem 0.85rem !important;
    margin: 1.15rem 0 !important;
  }
}

.article-body a,
.prose a,
.prose-container a,
.legal-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.article-body a:hover,
.prose a:hover,
.prose-container a:hover,
.legal-page a:hover {
  color: var(--accent);
}

.prose-container,
.prose {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.prose p,
.prose-container p,
.legal-page p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.prose h2,
.prose-container h2,
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.25;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.prose h3,
.prose-container h3,
.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.3;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.article-body code {
  background: var(--muted);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: var(--font-mono);
}

/* Responsive Single Post Layout Grid */
.single-post-grid {
  display: grid;
  gap: 3.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .single-post-grid {
    grid-template-columns: 1fr 320px;
  }
}

/* Ultra-slim Collapsible Table of Contents */
.article-toc-slim {
  transition: all 0.2s ease;
  max-width: 100%;
}

.article-toc-slim summary::-webkit-details-marker {
  display: none !important;
}

.article-toc-slim summary {
  list-style: none !important;
  cursor: pointer;
}

.article-toc-slim[open] .toc-label-show {
  display: none !important;
}

.article-toc-slim[open] .toc-label-hide {
  display: inline !important;
}

.article-toc-slim a {
  display: flex !important;
  align-items: baseline !important;
  gap: 0.45rem !important;
  color: var(--muted-foreground) !important;
  text-decoration: none !important;
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
  padding: 0.2rem 0 !important;
  transition: color 0.15s ease !important;
}

.article-toc-slim a:hover {
  color: var(--primary) !important;
}

.article-toc-slim .toc-idx {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0.85;
}

/* Responsive Contact Page Grid */
.contact-form-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact-form-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* ==========================================================================
   CARDS & GRID COMPONENTS
   ========================================================================== */

.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
}

.article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--muted);
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-card-media img {
  transform: scale(1.04);
}

.article-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(246, 245, 242, 0.92);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  backdrop-filter: blur(8px);
}

.dark .article-card-badge {
  background-color: rgba(34, 35, 38, 0.92);
}

.article-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 1.5rem;
}

.article-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.article-card:hover .article-card-title {
  color: var(--primary);
}

.article-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(223, 221, 215, 0.6);
  padding-top: 0.85rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--primary);
}

/* Category Discipline Card */
.category-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-decoration: none;
}

.category-card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--muted);
}

.category-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.category-card:hover .category-card-img-wrap img {
  transform: scale(1.05);
}

.category-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.category-card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--foreground);
  transition: color 0.2s ease;
  margin-bottom: 0.5rem;
}

.category-card:hover .category-card-title {
  color: var(--primary);
}

.category-card-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Services Feature Card */
.service-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.service-icon-wrap {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: rgba(47, 107, 60, 0.10);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

/* Services Deliverables Tags Pill */
.deliverables-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.deliverable-pill {
  display: inline-block;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--foreground);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-accordion-wrap {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(239, 236, 230, 0.3);
}

.faq-toggle-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item.is-active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.75rem 1.5rem;
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.faq-item.is-active .faq-answer {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background-color: var(--ink);
  color: var(--cream);
}

.footer-gold-strip {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
}

.footer-newsletter-card {
  margin-bottom: 4rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.03);
  padding: 2.25rem clamp(1.5rem, 4vw, 3rem);
  backdrop-filter: blur(8px);
}

.footer-newsletter-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .footer-newsletter-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.footer-input {
  width: 100%;
  flex: 1;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #FFFFFF !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.25rem !important;
}

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

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
    gap: 3.5rem;
  }
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-links li {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li::marker {
  display: none !important;
  content: "" !important;
}

.footer-links a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF !important;
}

.site-footer .brand-title {
  color: #FFFFFF !important;
}

.site-footer .brand-title span {
  color: var(--accent) !important;
}

.footer-bottom-bar {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================================
   COMMENTS & PAGINATION
   ========================================================================== */

.comments-area {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.comment-list .comment {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
}

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1.5rem;
}

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

.comment-author cite {
  font-weight: 600;
  font-style: normal;
  color: var(--foreground);
}

/* Pagination */
.pagination-container,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 3rem 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Single Post Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent);
  z-index: 999;
  width: 0%;
  transition: width 0.1s ease;
}
