.blog-article-shell {
  width: 100%;
  padding: 56px 24px 72px;
}

.blog-article {
  width: min(100%, 1040px);
  margin: 0 auto;
  color: #1f2937;
}

.blog-article-header {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}

.blog-article-kicker {
  margin: 0 0 10px;
  color: #1e40af;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-header h1 {
  margin: 0;
  color: #1e3a8a;
  font-size: clamp(2.1rem, 5vw, 3.65rem);
  line-height: 1.12;
}

.blog-article-lead {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: clamp(1.06rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.blog-section {
  margin-top: 48px;
}

.blog-section h2,
.blog-cta h2 {
  margin: 0 0 20px;
  color: #1e3a8a;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  line-height: 1.2;
}

.blog-section > p,
.blog-show-copy p,
.blog-tips p,
.blog-cta p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.blog-summary-section {
  padding: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 64, 175, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(30, 41, 59, 0.07);
}

.blog-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #d9e1f2;
  border-radius: 12px;
}

.blog-table-scroll:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

.blog-summary-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #ffffff;
  text-align: left;
}

.blog-summary-table th,
.blog-summary-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.blog-summary-table thead th {
  background: #1e40af;
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}

.blog-summary-table tbody tr:last-child th,
.blog-summary-table tbody tr:last-child td {
  border-bottom: 0;
}

.blog-summary-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.blog-summary-table tbody th {
  color: #172554;
  font-weight: 700;
}

.blog-summary-table a,
.blog-show-copy a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.blog-summary-table a:hover,
.blog-show-copy a:hover {
  color: #1d4ed8;
}

.blog-info-button {
  anchor-name: --difficulty-score-info;
  display: inline-grid;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  padding: 0;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}

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

.blog-info-button:focus-visible {
  outline: 2px solid #bfdbfe;
  outline-offset: 3px;
}

.blog-info-popover {
  width: min(290px, calc(100vw - 32px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.blog-info-popover::backdrop {
  background: transparent;
}

.blog-info-popover a {
  color: #1d4ed8;
  font-weight: 700;
  text-underline-offset: 2px;
}

.blog-info-popover a:hover {
  color: #1e3a8a;
}

@supports (position-anchor: --difficulty-score-info) {
  .blog-info-popover {
    position: fixed;
    position-anchor: --difficulty-score-info;
    top: anchor(bottom);
    left: anchor(center);
    translate: -50% 8px;
  }
}

.blog-level-label,
.blog-show-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.blog-article .level-a1,
.blog-article .level-a2 {
  background: #15803d;
}

.blog-article .level-b1,
.blog-article .level-b2 {
  background: #facc15;
  color: #172554;
}

.blog-article .level-c1,
.blog-article .level-c2 {
  background: #b45309;
}

.blog-recommendations {
  display: grid;
  gap: 26px;
}

.blog-recommendations > h2 {
  margin-bottom: 0;
}

.blog-show {
  display: grid;
  grid-template-columns: minmax(145px, 190px) minmax(0, 1fr);
  grid-template-areas:
    "poster title"
    "poster copy";
  column-gap: 28px;
  row-gap: 16px;
  align-items: start;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 64, 175, 0.13);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(30, 41, 59, 0.06);
  scroll-margin-top: 24px;
}

.blog-show-poster {
  grid-area: poster;
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #e5e7eb;
  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.2);
}

.blog-show-poster:focus-visible,
.blog-button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

.blog-show-poster img,
.blog-show-poster-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.blog-show-poster img {
  transition: transform 0.25s ease;
}

.blog-show-poster:hover img {
  transform: scale(1.035);
}

.blog-show-poster-placeholder {
  display: grid;
  place-items: center;
  padding: 16px;
  color: #334155;
  font-weight: 600;
  text-align: center;
}

.blog-show-level {
  position: absolute;
  top: 7px;
  left: 7px;
  min-width: 46px;
  padding: 7px 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.22);
}

.blog-show-copy {
  grid-area: copy;
  min-width: 0;
}

.blog-show-title,
.blog-tips h3 {
  margin: 0 0 12px;
  color: #172554;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.3;
}

.blog-show-title {
  grid-area: title;
  color: #1e3a8a;
}

.blog-show-title a {
  color: inherit;
  text-decoration: none;
}

.blog-show-title a:hover {
  color: #1d4ed8;
}

.blog-show-premise {
  color: #475569;
  font-style: italic;
}

.blog-learning-section {
  padding: 34px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 5px solid #1e40af;
  border-radius: 0 18px 18px 0;
}

.blog-tips {
  display: grid;
  gap: 28px;
  margin: 0;
  padding-left: 24px;
}

.blog-tips li {
  padding-left: 7px;
}

.blog-tips p:last-child,
.blog-show-copy p:last-child {
  margin-bottom: 0;
}

.blog-cta {
  margin-top: 52px;
  padding: 36px;
  background: #1e3a8a;
  border-radius: 18px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.25);
}

.blog-cta h2 {
  color: #ffffff;
}

.blog-cta p {
  max-width: 680px;
  margin: 0 auto;
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-button-primary {
  background: #ffffff;
  color: #1e3a8a;
}

.blog-button-primary:hover {
  background: #dbeafe;
}

.blog-button-secondary {
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
}

.blog-button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 768px) {
  .blog-article-shell {
    padding: 36px 16px 52px;
  }

  .blog-article-header {
    margin-bottom: 34px;
  }

  .blog-section {
    margin-top: 36px;
  }

  .blog-summary-section,
  .blog-learning-section,
  .blog-cta {
    padding: 24px 20px;
  }

  .blog-show {
    grid-template-columns: minmax(105px, 130px) minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 12px;
    padding: 20px;
  }

  .blog-show-copy h3 {
    font-size: 1.2rem;
  }

  .blog-section > p,
  .blog-show-copy p,
  .blog-tips p,
  .blog-cta p {
    font-size: 1rem;
    line-height: 1.68;
  }
}

@media (max-width: 480px) {
  .blog-article-shell {
    padding-inline: 12px;
  }

  .blog-summary-section,
  .blog-learning-section,
  .blog-cta {
    padding: 20px 16px;
  }

  .blog-show {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 15px;
    padding: 16px;
  }

  .blog-show-level {
    top: 4px;
    left: 4px;
    min-width: 39px;
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .blog-cta-actions {
    flex-direction: column;
  }

  .blog-button {
    width: 100%;
  }
}

.blog-index-shell {
  width: 100%;
  min-height: 56vh;
  padding: 56px 24px 72px;
}

.blog-index {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.blog-index-header {
  margin-bottom: 34px;
  text-align: center;
}

.blog-index-header h1 {
  margin: 0;
  color: #1e3a8a;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.15;
}

.blog-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 320px));
  justify-content: center;
  gap: 26px;
}

.blog-index-card {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(30, 64, 175, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(30, 41, 59, 0.08);
}

.blog-index-card-link {
  display: grid;
  grid-template-rows: auto 86px;
  color: #172554;
  text-decoration: none;
}

.blog-index-card-link:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 4px;
}

.blog-index-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.blog-index-card h2 {
  margin: 0;
  box-sizing: border-box;
  padding: 18px 20px;
  color: #1e3a8a;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-index-card:hover h2 {
  color: #1d4ed8;
}

.blog-index-empty {
  margin: 0;
  color: #475569;
  text-align: center;
}

@media (max-width: 768px) {
  .blog-index-shell {
    padding: 36px 16px 52px;
  }
}

@media (max-width: 480px) {
  .blog-index-shell {
    padding-inline: 12px;
  }

  .blog-index-card h2 {
    padding: 17px 18px;
  }
}

@media (max-width: 640px) {
  .blog-show {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "poster"
      "copy";
    gap: 18px;
  }

  .blog-show-title {
    grid-area: title;
    margin-bottom: 0;
    text-align: center;
  }

  .blog-show-poster {
    width: min(100%, 180px);
    justify-self: center;
  }

  .blog-show-copy {
    width: 100%;
  }
}
