.blog-logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.articles-page {
  background: #f7f8f6;
  color: var(--text-primary);
  font-family: var(--type-font-family-font-body);
}

.articles-shell {
  width: min(1312px, calc(100% - 128px));
  margin: 0 auto;
}

.articles-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(191, 164, 90, 0.18), transparent 24%),
    linear-gradient(135deg, #083e45 0%, #0b4a52 60%, #0e565e 100%);
  color: #fff;
}

.articles-hero__inner {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 72px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.articles-hero__copy {
  max-width: 820px;
}

.articles-eyebrow {
  margin: 0 0 14px;
  color: #8d6f1e;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.articles-eyebrow--light {
  color: #d8c47d;
}

.articles-hero h1,
.article-header h1,
.article-not-found h1 {
  margin: 0;
  font-family: var(--type-font-family-font-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.articles-hero h1 {
  font-size: clamp(46px, 6vw, 76px);
}

.articles-hero__copy > p:last-child {
  max-width: 730px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.articles-hero__graphic {
  position: relative;
  height: 270px;
}

.articles-hero__panel {
  position: absolute;
  inset: 34px 26px 36px 58px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
  transform: rotate(-3deg);
}

.articles-hero__panel::before,
.articles-hero__panel::after,
.articles-hero__panel span {
  content: "";
  position: absolute;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
}

.articles-hero__panel::before {
  left: 24px;
  top: 24px;
  width: 38%;
  height: 28px;
}

.articles-hero__panel::after {
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 48px;
}

.articles-hero__panel span:nth-child(1) {
  left: 24px;
  top: 74px;
  width: 26%;
  height: 74px;
}

.articles-hero__panel span:nth-child(2) {
  left: 36%;
  top: 74px;
  width: 26%;
  height: 74px;
  background: rgba(191, 164, 90, .45);
}

.articles-hero__panel span:nth-child(3) {
  right: 24px;
  top: 74px;
  width: 24%;
  height: 74px;
}

.articles-hero__node {
  position: absolute;
  z-index: 3;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #d8c47d;
  box-shadow: 0 0 0 8px rgba(216, 196, 125, .12);
}

.articles-hero__node--1 { left: 24px; top: 54px; }
.articles-hero__node--2 { right: 2px; top: 128px; }
.articles-hero__node--3 { left: 68px; bottom: 4px; }

.articles-hero__line {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: rgba(216, 196, 125, .45);
  transform-origin: left center;
}

.articles-hero__line--1 {
  left: 33px;
  top: 62px;
  width: 285px;
  transform: rotate(14deg);
}

.articles-hero__line--2 {
  left: 77px;
  bottom: 13px;
  width: 290px;
  transform: rotate(-24deg);
}

.articles-list-section {
  padding: 86px 0 104px;
}

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

.article-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e7e9e5;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(8, 62, 69, .055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: #d6ddd8;
  box-shadow: 0 20px 46px rgba(8, 62, 69, .11);
}

.article-card__image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e9efec;
}

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

.article-card:hover .article-card__image {
  transform: scale(1.025);
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.article-card__meta,
.article-header__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c7774;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  line-height: 1.4;
}

.article-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bfa45a;
}

.article-card h2 {
  margin: 15px 0 12px;
  color: #15353a;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.article-card h2 a {
  color: inherit;
  text-decoration: none;
}

.article-card__body > p {
  margin: 0 0 22px;
  color: #5d6966;
  font-size: 15px;
  line-height: 1.7;
}

.article-card__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: #0b5862;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.article-card__more span {
  transition: transform .2s ease;
}

.article-card__more:hover span {
  transform: translateX(4px);
}

.articles-state {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 48px;
  text-align: center;
  background: #fff;
  border: 1px solid #e7e9e5;
  border-radius: 18px;
}

.articles-state h2 {
  margin: 0 0 12px;
  color: #15353a;
  font-size: 30px;
  font-weight: 600;
}

.articles-state p {
  margin: 0;
  color: #5d6966;
  line-height: 1.7;
}

.articles-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 54px;
}

.articles-pagination__button {
  padding: 12px 18px;
  border: 1px solid #ccd7d3;
  border-radius: 9px;
  color: #15353a;
  font-weight: 600;
  text-decoration: none;
  background: #fff;
}

.articles-pagination__status {
  color: #6c7774;
  font-size: 14px;
}

.articles-cta {
  padding: 0 0 96px;
}

.articles-cta__inner,
.article-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: #083e45;
  color: #fff;
  border-radius: 22px;
  padding: 46px 52px;
}

.articles-cta__inner > div,
.article-contact-box > div {
  max-width: 810px;
}

.articles-cta h2,
.article-contact-box h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.2;
}

.articles-cta p,
.article-contact-box p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
}

.articles-cta__button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 9px;
  background: #05df72;
  border: 1px solid #122559;
  color: #152019;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

.articles-cta__button:hover {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.article-header {
  background: #eef3f0;
  border-bottom: 1px solid #dfe7e3;
}

.article-header__inner {
  max-width: 1080px;
  padding-top: 64px;
  padding-bottom: 62px;
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 42px;
  color: #6d7975;
  font-size: 14px;
}

.article-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.article-breadcrumbs a:hover {
  color: #0b5862;
}

.article-header__meta {
  margin-bottom: 18px;
}

.article-header h1 {
  max-width: 1020px;
  color: #15353a;
  font-size: clamp(36px, 5vw, 62px);
}

.article-header__lead {
  max-width: 900px;
  margin: 24px 0 0;
  color: #5b6865;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.65;
}

.article-main {
  padding: 54px 0 96px;
}

.article-main__shell {
  max-width: 1030px;
}

.article-featured {
  overflow: hidden;
  margin: 0 0 54px;
  border-radius: 20px;
  background: #e8eeeb;
  box-shadow: 0 18px 46px rgba(8, 62, 69, .09);
}

.article-featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-content {
  max-width: 850px;
  margin: 0 auto;
  color: #35433f;
  font-size: 17px;
  line-height: 1.82;
}

.article-content > *:first-child,
.article-content .blog-post > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: #15353a;
  font-family: var(--type-font-family-font-title);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.article-content h2 {
  margin: 54px 0 18px;
  font-size: clamp(28px, 3vw, 38px);
}

.article-content h3 {
  margin: 36px 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
}

.article-content h4 {
  margin: 30px 0 12px;
  font-size: 20px;
}

.article-content p {
  margin: 0 0 22px;
}

.article-content ul,
.article-content ol {
  margin: 18px 0 26px;
  padding-left: 1.5em;
}

.article-content li {
  margin: 8px 0;
}

.article-content a {
  color: #0b6671;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 4px solid #bfa45a;
  border-radius: 0 12px 12px 0;
  background: #f0f4f1;
  color: #3e4e49;
}

.article-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.article-content th,
.article-content td {
  padding: 13px 15px;
  border: 1px solid #dce4e0;
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: #edf3f0;
  color: #15353a;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.article-content .wp-block-image,
.article-content figure {
  margin: 32px 0;
}

.article-contact-box {
  max-width: 970px;
  margin: 68px auto 0;
  padding: 38px 42px;
}

.article-contact-box h2 {
  font-size: clamp(25px, 2.7vw, 34px);
}

.article-back {
  display: inline-block;
  margin: 38px 0 0 40px;
  color: #0b5862;
  font-weight: 700;
  text-decoration: none;
}

.article-not-found {
  min-height: 560px;
  display: flex;
  align-items: center;
  text-align: center;
}

.article-not-found .articles-shell {
  max-width: 760px;
}

.article-not-found h1 {
  color: #15353a;
  font-size: clamp(38px, 5vw, 58px);
}

.article-not-found p {
  margin: 20px 0 30px;
  color: #5d6966;
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .articles-shell {
    width: min(100% - 64px, 1312px);
  }

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

  .articles-hero__inner {
    grid-template-columns: 1fr .72fr;
    gap: 32px;
  }

  .footer-row2 {
    gap: 34px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .articles-shell {
    width: calc(100% - 40px);
  }

  .articles-hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 66px;
  }

  .articles-hero__graphic {
    display: none;
  }

  .articles-list-section {
    padding: 56px 0 70px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-card__body {
    padding: 21px 20px 23px;
  }

  .articles-pagination {
    flex-wrap: wrap;
  }

  .articles-cta {
    padding-bottom: 70px;
  }

  .articles-cta__inner,
  .article-contact-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 26px;
  }

  .article-header__inner {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .article-breadcrumbs {
    margin-bottom: 28px;
  }

  .article-main {
    padding: 34px 0 70px;
  }

  .article-featured {
    margin-bottom: 38px;
    border-radius: 14px;
  }

  .article-content {
    font-size: 16px;
    line-height: 1.76;
  }

  .article-content h2 {
    margin-top: 42px;
  }

  .article-contact-box {
    margin-top: 50px;
  }

  .article-back {
    margin-left: 0;
  }
}
