/*
Theme Name: manga18fx
Theme URI: https://manga18fx.example
Author: manga18fx Editorial Team
Author URI: https://manga18fx.example
Description: An all-ages guide to anime and manga culture: genre explainers, beginner guides and plain-English articles about how the medium works. Original editorial content — no streaming, no downloads, no copyrighted chapters.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manga18fx
Tags: blog, news, one-column, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready

manga18fx design system. Deep indigo canvas, coral-orange primary, cyan accent,
warm off-white text. Converted 1:1 from the original Tailwind v4 source with
no visual changes: same tokens, same spacing, same component classes.
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 6px);
  --radius-2xl: calc(var(--radius) + 12px);
  --radius-3xl: calc(var(--radius) + 20px);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --background: oklch(0.19 0.058 276);
  --surface: oklch(0.24 0.055 276);
  --surface-2: oklch(0.29 0.05 276);
  --foreground: oklch(0.962 0.014 85);

  --card: oklch(0.24 0.055 276);
  --card-foreground: oklch(0.962 0.014 85);
  --popover: oklch(0.24 0.055 276);
  --popover-foreground: oklch(0.962 0.014 85);

  --primary: oklch(0.72 0.168 39);
  --primary-foreground: oklch(0.17 0.05 276);
  --secondary: oklch(0.29 0.05 276);
  --secondary-foreground: oklch(0.962 0.014 85);

  --muted: oklch(0.29 0.05 276);
  --muted-foreground: oklch(0.79 0.028 272);

  --accent: oklch(0.82 0.128 205);
  --accent-foreground: oklch(0.17 0.05 276);

  --destructive: oklch(0.68 0.19 25);
  --destructive-foreground: oklch(0.17 0.05 276);

  --border: oklch(0.98 0.01 276 / 14%);
  --input: oklch(0.98 0.01 276 / 20%);
  --ring: oklch(0.82 0.128 205);

  --gradient-hero: linear-gradient(
    135deg,
    oklch(0.19 0.058 276) 0%,
    oklch(0.24 0.08 290) 55%,
    oklch(0.28 0.07 250) 100%
  );
  --gradient-accent: linear-gradient(90deg, var(--primary), var(--accent));
  --shadow-soft: 0 10px 30px -12px oklch(0.1 0.05 276 / 70%);
  --shadow-lift: 0 18px 44px -16px oklch(0.08 0.05 276 / 80%);
}

/* ==========================================================================
   2. Reset / preflight
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border);
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: inherit;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}

img,
video {
  height: auto;
}

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

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  background-color: transparent;
  letter-spacing: inherit;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
  background-color: transparent;
  background-image: none;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: var(--muted-foreground);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

table {
  border-collapse: collapse;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ==========================================================================
   3. Component / layout classes
   ========================================================================== */

.shell {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.surface-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.surface-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: color-mix(in oklab, var(--accent) 45%, transparent);
}

.hero-panel {
  background-image: var(--gradient-hero);
}

.accent-rule {
  background-image: var(--gradient-accent);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: var(--surface-2);
  padding: 0.3rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.pill:hover {
  background-color: color-mix(in oklab, var(--accent) 22%, var(--surface-2));
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.65rem 1.3rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
  padding: 0.65rem 1.3rem;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background-color: var(--surface-2);
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
}

/* Article / long-form content (mirrors .prose-article) */
.prose-article p {
  margin-block: 1rem;
  line-height: 1.75;
  color: color-mix(in oklab, var(--foreground) 92%, transparent);
}

.prose-article h2 {
  margin-block: 2.25rem 0.75rem;
  font-size: 1.6rem;
}

.prose-article h3 {
  margin-block: 1.75rem 0.5rem;
  font-size: 1.25rem;
}

.prose-article ul {
  margin-block: 1rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  list-style: disc;
  color: color-mix(in oklab, var(--foreground) 92%, transparent);
}

.prose-article blockquote {
  margin-block: 1.75rem;
  border-left: 3px solid var(--primary);
  padding: 0.35rem 0 0.35rem 1.1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--foreground);
}

.prose-article figure {
  margin-block: 2rem;
}

.prose-article img {
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  width: 100%;
  height: auto;
}

/* ==========================================================================
   4. Utility classes (hand-compiled from the Tailwind source — only the
      classes actually used by the templates are included)
   ========================================================================== */

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Position */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }

/* Sizing */
.min-h-screen { min-height: 100vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.h-fit { height: fit-content; }
.h-full { height: 100%; }
.h-9 { height: 2.25rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-9 { width: 2.25rem; }
.w-14 { width: 3.5rem; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-\[19rem\] { width: 19rem; }
.min-w-0 { min-width: 0px; }
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Flexbox */
.flex-1 { flex: 1 1 0%; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Grid */
.md\:grid-cols-2,
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:col-span-2 { grid-column: span 2 / span 2; }
.lg\:grid-cols-\[1\.05fr_1fr\] { grid-template-columns: 1.05fr 1fr; }
.lg\:grid-cols-\[18rem_minmax\(0\,1fr\)\] { grid-template-columns: 18rem minmax(0, 1fr); }
.lg\:grid-cols-\[minmax\(0\,1fr\)_18rem\] { grid-template-columns: minmax(0, 1fr) 18rem; }
.lg\:grid-cols-\[minmax\(0\,1fr\)_20rem\] { grid-template-columns: minmax(0, 1fr) 20rem; }
.md\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }

/* Gap */
.gap-0 { gap: 0px; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* Spacing: margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-5 { margin-left: -1.25rem; margin-right: -1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-24 { margin-top: 6rem; }
.mt-auto { margin-top: auto; }

/* Spacing: padding */
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-14 { padding-bottom: 3.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-8 { padding-top: 2rem; }
.px-4.py-2 { padding: 0.5rem 1rem; }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[1\.1\] { line-height: 1.1; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.list-none { list-style: none; }

/* Colors: text */
.text-accent { color: var(--accent); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-destructive { color: var(--destructive); }

/* Colors: background */
.bg-surface { background-color: var(--surface); }
.bg-accent\/20 { background-color: color-mix(in oklab, var(--accent) 20%, transparent); }
.bg-background\/85 { background-color: color-mix(in oklab, var(--background) 85%, transparent); }

/* Borders */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.border-border { border-color: var(--border); }
.border-input { border-color: var(--input); }

/* Radius */
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: 999px; }

/* Shadow */
.shadow-\[var\(--shadow-lift\)\] { box-shadow: var(--shadow-lift); }

/* Object fit / aspect ratio */
.object-cover { object-fit: cover; }
.aspect-\[3\/2\] { aspect-ratio: 3 / 2; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }

/* Effects / transitions / transforms */
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* Scroll snap */
.scroll-mt-24 { scroll-margin-top: 6rem; }
.snap-x.snap-mandatory { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }

/* Misc */
.cursor-pointer { cursor: pointer; }

/* ==========================================================================
   5. States (hover / focus / group / open / first / placeholder)
   ========================================================================== */

.hover\:text-accent:hover { color: var(--accent); }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:bg-surface-2:hover { background-color: var(--surface-2); }
.hover\:underline:hover { text-decoration: underline; }

.focus\:border-accent:focus { border-color: var(--accent); }
.focus\:outline-none:focus { outline: none; }
.placeholder\:text-muted-foreground::placeholder { color: var(--muted-foreground); }

.first\:mt-0:first-child { margin-top: 0; }

details.open\:border-accent\/50[open] { border-color: color-mix(in oklab, var(--accent) 50%, transparent); }

.group:hover .group-hover\:scale-\[1\.03\] { transform: scale(1.03); }
.group[open] .group-open\:rotate-45 { transform: rotate(45deg); }

/* ==========================================================================
   6. Responsive (mobile-first: sm 640px / md 768px / lg 1024px)
   ========================================================================== */

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:inline-flex { display: inline-flex; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-\[1\.4fr_1fr\] { grid-template-columns: 1.4fr 1fr; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:aspect-auto { aspect-ratio: auto; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-9 { padding: 2.25rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.05fr_1fr\] { grid-template-columns: 1.05fr 1fr; }
  .lg\:grid-cols-\[18rem_minmax\(0\,1fr\)\] { grid-template-columns: 18rem minmax(0, 1fr); }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_18rem\] { grid-template-columns: minmax(0, 1fr) 18rem; }
  .lg\:grid-cols-\[minmax\(0\,1fr\)_20rem\] { grid-template-columns: minmax(0, 1fr) 20rem; }
}

/* ==========================================================================
   7. Site chrome (header / footer / nav / forms / blocks not covered by
      generic utilities above)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .shell {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

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

.primary-nav a {
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover {
  background-color: var(--surface-2);
  color: var(--foreground);
}

.primary-nav a.is-active {
  color: var(--accent);
}

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

.icon-btn {
  display: none;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

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

.icon-btn:hover { color: var(--foreground); }

.menu-toggle {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--foreground);
}

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

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.mobile-nav.is-open { display: block; }

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

.mobile-nav .shell {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.75rem;
}

.mobile-nav a.nav-link {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-nav a.nav-link:hover { background-color: var(--surface-2); }

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

.site-footer .footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

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

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

.site-footer h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--foreground);
}

.site-footer ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.site-footer ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom .shell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--foreground); }

/* Form fields (contact page) */
.field-input {
  margin-top: 0.375rem;
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--input);
  background-color: var(--surface);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.field-input::placeholder { color: var(--muted-foreground); }
.field-input:focus { border-color: var(--accent); outline: none; }

.field-error {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: var(--destructive);
}

.form-notice {
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--border));
  background-color: color-mix(in oklab, var(--accent) 10%, transparent);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.form-notice.is-error {
  border-color: color-mix(in oklab, var(--destructive) 40%, var(--border));
  background-color: color-mix(in oklab, var(--destructive) 10%, transparent);
}

/* Honeypot field: hidden from real users, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* FAQ accordion (details/summary) */
.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .faq-icon {
  color: var(--accent);
  transition: transform 0.2s ease;
}

/* Pagination (blog archive) */
.pagination {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  height: 2.25rem;
  min-width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  color: var(--foreground);
}

.pagination a:hover { background-color: var(--surface-2); }
.pagination .current { background-color: var(--primary); color: var(--primary-foreground); border-color: transparent; }

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

/* WP core alignment helpers used by the block editor when editing content */
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
