
/* =========================================================
   ANTIBE BLOG
   Minimum visible text size: 15px
   ========================================================= */

.blog-page {
  color: var(--ink);
  background:#fff;
}

.blog-page .section-shell {
  width:min(calc(100% - 56px),var(--content-max));
}

.blog-hero {
  position:relative;
  overflow:hidden;
  min-height:760px;
  background:#eaf5fb;
}

.blog-hero__backdrop {
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 88%,rgba(255,103,48,.40),transparent 29%),
    radial-gradient(circle at 88% 12%,rgba(74,177,255,.58),transparent 31%),
    radial-gradient(circle at 72% 88%,rgba(31,170,160,.15),transparent 30%),
    linear-gradient(135deg,#e3f3fb,#f5f9fb 48%,#fff4ec);
}

.blog-hero__shell {
  position:relative;
  z-index:2;
  width:min(calc(100% - 56px),var(--page-max));
  min-height:760px;
  margin-inline:auto;
  display:flex;
  flex-direction:column;
}

.blog-hero__content {
  width:min(calc(100% - 80px),1440px);
  margin:auto;
  padding:82px 0 72px;
}

.blog-hero h1 {
  max-width:1200px;
  margin:20px 0 0;
  color:#050505;
  font-size:clamp(58px,5vw,84px);
  line-height:1.03;
  letter-spacing:-.055em;
  font-weight:400;
}

.blog-hero__lead {
  max-width:920px;
  margin:25px 0 0;
  color:#3e5660;
  font-size:19px;
  line-height:1.65;
}

.blog-topic-strip {
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:34px;
}

.blog-topic-strip a {
  min-height:40px;
  display:inline-flex;
  align-items:center;
  padding:0 15px;
  border:1px solid rgba(8,45,50,.08);
  border-radius:999px;
  color:var(--ink);
  background:rgba(255,255,255,.58);
  font-size:15px;
  font-weight:500;
}

/* featured */
.blog-featured {
  padding:110px 0 120px;
  background:#fff;
}

.blog-featured__label {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}

.blog-featured__label span {
  color:#6d7f84;
  font-size:15px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.blog-featured__label a {
  color:var(--ink);
  font-size:15px;
  font-weight:600;
}

.blog-featured__card {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr);
  min-height:650px;
  overflow:hidden;
  border:1px solid rgba(8,45,50,.08);
  border-radius:28px;
  background:
    radial-gradient(circle at 88% 12%,rgba(74,177,255,.16),transparent 30%),
    linear-gradient(145deg,#f4f9fc,#fff8f3);
  box-shadow:0 28px 62px rgba(16,55,79,.10);
}

.blog-featured__visual {
  min-height:650px;
  overflow:hidden;
}

.blog-featured__visual img {
  width:100%;
  height:100%;
  min-height:650px;
  display:block;
  object-fit:cover;
}

.blog-featured__copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:48px;
}

.blog-card__category {
  color:#718287;
  font-size:15px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.blog-featured__copy h2 {
  margin:14px 0 0;
  color:var(--ink);
  font-size:clamp(42px,3.6vw,60px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:400;
}

.blog-featured__copy p {
  margin:20px 0 0;
  color:#617378;
  font-size:16px;
  line-height:1.66;
}

.blog-featured__copy strong {
  margin-top:34px;
  color:var(--ink);
  font-size:15px;
}

/* latest */
.blog-latest {
  padding:110px 0 120px;
  background:#f6f9fb;
}

.blog-section-head {
  max-width:1030px;
}

.blog-section-head h2 {
  margin:16px 0 0;
  color:var(--ink);
  font-size:clamp(45px,3.75vw,63px);
  line-height:1.07;
  letter-spacing:-.047em;
  font-weight:400;
}

.blog-section-head > p {
  max-width:760px;
  margin:22px 0 0;
  color:#66787d;
  font-size:16px;
  line-height:1.65;
}

.blog-section-head--center {
  margin-inline:auto;
  text-align:center;
}

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

.blog-card {
  overflow:hidden;
  min-height:560px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(8,45,50,.08);
  border-radius:22px;
  background:#fff;
  box-shadow:0 18px 42px rgba(18,58,82,.06);
  transition:transform .2s ease,box-shadow .2s ease;
}

.blog-card:hover {
  transform:translateY(-3px);
  box-shadow:0 24px 50px rgba(18,58,82,.09);
}

.blog-card__image {
  overflow:hidden;
  height:270px;
}

.blog-card__image img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .3s ease;
}

.blog-card:hover .blog-card__image img {
  transform:scale(1.02);
}

.blog-card__body {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:25px;
}

.blog-card h3 {
  margin:11px 0 0;
  color:var(--ink);
  font-size:26px;
  line-height:1.17;
  font-weight:400;
}

.blog-card h3 a {
  color:inherit;
}

.blog-card__body > p {
  margin:15px 0 0;
  color:#697b7f;
  font-size:15px;
  line-height:1.62;
}

.blog-card__link {
  margin-top:auto;
  padding-top:24px;
  color:var(--ink);
  font-size:15px;
  font-weight:600;
}

/* topics */
.blog-topics {
  padding:110px 0 120px;
  background:#fff;
}

.blog-topic-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-top:58px;
}

.blog-topic-grid article {
  min-height:300px;
  display:flex;
  flex-direction:column;
  padding:26px;
  border:1px solid rgba(8,45,50,.08);
  border-radius:22px;
  background:
    radial-gradient(circle at 85% 12%,rgba(74,177,255,.13),transparent 30%),
    #f8fafb;
}

.blog-topic-grid__icon {
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:#1462cf;
  background:#fff;
  border:1px solid rgba(8,45,50,.08);
  font-size:22px;
}

.blog-topic-grid h3 {
  margin:auto 0 0;
  padding-top:42px;
  color:var(--ink);
  font-size:25px;
  font-weight:400;
}

.blog-topic-grid p {
  margin:12px 0 0;
  color:#687a7f;
  font-size:15px;
  line-height:1.6;
}

/* bridge */
.blog-bridge {
  padding:110px 0 120px;
  background:#f5f8fa;
}

.blog-bridge__card {
  min-height:440px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:60px;
  padding:52px;
  border-radius:28px;
  color:#fff;
  background:
    radial-gradient(circle at 85% 14%,rgba(74,177,255,.26),transparent 29%),
    radial-gradient(circle at 9% 90%,rgba(255,103,48,.20),transparent 30%),
    linear-gradient(135deg,#141822,#102d3d 58%,#07383a);
}

.blog-bridge__card > div:first-child {
  max-width:1000px;
}

.blog-bridge__eyebrow {
  color:#9bd5ff;
  font-size:15px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.blog-bridge__card h2 {
  margin:15px 0 0;
  color:#fff;
  font-size:clamp(43px,3.55vw,59px);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:400;
}

.blog-bridge__card p {
  max-width:790px;
  margin:20px 0 0;
  color:rgba(255,255,255,.65);
  font-size:16px;
  line-height:1.65;
}

.blog-bridge__actions {
  flex:0 0 auto;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:16px;
}

.blog-bridge__link {
  color:#fff;
  font-size:15px;
  font-weight:600;
}

.blog-final-cta h2 {
  max-width:1050px;
  margin-left:auto;
  margin-right:auto;
}

/* responsive */
@media (max-width:1120px) {
  .blog-featured__card {
    grid-template-columns:1fr;
  }

  .blog-featured__visual,
  .blog-featured__visual img {
    min-height:500px;
    height:500px;
  }

  .blog-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .blog-topic-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .blog-bridge__card {
    align-items:flex-start;
    flex-direction:column;
  }

  .blog-bridge__actions {
    align-items:flex-start;
  }
}

@media (max-width:980px) {
  .blog-hero,
  .blog-hero__shell {
    min-height:auto;
  }

  .blog-hero__shell {
    width:calc(100% - 40px);
  }

  .blog-hero__content {
    width:100%;
    padding-top:80px;
  }

  .blog-page .section-shell {
    width:calc(100% - 40px);
  }
}

@media (max-width:720px) {
  .blog-hero__shell,
  .blog-page .section-shell {
    width:calc(100% - 30px);
  }

  .blog-hero__content {
    padding-top:50px;
  }

  .blog-hero h1 {
    font-size:8vw;
    line-height:1.08;
  }

  .blog-hero__lead {
    font-size:17px;
  }

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

  .blog-featured__visual,
  .blog-featured__visual img {
    min-height:320px;
    height:320px;
  }

  .blog-featured__copy {
    padding:30px 24px;
  }

  .blog-featured__label {
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:560px) {
  .blog-featured,
  .blog-latest,
  .blog-topics,
  .blog-bridge {
    padding-top:80px;
    padding-bottom:86px;
  }

  .blog-section-head h2,
  .blog-featured__copy h2,
  .blog-bridge__card h2 {
    font-size:40px;
  }

  .blog-bridge__card {
    min-height:0;
    padding:36px 25px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .blog-card,
  .blog-card__image img {
    transition:none;
  }
}


/* =========================================================
   V36 — BLOG MOBILE REFINEMENTS
   ========================================================= */

@media (max-width: 720px) {
  .blog-topic-grid article {
    min-height: 240px;
  }

  .blog-topic-grid h3 {
    margin: 0;
    padding-top: 0;
  }
}


/* =========================================================
   V37 — BLOG MOBILE TOPIC SPACING
   ========================================================= */

@media (max-width: 720px) {
  .blog-topic-grid h3 {
    padding-top: 30px;
  }
}
