/*
Theme Name: Livium Insights
Theme URI: https://livium.ru
Author: Codex
Author URI: https://example.com
Description: Editor-friendly SaaS-style WordPress theme for the Livium blog, articles and landing pages.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: livium-insights
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: hsl(210 20% 97%);
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172339;
  --muted: #667085;
  --primary: #0387cb;
  --primary-light: #60b4da;
  --primary-soft: rgba(3, 135, 203, 0.10);
  --line: #e6edf3;
  --line-strong: rgba(148, 163, 184, 0.24);
  --radius-xl: 16px;
  --radius-lg: 14px;
  --radius-md: 12px;
  --shadow-soft: 0 1px 3px rgba(15, 23, 42, 0.08), 0 16px 40px rgba(3, 135, 203, 0.08);
  --shell: min(1180px, calc(100% - 40px));
}

* , *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

p {
  margin: 0 0 1rem;
}

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

.site-shell {
  min-height: 100vh;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.badge,
.hero-banner__eyebrow,
.article-hero__badge,
.sidebar-panel__label,
.sidebar-cta__label,
.section-heading__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.topbar__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.custom-logo {
  width: auto;
  height: 44px;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.menu-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.menu-list a:hover,
.menu-list a:focus-visible,
.menu-list .current-menu-item > a,
.menu-list .current_page_item > a,
.menu-list .current-menu-ancestor > a {
  color: var(--primary);
  background: var(--primary-soft);
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.search-toggle:hover,
.search-toggle:focus-visible {
  color: var(--primary);
  border-color: rgba(3, 135, 203, 0.3);
  transform: translateY(-1px);
}

.search-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel {
  padding: 0 0 16px;
}

.search-panel__form {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.search-panel__form input {
  flex: 1;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.search-panel__form input:focus {
  border-color: rgba(3, 135, 203, 0.4);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(3, 135, 203, 0.08);
}

.search-panel__form button,
.newsletter-form button,
.hero-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.search-panel__form button:hover,
.newsletter-form button:hover,
.hero-banner__button:hover {
  transform: translateY(-1px);
}

.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.hero-banner__inner {
  padding: 80px 0 92px;
}

.hero-banner__eyebrow {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
}

.hero-banner h1,
.article-hero h1,
.page-hero-panel h1,
.empty-state h1 {
  margin: 24px 0 0;
  font-size: clamp(3rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-banner h1,
.hero-banner p,
.article-hero h1,
.article-hero p,
.article-hero__meta,
.article-hero__badge {
  color: #fff;
}

.hero-banner p,
.page-hero-panel p {
  max-width: 780px;
  margin-top: 18px;
  font-size: 1.12rem;
  line-height: 1.8;
}

.home-stage {
  position: relative;
  z-index: 1;
  margin-top: -36px;
  padding-bottom: 72px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.article-card:hover,
.article-card:focus-within {
  transform: translateY(-4px);
}

.article-card--featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
}

.article-card__media {
  position: relative;
  display: block;
  min-height: 240px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.article-card--featured .article-card__media {
  min-height: 420px;
}

.article-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(15,23,42,0.10));
}

.article-card__media.is-placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(184, 204, 255, 0.28), transparent 22%),
    linear-gradient(160deg, #6f7fd1 0%, #4d5cb1 46%, #212c63 100%);
}

.article-card__media.is-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 520'%3E%3Cg fill='none' stroke='rgba(15,18,64,0.40)' stroke-width='2'%3E%3Cpath d='M10 90 C150 20, 230 220, 380 150 S650 20, 780 120'/%3E%3Cpath d='M-20 250 C120 120, 220 300, 340 250 S560 110, 820 280'/%3E%3Cpath d='M40 420 C180 300, 320 500, 470 350 S660 220, 810 390'/%3E%3Cpath d='M70 40 C220 160, 270 20, 420 110 S610 230, 760 80'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.95;
}

.article-card__placeholder-mark {
  position: absolute;
  right: 48px;
  bottom: 20px;
  z-index: 2;
  font-size: clamp(7rem, 18vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(58, 123, 244, 0.88);
  text-shadow: 0 16px 36px rgba(13, 19, 54, 0.28);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.article-card--featured .article-card__body {
  padding: 34px;
}

.article-card__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-card__meta-item {
  color: var(--muted);
}

.article-card__meta-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bac7d4;
}

.article-card__title {
  margin: 18px 0 0;
  font-size: 1.8rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.article-card--featured .article-card__title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.article-card__title a {
  transition: color 180ms ease;
}

.article-card__title a:hover,
.article-card__title a:focus-visible,
.article-card__link:hover {
  color: var(--primary);
}

.article-card__excerpt {
  margin-top: 16px;
  color: var(--muted);
}

.article-card--featured .article-card__excerpt {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.article-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-card__author img,
.author-panel__inner img,
.article-hero__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px rgba(3, 135, 203, 0.08);
}

.article-card__author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #efe5da 0%, #d6d8df 100%);
  box-shadow: 0 0 0 4px rgba(3, 135, 203, 0.08);
}

.article-card__author-name {
  margin: 0;
  font-weight: 700;
}

.article-card__author-role {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.article-card__link {
  align-self: center;
  color: var(--primary);
  font-weight: 700;
}

.home-filter-row {
  margin-top: 28px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-filter__button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.03);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.category-filter__button:hover,
.category-filter__button:focus-visible,
.category-filter__button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  margin-top: 30px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading--stack {
  margin-bottom: 20px;
}

.section-heading h2,
.page-hero-panel h1,
.author-panel h2,
.empty-state h2,
.related-section h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-heading p:last-child,
.page-hero-panel p,
.sidebar-panel p,
.sidebar-cta p,
.author-panel p,
.empty-state p,
.toc-panel__empty {
  color: var(--muted);
}

.article-grid,
.archive-grid {
  display: grid;
  gap: 24px;
}

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

.archive-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.blog-sidebar {
  display: grid;
  gap: 20px;
  align-self: start;
  position: sticky;
  top: 110px;
}

.sidebar-panel {
  padding: 24px;
}

.sidebar-panel h3,
.sidebar-cta h3,
.author-panel h2 {
  margin: 16px 0 0;
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.sidebar-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.sidebar-list__item {
  display: flex;
  gap: 14px;
}

.sidebar-list__index {
  color: rgba(3, 135, 203, 0.8);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.sidebar-list__title {
  display: block;
  font-weight: 700;
  line-height: 1.5;
}

.sidebar-list__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.newsletter-form input {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.newsletter-form input:focus {
  border-color: rgba(3, 135, 203, 0.4);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(3, 135, 203, 0.08);
}

.newsletter-form__success {
  border-radius: 16px;
  padding: 14px 16px;
  background: #ecfdf3;
  color: #047857;
  font-size: 0.95rem;
}

.sidebar-cta {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.sidebar-cta__label {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.92);
}

.sidebar-cta p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.sidebar-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 0 18px;
  border-radius: 16px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
}

.page-shell-content {
  padding: 48px 0 80px;
}

.page-hero-panel,
.author-panel,
.article-content,
.toc-panel,
.empty-state--page {
  padding: 28px;
}

.page-hero-panel__row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.sort-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.sort-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}

.sort-switch a.is-active {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.pagination-wrap {
  margin-top: 32px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.nav-links .current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.article-hero {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-hero--plain {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.article-hero__inner {
  padding: 88px 0 100px;
}

.article-hero__badge {
  background: rgba(255,255,255,0.16);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.article-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-hero__author strong,
.article-hero__author span {
  display: block;
}

.article-hero__author span {
  opacity: 0.82;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding: 48px 0 80px;
}

.article-layout__sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.article-content .prose-rich > *:first-child {
  margin-top: 0;
}

.prose-rich {
  color: var(--muted);
  line-height: 1.85;
}

.prose-rich h2,
.prose-rich h3 {
  margin: 2.4rem 0 1rem;
  color: var(--text);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.prose-rich h2 {
  font-size: 2rem;
}

.prose-rich h3 {
  font-size: 1.4rem;
}

.prose-rich a {
  color: var(--primary);
}

.prose-rich blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: rgba(3, 135, 203, 0.05);
  color: #35506b;
}

.prose-rich ul,
.prose-rich ol {
  padding-left: 1.2rem;
}

.author-panel__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-panel__inner img {
  width: 80px;
  height: 80px;
  border-radius: 24px;
}

.author-panel__role {
  margin: 8px 0 0;
  color: var(--primary);
  font-weight: 700;
}

.related-section {
  margin-top: 8px;
}

.toc-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.toc-list__item a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: #475467;
  transition: background-color 180ms ease, color 180ms ease;
}

.toc-list__item a:hover,
.toc-list__item a:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
}

.toc-list__item.level-3 {
  padding-left: 14px;
}

.search-results-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.empty-state {
  text-align: center;
}

.empty-state .badge {
  margin-bottom: 14px;
}

.empty-state h3,
.empty-state h2,
.empty-state h1 {
  margin: 0;
}

.empty-state--page,
.empty-state--wide {
  margin-top: 28px;
}

.related-empty {
  grid-column: 1 / -1;
}

.site-footer {
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(18px);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  padding: 48px 0;
}

.brand--footer .brand-logo,
.brand--footer .custom-logo {
  height: 44px;
}

.site-footer__copy {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu a {
  color: var(--muted);
  font-weight: 600;
}

.footer-menu a:hover,
.footer-menu a:focus-visible {
  color: var(--primary);
}

.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

@media (max-width: 1080px) {
  .topbar__row,
  .home-layout,
  .article-layout,
  .site-footer__inner,
  .article-card--featured,
  .page-hero-panel__row {
    grid-template-columns: 1fr;
  }

  .topbar__row {
    display: grid;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .article-grid,
  .archive-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-sidebar,
  .article-layout__sidebar {
    position: static;
  }

  .site-footer__inner {
    align-items: start;
  }
}

@media (max-width: 780px) {
  :root {
    --shell: min(100% - 24px, 100%);
  }

  .topbar__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .menu-list {
    justify-content: flex-start;
  }

  .search-toggle {
    justify-self: start;
  }

  .search-panel__form,
  .author-panel__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-banner__inner,
  .article-hero__inner {
    padding: 64px 0 72px;
  }

  .hero-banner h1,
  .article-hero h1,
  .page-hero-panel h1,
  .empty-state h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .article-card--featured .article-card__media {
    min-height: 280px;
  }

  .article-card__placeholder-mark {
    right: 30px;
    bottom: 16px;
    font-size: 7rem;
  }

  .article-grid,
  .archive-grid--three {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .page-hero-panel__row,
  .site-footer__inner {
    display: grid;
    gap: 16px;
  }

  .panel,
  .page-hero-panel,
  .article-content,
  .author-panel,
  .toc-panel,
  .sidebar-panel,
  .sidebar-cta,
  .empty-state--page {
    padding: 22px;
  }
}
/* Livium editor-friendly additions */
.site-footer__inner.site-footer__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
  align-items: start;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 800;
}

.footer-meta {
  display: grid;
  gap: 16px;
}

.footer-contacts {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 700;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  color: var(--primary);
  border-color: rgba(3, 135, 203, 0.24);
}

.article-cta {
  margin-top: 28px;
  padding: 30px;
  background: linear-gradient(135deg, rgba(3, 135, 203, 0.08), rgba(96, 180, 218, 0.16));
}

.article-cta h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.05;
}

.article-cta p {
  max-width: 56ch;
  color: #30425f;
}

.article-cta .hero-banner__button {
  margin-top: 10px;
}

.article-meta-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.article-meta-list strong {
  color: var(--text);
}

.landing-page {
  padding: 28px 0 72px;
}

.landing-page__content {
  display: grid;
  gap: 28px;
}

.landing-page__content > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.landing-page__content > :not(.alignwide):not(.alignfull) {
  width: min(760px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.landing-page__content > .alignwide {
  width: var(--shell);
  margin-left: auto;
  margin-right: auto;
}

.landing-page__content > .alignfull {
  width: 100%;
}

.landing-builder-note {
  margin-top: 28px;
}

.livium-section {
  padding: 24px 0;
}

.livium-shell {
  width: var(--shell);
  margin: 0 auto;
}

.livium-stack {
  display: grid;
  gap: 20px;
}

.livium-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.livium-grid {
  display: grid;
  gap: 24px;
}

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

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

.livium-section-heading {
  display: grid;
  gap: 12px;
}

.livium-hero {
  padding: 82px 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
}

.livium-hero .badge,
.livium-cta .badge {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.livium-hero h1,
.livium-cta h2 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.95;
}

.livium-hero p,
.livium-cta p {
  max-width: 60ch;
}

.livium-stat h3 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1;
}

.livium-quote__meta {
  color: var(--muted);
}

.livium-faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.livium-blog-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.livium-blog-query .wp-block-post {
  list-style: none;
}

.livium-blog-query .wp-block-post-featured-image img,
.livium-blog-query .wp-block-post-featured-image a {
  border-radius: 14px;
  overflow: hidden;
}

.landing-page__content .wp-block-details summary {
  cursor: pointer;
}

.landing-page__content .wp-block-button__link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
}

.landing-page__content .wp-block-post-template {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .site-footer__inner.site-footer__grid,
  .livium-grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .site-footer__inner.site-footer__grid,
  .livium-grid--2,
  .livium-grid--3,
  .livium-blog-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .landing-page__content > :not(.alignwide):not(.alignfull),
  .landing-page__content > .alignwide,
  .livium-shell {
    width: min(100% - 24px, 100%);
  }

  .article-cta,
  .livium-panel {
    padding: 22px;
  }
}