.article-breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #d1c6ce;
  margin-bottom: 32px;
}
.article-breadcrumb a {
  color: #f3c1c2;
}
.article-hero {
  padding: 56px 0 60px;
  background: #222026;
}
.article-category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3c1c2;
}
.article-hero h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.5rem);
  line-height: 1.05;
  max-width: 1000px;
  margin: 20px 0 24px;
}
.article-meta {
  font-size: 0.875rem;
  color: #c4b9c2;
}
.article-cover {
  margin: 36px 0 0;
}
.article-cover img {
  width: 100%;
  max-height: 570px;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 16px;
}
.article-cover figcaption {
  font-size: 0.75rem;
  color: #b8aeb6;
  margin-top: 10px;
}
.article-reading {
  padding: 62px 0 76px;
  background: #2b2730;
}
.article-body {
  max-width: 800px;
  margin: auto;
}
.article-body p {
  font-size: 1.075rem;
  line-height: 1.95;
  color: #ddd;
  margin-bottom: 26px;
}
.article-body h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 48px 0 22px;
  line-height: 1.13;
}
.article-body h3 {
  font-size: 1.9rem;
  margin: 32px 0 20px;
}
.article-body a:not(.button) {
  color: #f3c1c2;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-body .button {
  white-space: normal;
  font-size: 0.9rem;
  margin-top: 10px;
}
.article-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  border-top: 1px solid #f3c1c230;
  padding-top: 30px;
  margin-top: 44px;
  font-size: 0.9rem;
}
.article-related {
  padding: 62px 0 76px;
  background: #343039;
}
.article-related h2 {
  font-size: 2.5rem;
}
.blog-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f3c1c233;
  border-radius: 15px;
  background: #2b2730;
}
.blog-post-card > a {
  display: block;
  overflow: hidden;
}
.blog-post-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform 0.3s;
}
.blog-post-card > a:hover img {
  transform: scale(1.025);
}
.blog-post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.blog-post-card h3 {
  font-size: 2rem;
  line-height: 1.13;
  margin: 13px 0 18px;
}
.blog-post-card h3 a:hover {
  color: #f3c1c2;
}
.blog-post-card p {
  font-size: 1rem;
  color: #ddd;
  line-height: 1.8;
}
.blog-post-card .post-read-link {
  color: #f3c1c2;
  border-bottom: 1px solid #f3c1c277;
  padding-bottom: 4px;
  margin-top: auto;
  font-size: 0.9rem;
}
.blog-posts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.article-related-card {
  max-width: 620px;
}
.article-body :is(h2, h3) {
  scroll-margin-top: 120px;
}
@media (max-width: 700px) {
  .article-hero {
    padding: 38px 0 42px;
  }
  .article-cover {
    margin-top: 28px;
  }
  .article-cover img {
    border-radius: 12px;
  }
  .article-reading {
    padding: 38px 0 52px;
  }
  .article-body p {
    font-size: 1rem;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .article-related {
    padding: 46px 0;
  }
  .blog-post-card-body {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blog-post-card img {
    transition: none;
  }
}

header.article-hero {
  height: auto;
  position: relative;
  z-index: auto;
  border: 0;
}
.article-body .article-links a {
  font-size: 0.9rem;
}

.article-cover img {
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}

/* Compact square thumbnails on the article listing only. */
.blog-page .blog-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.blog-page .blog-post-card > a {
  aspect-ratio: 1 / 1;
}
.blog-page .blog-post-card > a > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.blog-page .blog-post-card h3 {
  font-size: 1.8rem;
}
.blog-page .blog-post-card-body {
  padding: 24px;
}
@media (max-width: 900px) {
  .blog-page .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .blog-page .blog-posts-grid {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
  }
}

/* Match the compact square cards in the Blog listing. */
.article-related-card {
  width: 100%;
  max-width: 382px;
}
.article-related-card .blog-post-card > a {
  aspect-ratio: 1 / 1;
}
.article-related-card .blog-post-card > a > img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.article-related-card .blog-post-card-body {
  padding: 24px;
}
.article-related-card .blog-post-card h3 {
  font-size: 1.8rem;
}
@media (max-width: 600px) {
  .article-related-card {
    max-width: 360px;
    margin-inline: auto;
  }
}

.article-service-card {
  margin: 48px 0 18px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid #f3c1c266;
  border-radius: 18px;
  background: linear-gradient(135deg, #3d323e, #302a34);
  box-shadow: 0 14px 32px #0002;
}
.article-body .article-service-card h2 {
  margin: 0 0 22px;
  color: #f3c1c2;
  font-size: clamp(2rem, 3vw, 2.6rem);
}
.article-body .article-service-card p {
  margin-bottom: 26px;
}
.article-body .article-service-card .button {
  display: inline-flex;
  margin: 0;
  background: #f3c1c2;
  border-color: #f3c1c2;
  color: #222026;
  line-height: 1.6;
  justify-content: center;
  text-align: center;
}
.article-body .article-service-card .button:hover {
  background: #faf7f7;
  border-color: #faf7f7;
}
.article-body .article-service-card a:not(.button) {
  color: #f3c1c2;
}
@media (max-width: 600px) {
  .article-service-card {
    border-radius: 14px;
  }
  .article-body .article-service-card .button {
    width: 100%;
    font-size: 0.85rem;
  }
}

.article-page,
.article-body,
.article-hero .container,
.article-service-card,
.article-related-card {
  min-width: 0;
}
.article-page h1,
.article-page h2,
.article-page h3,
.article-meta,
.article-body a {
  overflow-wrap: anywhere;
}
.article-breadcrumb {
  position: static;
  width: auto;
  max-height: none;
  overflow: visible;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  flex-direction: row;
}
.article-links {
  position: static;
  width: auto;
  max-height: none;
  overflow: visible;
  background: none;
  display: flex;
  align-items: flex-start;
  padding: 30px 0 0;
}
.article-breadcrumb > a,
.article-links > a {
  width: auto;
  padding: 0;
  text-align: left;
}
.article-page .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  justify-content: center;
  line-height: 1.6;
}
.article-cover {
  width: 100%;
  margin-inline: 0;
}
.article-related-card .blog-post-card > a {
  position: relative;
}
.article-related-card .blog-post-card > a > img {
  position: absolute;
  inset: 0;
}
.blog-page .blog-post-card > a {
  position: relative;
}
.blog-page .blog-post-card > a > img {
  position: absolute;
  inset: 0;
}
@media (max-width: 600px) {
  .article-page > .article,
  .article-page article {
    min-width: 0;
  }
  .article-hero .container,
  .article-reading > .container,
  .article-related > .container {
    width: calc(100% - 36px);
  }
  .article-hero h1 {
    font-size: clamp(2rem, 8.3vw, 2.7rem);
    letter-spacing: -0.5px;
    line-height: 1.12;
  }
  .article-hero {
    padding: 28px 0 32px;
  }
  .article-breadcrumb {
    gap: 8px;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .article-breadcrumb a {
    font-size: 0.8rem;
  }
  .article-meta {
    font-size: 0.8rem;
    line-height: 1.75;
  }
  .article-cover {
    margin-top: 24px;
  }
  .article-body h2 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-top: 34px;
  }
  .article-body h3 {
    font-size: 1.65rem;
    line-height: 1.2;
  }
  .article-body p {
    font-size: 1rem;
    line-height: 1.85;
  }
  .article-service-card {
    padding: 24px 20px;
    margin-top: 36px;
  }
  .article-body .article-service-card h2 {
    font-size: 1.85rem;
    line-height: 1.15;
  }
  .article-links {
    gap: 16px;
    flex-direction: column;
  }
  .article-related h2 {
    font-size: 2rem;
  }
  .article-related-card .blog-post-card-body {
    padding: 22px;
  }
  .article-body .button {
    padding: 16px 18px;
  }
}
