@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap");

:root {
  --navy: #08213f;
  --blue: #1266d6;
  --green: #16a36b;
  --orange: #f28c28;
  --ink: #172231;
  --muted: #637083;
  --line: #dfe6ef;
  --paper: #f5f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(8, 33, 63, 0.12);
  --accent: var(--blue);
  --accent-soft: #e9f2ff;
  --hero-image: url("../../assets/resource-dashboard.png");
  --hero-start: rgba(8, 33, 63, 0.96);
  --hero-end: rgba(18, 102, 214, 0.76);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

body.theme-dashboard {
  --accent: #1266d6;
  --accent-soft: #e9f2ff;
  --hero-image: url("../../assets/resource-dashboard.png");
  --hero-end: rgba(18, 102, 214, 0.78);
}

body.theme-kpi {
  --accent: #16a36b;
  --accent-soft: #e8f7f0;
  --hero-image: url("../../assets/resource-kpi.png");
  --hero-end: rgba(22, 163, 107, 0.78);
}

body.theme-automation {
  --accent: #f28c28;
  --accent-soft: #fff2e4;
  --hero-image: url("../../assets/resource-dashboard.png");
  --hero-end: rgba(242, 140, 40, 0.7);
}

body.theme-erp {
  --accent: #31566b;
  --accent-soft: #eaf1f5;
  --hero-image: url("../../assets/resource-dashboard.png");
  --hero-end: rgba(49, 86, 107, 0.82);
}

a {
  color: inherit;
}

.brand-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding: 8px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 239, 0.9);
  backdrop-filter: blur(14px);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo img {
  display: block;
  width: auto;
  height: clamp(58px, 6vw, 82px);
  max-width: min(430px, 44vw);
  object-fit: contain;
}

.brand-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
  font-weight: 800;
}

.brand-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.94rem;
  text-decoration: none;
}

.brand-nav a:hover,
.brand-nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.resource-hero {
  padding: clamp(46px, 8vw, 86px) clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(120deg, var(--hero-start), var(--hero-end)),
    var(--hero-image) center / cover;
}

.resource-hero p,
.resource-hero h1 {
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffd6a3;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  margin-top: 36px;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.15;
}

h3 {
  margin-top: 28px;
  color: var(--navy);
}

.summary {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 800;
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 36px);
}

.article-body,
.side-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body {
  padding: clamp(24px, 4vw, 44px);
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  margin-bottom: 28px;
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(8, 33, 63, 0.16);
}

.lead {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.article-body p,
.article-body li {
  color: #39475a;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.side-panel {
  align-self: start;
  padding: 22px;
}

.side-panel h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.keywords li {
  padding: 7px 9px;
  color: var(--navy);
  background: var(--accent-soft);
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 800;
}

.note {
  padding: 16px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

.takeaway {
  margin-top: 30px;
  padding: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), var(--accent));
  border-radius: 8px;
}

.takeaway h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.35rem;
}

.takeaway p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 7px;
  font-weight: 900;
  text-decoration: none;
}

.btn.secondary {
  color: var(--navy);
  background: #e9f2ff;
}

.footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #04111f;
}

@media (max-width: 860px) {
  .brand-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding-block: 12px;
  }

  .brand-logo img {
    height: 58px;
    max-width: 280px;
  }

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

  .resource-layout {
    grid-template-columns: 1fr;
  }
}

/* Final Stitch override: keep this block last. */
:root {
  --navy: #0a0a0a;
  --blue: #4b8eff;
  --green: #ccff00;
  --orange: #ccff00;
  --ink: #e5e2e1;
  --muted: #c4c9ac;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #131313;
  --white: #ffffff;
  --surface: #1c1b1b;
  --surface-2: #201f1f;
  --accent: #ccff00;
  --accent-soft: rgba(204, 255, 0, 0.1);
  --hero-start: rgba(19, 19, 19, 0.96);
  --hero-end: rgba(19, 19, 19, 0.76);
  --shadow: none;
}

body.theme-dashboard,
body.theme-kpi,
body.theme-automation,
body.theme-erp {
  --accent: #ccff00;
  --accent-soft: rgba(204, 255, 0, 0.1);
  --hero-end: rgba(19, 19, 19, 0.76);
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", Arial, Helvetica, sans-serif;
}

.brand-header {
  background: rgba(14, 14, 14, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand-logo img {
  border-radius: 0;
}

.brand-nav a {
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 0;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-nav a:hover,
.brand-nav a.active {
  color: #161e00;
  background: var(--accent);
}

.resource-hero {
  background:
    linear-gradient(90deg, var(--hero-start), var(--hero-end)),
    linear-gradient(rgba(204, 255, 0, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.12) 1px, transparent 1px),
    var(--hero-image) center / cover;
  background-size: auto, 56px 56px, 56px 56px, cover;
  border-bottom: 1px solid var(--line);
}

.summary,
.article-body p,
.article-body li,
.side-panel p {
  color: var(--muted);
}

.eyebrow,
.keywords li {
  color: var(--accent);
  font-family: "JetBrains Mono", Consolas, monospace;
  letter-spacing: 0.08em;
}

.meta span,
.keywords li {
  background: rgba(204, 255, 0, 0.08);
  border: 1px solid rgba(204, 255, 0, 0.28);
  border-radius: 0;
}

.article-body,
.side-panel,
.takeaway {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.article-image {
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.82) contrast(1.08);
}

.lead {
  color: var(--ink);
}

.note {
  background: rgba(204, 255, 0, 0.08);
  border-left: 4px solid var(--accent);
}

.btn,
.back-link {
  color: #161e00;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 0;
  font-family: "JetBrains Mono", Consolas, monospace;
  text-transform: uppercase;
}

.btn:hover,
.back-link:hover {
  color: var(--accent);
  background: transparent;
}

.footer {
  background: #0e0e0e;
  border-top: 1px solid var(--line);
}

/* Stitch exact target: "Soluciones Numerikas - Home Tipografia Corregida". */
:root {
  --navy: #000a1b;
  --blue: #4e8eff;
  --green: #28a745;
  --orange: #ff8a00;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --paper: #03080f;
  --surface: rgba(255, 255, 255, 0.05);
  --accent: #4e8eff;
  --accent-soft: rgba(78, 142, 255, 0.14);
  --hero-start: rgba(3, 8, 15, 0.96);
  --hero-end: rgba(3, 8, 15, 0.66);
  --shadow: 0 20px 40px rgba(78, 142, 255, 0.2);
}

body.theme-dashboard,
body.theme-kpi,
body.theme-automation,
body.theme-erp {
  --accent: #4e8eff;
  --accent-soft: rgba(78, 142, 255, 0.14);
  --hero-end: rgba(3, 8, 15, 0.66);
}

* {
  font-family: "Space Grotesk", "Segoe UI", Arial, Helvetica, sans-serif;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 18%, rgba(78, 142, 255, 0.22), transparent 28%),
    radial-gradient(circle at 18% 60%, rgba(255, 138, 0, 0.12), transparent 26%),
    linear-gradient(180deg, #03080f 0%, #071323 46%, #03080f 100%);
  background-attachment: fixed;
}

.brand-header {
  min-height: 80px;
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-logo img {
  height: clamp(48px, 5vw, 64px);
  filter: brightness(0) invert(1);
}

.brand-nav {
  gap: 18px;
}

.brand-nav a {
  color: rgba(255, 255, 255, 0.7);
  border: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-nav a:hover,
.brand-nav a.active {
  color: #ffffff;
  background: transparent;
}

.resource-hero {
  background:
    linear-gradient(90deg, var(--hero-start), var(--hero-end)),
    var(--hero-image) center / cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

h1,
h2,
h3,
.lead {
  color: #ffffff;
}

.summary,
.article-body p,
.article-body li,
.side-panel p {
  color: rgba(255, 255, 255, 0.66);
}

.eyebrow,
.keywords li,
.meta span {
  color: var(--accent);
}

.meta span,
.keywords li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.article-body,
.side-panel,
.takeaway {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.note {
  background: rgba(78, 142, 255, 0.12);
  border-left-color: var(--accent);
}

.btn,
.back-link {
  min-height: 46px;
  color: #ffffff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.btn:hover,
.back-link:hover {
  color: #ffffff;
  background: #e67e00;
  border-color: #e67e00;
  box-shadow: 0 20px 44px rgba(255, 138, 0, 0.22);
}

.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #02050a;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 260px;
  display: grid;
  gap: 2px;
  padding: 12px;
  background: rgba(3, 8, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  min-height: auto;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  font-size: 0.72rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.brand-cta {
  color: #ffffff !important;
  background: #ff8a00 !important;
  padding: 10px 16px !important;
  border-radius: 999px !important;
}

.brand-cta:hover,
.brand-cta:focus-visible {
  background: #e67e00 !important;
}

/* Header aligned with the main dark site navigation. */
.brand-header {
  min-height: 80px !important;
  padding: 16px clamp(18px, 3vw, 40px) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.brand-logo img {
  height: 54px !important;
  max-width: 240px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.brand-nav {
  gap: 32px !important;
  flex-wrap: nowrap !important;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-nav a {
  min-height: auto !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
}

.brand-nav a:hover,
.brand-nav a.active {
  color: #ffffff !important;
  background: transparent !important;
}

.nav-dropdown-menu {
  top: 100% !important;
  min-width: 280px !important;
  padding: 12px !important;
  background: rgba(3, 8, 15, 0.96) !important;
  border-radius: 18px !important;
}

.nav-dropdown-menu a {
  display: block !important;
  padding: 12px 16px !important;
  color: rgba(255, 255, 255, 0.62) !important;
  border-radius: 12px !important;
  letter-spacing: 0;
  text-transform: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.brand-cta {
  padding: 8px 24px !important;
  color: #ffffff !important;
  background: #ff8a00 !important;
  border-radius: 999px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  font-family: "Material Symbols Outlined", sans-serif;
  font-size: 28px;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 90;
  width: min(86vw, 340px);
  padding: 16px;
  background: rgba(3, 8, 15, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
}

.mobile-nav-panel a:hover,
.mobile-nav-panel a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-panel .mobile-cta {
  margin-top: 10px;
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  background: #ff8a00;
  border-radius: 999px;
}

@media (max-width: 767px) {
  .brand-header {
    min-height: 72px !important;
  }

  .brand-nav {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  .brand-logo img {
    height: 40px !important;
    max-width: 220px !important;
  }
}

a[aria-label="WhatsApp Soluciones Numerikas"] {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #16a36b;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(22, 163, 107, 0.28);
  transition: transform 180ms ease;
}

a[aria-label="WhatsApp Soluciones Numerikas"]:hover,
a[aria-label="WhatsApp Soluciones Numerikas"]:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

a[aria-label="WhatsApp Soluciones Numerikas"] svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 767px) {
  a[aria-label="WhatsApp Soluciones Numerikas"] {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}



.footer-symbol {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin: 0 auto 14px;
}

/* Final site-consistency layer for resource articles and guides. */
:root {
  --navy: #03080f;
  --blue: #4e8eff;
  --green: #28a745;
  --orange: #ff8a00;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.1);
  --paper: #03080f;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --accent: #4e8eff;
  --accent-soft: rgba(78, 142, 255, 0.14);
  --hero-start: rgba(3, 8, 15, 0.96);
  --hero-end: rgba(3, 8, 15, 0.72);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body,
body.theme-dashboard,
body.theme-kpi,
body.theme-automation,
body.theme-erp {
  --accent: #4e8eff;
  --accent-soft: rgba(78, 142, 255, 0.14);
  --hero-end: rgba(3, 8, 15, 0.72);
}

body {
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(78, 142, 255, 0.18), transparent 24%),
    radial-gradient(circle at 14% 64%, rgba(255, 138, 0, 0.09), transparent 25%),
    linear-gradient(180deg, #03080f 0%, #071323 46%, #03080f 100%);
  background-attachment: fixed;
  font-family: "Space Grotesk", "Segoe UI", Arial, Helvetica, sans-serif;
}

.brand-header {
  min-height: 80px !important;
  align-items: center !important;
  flex-direction: row !important;
  padding: 16px clamp(18px, 3vw, 40px) !important;
  background: rgba(0, 0, 0, 0.42) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(18px) !important;
}

.brand-logo img {
  width: auto !important;
  height: 54px !important;
  max-width: 240px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.brand-nav {
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 32px !important;
}

.brand-nav a {
  min-height: auto !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
}

.brand-nav a:hover,
.brand-nav a.active {
  color: #ffffff !important;
  background: transparent !important;
}

.nav-dropdown-menu {
  min-width: 280px !important;
  padding: 12px !important;
  background: rgba(3, 8, 15, 0.96) !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
}

.nav-dropdown-menu a {
  display: block !important;
  padding: 12px 16px !important;
  color: rgba(255, 255, 255, 0.66) !important;
  border-radius: 12px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.brand-cta {
  padding: 8px 24px !important;
  color: #ffffff !important;
  background: var(--orange) !important;
  border-radius: 999px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.brand-cta:hover,
.brand-cta:focus-visible {
  background: #e67e00 !important;
}

.resource-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(100deg, var(--hero-start), var(--hero-end)),
    var(--hero-image) center / cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-hero p,
.resource-hero h1 {
  max-width: 980px;
}

.eyebrow {
  color: var(--orange);
}

h1 {
  max-width: 980px;
  color: #ffffff;
  font-size: clamp(2.35rem, 6vw, 4.75rem);
  letter-spacing: 0;
}

h2,
h3,
.lead {
  color: #ffffff;
  letter-spacing: 0;
}

.summary,
.article-body p,
.article-body li,
.side-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.meta span,
.keywords li {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.resource-layout {
  max-width: 1280px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 28px;
  padding: clamp(34px, 6vw, 74px) clamp(18px, 5vw, 40px);
}

.article-body,
.side-panel,
.takeaway {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.article-image {
  width: 100%;
  max-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(78, 142, 255, 0.14);
  filter: saturate(0.96) contrast(1.04);
}

.note {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(78, 142, 255, 0.12);
  border-left-color: var(--blue);
  border-radius: 0 16px 16px 0;
}

.takeaway {
  background:
    linear-gradient(135deg, rgba(78, 142, 255, 0.18), rgba(255, 255, 255, 0.045)),
    var(--surface);
}

.btn,
.back-link {
  min-height: 46px;
  padding: 10px 18px;
  color: #ffffff;
  background: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.btn.secondary {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn:hover,
.back-link:hover {
  color: #ffffff;
  background: #e67e00;
  border-color: #e67e00;
}

.footer {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  background: #02050a;
  border-top: 1px solid var(--line);
}

.footer-logo {
  display: block;
  width: min(260px, 72vw);
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-symbol {
  display: none;
}

@media (max-width: 1040px) {
  .brand-nav {
    gap: 20px !important;
  }

  .brand-nav a {
    font-size: 0.68rem !important;
    letter-spacing: 0.12em !important;
  }
}

@media (max-width: 860px) {
  .resource-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .brand-header {
    min-height: 72px !important;
    align-items: center !important;
    flex-direction: row !important;
    padding: 14px 18px !important;
  }

  .brand-logo img {
    height: 40px !important;
    max-width: 220px !important;
  }

  .brand-nav {
    display: none !important;
  }

  .mobile-nav {
    display: block !important;
  }

  .resource-hero {
    padding: 42px 18px;
  }

  .article-body,
  .side-panel {
    border-radius: 18px;
  }

  .article-body {
    padding: 22px;
  }

  .article-image {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
}
