/* ==========================================================================
   SOS-CMS — Front-End Public Stylesheet
   SOURCE OF TRUTH — Edit this file directly.
   SCSS files are deprecated and NOT compiled.
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables (Theme)
   -------------------------------------------------------------------------- */
:root {
  /* Theme Colors — can be overridden per-site via inline style or theme settings */
  --theme-primary: #3B82F6;
  --theme-primary-dark: #2563EB;
  --theme-primary-light: #93C5FD;
  --theme-primary-50: #EFF6FF;
  --theme-secondary: #8B5CF6;
  --theme-secondary-dark: #7C3AED;
  --theme-accent: #10B981;
  --theme-accent-dark: #059669;
  --theme-bg: #FFFFFF;
  --theme-surface: #F9FAFB;
  --theme-text: #111827;
  --theme-text-light: #6B7280;
  --theme-text-lighter: #9CA3AF;
  --theme-heading-color: #111827;
  --theme-border: #E5E7EB;
  --theme-border-light: #F3F4F6;
  /* Fonts */
  --theme-heading-font: 'Inter', system-ui, -apple-system, sans-serif;
  --theme-body-font: 'Inter', system-ui, -apple-system, sans-serif;
  /* Layout */
  --theme-container: 1200px;
  --theme-content-width: 720px;
  --theme-header-height: 72px;
  /* Radius */
  --theme-radius-sm: 4px;
  --theme-radius-md: 8px;
  --theme-radius-lg: 12px;
  --theme-radius-xl: 16px;
  --theme-radius-full: 9999px;
  /* Shadows */
  --theme-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --theme-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --theme-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --theme-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  /* Transition */
  --theme-transition: 0.2s ease;
}

/* Universal page-builder output */
.sos-builder{--sos-primary:var(--color-primary,#3b82f6);--sos-radius:12px}.sos-section{width:100%}.sos-section__inner{width:min(1180px,calc(100% - 2rem));margin-inline:auto}.sos-section__title{text-align:center;font-size:clamp(1.75rem,4vw,2.75rem);margin:0 0 1.25rem}.sos-section__intro{max-width:720px;margin:0 auto 2rem;text-align:center}.sos-richtext>*:first-child{margin-top:0}.sos-richtext>*:last-child{margin-bottom:0}.sos-grid{display:grid;grid-template-columns:repeat(var(--columns,3),minmax(0,1fr));gap:1.25rem}.sos-grid--1{--columns:1}.sos-grid--2{--columns:2}.sos-grid--3{--columns:3}.sos-grid--4{--columns:4}.sos-grid--5{--columns:5}.sos-grid--6{--columns:6}.sos-card{padding:1.4rem;border:1px solid #e2e8f0;border-radius:var(--sos-radius);background:#fff;box-shadow:0 4px 16px #0f172a0d}.sos-card .sos-image{margin:-1.4rem -1.4rem 1rem;width:calc(100% + 2.8rem);max-width:none;border-radius:var(--sos-radius) var(--sos-radius) 0 0}.sos-card__icon{font-size:2rem}.sos-image{display:block;width:100%;height:auto;object-fit:cover;border-radius:var(--sos-radius)}.sos-image-text,.sos-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(2rem,6vw,5rem)}.sos-image-text--right .sos-image{order:2}.sos-hero--center{display:block;text-align:center;max-width:900px;margin:auto}.sos-hero--fullscreen{min-height:70vh;align-content:center}.sos-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-weight:700;color:var(--sos-primary)}.sos-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}.sos-hero--center .sos-actions{justify-content:center}.sos-button{display:inline-flex;align-items:center;justify-content:center;padding:.8rem 1.25rem;border-radius:8px;background:var(--sos-primary);color:#fff;text-decoration:none;font-weight:700}.sos-button--secondary{background:transparent;color:inherit;border:1px solid currentColor}.sos-cta{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:clamp(1.5rem,4vw,3rem);border-radius:var(--sos-radius);background:#eff6ff}.sos-faq{max-width:850px;margin:auto}.sos-faq details{border-bottom:1px solid #e2e8f0;padding:1rem}.sos-faq summary{font-weight:700;cursor:pointer}.sos-contact{display:grid;gap:.75rem;font-style:normal}.sos-map,.sos-embed,.sos-video{width:100%;border:0;border-radius:var(--sos-radius);margin-top:1.5rem}.sos-map{height:420px}.sos-price{font-size:2rem;font-weight:800}.sos-stat{font-size:clamp(2rem,5vw,3.5rem);display:block;color:var(--sos-primary)}.sos-divider{border:0;border-top:1px solid #e2e8f0}.sos-section--hide-desktop{display:none}
@media(max-width:900px){.sos-grid{--columns:2}.sos-section--hide-desktop{display:block}.sos-section--hide-tablet{display:none}.sos-image-text,.sos-hero{grid-template-columns:1fr}.sos-image-text--right .sos-image{order:0}.sos-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.sos-grid{--columns:1}.sos-section__inner{width:min(100% - 1.25rem,1180px)}.sos-section--hide-tablet{display:block}.sos-section--hide-mobile{display:none}.sos-actions{align-items:stretch;flex-direction:column}.sos-button{width:100%}}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--theme-body-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--theme-text);
  background-color: var(--theme-bg);
}

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

a {
  color: var(--theme-primary);
  text-decoration: none;
  transition: color var(--theme-transition);
}

a:hover {
  color: var(--theme-primary-dark);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input,
textarea,
select {
  font: inherit;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

hr {
  border: none;
  border-top: 1px solid var(--theme-border);
  margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   Accessibility — Skip Link
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--theme-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--theme-radius-sm) 0;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--theme-primary-dark);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-heading-font);
  font-weight: 700;
  line-height: 1.25;
  color: var(--theme-heading-color);
  margin-bottom: 0.75em;
}

h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

blockquote {
  border-left: 4px solid var(--theme-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: var(--theme-surface);
  border-radius: 0 var(--theme-radius-md) var(--theme-radius-md) 0;
  font-style: italic;
  color: var(--theme-text-light);
}

blockquote p:last-child {
  margin-bottom: 0;
}

code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
  background-color: var(--theme-surface);
  padding: 0.125em 0.375em;
  border-radius: var(--theme-radius-sm);
  color: var(--theme-secondary);
}

pre {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
  background-color: #1E293B;
  color: #E2E8F0;
  padding: 1.5rem;
  border-radius: var(--theme-radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

mark {
  background-color: #FEF3C7;
  padding: 0.125em 0.25em;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Container & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--theme-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--theme-content-width);
}

.container--wide {
  max-width: 1400px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.75rem;
}

.col {
  flex: 1 1 0%;
  padding: 0 0.75rem;
}

.col-12 { width: 100%; flex: 0 0 100%; padding: 0 0.75rem; }
.col-6 { width: 50%; flex: 0 0 50%; padding: 0 0.75rem; }
.col-4 { width: 33.333%; flex: 0 0 33.333%; padding: 0 0.75rem; }
.col-3 { width: 25%; flex: 0 0 25%; padding: 0 0.75rem; }
.col-8 { width: 66.666%; flex: 0 0 66.666%; padding: 0 0.75rem; }
.col-9 { width: 75%; flex: 0 0 75%; padding: 0 0.75rem; }

.grid {
  display: grid;
  gap: 1.5rem;
}

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

/* Section spacing */
.section {
  padding: 4rem 0;
}

.section--sm { padding: 2rem 0; }
.section--lg { padding: 6rem 0; }
.section--xl { padding: 8rem 0; }

.section--bg {
  background-color: var(--theme-surface);
}

.section--dark {
  background-color: #1E293B;
  color: #E2E8F0;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #F1F5F9;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--theme-bg);
  border-bottom: 1px solid var(--theme-border);
  height: var(--theme-header-height);
  transition: box-shadow var(--theme-transition), background-color var(--theme-transition);
}

.site-header.is-scrolled {
  box-shadow: var(--theme-shadow-md);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--theme-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--theme-heading-color);
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 2.5rem;
  width: auto;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--theme-text);
  border-radius: var(--theme-radius-md);
  transition: all var(--theme-transition);
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--theme-primary);
  background-color: var(--theme-primary-50);
  text-decoration: none;
}

.site-nav__link.is-active {
  color: var(--theme-primary);
}

/* Dropdown submenu */
.site-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.5rem;
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-md);
  box-shadow: var(--theme-shadow-lg);
  z-index: 101;
}

.site-nav__item:hover > .site-nav__dropdown {
  display: block;
  animation: nav-dropdown-in 0.15s ease;
}

.site-nav__dropdown .site-nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--theme-radius-sm);
  font-size: 0.875rem;
  width: 100%;
}

.site-nav__dropdown .site-nav__link:hover {
  background-color: var(--theme-primary-50);
}

@keyframes nav-dropdown-in {
  from { opacity: 0; transform: translateY(-0.25rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA button in nav */
.site-nav__cta {
  margin-left: 0.75rem;
}

.site-nav__cta .btn {
  padding: 0.5rem 1.25rem;
}

/* Hamburger menu */
.site-nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--theme-radius-md);
  transition: background-color var(--theme-transition);
}

.site-nav__hamburger:hover {
  background-color: var(--theme-surface);
}

.site-nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--theme-text);
  border-radius: 1px;
  transition: all 0.25s ease;
}

.site-nav__hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.site-nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.site-nav__hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile navigation slide-out */
.site-nav__mobile {
  display: none;
  position: fixed;
  top: var(--theme-header-height);
  right: 0;
  width: 300px;
  height: calc(100vh - var(--theme-header-height));
  background-color: var(--theme-bg);
  box-shadow: var(--theme-shadow-xl);
  z-index: 99;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.site-nav__mobile.is-open {
  display: block;
  transform: translateX(0);
}

.site-nav__mobile .site-nav__link {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--theme-border-light);
  border-radius: 0;
  font-size: 1rem;
}

.site-nav__mobile-overlay {
  display: none;
  position: fixed;
  top: var(--theme-header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--theme-header-height));
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 98;
}

.site-nav__mobile-overlay.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 4rem 0;
  overflow: hidden;
}

.hero--full {
  min-height: calc(100vh - var(--theme-header-height));
}

.hero--center {
  text-align: center;
}

.hero--center .hero__content {
  margin: 0 auto;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero--dark .hero__content {
  color: #FFFFFF;
}

.hero--dark .hero__content h1,
.hero--dark .hero__content h2 {
  color: #FFFFFF;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--theme-text-light);
  margin-bottom: 2rem;
}

.hero--dark .hero__subtitle {
  color: rgba(255, 255, 255, 0.8);
}

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

.hero--center .hero__actions {
  justify-content: center;
}

/* Gradient hero */
.hero--gradient {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-secondary) 100%);
  color: #FFFFFF;
}

.hero--gradient h1,
.hero--gradient h2 {
  color: #FFFFFF;
}

.hero--gradient .hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* --------------------------------------------------------------------------
   Buttons (Front)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  border: 2px solid transparent;
  border-radius: var(--theme-radius-md);
  cursor: pointer;
  transition: all var(--theme-transition);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--theme-primary);
  color: #FFFFFF;
  border-color: var(--theme-primary);
}

.btn--primary:hover {
  background-color: var(--theme-primary-dark);
  border-color: var(--theme-primary-dark);
  color: #FFFFFF;
}

.btn--secondary {
  background-color: transparent;
  color: var(--theme-text);
  border-color: var(--theme-border);
}

.btn--secondary:hover {
  border-color: var(--theme-text);
  color: var(--theme-text);
}

.btn--white {
  background-color: #FFFFFF;
  color: var(--theme-text);
  border-color: #FFFFFF;
}

.btn--white:hover {
  background-color: #F1F5F9;
}

.btn--outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
  background-color: #FFFFFF;
  color: var(--theme-text);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn--sm {
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
}

.btn--pill {
  border-radius: var(--theme-radius-full);
}

/* --------------------------------------------------------------------------
   Content Area
   -------------------------------------------------------------------------- */
.content {
  max-width: var(--theme-content-width);
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.content h2 {
  margin-top: 2.5rem;
}

.content h3 {
  margin-top: 2rem;
}

.content img {
  border-radius: var(--theme-radius-md);
  margin: 1.5rem 0;
}

.content ul,
.content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

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

.content li {
  margin-bottom: 0.5rem;
}

.content a {
  color: var(--theme-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content a:hover {
  color: var(--theme-primary-dark);
}

.content table {
  margin: 1.5rem 0;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  overflow: hidden;
}

.content table th {
  background-color: var(--theme-surface);
  text-align: left;
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.content table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--theme-border);
}

.content figure {
  margin: 2rem 0;
}

.content figcaption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--theme-text-light);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Blog — Article Cards
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.article-card {
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--theme-text);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--theme-shadow-lg);
  transform: translateY(-4px);
  text-decoration: none;
  color: var(--theme-text);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: var(--theme-surface);
}

.article-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--theme-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--theme-heading-color);
}

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

.article-card__excerpt {
  font-size: 0.9375rem;
  color: var(--theme-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--theme-text-lighter);
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-card__author-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Blog — Single Article */
.article {
  max-width: var(--theme-content-width);
  margin: 0 auto;
}

.article__header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2rem 0;
}

.article__category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--theme-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  background-color: var(--theme-primary-50);
  padding: 0.25rem 0.75rem;
  border-radius: var(--theme-radius-full);
}

.article__title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9375rem;
  color: var(--theme-text-light);
  flex-wrap: wrap;
}

.article__meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.article__featured-image {
  width: 100%;
  border-radius: var(--theme-radius-lg);
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article__body {
  font-size: 1.0625rem;
  line-height: 1.85;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--theme-surface);
  border-radius: var(--theme-radius-lg);
  margin: 3rem 0;
}

.author-bio__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio__info {
  flex: 1;
}

.author-bio__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-bio__role {
  font-size: 0.875rem;
  color: var(--theme-primary);
  margin-bottom: 0.5rem;
}

.author-bio__description {
  font-size: 0.9375rem;
  color: var(--theme-text-light);
  line-height: 1.6;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
  z-index: 200;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Sidebar
   -------------------------------------------------------------------------- */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar__widget {
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-lg);
  padding: 1.5rem;
}

.sidebar__widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--theme-primary);
}

/* Search widget */
.search-widget {
  position: relative;
}

.search-widget input {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  font-size: 0.9375rem;
  transition: border-color var(--theme-transition);
}

.search-widget input:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-widget__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--theme-text-lighter);
  width: 1rem;
  height: 1rem;
}

/* Categories widget */
.category-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--theme-border-light);
}

.category-list__item:last-child {
  border-bottom: none;
}

.category-list__item a {
  color: var(--theme-text);
  transition: color var(--theme-transition);
}

.category-list__item a:hover {
  color: var(--theme-primary);
}

.category-list__count {
  font-size: 0.8125rem;
  color: var(--theme-text-lighter);
  background-color: var(--theme-surface);
  padding: 0.125rem 0.5rem;
  border-radius: var(--theme-radius-full);
}

/* Tags cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.8125rem;
  color: var(--theme-text-light);
  background-color: var(--theme-surface);
  border-radius: var(--theme-radius-full);
  transition: all var(--theme-transition);
  text-decoration: none;
}

.tag-cloud__tag:hover {
  background-color: var(--theme-primary);
  color: #FFFFFF;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Comments (Threaded)
   -------------------------------------------------------------------------- */
.comments {
  margin-top: 3rem;
}

.comments__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.comment {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--theme-border-light);
}

.comment__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment__body {
  flex: 1;
}

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

.comment__author {
  font-weight: 600;
  font-size: 0.9375rem;
}

.comment__date {
  font-size: 0.8125rem;
  color: var(--theme-text-lighter);
}

.comment__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--theme-text);
}

.comment__reply-btn {
  font-size: 0.8125rem;
  color: var(--theme-primary);
  cursor: pointer;
  background: none;
  border: none;
  margin-top: 0.5rem;
  padding: 0;
  font-weight: 500;
}

/* Nested replies */
.comment__replies {
  margin-left: 2.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--theme-border-light);
}

/* Comment form */
.comment-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: var(--theme-surface);
  border-radius: var(--theme-radius-lg);
}

.comment-form__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.comment-form__row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-form__field {
  flex: 1;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  font-size: 0.9375rem;
  transition: border-color var(--theme-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #1E293B;
  color: #94A3B8;
  padding: 4rem 0 0;
}

.site-footer a {
  color: #94A3B8;
  transition: color var(--theme-transition);
}

.site-footer a:hover {
  color: #FFFFFF;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.site-footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #F1F5F9;
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
}

.site-footer__links li {
  margin-bottom: 0.5rem;
}

.site-footer__links a {
  font-size: 0.9375rem;
}

.site-footer__about p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  transition: all var(--theme-transition);
}

.site-footer__social a:hover {
  background-color: var(--theme-primary);
  color: #FFFFFF;
}

.site-footer__newsletter input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #334155;
  border-radius: var(--theme-radius-md);
  background-color: rgba(255, 255, 255, 0.05);
  color: #F1F5F9;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.site-footer__newsletter input::placeholder {
  color: #64748B;
}

.site-footer__bottom {
  padding: 1.5rem 0;
  border-top: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__copyright {
  font-size: 0.875rem;
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Forms (Front)
   -------------------------------------------------------------------------- */
.form__group {
  margin-bottom: 1.25rem;
}

.form__label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--theme-text);
}

.form__control {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
  background-color: var(--theme-bg);
}

.form__control:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__control::placeholder {
  color: var(--theme-text-lighter);
}

textarea.form__control {
  min-height: 120px;
  resize: vertical;
}

.form__error {
  font-size: 0.8125rem;
  color: #EF4444;
  margin-top: 0.25rem;
}

.form__hint {
  font-size: 0.8125rem;
  color: var(--theme-text-lighter);
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1E293B;
  color: #E2E8F0;
  padding: 1.25rem 1.5rem;
  z-index: 300;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: var(--theme-container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent__text {
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
}

.cookie-consent__text a {
  color: var(--theme-primary-light);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Share Buttons
   -------------------------------------------------------------------------- */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.share-buttons__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-text-light);
  margin-right: 0.5rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #FFFFFF;
  transition: all var(--theme-transition);
  text-decoration: none;
}

.share-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--theme-shadow-md);
  color: #FFFFFF;
}

.share-button--facebook { background-color: #1877F2; }
.share-button--twitter { background-color: #1DA1F2; }
.share-button--linkedin { background-color: #0A66C2; }
.share-button--pinterest { background-color: #E60023; }
.share-button--email { background-color: #6B7280; }
.share-button--whatsapp { background-color: #25D366; }

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 500;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.is-active {
  display: flex;
  animation: lightbox-in 0.2s ease;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: var(--theme-radius-sm);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color var(--theme-transition);
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--theme-transition);
}

.lightbox__nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #FFFFFF;
  font-size: 0.875rem;
  text-align: center;
  max-width: 600px;
}

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Back to Top
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-primary);
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: var(--theme-shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
  border: none;
  font-size: 1.25rem;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--theme-primary-dark);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(2rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq {}

.faq__item {
  border-bottom: 1px solid var(--theme-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--theme-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq__question:hover {
  color: var(--theme-primary);
}

.faq__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--theme-text-lighter);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  color: var(--theme-primary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--theme-text-light);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Pricing Table
   -------------------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  box-shadow: var(--theme-shadow-lg);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-lg);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--theme-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: var(--theme-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--theme-text);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--theme-text-light);
}

.pricing-card__description {
  font-size: 0.9375rem;
  color: var(--theme-text-light);
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--theme-text);
}

.pricing-card__features li::before {
  content: '\2713';
  color: var(--theme-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card__cta {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-card__inner {
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-xl);
  padding: 2rem;
  text-align: center;
}

.testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--theme-text);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--theme-primary);
  line-height: 0;
  vertical-align: -0.5em;
  margin-right: 0.25rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.9375rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--theme-text-light);
}

.testimonials-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials-slider__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--theme-border);
  cursor: pointer;
  transition: all var(--theme-transition);
  border: none;
  padding: 0;
}

.testimonials-slider__dot.is-active {
  background-color: var(--theme-primary);
  width: 1.5rem;
  border-radius: var(--theme-radius-full);
}

/* --------------------------------------------------------------------------
   Stats Counter
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem;
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--theme-primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 1rem;
  color: var(--theme-text-light);
  font-weight: 500;
}

.section--dark .stats__number {
  color: var(--theme-primary-light);
}

.section--dark .stats__label {
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   Team Cards
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.team-card {
  text-align: center;
  background-color: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-xl);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: var(--theme-shadow-lg);
  transform: translateY(-4px);
}

.team-card__avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--theme-primary-50);
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.125rem;
}

.team-card__role {
  font-size: 0.875rem;
  color: var(--theme-primary);
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--theme-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-card__social {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.team-card__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--theme-text-light);
  background-color: var(--theme-surface);
  transition: all var(--theme-transition);
}

.team-card__social a:hover {
  background-color: var(--theme-primary);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--theme-radius-md);
  cursor: pointer;
  aspect-ratio: 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Masonry variant */
.gallery--masonry {
  columns: 3;
  column-gap: 1rem;
}

.gallery--masonry .gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  aspect-ratio: auto;
}

/* --------------------------------------------------------------------------
   Pagination (Front)
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 3rem 0;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 0.9375rem;
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  transition: all var(--theme-transition);
  text-decoration: none;
}

.pagination__link:hover {
  background-color: var(--theme-primary-50);
  border-color: var(--theme-primary);
  color: var(--theme-primary);
  text-decoration: none;
}

.pagination__link.is-active {
  background-color: var(--theme-primary);
  color: #FFFFFF;
  border-color: var(--theme-primary);
}

.pagination__link.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Content Area — WYSIWYG content wrapper
   -------------------------------------------------------------------------- */
.content-area {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--theme-text);
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
  font-family: var(--theme-heading-font);
  color: var(--theme-heading-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.content-area h2 { font-size: 1.75rem; }
.content-area h3 { font-size: 1.375rem; }

.content-area p { margin-bottom: 1.25rem; }

.content-area img {
  max-width: 100%;
  height: auto;
  border-radius: var(--theme-radius-md);
}

.content-area a {
  color: var(--theme-primary);
  text-decoration: underline;
}

.content-area blockquote {
  border-left: 4px solid var(--theme-primary);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--theme-surface);
  border-radius: 0 var(--theme-radius-md) var(--theme-radius-md) 0;
  font-style: italic;
  color: var(--theme-text-light);
}

.content-area ul,
.content-area ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.content-area li { margin-bottom: 0.5rem; }

.content-area pre {
  background: #1F2937;
  color: #F9FAFB;
  padding: 1.25rem;
  border-radius: var(--theme-radius-md);
  overflow-x: auto;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.content-area code {
  background: var(--theme-surface);
  padding: 0.125rem 0.375rem;
  border-radius: var(--theme-radius-sm);
  font-size: 0.875em;
}

.content-area pre code {
  background: transparent;
  padding: 0;
}

.content-area table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.content-area th,
.content-area td {
  border: 1px solid var(--theme-border);
  padding: 0.625rem 0.75rem;
  text-align: left;
}

.content-area th {
  background: var(--theme-surface);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Form Elements (front-end forms)
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--theme-text);
  font-size: 0.9375rem;
}

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  font-size: 1rem;
  font-family: var(--theme-body-font);
  color: var(--theme-text);
  background: var(--theme-bg);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
}

.form-input:focus {
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  outline: none;
}

.form-textarea {
  resize: vertical;
  min-height: 6rem;
}

.form-input-group {
  display: flex;
  position: relative;
}

.form-input-group .form-input {
  border-radius: var(--theme-radius-md) 0 0 var(--theme-radius-md);
}

.form-input-group__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border: 1px solid var(--theme-border);
  border-left: none;
  border-radius: 0 var(--theme-radius-md) var(--theme-radius-md) 0;
  background: var(--theme-surface);
  cursor: pointer;
  color: var(--theme-text-light);
}

.form-help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--theme-text-light);
}

.required {
  color: #EF4444;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--theme-radius-md);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.alert--danger {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FEE2E2;
}

.alert--success {
  background: #F0FDF4;
  color: #065F46;
  border: 1px solid #D1FAE5;
}

.alert--info {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #DBEAFE;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--theme-text-light);
}

.empty-state svg {
  margin: 0 auto 1rem;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   Features Grid (vitrine / landing)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border-light);
  border-radius: var(--theme-radius-lg);
  padding: 2rem;
  transition: box-shadow var(--theme-transition), transform var(--theme-transition);
}

.feature-card:hover {
  box-shadow: var(--theme-shadow-lg);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-primary-50);
  color: var(--theme-primary);
  border-radius: var(--theme-radius-md);
  margin-bottom: 1.25rem;
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--theme-heading-color);
  margin-bottom: 0.5rem;
}

.feature-card__text {
  color: var(--theme-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--theme-primary);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9375rem;
}

.feature-card__link:hover {
  color: var(--theme-primary-dark);
}

/* --------------------------------------------------------------------------
   Stats Grid
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-item__number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--theme-primary);
  line-height: 1.1;
}

.stat-item__suffix {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--theme-primary);
}

.stat-item__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--theme-text-light);
}

/* --------------------------------------------------------------------------
   Portfolio Grid
   -------------------------------------------------------------------------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  overflow: hidden;
  border-radius: var(--theme-radius-lg);
}

.portfolio-item__image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.portfolio-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-item__image {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
  opacity: 1;
}

.portfolio-item__link {
  color: #fff;
  background: var(--theme-primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--theme-radius-full);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
}

.portfolio-item__title {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.75rem;
  color: var(--theme-heading-color);
}

.portfolio-item__category {
  font-size: 0.8125rem;
  color: var(--theme-text-light);
}

/* --------------------------------------------------------------------------
   Testimonials Grid
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--theme-text);
  text-align: left;
  font-family: var(--theme-body-font);
  transition: background-color var(--theme-transition);
}

.faq-item__question:hover {
  background: var(--theme-surface);
}

.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--theme-text-light);
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.25rem 1rem;
  color: var(--theme-text-light);
  line-height: 1.7;
}

.faq-item__answer[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   CTA Block
   -------------------------------------------------------------------------- */
.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary, #8B5CF6));
  border-radius: var(--theme-radius-xl);
  color: #fff;
}

.cta-block__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.cta-block__text {
  font-size: 1.0625rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-block .btn {
  background: #fff;
  color: var(--theme-primary);
}

.cta-block .btn:hover {
  background: var(--theme-surface);
}

/* --------------------------------------------------------------------------
   Page Content (generic pages)
   -------------------------------------------------------------------------- */
.page-content {
  padding: 2rem 0 3rem;
}

.page-content__hero {
  margin-bottom: 2rem;
}

.page-content__featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--theme-radius-lg);
}

.page-content__wrapper {
  max-width: var(--theme-content-width);
  margin: 0 auto;
}

.page-content__header {
  margin-bottom: 2rem;
}

.page-content__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-content__excerpt {
  font-size: 1.125rem;
  color: var(--theme-text-light);
  line-height: 1.6;
}

.page-content__body {
  margin-bottom: 2rem;
}

.page-content__children {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-border);
}

.page-content__children-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--theme-heading-color);
}

.page-content__children-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-content__children-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  text-decoration: none;
  color: var(--theme-text);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
}

.page-content__children-link:hover {
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-sm);
}

.page-content__children-image {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: var(--theme-radius-sm);
  flex-shrink: 0;
}

.page-content__children-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.125rem;
}

.page-content__children-text strong {
  color: var(--theme-heading-color);
}

.page-content__children-text span {
  font-size: 0.8125rem;
  color: var(--theme-text-light);
}

.page-content__footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--theme-border-light);
}

.page-content__updated {
  font-size: 0.8125rem;
  color: var(--theme-text-lighter);
}

/* --------------------------------------------------------------------------
   Password Gate
   -------------------------------------------------------------------------- */
.password-gate {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  padding: 3rem 0;
}

.password-gate__icon {
  color: var(--theme-text-light);
  margin-bottom: 1.5rem;
}

.password-gate__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  margin-bottom: 0.75rem;
}

.password-gate__text {
  color: var(--theme-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.password-gate__form {
  text-align: left;
  margin-bottom: 1.5rem;
}

.password-gate__form .form-group {
  margin-bottom: 1rem;
}

.password-gate__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--theme-text-light);
  text-decoration: none;
  font-size: 0.9375rem;
}

.password-gate__back:hover {
  color: var(--theme-primary);
}

/* --------------------------------------------------------------------------
   Blog Layout (listing with sidebar)
   -------------------------------------------------------------------------- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

.blog-layout--sidebar-left {
  grid-template-columns: 300px 1fr;
}

.blog-layout--sidebar-left .blog-layout__sidebar {
  order: -1;
}

.blog-layout__main {
  min-width: 0;
}

.blog-layout__sidebar {
  position: sticky;
  top: calc(var(--theme-header-height) + 1rem);
}

/* --------------------------------------------------------------------------
   Blog Single Article
   -------------------------------------------------------------------------- */
.blog-single {
  padding-bottom: 3rem;
}

.blog-single__header {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.blog-single__category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--theme-primary-50);
  color: var(--theme-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--theme-radius-full);
  text-decoration: none;
  margin-bottom: 1rem;
}

.blog-single__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.blog-single__excerpt {
  font-size: 1.125rem;
  color: var(--theme-text-light);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.blog-single__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--theme-text-light);
}

.blog-single__author {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-single__author-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.blog-single__reading-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-single__comment-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--theme-text-light);
  text-decoration: none;
}

.blog-single__comment-count:hover {
  color: var(--theme-primary);
}

.blog-single__featured-image {
  margin-bottom: 2rem;
}

.blog-single__image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--theme-radius-lg);
}

.blog-single__content {
  max-width: var(--theme-content-width);
  margin: 0 auto;
}

.blog-single__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--theme-border-light);
}

.blog-single__tags-label {
  font-weight: 500;
  color: var(--theme-text-light);
  font-size: 0.875rem;
}

.blog-single__tags .tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--theme-surface);
  color: var(--theme-text-light);
  border-radius: var(--theme-radius-full);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: background-color var(--theme-transition), color var(--theme-transition);
}

.blog-single__tags .tag:hover {
  background: var(--theme-primary-50);
  color: var(--theme-primary);
}

.blog-single__date {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Post Navigation (prev/next)
   -------------------------------------------------------------------------- */
.post-navigation {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-border);
}

.post-navigation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.post-navigation__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border: 1px solid var(--theme-border);
  border-radius: var(--theme-radius-md);
  text-decoration: none;
  color: var(--theme-text);
  transition: border-color var(--theme-transition), box-shadow var(--theme-transition);
}

.post-navigation__item:hover {
  border-color: var(--theme-primary);
  box-shadow: var(--theme-shadow-sm);
}

.post-navigation__item--next {
  text-align: right;
}

.post-navigation__label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: var(--theme-text-light);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.post-navigation__item--next .post-navigation__label {
  justify-content: flex-end;
}

.post-navigation__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--theme-heading-color);
}

/* --------------------------------------------------------------------------
   Related Posts
   -------------------------------------------------------------------------- */
.related-posts {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--theme-border);
}

.related-posts__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--theme-heading-color);
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Error Pages (404, 500, 503)
   -------------------------------------------------------------------------- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 3rem 0;
}

.error-page__content {
  text-align: center;
  max-width: 32rem;
}

.error-page__illustration {
  position: relative;
  margin-bottom: 1.5rem;
}

.error-page__code {
  display: block;
  font-size: 6rem;
  font-weight: 800;
  color: var(--theme-border);
  line-height: 1;
}

.error-page__icon {
  color: var(--theme-text-lighter);
  margin-top: -1rem;
}

.error-page__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  margin-bottom: 0.75rem;
}

.error-page__text {
  color: var(--theme-text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.error-page__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.error-page__search {
  margin-top: 1rem;
}

.error-page__search-text {
  font-size: 0.875rem;
  color: var(--theme-text-light);
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Maintenance Notice
   -------------------------------------------------------------------------- */
.maintenance-notice {
  text-align: center;
  padding: 4rem 0;
}

.maintenance-notice__icon {
  color: var(--theme-accent, #F59E0B);
  margin-bottom: 1.5rem;
}

.maintenance-notice__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  margin-bottom: 0.75rem;
}

.maintenance-notice__text {
  color: var(--theme-text-light);
  line-height: 1.6;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.maintenance-notice__progress {
  width: 100%;
  max-width: 20rem;
  height: 4px;
  background: var(--theme-border);
  border-radius: var(--theme-radius-full);
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.maintenance-notice__progress-bar {
  width: 30%;
  height: 100%;
  background: var(--theme-primary);
  border-radius: var(--theme-radius-full);
  animation: maintenanceProgress 2s ease-in-out infinite;
}

@keyframes maintenanceProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

.maintenance-notice__footer {
  color: var(--theme-text-lighter);
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Newsletter Messages
   -------------------------------------------------------------------------- */
.newsletter-message {
  text-align: center;
  padding: 3rem 0;
}

.newsletter-message__icon {
  color: var(--theme-accent);
  margin-bottom: 1.5rem;
}

.newsletter-message__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  margin-bottom: 0.75rem;
}

.newsletter-message__text {
  color: var(--theme-text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.newsletter-message__subtext {
  font-size: 0.875rem;
  color: var(--theme-text-lighter);
  margin-bottom: 1.5rem;
}

.newsletter-message__actions {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Thank You Page (form submission)
   -------------------------------------------------------------------------- */
.thank-you {
  text-align: center;
  padding: 3rem 0;
}

.thank-you__icon {
  color: var(--theme-accent);
  margin-bottom: 1.5rem;
}

.thank-you__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-heading-color);
  margin-bottom: 0.75rem;
}

.thank-you__text {
  color: var(--theme-text-light);
  line-height: 1.6;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.thank-you__actions {
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Front — Base Layout
   -------------------------------------------------------------------------- */
.front-body {
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  color: var(--color-text, #1f2937);
  background-color: var(--color-bg, #ffffff);
  line-height: 1.6;
}

.front-main {
  min-height: 60vh;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* --------------------------------------------------------------------------
   Mobile Navigation
   -------------------------------------------------------------------------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  pointer-events: none;
}

.mobile-nav[aria-hidden="false"] {
  display: block;
  pointer-events: auto;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav[aria-hidden="false"] .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #ffffff;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav[aria-hidden="false"] .mobile-nav__panel {
  transform: translateX(0);
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.mobile-nav__logo {
  height: 32px;
  width: auto;
}

.mobile-nav__site-name {
  font-weight: 600;
  font-size: 1.125rem;
}

.mobile-nav__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  color: #6b7280;
  line-height: 1;
}

.mobile-nav__close:hover {
  color: #111827;
}

.mobile-nav__menu {
  flex: 1;
  padding: 0.75rem 0;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__item {
  border-bottom: 1px solid #f3f4f6;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background-color 0.15s;
}

.mobile-nav__link:hover {
  background-color: #f9fafb;
  color: var(--color-primary, #3b82f6);
}

.mobile-nav__expand {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: #9ca3af;
  font-size: 0.875rem;
}

.mobile-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f9fafb;
}

.mobile-nav__submenu-item {
  border-top: 1px solid #f3f4f6;
}

.mobile-nav__submenu-link {
  display: block;
  padding: 0.625rem 1.25rem 0.625rem 2.5rem;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.875rem;
}

.mobile-nav__submenu-link:hover {
  color: var(--color-primary, #3b82f6);
  background: #f3f4f6;
}

/* --------------------------------------------------------------------------
   Articles Grid
   -------------------------------------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.articles-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Article Card — Modifiers
   -------------------------------------------------------------------------- */
.article-card--compact {
  font-size: 0.875rem;
}

.article-card--compact .article-card__image {
  height: 160px;
}

.article-card--compact .article-card__title {
  font-size: 1rem;
}

.article-card--horizontal {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
}

.article-card--horizontal .article-card__image {
  height: 100%;
  border-radius: 0.5rem 0 0 0.5rem;
}

@media (max-width: 640px) {
  .article-card--horizontal {
    grid-template-columns: 1fr;
  }
  .article-card--horizontal .article-card__image {
    border-radius: 0.5rem 0.5rem 0 0;
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   Article Card — Missing Elements
   -------------------------------------------------------------------------- */
.article-card__image-link {
  display: block;
  overflow: hidden;
}

.article-card__image-link:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__reading-time {
  font-size: 0.8125rem;
  color: #9ca3af;
}

.article-card__reading-time::before {
  content: '\00B7';
  margin: 0 0.375rem;
}

/* --------------------------------------------------------------------------
   Blog Header
   -------------------------------------------------------------------------- */
.blog-header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.blog-header--category,
.blog-header--tag,
.blog-header--search {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 2.5rem 1.5rem;
}

.blog-header__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary, #3b82f6);
  margin-bottom: 0.25rem;
}

.blog-header__title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem;
}

.blog-header__subtitle {
  font-size: 1.0625rem;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

.blog-header__count {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Search Form
   -------------------------------------------------------------------------- */
.search-form {
  width: 100%;
}

.search-form--hero {
  max-width: 600px;
  margin: 0 auto;
}

.search-form__wrapper {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 0.2s;
}

.search-form__wrapper:focus-within {
  border-color: var(--color-primary, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-form__input {
  flex: 1;
  border: none;
  padding: 0.625rem 1rem;
  font-size: 0.9375rem;
  background: transparent;
  outline: none;
}

.search-form__button {
  background: var(--color-primary, #3b82f6);
  color: #ffffff;
  border: none;
  padding: 0.625rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.search-form__button:hover {
  background: #2563eb;
}

/* --------------------------------------------------------------------------
   Newsletter Form (sidebar)
   -------------------------------------------------------------------------- */
.newsletter-form {
  width: 100%;
}

.newsletter-form__wrapper {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
}

.newsletter-form__input {
  flex: 1;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

.newsletter-form__input:focus {
  box-shadow: none;
}

.newsletter-form__button {
  background: var(--color-primary, #3b82f6);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-form__button:hover {
  background: #2563eb;
}

/* --------------------------------------------------------------------------
   Comments Section
   -------------------------------------------------------------------------- */
.comments-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.comments-section__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.comments-section__count {
  font-weight: 400;
  color: #6b7280;
  font-size: 1rem;
}

.comments-section__empty {
  color: #9ca3af;
  font-style: italic;
  padding: 1rem 0;
}

.comment-form-wrapper {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f3f4f6;
}

.comment-form-wrapper__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.comment-form-wrapper__notice {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Comment — Nested
   -------------------------------------------------------------------------- */
.comment--nested {
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
}

@media (max-width: 640px) {
  .comment--nested {
    margin-left: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Error Standalone (500)
   -------------------------------------------------------------------------- */
.error-standalone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.error-code {
  font-size: 6rem;
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Reading Progress Bar — Inner Bar
   -------------------------------------------------------------------------- */
.reading-progress__bar {
  height: 100%;
  background: var(--color-primary, #3b82f6);
  width: 0%;
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Author Bio — Aliases
   -------------------------------------------------------------------------- */
.author-bio__avatar-wrapper {
  flex-shrink: 0;
}

.author-bio__avatar--placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 1.5rem;
}

.author-bio__text {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Blog Layout — Sidebar Right
   -------------------------------------------------------------------------- */
.blog-layout--sidebar-right {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
}

.blog-layout--sidebar-right .blog-layout__sidebar {
  order: 1;
}

@media (max-width: 768px) {
  .blog-layout--sidebar-right {
    grid-template-columns: 1fr;
  }
  .blog-layout--sidebar-right .blog-layout__sidebar {
    order: 0;
  }
}

/* --------------------------------------------------------------------------
   Site Nav — Active State
   -------------------------------------------------------------------------- */
.site-nav__item--active > .site-nav__link {
  color: var(--color-primary, #3b82f6);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .cookie-consent,
  .back-to-top,
  .share-buttons,
  .reading-progress,
  .lightbox,
  .site-nav__mobile,
  .site-nav__mobile-overlay,
  .comment-form,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #FFF;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .article__featured-image {
    max-height: 300px;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 1rem 0;
  }
}

/* --------------------------------------------------------------------------
   Responsive — Tablet & Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .hero__title {
    font-size: 2.25rem;
  }

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

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

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

  .pricing {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .gallery--masonry {
    columns: 2;
  }

  .form-builder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }

  .container {
    padding: 0 1rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  /* Show hamburger, hide desktop nav */
  .site-nav__list {
    display: none;
  }

  .site-nav__cta {
    display: none;
  }

  .site-nav__hamburger {
    display: flex;
  }

  .section { padding: 3rem 0; }
  .section--lg { padding: 4rem 0; }

  .row {
    flex-direction: column;
  }

  .col-6,
  .col-4,
  .col-3,
  .col-8,
  .col-9 {
    width: 100%;
    flex: 0 0 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article__title {
    font-size: 1.75rem;
  }

  .article__header {
    text-align: left;
  }

  .article__meta {
    justify-content: flex-start;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .author-bio__avatar {
    margin: 0 auto;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__bottom-links {
    justify-content: center;
  }

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

  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

  .gallery--masonry {
    columns: 1;
  }

  .comment__replies {
    margin-left: 1rem;
    padding-left: 0.75rem;
  }

  .comment-form__row {
    flex-direction: column;
  }

  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent__actions {
    width: 100%;
    justify-content: center;
  }

  .pricing {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
  }

  .share-buttons {
    flex-wrap: wrap;
  }

  .testimonial-card__inner {
    padding: 1.5rem;
  }

  /* Blog layout stacks on mobile */
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-layout--sidebar-left .blog-layout__sidebar {
    order: 0;
  }

  .blog-single__title {
    font-size: 1.5rem;
  }

  .blog-single__meta {
    font-size: 0.8125rem;
  }

  /* Post navigation stacks */
  .post-navigation__grid {
    grid-template-columns: 1fr;
  }

  .post-navigation__item--next {
    text-align: left;
  }

  .post-navigation__item--next .post-navigation__label {
    justify-content: flex-start;
  }

  /* Page content */
  .page-content__title {
    font-size: 1.5rem;
  }

  /* Portfolio / features */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

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

  /* Error pages */
  .error-page__code {
    font-size: 4rem;
  }

  .error-page__title {
    font-size: 1.375rem;
  }
}

/* --------------------------------------------------------------------------
   Focus-Visible — Accessibility
   -------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 1px;
  border-color: var(--theme-primary);
}

.site-nav__link:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: -2px;
  border-radius: var(--theme-radius-sm);
}

.btn:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

.back-to-top:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Missing utility classes
   -------------------------------------------------------------------------- */

.btn--full {
  display: block;
  width: 100%;
}

.hero__cta {
  display: inline-block;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Formulaires publics (shortcode [form id])
   -------------------------------------------------------------------------- */

.sos-form {
  margin: 2rem 0;
}

/* Honeypot : hors ecran pour les humains, present pour les bots */
.sos-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sos-form__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.sos-form__field {
  width: 100%;
}

.sos-form__heading {
  width: 100%;
  margin: 1rem 0 0.5rem;
}

.sos-form__paragraph {
  width: 100%;
  color: var(--theme-text-secondary, #6b7280);
}

.sos-form__separator {
  width: 100%;
  border: none;
  border-top: 1px solid var(--theme-border, #e5e7eb);
  margin: 1rem 0;
}

.sos-form__choice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0;
  cursor: pointer;
}

.sos-form__required {
  color: #ef4444;
}

.sos-form__help {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--theme-text-secondary, #6b7280);
}

.sos-form__unsupported {
  font-size: 0.875rem;
  color: var(--theme-text-secondary, #6b7280);
  font-style: italic;
}

.sos-form__captcha {
  max-width: 20rem;
}

@media (min-width: 768px) {
  .sos-form__field--half {
    width: calc(50% - 0.5rem);
  }

  .sos-form__field--third {
    width: calc(33.333% - 0.67rem);
  }
}

/* --------------------------------------------------------------------------
   Galerie d'images ([gallery] rendu par GalleryRenderService)
   Mobile-first : 2 colonnes, puis N colonnes desktop via modificateur.
   -------------------------------------------------------------------------- */

.sos-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.sos-gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.sos-gallery__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.sos-gallery__item:hover .sos-gallery__image {
  transform: scale(1.04);
}

.sos-gallery__caption {
  padding: 0.375rem 0.25rem;
  font-size: 0.8125rem;
  color: var(--theme-text-secondary, #6b7280);
  text-align: center;
}

@media (min-width: 768px) {
  .sos-gallery {
    gap: 1rem;
  }

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

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

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

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

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

/* --------------------------------------------------------------------------
   Recherche globale du site (/search)
   -------------------------------------------------------------------------- */

.site-footer__search {
  margin-top: 1rem;
  max-width: 18rem;
}

.search-form--page {
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.search-results {
  padding: 2rem 0 4rem;
}

.search-results__hint {
  text-align: center;
  color: var(--theme-text-secondary, #6b7280);
}

.search-results__empty {
  text-align: center;
  padding: 2rem 0;
}

.search-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.search-results__item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--theme-border, #e5e7eb);
}

.search-results__item:last-child {
  border-bottom: none;
}

.search-results__title {
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
}

.search-results__link {
  color: var(--theme-primary, #3b82f6);
  text-decoration: none;
}

.search-results__link:hover {
  text-decoration: underline;
}

.search-results__snippet {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--theme-text-secondary, #6b7280);
  line-height: 1.6;
}

/* Universal builder surfaces inherit each site's theme instead of forcing a light card. */
.sos-builder .sos-card{background:var(--theme-surface,var(--card-bg,rgba(255,255,255,.06)));color:inherit;border-color:var(--theme-border,var(--border-color,rgba(148,163,184,.22)));box-shadow:var(--theme-shadow,0 4px 16px #0f172a0d)}
.sos-builder .sos-card h3,.sos-builder .sos-card strong{color:inherit}.sos-builder .sos-card .sos-richtext{color:var(--theme-text-secondary,currentColor)}
.sos-builder .sos-cta{background:var(--theme-surface,var(--card-bg,rgba(59,130,246,.08)));border:1px solid var(--theme-border,var(--border-color,transparent))}
.sos-quote{max-width:760px;margin:0 auto;text-align:center}.sos-quote>.sos-image{width:72px;height:72px;border-radius:50%;margin:0 auto 1rem}.sos-quote blockquote{font-size:clamp(1.2rem,3vw,2rem);margin:0 0 1rem}.sos-quote figcaption{display:grid;gap:.2rem}.sos-quote figcaption span{opacity:.72}
.sos-social-links{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.sos-social-links a{display:inline-flex;align-items:center;gap:.4rem;color:inherit}
.sos-app-download{display:grid;grid-template-columns:1fr minmax(220px,420px);align-items:center;gap:clamp(2rem,6vw,5rem)}
.sos-carousel{display:flex;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;padding:.25rem 0 1rem}.sos-carousel figure{min-width:min(82vw,520px);margin:0;scroll-snap-align:start}.sos-carousel .sos-image{aspect-ratio:16/10;object-fit:cover}.sos-carousel figcaption{padding:.5rem 0;opacity:.75}
.sos-before-after{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0}.sos-before-after>div{position:relative}.sos-before-after>div>span{position:absolute;z-index:1;top:.75rem;left:.75rem;padding:.3rem .6rem;border-radius:999px;background:#111827;color:#fff;font-weight:700}.sos-before-after .sos-image{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}.sos-before-after figcaption{grid-column:1/-1;text-align:center;opacity:.75}
.sos-button--link{background:transparent;color:inherit;text-decoration:underline;padding-inline:0}
@media(max-width:700px){.sos-app-download,.sos-before-after{grid-template-columns:1fr}}
.sos-gallery-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:0 0 1.25rem}.sos-gallery-filters button{border:1px solid currentColor;border-radius:999px;background:transparent;color:inherit;padding:.4rem .8rem;cursor:pointer}.sos-gallery-filters button.is-active{background:var(--sos-primary);border-color:var(--sos-primary);color:#fff}.sos-grid figure{margin:0}.sos-grid figcaption{padding:.45rem 0;text-align:center;opacity:.75}
