:root {
  color-scheme: light;
  --navy: #061f3f;
  --navy-2: #0a3569;
  --ink: #071b37;
  --muted: #536984;
  --line: #c8d9e9;
  --panel: #ffffff;
  --surface: #f5f9fc;
  --gold: #d8a72f;
  --blue: #2b8ed6;
  --danger: #b42318;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

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

.app-header {
  min-height: 96px;
  padding: 12px 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 34, 76, 0.96), rgba(10, 45, 89, 0.94)),
    url("/app/assets/header-basketball-watermark.png"),
    var(--navy);
  background-size: cover, 760px auto, auto;
  background-position: center, right 302px top -118px, center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  display: grid;
  gap: 0;
  line-height: 0.96;
  font-size: 18px;
  font-weight: 900;
}

.brand-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.3);
}

.brand-context,
.eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
  letter-spacing: 0;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
}

.button-link,
button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover,
button:hover {
  background: rgba(255, 255, 255, 0.16);
}

.blog-page {
  --blog-navy: #061f3f;
  --blog-panel: #f7f1df;
  --blog-paper: #fffaf0;
  --blog-gold: #d8a72f;
  --blog-blue: #9cd7ff;
  background: #f1efe7;
  -webkit-user-select: text;
  user-select: text;
}

.blog-page a,
.blog-page button,
.blog-page img,
.blog-page .blog-card,
.blog-page .blog-content,
.blog-page .blog-hero,
.blog-page .blog-landing {
  -webkit-user-select: text;
  user-select: text;
}

.blog-page a,
.blog-page img,
.blog-card {
  -webkit-user-drag: none;
  user-drag: none;
}

.blog-header {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(6, 31, 63, 0.18);
}

.blog-main {
  padding-bottom: 48px;
}

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

.blog-cover {
  height: clamp(170px, 15vw, 300px);
  min-height: 170px;
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(360px, 1.14fr);
  background: var(--blog-paper);
  border-bottom: 1px solid rgba(6, 31, 63, 0.12);
  overflow: hidden;
}

.blog-cover-copy {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: clamp(18px, 3.2vw, 64px);
  display: grid;
  align-content: center;
  gap: clamp(8px, 1.1vw, 16px);
  background:
    linear-gradient(120deg, var(--blog-navy) 0 84%, rgba(216, 167, 47, 0.95) 84% 86%, transparent 86%);
}

.blog-cover-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 74%, rgba(216, 167, 47, 0.9) 74% 75%, transparent 75%),
    url("/app/assets/header-basketball-watermark.png");
  background-size: auto, 540px auto;
  background-position: center, right -130px center;
  opacity: 0.34;
  pointer-events: none;
}

.blog-cover-kicker,
.blog-cover-rule {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px auto 76px;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  color: var(--blog-gold);
  text-transform: uppercase;
}

.blog-cover-kicker span,
.blog-cover-rule span,
.blog-section-title i {
  height: 2px;
  background: currentColor;
}

.blog-cover-kicker strong {
  font-size: 13px;
  letter-spacing: 0.06em;
}

.blog-cover h2 {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.3vw, 58px);
  line-height: 0.94;
  letter-spacing: 0;
}

.blog-cover h2 em {
  display: block;
  color: var(--blog-blue);
  font-style: italic;
  font-size: 0.92em;
}

.blog-cover-rule {
  grid-template-columns: 104px auto 104px;
}

.blog-cover-rule b {
  font-size: 15px;
}

.blog-cover-lines {
  display: none;
}

.blog-cover-lines i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(181, 199, 215, 0.48);
}

.blog-cover-lines i:nth-child(2) {
  width: 92%;
}

.blog-cover-lines i:nth-child(3) {
  width: 76%;
}

.blog-cover-meta {
  display: none;
}

.blog-cover-art {
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(6, 31, 63, 0.08), transparent 18%),
    url("/app/assets/blog-hero-court.png") center 47% / cover no-repeat;
}

.blog-magazine {
  width: min(1380px, calc(100% - 92px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: clamp(28px, 3.2vw, 44px);
  align-items: start;
}

.blog-articles,
.blog-dossier,
.blog-article {
  min-width: 0;
}

.blog-section-title {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--blog-navy);
}

.blog-section-title h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
}

.blog-dossier-title h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.1;
}

.blog-inline-link {
  color: var(--blog-navy);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

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

.blog-card {
  position: relative;
  overflow: hidden;
  min-height: 312px;
  padding: 0;
  display: grid;
  grid-template-rows: 160px auto auto 1fr auto;
  gap: 10px;
  text-align: left;
  color: var(--blog-navy);
  background: #fff;
  border: 1px solid rgba(6, 31, 63, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(6, 31, 63, 0.12);
  text-decoration: none;
}

.blog-card.feature {
  grid-column: span 2;
}

.blog-card img {
  width: 100%;
  height: 160px;
  display: block;
  object-fit: cover;
}

.blog-card strong,
.blog-card small,
.blog-card .blog-tags,
.blog-card .blog-date,
.blog-card .blog-arrow {
  margin-inline: 16px;
}

.blog-card strong {
  font-size: 20px;
  line-height: 1.08;
}

.blog-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.blog-date,
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.blog-date {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-transform: uppercase;
}

.blog-date b,
.blog-date i,
.blog-tags span {
  font-style: normal;
}

.blog-tags span {
  position: relative;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px 4px 17px;
  color: var(--blog-navy);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.92)),
    linear-gradient(90deg, rgba(216, 167, 47, 0.14), rgba(22, 129, 196, 0.08));
  border: 1px solid rgba(6, 31, 63, 0.16);
  border-radius: 4px;
  box-shadow:
    inset 3px 0 0 rgba(216, 167, 47, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.blog-tags span::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--blog-gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.blog-arrow {
  margin-bottom: 16px;
  color: var(--blog-gold);
  font-size: 24px;
  line-height: 1;
}

.blog-dossier {
  position: relative;
  overflow: hidden;
  padding: 28px 26px 32px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 10%, rgba(156, 215, 255, 0.2), transparent 128px),
    radial-gradient(circle at 6% 96%, rgba(216, 167, 47, 0.12), transparent 138px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 252, 246, 0.93));
  border: 1px solid rgba(6, 31, 63, 0.14);
  border-radius: 14px;
  box-shadow:
    0 24px 54px rgba(6, 31, 63, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.blog-dossier-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.blog-dossier-title h2 {
  letter-spacing: 0.01em;
}

.blog-leaders-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 18px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 31, 63, 0.12);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.blog-leaders-tabs button {
  min-height: 32px;
  padding: 6px 8px;
  color: #4d647c;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-leaders-tabs button.active {
  color: var(--blog-gold);
  background: var(--blog-navy);
  box-shadow:
    0 1px 2px rgba(6, 31, 63, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.blog-leaders-panel,
.blog-dossier-grid {
  display: grid;
  gap: 12px;
}

.blog-leaders-meta {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  color: #4d647c;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
}

.blog-leaders-meta span::before {
  content: "";
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 10px;
  background: #278bd6;
  border: 3px solid rgba(39, 139, 214, 0.22);
  border-radius: 50%;
  vertical-align: -1px;
}

.blog-leaders-meta span::after {
  content: "·";
  margin-left: 8px;
  color: #7f8fa0;
}

.blog-leaders-meta b {
  color: #4d647c;
  font-weight: 700;
}

.blog-dossier-grid article,
.empty-block {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(6, 31, 63, 0.11);
  border-radius: 14px;
  box-shadow:
    0 10px 24px rgba(6, 31, 63, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.blog-leaders-panel > .empty-block {
  min-height: 640px;
  display: grid;
  place-items: center;
}

.blog-leaders-panel > .empty-block.is-compact {
  min-height: 0;
  display: block;
  padding: 18px 20px;
  color: #4d647c;
  font-size: 15px;
  line-height: 1.35;
}

.blog-leaders-section-head {
  display: block;
  margin-top: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(216, 167, 47, 0.72);
}

.blog-leaders-section-head strong {
  color: var(--blog-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1;
}

.blog-leaders-players {
  overflow: visible;
}

.blog-leader-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) minmax(82px, max-content);
  gap: 10px;
  align-items: center;
  padding: 12px 0;
}

.blog-leader-row + .blog-leader-row {
  border-top: 1px dashed rgba(6, 31, 63, 0.15);
}

.blog-leader-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #c69216;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(6, 31, 63, 0.1);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 900;
}

.blog-leader-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.blog-leader-copy span {
  color: #58708a;
  font-size: 13px;
  font-weight: 900;
}

.blog-leader-copy strong {
  min-width: 0;
  color: var(--blog-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(17px, 1.2vw, 19px);
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: normal;
  white-space: normal;
}

.blog-leader-copy small {
  min-width: 0;
  color: #6d7f94;
  font-size: 11px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
}

.blog-leader-value {
  display: grid;
  justify-items: end;
  min-width: 0;
  padding-right: 4px;
}

.blog-leader-value b {
  color: var(--blog-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 1.9vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.blog-leader-value small {
  display: block;
  margin-top: 2px;
  color: #4d647c;
  max-width: 104px;
  font-size: 7px;
  font-weight: 900;
  line-height: 1.15;
  text-align: right;
  text-transform: uppercase;
  white-space: normal;
}

.blog-focus-card {
  margin-top: 22px;
  padding: 22px 18px 20px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 31, 63, 0.99), rgba(8, 40, 79, 0.97)),
    var(--blog-navy);
  border: 1px solid rgba(6, 31, 63, 0.2);
  border-radius: 10px;
  box-shadow:
    0 18px 34px rgba(6, 31, 63, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.blog-focus-intro {
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(39, 139, 214, 0.32);
}

.blog-focus-intro span,
.blog-dossier-grid em {
  color: var(--blog-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-focus-intro strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

.blog-focus-metrics {
  display: grid;
  gap: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.blog-team-leader-row {
  min-height: 60px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 28px minmax(74px, 0.85fr) minmax(78px, 1fr) 68px;
  gap: 8px;
  align-items: center;
  background: transparent;
}

.blog-team-leader-row + .blog-team-leader-row {
  border-top: 1px dashed rgba(39, 139, 214, 0.42);
}

.blog-team-icon {
  color: var(--blog-gold);
  font-size: 15px;
  font-weight: 900;
}

.blog-team-leader-row span {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.blog-team-leader-row strong {
  display: block;
  min-width: 0;
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-team-leader-row div {
  display: grid;
  justify-items: start;
  min-width: 0;
}

.blog-team-leader-row b {
  color: var(--blog-gold);
  font-size: 20px;
  line-height: 1;
}

.blog-team-leader-row small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  max-width: 68px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .blog-dossier {
    padding: 26px 18px 30px;
  }

  .blog-focus-card {
    padding: 20px 22px 22px;
  }

  .blog-leader-row {
    grid-template-columns: 38px minmax(0, 1fr) minmax(82px, max-content);
    gap: 10px;
  }

  .blog-leader-icon {
    width: 36px;
    height: 36px;
  }

  .blog-leader-copy strong {
    font-size: 18px;
  }

  .blog-leader-value b {
    font-size: 26px;
  }

  .blog-leader-value small {
    max-width: 82px;
    font-size: 6px;
  }

  .blog-team-leader-row {
    grid-template-columns: 22px minmax(56px, 0.75fr) minmax(66px, 1fr) 54px;
    gap: 6px;
  }

  .blog-team-leader-row b {
    font-size: 18px;
  }

  .blog-team-leader-row small {
    max-width: 54px;
    font-size: 7px;
  }
}

.blog-article {
  width: min(1040px, calc(100% - 48px));
  margin: 36px auto 0;
}

.blog-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(6, 31, 63, 0.16);
}

.blog-hero img {
  width: 100%;
  min-height: 320px;
  height: 100%;
  object-fit: cover;
}

.blog-hero > div {
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  align-content: center;
  gap: 16px;
}

.blog-hero .eyebrow {
  color: var(--blue);
}

.blog-hero h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.blog-hero p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.blog-content {
  margin-top: 28px;
  padding: clamp(26px, 5vw, 56px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(6, 31, 63, 0.12);
}

.blog-content h1,
.blog-content h2,
.blog-content h3 {
  color: var(--navy);
  line-height: 1.12;
}

.blog-content p,
.blog-content li {
  color: #213a57;
  font-size: 17px;
  line-height: 1.7;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.blog-content th,
.blog-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.login-page {
  background:
    radial-gradient(circle at 18% 10%, rgba(43, 142, 214, 0.18), transparent 34rem),
    linear-gradient(160deg, #031932, #0a2d59 56%, #f5f9fc 56%);
}

.login-main {
  width: min(1100px, calc(100% - 40px));
  min-height: calc(100vh - 96px);
  margin: 0 auto;
  display: grid;
  align-items: center;
  padding: 36px 0;
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 420px);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
}

.login-copy {
  color: #fff;
}

.login-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-copy-rule {
  display: grid;
  grid-template-columns: 120px auto 120px;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 18px;
  color: var(--gold);
}

.login-copy-rule span {
  height: 2px;
  background: currentColor;
}

.login-card {
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(6, 31, 63, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(6, 31, 63, 0.24);
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-input-shell {
  position: relative;
}

.login-input-shell input {
  width: 100%;
  min-height: 46px;
  padding: 10px 44px 10px 12px;
  color: var(--ink);
  background: #f8fbfd;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.login-input-shell input:focus {
  outline: 3px solid rgba(43, 142, 214, 0.22);
  border-color: var(--blue);
}

.login-password-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--navy);
  border-color: transparent;
  background: transparent;
}

.login-password-toggle::before {
  content: "ver";
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-password-toggle[aria-pressed="true"]::before {
  content: "ocultar";
  font-size: 9px;
}

.login-error {
  margin: 2px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
}

.login-mobile-warning {
  margin: 4px 0 0;
  padding: 12px;
  color: #6b3600;
  background: rgba(216, 167, 47, 0.16);
  border: 1px solid rgba(216, 167, 47, 0.34);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.login-submit {
  min-height: 46px;
  margin-top: 10px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.login-submit:hover {
  background: var(--navy-2);
}

@media (max-width: 980px) {
  .app-header,
  .blog-cover,
  .blog-magazine,
  .blog-hero,
  .login-stage {
    grid-template-columns: 1fr;
  }

  .blog-magazine,
  .blog-article {
    width: min(100% - 28px, 720px);
  }

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

  .blog-card.feature {
    grid-column: auto;
  }

  .blog-cover {
    height: auto;
    min-height: auto;
  }

  .blog-cover-art {
    min-height: 180px;
  }

  .login-stage {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .app-header {
    padding: 12px 14px;
  }

  .brand {
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand-divider {
    display: none;
  }

  .header-actions {
    justify-content: start;
  }

  .blog-cover-copy {
    padding: 28px 20px;
  }

  .blog-cover h2,
  .blog-hero h2 {
    overflow-wrap: anywhere;
  }

  .blog-cover-kicker,
  .blog-cover-rule,
  .login-copy-rule {
    grid-template-columns: 42px auto 42px;
  }

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

  .blog-section-title i {
    display: none;
  }

  .blog-inline-link {
    grid-column: 1 / -1;
  }

  .blog-article,
  .blog-magazine,
  .login-main {
    width: min(100% - 20px, 620px);
  }

  .blog-card {
    min-height: auto;
  }

  .blog-dossier {
    padding: 28px 18px 30px;
  }

  .blog-leaders-meta {
    flex-wrap: wrap;
  }

  .blog-leaders-meta span::after {
    content: "";
    margin-left: 0;
  }

  .blog-focus-intro strong {
    overflow-wrap: anywhere;
  }

  .blog-content {
    overflow-x: hidden;
  }

  .blog-content pre,
  .blog-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  .blog-content th,
  .blog-content td {
    min-width: 120px;
  }

  .blog-hero img {
    min-height: 220px;
  }

  .blog-content,
  .login-card {
    padding: 20px;
  }
}

@media (max-width: 380px) {
  .blog-article,
  .blog-magazine,
  .login-main {
    width: min(100% - 16px, 360px);
  }

  .blog-cover-copy {
    padding: 24px 16px;
  }

  .blog-cover-kicker,
  .blog-cover-rule,
  .login-copy-rule {
    grid-template-columns: 28px auto 28px;
    gap: 8px;
  }

  .blog-dossier {
    padding: 24px 14px 28px;
  }

  .blog-leader-row {
    grid-template-columns: 34px minmax(0, 1fr) minmax(66px, max-content);
    gap: 8px;
  }

  .blog-leader-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .blog-leader-copy strong {
    font-size: 20px;
  }

  .blog-leader-value b {
    font-size: 26px;
  }

  .blog-leader-value small {
    max-width: 72px;
    font-size: 6px;
  }

  .blog-team-leader-row {
    grid-template-columns: 18px minmax(0, 0.8fr) minmax(0, 1fr) minmax(46px, auto);
    gap: 5px;
  }
}
