/* ============================================================
   Dashdrop — Blog page
   DashDrop editorial surface.
   ============================================================ */

.blog-page,
.blog-main {
  background: #222;
  overflow-x: clip;
}

.blog-hero {
  color: #fff;
  padding: 132px 0 86px;
  text-align: center;
}

.blog-hero .eyebrow {
  color: var(--lime);
  margin-bottom: 20px;
}

.blog-hero h1 {
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 auto 28px;
}

.blog-lede {
  color: #d7d7d7;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 760px;
}

.featured-story {
  padding: 20px 0 96px;
  color: #fff;
}

.feature-post {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}

.feature-post-media {
  aspect-ratio: 1 / 0.72;
  border-radius: 18px;
}

.feature-post-copy h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 24px;
}

.feature-post-copy p {
  color: #d8d8d8;
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.58;
  margin: 0 0 30px;
  max-width: 620px;
}

.story-directory {
  background: #fff;
  color: var(--ink-900);
  padding: 104px 0 116px;
}

.blog-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 58px;
}

.blog-tools h2 {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.topic-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.topic-pills a {
  border: 1px solid #dedede;
  border-radius: 999px;
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 18px;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.topic-pills a:hover,
.topic-pills a[aria-current="true"] {
  background: #000;
  border-color: #000;
  color: #fff;
}

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

.blog-grid .news-card h3 {
  color: var(--ink-900);
}

.blog-grid .date {
  color: var(--ink-500);
}

.blog-grid image-slot.news-media {
  display: block;
  height: auto !important;
}

/* Original photo dimensions limit enlargement while retaining the full frame. */
.blog-grid .editorial-blog-board { max-width: 1199px; }
.blog-grid .editorial-blog-community { max-width: 563px; }
.blog-grid .editorial-blog-safety { max-width: 736px; }
.blog-grid .news-card > img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f3f4f4;
  border-radius: 20px;
}

.blog-guides {
  background: var(--lime);
  padding: 108px 0 112px;
  text-align: center;
}

.blog-guides h2 {
  color: #071522;
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 38px;
}

.btn-black {
  background: #000;
  color: #fff;
}

.btn-black:hover {
  background: #252525;
}

.blog-download {
  background: #222;
  color: #fff;
  overflow: hidden;
}

.blog-download .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  min-height: 720px;
}

.blog-app-art {
  display: flex;
  justify-content: center;
  align-self: stretch;
}

.blog-app-art image-slot {
  display: block;
  width: min(100%, 610px);
  height: 700px;
  margin-top: -16px;
}

.blog-download h2 {
  color: #fff;
  font-size: clamp(44px, 4.6vw, 72px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 44px;
}

.blog-download .store-badge {
  border-color: rgba(255,255,255,.38);
}

.blog-page .footer {
  margin-top: 0;
}

.blog-page .socials a {
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .feature-post,
  .blog-download .wrap {
    grid-template-columns: 1fr;
  }

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

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

  .topic-pills {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding: 78px 0 58px;
    text-align: left;
  }

  .featured-story {
    padding-bottom: 70px;
  }

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

  .story-directory {
    padding: 76px 0 82px;
  }

  .blog-guides {
    padding: 76px 0 80px;
  }

  .blog-download .wrap {
    min-height: 0;
    padding-top: 72px;
    text-align: center;
  }

  .blog-download .store-badges {
    justify-content: center;
  }

  .blog-app-art {
    order: 2;
  }

  .blog-download-copy {
    order: 1;
  }
}
