:root {
  --bg-dark: #1537ae;
  --bg-mid: #2a53d0;
  --bg-soft: #4f79ea;
  --card: rgba(31, 60, 173, 0.1);
  --card-border: rgba(255, 213, 77, 0.24);
  --text-cream: #ffd54d;
  --text-white: #ffffff;
  --text-soft: rgba(255, 247, 214, 0.84);
  --paper: #fbfaf7;
  --paper-border: rgba(23, 37, 109, 0.1);
  --ink: #171717;
  --muted: #6c6f7b;
  --accent: #1c37aa;
  --accent-deep: #0e2d89;
  --gold-pale: #fff4b6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background: #1f49d8;
  color: var(--text-white);
}

body.admin-theme {
  background:
    radial-gradient(circle at top left, rgba(255, 221, 87, 0.16), transparent 20%),
    radial-gradient(circle at 85% 12%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(180deg, #102a86 0%, #1737a0 48%, #eef2ff 48%, #eef2ff 100%);
  color: #10214a;
}

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

.blog-page {
  min-height: 100vh;
  background: linear-gradient(180deg, #284dd7 0%, #2449d4 100vh, #fbfaf7 100vh, #fbfaf7 100%);
}

.blog-detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,255,255,0.18), transparent 18%),
    linear-gradient(180deg, #284dd7 0%, #2449d4 28%, #fbfaf7 28%, #fbfaf7 100%);
}

.hero-shell {
  min-height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: none;
  border-radius: 0;
}

.top-nav {
  background: transparent;
  padding: 10px 14px;
  position: relative;
  z-index: 5;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 5;
  padding: 12px 10px 18px;
}

.hero-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-logo {
  width: min(246px, 24vw);
  height: auto;
  display: block;
}

.menu-button {
  width: 72px;
  height: 52px;
  border: 0;
  border-radius: 28px;
  background: rgba(30, 22, 18, 0.30);
  backdrop-filter: blur(3px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: #fff;
  position: absolute;
}

.menu-button::before {
  transform: translateY(-8px);
}

.menu-button::after {
  transform: translateY(8px);
}

.top-quote-btn {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 205, 26, 0.96);
  color: #111111;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(8, 8, 8, 0.74);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-panel {
  position: relative;
  width: min(1120px, 100%);
  min-height: min(720px, calc(100vh - 68px));
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 205, 26, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(17, 17, 17, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.nav-panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 56px;
}

.nav-panel-logo {
  width: min(200px, 44vw);
  height: auto;
  display: block;
}

.nav-close {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 40px;
  align-items: end;
}

.nav-links-column {
  display: grid;
  gap: 14px;
}

.nav-overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  color: #ffffff;
  font-size: clamp(2.2rem, 4.8vw, 5rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.nav-panel-meta {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 30px rgba(17, 31, 89, 0.12);
  backdrop-filter: blur(10px);
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 148px;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.brand-logo {
  display: block;
  width: 118px;
  height: auto;
}

.nav-pills-wrap .nav-link {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 12px;
  background: transparent;
}

.nav-pills-wrap .nav-link.active {
  color: #ffd54d;
}

.top-nav.scrolled .nav-pills-wrap .nav-link {
  color: #1c2d6b;
}

.top-nav.scrolled .nav-pills-wrap .nav-link.active {
  color: #e0a90b;
}

.cta-btn,
.nav-panel-cta {
  background: rgba(12, 25, 86, 0.78);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-hero {
  min-height: 100vh;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgb(0 0 0 / 0%) 100%),
    url("../blog-banner.png") center center / cover no-repeat;
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.06) 36%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 100%;
  padding: 48px 54px 64px;
  display: flex;
  flex-direction: column;
}

.hero-content {
  margin-top: auto;
  padding-bottom: 92px;
  max-width: 840px;
}

.blog-badge {
  display: none;
}

.hero-title,
.blog-hero-title,
.blog-detail-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(2.8rem, 5.2vw, 5.3rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
  max-width: 840px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.blog-stats-card {
  display: none;
}

.blog-stats-label,
.blog-stats-value {
  display: none;
}

.blog-stats-note {
  margin: 0;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 700;
  font-size: 1rem;
}

.blog-stats-note a {
  color: var(--text-cream);
}

.blog-stats-card .blog-stats-note + .blog-stats-note {
  display: none;
}

.hero-copy,
.blog-hero-copy,
.blog-detail-summary {
  display: block;
  margin: 0 0 34px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  max-width: 840px;
}

.blog-meta-date.mt-4 {
  display: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 26px;
  min-width: 350px;
  background: rgba(255, 205, 26, 0.96);
  color: #111111;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #111111;
  color: #ffcd1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-quote-btn {
  min-height: 58px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.blog-content-section {
  padding: 42px 0 72px;
}

.blog-panel,
.blog-empty-state {
  background: var(--paper);
  color: var(--ink);
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(35, 58, 155, 0.16);
}

.blog-panel {
  padding: 28px;
}

.blog-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.blog-section-title {
  margin: 14px 0 0;
  color: #17223d;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.06em;
  max-width: 620px;
}

.blog-section-copy {
  margin: 0;
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

.blog-grid-featured,
.blog-grid {
  display: grid;
  gap: 24px;
}

.blog-grid-featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(29, 45, 107, 0.08);
  box-shadow: 0 18px 40px rgba(18, 35, 117, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px rgba(18, 35, 117, 0.14);
}

.blog-card-media {
  position: relative;
  /* aspect-ratio: 1.24 / 1; */
  overflow: hidden;
  background: linear-gradient(180deg, rgba(43, 76, 211, 0.18), rgba(43, 76, 211, 0.06));
}

.blog-card.featured .blog-card-media {
  aspect-ratio: 1.42 / 1;
}

.blog-card-media img,
.blog-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-meta-date {
  color: #7180a8;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 213, 77, 0.16);
  color: #8a6510;
  font-size: 0.78rem;
  font-weight: 800;
}

.blog-card-title {
  margin: 0;
  color: #17223d;
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.blog-card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 600;
}

.blog-read-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

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

.blog-detail-shell {
  padding: 42px 0 72px;
}

.blog-detail-layout {
  display: grid;
  gap: 28px;
}

.blog-detail-panel {
  background: var(--paper);
  color: var(--ink);
  border-radius: 32px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(35, 58, 155, 0.16);
}

.blog-detail-hero-image {
  overflow: hidden;
  border-radius: 26px;
  background: #eff3ff;
  border: 1px solid var(--paper-border);
}

.blog-detail-hero-image img {
  /* aspect-ratio: 1.8 / 1; */
}

.blog-richtext-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.26fr) minmax(0, 0.74fr);
  gap: 28px;
}

.blog-side-note {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(42, 83, 208, 0.08), rgba(79, 121, 234, 0.04));
  border: 1px solid rgba(42, 83, 208, 0.1);
}

.blog-side-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-side-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 600;
}

.blog-richtext {
  color: #3a435b;
  font-size: 1.05rem;
  line-height: 1.95;
  font-weight: 500;
}

.blog-richtext h6 {
  margin: 0 0 16px;
  color: #17223d;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 800;
}

.blog-richtext p {
  margin: 0 0 16px;
}

.blog-richtext figure {
  margin: 28px 0;
}

.blog-richtext iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 22px;
}

.blog-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.blog-pagination-link,
.blog-pagination-empty {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 108px;
  padding: 22px 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(29, 45, 107, 0.08);
}

.blog-pagination-label {
  color: #7180a8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-pagination-title {
  color: #17223d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.blog-cta-band {
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, #2749d3 0%, #1537ae 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.blog-cta-band h3 {
  margin: 0 0 8px;
  color: var(--text-cream);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.blog-cta-band p {
  margin: 0;
  max-width: 540px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 600;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 86px 24px 26px;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.08), transparent 14%),
    radial-gradient(circle at 14% 84%, rgba(255, 223, 46, 0.08), transparent 18%),
    #2f50d4;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.06), transparent 2px),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.04), transparent 2px);
  background-size: 38px 38px, 46px 46px;
  opacity: 0.45;
}

.footer-brand {
  position: relative;
  z-index: 2;
  margin: 0 0 18px;
  text-align: center;
  color: #fff5ca;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.footer-card {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  width: min(1120px, 100%);
  padding: 34px 34px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

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

.footer-col.divided {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-copy {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.footer-contact a {
  color: var(--gold);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.footer-heading {
  margin: 0 0 18px;
  color: #fff;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.subscribe-label {
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.subscribe-copy {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 20px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 600;
}

.blog-admin-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 72px;
}

.admin-dashboard-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: 36px auto 72px;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(16, 33, 74, 0.08);
  box-shadow: 0 18px 44px rgba(27, 56, 148, 0.08);
}

.admin-sidebar h2 {
  margin: 10px 0 12px;
  color: #10214a;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.admin-sidebar p {
  margin: 0 0 18px;
  color: #5f6d94;
  line-height: 1.7;
}

.admin-main-panel {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 24px;
  background: rgba(7, 18, 58, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
}

.admin-topbar-inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-nav a {
  padding: 11px 16px;
  border-radius: 999px;
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav a.active,
.admin-nav a:hover {
  background: rgba(255, 214, 90, 0.16);
  color: #ffe084;
}

.admin-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 32px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08)),
    linear-gradient(135deg, #193cad, #0d2c89);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 80px rgba(18, 35, 103, 0.24);
  color: #fff;
}

.admin-hero-card h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.admin-hero-card p {
  max-width: 760px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  line-height: 1.75;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-stat-card {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.admin-stat-card span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-stat-card strong {
  display: block;
  margin: 12px 0 8px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.admin-stat-card small {
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  line-height: 1.6;
  font-weight: 600;
}

.admin-content-grid {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-module-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 0;
}

.admin-module-link {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(16, 33, 74, 0.08);
  box-shadow: 0 16px 40px rgba(27, 56, 148, 0.08);
  color: #10214a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-module-link:hover,
.admin-module-link.is-active {
  transform: translateY(-2px);
  border-color: rgba(22, 55, 160, 0.18);
  box-shadow: 0 20px 44px rgba(27, 56, 148, 0.12);
}

.admin-module-link span {
  color: #7d88a9;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}

.admin-module-link strong {
  color: #10214a;
  font-size: 1.02rem;
  line-height: 1.2;
}

.admin-module-link small {
  color: #5f6d94;
  font-size: 0.84rem;
  line-height: 1.55;
  font-weight: 600;
}

.admin-form-card,
.admin-list-card,
.admin-inquiry-card {
  background: #ffffff;
  border: 1px solid rgba(16, 33, 74, 0.08);
  box-shadow: 0 22px 60px rgba(27, 56, 148, 0.12);
  color: #10214a;
}

.admin-form-card p,
.admin-list-card p,
.admin-inquiry-card p,
.admin-form-card .blog-admin-meta,
.admin-list-card .blog-admin-meta,
.admin-inquiry-card .blog-admin-meta {
  color: #5f6d94;
}

.admin-form-card code,
.admin-list-card code,
.admin-inquiry-card code {
  color: #1637a0;
}

.admin-inquiry-card {
  margin-top: 24px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eff3ff;
  border: 1px solid rgba(22, 55, 160, 0.08);
  color: #1637a0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-substat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 8px;
}

.admin-substat {
  padding: 18px 20px;
  border-radius: 20px;
  background: #f7f9ff;
  border: 1px solid rgba(16, 33, 74, 0.08);
}

.admin-substat strong {
  display: block;
  margin-bottom: 6px;
  color: #10214a;
  font-size: 1.5rem;
  line-height: 1;
}

.admin-substat span {
  color: #5f6d94;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.admin-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.admin-login-panel {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.admin-login-hero {
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 112, 0.18), transparent 22%),
    linear-gradient(135deg, #112f92, #0b1f65);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 74px rgba(8, 17, 54, 0.28);
  color: #fff;
}

.admin-eyebrow {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #ffe18e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-login-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.admin-login-hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.82);
  font-size: 1.02rem;
  line-height: 1.85;
  font-weight: 500;
}

.admin-login-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.admin-point-card {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.admin-point-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.admin-point-card span {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
}

.admin-login-card {
  align-self: center;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(16, 33, 74, 0.08);
  box-shadow: 0 26px 70px rgba(18, 35, 103, 0.18);
  color: #10214a;
}

.admin-login-card h2 {
  margin: 10px 0 14px;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.admin-login-card p {
  color: #637097;
  line-height: 1.75;
}

.admin-login-card code {
  color: #1637a0;
}

.admin-login-credentials {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 18px;
  border-radius: 22px;
  background: #f5f7ff;
  border: 1px solid rgba(22, 55, 160, 0.08);
}

.admin-login-credentials div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.admin-login-credentials span {
  color: #6a7697;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-login-credentials strong {
  color: #10214a;
  font-size: 0.96rem;
}

.admin-form label,
.admin-form input,
.admin-form textarea {
  color: inherit;
}

.blog-admin-grid {
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.blog-admin-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 26px;
  color: #fff;
}

.blog-admin-card h2,
.blog-admin-card h3 {
  margin: 0 0 14px;
  font-size: 1.65rem;
  letter-spacing: -0.05em;
}

.blog-admin-card p,
.blog-admin-meta {
  color: rgba(255,255,255,0.78);
}

.admin-theme .blog-brand-copy small {
  color: rgba(255,255,255,0.62);
}

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

.admin-theme .blog-brand-copy strong {
  color: #ffffff;
}

.admin-theme .blog-brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}

.admin-theme .blog-mono {
  color: #8a95b6;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Chivo Mono", monospace;
}

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

.blog-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.blog-form input,
.blog-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
}

.admin-theme .blog-form input,
.admin-theme .blog-form textarea {
  border-color: rgba(16, 33, 74, 0.1);
  background: #f7f9ff;
  color: #10214a;
}

.admin-theme .blog-form input::placeholder,
.admin-theme .blog-form textarea::placeholder {
  color: #8a95b6;
}

.blog-form textarea {
  min-height: 150px;
  resize: vertical;
}

.blog-button,
.blog-admin-card button,
.blog-form button,
.blog-form .ghost-link {
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  color: #fff;
  background: rgba(12, 25, 86, 0.78);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-theme .blog-button,
.admin-theme .blog-admin-card button,
.admin-theme .blog-form button,
.admin-theme .blog-form .ghost-link {
  background: linear-gradient(135deg, #1737a0, #0f2878);
  box-shadow: 0 12px 24px rgba(23, 55, 160, 0.14);
}

.blog-form .actions,
.blog-admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-message {
  margin-bottom: 18px;
  border-radius: 16px;
  padding: 14px 16px;
  font-weight: 700;
}

.blog-message.success {
  background: rgba(78, 201, 140, 0.12);
  color: #b6ffd1;
}

.blog-message.error {
  background: rgba(255, 99, 99, 0.12);
  color: #ffd0d0;
}

.blog-admin-list {
  display: grid;
  gap: 16px;
}

.blog-admin-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.blog-admin-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #1d1f20;
  object-fit: cover;
}

.blog-empty {
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: rgba(255,255,255,0.78);
  text-align: center;
}

.admin-theme .blog-admin-item {
  border-color: rgba(16, 33, 74, 0.08);
  background: #f9fbff;
}

.admin-theme .blog-empty {
  border-color: rgba(16, 33, 74, 0.12);
  color: #5f6d94;
  background: #f7f9ff;
}

@media (max-width: 991px) {
  .blog-hero-grid,
  .blog-richtext-wrap,
  .blog-admin-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-panel-meta {
    display: none;
  }

  .nav-panel-grid {
    grid-template-columns: minmax(1, 1.25fr) minmax(329px, 0.75fr);
    gap: 40px;
  }

  .admin-hero-card,
  .admin-login-panel,
  .admin-content-grid,
  .admin-workspace {
    grid-template-columns: 1fr;
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-points,
  .admin-stat-grid,
  .admin-substat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-sidebar {
    position: static;
  }

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

  .footer-col.divided {
    padding-left: 0;
    border-left: none;
  }

  .blog-cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-hero-inner {
    padding: 30px 24px 38px;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 48px;
  }
}

@media (max-width: 767px) {
  .hero-shell {
    padding: 0;
  }

  .hero-logo {
    width: 158px;
  }

  .hero-top {
    align-items: center;
    padding-inline: 4px;
  }

  .hero-top-actions {
    gap: 8px;
  }

  .menu-button {
    width: 54px;
    height: 42px;
    border-radius: 20px;
  }

  .menu-button span,
  .menu-button::before,
  .menu-button::after {
    width: 18px;
  }

  .top-quote-btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .blog-hero {
    min-height: 100vh;
    border-radius: 0;
  }

  .blog-hero-inner {
    padding: 22px 16px 24px;
  }

  .top-nav {
    padding: 12px;
  }

  .brand-box {
    border-right: none;
    padding-right: 0;
  }

  .blog-content-section,
  .blog-detail-shell,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-panel,
  .blog-detail-panel,
  .footer-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .blog-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-grid-featured,
  .blog-grid,
  .blog-pagination,
  .blog-admin-item {
    grid-template-columns: 1fr;
  }

  .admin-login-shell,
  .admin-dashboard-wrap {
    width: min(100%, calc(100% - 24px));
    margin-left: auto;
    margin-right: auto;
  }

  .admin-login-hero,
  .admin-login-card,
  .admin-hero-card,
  .admin-form-card,
  .admin-list-card,
  .admin-inquiry-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .admin-login-points,
  .admin-stat-grid,
  .admin-substat-row {
    grid-template-columns: 1fr;
  }

  .admin-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-login-credentials div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .blog-grid {
    gap: 18px;
  }

  .blog-card.featured .blog-card-media,
  .blog-card-media,
  .blog-detail-hero-image img {
    /* aspect-ratio: 1.18 / 1; */
  }

  .blog-richtext iframe {
    min-height: 240px;
  }

  .hero-content {
    padding-bottom: 18px;
  }

  .hero-copy,
  .blog-hero-copy,
  .blog-detail-summary {
    margin-bottom: 24px;
    font-size: 1.2rem;
    line-height: 1.35;
    max-width: 100%;
  }

  .hero-title,
  .blog-hero-title,
  .blog-detail-title {
    margin-bottom: 14px;
    font-size: 2rem;
  }

  .hero-cta {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    padding: 10px 10px 10px 18px;
    font-size: 0.98rem;
  }

  .hero-cta-icon {
    width: 46px;
    height: 46px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-quote-btn {
    width: 100%;
  }

  .nav-overlay {
    padding: 0;
  }

  .nav-panel {
    min-height: 100vh;
    border-radius: 0;
    padding: 22px 16px 28px;
  }
}
