
/* Geosphere Analytics - Article Pages */

.article-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 70px;
  color: #243447;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: #718096;
  font-size: 13px;
}

.article-breadcrumb a {
  color: #078b91;
  text-decoration: none;
}

.article-hero {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}

.article-category {
  display: inline-block;
  margin-bottom: 18px;
  color: #078b91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.article-hero h1 {
  margin: 0 0 20px;
  color: #12314a;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.16;
}

.article-intro {
  max-width: 720px;
  margin: 0 auto 22px;
  color: #667085;
  font-size: 18px;
  line-height: 1.8;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  color: #718096;
  font-size: 13px;
}

.article-cover {
  margin: 34px 0 42px;
}

.article-cover img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 16px;
  background: #e8eff3;
}

.article-cover figcaption {
  margin-top: 10px;
  color: #718096;
  font-size: 12px;
  text-align: center;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 250px;
  justify-content: space-between;
  align-items: start;
  gap: 45px;
}

.article-content {
  min-width: 0;
  font-size: 16px;
  line-height: 1.9;
}

.article-content h2 {
  margin: 38px 0 14px;
  color: #12314a;
  font-size: 27px;
  line-height: 1.35;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content li {
  margin-bottom: 9px;
}

.article-lead {
  color: #40546a;
  font-size: 19px;
  line-height: 1.9;
}

.article-takeaway {
  margin: 35px 0;
  padding: 25px;
  border-left: 4px solid #078b91;
  border-radius: 0 12px 12px 0;
  background: #eef7f8;
}

.article-takeaway h3 {
  margin: 0 0 10px;
  color: #12314a;
  font-size: 21px;
}

.article-takeaway p {
  margin: 0;
}

.article-sources {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #e2e8ef;
}

.article-sources h2 {
  margin-top: 0;
  font-size: 23px;
}

.article-sources a {
  color: #078b91;
  text-decoration: none;
}

.article-sources a:hover {
  text-decoration: underline;
}

.article-back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 18px;
  border-radius: 7px;
  background: #12314a;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.article-sidebar {
  position: sticky;
  top: 25px;
  padding: 23px;
  border: 1px solid #e5eaf0;
  border-radius: 12px;
  background: #f8fafc;
}

.article-sidebar h3 {
  margin: 0 0 18px;
  color: #12314a;
  font-size: 19px;
}

.article-sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e5eaf0;
  color: #078b91;
  font-size: 14px;
  text-decoration: none;
}

.article-sidebar a:last-child {
  border-bottom: 0;
}

.article-sidebar a:hover {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .article-sidebar {
    position: static;
  }

  .article-cover img {
    max-height: 360px;
  }
}

@media (max-width: 500px) {
  .article-main {
    padding: 22px 17px 45px;
  }

  .article-breadcrumb {
    margin-bottom: 26px;
    font-size: 12px;
  }

  .article-intro {
    font-size: 16px;
  }

  .article-content {
    font-size: 15px;
  }

  .article-content h2 {
    font-size: 23px;
  }

  .article-lead {
    font-size: 17px;
  }

  .article-takeaway {
    padding: 20px;
  }
}

/* Article header refinements */
.knowledge-header {
  min-height: 100px;
  padding: 18px 5%;
}

.knowledge-brand {
  display: flex;
  align-items: center;
}

.knowledge-brand img {
  display: block;
  width: 155px;
  height: 76px;
  object-fit: contain;
  object-position: left center;
}

.article-breadcrumb a {
  color: #078b91;
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-hero {
  padding: 20px 0;
}

.article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 16px;
}

.article-content {
  max-width: 100%;
}

/* Desktop article header */
body:has(.article-main) .knowledge-header {
  min-height: 110px;
  padding: 16px 5%;
}

body:has(.article-main) .knowledge-brand img {
  display: block;
  width: 220px;
  height: 90px;
  object-fit: contain;
  object-position: left center;
}

body:has(.article-main) .knowledge-brand {
  font-size: 0;
}

/* Article page layout refinement */
.article-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 24px 70px;
}

.article-breadcrumb {
  margin-bottom: 35px;
}

.article-hero {
  padding: 20px 0;
}

.article-hero h1 {
  line-height: 1.2;
}

.article-cover {
  max-width: 1100px;
  margin: 35px auto 45px;
}

.article-content {
  line-height: 1.9;
}

@media (max-width: 600px) {
  body:has(.article-main) .knowledge-brand img {
    width: 160px;
    height: 65px;
  }
}


@media (max-width: 600px) {
  .knowledge-brand img {
    width: 125px;
    height: 62px;
  }

  .knowledge-header {
    min-height: auto;
  }
}
