:root {
  --bg: #f7fafc;
  --bg-soft: #f8fafc;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text: #0f172a;
  --muted: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --soft-blue: #eff6ff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
  --shadow-soft: 0 8px 28px rgba(15, 23, 42, 0.06);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at top left, #eef6ff 0, transparent 280px), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.form-field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: var(--text);
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  padding: 11px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: #fff;
  border-color: var(--border);
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 900;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.24);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.alert {
  margin-bottom: 18px;
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 700;
}

.alert-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.admin-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--border);
  background: #fff;
  padding: 28px 24px;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.sidebar-nav a {
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  padding: 13px 14px;
}

.sidebar-nav a:hover {
  border-color: #bfdbfe;
  background: var(--soft-blue);
  color: var(--primary);
}

.admin-main {
  width: 100%;
  max-width: 1380px;
  min-width: 0;
  margin: 0 auto;
  padding: 34px 36px 56px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.admin-topbar h1,
.page-hero h1,
.hero h1 {
  margin: 0;
  line-height: 1.05;
}

.admin-topbar h1 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card,
.panel,
.blog-card,
.hero-panel,
.empty-state,
.public-filter {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  min-height: 112px;
  padding: 24px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 10px;
  font-size: 36px;
  line-height: 1;
}

.panel {
  padding: 26px;
}

.panel-header,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-header h2,
.section-heading h2 {
  margin: 0;
  font-size: 26px;
}

.filter-bar,
.public-filter {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(220px, 1fr) 170px 170px auto auto;
  gap: 14px;
  margin-bottom: 22px;
}

.table-wrap {
  overflow-x: auto;
}

.blog-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.blog-table th,
.blog-table td {
  border-bottom: 1px solid var(--border);
  padding: 18px 12px;
  text-align: left;
  vertical-align: middle;
}

.blog-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.table-title {
  font-weight: 900;
  line-height: 1.35;
}

.blog-table small {
  color: var(--muted);
  display: block;
  line-height: 1.5;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.actions a,
.text-link,
.read-more,
.back-link {
  color: var(--primary);
  font-weight: 900;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 14px;
}

.actions .danger {
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: var(--red);
}

.actions .danger:hover {
  background: #fef2f2;
}

.button-danger {
  border-color: rgba(220, 38, 38, 0.22);
  background: #dc2626;
  color: #fff;
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.18);
}

.button-danger:hover:not(:disabled) {
  background: #b91c1c;
}

.button-danger:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

.bulk-delete-form {
  display: grid;
  gap: 14px;
}

.bulk-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
  padding: 12px 14px;
}

.bulk-action-meta,
.check-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-control {
  color: var(--muted);
  font-weight: 800;
}

.check-control input,
.row-check {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.row-check {
  display: block;
}

.bulk-action-meta span {
  color: var(--muted);
  font-weight: 800;
}

.col-select {
  width: 44px;
}

.col-blog {
  width: 43%;
}

.col-category {
  width: 18%;
}

.col-status {
  width: 12%;
}

.col-date {
  width: 12%;
}

.col-actions {
  width: 15%;
}

.status-badge,
.category-badge {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.status-published {
  background: #ecfdf5;
  color: var(--green);
}

.status-draft {
  background: #fff7ed;
  color: var(--amber);
}

.category-badge {
  background: var(--soft-blue);
  color: var(--primary);
}

.empty-state {
  padding: 42px;
  text-align: center;
}

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

.empty-state p {
  color: var(--muted);
  margin: 0 0 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.form-main,
.form-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.content-editor {
  min-height: 420px;
}

.counter {
  float: right;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.counter.is-over {
  color: var(--red);
}

.image-preview {
  display: none;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  object-fit: cover;
}

.image-preview.is-visible {
  display: block;
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: 24px 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 800;
}

.public-main {
  width: min(100% - 40px, 1160px);
  margin: 0 auto;
  padding: 24px 0 76px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 34px;
  min-height: 500px;
  padding: 24px 0 36px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel {
  overflow: hidden;
  padding: 28px;
}

.mini-window {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.mini-window span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
}

.hero-card-line {
  width: 70%;
  height: 18px;
  border-radius: 999px;
  background: #dbeafe;
  margin-bottom: 16px;
}

.hero-card-line.wide {
  width: 92%;
  height: 30px;
  background: var(--primary);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.hero-metrics div {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 0 28px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: 0;
}

.page-hero p {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.public-filter {
  grid-template-columns: minmax(220px, 1fr) 220px auto;
  width: min(100%, 980px);
  margin: 0 auto 34px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 360px));
  justify-content: center;
  gap: 26px;
}

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

.blog-card {
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.blog-card img,
.placeholder-image {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
}

.placeholder-image {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
  color: var(--muted);
  font-weight: 900;
}

.blog-card-body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.blog-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

.blog-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-article {
  max-width: 880px;
  margin: 34px auto 0;
  padding-bottom: 10px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
  margin: 26px 0 14px;
}

.detail-article h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.08;
}

.detail-excerpt {
  color: var(--muted);
  font-size: 20px;
}

.detail-image {
  width: 100%;
  max-height: 520px;
  border-radius: 24px;
  margin: 28px 0;
  object-fit: cover;
}

.detail-image.placeholder-image {
  min-height: 320px;
}

.content-body {
  color: #1e293b;
  font-size: 18px;
  line-height: 1.85;
}

.content-body p {
  margin-bottom: 20px;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 30px 24px;
  text-align: center;
}

@media (max-width: 1180px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: minmax(220px, 1fr) 170px 170px;
  }
}

@media (max-width: 980px) {
  .admin-shell,
  .form-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 20px;
  }

  .admin-main {
    padding: 28px 24px 48px;
  }

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

  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }

  .blog-table {
    min-width: 920px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .admin-topbar,
  .panel-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .hero-actions,
  .form-actions {
    width: 100%;
  }

  .button,
  .form-actions {
    width: 100%;
  }

  .admin-main,
  .sidebar {
    padding: 20px;
  }

  .site-header,
  .public-main {
    width: min(100% - 32px, 1160px);
  }

  .site-header {
    padding: 18px 0;
  }

  .site-nav {
    justify-content: space-between;
  }

  .sidebar-nav,
  .stats-grid,
  .blog-grid,
  .blog-grid.compact,
  .filter-bar,
  .public-filter,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 20px 0 30px;
  }

  .hero h1,
  .page-hero h1,
  .detail-article h1 {
    font-size: 38px;
  }

  .page-hero {
    padding: 30px 0 22px;
  }

  .public-filter {
    gap: 12px;
    padding: 12px;
  }

  .bulk-action-bar,
  .bulk-action-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-card-body {
    padding: 20px;
  }

  .blog-table {
    min-width: 920px;
  }

  .empty-state {
    padding: 28px 18px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 15px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero h1,
  .page-hero h1,
  .detail-article h1 {
    font-size: 32px;
  }

  .page-hero p,
  .detail-excerpt {
    font-size: 16px;
  }

  .panel,
  .stat-card {
    padding: 18px;
  }
}

.container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.aurvian-header.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #d9e6ff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  padding: 0;
}

.aurvian-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.aurvian-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}

.aurvian-brand img {
  width: 235px;
  max-height: 62px;
  object-fit: contain;
}

.aurvian-nav-menu,
.aurvian-nav-actions {
  display: flex;
  align-items: center;
}

.aurvian-nav-menu {
  gap: 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 900;
}

.aurvian-nav-menu a:hover {
  color: #2463eb;
}

.aurvian-nav-actions {
  gap: 14px;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #fff;
  color: #172033;
  font-weight: 950;
  padding: 11px 17px;
}

.call-pill svg {
  width: 23px;
  height: 23px;
  fill: #2463eb;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 950;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  min-height: 46px;
  background: #07122d;
  color: #fff;
  padding: 12px 24px;
}

.public-body {
  padding-top: 78px;
}

.public-main {
  padding: 18px 0 64px;
}

.blog-page-hero.page-hero {
  max-width: 700px;
  padding: 18px 0 14px;
}

.blog-page-hero.page-hero h1 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.blog-page-hero.page-hero p {
  margin-top: 8px;
  font-size: 15px;
}

.public-filter {
  grid-template-columns: minmax(220px, 1fr) 190px auto;
  margin-bottom: 24px;
  padding: 10px;
}

.public-filter.has-clear {
  grid-template-columns: minmax(220px, 1fr) 190px auto auto;
}

.blog-results-bar {
  display: flex;
  justify-content: flex-end;
  margin: -10px 0 18px;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
}

.blog-card[hidden] {
  display: none !important;
}

.blog-card > a {
  display: block;
  overflow: hidden;
}

.blog-card img,
.placeholder-image {
  width: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover img {
  transform: scale(1.025);
}

.blog-card-body {
  flex: 1;
  gap: 11px;
  padding: 18px;
}

.blog-card h3 {
  overflow: hidden;
  font-size: 20px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-card p {
  min-height: calc(1.55em * 2);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

.blog-meta {
  display: none;
}

.read-more {
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: auto;
}

.read-more::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(3px);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.rich-editor {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  background: #f8fbff;
  padding: 10px;
}

.rich-editor:not(.is-enhanced) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rich-editor:not(.is-enhanced) .rich-toolbar,
.rich-editor:not(.is-enhanced) .rich-surface,
.rich-editor:not(.is-enhanced) .rich-link-panel {
  display: none;
}

.rich-toolbar button {
  min-width: 38px;
  min-height: 36px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.rich-toolbar button:hover,
.rich-toolbar button.is-active {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.1);
}

.rich-link-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: #fff;
  padding: 10px;
}

.rich-link-panel[hidden] {
  display: none;
}

.rich-link-panel input {
  min-height: 40px;
  border-radius: 10px;
  padding: 9px 12px;
}

.rich-link-panel .button {
  min-height: 40px;
  border-radius: 10px;
  padding: 8px 14px;
}

.rich-surface {
  min-height: 420px;
  padding: 18px;
  outline: none;
}

.rich-surface:empty::before {
  content: attr(data-placeholder);
  color: var(--muted);
  pointer-events: none;
}

.rich-source {
  display: none;
}

.rich-editor:not(.is-enhanced) .rich-source {
  display: block;
}

.content-body h2,
.content-body h3 {
  margin: 30px 0 12px;
  line-height: 1.2;
}

.content-body ul,
.content-body ol {
  padding-left: 26px;
}

.content-body blockquote {
  border-left: 4px solid var(--primary);
  color: #475569;
  margin: 26px 0;
  padding-left: 18px;
}

.content-body a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.rich-surface a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.content-body p {
  margin: 0 0 20px;
}

.aurvian-footer.site-footer {
  background: #000;
  color: #cbd5e1;
  padding: 54px 0;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.footer-logo {
  display: block;
  width: 315px;
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.aurvian-footer h4 {
  color: #fff;
  margin: 0 0 14px;
}

.aurvian-footer p {
  margin: 0;
}

.aurvian-footer ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.aurvian-footer a {
  color: #cbd5e1;
}

.aurvian-footer a:hover {
  color: #fff;
}

.instagram-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #050505;
  color: #fff;
  margin-bottom: 16px;
  padding: 14px;
}

.insta-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.instagram-card b,
.instagram-card small {
  display: block;
}

.instagram-card small {
  color: #cbd5e1;
  margin-top: 2px;
}

@media (max-width: 1080px) {
  .aurvian-nav-menu {
    display: none;
  }

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .public-body {
    padding-top: 66px;
  }

  .aurvian-nav {
    height: 66px;
    gap: 10px;
  }

  .aurvian-brand img {
    width: 150px;
    max-height: 42px;
  }

  .call-pill {
    min-height: 42px;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .call-pill span {
    display: none;
  }

  .btn-dark {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .public-filter,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .public-filter.has-clear,
  .rich-link-panel {
    grid-template-columns: 1fr;
  }

  .blog-results-bar {
    justify-content: flex-start;
  }

  .blog-page-hero.page-hero h1 {
    font-size: 30px;
  }
}
/* Aurvian AI final footer appended v4 */
.aurv-final-footer{background:#03050b;color:#aeb9ca;padding:34px 0 20px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}.aurv-final-footer *{box-sizing:border-box}.aurv-final-footer .aurv-footer-container{width:min(1180px,calc(100% - 40px));margin:0 auto}.aurv-final-footer .aurv-footer-top{display:grid;grid-template-columns:1.02fr 1.15fr 1.24fr .9fr;gap:24px;align-items:start}.aurv-final-footer .aurv-footer-brand-link{display:inline-flex;align-items:center;text-decoration:none;margin-bottom:10px}.aurv-final-footer .aurv-footer-logo{width:185px;max-width:100%;height:auto;display:block}.aurv-final-footer p{margin:0;color:#aeb9ca;font-size:13.5px;line-height:1.55;max-width:295px}.aurv-final-footer h4{margin:0 0 10px;color:#fff;font-size:12px;line-height:1.2;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.aurv-final-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.aurv-final-footer a{color:#cbd5e1;text-decoration:none;font-size:13px;font-weight:700;line-height:1.25;transition:.18s ease}.aurv-final-footer a:hover{color:#fff}.aurv-final-footer .aurv-footer-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px}.aurv-final-footer .aurv-footer-actions{display:grid;gap:10px}.aurv-final-footer .aurv-footer-pill{display:flex;align-items:center;gap:10px;width:100%;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);border-radius:10px;padding:10px 12px;color:#fff}.aurv-final-footer .aurv-footer-pill span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#2463eb;color:#fff;font-size:15px;font-weight:900;flex:0 0 auto}.aurv-final-footer .aurv-footer-pill b{display:block;color:#fff;font-size:13px;line-height:1.1}.aurv-final-footer .aurv-footer-pill small{display:block;color:#94a3b8;margin-top:3px;font-size:11.5px}.aurv-final-footer .aurv-footer-cta{display:inline-flex;justify-content:center;align-items:center;border-radius:10px;background:#fff;color:#07122d!important;padding:10px 12px;font-size:13px;font-weight:900}.aurv-final-footer .aurv-footer-bottom{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;color:#8390a3;font-size:12px}.btn,.nav-cta,.hero-cta,.cta-button,.pricing-card-btn,.service-card-btn,.call-pill{border-radius:10px!important}@media(max-width:980px){.aurv-final-footer .aurv-footer-top{grid-template-columns:1fr 1fr}.aurv-final-footer .aurv-footer-logo{width:172px}}@media(max-width:640px){.aurv-final-footer{padding:30px 0 18px}.aurv-final-footer .aurv-footer-container{width:min(100% - 28px,1180px)}.aurv-final-footer .aurv-footer-top{grid-template-columns:1fr;gap:22px}.aurv-final-footer .aurv-footer-mini-grid{grid-template-columns:1fr 1fr}.aurv-final-footer .aurv-footer-bottom{display:block}.aurv-final-footer .aurv-footer-bottom span{display:block;margin-top:7px}}@media(max-width:420px){.aurv-final-footer .aurv-footer-mini-grid{grid-template-columns:1fr}.aurv-final-footer .aurv-footer-logo{width:160px}}
