@charset "UTF-8";
/*!
Theme Name: Finimpulse
Theme URI:
Author: Lobov
Author URI: https://wordpress.org
Description:
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finimpulse
Tags:
*/
:root, :host {
  --font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
  /* Primary Colors */
  --primary: #29C494;
  --primary-dark: #22A97D;
  --primary-light: #e8f8f3;
  /* Text */
  --text-primary: #2D3748;
  --text-secondary: #4A5568;
  --text-dark: #1A202C;
  --text-muted: #718096;
  --text-highlight: #A9FF9B;
  /* Background Colors */
  --bg-primary: #F8FAFB;
  --bg-secondary: #F7FAFC;
  --bg-hover: #EDF2F7;
  /* Borders Colors */
  --border-light: #E2E8F0;
  --border-dark: #A0AEC0;
  --border-primary: #CBD5E0;
  --white: #ffffff;
  /* Additional Colors */
  --secondary: #8B5CF6;
  --third: #3B82F6;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #06B6D4;
  --success: #84CC16;
  /* Content */
  --content-text-color: var(--text-secondary);
  --content-link-color: var(--primary);
  --content-link-hover-color: var(--primary-dark);
  --content-strong-color: var(--text-primary);
  --content-heading-color: var(--text-dark);
  --content-counters-color: var(--text-muted);
  --content-bullets-color: var(--text-muted);
  --content-blockquote-border-color: var(--border-primary);
  --content-hr-color: var(--border-light);
  --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 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

*,
*::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;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body:not(#tinymce) {
  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;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--primar, #2563eb);
  outline-offset: 2px;
}

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

/* Text selection */
::selection {
  background-color: var(--primary, #b3d4fc);
  color: var(--white, #ffffff);
}

body {
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary, #222222);
  background: var(--white, #ffffff);
}

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

h1 {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.0252em;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

a:not([class]) {
  color: var(--primary, #29C494);
  text-decoration: none;
  transition: color 150ms ease;
}
a:not([class]):hover, a:not([class]):focus {
  color: var(--primary-dark, #22A97D);
  text-decoration: underline;
}
a:not([class]):focus-visible {
  outline: 2px solid var(--primary, #29C494);
  outline-offset: 2px;
  border-radius: 2px;
}

@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(--primary);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

#tinymce:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

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

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
  top: 5px;
  left: 5px;
  z-index: 100000; /* Above WP toolbar. */
  display: block;
  clip: auto !important;
  padding: 15px 23px 14px;
  width: auto;
  height: auto;
  border-radius: 3px;
  background-color: var(--bg-secondary, #f1f1f1);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.875em;
  line-height: normal;
}

.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, #7A7A7A);
  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;
}

.wp-site-blocks,
.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-site-blocks__header,
.site__header {
  flex-shrink: 0;
}
.wp-site-blocks__content,
.site__content {
  flex: 1 0 auto;
  padding-top: 4.5rem;
}
.wp-site-blocks__footer,
.site__footer {
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 40rem) {
  .container {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 48rem) {
  .container {
    padding-inline: 2rem;
  }
}
@media (min-width: 64rem) {
  .container {
    padding-inline: 2.5rem;
  }
}
@media (min-width: 80rem) {
  .container {
    padding-inline: 3rem;
  }
}
.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;
}

.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: rgba(255, 255, 255, 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: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn:hover::after {
  left: 100%;
}
.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn--primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(41, 196, 148, 0.3);
}
.btn--primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(41, 196, 148, 0.4);
  color: var(--white);
}
.btn--primary:active {
  box-shadow: 0 2px 8px rgba(41, 196, 148, 0.3);
}
.btn--dark {
  background-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(41, 196, 148, 0.3);
}
.btn--dark:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(41, 196, 148, 0.4);
  color: var(--white);
}
.btn--dark:active {
  box-shadow: 0 2px 8px rgba(41, 196, 148, 0.3);
}
.btn--secondary {
  background-color: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(41, 196, 148, 0.1);
}
.btn--secondary::before {
  background: rgba(41, 196, 148, 0.1);
}
.btn--secondary:hover {
  color: var(--white);
  background-color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(41, 196, 148, 0.3);
}
.btn--secondary:active {
  box-shadow: 0 2px 6px rgba(41, 196, 148, 0.2);
}
.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}
.btn--outline::before {
  background: var(--primary);
  opacity: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.5em;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}
.btn--outline:hover {
  color: var(--white);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(41, 196, 148, 0.2);
}
.btn--outline:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.btn--outline:active {
  box-shadow: 0 2px 6px rgba(41, 196, 148, 0.15);
}
.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: 100%;
  height: 100%;
  fill: currentColor;
}
.btn:hover .btn__icon {
  transform: translateX(3px);
}

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

.content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--content-text-color, oklch(37.3% 0.034 259.733deg));
}
.content :where(p) {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.content :where(a:not([class])) {
  color: var(--content-link-color, oklch(21% 0.034 264.665deg));
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: color 150ms ease;
}
.content :where(a:not([class])):hover {
  color: var(--content-link-hover-color, oklch(27.8% 0.033 256.848deg));
  text-decoration-thickness: 2px;
}
.content :where(strong, b) {
  color: var(--content-strong-color, oklch(21% 0.034 264.665deg));
  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(--content-heading-color, oklch(21% 0.034 264.665deg));
  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: 2rem;
  margin-bottom: 1rem;
}
.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.6rem;
  margin-bottom: 0.6rem;
}
.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.5rem;
  margin-bottom: 0.5rem;
}
.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.5rem;
  margin-bottom: 0.5rem;
}
.content :where(h6) {
  font-size: var(--content-h6-size);
  line-height: 1.5;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.content :where(h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + *) {
  margin-top: 0;
}
.content :where(ol) {
  list-style-type: decimal;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding-inline-start: 1.625rem;
}
.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.25rem;
  margin-bottom: 1.25rem;
  padding-inline-start: 1.625rem;
}
.content :where(li) {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.content :where(ol > li) {
  padding-inline-start: 0.375rem;
}
.content :where(ul > li) {
  padding-inline-start: 0.375rem;
}
.content :where(ol > li)::marker {
  font-weight: 400;
  color: var(--content-counters-color, oklch(55.1% 0.027 264.364deg));
}
.content :where(ul > li)::marker {
  color: var(--content-bullets-color, oklch(87.2% 0.01 258.338deg));
}
.content :where(ul ul, ul ol, ol ul, ol ol) {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.content :where(.prose > ul > li p) {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.content :where(.prose > ul > li > p:first-child) {
  margin-top: 1.25rem;
}
.content :where(.prose > ul > li > p:last-child) {
  margin-bottom: 1.25rem;
}
.content :where(.prose > ol > li > p:first-child) {
  margin-top: 1.25rem;
}
.content :where(.prose > ol > li > p:last-child) {
  margin-bottom: 1.25rem;
}
.content :where(dl) {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.content :where(dt) {
  color: var(--content-heading-color, oklch(21% 0.034 264.665deg));
  font-weight: 600;
  margin-top: 1.25rem;
}
.content :where(dd) {
  margin-top: 0.5rem;
  padding-inline-start: 1.625rem;
}
.content :where(blockquote) {
  font-weight: 400;
  font-style: italic;
  color: var(--content-text-color, oklch(37.3% 0.034 259.733deg));
  border-inline-start: 4px solid var(--content-blockquote-border-color, oklch(92.8% 0.006 264.531deg));
  quotes: "“" "”" "‘" "’";
  margin-block: 1.6rem;
  padding-inline-start: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.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.5rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--text-muted, #7A7A7A);
}
.content :where(blockquote cite)::before {
  content: "— ";
}
.content :where(code) {
  font-family: var(--font-mono, monospace);
  background-color: #F3F4F6;
  color: var(--content-heading-color, #364A63);
  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(--text-dark, #272B25);
  color: var(--white, #ffffff);
  border: 1px solid var(--text-dark, #1F1E27);
  box-shadow: 0 2px 0 var(--text-dark, #1F1E27);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding: 0.1875em 0.5em;
}
.content :where(pre) {
  font-family: var(--font-mono, monospace);
  color: var(--white, #ffffff);
  background-color: var(--text-dark, #272B25);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857rem;
  margin-bottom: 1.7142857rem;
  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(--content-hr-color, oklch(92.8% 0.006 264.531deg));
  margin-block: 3rem;
}
.content :where(hr + *) {
  margin-top: 0;
}
.content :where(mark) {
  background: var(--warning, #FEF3C7);
  color: var(--content-heading-color, #364A63);
  padding: 0.125rem 0.25rem;
  border-radius: 0.125rem;
}
.content :target {
  background: var(--bg-secondary, #F3F4F6);
  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-secondary, #F3F4F6);
  }
  100% {
    background: transparent;
  }
}
.content :where(img) {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.25rem;
}
.content :where(picture) {
  display: block;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.content :where(picture > img) {
  margin-top: 0;
  margin-bottom: 0;
}
.content :where(video) {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.25rem;
}
.content :where(figure) {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.content :where(figure > *) {
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 0.25rem;
}
.content :where(figcaption) {
  color: var(--text-muted, #7A7A7A);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429rem;
}
.content :where(table) {
  width: 100%;
  table-layout: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.875em;
  line-height: 1.7142857;
  border-collapse: collapse;
}
.content :where(thead) {
  border-bottom: 1px solid var(--border-light, #D1D5DB);
}
.content :where(thead th) {
  color: var(--content-heading-color, #222222);
  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-light, #E5E7EB);
}
.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-light, #D1D5DB);
}
.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(--content-heading-color, #364A63);
  margin-bottom: 1.5em;
}
.content :where(small) {
  font-size: 0.875rem;
  line-height: 1.5;
}

.admin-bar .header {
  top: 32px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  z-index: 1000;
  border-bottom: 1px solid var(--border-primary);
  height: 4.5rem;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
}

@media (min-width: 64rem) {
  .header__logo {
    flex: 1;
  }
}
.header__logo img {
  height: 40px;
  width: auto;
}

@media (max-width: 48rem) {
  .header__logo--desktop {
    display: none;
  }
}
@media (min-width: 48rem) {
  .header__logo--mobile {
    display: none;
  }
}
.header__nav {
  flex: 1;
}

@media (max-width: 64rem) {
  .admin-bar .header__nav {
    top: calc(32px + 4.5rem);
  }
  .header__nav {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    margin: 0;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    overflow-y: auto;
    display: block;
  }
  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}
.header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 80rem) {
  .header__menu {
    gap: 2rem;
  }
}
@media (max-width: 64rem) {
  .header__menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    justify-content: flex-start;
  }
}
.header__item {
  position: relative;
}

@media (max-width: 64rem) {
  .header__item {
    border-bottom: 1px solid var(--border-primary);
  }
}
.header__item:hover .header__indicator {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.header__item:hover .header__link {
  color: var(--primary);
}

.header__item--dropdown::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  z-index: 99;
  background-color: var(--white);
}

@media (max-width: 64rem) {
  .header__item--dropdown::before {
    display: none;
  }
}
@media (min-width: 65rem) {
  .header__item--dropdown:hover .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .header__item--dropdown:hover .header__arrow {
    transform: rotate(180deg);
  }
}
.header__link {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 80rem) {
  .header__link {
    font-size: 0.875rem;
  }
}
@media (max-width: 64rem) {
  .header__link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.125rem;
  }
}
.header__link:hover {
  color: var(--primary);
}

.header__link--dropdown {
  padding: 0;
}

@media (max-width: 64rem) {
  .header__link--dropdown {
    padding: 1rem 0;
    justify-content: space-between;
  }
}
.header__arrow {
  transition: transform 0.3s ease;
  color: var(--primary);
}

.header__dropdown {
  position: absolute;
  top: calc(100% + 1.3rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background-color: var(--white);
  border-radius: 0 0 0.5rem 0.5rem;
  border: 1px solid var(--border-light);
  min-width: 320px;
  max-width: 380px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

@media (max-width: 64rem) {
  .header__dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    min-width: auto;
    max-width: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
  }
  .header__dropdown.is-active {
    max-height: 1000px;
    padding: 0.5rem 0;
    opacity: 1;
    visibility: visible;
  }
}
.header__dropdown.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 64rem) {
  .header__dropdown.is-active {
    transform: none;
  }
}
.header__dropdown--two-columns {
  min-width: 600px;
  max-width: 600px;
}

@media (max-width: 64rem) {
  .header__dropdown--two-columns {
    min-width: auto;
    max-width: none;
  }
}
.header__dropdown-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding: 1rem 0;
}

@media (max-width: 64rem) {
  .header__dropdown-columns {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
}
.header__dropdown-columns::after {
  content: "";
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
  margin: 0.5rem 0;
  grid-column: 2;
  grid-row: 1/-1;
}

@media (max-width: 64rem) {
  .header__dropdown-columns::after {
    display: none;
  }
}
.header__dropdown-column {
  min-width: 0;
}

.header__dropdown-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin: 0 0 0.75rem 1.5rem;
}

@media (max-width: 64rem) {
  .header__dropdown-title {
    margin-left: 1rem;
    margin-top: 1rem;
    font-size: 0.75rem;
  }
}
.header__dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

@media (max-width: 64rem) {
  .header__dropdown-list {
    padding: 0;
  }
}
.header__dropdown-link {
  display: block;
  padding: 0.625rem 1.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: all 0.2s ease;
}

@media (max-width: 64rem) {
  .header__dropdown-link {
    padding: 0.75rem 0 0.75rem 1rem;
    font-size: 1rem;
  }
}
.header__dropdown-link:hover {
  background-color: rgba(121, 170, 0, 0.08);
  color: var(--primary);
  padding-left: 2rem;
}

@media (max-width: 64rem) {
  .header__dropdown-link:hover {
    background-color: transparent;
    padding-left: 1.5rem;
  }
}
.header__dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0 10%, #e0e0e0 90%, transparent);
  margin: 0.5rem 0;
  list-style: none;
}

@media (max-width: 64rem) {
  .header__dropdown-divider {
    margin: 0.5rem 1rem;
    background: #e0e0e0;
  }
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.header__actions .btn {
  padding: 0.55rem 1.2rem;
}

@media (max-width: 40rem) {
  .header__actions .btn {
    font-size: 0.5rem;
  }
}
.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;
}

@media (max-width: 64rem) {
  .header__burger {
    display: flex;
  }
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  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);
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 65rem) {
  body.menu-open {
    overflow: auto;
  }
}
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  position: relative;
  padding-left: 1rem;
  color: var(--color-white);
}
.footer__title:before {
  content: "|";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.footer__block ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 0.25rem;
}
.footer__block a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}
.footer__block a:hover {
  color: var(--white);
}
.footer__bottom {
  text-align: center;
}
.footer__copyright {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.8;
}
.footer__copyright strong {
  font-weight: 600;
  color: var(--color-white);
}

.single-header {
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  border-bottom: 2px solid var(--bg-secondary);
  padding-bottom: 2.5rem;
}
@media (min-width: 64rem) {
  .single-header {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
  }
}
.single-header__info {
  min-width: 0;
}
.single-header__info :where(.post-category) {
  margin-bottom: 0.75rem;
  font-size: 0;
}
.single-header__info :where(.post-category) a {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease;
}
.single-header__info :where(.post-category) a:hover {
  opacity: 0.8;
  text-decoration: none;
}
.single-header__info :where(.post-category) a:not(:last-child)::after {
  content: ", ";
  margin-right: 0.25rem;
}
.single-header__info :where(.wp-block-post-title) {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.single-header__info :where(.wp-block-post-excerpt) {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted, #7A7A7A);
  margin-bottom: 1.5rem;
}
.single-header__info :where(.wp-block-post-excerpt) p {
  margin: 0;
}
.single-header__image :where(img) {
  border-radius: 12px;
  overflow: hidden;
}
.single-header__image :where(img) img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 63.9375rem) {
  .single-header__image {
    display: none;
  }
}
@media (max-width: 40rem) {
  .single-header {
    margin-bottom: 2rem;
    gap: 1.5rem;
  }
  .single-header__info :where(.wp-block-post-title) {
    margin-bottom: 1rem;
  }
  .single-header__info :where(.wp-block-post-excerpt) {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .single-header__image img {
    border-radius: 0.5rem;
  }
  .single-header__image :where(img) {
    border-radius: 8px;
  }
}

.single-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-block: 2rem;
}
@media (min-width: 64rem) {
  .single-body .single-body__content {
    max-width: 800px;
    margin-inline: auto;
  }
}
@media (min-width: 64rem) {
  .single-body.has-sidebar {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
  .single-body.has-sidebar .single-body__content {
    max-width: none;
    margin-inline: 0;
  }
}
.single-body__content {
  min-width: 0;
}
@media (max-width: 63.9375rem) {
  .single-body__sidebar {
    order: 2;
  }
}
@media (max-width: 48rem) {
  .single-body {
    margin-block: 1.5rem;
    gap: 2rem;
  }
}
@media (max-width: 40rem) {
  .single-body {
    margin-block: 1rem;
    gap: 1.5rem;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.post-meta__date {
  margin: 0;
}
.post-meta__date time {
  color: inherit;
}
.post-meta__separator {
  margin: 0;
  color: var(--primary-dark);
  user-select: none;
  line-height: 1;
  opacity: 0.6;
}
.post-meta__author {
  margin: 0;
}
.post-meta__author a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.post-meta__author a:hover {
  opacity: 0.7;
}
@media (max-width: 40rem) {
  .post-meta {
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
}

.post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light, #E5E7EB);
}
.post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}
.post-tags__list a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--bg-secondary, #F3F4F6);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.post-tags__list a::before {
  content: "#";
  margin-right: 0.25rem;
  opacity: 0.6;
}
.post-tags__list a:hover {
  background-color: var(--primary);
  color: var(--white, #ffffff);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.post-tags:empty {
  display: none;
}
@media (max-width: 40rem) {
  .post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .post-tags__list a {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
  }
}

.single-sidebar {
  background-color: var(--bg-secondary, #F3F4F6);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: 6.5rem;
  max-height: calc(100vh - 4.5rem - 4rem);
  overflow-y: auto;
}
.single-sidebar :where(h2, h3, h4) {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}
.single-sidebar :where(ul, ol) {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-sidebar :where(ul, ol) li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.single-sidebar :where(ul, ol) li:last-child {
  border-bottom: none;
}
.single-sidebar :where(ul, ol) li a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.single-sidebar :where(ul, ol) li a:hover {
  color: var(--primary);
}
.single-sidebar > * + * {
  margin-top: 2rem;
}
@media (max-width: 63.9375rem) {
  .single-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-top: 3rem;
  }
}

@media (max-width: 48rem) {
  .single-sidebar {
    padding: 1.25rem;
  }
}
@media (max-width: 40rem) {
  .single-sidebar {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
  }
}
.page-content {
  max-width: 800px;
  margin-inline: auto;
  width: 100%;
}
.page-content h1.wp-block-post-title {
  margin-block-end: 1.5rem;
}
@media (max-width: 48rem) {
  .page-content {
    padding-block: 2rem;
  }
}
@media (max-width: 40rem) {
  .page-content {
    padding-block: 1.5rem;
  }
}

.container-page .page-content {
  max-width: 100%;
}

.entry-header {
  display: grid;
  gap: 1.5rem;
}

.entry-excerpt {
  color: var(--text-muted);
}

.page-header-wrapper {
  margin-block-start: -4rem !important;
  padding-block: 4rem;
  background-color: var(--primary-light);
}
@media (max-width: 48rem) {
  .page-header-wrapper {
    padding-block: 2rem;
    margin-bottom: 2rem;
  }
}
@media (max-width: 40rem) {
  .page-header-wrapper {
    padding-block: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.page-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 64rem) {
  .page-header {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}
.page-header__info {
  min-width: 0;
}
.page-header__info :where(.wp-block-post-title) {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.page-header__info :where(.page-header__description) {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted, #7A7A7A);
  margin: 0;
}
.page-header__image :where(.wp-block-post-featured-image) {
  border-radius: 12px;
  overflow: hidden;
}
.page-header__image :where(.wp-block-post-featured-image) img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 63.9375rem) {
  .page-header__image {
    display: none;
  }
}
@media (max-width: 40rem) {
  .page-header {
    gap: 1.5rem;
  }
  .page-header__info :where(.wp-block-post-title) {
    margin-bottom: 1rem;
  }
  .page-header__info :where(.page-header__description) {
    font-size: 1rem;
  }
  .page-header__image :where(.wp-block-post-featured-image) {
    border-radius: 8px;
  }
}

.page-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-block: 5rem;
}
@media (min-width: 64rem) {
  .page-body .page-body__content {
    max-width: 800px;
    margin-inline: auto;
    width: 100%;
  }
}
@media (min-width: 64rem) {
  .page-body:has(.page-body__sidebar > *) {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }
  .page-body:has(.page-body__sidebar > *) .page-body__content {
    max-width: none;
    margin-inline: 0;
  }
}
.page-body__content {
  min-width: 0;
}
@media (max-width: 63.9375rem) {
  .page-body__content {
    order: 1;
  }
}
@media (max-width: 63.9375rem) {
  .page-body__sidebar {
    order: 2;
  }
}
@media (max-width: 48rem) {
  .page-body {
    margin-block: 1.5rem;
    gap: 2rem;
  }
}
@media (max-width: 40rem) {
  .page-body {
    margin-block: 1rem;
    gap: 1.5rem;
  }
}

.page-sidebar {
  background-color: var(--bg-secondary, #F3F4F6);
  border-radius: 12px;
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-height, 72px) + 2rem);
  max-height: calc(100vh - var(--header-height, 72px) - 4rem);
  overflow-y: auto;
}
.page-sidebar :where(h2, h3, h4) {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0;
  margin-bottom: 1rem;
}
.page-sidebar :where(ul, ol) {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-sidebar :where(ul, ol) li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.page-sidebar :where(ul, ol) li:last-child {
  border-bottom: none;
}
.page-sidebar :where(ul, ol) li a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-sidebar :where(ul, ol) li a:hover {
  color: var(--primary);
}
.page-sidebar > * + * {
  margin-top: 2rem;
}
@media (max-width: 63.9375rem) {
  .page-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-top: 3rem;
  }
}

@media (max-width: 48rem) {
  .page-sidebar {
    padding: 1.25rem;
  }
}
@media (max-width: 40rem) {
  .page-sidebar {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
  }
}
.home .site__content,
.category .site__content,
.archive .site__content,
.page-template-page-with-sidebar .site__content,
.single .site__content,
.blog .site__content,
.error404 .site__content {
  background: var(--white);
}

.block-wrapper {
  padding-block: 6rem;
}

.posts__header {
  text-align: center;
  max-width: 48rem;
  width: 100%;
  margin-block-end: 2.5rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.posts__header h1, .posts__header .wp-block-heading {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.posts__categories {
  margin-block-end: 2.5rem;
  padding: 1rem;
  border-radius: 16px;
}

.posts__categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.posts__category-item {
  margin: 0;
}

.posts__category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background-color: var(--white);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.posts__category-link:hover {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.posts__category-link.is-active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.posts__category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.375rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.is-active .posts__category-count {
  background-color: rgba(255, 255, 255, 0.25);
}

.posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-block-end: 3rem;
}

.posts__card {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.posts__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.posts__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  padding-top: 1.5rem;
}

.posts__image-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}
.posts__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.posts__card:hover .posts__image-wrapper::after {
  opacity: 1;
}

.posts__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-block;
  background-color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.5rem 1rem;
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.posts__category a {
  color: var(--white);
}
.posts__category a:hover {
  text-decoration: none;
  color: var(--white);
}

.posts__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.posts__card:hover .posts__image {
  transform: scale(1.1);
}

.posts__card-title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.75rem 0;
}
.posts__card-title a {
  color: var(--text-dark);
  text-decoration: none;
  display: inline;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease, color 0.3s ease;
}
.posts__card-title a:hover {
  color: var(--primary);
  background-size: 100% 2px;
}

.posts__excerpt {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 auto 0;
}

.posts__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.posts__date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}
.posts__date time {
  color: var(--text-muted);
}

.posts__read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.posts__read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.posts__read-more:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}
.posts__read-more:hover svg {
  transform: translateX(4px);
}

.posts__card:hover .posts__read-more {
  color: var(--primary-dark);
}

.wp-block-query-pagination,
.navigation.pagination {
  margin-block-start: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-weight: 600;
}
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers,
.navigation.pagination a,
.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border-radius: 8px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  background-color: var(--white);
  border: 1px solid var(--border-light);
}
.wp-block-query-pagination a:hover:not(.current), .wp-block-query-pagination .page-numbers:hover:not(.current),
.navigation.pagination a:hover:not(.current),
.navigation.pagination .page-numbers:hover:not(.current) {
  background-color: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.wp-block-query-pagination a.current, .wp-block-query-pagination .page-numbers.current,
.navigation.pagination a.current,
.navigation.pagination .page-numbers.current {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.wp-block-query-pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers,
.navigation.pagination .wp-block-query-pagination-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.wp-block-query-pagination .wp-block-query-pagination-previous a,
.wp-block-query-pagination .wp-block-query-pagination-next a,
.wp-block-query-pagination .nav-previous a,
.wp-block-query-pagination .nav-next a,
.navigation.pagination .wp-block-query-pagination-previous a,
.navigation.pagination .wp-block-query-pagination-next a,
.navigation.pagination .nav-previous a,
.navigation.pagination .nav-next a {
  font-weight: 600;
  padding-inline: 1.25rem;
}
.wp-block-query-pagination .wp-block-query-pagination-previous a:hover,
.wp-block-query-pagination .wp-block-query-pagination-next a:hover,
.wp-block-query-pagination .nav-previous a:hover,
.wp-block-query-pagination .nav-next a:hover,
.navigation.pagination .wp-block-query-pagination-previous a:hover,
.navigation.pagination .wp-block-query-pagination-next a:hover,
.navigation.pagination .nav-previous a:hover,
.navigation.pagination .nav-next a:hover {
  background-color: var(--primary);
  color: var(--white);
}
.wp-block-query-pagination .dots,
.navigation.pagination .dots {
  padding-inline: 0.5rem;
  color: var(--text-muted);
}

.wp-block-query-no-results {
  text-align: center;
  padding: 3rem 1.5rem;
}
.wp-block-query-no-results p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 64rem) {
  .posts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 48rem) {
  .posts__header {
    margin-block-end: 2rem;
  }
  .posts__header h1, .posts__header .wp-block-heading {
    font-size: 2rem;
  }
  .posts__categories {
    margin-block-end: 2rem;
    padding: 1.25rem;
  }
  .posts__categories-list {
    gap: 0.5rem;
  }
  .posts__category-link {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
  .posts__grid {
    gap: 1.25rem;
  }
  .posts__image-wrapper {
    height: 200px;
  }
  .posts__content {
    padding: 1.25rem;
  }
  .posts__card-title {
    font-size: 1.125rem;
  }
  .posts__card:hover {
    transform: translateY(-4px);
  }
  .wp-block-query-pagination {
    margin-block-start: 3rem;
    justify-content: center;
  }
  .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers {
    min-width: 2.25rem;
    height: 2.25rem;
    padding-inline: 0.5rem;
    font-size: 0.875rem;
  }
  .wp-block-query-pagination .wp-block-query-pagination-previous a,
  .wp-block-query-pagination .wp-block-query-pagination-next a {
    padding-inline: 1rem;
  }
}
@media (max-width: 40rem) {
  .posts__header {
    margin-block-end: 1.5rem;
  }
  .posts__header h1, .posts__header .wp-block-heading {
    font-size: 1.75rem;
  }
  .posts__categories {
    margin-block-end: 1.5rem;
    padding: 1rem;
  }
  .posts__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .posts__image-wrapper {
    height: 180px;
  }
  .posts__content {
    padding: 1rem;
  }
  .posts__card-title {
    font-size: 1rem;
  }
  .posts__excerpt {
    font-size: 0.875rem;
  }
  .posts__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .posts__read-more {
    font-size: 0.8125rem;
  }
  .wp-block-query-pagination {
    gap: 0.5rem;
    margin-block-start: 2rem;
  }
  .wp-block-query-pagination .wp-block-query-pagination-numbers {
    gap: 0.25rem;
  }
  .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
  }
}
/* ==========================================================================
   Glossary Archive Template Styles
   ========================================================================== */
.glossary-hero {
  padding: 4rem 0;
}
.glossary-hero__content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
.glossary-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}
.glossary-hero__description {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.glossary-search {
  max-width: 32rem;
  margin: 0 auto;
}
.glossary-search__wrapper {
  position: relative;
}
.glossary-search__icon {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.glossary-search__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.glossary-search__input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--bg-secondary);
  border-radius: 9999px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  outline: none;
}
.glossary-search__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}
.glossary-search__input::placeholder {
  color: var(--text-muted);
}
.glossary-search__results {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.glossary-alphabet {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--bg-secondary);
  padding: 1rem 0;
}
.glossary-alphabet__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.glossary-alphabet__btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}
.glossary-alphabet__btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: scale(1.05);
}
.glossary-alphabet__btn--active {
  background: var(--primary);
  color: var(--white);
}
.glossary-alphabet__btn--active:hover {
  background: var(--primary-dark);
}

.glossary-terms {
  padding: 4rem 0;
}

.glossary-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.glossary-empty__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  color: var(--text-muted);
  opacity: 0.5;
}
.glossary-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.glossary-empty__text {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.glossary-section {
  margin-bottom: 4rem;
}
.glossary-section__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.glossary-section__letter {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 0.75rem;
  flex-shrink: 0;
}
.glossary-section__divider {
  flex: 1;
  height: 1px;
  background: var(--bg-secondary);
}

.glossary-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .glossary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 64rem) {
  .glossary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.glossary-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--bg-secondary);
  border-radius: 0.75rem;
  padding: 1.75rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.glossary-card:hover {
  background: rgba(var(--primary-rgb), 0.02);
  border-color: var(--primary-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateY(-4px);
  z-index: 10;
}
.glossary-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
  line-height: 1.4;
}
.glossary-card:hover .glossary-card__title {
  color: var(--primary);
}
.glossary-card__content {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}
.glossary-card:hover .glossary-card__content {
  display: block;
  -webkit-line-clamp: unset;
}
.glossary-card__description {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.glossary-card__link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Single Glossary Term Styles
   ========================================================================== */
.glossary-term {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 0;
}
.glossary-term__header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--bg-secondary);
}
.glossary-term__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.glossary-term__excerpt {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.glossary-term__body {
  margin-bottom: 3rem;
}
.glossary-term__footer {
  padding-top: 2rem;
  border-top: 1px solid var(--bg-secondary);
}
.glossary-term__back a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.glossary-term__back a:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   Knowledge Base Template Styles
   ========================================================================== */
.kb-layout {
  display: grid;
  gap: 2rem;
  margin-block: 6rem 4rem;
}
@media (min-width: 64rem) {
  .kb-layout {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}

@media (min-width: 64rem) {
  .kb-sidebar {
    align-self: start;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
}

.kb-search {
  margin-bottom: 1.5rem;
}
.kb-search__wrapper {
  position: relative;
}
.kb-search__icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 1.125rem;
  color: var(--text-muted);
  pointer-events: none;
}
.kb-search__input {
  width: 100%;
  padding: 0.625rem 0.875rem 0.625rem 2.5rem;
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  transition: all 0.2s;
  outline: none;
}
.kb-search__input:focus {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.kb-search__input::placeholder {
  color: var(--text-muted);
}

.kb-nav__empty {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.kb-category {
  margin-bottom: 0.5rem;
}
.kb-category__header {
  position: relative;
}
.kb-category__header--open .kb-category__icon {
  transform: rotate(90deg);
}
.kb-category__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}
.kb-category__toggle:hover {
  background: var(--bg-hover);
}
.kb-category__icon {
  width: 1rem;
  height: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.kb-category__name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}
.kb-category__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
}
.kb-category__articles {
  display: none;
  padding-left: 1.5rem;
  margin-top: 0.25rem;
}
.kb-category__articles--open {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kb-article-link {
  display: block;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 0.125rem;
}
.kb-article-link:hover {
  color: var(--primary);
}
.kb-article-link--active {
  color: var(--primary);
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

.kb-content {
  min-width: 0;
}

.kb-hero {
  margin-bottom: 3rem;
}
.kb-hero__title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}
.kb-hero__description {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.kb-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.kb-empty__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.kb-empty__text {
  color: var(--text-muted);
}

.kb-category-section {
  margin-bottom: 3rem;
}
.kb-category-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-secondary);
}

.kb-articles-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .kb-articles-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.kb-article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-primary);
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.kb-article-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.kb-article-card:hover .kb-article-card__arrow {
  transform: translateX(4px);
}
.kb-article-card:hover .kb-article-card__title {
  color: var(--primary);
}
.kb-article-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s;
  line-height: 1.4;
}
.kb-article-card__arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.kb-article__header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-secondary);
}
.kb-article__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.kb-article__excerpt {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.kb-article__body {
  margin-bottom: 2.5rem;
}
.kb-article__footer {
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-secondary);
}
.kb-article__back a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.kb-article__back a:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   404 Error Page Styles
   ========================================================================== */
.error-404 {
  padding: 4rem 1rem;
  text-align: center;
}
.error-404__code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-404__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.error-404__description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.error-404__search {
  max-width: 500px;
  margin: 0 auto;
}

/**
 * FAQs Page Template Styles
 *
 * @package Finimpulse
 * @since 1.0
 */
/* ==========================================================================
   FAQs Page Layout
   ========================================================================== */
.faqs-page {
  background: var(--bg-primary);
  padding: 3rem 0;
}

.faqs__container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .faqs__container {
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .faqs__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* ==========================================================================
   FAQs Sidebar - Sticky Navigation
   ========================================================================== */
.faqs-sidebar {
  position: sticky;
  top: 6.5rem; /* Header height + padding */
  max-height: calc(100vh - 4.5rem - 4rem);
  overflow-y: auto;
  align-self: start;
}

/* Custom scrollbar for sidebar */
.faqs-sidebar::-webkit-scrollbar {
  width: 6px;
}

.faqs-sidebar::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 3px;
}

.faqs-sidebar::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 3px;
}

.faqs-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--border-dark);
}

/* Hide sidebar on mobile devices */
@media (max-width: 768px) {
  .faqs-sidebar {
    display: none;
  }
}
/* ==========================================================================
   FAQs Navigation
   ========================================================================== */
.faqs-nav {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.faqs-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.faqs-nav__item {
  margin: 0;
}

.faqs-nav__link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  position: relative;
}
.faqs-nav__link:hover {
  color: var(--primary);
  background: var(--bg-hover);
}

.faqs-nav__link--active {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.faqs-nav__link--active:hover {
  background: var(--bg-hover);
}

/* ==========================================================================
   FAQs Content Area
   ========================================================================== */
/* Full width on mobile when sidebar is hidden */
@media (max-width: 768px) {
  .faqs-content {
    width: 100%;
  }
}
/* ==========================================================================
   Smooth Scroll Enhancement
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .faqs-content {
    scroll-behavior: smooth;
  }
}
/* ==========================================================================
   Admin Bar Compatibility
   ========================================================================== */
.admin-bar .faqs-sidebar {
  top: calc(32px + 4.5rem + 2rem); /* Admin bar + header + padding */
  max-height: calc(100vh - 32px - 4.5rem - 4rem);
}

@media screen and (max-width: 782px) {
  .admin-bar .faqs-sidebar {
    top: calc(46px + 4.5rem + 2rem); /* Mobile admin bar is taller */
    max-height: calc(100vh - 46px - 4.5rem - 4rem);
  }
}

