/* =========================
   BLOG - APPLE STYLE
========================= */

.blog-page-hero {
  padding-top: calc(var(--header-offset, 86px) + 40px);
  padding-bottom: 56px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(88,178,180,.10), transparent 42%),
    linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
}

.blog-page-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .95;
  font-weight: 300;
  color: var(--light);
  margin-bottom: 14px;
  margin-top: 90px;
}

.blog-page-subtitle {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
}

.blog-list-wrap {
  padding-top: 20px;
  padding-bottom: 80px;
}

.apple-post-card {
  margin-bottom: 34px;
}

.apple-post-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.apple-post-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 32px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(17,24,39,.04),
    0 1px 0 rgba(255,255,255,.8) inset;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.apple-post-link:hover .apple-post-grid {
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px rgba(17,24,39,.08),
    0 1px 0 rgba(255,255,255,.85) inset;
  border-color: rgba(49,136,163,.14);
}

.apple-post-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: #eef4f6;
}

.apple-post-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .9s ease;
}

.apple-post-link:hover .apple-post-media img {
  transform: scale(1.03);
}

.apple-post-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apple-post-meta {
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: #8b95a7;
  margin-bottom: 18px;
}

.apple-post-title {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.05;
  font-weight: 300;
  color: var(--light);
  margin: 0 0 18px;
}

.apple-post-excerpt {
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 44ch;
}

.apple-post-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .98rem;
  font-weight: 500;
  color: var(--muted);
  transition: gap .25s ease, color .25s ease;
}

.apple-post-link:hover .apple-post-cta {
  gap: 14px;
  color: var(--dark);
}

@media (max-width: 991.98px) {
  .apple-post-grid {
    grid-template-columns: 1fr;
  }

  .apple-post-media {
    min-height: 300px;
  }

  .apple-post-body {
    padding: 30px 26px 32px;
  }
}

@media (max-width: 575.98px) {
  .blog-page-hero {
    padding-top: calc(var(--header-offset, 86px) + 28px);
    padding-bottom: 36px;
  }

  .apple-post-grid {
    border-radius: 24px;
  }

  .apple-post-media {
    min-height: 240px;
  }

  .apple-post-title {
    line-height: 1.1;
  }

  .apple-post-excerpt {
    line-height: 1.75;
  }
}

.blog-page-hero {
  padding-top: 100px;
  padding-bottom: 56px;
}


.article-page-hero {
      padding-top: calc(var(--header-offset, 86px) + 40px);
      padding-bottom: 34px;
      text-align: center;
      background:
        radial-gradient(circle at top, rgba(88,178,180,.10), transparent 42%),
        linear-gradient(180deg, #f8fbfc 0%, #ffffff 100%);
    }

    .article-page-kicker {
      display: inline-block;
      font-size: .9rem;
      font-weight: 600;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: #8b95a7;
      margin-bottom: 12px;
    }

    .article-page-title {
      max-width: 980px;
      margin: 0 auto 14px;
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      line-height: .95;
      font-weight: 300;
      color: var(--light);
      margin-top: 90px;
      letter-spacing: 0rem;
    }



    .article-page-meta {
      font-size: 1rem;
      color: var(--muted);
      font-weight: 400;
    }

    .article-wrap {
      padding-top: 16px;
      padding-bottom: 80px;
    }

    /* aceeași lățime vizuală cu cardul central din blog */
    .article-shell {
      max-width: 1120px;
      margin: 0 auto;
    }

    .article-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: #6b7280;
      font-weight: 600;
      margin-bottom: 18px;
      transition: color .25s ease, gap .25s ease;
    }

    .article-back:hover {
      color: var(--dark);
      gap: 12px;
    }

    .article-card {
      background: rgba(255,255,255,.84);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(17,24,39,.06);
      border-radius: 32px;
      overflow: hidden;
      box-shadow:
        0 10px 30px rgba(17,24,39,.04),
        0 1px 0 rgba(255,255,255,.8) inset;
    }

    .article-cover-wrap {
      background: #eef4f6;
      min-height: 420px;
      overflow: hidden;
    }

    .article-cover-wrap img {
      width: 100%;
      height: 100%;
      min-height: 420px;
      display: block;
      object-fit: cover;
    }

    .article-body-wrap {
      padding: clamp(28px, 4vw, 64px);
    }

    .article-intro {
      font-size: clamp(1.08rem, 1.35vw, 1.18rem);
      line-height: 1.9;
      color: #4b5563;
      margin-bottom: 28px;
      max-width: 62ch;
    }

    .article-content {
      color: #374151;
      font-size: 1.06rem;
      line-height: 1.95;
      max-width: 100%;
    }

    .article-content h2,
    .article-content h3,
    .article-content h4 {
      color: #111827;
      letter-spacing: -0.03em;
      line-height: 1.12;
      margin-top: 2.4rem;
      margin-bottom: 1rem;
    }

    .article-content h2 {
      font-size: clamp(1.7rem, 2.5vw, 3rem);
      color: var(--light);
      font-weight: 300;
      letter-spacing: 0rem;
    }

    .article-content h3 {
      font-size: clamp(1.35rem, 1.6vw, 1.7rem);
    }

    .article-content p {
      margin-bottom: 1.15rem;
    }

    .article-content ul,
    .article-content ol {
      margin-bottom: 1.25rem;
      padding-left: 1.35rem;
    }

    .article-content li {
      margin-bottom: .45rem;
    }

    .article-content a {
      color: #3188A3;
      text-decoration: none;
    }

    .article-content a:hover {
      text-decoration: underline;
    }

    .article-empty {
      padding: 28px;
    }

    @media (max-width: 991.98px) {
      .article-cover-wrap,
      .article-cover-wrap img {
        min-height: 320px;
      }
    }

    @media (max-width: 575.98px) {
      .article-page-hero {
        padding-top: calc(var(--header-offset, 86px) + 28px);
        padding-bottom: 24px;
      }

      .article-card {
        border-radius: 24px;
      }

      .article-body-wrap {
        padding: 26px 22px 28px;
      }

      .article-cover-wrap,
      .article-cover-wrap img {
        min-height: 230px;
      }

      .article-content,
      .article-intro {
        max-width: 100%;
      }
    }

    .article-bottom-nav {
      margin-top: 48px;
      text-align: center;
    }

    .article-bottom-nav .article-back {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.95rem;
      font-weight: 500;
      color: #6b7280;
      text-decoration: none;
      transition: all .25s ease;
    }

    .article-bottom-nav .article-back:hover {
      color: #111827;
      gap: 12px;
    }

