/* Articles slider */
    .articles-section {
      position: relative;
      padding: 80px 0 72px;
      overflow: hidden;
    }

    .articles-band {
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 42%;
      transform: translateY(-50%);
      background: rgba(188, 150, 230, 0.11);
      pointer-events: none;
    }

    .articles-section .wrap {
      position: relative;
      z-index: 1;
    }

    .articles-header {
      margin-bottom: 40px;
    }

    .articles-header h2 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 600;
      letter-spacing: -0.02em;
      text-align: center;
    }

    .articles-slider {
      display: flex;
      align-items: flex-start;
      gap: 28px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      padding: 8px 4px 24px;
    }

    .articles-slider::-webkit-scrollbar { display: none; }

    .article-card {
      flex: 0 0 min(340px, calc(100% - 64px));
      scroll-snap-align: start;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      display: flex;
      flex-direction: column;
      height: 460px;
      border-radius: 6px;
      border: 1px solid rgba(188, 150, 230, 0.28);
      background: var(--bg-deep);
      color: #fff;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .article-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 48px rgba(0, 0, 0, 0.42);
    }

    .article-card:not(.is-text-only)::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        180deg,
        rgba(33, 11, 44, 0) 0%,
        rgba(33, 11, 44, 0.12) 42%,
        rgba(33, 11, 44, 0.72) 68%,
        rgba(7, 2, 9, 0.94) 100%
      );
    }

    .article-card:not(.is-text-only)::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(188, 150, 230, 0.12) 100%
      );
    }

    .article-card-image {
      position: absolute;
      inset: 0;
      z-index: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      border-radius: inherit;
      transition: transform 0.45s ease;
    }

    .article-card:not(.is-text-only)::before,
    .article-card:not(.is-text-only)::after,
    .article-card.is-text-only::before {
      border-radius: inherit;
    }

    .article-card:hover .article-card-image {
      transform: scale(1.04);
    }

    .article-card-body {
      position: relative;
      z-index: 2;
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
      width: 100%;
      margin-top: auto;
      padding: 20px 22px 22px;
    }

    .article-card-copy {
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex: 1;
      justify-content: flex-end;
      min-height: 0;
    }

    .article-card h3 {
      font-size: clamp(16px, 2.2vw, 20px);
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: -0.02em;
      color: #fff;
      text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      overflow: hidden;
    }

    .article-card.is-text-only h3 {
      font-size: clamp(15px, 2vw, 18px);
      font-weight: 600;
      line-height: 1.45;
      -webkit-line-clamp: 5;
    }

    .article-card.is-text-only {
      background:
        radial-gradient(ellipse 90% 80% at 100% 0%, rgba(188, 150, 230, 0.28), transparent 55%),
        linear-gradient(165deg, rgba(33, 11, 44, 0.95) 0%, var(--bg-deep) 100%);
    }

    .article-card.is-text-only::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(7, 2, 9, 0.55) 100%
      );
    }

    .article-card-date {
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.03em;
      color: var(--gold);
      flex-shrink: 0;
    }

    .article-card-footer {
      position: relative;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-shrink: 0;
      width: 100%;
      margin-top: 16px;
      padding-top: 14px;
      border-top: 1px solid rgba(188, 150, 230, 0.28);
    }

    .article-card-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
      min-width: 108px;
      height: 36px;
      padding: 0 18px 0 calc(18px + 0.08em);
      border-radius: 999px;
      border: 1px solid var(--gold);
      background: var(--gold);
      color: var(--purple);
      font-family: inherit;
      font-size: 10px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-align: center;
      white-space: nowrap;
      -webkit-font-smoothing: antialiased;
      transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .article-card-btn:hover {
      background: #ffe199;
      border-color: #ffe199;
      color: var(--purple);
    }

    .articles-controls {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-top: 8px;
    }

    .articles-progress {
      flex: 1;
      max-width: 520px;
      height: 3px;
      background: rgba(255, 255, 255, 0.25);
      border-radius: 999px;
      overflow: hidden;
    }

    .articles-progress-thumb {
      height: 100%;
      width: 30%;
      background: var(--lavender);
      border-radius: 999px;
      transition: width .2s ease, margin-left .2s ease;
    }

    .articles-nav {
      display: flex;
      gap: 20px;
    }

    .articles-nav button {
      width: 44px;
      height: 44px;
      background: transparent;
      color: #eadcf6;
      font-size: 28px;
      line-height: 1;
      display: grid;
      place-items: center;
    }

    .articles-nav button:hover {
      color: var(--gold);
    }

    .articles-nav button:disabled {
      opacity: 0.35;
      cursor: not-allowed;
    }

    .articles-more {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .articles-all-btn,
    .articles-all-btn:visited {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 44px;
      padding: 0 20px;
      border: 0;
      border-radius: 8px;
      background: var(--gold);
      color: var(--purple);
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.15s ease;
    }

    .articles-all-btn:hover,
    .articles-all-btn:focus {
      background: #ffe199;
      color: var(--purple);
    }
