@charset "UTF-8";
/*!
Theme Name: DFS Templates
Theme URI: https://github.com/softoria/dfs-templates
Author: Dmytro Lobov
Author URI: https://softoria.com/
Description: DFS Templates
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfs-templates
GitHub Update: softoria/dfs-templates
Tags:
*/
/* ==========================================================================
   # Design System - Color Variables (OKLCH)
   Modern, perceptually uniform color system with full accessibility support
   ========================================================================== */
:root, :host {
  /* ==========================================================================
     ## Typography
     ========================================================================== */
  --font-family: "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-heading: var(--font-family);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  /* Responsive font sizes using clamp(min, preferred, max) */
  /* These scale smoothly between mobile and desktop without media queries */
  --font-size-h1: clamp(2rem, 5vw + 1rem, 3rem);
  --font-size-h2: clamp(1.5rem, 4vw + 0.5rem, 2.25rem);
  --font-size-h3: clamp(1.25rem, 3vw + 0.25rem, 1.875rem);
  --font-size-h4: clamp(1.125rem, 2.5vw + 0.25rem, 1.5rem);
  --font-size-h5: clamp(1rem, 2vw + 0.125rem, 1.25rem);
  --font-size-h6: clamp(0.9375rem, 1.5vw + 0.125rem, 1.125rem);
  /* Layout */
  --container-padding: clamp(1rem, 3vw, 3rem);
  --section-padding: clamp(2.5rem, 5vw, 5rem);
  /* Utility font sizes */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-xs: 0.75rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  /* ==========================================================================
     ## Base Color Primitives (OKLCH)
     Full 50-950 scales for predictable, perceptually uniform colors
     ========================================================================== */
  /* --- Neutral Scale (Green-tinted gray, hue 155 — harmonizes with primary) --- */
  --neutral-50: oklch(0.985 0.004 155);
  --neutral-100: oklch(0.960 0.007 155);
  --neutral-200: oklch(0.926 0.010 155);
  --neutral-300: oklch(0.860 0.016 155);
  --neutral-400: oklch(0.710 0.024 155);
  --neutral-500: oklch(0.557 0.028 155);
  --neutral-600: oklch(0.470 0.024 155);
  --neutral-700: oklch(0.390 0.018 155);
  --neutral-800: oklch(0.320 0.014 155);
  --neutral-900: oklch(0.248 0.008 155);
  --neutral-950: oklch(0.180 0.005 155);
  /* --- Primary (Green) Scale — base #B2DD4C --- */
  --primary-50: oklch(0.980 0.030 124);
  --primary-100: oklch(0.955 0.065 124);
  --primary-200: oklch(0.910 0.120 124);
  --primary-300: oklch(0.840 0.176 124); /* #B2DD4C */
  --primary-400: oklch(0.760 0.195 124);
  --primary-500: oklch(0.680 0.200 124);
  --primary-600: oklch(0.600 0.180 124);
  --primary-700: oklch(0.520 0.155 124);
  --primary-800: oklch(0.445 0.125 124);
  --primary-900: oklch(0.375 0.095 124);
  --primary-950: oklch(0.305 0.065 124);
  /* --- Secondary (Blue) Scale — base #0062CE --- */
  --secondary-50: oklch(0.970 0.020 257);
  --secondary-100: oklch(0.940 0.045 257);
  --secondary-200: oklch(0.885 0.095 257);
  --secondary-300: oklch(0.790 0.145 257);
  --secondary-400: oklch(0.690 0.180 257);
  --secondary-500: oklch(0.600 0.195 257);
  --secondary-600: oklch(0.515 0.184 257); /* #0062CE */
  --secondary-700: oklch(0.445 0.160 257);
  --secondary-800: oklch(0.385 0.130 257);
  --secondary-900: oklch(0.330 0.100 257);
  --secondary-950: oklch(0.270 0.070 257);
  /* --- Third (Blue) Scale --- */
  --third-50: oklch(0.970 0.020 240);
  --third-100: oklch(0.940 0.045 240);
  --third-200: oklch(0.890 0.090 240);
  --third-300: oklch(0.785 0.145 240);
  --third-400: oklch(0.680 0.185 240);
  --third-500: oklch(0.600 0.200 240);
  --third-600: oklch(0.530 0.195 240);
  --third-700: oklch(0.470 0.175 240);
  --third-800: oklch(0.415 0.145 240);
  --third-900: oklch(0.360 0.110 240);
  --third-950: oklch(0.295 0.075 240);
  /* --- Success (Lime) Scale --- */
  --success-50: oklch(0.980 0.030 125);
  --success-100: oklch(0.960 0.060 125);
  --success-200: oklch(0.920 0.110 125);
  --success-300: oklch(0.860 0.160 125);
  --success-400: oklch(0.780 0.195 125);
  --success-500: oklch(0.700 0.210 125);
  --success-600: oklch(0.620 0.195 125);
  --success-700: oklch(0.540 0.165 125);
  --success-800: oklch(0.470 0.130 125);
  --success-900: oklch(0.405 0.100 125);
  --success-950: oklch(0.330 0.070 125);
  /* --- Warning (Amber) Scale --- */
  --warning-50: oklch(0.985 0.025 85);
  --warning-100: oklch(0.960 0.055 85);
  --warning-200: oklch(0.920 0.100 85);
  --warning-300: oklch(0.870 0.140 85);
  --warning-400: oklch(0.800 0.165 85);
  --warning-500: oklch(0.735 0.175 85);
  --warning-600: oklch(0.650 0.165 85);
  --warning-700: oklch(0.560 0.140 85);
  --warning-800: oklch(0.485 0.115 85);
  --warning-900: oklch(0.425 0.090 85);
  --warning-950: oklch(0.345 0.065 85);
  /* --- Error/Danger (Red) Scale --- */
  --error-50: oklch(0.975 0.020 25);
  --error-100: oklch(0.950 0.045 25);
  --error-200: oklch(0.910 0.090 25);
  --error-300: oklch(0.835 0.155 25);
  --error-400: oklch(0.730 0.215 25);
  --error-500: oklch(0.640 0.250 25);
  --error-600: oklch(0.565 0.255 25);
  --error-700: oklch(0.495 0.235 25);
  --error-800: oklch(0.435 0.200 25);
  --error-900: oklch(0.380 0.160 25);
  --error-950: oklch(0.305 0.115 25);
  /* --- Info (Cyan) Scale --- */
  --info-50: oklch(0.975 0.020 205);
  --info-100: oklch(0.950 0.040 205);
  --info-200: oklch(0.905 0.075 205);
  --info-300: oklch(0.835 0.115 205);
  --info-400: oklch(0.740 0.145 205);
  --info-500: oklch(0.665 0.155 205);
  --info-600: oklch(0.585 0.150 205);
  --info-700: oklch(0.515 0.130 205);
  --info-800: oklch(0.455 0.105 205);
  --info-900: oklch(0.400 0.082 205);
  --info-950: oklch(0.330 0.058 205);
  /* ==========================================================================
     ## Semantic Color Tokens (Light Theme)
     Context-aware colors that map to primitives
     ========================================================================== */
  /* --- Text Colors --- */
  --text-base: var(--neutral-500); /* #65758B — main-text */
  --text-strong: var(--neutral-900); /* #212121 — title-text */
  --text-muted: var(--neutral-400);
  --text-subtle: var(--neutral-300);
  --text-disabled: var(--neutral-300);
  --text-inverse: oklch(1 0 0);
  --text-on-dark: oklch(1 0 0); /* Always white — for permanently dark sections (topbar, footer, CTA, pre, kbd) */
  --text-link: var(--primary-600);
  --text-link-hover: var(--primary-700);
  --text-success: var(--success-700);
  --text-warning: var(--warning-700);
  --text-error: var(--error-700);
  --text-info: var(--info-700);
  /* --- Background Colors --- */
  --bg-base: oklch(1 0 0);
  --bg-subtle: var(--neutral-50);
  --bg-muted: var(--neutral-100);
  --bg-hover: var(--neutral-200);
  --bg-active: var(--neutral-300);
  --bg-disabled: var(--neutral-100);
  --bg-overlay: oklch(0 0 0 / 0.5);
  --bg-brand: var(--primary-500);
  --bg-brand-hover: var(--primary-600);
  --bg-brand-subtle: var(--primary-50);
  --bg-success-subtle: var(--success-50);
  --bg-warning-subtle: var(--warning-50);
  --bg-error-subtle: var(--error-50);
  --bg-info-subtle: var(--info-50);
  --bg-gradient-start: var(--secondary-50);
  --bg-gradient-mid: var(--neutral-50);
  /* --- Border Colors --- */
  --border-base: var(--neutral-200); /* #E1E7EF — border */
  --border-muted: var(--neutral-100);
  --border-subtle: var(--neutral-50);
  --border-strong: var(--neutral-300);
  --border-hover: var(--neutral-300);
  --border-focus: var(--primary-500);
  --border-disabled: var(--neutral-200);
  --border-success: var(--success-500);
  --border-warning: var(--warning-500);
  --border-error: var(--error-500);
  --border-info: var(--info-500);
  /* --- Surface Colors (Cards, Panels) --- */
  --surface-base: oklch(1 0 0);
  --surface-raised: oklch(1 0 0);
  --surface-overlay: oklch(1 0 0);
  --surface-sunken: var(--neutral-50);
  /* --- Interactive States --- */
  --state-hover-opacity: 0.08;
  --state-active-opacity: 0.12;
  --state-focus-opacity: 0.12;
  --state-disabled-opacity: 0.38;
  /* ==========================================================================
     ## Content/Typography Specific
     ========================================================================== */
  --content-text-color: var(--text-base);
  --content-link-color: var(--text-link);
  --content-link-hover-color: var(--text-link-hover);
  --content-strong-color: var(--text-strong);
  --content-heading-color: var(--text-strong);
  --content-counters-color: var(--text-muted);
  --content-bullets-color: var(--text-muted);
  --content-blockquote-border-color: var(--border-base);
  --content-hr-color: var(--border-muted);
  --content-h1-size: 3rem;
  --content-h2-size: 2.25rem;
  --content-h3-size: 1.5rem;
  --content-h4-size: 1.25rem;
  --content-h5-size: 1.125rem;
  --content-h6-size: 1rem;
  /* ==========================================================================
     ## Shadows (using semantic colors)
     ========================================================================== */
  --shadow-color: var(--neutral-900);
  --shadow-sm: 0 1px 2px oklch(from var(--shadow-color) l c h / 0.05);
  --shadow-md: 0 4px 6px oklch(from var(--shadow-color) l c h / 0.07),
              0 2px 4px oklch(from var(--shadow-color) l c h / 0.06);
  --shadow-lg: 0 10px 15px oklch(from var(--shadow-color) l c h / 0.1),
              0 4px 6px oklch(from var(--shadow-color) l c h / 0.05);
  --shadow-xl: 0 20px 25px oklch(from var(--shadow-color) l c h / 0.1),
              0 10px 10px oklch(from var(--shadow-color) l c h / 0.04);
  --shadow-2xl: 0 25px 50px oklch(from var(--shadow-color) l c h / 0.15);
  /* ==========================================================================
     ## Component Specific Variables
     ========================================================================== */
  /* --- Buttons --- */
  --button-primary-bg: var(--bg-brand);
  --button-primary-bg-hover: var(--bg-brand-hover);
  --button-primary-text: oklch(1 0 0);
  --button-primary-border: var(--primary-500);
  --button-text-light: oklch(1 0 0);
  --button-text-dark: var(--neutral-950);
  /* --- Inputs --- */
  --input-bg: var(--bg-base);
  --input-border: var(--border-base);
  --input-border-hover: var(--border-hover);
  --input-border-focus: var(--border-focus);
  --input-text: var(--text-base);
  --input-placeholder: var(--text-muted);
  /* --- Cards --- */
  --card-bg: var(--surface-base);
  --card-border: var(--border-muted);
  --card-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ## Dark Theme Support
   Automatic dark mode via prefers-color-scheme
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0 solid;
}

html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif);
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

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

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

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace);
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

:-moz-focusring {
  outline: auto;
}

progress {
  vertical-align: baseline;
}

summary {
  display: list-item;
}

ol, ul, menu {
  list-style: none;
}

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

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

button, input, select, optgroup, textarea, ::file-selector-button {
  font: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  letter-spacing: inherit;
  color: inherit;
  border-radius: 0;
  background-color: transparent;
  opacity: 1;
}

:where(select:is([multiple], [size])) optgroup {
  font-weight: bolder;
}

:where(select:is([multiple], [size])) optgroup option {
  padding-inline-start: 20px;
}

::file-selector-button {
  margin-inline-end: 4px;
}

::placeholder {
  opacity: 1;
}

textarea {
  resize: vertical;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-date-and-time-value {
  min-height: 1lh;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
  padding-block: 0;
}

::-webkit-calendar-picker-indicator {
  line-height: 1;
}

:-moz-ui-invalid {
  box-shadow: none;
}

button, input:where([type=button], [type=reset], [type=submit]), ::file-selector-button {
  appearance: button;
}

::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}

[hidden]:where(:not([hidden=until-found])) {
  display: none !important;
}

/* Text selection */
::selection {
  background-color: var(--bg-brand);
  color: var(--text-on-dark);
}

body {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-base);
  background-color: var(--bg-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: 1;
  letter-spacing: -0.0252em;
}

h2 {
  font-size: var(--font-size-h2);
  line-height: 1.2;
}

h3 {
  font-size: var(--font-size-h3);
  line-height: 1.2;
}

h4 {
  font-size: var(--font-size-h4);
  line-height: 1.3;
}

h5 {
  font-size: var(--font-size-h5);
  line-height: 1.4;
}

h6 {
  font-size: var(--font-size-h6);
  line-height: 1.4;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
input[type=url],
input[type=date],
input[type=datetime-local],
input[type=month],
input[type=week],
input[type=time],
input[type=search],
input[type=tel] {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text);
  background-color: var(--input-bg);
  background-clip: padding-box;
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input[type=text]::placeholder,
input[type=password]::placeholder,
input[type=email]::placeholder,
input[type=number]::placeholder,
input[type=url]::placeholder,
input[type=date]::placeholder,
input[type=datetime-local]::placeholder,
input[type=month]::placeholder,
input[type=week]::placeholder,
input[type=time]::placeholder,
input[type=search]::placeholder,
input[type=tel]::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}
input[type=text]:hover:not(:disabled):not(:focus),
input[type=password]:hover:not(:disabled):not(:focus),
input[type=email]:hover:not(:disabled):not(:focus),
input[type=number]:hover:not(:disabled):not(:focus),
input[type=url]:hover:not(:disabled):not(:focus),
input[type=date]:hover:not(:disabled):not(:focus),
input[type=datetime-local]:hover:not(:disabled):not(:focus),
input[type=month]:hover:not(:disabled):not(:focus),
input[type=week]:hover:not(:disabled):not(:focus),
input[type=time]:hover:not(:disabled):not(:focus),
input[type=search]:hover:not(:disabled):not(:focus),
input[type=tel]:hover:not(:disabled):not(:focus) {
  border-color: var(--input-border-hover);
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=url]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=search]:focus,
input[type=tel]:focus {
  color: var(--input-text);
  background-color: var(--input-bg);
  border-color: var(--input-border-focus);
  outline: 0;
  box-shadow: 0 0 0 3px oklch(from var(--input-border-focus) l c h/0.15);
}
input[type=text]:disabled,
input[type=password]:disabled,
input[type=email]:disabled,
input[type=number]:disabled,
input[type=url]:disabled,
input[type=date]:disabled,
input[type=datetime-local]:disabled,
input[type=month]:disabled,
input[type=week]:disabled,
input[type=time]:disabled,
input[type=search]:disabled,
input[type=tel]:disabled {
  background-color: var(--bg-disabled);
  border-color: var(--border-disabled);
  color: var(--text-disabled);
  opacity: 1;
  cursor: not-allowed;
}
input[type=text]:read-only,
input[type=password]:read-only,
input[type=email]:read-only,
input[type=number]:read-only,
input[type=url]:read-only,
input[type=date]:read-only,
input[type=datetime-local]:read-only,
input[type=month]:read-only,
input[type=week]:read-only,
input[type=time]:read-only,
input[type=search]:read-only,
input[type=tel]:read-only {
  background-color: var(--bg-muted);
  border-color: var(--border-muted);
  cursor: default;
}
input[type=text]:invalid, input[type=text][aria-invalid=true],
input[type=password]:invalid,
input[type=password][aria-invalid=true],
input[type=email]:invalid,
input[type=email][aria-invalid=true],
input[type=number]:invalid,
input[type=number][aria-invalid=true],
input[type=url]:invalid,
input[type=url][aria-invalid=true],
input[type=date]:invalid,
input[type=date][aria-invalid=true],
input[type=datetime-local]:invalid,
input[type=datetime-local][aria-invalid=true],
input[type=month]:invalid,
input[type=month][aria-invalid=true],
input[type=week]:invalid,
input[type=week][aria-invalid=true],
input[type=time]:invalid,
input[type=time][aria-invalid=true],
input[type=search]:invalid,
input[type=search][aria-invalid=true],
input[type=tel]:invalid,
input[type=tel][aria-invalid=true] {
  border-color: var(--border-error);
}
input[type=text]:invalid:focus, input[type=text][aria-invalid=true]:focus,
input[type=password]:invalid:focus,
input[type=password][aria-invalid=true]:focus,
input[type=email]:invalid:focus,
input[type=email][aria-invalid=true]:focus,
input[type=number]:invalid:focus,
input[type=number][aria-invalid=true]:focus,
input[type=url]:invalid:focus,
input[type=url][aria-invalid=true]:focus,
input[type=date]:invalid:focus,
input[type=date][aria-invalid=true]:focus,
input[type=datetime-local]:invalid:focus,
input[type=datetime-local][aria-invalid=true]:focus,
input[type=month]:invalid:focus,
input[type=month][aria-invalid=true]:focus,
input[type=week]:invalid:focus,
input[type=week][aria-invalid=true]:focus,
input[type=time]:invalid:focus,
input[type=time][aria-invalid=true]:focus,
input[type=search]:invalid:focus,
input[type=search][aria-invalid=true]:focus,
input[type=tel]:invalid:focus,
input[type=tel][aria-invalid=true]:focus {
  border-color: var(--border-error);
  box-shadow: 0 0 0 3px oklch(from var(--error-500) l c h/0.15);
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

input[type=search]::-webkit-search-decoration, input[type=search]::-webkit-search-cancel-button {
  appearance: none;
}

input[type=date]::-webkit-calendar-picker-indicator,
input[type=datetime-local]::-webkit-calendar-picker-indicator,
input[type=month]::-webkit-calendar-picker-indicator,
input[type=week]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
input[type=date]::-webkit-calendar-picker-indicator:hover,
input[type=datetime-local]::-webkit-calendar-picker-indicator:hover,
input[type=month]::-webkit-calendar-picker-indicator:hover,
input[type=week]::-webkit-calendar-picker-indicator:hover,
input[type=time]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text);
  background-color: var(--input-bg);
  background-clip: padding-box;
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
  appearance: none;
  resize: vertical;
  min-height: 6rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
textarea::placeholder {
  color: var(--input-placeholder);
  opacity: 1;
}
textarea:hover:not(:disabled):not(:focus) {
  border-color: var(--input-border-hover);
}
textarea:focus {
  color: var(--input-text);
  background-color: var(--input-bg);
  border-color: var(--input-border-focus);
  outline: 0;
  box-shadow: 0 0 0 3px oklch(from var(--input-border-focus) l c h/0.15);
}
textarea:disabled {
  background-color: var(--bg-disabled);
  border-color: var(--border-disabled);
  color: var(--text-disabled);
  opacity: 1;
  cursor: not-allowed;
  resize: none;
}
textarea:read-only {
  background-color: var(--bg-muted);
  border-color: var(--border-muted);
  cursor: default;
}
textarea:invalid, textarea[aria-invalid=true] {
  border-color: var(--border-error);
}
textarea:invalid:focus, textarea[aria-invalid=true]:focus {
  border-color: var(--border-error);
  box-shadow: 0 0 0 3px oklch(from var(--error-500) l c h/0.15);
}

select {
  display: block;
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--input-text);
  background-color: var(--input-bg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) {
  select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23aaa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  }
}
select:hover:not(:disabled):not(:focus) {
  border-color: var(--input-border-hover);
}
select:focus {
  border-color: var(--input-border-focus);
  outline: 0;
  box-shadow: 0 0 0 3px oklch(from var(--input-border-focus) l c h/0.15);
}
select:disabled {
  background-color: var(--bg-disabled);
  border-color: var(--border-disabled);
  color: var(--text-disabled);
  opacity: 1;
  cursor: not-allowed;
}
select:invalid, select[aria-invalid=true] {
  border-color: var(--border-error);
}
select:invalid:focus, select[aria-invalid=true]:focus {
  border-color: var(--border-error);
  box-shadow: 0 0 0 3px oklch(from var(--error-500) l c h/0.15);
}
select[multiple] {
  padding-right: 1rem;
  background-image: none;
  min-height: 8rem;
}
select[multiple] option {
  padding: 0.375rem 0.75rem;
}
select[size]:not([size="1"]) {
  padding-right: 1rem;
  background-image: none;
}

input[type=checkbox],
input[type=radio] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1875rem;
  vertical-align: top;
  background-color: var(--input-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid var(--input-border);
  appearance: none;
  print-color-adjust: exact;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
input[type=checkbox]:hover:not(:disabled):not(:checked),
input[type=radio]:hover:not(:disabled):not(:checked) {
  border-color: var(--input-border-hover);
}
input[type=checkbox]:focus,
input[type=radio]:focus {
  border-color: var(--input-border-focus);
  outline: 0;
  box-shadow: 0 0 0 3px oklch(from var(--input-border-focus) l c h/0.15);
}
input[type=checkbox]:checked,
input[type=radio]:checked {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
}
input[type=checkbox]:disabled,
input[type=radio]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
input[type=checkbox]:disabled ~ label,
input[type=radio]:disabled ~ label {
  opacity: 0.5;
  cursor: not-allowed;
}
input[type=checkbox]:invalid, input[type=checkbox][aria-invalid=true],
input[type=radio]:invalid,
input[type=radio][aria-invalid=true] {
  border-color: var(--border-error);
}

input[type=checkbox] {
  border-radius: 0.25rem;
}
input[type=checkbox]:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}
input[type=checkbox]:indeterminate {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

input[type=radio] {
  border-radius: 50%;
}
input[type=radio]:checked {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-base);
  cursor: pointer;
}
label.required::after, label[required]::after {
  content: " *";
  color: var(--error-500);
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.form-check input[type=checkbox],
.form-check input[type=radio] {
  margin-top: 0.1875rem;
}
.form-check label {
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
}
.form-check:last-child {
  margin-bottom: 0;
}

.form-check-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
  margin-bottom: 0;
}

.form-help,
.form-text {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-error,
.form-invalid-feedback {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-error);
  line-height: 1.4;
}

.form-success,
.form-valid-feedback {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--text-success);
  line-height: 1.4;
}

.input-sm,
input.input-sm,
select.input-sm,
textarea.input-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.input-lg,
input.input-lg,
select.input-lg,
textarea.input-lg {
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  border-radius: 0.5rem;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}
.input-group > input,
.input-group > select,
.input-group > textarea {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}
.input-group > :not(:first-child) {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.input-group > :not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-base);
  text-align: center;
  white-space: nowrap;
  background-color: var(--bg-muted);
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: inherit;
  color: var(--text-strong);
}
legend + * {
  clear: left;
}

input[type=file]::file-selector-button {
  padding: 0.5rem 1rem;
  margin-right: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-base);
  background-color: var(--bg-muted);
  border: 1px solid var(--border-base);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
input[type=file]::file-selector-button:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-hover);
}
input[type=file]:disabled::file-selector-button {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type=range] {
  width: 100%;
  height: 1.5rem;
  padding: 0;
  background-color: transparent;
  appearance: none;
  cursor: pointer;
}
input[type=range]:focus {
  outline: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.375rem;
  background-color: var(--border-base);
  border-radius: 0.25rem;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 0.375rem;
  background-color: var(--border-base);
  border-radius: 0.25rem;
}
input[type=range]::-webkit-slider-thumb {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.4375rem;
  background-color: var(--primary-500);
  border: 0;
  border-radius: 50%;
  appearance: none;
  transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}
input[type=range]::-webkit-slider-thumb:hover {
  background-color: var(--primary-600);
  transform: scale(1.1);
}
input[type=range]::-webkit-slider-thumb:active {
  background-color: var(--primary-700);
  transform: scale(0.95);
}
input[type=range]::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--primary-500);
  border: 0;
  border-radius: 50%;
  appearance: none;
  transition: background-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}
input[type=range]::-moz-range-thumb:hover {
  background-color: var(--primary-600);
  transform: scale(1.1);
}
input[type=range]::-moz-range-thumb:active {
  background-color: var(--primary-700);
  transform: scale(0.95);
}
input[type=range]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px oklch(from var(--primary-500) l c h/0.25);
}
input[type=range]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 3px oklch(from var(--primary-500) l c h/0.25);
}

input[type=color] {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.25rem;
  border: 1px solid var(--input-border);
  border-radius: 0.375rem;
  cursor: pointer;
}
input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
input[type=color]::-webkit-color-swatch {
  border: 0;
  border-radius: 0.25rem;
}
input[type=color]::-moz-color-swatch {
  border: 0;
  border-radius: 0.25rem;
}
input[type=color]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

progress {
  display: block;
  width: 100%;
  height: 1.5rem;
  overflow: hidden;
  appearance: none;
  border: 0;
  border-radius: 0.375rem;
  background-color: var(--bg-muted);
}
progress::-webkit-progress-bar {
  background-color: var(--bg-muted);
  border-radius: 0.375rem;
}
progress::-webkit-progress-value {
  background-color: var(--primary-500);
  border-radius: 0.375rem;
  transition: width 0.3s ease;
}
progress::-moz-progress-bar {
  background-color: var(--primary-500);
  border-radius: 0.375rem;
  transition: width 0.3s ease;
}
progress:indeterminate {
  background: linear-gradient(90deg, var(--bg-muted) 0%, var(--bg-muted) 30%, var(--bg-brand) 30%, var(--bg-brand) 70%, var(--bg-muted) 70%, var(--bg-muted) 100%);
  background-size: 200% 100%;
  animation: progress-indeterminate 1.5s linear infinite;
}
@keyframes progress-indeterminate {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

progress.progress-success::-webkit-progress-value {
  background-color: var(--success-500);
}
progress.progress-success::-moz-progress-bar {
  background-color: var(--success-500);
}

progress.progress-warning::-webkit-progress-value {
  background-color: var(--warning-500);
}
progress.progress-warning::-moz-progress-bar {
  background-color: var(--warning-500);
}

progress.progress-error::-webkit-progress-value {
  background-color: var(--error-500);
}
progress.progress-error::-moz-progress-bar {
  background-color: var(--error-500);
}

meter {
  display: block;
  width: 100%;
  height: 1.5rem;
  appearance: none;
  border: 0;
  border-radius: 0.375rem;
  background-color: var(--bg-muted);
}
meter::-webkit-meter-bar {
  background-color: var(--bg-muted);
  border-radius: 0.375rem;
}
meter::-webkit-meter-optimum-value {
  background-color: var(--success-500);
  border-radius: 0.375rem;
}
meter::-webkit-meter-suboptimum-value {
  background-color: var(--warning-500);
  border-radius: 0.375rem;
}
meter::-webkit-meter-even-less-good-value {
  background-color: var(--error-500);
  border-radius: 0.375rem;
}
meter::-moz-meter-bar {
  background-color: var(--success-500);
  border-radius: 0.375rem;
}
meter:-moz-meter-optimum::-moz-meter-bar {
  background-color: var(--success-500);
}
meter:-moz-meter-sub-optimum::-moz-meter-bar {
  background-color: var(--warning-500);
}
meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
  background-color: var(--error-500);
}

output {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-base);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-base);
  border-radius: 0.375rem;
}

input[list]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
input[list]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-base);
}
.content > :first-child {
  margin-top: 0;
}
.content :where(p) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  line-height: 1.6;
}
.content :where(a:not([class])) {
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 150ms ease;
}
.content :where(a:not([class])):hover {
  color: var(--text-link-hover);
  text-decoration-thickness: 2px;
}
.content :where(strong, b) {
  color: var(--text-strong);
  font-weight: 600;
}
.content :where(em, i) {
  font-style: italic;
}
.content :where(a strong) {
  color: inherit;
}
.content :where(blockquote strong) {
  color: inherit;
}
.content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--text-strong);
  overflow-wrap: break-word;
  margin-top: 0;
}
.content :where(h1, h2, h3, h4, h5, h6)[id] {
  scroll-margin-top: 6rem;
}
.content :where(h1) {
  font-size: var(--content-h1-size);
  line-height: 1;
  letter-spacing: -0.0252em;
  font-weight: 700;
  margin-bottom: 1rem;
}
.content :where(h1 strong) {
  font-weight: 700;
  color: inherit;
}
.content :where(h2) {
  font-size: var(--content-h2-size);
  line-height: 1.2;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: 1em;
}
.content :where(h2 strong) {
  font-weight: 700;
  color: inherit;
}
.content :where(h3) {
  font-size: var(--content-h3-size);
  line-height: 1.2;
  font-weight: 700;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.content :where(h3 strong) {
  font-weight: 700;
  color: inherit;
}
.content :where(h4) {
  font-size: var(--content-h4-size);
  line-height: 1.4;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.content :where(h4 strong) {
  font-weight: 700;
  color: inherit;
}
.content :where(h5) {
  font-size: var(--content-h5-size);
  line-height: 1.5;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.content :where(h6) {
  font-size: var(--content-h6-size);
  line-height: 1.5;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.content :where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {
  margin-top: 0;
}
.content :where(ol) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}
.content :where(ol[type=A]) {
  list-style-type: upper-alpha;
}
.content :where(ol[type=a]) {
  list-style-type: lower-alpha;
}
.content :where(ol[type=I]) {
  list-style-type: upper-roman;
}
.content :where(ol[type=i]) {
  list-style-type: lower-roman;
}
.content :where(ol[type="1"]) {
  list-style-type: decimal;
}
.content :where(ul) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}
.content :where(li) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.6;
}
.content :where(ol > li) {
  padding-inline-start: 0.375em;
}
.content :where(ul > li) {
  padding-inline-start: 0.375em;
}
.content :where(ol > li)::marker {
  font-weight: 400;
  color: var(--text-muted);
}
.content :where(ul > li)::marker {
  color: var(--text-subtle);
}
.content :where(ul ul, ul ol, ol ul, ol ol) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.content :where(.prose > ul > li p) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.content :where(.prose > ul > li > p:first-child) {
  margin-top: 1.25em;
}
.content :where(.prose > ul > li > p:last-child) {
  margin-bottom: 1.25em;
}
.content :where(.prose > ol > li > p:first-child) {
  margin-top: 1.25em;
}
.content :where(.prose > ol > li > p:last-child) {
  margin-bottom: 1.25em;
}
.content :where(dl) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.content :where(dt) {
  color: var(--text-strong);
  font-weight: 600;
  margin-top: 1.25em;
}
.content :where(dd) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}
.content :where(blockquote) {
  font-weight: 400;
  font-style: italic;
  color: var(--text-base);
  border-inline-start: 4px solid var(--border-muted);
  quotes: "“" "”" "‘" "’";
  margin-block: 1.6em;
  padding-inline-start: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.content :where(blockquote p:first-of-type)::before {
  content: open-quote;
}
.content :where(blockquote p:last-of-type)::after {
  content: close-quote;
}
.content :where(blockquote cite) {
  display: block;
  margin-top: 0.5em;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text-muted);
}
.content :where(blockquote cite)::before {
  content: "— ";
}
.content :where(code) {
  font-family: var(--font-mono, monospace);
  background-color: var(--bg-muted);
  color: var(--text-strong);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-weight: 500;
}
.content :where(code)::before {
  content: "`";
}
.content :where(code)::after {
  content: "`";
}
.content :where(a code) {
  color: inherit;
}
.content :where(h1 code) {
  color: inherit;
}
.content :where(h2 code) {
  color: inherit;
  font-size: 0.875em;
}
.content :where(h3 code) {
  color: inherit;
  font-size: 0.9em;
}
.content :where(h4 code) {
  color: inherit;
}
.content :where(blockquote code) {
  color: inherit;
}
.content :where(thead th code) {
  color: inherit;
}
.content :where(kbd) {
  font-family: var(--font-mono, monospace);
  font-weight: 500;
  background-color: var(--surface-raised);
  color: var(--text-on-dark);
  border: 1px solid var(--border-base);
  box-shadow: 0 2px 0 var(--border-base);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding: 0.1875em 0.5em;
}
.content :where(pre) {
  font-family: var(--font-mono, monospace);
  color: var(--text-on-dark);
  background-color: var(--surface-sunken);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.25rem;
  padding: 1rem 1.25rem;
}
.content :where(pre code) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
.content :where(pre code)::before {
  content: none;
}
.content :where(pre code)::after {
  content: none;
}
.content :where(hr) {
  border: 0;
  border-block-start: 1px solid var(--border-muted);
  margin-block: 3rem;
}
.content :where(hr + *) {
  margin-top: 0;
}
.content :where(mark) {
  background: var(--bg-warning-subtle);
  color: var(--text-warning);
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}
.content :target {
  background: var(--bg-muted);
  transition: background 0.5s ease;
  margin-inline: -1rem;
  padding-inline: 1rem;
  border-radius: 0.25rem;
  animation: target-fade 2s ease forwards;
}
@keyframes target-fade {
  0% {
    background: var(--bg-muted);
  }
  100% {
    background: transparent;
  }
}
.content :where(img) {
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.25rem;
}
.content :where(picture) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}
.content :where(picture > img) {
  margin-top: 0;
  margin-bottom: 0;
}
.content :where(video) {
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.25rem;
}
.content :where(figure) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.content :where(figure > *) {
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0.25rem;
}
.content :where(figcaption) {
  color: var(--text-muted);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.content :where(table) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
  border-collapse: collapse;
}
.content :where(thead) {
  border-bottom: 1px solid var(--border-muted);
}
.content :where(thead th) {
  color: var(--text-strong);
  font-weight: 600;
  vertical-align: bottom;
  padding: 0.5714286em;
}
.content :where(thead th:first-child) {
  padding-inline-start: 0;
}
.content :where(thead th:last-child) {
  padding-inline-end: 0;
}
.content :where(thead th strong) {
  color: inherit;
}
.content :where(tbody tr) {
  border-bottom: 1px solid var(--border-muted);
}
.content :where(tbody tr:last-child) {
  border-bottom-width: 0;
}
.content :where(tbody td) {
  vertical-align: baseline;
  padding: 0.5714286em;
}
.content :where(tbody td:first-child) {
  padding-inline-start: 0;
}
.content :where(tbody td:last-child) {
  padding-inline-end: 0;
}
.content :where(tfoot) {
  border-top: 1px solid var(--border-muted);
}
.content :where(tfoot td) {
  vertical-align: top;
  padding: 0.5714286em;
}
.content :where(tfoot td:first-child) {
  padding-inline-start: 0;
}
.content :where(tfoot td:last-child) {
  padding-inline-end: 0;
}
.content :where(th, td) {
  text-align: start;
}
.content :where(.prose > :first-child) {
  margin-top: 0;
}
.content :where(.prose > :last-child) {
  margin-bottom: 0;
}
.content :where(.lead) {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-strong);
  margin-bottom: 1.5em;
}
.content :where(small) {
  font-size: 0.875rem;
  line-height: 1.5;
}
.content :where(abbr[title]) {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  cursor: help;
  border-bottom: none;
}
.content :where(sub, sup) {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.content :where(sub) {
  bottom: -0.25em;
}
.content :where(sup) {
  top: -0.5em;
}
.content :where(del) {
  text-decoration: line-through;
  color: var(--text-error);
  background-color: var(--bg-error-subtle);
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}
.content :where(ins) {
  text-decoration: underline;
  color: var(--text-success);
  background-color: var(--bg-success-subtle);
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}
.content :where(time) {
  font-variant-numeric: tabular-nums;
}
.content :where(q) {
  font-style: italic;
  quotes: "“" "”" "‘" "’";
}
.content :where(q)::before {
  content: open-quote;
}
.content :where(q)::after {
  content: close-quote;
}
.content :where(samp) {
  font-family: var(--font-mono, monospace);
  background-color: var(--bg-muted);
  color: var(--text-base);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}
.content :where(var) {
  font-family: var(--font-mono, monospace);
  font-style: italic;
  color: var(--secondary-500);
  font-weight: 500;
}
.content :where(address) {
  font-style: normal;
  line-height: 1.75;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.content :where(address) a {
  color: var(--text-link);
  text-decoration: underline;
}
.content :where(address) a:hover {
  color: var(--text-link-hover);
}
.content :where(details) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding: 1rem;
  border: 1px solid var(--border-muted);
  border-radius: 0.5rem;
  background-color: var(--bg-subtle);
}
.content :where(summary) {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  user-select: none;
  padding: 0.5rem;
  margin: -0.5rem;
  border-radius: 0.25rem;
  transition: background-color 150ms ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.content :where(summary):hover {
  background-color: var(--bg-hover);
}
.content :where(summary)::marker {
  content: "";
}
.content :where(summary)::before {
  content: "▶";
  display: inline-block;
  transition: transform 200ms ease;
  font-size: 0.75em;
  color: var(--text-muted);
}
.content :where(details[open] > summary::before) {
  transform: rotate(90deg);
}
.content :where(details[open]) {
  border-color: var(--border-focus);
  background-color: var(--bg-brand-subtle);
}
.content :where(details > :not(summary)) {
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

:focus:not(:focus-visible) {
  outline: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideInDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideOutUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes slideOutDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}
@keyframes collapseIn {
  from {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
  to {
    opacity: 1;
    max-height: var(--collapse-height, 50rem);
    overflow: hidden;
  }
}
@keyframes collapseOut {
  from {
    opacity: 1;
    max-height: var(--collapse-height, 50rem);
    overflow: hidden;
  }
  to {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-0.25rem);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(0.25rem);
  }
}
@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.duration-100 {
  animation-duration: 100ms;
}

.duration-200 {
  animation-duration: 200ms;
}

.duration-300 {
  animation-duration: 300ms;
}

.duration-500 {
  animation-duration: 500ms;
}

.duration-700 {
  animation-duration: 700ms;
}

.duration-1000 {
  animation-duration: 1000ms;
}

.ease-linear {
  animation-timing-function: linear;
}

.ease-in {
  animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.ease-out {
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.delay-100 {
  animation-delay: 100ms;
}

.delay-200 {
  animation-delay: 200ms;
}

.delay-300 {
  animation-delay: 300ms;
}

.delay-500 {
  animation-delay: 500ms;
}

.fill-forwards {
  animation-fill-mode: forwards;
}

.fill-both {
  animation-fill-mode: both;
}

.animate-fadeIn {
  animation: fadeIn 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-fadeOut {
  animation: fadeOut 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

.animate-fadeInUp {
  animation: fadeInUp 400ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-fadeInDown {
  animation: fadeInDown 400ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-fadeInLeft {
  animation: fadeInLeft 400ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-fadeInRight {
  animation: fadeInRight 400ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-scaleIn {
  animation: scaleIn 200ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-scaleOut {
  animation: scaleOut 200ms cubic-bezier(0.4, 0, 1, 1) both;
}

.animate-slideInUp {
  animation: slideInUp 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-slideInDown {
  animation: slideInDown 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-slideInLeft {
  animation: slideInLeft 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-slideInRight {
  animation: slideInRight 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-slideOutUp {
  animation: slideOutUp 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

.animate-slideOutDown {
  animation: slideOutDown 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

.animate-collapseIn {
  animation: collapseIn 300ms cubic-bezier(0, 0, 0.2, 1) both;
}

.animate-collapseOut {
  animation: collapseOut 300ms cubic-bezier(0.4, 0, 1, 1) both;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-shake {
  animation: shake 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-skeleton {
  background: linear-gradient(90deg, var(--bg-muted) 25%, var(--bg-subtle) 50%, var(--bg-muted) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s linear infinite;
  border-radius: 0.25rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.screen-reader-text:hover, .screen-reader-text:active, .screen-reader-text:focus {
  position: static;
  overflow: visible;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 15px 23px 14px;
  z-index: 100000;
  background-color: var(--bg-base);
  box-shadow: 0 0 2px 2px oklch(from var(--shadow-color) l c h/0.6);
  color: var(--text-base);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875em;
  line-height: normal;
  border-radius: 3px;
}

.alignleft {
  float: left;
  margin-inline-end: 1.5rem;
}

.alignright {
  float: right;
  margin-inline-start: 1.5rem;
}

.aligncenter {
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.clearfix:before,
.clearfix:after,
.comment-navigation:before,
.comment-navigation:after {
  display: table;
  content: "";
}

.clearfix:after,
.post-navigation .nav-links:after,
.comment-navigation:after {
  clear: both;
}

.wp-caption {
  margin-top: 2em;
  margin-bottom: 2em;
}

.wp-caption-text {
  color: var(--text-muted);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: left;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

.navigation.pagination {
  margin: 2rem 0;
}
.navigation.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border-base);
  border-radius: 0.375rem;
  font-size: var(--font-size-sm);
  text-decoration: none;
  color: var(--text-base);
  background-color: var(--bg-base);
}
@media (hover: hover) and (pointer: fine) {
  .navigation.pagination .page-numbers:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-hover);
  }
}
.navigation.pagination .page-numbers.current {
  background-color: var(--bg-brand);
  border-color: var(--bg-brand);
  color: var(--text-on-dark);
  font-weight: 600;
}
.navigation.pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
}
.navigation.pagination .page-numbers.prev, .navigation.pagination .page-numbers.next {
  font-weight: 500;
}

.widget-area {
  display: grid;
  gap: 2rem;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget li {
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.widget li:last-child {
  border-bottom: none;
}
.widget a {
  color: var(--text-base);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .widget a:hover {
    color: var(--text-link-hover);
  }
}
.widget select {
  width: 100%;
}

.widget-title {
  font-size: var(--font-size-lg);
  margin-bottom: 0.75rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}
.search-form .search-field {
  flex: 1;
  min-width: 0;
}
.search-form .search-submit {
  flex-shrink: 0;
}

.tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}
.tagcloud a {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border-base);
  border-radius: 0.25rem;
  font-size: var(--font-size-sm) !important;
  line-height: 1.5;
  color: var(--text-base);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .tagcloud a:hover {
    background-color: var(--bg-hover);
    border-color: var(--border-hover);
  }
}

.wp-calendar-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.wp-calendar-table caption {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.wp-calendar-table th,
.wp-calendar-table td {
  padding: 0.375rem;
}
.wp-calendar-table th {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.wp-calendar-table td a {
  font-weight: 600;
}
.wp-calendar-table #today {
  background-color: var(--bg-muted);
  border-radius: 0.25rem;
}

.wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: var(--font-size-sm);
}

.post-password-form {
  max-width: 480px;
  margin: 2rem 0;
}
.post-password-form p {
  margin-bottom: 1rem;
}
.post-password-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.post-password-form input[type=password] {
  margin-bottom: 1rem;
}
.post-password-form input[type=submit] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-on-dark);
  background-color: var(--bg-brand);
  border: 1px solid var(--bg-brand);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .post-password-form input[type=submit]:hover {
    background-color: var(--bg-brand-hover);
  }
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site__header {
  flex-shrink: 0;
}
.site__content {
  flex: 1 0 auto;
}
.site__footer {
  flex-shrink: 0;
}

.site-main {
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-mid) 50%, var(--bg-base) 100%);
}

section {
  padding-block: var(--section-padding);
}
section--sm {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
section--lg {
  padding-block: clamp(4rem, 8vw, 8rem);
}
section--none {
  padding-block: 0;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}
.container--small {
  max-width: 48rem;
}
.container--medium {
  max-width: 64rem;
}
.container--large {
  max-width: 96rem;
}
.container--full {
  max-width: none;
}
.container--fluid {
  padding-inline: 0;
}

.layout-with-sidebar {
  display: flex;
  gap: 3rem;
  padding-bottom: 5rem;
}
@media (max-width: 63.98rem) {
  .layout-with-sidebar {
    flex-direction: column;
    gap: 2rem;
  }
}

.content-area {
  flex: 1;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 0.5rem 0;
  gap: 1.5rem;
}
@media (max-width: 47.98rem) {
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
.filter-bar__dropdowns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 47.98rem) {
  .filter-bar__dropdowns {
    display: flex;
    width: 100%;
  }
}
.filter-bar__results {
  font-size: 0.875rem;
  color: var(--text-strong);
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
}
@media (max-width: 47.98rem) {
  .filter-bar__results {
    margin-left: 0;
  }
}

.form-select {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid var(--border-base);
  border-radius: 8px;
  background-color: var(--bg-base);
  color: var(--text-base);
  font-size: 0.875rem;
  font-weight: 500;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2365758B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  cursor: pointer;
  width: auto;
}
.form-select:focus {
  outline: none;
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px oklch(from var(--primary-300) l c h/0.15);
}

.load-more {
  text-align: center;
  margin-top: 4rem;
}
.load-more .btn {
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
}

body.filter-open {
  overflow: hidden;
}

.filter-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
@media (min-width: 48rem) {
  .filter-popup {
    display: none !important;
  }
}
.filter-popup.is-active {
  display: block;
}
.filter-popup__backdrop {
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
}
.filter-popup__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -4px 0 24px oklch(from var(--shadow-color) l c h/0.12);
}
.filter-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-base);
}
.filter-popup__header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}
.filter-popup__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border-base);
  border-radius: 8px;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.filter-popup__close:hover {
  background: var(--bg-subtle);
  color: var(--text-strong);
}
.filter-popup__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.filter-popup__selects {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.filter-popup__selects .form-select {
  width: 100%;
}

button,
input[type=button],
input[type=submit],
input[type=reset] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.75em 1.5em;
  border-radius: 0.5em;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-base);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: var(--bg-base);
  color: var(--text-base);
  font-family: inherit;
}
button:hover,
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-focus);
  box-shadow: 0 2px 8px oklch(from var(--shadow-color) l c h/0.1);
}
button:active,
input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
  transform: translateY(1px);
  box-shadow: 0 1px 4px oklch(from var(--shadow-color) l c h/0.1);
}
button:disabled,
input[type=button]:disabled,
input[type=submit]:disabled,
input[type=reset]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
button:focus-visible,
input[type=button]:focus-visible,
input[type=submit]:focus-visible,
input[type=reset]:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em 2.5em;
  border-radius: 0.5em;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  overflow: hidden;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: oklch(from var(--bg-base) l c h/0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 0;
  height: 0;
  background: linear-gradient(90deg, transparent, oklch(from var(--bg-base) l c h/0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px oklch(from var(--shadow-color) l c h/0.15);
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn:hover::after {
  left: 100%;
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px oklch(from var(--shadow-color) l c h/0.1);
}
.btn--primary {
  background-color: var(--primary-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--primary-500) l c h/0.3);
}
.btn--primary:hover {
  background-color: var(--primary-700);
  box-shadow: 0 8px 24px oklch(from var(--primary-500) l c h/0.4);
}
.btn--primary:active {
  box-shadow: 0 2px 8px oklch(from var(--primary-500) l c h/0.3);
}
.btn--light {
  background-color: var(--primary-50);
  color: var(--primary-500);
  box-shadow: 0 2px 8px oklch(from var(--primary-500) l c h/0.1);
}
.btn--light::before {
  background: oklch(from var(--primary-500) l c h/0.1);
}
.btn--light:hover {
  color: var(--button-text-light);
  background-color: var(--primary-700);
  box-shadow: 0 6px 16px oklch(from var(--primary-500) l c h/0.3);
}
.btn--light:active {
  box-shadow: 0 2px 6px oklch(from var(--primary-500) l c h/0.2);
}
.btn--secondary {
  background-color: var(--secondary-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--secondary-500) l c h/0.3);
}
.btn--secondary:hover {
  background-color: var(--secondary-600);
  box-shadow: 0 8px 24px oklch(from var(--secondary-500) l c h/0.4);
}
.btn--secondary:active {
  box-shadow: 0 2px 8px oklch(from var(--secondary-500) l c h/0.3);
}
.btn--outline, .btn--outline-primary {
  background-color: transparent;
  color: var(--primary-500);
  border: 2px solid var(--primary-500);
  box-shadow: none;
}
.btn--outline::before, .btn--outline-primary::before {
  background: var(--primary-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline:hover, .btn--outline-primary:hover {
  color: var(--button-text-light);
  border-color: var(--primary-700);
  box-shadow: 0 6px 16px oklch(from var(--primary-500) l c h/0.2);
}
.btn--outline:hover::before, .btn--outline-primary:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline:active, .btn--outline-primary:active {
  box-shadow: 0 2px 6px oklch(from var(--primary-500) l c h/0.15);
}
.btn--outline-secondary {
  background-color: transparent;
  color: var(--secondary-500);
  border: 2px solid var(--secondary-500);
  box-shadow: none;
}
.btn--outline-secondary::before {
  background: var(--secondary-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-secondary:hover {
  color: var(--button-text-light);
  border-color: var(--secondary-700);
  box-shadow: 0 6px 16px oklch(from var(--secondary-500) l c h/0.2);
}
.btn--outline-secondary:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-secondary:active {
  box-shadow: 0 2px 6px oklch(from var(--secondary-500) l c h/0.15);
}
.btn--outline-success {
  background-color: transparent;
  color: var(--success-500);
  border: 2px solid var(--success-500);
  box-shadow: none;
}
.btn--outline-success::before {
  background: var(--success-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-success:hover {
  color: var(--button-text-light);
  border-color: var(--success-700);
  box-shadow: 0 6px 16px oklch(from var(--success-500) l c h/0.2);
}
.btn--outline-success:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-success:active {
  box-shadow: 0 2px 6px oklch(from var(--success-500) l c h/0.15);
}
.btn--outline-warning {
  background-color: transparent;
  color: var(--warning-600);
  border: 2px solid var(--warning-500);
  box-shadow: none;
}
.btn--outline-warning::before {
  background: var(--warning-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-warning:hover {
  color: var(--button-text-dark);
  border-color: var(--warning-600);
  box-shadow: 0 6px 16px oklch(from var(--warning-500) l c h/0.2);
}
.btn--outline-warning:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-warning:active {
  box-shadow: 0 2px 6px oklch(from var(--warning-500) l c h/0.15);
}
.btn--outline-error, .btn--outline-danger {
  background-color: transparent;
  color: var(--error-500);
  border: 2px solid var(--error-500);
  box-shadow: none;
}
.btn--outline-error::before, .btn--outline-danger::before {
  background: var(--error-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-error:hover, .btn--outline-danger:hover {
  color: var(--button-text-light);
  border-color: var(--error-700);
  box-shadow: 0 6px 16px oklch(from var(--error-500) l c h/0.2);
}
.btn--outline-error:hover::before, .btn--outline-danger:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-error:active, .btn--outline-danger:active {
  box-shadow: 0 2px 6px oklch(from var(--error-500) l c h/0.15);
}
.btn--outline-info {
  background-color: transparent;
  color: var(--info-500);
  border: 2px solid var(--info-500);
  box-shadow: none;
}
.btn--outline-info::before {
  background: var(--info-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-info:hover {
  color: var(--button-text-light);
  border-color: var(--info-700);
  box-shadow: 0 6px 16px oklch(from var(--info-500) l c h/0.2);
}
.btn--outline-info:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-info:active {
  box-shadow: 0 2px 6px oklch(from var(--info-500) l c h/0.15);
}
.btn--outline-neutral {
  background-color: transparent;
  color: var(--text-base);
  border: 2px solid var(--border-strong);
  box-shadow: none;
}
.btn--outline-neutral::before {
  background: var(--neutral-500);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-neutral:hover {
  color: var(--button-text-light);
  border-color: var(--neutral-600);
  box-shadow: 0 6px 16px oklch(from var(--neutral-500) l c h/0.2);
}
.btn--outline-neutral:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-neutral:active {
  box-shadow: 0 2px 6px oklch(from var(--neutral-500) l c h/0.15);
}
.btn--outline-dark {
  background-color: transparent;
  color: var(--text-strong);
  border: 2px solid var(--text-strong);
  box-shadow: none;
}
.btn--outline-dark::before {
  background: var(--neutral-900);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), height 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.btn--outline-dark:hover {
  color: var(--button-text-light);
  border-color: var(--neutral-950);
  box-shadow: 0 6px 16px oklch(from var(--neutral-900) l c h/0.2);
}
.btn--outline-dark:hover::before {
  opacity: 1;
  width: 100%;
  height: 100%;
}
.btn--outline-dark:active {
  box-shadow: 0 2px 6px oklch(from var(--neutral-900) l c h/0.15);
}
.btn--success {
  background-color: var(--success-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--success-500) l c h/0.3);
}
.btn--success:hover {
  background-color: var(--success-600);
  box-shadow: 0 8px 24px oklch(from var(--success-500) l c h/0.4);
}
.btn--success:active {
  box-shadow: 0 2px 8px oklch(from var(--success-500) l c h/0.3);
}
.btn--warning {
  background-color: var(--warning-500);
  color: var(--button-text-dark);
  box-shadow: 0 4px 12px oklch(from var(--warning-500) l c h/0.3);
}
.btn--warning:hover {
  background-color: var(--warning-600);
  box-shadow: 0 8px 24px oklch(from var(--warning-500) l c h/0.4);
}
.btn--warning:active {
  box-shadow: 0 2px 8px oklch(from var(--warning-500) l c h/0.3);
}
.btn--error, .btn--danger {
  background-color: var(--error-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--error-500) l c h/0.3);
}
.btn--error:hover, .btn--danger:hover {
  background-color: var(--error-600);
  box-shadow: 0 8px 24px oklch(from var(--error-500) l c h/0.4);
}
.btn--error:active, .btn--danger:active {
  box-shadow: 0 2px 8px oklch(from var(--error-500) l c h/0.3);
}
.btn--info {
  background-color: var(--info-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--info-500) l c h/0.3);
}
.btn--info:hover {
  background-color: var(--info-600);
  box-shadow: 0 8px 24px oklch(from var(--info-500) l c h/0.4);
}
.btn--info:active {
  box-shadow: 0 2px 8px oklch(from var(--info-500) l c h/0.3);
}
.btn--neutral {
  background-color: var(--neutral-500);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--neutral-500) l c h/0.3);
}
.btn--neutral:hover {
  background-color: var(--neutral-600);
  box-shadow: 0 8px 24px oklch(from var(--neutral-500) l c h/0.4);
}
.btn--neutral:active {
  box-shadow: 0 2px 8px oklch(from var(--neutral-500) l c h/0.3);
}
.btn--dark {
  background-color: var(--neutral-900);
  color: var(--button-text-light);
  box-shadow: 0 4px 12px oklch(from var(--neutral-900) l c h/0.3);
}
.btn--dark:hover {
  background-color: var(--neutral-950);
  box-shadow: 0 8px 24px oklch(from var(--neutral-900) l c h/0.4);
}
.btn--dark:active {
  box-shadow: 0 2px 8px oklch(from var(--neutral-900) l c h/0.3);
}
.btn--white {
  background-color: var(--button-text-light);
  color: var(--button-text-dark);
  box-shadow: 0 4px 12px oklch(from var(--shadow-color) l c h/0.1);
}
.btn--white:hover {
  background-color: var(--neutral-50);
  box-shadow: 0 8px 24px oklch(from var(--shadow-color) l c h/0.15);
}
.btn--white:active {
  box-shadow: 0 2px 8px oklch(from var(--shadow-color) l c h/0.1);
}
.btn--sm {
  padding: 0.5em 1.5em;
  font-size: 0.75rem;
}
.btn--lg {
  padding: 1.25em 3em;
  font-size: 1rem;
}
.btn--ghost-primary, .btn--ghost {
  background-color: transparent;
  color: var(--primary-500);
  border: none;
  box-shadow: none;
}
.btn--ghost-primary:hover, .btn--ghost:hover {
  background-color: var(--primary-50);
  box-shadow: none;
}
.btn--ghost-primary:active, .btn--ghost:active {
  background-color: var(--primary-100);
}
.btn--ghost-secondary {
  background-color: transparent;
  color: var(--secondary-500);
  border: none;
  box-shadow: none;
}
.btn--ghost-secondary:hover {
  background-color: var(--secondary-50);
  box-shadow: none;
}
.btn--ghost-secondary:active {
  background-color: var(--secondary-100);
}
.btn--ghost-success {
  background-color: transparent;
  color: var(--success-600);
  border: none;
  box-shadow: none;
}
.btn--ghost-success:hover {
  background-color: var(--success-50);
  box-shadow: none;
}
.btn--ghost-success:active {
  background-color: var(--success-100);
}
.btn--ghost-warning {
  background-color: transparent;
  color: var(--warning-700);
  border: none;
  box-shadow: none;
}
.btn--ghost-warning:hover {
  background-color: var(--warning-50);
  box-shadow: none;
}
.btn--ghost-warning:active {
  background-color: var(--warning-100);
}
.btn--ghost-error, .btn--ghost-danger {
  background-color: transparent;
  color: var(--error-600);
  border: none;
  box-shadow: none;
}
.btn--ghost-error:hover, .btn--ghost-danger:hover {
  background-color: var(--error-50);
  box-shadow: none;
}
.btn--ghost-error:active, .btn--ghost-danger:active {
  background-color: var(--error-100);
}
.btn--ghost-info {
  background-color: transparent;
  color: var(--info-600);
  border: none;
  box-shadow: none;
}
.btn--ghost-info:hover {
  background-color: var(--info-50);
  box-shadow: none;
}
.btn--ghost-info:active {
  background-color: var(--info-100);
}
.btn--ghost-neutral {
  background-color: transparent;
  color: var(--text-base);
  border: none;
  box-shadow: none;
}
.btn--ghost-neutral:hover {
  background-color: var(--bg-subtle);
  box-shadow: none;
}
.btn--ghost-neutral:active {
  background-color: var(--bg-muted);
}
.btn--ghost-dark {
  background-color: transparent;
  color: var(--text-strong);
  border: none;
  box-shadow: none;
}
.btn--ghost-dark:hover {
  background-color: var(--bg-muted);
  box-shadow: none;
}
.btn--ghost-dark:active {
  background-color: var(--bg-hover);
}
.btn--block, .btn--full {
  width: 100%;
  display: flex;
}
.btn--icon-only {
  padding: 0.625em;
  aspect-ratio: 1;
  min-width: auto;
  font-size: 1.25rem;
}
.btn--icon-only > svg,
.btn--icon-only > i,
.btn--icon-only > .icon,
.btn--icon-only > .btn__icon {
  position: relative;
  z-index: 2;
}
.btn--icon-only > svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: block;
}
.btn--icon-only > i,
.btn--icon-only > .icon {
  font-size: 1em;
  line-height: 1;
}
.btn--icon-only:hover .btn__icon, .btn--icon-only:hover > i, .btn--icon-only:hover > .icon {
  transform: none;
}
.btn--icon-only.btn--sm {
  padding: 0.5em;
  font-size: 1rem;
}
.btn--icon-only.btn--lg {
  padding: 0.75em;
  font-size: 1.5rem;
}
.btn--icon-only.btn--circle {
  border-radius: 50%;
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.btn__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375em;
  padding: 0.25em 0.75em;
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-base);
  background-color: var(--bg-muted);
  border: 1px solid var(--border-muted);
  border-radius: 0.375rem;
  white-space: nowrap;
  text-decoration: none;
  vertical-align: middle;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tag-item--clickable {
  cursor: pointer;
}
.tag-item--clickable:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-hover);
}
.tag-item--clickable:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
.tag-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125em;
  height: 1.125em;
  padding: 0;
  margin-left: -0.125em;
  border: none;
  border-radius: 0.25em;
  background: transparent;
  color: currentColor;
  opacity: 0.5;
  font-size: 1em;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}
.tag-item__remove:hover {
  opacity: 1;
  background-color: oklch(from var(--shadow-color) l c h/0.1);
}
.tag-item__remove svg {
  width: 0.75em;
  height: 0.75em;
  fill: currentColor;
}
.tag-item__icon {
  display: inline-flex;
  align-items: center;
  font-size: 0.875em;
}
.tag-item__icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.tag-item--primary {
  background-color: var(--primary-100);
  border-color: var(--primary-200);
  color: var(--primary-700);
}
.tag-item--primary.tag--clickable:hover {
  background-color: var(--primary-200);
  border-color: var(--primary-300);
}
.tag-item--secondary {
  background-color: var(--secondary-100);
  border-color: var(--secondary-200);
  color: var(--secondary-700);
}
.tag-item--secondary.tag--clickable:hover {
  background-color: var(--secondary-200);
  border-color: var(--secondary-300);
}
.tag-item--success {
  background-color: var(--success-100);
  border-color: var(--success-200);
  color: var(--success-700);
}
.tag-item--success.tag--clickable:hover {
  background-color: var(--success-200);
  border-color: var(--success-300);
}
.tag-item--warning {
  background-color: var(--warning-100);
  border-color: var(--warning-200);
  color: var(--warning-700);
}
.tag-item--warning.tag--clickable:hover {
  background-color: var(--warning-200);
  border-color: var(--warning-300);
}
.tag-item--error {
  background-color: var(--error-100);
  border-color: var(--error-200);
  color: var(--error-700);
}
.tag-item--error.tag--clickable:hover {
  background-color: var(--error-200);
  border-color: var(--error-300);
}
.tag-item--info {
  background-color: var(--info-100);
  border-color: var(--info-200);
  color: var(--info-700);
}
.tag-item--info.tag--clickable:hover {
  background-color: var(--info-200);
  border-color: var(--info-300);
}
.tag-item--rounded {
  border-radius: 10rem;
}
.tag-item--sm {
  padding: 0.125em 0.5em;
  font-size: var(--font-size-xs);
}
.tag-item--lg {
  padding: 0.375em 1em;
  font-size: var(--font-size-base);
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero {
  padding: 6rem 0 4rem;
  background-color: transparent;
  text-align: center;
}
.hero__content {
  max-width: 800px;
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-base);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
@media (max-width: 47.98rem) {
  .hero__subtitle br {
    display: none;
  }
}
.hero__search {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  background-color: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.search-box:focus-within {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px oklch(from var(--primary-300) l c h/0.15);
}
.search-box:focus-within input {
  box-shadow: none;
}
.search-box__icon {
  color: var(--text-muted);
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
}
.search-box input {
  flex: 1;
  border: none;
  outline: none !important;
  font-size: 1rem;
  color: var(--text-strong);
  padding: 0.5rem 0;
  background: transparent;
}
.search-box input::placeholder {
  color: var(--text-muted);
}
.search-box input:focus {
  background: transparent;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
}
.search-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-strong);
  font-size: 0.875rem;
  transition: background-color 0.15s ease;
}
.search-dropdown__item:hover {
  background-color: var(--bg-subtle);
}
.search-dropdown__item + .search-dropdown__item {
  border-top: 1px solid var(--border-base);
}
.search-dropdown__title {
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-dropdown__tools {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.search-dropdown__all {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--secondary-600);
  text-decoration: none;
  border-top: 1px solid var(--border-base);
  background-color: var(--bg-subtle);
}
.search-dropdown__all:hover {
  background-color: var(--bg-muted);
}
.search-dropdown__empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.filter-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  padding: 0;
}
.filter-toggle:hover {
  border-color: var(--primary-300);
  color: var(--primary-300);
}
@media (max-width: 47.98rem) {
  .filter-toggle {
    display: flex;
  }
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
}
@media (max-width: 63.98rem) {
  .sidebar {
    width: 100%;
    margin-bottom: 2rem;
  }
}
@media (max-width: 47.98rem) {
  .sidebar {
    display: none;
  }
}

.sidebar-nav {
  background: var(--bg-base);
  border: 1px solid var(--bg-muted);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-md);
}
.sidebar-nav__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}
.sidebar-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-nav__item.is-active .sidebar-nav__link {
  color: var(--secondary-600);
  background-color: var(--secondary-50);
  font-weight: 600;
}
.sidebar-nav__item.is-active .sidebar-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background-color: var(--secondary-600);
  border-radius: 0 2px 2px 0;
}
.sidebar-nav__item.is-active .sidebar-nav__link .sidebar-nav__icon {
  color: var(--secondary-600);
}
.sidebar-nav__link {
  display: flex;
  align-items: center;
  padding: 0.625rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  position: relative;
}
.sidebar-nav__link:hover {
  background-color: var(--bg-subtle);
  color: var(--text-strong);
}
.sidebar-nav__icon {
  margin-right: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  width: 20px;
  height: 20px;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-nav__icon svg {
  width: 20px;
  height: 20px;
}
.sidebar-nav__icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.sidebar-nav__count {
  margin-left: auto;
  font-size: 0.75rem;
  background-color: var(--bg-muted);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 9999px;
  min-width: 28px;
  text-align: center;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  transition: opacity 0.2s ease;
}
@media (max-width: 79.98rem) {
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 39.98rem) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
}
.templates-grid.is-loading {
  opacity: 0.5;
  pointer-events: none;
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

#clear-filters {
  margin-left: 1rem;
}

a.template-card {
  text-decoration: none;
  color: inherit;
}

.template-card {
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.template-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  box-shadow: 0 0 0 1px var(--primary-300);
}
.template-card:hover .template-card__arrow {
  color: var(--primary-300);
}
.template-card.is-active {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 1px var(--primary-300);
}
.template-card.is-active .template-card__arrow {
  color: var(--primary-300);
}
.template-card__icons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.template-card__icons .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--bg-muted);
  position: relative;
}
.template-card__icons .icon svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.template-card__icons .icon--green {
  background-color: var(--success-50);
}
.template-card__icons .icon--green svg {
  color: var(--success-500);
}
.template-card__icons .icon--purple {
  background-color: var(--third-50);
  border: none;
}
.template-card__icons .icon--purple::after {
  content: "D";
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--third-600);
  color: var(--text-on-dark);
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.template-card__icons .icon--purple svg {
  color: var(--third-500);
}
.template-card__icons .icon--yellow {
  background-color: var(--warning-50);
}
.template-card__icons .icon--yellow svg {
  color: var(--warning-600);
}
.template-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.template-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.template-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-muted);
}
.template-card__arrow {
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}

.author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-base);
  overflow: hidden;
}
.author__avatar--dfs {
  background: linear-gradient(135deg, var(--secondary-900) 50%, var(--warning-400) 50%);
  border: none;
}
.author__name {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background-color: var(--neutral-800);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-on-dark);
}
.cta-box__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-on-dark);
}
.cta-box__text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
@media (max-width: 47.98rem) {
  .cta-box__text br {
    display: none;
  }
}
.cta-box .btn {
  padding: 1rem 2rem;
  font-weight: 700;
  border-radius: 8px;
  background-color: var(--primary-300);
  color: var(--neutral-800);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cta-box .btn:hover {
  background-color: var(--primary-400);
  transform: translateY(-2px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-700);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 2rem 0 1.5rem;
  transition: color 0.2s ease;
}
.back-link:hover {
  color: var(--secondary-500);
}
.back-link svg {
  flex-shrink: 0;
}

.single-template {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 4rem;
}
@media (max-width: 63.98rem) {
  .single-template {
    gap: 1rem;
  }
}
@media (max-width: 47.98rem) {
  .single-template {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.single-template__sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (max-width: 47.98rem) {
  .single-template__sidebar {
    width: 100%;
    display: contents;
  }
  .single-template__sidebar .info-card:first-child {
    order: 1;
  }
  .single-template__sidebar .info-card:not(:first-child) {
    order: 10;
  }
}
.single-template__content {
  flex: 1;
  min-width: 0;
}
@media (max-width: 47.98rem) {
  .single-template__content {
    display: contents;
  }
}
.single-template__container {
  padding-block: 5rem;
}

.info-card {
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 12px;
  padding: 1.25rem;
}
.info-card__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.info-card__label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 0.75rem;
}
.info-card__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-card__links li {
  position: relative;
  padding-left: 1rem;
}
.info-card__links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-500);
}
.info-card__links a {
  color: var(--secondary-500);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.info-card__links a:hover {
  text-decoration: underline;
}
.info-card__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.info-card__date svg {
  color: var(--text-muted);
  flex-shrink: 0;
}
.info-card .btn {
  margin-top: 0;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tools-grid__item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-base);
  cursor: default;
}
.tools-grid__item svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.tools-grid__more {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-base);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.template-hero {
  margin-bottom: 2.5rem;
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 10px;
  padding: 1.5rem;
}
@media (max-width: 47.98rem) {
  .template-hero {
    order: 2;
    margin-bottom: 0;
  }
}
.template-hero__image {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-base);
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
}
.template-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}
.template-hero__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: hidden;
}
.template-hero__thumb {
  flex: 0 0 100px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-base);
  cursor: pointer;
  padding: 0;
  background: none;
  outline: none;
  transition: border-color 0.2s ease;
}
.template-hero__thumb.is-active, .template-hero__thumb:hover {
  border-color: var(--primary-300);
}
.template-hero__thumb:focus-visible {
  border-color: var(--primary-300);
}
.template-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single .content {
  background: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 10px;
  padding: 1.5rem;
}
@media (max-width: 47.98rem) {
  .single .content {
    padding: 1.5rem;
    order: 3;
  }
}

.similar-templates {
  padding: 3rem 0 5rem;
  border-top: 1px solid var(--border-base);
}
.similar-templates__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 2rem;
}

.templates-grid--three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 63.98rem) {
  .templates-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 39.98rem) {
  .templates-grid--three {
    grid-template-columns: 1fr;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}
.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 200ms ease both;
}
.lightbox::backdrop {
  background: oklch(0% 0 0deg / 0.88);
  animation: fadeIn 200ms ease both;
}
.lightbox__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
}
@media (max-width: 39.98rem) {
  .lightbox__img-wrap {
    padding: 4rem 1rem;
  }
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 48px oklch(0% 0 0deg / 0.5);
  user-select: none;
  pointer-events: none;
  animation: scaleIn 250ms cubic-bezier(0, 0, 0.2, 1) both;
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: oklch(100% 0 0deg / 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 10;
}
.lightbox__close:hover, .lightbox__nav:hover {
  background: oklch(100% 0 0deg / 0.25);
}
.lightbox__close:focus-visible, .lightbox__nav:focus-visible {
  outline: 2px solid var(--primary-300);
  outline-offset: 2px;
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
}
.lightbox__nav--prev {
  left: 1rem;
}
.lightbox__nav--next {
  right: 1rem;
}
.lightbox__nav:active {
  transform: translateY(-50%);
}
@media (max-width: 39.98rem) {
  .lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
  }
  .lightbox__nav--prev {
    left: 0.5rem;
  }
  .lightbox__nav--next {
    right: 0.5rem;
  }
}
.lightbox__counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  color: oklch(100% 0 0deg / 0.65);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
}

.multi-select {
  position: relative;
  width: 100%;
}
.multi-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-base);
  background-color: var(--bg-base);
  border: 1px solid var(--border-base);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  text-align: left;
  gap: 1.5rem;
}
.multi-select__trigger:hover {
  border-color: var(--border-hover);
}
.multi-select__trigger::after {
  content: "";
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2365758B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease;
}
.multi-select.is-open .multi-select__trigger {
  border-color: var(--primary-300);
  box-shadow: 0 0 0 4px oklch(from var(--primary-300) l c h/0.15);
}
.multi-select.is-open .multi-select__trigger::after {
  transform: rotate(180deg);
}
.multi-select__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.multi-select__dropdown {
  position: absolute;
  z-index: 100;
  top: calc(100% + 0.25rem);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-width: 320px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem;
  background-color: var(--surface-base);
  border: 1px solid var(--border-muted);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.25rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.multi-select.is-open .multi-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.multi-select__options {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.multi-select__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.multi-select__option:hover {
  background-color: var(--bg-subtle);
}
.multi-select__option input[type=checkbox] {
  margin-top: 0;
}
.multi-select__option span {
  font-size: 0.9375rem;
  color: var(--text-base);
  user-select: none;
}
.filter-bar .multi-select {
  width: auto;
  min-width: 160px;
}

.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background-color: var(--secondary-600);
  text-align: center;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-on-dark);
  margin: 0 0 0.5rem;
}
.page-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: oklch(100% 0 0deg / 0.8);
  margin: 0;
  line-height: 1.6;
}

.page .content {
  max-width: 860px;
  margin: 4rem auto 4rem;
  background-color: var(--bg-base);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 4vw, 3rem);
}
@media (max-width: 768px) {
  .page .content {
    border-radius: 0.5rem;
  }
}

.header {
  position: relative;
  background-color: var(--bg-base);
  z-index: 1000;
  border-bottom: 1px solid var(--border-base);
}
.header__topbar {
  background-color: oklch(0% 0 0deg);
  color: oklch(100% 0 0deg);
  padding: 0;
  font-size: 0.75rem;
}
.header__topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}
@media (max-width: 63.98rem) {
  .header__topbar-inner {
    justify-content: center;
  }
}
.header__topbar-promo .topbar-pill {
  background-color: var(--primary-300);
  color: oklch(0% 0 0deg);
  padding: 4px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8125rem;
  display: inline-block;
  transition: transform 0.2s ease;
}
.header__topbar-promo .topbar-pill:hover {
  transform: scale(1.02);
  text-decoration: none;
}
.header__topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 63.98rem) {
  .header__topbar-nav {
    display: none;
  }
}
.header__topbar-nav .header__topbar-item {
  position: relative;
}
.header__topbar-nav .header__topbar-item--has-dropdown:hover .header__topbar-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__topbar-nav .header__topbar-item--has-dropdown:hover .has-arrow::after {
  transform: rotate(180deg);
}
.header__topbar-nav .header__topbar-item a {
  color: oklch(100% 0 0deg / 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}
.header__topbar-nav .header__topbar-item a:hover {
  color: oklch(100% 0 0deg);
}
.header__topbar-nav .header__topbar-item a.has-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
  transition: transform 0.2s ease;
}
.header__topbar-nav .header__topbar-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--neutral-800);
  min-width: 240px;
  padding: 0.75rem 0;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  border-top: 2px solid var(--primary-300);
  box-shadow: 0 10px 15px -3px oklch(from var(--shadow-color) l c h/0.5);
}
.header__topbar-nav .header__topbar-dropdown a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: oklch(100% 0 0deg / 0.8) !important;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: normal;
}
.header__topbar-nav .header__topbar-dropdown a:hover {
  background-color: oklch(100% 0 0deg / 0.05);
  color: oklch(100% 0 0deg) !important;
}
.header__topbar-nav .topbar-divider {
  width: 1px;
  height: 14px;
  background-color: oklch(100% 0 0deg / 0.3);
  margin: 0 4px;
}
.header__sticky-wrap.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-base);
  box-shadow: 0 4px 24px oklch(from var(--shadow-color) l c h/0.12);
  animation: headerSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}
@media (max-width: 63.98rem) {
  .header__container {
    padding: 1rem;
  }
}
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo img {
  height: 40px;
  width: auto;
}
@media (max-width: 47.98rem) {
  .header__logo-desktop {
    display: none;
  }
}
@media (min-width: 48rem) {
  .header__logo-mobile {
    display: none;
  }
}
.header__nav {
  margin-left: auto;
  margin-right: 2rem;
}
@media (max-width: 63.98rem) {
  .header__nav {
    margin: 0;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    flex: none;
    background-color: var(--bg-base);
    margin: 0;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}
.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 63.98rem) {
  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
  }
}
.header__item {
  position: relative;
}
@media (min-width: 64rem) {
  .header__item:hover .header__link {
    color: var(--text-strong);
  }
}
.header__item--dropdown::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 99;
  background-color: transparent;
}
@media (max-width: 63.98rem) {
  .header__item--dropdown::before {
    display: none;
  }
}
@media (min-width: 64rem) {
  .header__item--dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 63.98rem) {
  .header__item--dropdown .header__link {
    display: flex;
    justify-content: space-between;
  }
  .header__item--dropdown .header__link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
    margin-top: -4px;
  }
  .header__item--dropdown.is-active .header__link::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
}
.header__link {
  color: var(--text-base);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.header__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  background-color: var(--primary-300);
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
  z-index: -1;
}
@media (min-width: 64rem) {
  .header__item:hover .header__link {
    color: var(--text-on-dark);
  }
  .header__item:hover .header__link::before {
    width: 101%;
  }
}
@media (max-width: 79.98rem) {
  .header__link {
    font-size: 0.875rem;
  }
}
@media (max-width: 63.98rem) {
  .header__link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.125rem;
    white-space: normal;
    overflow: visible;
  }
  .header__link::before {
    display: none;
  }
}
.header__link--dropdown {
  padding: 0;
}
@media (max-width: 63.98rem) {
  .header__link--dropdown {
    padding: 1rem 0;
    justify-content: space-between;
    white-space: normal;
  }
}
.header__arrow {
  transition: transform 0.3s ease;
  color: var(--text-link);
}
.header__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background-color: var(--bg-base);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  border-top: 4px solid var(--primary-300);
  box-shadow: 0 10px 25px oklch(from var(--shadow-color) l c h/0.1);
}
.header__dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 63.98rem) {
  .header__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transform: none !important;
    transition: max-height 0.3s ease;
    background-color: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .header__dropdown.is-active {
    max-height: 5000px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    overflow: visible;
  }
}
.header__dropdown--mega {
  min-width: 760px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}
@media (min-width: 64rem) {
  .header__dropdown--mega.is-active, .header__item:hover .header__dropdown--mega {
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 63.98rem) {
  .header__dropdown--mega {
    left: 0;
    transform: none;
    min-width: 0;
  }
}
.header__dropdown-inner {
  display: flex;
  padding: 2rem;
}
@media (max-width: 63.98rem) {
  .header__dropdown-inner {
    flex-direction: column;
    padding: 0;
  }
}
.header__dropdown-column {
  flex: 1;
  padding: 0 1rem;
  border-right: 1px solid var(--border-base);
}
.header__dropdown-column:last-child {
  border-right: none;
}
@media (max-width: 63.98rem) {
  .header__dropdown-column {
    border-right: none;
    border-bottom: 1px solid var(--border-base);
    margin-bottom: 0.5rem;
    padding: 0;
    padding-bottom: 0.5rem;
  }
  .header__dropdown-column:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
.header__dropdown-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 1rem;
}
@media (max-width: 63.98rem) {
  .header__dropdown-title {
    padding: 0.5rem 0;
    margin-bottom: 0.25rem;
    background-color: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
  }
}
.header__dropdown-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.header__dropdown-list li {
  margin-bottom: 0.125rem;
}
@media (max-width: 63.98rem) {
  .header__dropdown-list li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-base);
  }
  .header__dropdown-list li:last-child {
    border-bottom: none;
  }
}
.header__dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-base);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
  transition: all 0.2s ease;
  position: relative;
  width: 100%;
  border-radius: 4px;
  white-space: normal;
}
@media (max-width: 63.98rem) {
  .header__dropdown-link {
    padding: 0.75rem 0;
    border-radius: 0;
  }
}
@media (min-width: 64rem) {
  .header__dropdown-link:hover {
    color: var(--text-link);
    background-color: transparent;
  }
  .header__dropdown-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 3px;
    background-color: var(--primary-300);
    border-radius: 0 2px 2px 0;
  }
}
.header__dropdown-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: nowrap;
}
.header__dropdown-link-wrapper .header__dropdown-link {
  flex: 1;
}
@media (max-width: 63.98rem) {
  .header__dropdown-link-wrapper .header__dropdown-link {
    padding: 0.75rem 0;
    border-radius: 0;
  }
}
.header__dropdown-link-wrapper .submenu-toggle {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 63.98rem) {
  .header__dropdown-link-wrapper .submenu-toggle {
    padding: 0.75rem 1rem;
    min-width: 44px;
    min-height: 44px;
    color: var(--text-muted);
  }
}
.header__dropdown-link-wrapper .submenu-toggle:hover, .header__dropdown-link-wrapper .submenu-toggle:active {
  background: none;
  border: none;
  box-shadow: none;
  transform: none;
  color: var(--text-link);
}
.header__dropdown-link-wrapper .submenu-toggle:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: -2px;
}
.header__dropdown-link-wrapper .submenu-toggle .arrow-right {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
}
@media (max-width: 63.98rem) {
  .header__dropdown-link-wrapper .submenu-toggle .arrow-right {
    width: 10px;
    height: 10px;
  }
}
.header__dropdown-sublist {
  list-style: none;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s ease;
  opacity: 0;
  padding-left: 1.5rem;
}
@media (max-width: 63.98rem) {
  .header__dropdown-sublist {
    padding-left: 0;
    background-color: transparent;
  }
}
.has-submenu.is-open .header__dropdown-sublist {
  max-height: 600px;
  margin: 0.25rem 0 0.75rem;
  opacity: 1;
}
@media (max-width: 63.98rem) {
  .has-submenu.is-open .header__dropdown-sublist {
    margin: 0;
  }
}
.header__dropdown-sublist li {
  margin-bottom: 0.125rem;
}
@media (max-width: 63.98rem) {
  .header__dropdown-sublist li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-base);
  }
  .header__dropdown-sublist li:last-child {
    border-bottom: none;
  }
}
.header__dropdown-sublist a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  padding: 0.25rem 0;
  display: block;
  transition: color 0.2s ease;
}
@media (max-width: 63.98rem) {
  .header__dropdown-sublist a {
    padding: 0.625rem 1rem 0.625rem 2rem;
    font-size: 0.875rem;
  }
}
.header__dropdown-sublist a:hover {
  color: var(--text-link);
}
.header .has-submenu.is-open .submenu-toggle .arrow-right {
  transform: rotate(-45deg);
}
.header__mobile-extras {
  display: none;
}
@media (max-width: 63.98rem) {
  .header__mobile-extras {
    display: block;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-base);
  }
}
.header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.header__mobile-top-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.header__mobile-top-menu li {
  border-bottom: 1px solid var(--border-base);
}
.header__mobile-top-menu li:last-child {
  border-bottom: none;
}
.header__mobile-top-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 63.98rem) {
  .header__actions {
    display: none;
  }
}
.header__actions .btn--outline-primary {
  border-color: var(--primary-300);
  color: var(--primary-300);
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  background-color: transparent;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  transform: none !important;
  box-shadow: none !important;
}
.header__actions .btn--outline-primary::before {
  content: "";
  position: absolute;
  top: 0 !important;
  left: 50% !important;
  width: 0;
  height: 100% !important;
  background-color: var(--primary-300);
  transform: translateX(-50%) !important;
  border-radius: 0 !important;
  transition: width 0.3s ease-in-out !important;
  z-index: -1;
}
.header__actions .btn--outline-primary:hover {
  color: var(--text-on-dark);
  border-color: var(--primary-300);
}
.header__actions .btn--outline-primary:hover::before {
  width: 101%;
}
.header__actions .btn--outline-primary::after {
  display: none !important;
}
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 63.98rem) {
  .header__burger {
    display: flex;
  }
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-strong);
  transition: all 0.3s ease;
  position: absolute;
}
.header__burger span:nth-child(1) {
  top: 12px;
}
.header__burger span:nth-child(2) {
  top: 19px;
}
.header__burger span:nth-child(3) {
  top: 26px;
}
.header__burger.is-active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.header__burger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
body.menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}
body.menu-open .header {
  padding-right: var(--scrollbar-width, 0px);
}
@media (min-width: 64rem) {
  body.menu-open {
    overflow: auto;
    padding-right: 0;
  }
  body.menu-open .header {
    padding-right: 0;
  }
}

.footer {
  background: var(--neutral-800);
  color: var(--neutral-400);
  padding: 5rem 0 3rem;
}
.footer--dark {
  background: var(--neutral-950);
  color: var(--neutral-400);
}
.footer--dark .footer__columns {
  display: grid;
  grid-template-columns: 1.2fr repeat(5, 1fr);
  gap: 0;
}
@media (max-width: 79.98rem) {
  .footer--dark .footer__columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 47.98rem) {
  .footer--dark .footer__columns {
    grid-template-columns: 1fr;
  }
}
.footer--dark .footer__column {
  padding: 0 1.5rem;
  border-right: 1px solid oklch(100% 0 0deg / 0.1);
}
.footer--dark .footer__column:first-child {
  padding-left: 0;
}
.footer--dark .footer__column:last-child {
  border-right: none;
  padding-right: 0;
}
@media (max-width: 47.98rem) {
  .footer--dark .footer__column {
    border-right: none;
    border-bottom: 1px solid oklch(100% 0 0deg / 0.1);
    padding: 2rem 0;
  }
  .footer--dark .footer__column:first-child {
    padding-top: 0;
  }
  .footer--dark .footer__column:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}
.footer--dark .footer__title {
  color: var(--text-on-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: none;
  padding-left: 0;
}
.footer--dark .footer__title::before {
  display: none;
}
.footer--dark .footer__title--sub, .footer__widget ~ .footer__widget .footer--dark .footer__title {
  margin-top: 2rem;
}
.footer--dark .footer__link {
  color: var(--text-on-dark);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}
.footer--dark .footer__link:hover {
  color: var(--primary-400);
  transform: none;
}
.footer--dark .footer__text {
  font-size: 0.8125rem;
  margin-bottom: 1rem;
}
.footer--dark .footer__text--ukraine {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-on-dark);
  font-weight: 500;
}
.footer--dark .footer__text--ukraine img {
  width: 20px;
}
.footer--dark .footer__contact-info {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.footer--dark .footer__contact-info p {
  margin-bottom: 0.75rem;
}
.footer--dark .footer__contact-info a {
  color: var(--neutral-400);
  text-decoration: none;
}
.footer--dark .footer__contact-info a:hover {
  color: var(--text-on-dark);
}
.footer--dark .footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer--dark .footer__social-link--circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: oklch(100% 0 0deg);
  color: var(--neutral-950);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer--dark .footer__social-link--circle:hover {
  transform: translateY(-3px);
  background: var(--primary-300);
}
.footer--dark .footer__payments {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.footer--dark .footer__payments img {
  height: 24px;
  width: auto;
  border-radius: 3px;
  background: oklch(100% 0 0deg);
}
.footer__columns {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 3rem;
}
@media (max-width: 79.98rem) {
  .footer__columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 47.98rem) {
  .footer__columns {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 39.98rem) {
  .footer__columns {
    grid-template-columns: 1fr;
  }
}
.footer__column--company {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer__logo {
  display: inline-block;
  margin-bottom: 0.5rem;
}
.footer__logo img {
  height: 40px;
  width: auto;
}
.footer__company-name {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  opacity: 0.9;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer__contact-item a {
  color: var(--text-on-dark);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer__contact-item a:hover {
  color: var(--text-on-dark);
  transform: translateX(3px);
  text-decoration: underline;
}
.footer__icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.8;
}
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: oklch(100% 0 0deg / 0.1);
  border-radius: 50%;
  color: var(--text-on-dark);
  transition: all 0.3s ease;
}
.footer__social-link:hover {
  background-color: oklch(100% 0 0deg / 0.2);
  transform: translateY(-3px);
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
}
.footer__apps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer__app-link {
  display: inline-block;
  transition: transform 0.3s ease;
}
.footer__app-link:hover {
  transform: translateX(5px);
}
.footer__app-link img {
  height: 40px;
  width: auto;
}
.footer__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
  color: var(--text-on-dark);
}
.footer__title::before {
  content: "|";
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: 700;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.footer__link {
  color: oklch(100% 0 0deg / 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer__link:hover {
  color: var(--text-on-dark);
  transform: translateX(3px);
}
.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid oklch(100% 0 0deg / 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 47.98rem) {
  .footer__bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__payments {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer__payments img {
  height: 24px;
  width: auto;
  opacity: 0.8;
}
.footer__copyright {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}
.footer__copyright strong {
  font-weight: 600;
  color: var(--text-on-dark);
}
