:root {
  --blog-background: #0b0d10;
  --blog-surface: #12161b;
  --blog-surface-glass: rgba(14, 18, 24, 0.82);
  --blog-border: rgba(112, 134, 155, 0.22);
  --blog-text: #e5ecf3;
  --blog-text-strong: #f4f8ff;
  --blog-text-soft: rgba(229, 236, 243, 0.82);
  --blog-muted: #9aa3ad;
  --blog-accent: #4aa3ff;
  --blog-accent-strong: #7bc3ff;
  --blog-accent-soft: rgba(74, 163, 255, 0.16);
  --blog-shadow: 0 36px 70px -35px rgba(8, 12, 18, 0.78);
  --blog-parallax-offset: 0px;
}

body.blog-theme-dark {
  color-scheme: dark;
  --blog-background: #0b0d10;
  --blog-surface: #12161b;
  --blog-surface-glass: rgba(14, 18, 24, 0.82);
  --blog-border: rgba(112, 134, 155, 0.22);
  --blog-text: #e5ecf3;
  --blog-text-strong: #f4f8ff;
  --blog-text-soft: rgba(229, 236, 243, 0.82);
  --blog-muted: #9aa3ad;
  --blog-accent: #4aa3ff;
  --blog-accent-strong: #7bc3ff;
  --blog-accent-soft: rgba(74, 163, 255, 0.16);
  --blog-shadow: 0 36px 70px -35px rgba(8, 12, 18, 0.78);
}

body.blog-theme-light {
  color-scheme: light;
  --blog-background: #f5f8fc;
  --blog-surface: #ffffff;
  --blog-surface-glass: rgba(255, 255, 255, 0.92);
  --blog-border: rgba(57, 83, 110, 0.14);
  --blog-text: #1f2937;
  --blog-text-strong: #0f172a;
  --blog-text-soft: rgba(31, 41, 55, 0.7);
  --blog-muted: #6b7280;
  --blog-accent: #2563eb;
  --blog-accent-strong: #1d4ed8;
  --blog-accent-soft: rgba(37, 99, 235, 0.12);
  --blog-shadow: 0 28px 60px -40px rgba(15, 23, 42, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", Helvetica, Arial, sans-serif;
  position: relative;
  background-color: var(--blog-background);
  color: var(--blog-text);
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

[data-blog-root] {
  flex: 1;
  display: flex;
  flex-direction: column;
}

[data-blog-root] > .blog-app {
  flex: 1;
  display: flex;
  flex-direction: column;
}

[data-footer-include] {
  margin-top: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: -16vh 0 -8vh;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 820px at 12% -10%, rgba(74, 163, 255, 0.32), transparent 55%),
    radial-gradient(1200px 820px at 88% 120%, rgba(53, 194, 139, 0.22), transparent 60%),
    var(--blog-background);
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat;
  background-size:
    max(1200px, 100vw) 1065px,
    max(1200px, 100vw) 1065px,
    100% 100%;
  background-position:
    0 calc(var(--blog-parallax-offset) * -0.25),
    0 calc(var(--blog-parallax-offset) * 0.35),
    center;
  will-change: transform, background-position;
  transform: translate3d(0, calc(var(--blog-parallax-offset) * -0.45), 0);
  transition: transform 0.35s ease-out, background-position 0.45s ease-out;
}

body.blog-theme-light {
  background: var(--blog-background);
}

body.blog-theme-light::before {
  background:
    radial-gradient(1200px 820px at 12% -10%, rgba(37, 99, 235, 0.12), transparent 60%),
    radial-gradient(1200px 820px at 88% 120%, rgba(16, 185, 129, 0.14), transparent 65%),
    var(--blog-background);
  background-attachment: fixed, fixed, fixed;
  background-repeat: no-repeat;
  background-size:
    max(1200px, 100vw) 820px,
    max(1200px, 100vw) 820px,
    100% 100%;
  background-position:
    0 calc(var(--blog-parallax-offset) * -0.25),
    0 calc(var(--blog-parallax-offset) * 0.35),
    center;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    transition: none;
  }
}

.blog-app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-header {
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.04) 0%, rgba(7, 10, 13, 0.88) 70%),
    var(--blog-surface-glass);
  border: 1px solid var(--blog-border);
  border-radius: 24px;
  color: var(--blog-text-strong);
  padding: 3.25rem clamp(1.5rem, 4vw, 3rem) 2.35rem;
  margin: clamp(1.5rem, 4vw, 3rem) auto 0;
  width: min(1052px, 100%);
  box-shadow: var(--blog-shadow);
  backdrop-filter: blur(18px);
}

body.blog-theme-light .blog-header {
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 247, 253, 0.94) 70%),
    var(--blog-surface-glass);
}

.blog-header__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.blog-header .app-brand {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
}

.blog-header .app-brand__logo {
  width: clamp(48px, 6vw, 64px);
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  filter: drop-shadow(0 6px 18px rgba(8, 12, 18, 0.55));
}

.blog-header .app-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
  align-items: flex-start;
}

.blog-header__title {
  margin: 0;
  font-size: clamp(2rem, 2.5vw + 1rem, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.blog-header__subtitle {
  margin: 0;
  opacity: 0.75;
  font-size: 1rem;
  color: var(--blog-text-soft);
}

.blog-search {
  margin: clamp(1.5rem, 5vw, 3rem) auto clamp(1.5rem, 4vw, 2.5rem);
  width: min(1052px, 100%);
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.blog-search__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-search__label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blog-text-soft);
}

.blog-search__controls {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search__input {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.85rem 3rem 0.85rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--blog-border);
  background: var(--blog-surface);
  color: var(--blog-text);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search__input::-webkit-search-decoration,
.blog-search__input::-webkit-search-cancel-button,
.blog-search__input::-webkit-search-results-button,
.blog-search__input::-webkit-search-results-decoration {
  display: none;
}

.blog-search__input:focus {
  outline: none;
  border-color: var(--blog-accent);
  box-shadow: 0 0 0 3px var(--blog-accent-soft);
}

.blog-search__input::placeholder {
  color: var(--blog-muted);
}

.blog-search__clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: none;
  background: var(--blog-accent-soft);
  color: var(--blog-accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-search__clear:hover,
.blog-search__clear:focus-visible {
  background: var(--blog-accent);
  color: var(--blog-surface);
}

.blog-search__status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--blog-muted);
}

/* Shared footer */

.site-footer {
  margin: clamp(3.5rem, 6vw, 5.5rem) auto 0;
  padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3rem);
  width: min(1052px, 100%);
  border-radius: 24px;
  border: 1px solid var(--blog-border);
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.04) 0%, rgba(7, 10, 13, 0.88) 70%),
    var(--blog-surface-glass);
  box-shadow: var(--blog-shadow);
  backdrop-filter: blur(18px);
  text-align: left;
}

body.blog-theme-light .site-footer {
  background:
    linear-gradient(195deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 247, 253, 0.94) 70%),
    var(--blog-surface-glass);
}

.site-footer p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--blog-text-soft);
}

body.blog-theme-light .site-footer p {
  color: var(--blog-muted);
}

.site-footer .subtle {
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.site-footer .footer-consent-button {
  border: none;
  background: transparent;
  color: var(--blog-accent-strong);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

body.blog-theme-light .site-footer .footer-consent-button {
  color: var(--blog-accent);
}

.site-footer .footer-consent-button:hover,
.site-footer .footer-consent-button:focus-visible {
  color: var(--blog-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.site-footer .footer-consent-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

body.blog-theme-light .site-footer .footer-consent-button:focus-visible {
  outline-color: rgba(37, 99, 235, 0.45);
}

.site-footer .footer-links a {
  font-weight: 600;
  text-decoration: none;
  color: var(--blog-accent-strong);
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--blog-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.site-footer .footer-logo-link {
  margin-left: auto;
  font-weight: 500;
}

.site-footer a.link-light {
  color: var(--blog-accent-strong) !important;
}

body.blog-theme-light .site-footer a.link-light {
  color: var(--blog-accent) !important;
}

@media (max-width: 720px) {
  .site-footer {
    padding: 2.25rem 1.5rem;
  }

  .site-footer .footer-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer .footer-logo-link {
    margin-left: 0;
  }
}

/* Privacy lightbox (shared) */

.no-scroll {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(9, 13, 18, 0.75);
  backdrop-filter: blur(6px);
  transition: opacity 0.2s ease-out;
  opacity: 0;
}

body.blog-theme-light .lightbox {
  background: rgba(15, 23, 42, 0.35);
}

.lightbox.is-visible {
  opacity: 1;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__dialog {
  background: var(--blog-surface);
  border-radius: 20px;
  border: 1px solid var(--blog-border);
  box-shadow: 0 28px 60px -40px rgba(8, 12, 18, 0.65);
  width: min(820px, 100%);
  max-height: min(680px, 90vh);
  display: flex;
  flex-direction: column;
}

body.blog-theme-light .lightbox__dialog {
  background: var(--blog-surface);
  box-shadow: 0 28px 60px -32px rgba(15, 23, 42, 0.25);
}

.lightbox__head {
  padding: 1.75rem clamp(1.5rem, 4vw, 2.5rem) 1.25rem;
  border-bottom: 1px solid var(--blog-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.lightbox__head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.4vw + 1rem, 1.6rem);
  color: var(--blog-text-strong);
}

.lightbox__close {
  border: none;
  background: transparent;
  color: var(--blog-text-soft);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  color: var(--blog-accent);
}

.lightbox__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  color: var(--blog-text);
}

.lightbox__body .container {
  padding: 0;
  width: 100%;
}

.privacy-modal__content {
  display: grid;
  gap: 1.35rem;
  width: 100%;
  max-width: 100%;
  color: var(--blog-text);
  line-height: 1.6;
}

.privacy-modal__content header {
  display: grid;
  gap: 0.45rem;
  background: linear-gradient(160deg, rgba(74, 163, 255, 0.22), rgba(9, 13, 18, 0.88));
  border: 1px solid rgba(138, 166, 191, 0.35);
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  box-shadow: 0 30px 68px -42px rgba(7, 11, 17, 0.78);
}

body.blog-theme-light .privacy-modal__content header {
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.94));
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 28px 60px -44px rgba(15, 23, 42, 0.28);
}

.privacy-modal__content header h1 {
  margin: 0;
  font-size: clamp(1.25rem, 1.4vw + 1rem, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--blog-text-strong);
}

.privacy-modal__content header p {
  margin: 0;
  color: var(--blog-text-soft);
}

.privacy-modal__content .legal-section,
.privacy-modal__content .guide-section {
  position: relative;
  display: grid;
  gap: 0.9rem;
  background: rgba(10, 16, 23, 0.86);
  border: 1px solid rgba(138, 166, 191, 0.28);
  border-radius: 22px;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: 0 30px 64px -44px rgba(5, 10, 16, 0.88);
}

.privacy-modal__content .legal-section::before,
.privacy-modal__content .guide-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.38), rgba(53, 194, 139, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}

body.blog-theme-light .privacy-modal__content .legal-section,
body.blog-theme-light .privacy-modal__content .guide-section {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 26px 60px -42px rgba(15, 23, 42, 0.24);
}

body.blog-theme-light .privacy-modal__content .legal-section::before,
body.blog-theme-light .privacy-modal__content .guide-section::before {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.12));
  opacity: 0.4;
}

.privacy-modal__content .legal-section h2,
.privacy-modal__content .guide-section h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 600;
  color: var(--blog-text-strong);
}

.privacy-modal__content .legal-section h3,
.privacy-modal__content .legal-section h4,
.privacy-modal__content .guide-section h3,
.privacy-modal__content .guide-section h4 {
  margin: 1rem 0 0.35rem;
  font-weight: 600;
  color: rgba(222, 235, 255, 0.88);
}

body.blog-theme-light .privacy-modal__content .legal-section h3,
body.blog-theme-light .privacy-modal__content .legal-section h4,
body.blog-theme-light .privacy-modal__content .guide-section h3,
body.blog-theme-light .privacy-modal__content .guide-section h4 {
  color: rgba(31, 41, 55, 0.85);
}

.privacy-modal__content .legal-section h3:first-child,
.privacy-modal__content .legal-section h4:first-child,
.privacy-modal__content .guide-section h3:first-child,
.privacy-modal__content .guide-section h4:first-child {
  margin-top: 0;
}

.privacy-modal__content .legal-section p,
.privacy-modal__content .guide-section p {
  margin: 0;
  color: rgba(186, 198, 213, 0.9);
}

body.blog-theme-light .privacy-modal__content .legal-section p,
body.blog-theme-light .privacy-modal__content .guide-section p {
  color: rgba(55, 65, 81, 0.82);
}

.privacy-modal__content .legal-section p + p,
.privacy-modal__content .guide-section p + p {
  margin-top: 0.55rem;
}

.privacy-modal__content .legal-section strong,
.privacy-modal__content .guide-section strong {
  color: var(--blog-text-strong);
}

.privacy-modal__content .legal-section em,
.privacy-modal__content .guide-section em {
  color: rgba(222, 235, 255, 0.82);
}

body.blog-theme-light .privacy-modal__content .legal-section em,
body.blog-theme-light .privacy-modal__content .guide-section em {
  color: rgba(55, 65, 81, 0.75);
}

.privacy-modal__content ul,
.privacy-modal__content ol {
  margin: 0;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.45rem;
  color: rgba(186, 198, 213, 0.9);
}

body.blog-theme-light .privacy-modal__content ul,
body.blog-theme-light .privacy-modal__content ol {
  color: rgba(55, 65, 81, 0.82);
}

.privacy-modal__content li::marker {
  color: var(--blog-accent-strong);
}

.privacy-modal__content a {
  color: var(--blog-accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(123, 195, 255, 0.55);
  text-underline-offset: 0.3em;
}

body.blog-theme-light .privacy-modal__content a {
  color: var(--blog-accent);
  text-decoration-color: rgba(37, 99, 235, 0.4);
}

.privacy-modal__content a:hover {
  color: var(--blog-accent);
  text-decoration-color: currentColor;
}

.privacy-modal__content .border.rounded {
  background: rgba(8, 14, 20, 0.82);
  border: 1px solid rgba(138, 166, 191, 0.32);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: inset 0 0 0 1px rgba(74, 163, 255, 0.08);
}

body.blog-theme-light .privacy-modal__content .border.rounded {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.privacy-modal__content .border.rounded h4 {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(222, 235, 255, 0.95);
}

body.blog-theme-light .privacy-modal__content .border.rounded h4 {
  color: rgba(31, 41, 55, 0.9);
}

.privacy-modal__content .border.rounded p {
  margin: 0;
}

.privacy-modal__content pre {
  background: rgba(5, 10, 16, 0.85);
  border: 1px solid rgba(74, 163, 255, 0.25);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  color: rgba(220, 232, 247, 0.92);
  box-shadow: inset 0 0 0 1px rgba(74, 163, 255, 0.08);
  overflow-x: auto;
  max-width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.blog-theme-light .privacy-modal__content pre {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(37, 99, 235, 0.18);
  color: rgba(31, 41, 55, 0.9);
}

.privacy-modal__content code {
  color: var(--blog-accent-strong);
  font-family: "JetBrains Mono", "SFMono-Regular", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.privacy-modal__content code.copy {
  user-select: all;
  overflow-wrap: anywhere;
}

.privacy-modal__content .lead {
  color: rgba(210, 224, 240, 0.78);
}

body.blog-theme-light .privacy-modal__content .lead {
  color: rgba(55, 65, 81, 0.72);
}

.privacy-modal__content .small {
  font-size: 0.85rem;
  color: rgba(186, 198, 213, 0.75);
}

body.blog-theme-light .privacy-modal__content .small {
  color: rgba(55, 65, 81, 0.68);
}

.privacy-modal__content .text-muted {
  color: rgba(154, 165, 179, 0.72) !important;
}

body.blog-theme-light .privacy-modal__content .text-muted {
  color: rgba(107, 114, 128, 0.75) !important;
}

.privacy-modal__content .text-center {
  text-align: center;
}

.privacy-modal__content .py-4 {
  padding-block: 1.6rem;
}

.privacy-modal__content .mt-3 {
  margin-top: 1.1rem;
}

.privacy-modal__content .alert {
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 107, 107, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: rgba(255, 199, 199, 0.92);
}

body.blog-theme-light .privacy-modal__content .alert {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.3);
  color: rgba(127, 29, 29, 0.88);
}

.privacy-modal__content .alert a,
.privacy-modal__content .alert-link {
  color: #fff;
  font-weight: 600;
}

body.blog-theme-light .privacy-modal__content .alert a,
body.blog-theme-light .privacy-modal__content .alert-link {
  color: rgba(29, 78, 216, 0.9);
}

.privacy-modal__content .alert-link:hover {
  color: #d8e9ff;
}

body.blog-theme-light .privacy-modal__content .alert-link:hover {
  color: rgba(29, 78, 216, 1);
}

.lightbox__body pre {
  white-space: pre-wrap;
}

@media (max-width: 600px) {
  .lightbox__dialog {
    border-radius: 16px;
  }

  .lightbox__head {
    padding: 1.25rem 1.5rem 1rem;
  }

  .lightbox__body {
    padding: 1.5rem;
  }
}

.blog-header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: auto;
}

.blog-header__theme {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(122, 148, 173, 0.24);
  border-radius: 999px;
  background: rgba(15, 22, 30, 0.55);
  color: var(--blog-text-strong);
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.blog-header__theme:hover,
.blog-header__theme:focus-visible {
  transform: translateY(-1px);
  background: rgba(74, 163, 255, 0.18);
  border-color: rgba(74, 163, 255, 0.35);
  box-shadow: 0 16px 32px -22px rgba(74, 163, 255, 0.55);
}

.blog-header__theme span[data-blog-theme-icon] {
  font-size: 1.1rem;
  line-height: 1;
}

body.blog-theme-light .blog-header__theme {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--blog-text-strong);
  box-shadow: 0 16px 32px -24px rgba(37, 99, 235, 0.25);
}

body.blog-theme-light .blog-header__theme:hover,
body.blog-theme-light .blog-header__theme:focus-visible {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 18px 34px -24px rgba(37, 99, 235, 0.28);
}

.blog-header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--blog-accent) 0%, var(--blog-accent-strong) 100%);
  color: #05080d;
  box-shadow: 0 16px 34px -18px rgba(74, 163, 255, 0.75);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-header__link:hover,
.blog-header__link:focus {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px -20px rgba(74, 163, 255, 0.85);
}

.blog-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.25rem clamp(1rem, 5vw, 4rem) 3.5rem;
  width: min(1180px, 100%);
  margin: 0 auto 3rem;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 1.75rem;
  align-self: start;
}

.blog-sidebar .blog-categories,
.blog-sidebar__posts {
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.02) 0%, rgba(8, 12, 18, 0.9) 65%),
    var(--blog-surface-glass);
  border: 1px solid var(--blog-border);
  border-radius: 20px;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--blog-shadow);
  backdrop-filter: blur(16px);
}

body.blog-theme-light .blog-sidebar .blog-categories,
body.blog-theme-light .blog-sidebar__posts {
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.92) 65%),
    var(--blog-surface-glass);
}

.blog-categories {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.blog-sidebar__posts {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.blog-sidebar__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blog-muted);
}

.blog-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-sidebar__item {
  margin: 0;
}

.blog-sidebar__button {
  width: 100%;
  border: 1px solid rgba(74, 163, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 15, 22, 0.55);
  color: var(--blog-text);
  font: inherit;
  text-align: left;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

body.blog-theme-light .blog-sidebar__button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(37, 99, 235, 0.12);
  color: var(--blog-text);
}

.blog-sidebar__button:hover,
.blog-sidebar__button:focus-visible {
  border-color: var(--blog-accent);
  background: var(--blog-accent-soft);
  transform: translateY(-1px);
  outline: none;
}

.blog-sidebar__button--active {
  border-color: var(--blog-accent);
  background: linear-gradient(145deg, var(--blog-accent-soft) 0%, rgba(74, 163, 255, 0.28) 100%);
  color: var(--blog-text-strong);
  box-shadow: 0 18px 38px -24px rgba(74, 163, 255, 0.65);
}

body.blog-theme-light .blog-sidebar__button--active {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.18) 0%, rgba(37, 99, 235, 0.08) 100%);
  color: var(--blog-text-strong);
}

.blog-sidebar__entry-title {
  font-weight: 600;
  line-height: 1.35;
}

.blog-sidebar__entry-date {
  font-size: 0.82rem;
  color: var(--blog-muted);
}

.blog-sidebar__empty {
  margin: 0;
  padding: 0.25rem 0;
  color: var(--blog-muted);
  font-size: 0.85rem;
}

.blog-categories__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blog-muted);
}

.blog-categories__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-categories__item {
  margin: 0;
}

.blog-categories__button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: transparent;
  color: var(--blog-muted);
  font: inherit;
  text-align: left;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-categories__button:hover,
.blog-categories__button:focus-visible {
  color: var(--blog-text-strong);
}

.blog-categories__button[aria-pressed="true"] {
  background: var(--blog-accent-soft);
  border-color: rgba(74, 163, 255, 0.35);
  color: var(--blog-text-strong);
  font-weight: 600;
  transform: translateY(-1px);
}

.blog-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

.blog-posts,
.blog-post-detail {
  background:
    linear-gradient(205deg, rgba(255, 255, 255, 0.03) 0%, rgba(9, 13, 18, 0.9) 70%),
    var(--blog-surface-glass);
  border: 1px solid var(--blog-border);
  border-radius: 22px;
  padding: clamp(1.75rem, 2vw + 1.25rem, 2.4rem);
  box-shadow: var(--blog-shadow);
  backdrop-filter: blur(14px);
}

body.blog-theme-light .blog-posts,
body.blog-theme-light .blog-post-detail {
  background:
    linear-gradient(205deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.9) 70%),
    var(--blog-surface-glass);
}

.blog-posts__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: var(--blog-text-strong);
}

.blog-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.blog-posts__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--blog-muted);
}

.blog-posts__sort-label {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-posts__sort-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--blog-border);
  border-radius: 999px;
  background: var(--blog-surface);
  color: var(--blog-text);
  padding: 0.35rem 2.5rem 0.35rem 0.95rem;
  font: inherit;
  line-height: 1.4;
  position: relative;
  min-width: 12rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-posts__sort-select:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: 2px;
}

.blog-posts__table-wrapper {
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.02) 0%, rgba(8, 12, 18, 0.88) 70%),
    var(--blog-surface-glass);
  box-shadow: var(--blog-shadow);
}

body.blog-theme-light .blog-posts__table-wrapper {
  background:
    linear-gradient(200deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 255, 0.92) 70%),
    var(--blog-surface-glass);
}

.blog-posts__table-wrapper[hidden] {
  display: none;
}

.blog-posts__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.blog-posts__table thead th {
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--blog-border);
  background: rgba(12, 18, 24, 0.72);
  color: var(--blog-text);
}

body.blog-theme-light .blog-posts__table thead th {
  background: rgba(226, 234, 246, 0.75);
  color: var(--blog-text);
}

.blog-posts__table tbody td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(112, 134, 155, 0.22);
  color: var(--blog-text-soft);
  vertical-align: middle;
}

.blog-posts__table tbody tr:last-child td {
  border-bottom: none;
}

.blog-posts__row {
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.blog-posts__row:hover td {
  background-color: var(--blog-accent-soft);
  color: var(--blog-text);
}

.blog-posts__row.is-selected td {
  background-color: rgba(74, 163, 255, 0.16);
  color: var(--blog-text);
}

.blog-posts__row:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: -2px;
}

.blog-posts__cell--title {
  font-weight: 600;
  color: var(--blog-text-strong);
}

.blog-posts__cell--category {
  width: 20%;
}

.blog-posts__cell--published,
.blog-posts__cell--updated {
  width: 18%;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .blog-posts__header {
    align-items: flex-start;
  }

  .blog-posts__sort-select {
    min-width: 10rem;
  }
}

@media (max-width: 720px) {
  .blog-posts__table {
    min-width: 480px;
  }
}


.blog-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-post-card {
  display: grid;
  gap: 0.6rem;
  border: 1px solid var(--blog-border);
  border-radius: 18px;
  padding: 1.1rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(7, 10, 14, 0.82) 100%);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

body.blog-theme-light .blog-post-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 243, 255, 0.92) 100%);
}

.blog-post-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(74, 163, 255, 0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

body.blog-theme-light .blog-post-card::after {
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.22), transparent 60%);
}

.blog-post-card:hover,
.blog-post-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(74, 163, 255, 0.45);
  box-shadow: 0 24px 45px -20px rgba(74, 163, 255, 0.4);
}

.blog-post-card:hover::after,
.blog-post-card:focus-within::after {
  opacity: 1;
}

.blog-post-card[aria-current="true"] {
  border-color: rgba(74, 163, 255, 0.6);
  box-shadow: 0 26px 50px -22px rgba(74, 163, 255, 0.55);
}

.blog-post-card[aria-current="true"]::after {
  opacity: 1;
}

body.blog-theme-light .blog-post-card:hover,
body.blog-theme-light .blog-post-card:focus-within,
body.blog-theme-light .blog-post-card[aria-current="true"] {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 24px 45px -20px rgba(37, 99, 235, 0.28);
}

.blog-post-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blog-text-strong);
}

.blog-post-card__meta {
  margin: 0 0 0.75rem;
}

.blog-post-card__excerpt {
  margin: 0;
  color: var(--blog-text-soft);
  line-height: 1.6;
}

.blog-meta-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #fff;
}

.blog-post-card__meta.blog-meta-icons {
  margin: 0 0 0.75rem;
}

.blog-post-detail__meta.blog-meta-icons {
  margin-bottom: 1.9rem;
}

.blog-meta-icons__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background-color: rgba(148, 163, 184, 0.16);
  color: inherit;
  transition: transform 0.2s ease;
}

body.blog-theme-light .blog-meta-icons__item {
  background-color: rgba(148, 163, 184, 0.18);
}

.blog-meta-icons__item:hover,
.blog-meta-icons__item:focus-visible {
  transform: translateY(-1px);
}

.blog-meta-icons__icon {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
}

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

.blog-post-detail[hidden] {
  display: none;
}

.blog-post-detail__hero {
  margin: 0 0 1.75rem;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.16), rgba(53, 194, 139, 0.12));
  box-shadow: 0 28px 60px -40px rgba(8, 12, 18, 0.75);
}

body.blog-theme-light .blog-post-detail__hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(16, 185, 129, 0.12));
  box-shadow: 0 24px 54px -38px rgba(15, 23, 42, 0.26);
}

.blog-post-detail__hero[hidden] {
  display: none;
}

.blog-post-detail__hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-post-detail__category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blog-muted);
}

.blog-post-detail__title {
  margin: 0.6rem 0 1.1rem;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--blog-text-strong);
}

.blog-post-detail__meta {
  margin-bottom: 1.9rem;
}

.blog-post-detail__content > *:first-child {
  margin-top: 0;
}

.blog-post-detail__content > *:last-child {
  margin-bottom: 0;
}

.blog-post-detail__content p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--blog-text-soft);
}

.blog-post-detail__content .ql-caption {
  display: block;
  margin-top: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--blog-muted);
  text-align: center;
  letter-spacing: 0.01em;
  font-style: italic;
}

.blog-post-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin: 1.5rem auto;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 24px 38px -28px rgba(8, 12, 18, 0.45);
}

.blog-post-detail__content img:hover,
.blog-post-detail__content img:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 32px 52px -32px rgba(8, 12, 18, 0.55);
}

.blog-post-detail__content img:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: 4px;
}

.blog-post-detail__content a {
  color: var(--blog-accent-strong);
}

.blog-post-detail__content .blog-hashtag-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--blog-accent-strong);
  background-color: var(--blog-accent-soft);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-detail__content .blog-hashtag-link:hover,
.blog-post-detail__content .blog-hashtag-link:focus-visible {
  background-color: rgba(74, 163, 255, 0.28);
  color: var(--blog-text-strong);
  box-shadow: 0 8px 18px -12px rgba(8, 12, 18, 0.55);
}

.blog-post-detail__content .blog-hashtag-link:focus-visible {
  outline: 2px solid var(--blog-accent);
  outline-offset: 2px;
}

.blog-share {
  margin-top: 2.45rem;
  border-top: 1px solid var(--blog-border);
  padding-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.blog-share__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.blog-share__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  padding: 0.55rem 1rem;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.blog-share__icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.blog-share__button,
.blog-share__copy {
  font: inherit;
}

.blog-share__button {
  border: none;
}

.blog-share__button {
  background: linear-gradient(135deg, var(--blog-accent), var(--blog-accent-strong));
  color: #06090e;
  box-shadow: 0 16px 34px -20px rgba(74, 163, 255, 0.7);
}

.blog-share__button:hover,
.blog-share__button:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -20px rgba(74, 163, 255, 0.8);
}

.blog-share__copy {
  background-color: rgba(74, 163, 255, 0.12);
  color: var(--blog-text-strong);
  border: 1px solid rgba(74, 163, 255, 0.28);
}

.blog-share__copy:hover,
.blog-share__copy:focus {
  transform: translateY(-1px);
  background-color: rgba(74, 163, 255, 0.18);
}

.blog-share__link {
  text-decoration: none;
  color: var(--blog-text-strong);
  background-color: rgba(74, 163, 255, 0.12);
  border: 1px solid rgba(74, 163, 255, 0.28);
}

.blog-share__link:hover,
.blog-share__link:focus {
  background-color: rgba(74, 163, 255, 0.18);
  transform: translateY(-1px);
}

.blog-share__feedback {
  margin: 0;
  font-size: 0.9rem;
  color: var(--blog-muted);
}

body.blog-image-lightbox-open {
  overflow: hidden;
}

.blog-image-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: rgba(5, 8, 13, 0.88);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

body.blog-theme-light .blog-image-lightbox {
  background: rgba(15, 23, 42, 0.82);
}

.blog-image-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.blog-image-lightbox__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(1100px, 100%);
  max-height: 90vh;
}

.blog-image-lightbox__image-wrapper {
  width: 100%;
  flex: 1 1 auto;
  max-height: min(90vh, 100%);
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.8);
  background: rgba(15, 23, 42, 0.35);
}

body.blog-theme-light .blog-image-lightbox__image-wrapper {
  background: rgba(248, 250, 252, 0.2);
}

.blog-image-lightbox__image {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: center center;
  transition: transform 0.18s ease;
}

.blog-image-lightbox__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: min(420px, 100%);
  padding: 0.6rem 0.75rem;
  background: rgba(15, 23, 42, 0.55);
  border-radius: 999px;
  box-shadow: 0 18px 45px -28px rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.88);
  flex-shrink: 0;
}

body.blog-theme-light .blog-image-lightbox__controls {
  background: rgba(255, 255, 255, 0.85);
  color: rgba(15, 23, 42, 0.85);
  box-shadow: 0 18px 45px -28px rgba(15, 23, 42, 0.45);
}

.blog-image-lightbox__zoom-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blog-image-lightbox__zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  outline: none;
  cursor: pointer;
  position: relative;
}

.blog-image-lightbox__zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4aa3ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
  transition: transform 0.1s ease;
}

.blog-image-lightbox__zoom-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4aa3ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.32);
  border: none;
  transition: transform 0.1s ease;
}

.blog-image-lightbox__zoom-slider::-webkit-slider-thumb:hover,
.blog-image-lightbox__zoom-slider::-webkit-slider-thumb:focus-visible,
.blog-image-lightbox__zoom-slider::-moz-range-thumb:hover,
.blog-image-lightbox__zoom-slider::-moz-range-thumb:focus-visible {
  transform: scale(1.2);
}

.blog-empty,
.blog-error {
  border-radius: 14px;
  background-color: rgba(74, 163, 255, 0.1);
  padding: 1.6rem;
  color: var(--blog-text);
  text-align: center;
  border: 1px solid rgba(74, 163, 255, 0.22);
}

.blog-pagination {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-pagination__button {
  border-radius: 999px;
  border: 1px solid rgba(74, 163, 255, 0.35);
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.16), rgba(74, 163, 255, 0.05));
  color: var(--blog-text-strong);
  font: inherit;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-pagination__button:hover,
.blog-pagination__button:focus {
  background: linear-gradient(135deg, rgba(74, 163, 255, 0.22), rgba(74, 163, 255, 0.08));
  transform: translateY(-1px);
  box-shadow: 0 18px 35px -20px rgba(74, 163, 255, 0.55);
}

.blog-pagination__button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.blog-pagination__status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--blog-muted);
}

@media (max-width: 992px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-sidebar {
    position: relative;
    top: auto;
    gap: 1.5rem;
  }

  .blog-sidebar .blog-categories {
    gap: 1rem;
  }

  .blog-categories__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .blog-categories__button {
    width: auto;
  }
}

@media (max-width: 600px) {
  .blog-header {
    padding: 2.5rem 1.25rem 1.9rem;
  }

  .blog-layout {
    padding: 1.75rem 1rem 2.75rem;
  }

  .blog-share__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
