.template-article-page .section-heading h1,
.template-blog-index-page .section-heading h1 {
  color: var(--e-global-color-21bfb04);
  font-family: var(--font-serif), Sans-serif;
  font-size: 65px;
  font-weight: 700;
  line-height: 1.3em;
}

.template-blog-index-page .article-list h2 {
  font-weight: 600;
}

.template-blog-index-page .card .article-card-date {
  color: var(--e-global-color-d345fd2);
  display: block;
  font-size: 12px;
  line-height: 1.2;
  margin: 10px 16px 0;
  text-align: right;
  float: right;
}

.article-hero {
  --article-hero-height: 520px;
  --hero-scale: 1;
  --hero-x: 0px;
  --hero-y: 0px;
  block-size: var(--article-hero-height);
  height: var(--article-hero-height);
  margin-bottom: 2rem;
  max-block-size: var(--article-hero-height);
  max-height: var(--article-hero-height);
  min-block-size: var(--article-hero-height);
  min-height: var(--article-hero-height);
  overflow: hidden;
  position: relative;
}

.article-hero--no-image {
  --article-hero-height: 320px;
  background: #1a1a1a;
}

.article-hero__media-slot {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.article-hero__media {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  block-size: 100%;
  border: 0;
  display: block;
  height: 100%;
  inline-size: 100%;
  inset: 0;
  margin: 0;
  max-block-size: 100%;
  max-height: 100%;
  max-inline-size: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  transform: translate3d(var(--hero-x), var(--hero-y), 0);
  transform-origin: center;
  transition: transform 220ms ease-out;
  width: 100%;
  will-change: transform;
}

.article-hero > img.article-hero__media {
  inset: 0;
}

.article-hero.article-hero--media-contain {
  background: #1a1a1a;
}

.article-hero.article-hero--media-contain::before {
  display: none;
}

.article-hero.article-hero--media-contain .article-hero__media {
  object-fit: contain;
  transform: none;
  transition: none;
  will-change: auto;
}


.article-hero--media-cover-boxed {
  --article-hero-adaptive-bg: #000000;
  --article-hero-media-max-width: 1600px;
  background-color: var(--article-hero-adaptive-bg);
}

.article-hero--media-cover-boxed::before {
  display: none;
}

.article-hero--media-cover-boxed .article-hero__ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.article-hero--media-cover-boxed .article-hero__ambient::before {
  background-image: var(--article-hero-ambient-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  filter: blur(56px) saturate(1.2);
  inset: -30%;
  opacity: 0.85;
  position: absolute;
  transform: scale(1.08);
}

.article-hero--media-cover-boxed .article-hero__media-slot {
  height: 100%;
  left: 50%;
  max-width: var(--article-hero-media-max-width);
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: min(100%, var(--article-hero-media-max-width));
  z-index: 1;
}

.article-hero--media-cover-boxed .article-hero__media {
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: none;
  will-change: auto;
}

.article-hero::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: var(--article-overlay-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(var(1.2));
  opacity: 0.4;
  z-index: 10;
}

.article-hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  display: flex;
  align-items: center;
  inset: 0;
  padding: 48px 0;
  position: absolute;
  z-index: 2;
}

.article-hero--no-image .article-hero__overlay,
.article-hero.article-hero--media-contain .article-hero__overlay,
.article-hero.article-hero--media-cover-boxed .article-hero__overlay {
  inset: 0;
  position: absolute;
}

.article-breadcrumb {
  align-items: center;
  color: var(--e-global-color-21bfb04);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.section-heading {
  text-align: center;
}

.article-hero__heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.article-hero__heading h1,
.article-hero__heading h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

.article-hero__heading .article-meta {
  margin: 16px auto 0;
}

.article-breadcrumb a {
  color: var(--e-global-color-primary);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--e-global-color-fd2c51d);
}

.article-breadcrumb span {
  color: var(--e-global-color-primary);
}
.article-breadcrumb span:hover {
  color: var(--e-global-color-fd2c51d);
}

.article-meta {
  align-items: center;
  justify-content: center;
  border-color: var(--e-global-color-08fcc9d);
  border-style: solid;
  border-width: 1px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  list-style: none;
  margin: 5px 320px 82px;
  padding: 15px 0;
  min-width: calc(min(100%, 420px));
}

.article-meta li {
  align-items: center;
  color: var(--e-global-color-primary);
  display: inline-flex;
  font-size: 15px;
  gap: 8px;
  position: relative;
}

.article-meta li + li {
  padding-left: 0;
}

.article-meta__icon {
  align-items: center;
  display: inline-flex;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.article-meta__icon svg {
  fill: var(--e-global-color-primary);
  height: 100%;
  width: 100%;
}

.template-article-page .article-hero .section-heading h1,
.template-article-page .article-hero .section-heading p,
.template-article-page .article-hero .section-kicker {
  color: var(--e-global-color-21bfb04);
}

.article-hero__shape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}

.article-hero__shape svg {
  display: block;
  height: 24px;
  transform: scaleY(-1);
  transform-origin: center;
  width: 100%;
}

.article-hero__shape-fill {
  fill: #000;
}

.article-hero__shape-fill--light {
  opacity: 0.33;
}

.template-article-page .wysiwyg .responsive-object,
.template-article-page .wysiwyg iframe,
.template-article-page .wysiwyg video {
  max-width: 100%;
}

.article-share {
  margin-top: 42px;
}

.article-share h3 {
  margin-bottom: 12px;
}

.article-share__links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.article-share__btn {
  background-color: var(--e-global-color-b2bec9d,#ea4335);
  color: var(--color-ivory);
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-top: 0;
}

.article-share__icon {
  display: inline-flex;
  height: 14px;
  width: 14px;
}

.article-share__icon svg {
  fill: currentColor;
  height: 100%;
  width: 100%;
}

.article-author-box {
  align-items: flex-start;
  border: 1px solid var(--e-global-color-08fcc9d);
  display: flex;
  background-color: #111;
  gap: 18px;
  margin: 0 0 32px;
  padding: 18px;
}

.article-author-box h2 {
  box-sizing: border-box;
  color: rgb(255, 255, 255);
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 33px;
  margin-block-end: 14px;
  margin-block-start: 8px;
  margin-bottom: 14px
}

.article-author-box__avatar img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
  border-radius: 9999px;
}

.article-author-box__name {
  margin: 0 0 8px;
}

.article-author-box__bio p {
  margin: 0;
}

.article-pagination {
  border-top: 1px solid var(--e-global-color-08fcc9d);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-top: 18px;
}

.post-navigation__link {
  flex: 1 1 0;
}

.post-navigation__link > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--e-global-color-primary);
  text-decoration: none;
}

.post-navigation__next > a {
  justify-content: flex-end;
  text-align: right;
}

.post-navigation__arrow-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.post-navigation__arrow-wrapper svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.post-navigation__link__prev,
.post-navigation__link__next {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.post-navigation__prev--label,
.post-navigation__next--label {
  color: var(--e-global-color-primary);
  font-size: 13px;
  text-transform: uppercase;
}

.post-navigation__prev--title,
.post-navigation__next--title {
  color: #FFF;
}

.post-navigation__link > a:hover {
  color: var(--e-global-color-57a29b1);
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .template-article-page .section-heading h1,
  .template-blog-index-page .section-heading h1 {
    font-size: 48px;
  }

  .article-meta {
    margin: 5px 120px 64px;
  }
}

@media (max-width: 767px) {
  .article-hero__overlay {
    padding: 90px 0 72px;
  }

  .template-article-page .section-heading h1,
  .template-blog-index-page .section-heading h1 {
    font-size: 36px;
  }

  .article-breadcrumb {
    gap: 8px;
  }

  .article-meta {
    gap: 14px;
    margin: 8px 0 36px;
    padding: 12px 0;
  }

  .article-share__links,
  .article-pagination {
    flex-direction: column;
    gap: 10px;
  }

}


/* --- v0 article & news index --- */
.news-index {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .news-index {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.news-index__intro {
  margin-top: 1rem;
  max-width: 42rem;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.news-index__intro p:last-child { margin-bottom: 0; }

.news-index__empty { margin: 0; }

.page-hero__date {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.template-article-page .article-page {
  padding: 4rem 0 5rem;
}

@media (min-width: 1024px) {
  .template-article-page .article-page { padding: 5rem 0 7rem; }
}

.article-page__body {
  max-width: 48rem;
  margin: 0 auto;
}

.article-page__intro {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 2rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.article-page__content {
  color: var(--color-muted);
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.article-page__content h2,
.article-page__content h3,
.article-page__content h4 {
  color: var(--color-ivory);
  font-family: var(--font-serif);
  margin: 2rem 0 1rem;
}

.article-page__content p { margin: 0 0 1.25rem; }

.article-page__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
}

.article-share {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.article-share__title {
  font-size: 1.25rem;
  color: var(--color-ivory);
  margin: 0 0 1rem;
}

.article-share__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.375rem;
  color: var(--color-ivory);
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.article-share__btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.article-share__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.template-article-page .article-author-box {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--color-card) 50%, transparent);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.template-article-page .article-author-box__avatar img {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.template-article-page .article-author-box__name {
  font-size: 1.125rem;
  color: var(--color-ivory);
  margin: 0 0 0.5rem;
}

.template-article-page .article-author-box__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.template-article-page .article-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.template-article-page .article-pagination__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 45%;
  color: var(--color-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.template-article-page .article-pagination__link:hover { color: var(--color-primary); }

.template-article-page .article-pagination__link--next {
  margin-left: auto;
  text-align: right;
}

.template-article-page .article-pagination__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.template-article-page .article-pagination__title {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-ivory);
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .template-article-page .article-pagination {
    flex-direction: column;
  }

  .template-article-page .article-pagination__link {
    max-width: 100%;
  }
}
