﻿body.tg-news-detail {
  --tg-shell-max: 19.2rem;
  background: #ffffff;
}

.tg-news-detail .tg-shell {
  width: min(calc(100% - 0.96rem), var(--tg-shell-max));
}


.news-detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.08rem;
  align-items: center;
  padding: 0.32rem 0;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail-breadcrumb a {
  transition: color 0.25s ease;
}

.news-detail-breadcrumb a:hover {
  color: #775a19;
}

.news-detail-breadcrumb span:last-child {
  color: #1c1b1b;
}

.news-detail-header {
  padding-bottom: 0.48rem;
}

.news-detail-header__inner {
  width: min(9.96rem, 100%);
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.16rem;
  margin-bottom: 0.24rem;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail-meta > * + *::before {
  content: "|";
  margin-right: 0.16rem;
  color: #d1c5b4;
}

.news-detail-title {
  max-width: 9.6rem;
  margin: 0;
  color: #0d0d0d;
  font-size: 0.693333rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.news-detail-hero-image {
  overflow: hidden;
  width: 100%;
  height: 9.546667rem;
  margin-bottom: 0.8rem;
  background: #f6f3f2;
}

.news-detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 1s ease;
}

.news-detail-hero-image:hover img {
  transform: scale(1);
}

.news-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 7fr) minmax(0, 3fr);
  gap: 0.32rem;
}

.news-detail-content p {
  margin: 0 0 0.32rem;
  color: #4e4639;
  font-size: 0.213333rem;
  line-height: 1.8;
}

.news-detail-content .news-detail-lede {
  color: #1c1b1b;
  font-size: 0.266667rem;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.news-detail-content h2 {
  margin: 0.72rem 0 0.24rem;
  color: #0d0d0d;
  font-size: 0.48rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.news-detail-figure {
  margin: 0.72rem 0;
}

.news-detail-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.news-detail-figure figcaption {
  margin-top: 0.16rem;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-detail-quote {
  margin: 0.72rem 0;
  padding: 0.533333rem 0.64rem;
  border-left: 0.053333rem solid #c5a059;
  background: #f6f3f2;
}

.news-detail-quote p {
  margin: 0 0 0.24rem;
  color: #0d0d0d;
  font-size: 0.373333rem;
  line-height: 1.3;
  font-weight: 800;
  font-style: italic;
}

.news-detail-quote footer {
  color: #c5a059;
  font-size: 0.186667rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.32rem;
  margin-top: 0.64rem;
  padding-top: 0.32rem;
  border-top: 1px solid #dcd9d9;
}

.news-detail-article-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.16rem;
  color: #1c1b1b;
  transition: color 0.25s ease;
}

.news-detail-article-nav__link:hover {
  color: #c5a059;
}

.news-detail-article-nav__link--next {
  flex-direction: row-reverse;
  text-align: right;
}

.news-detail-article-nav__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 0.32rem;
  height: 0.32rem;
  color: #7f7667;
  transition: color 0.25s ease;
}

.news-detail-article-nav__link:hover .news-detail-article-nav__icon {
  color: #c5a059;
}

.news-detail-article-nav__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-detail-article-nav small {
  display: block;
  margin-bottom: 0.04rem;
  color: #8b867e;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail-article-nav strong {
  display: block;
  font-size: 0.213333rem;
  line-height: 1.4;
  font-weight: 700;
}

.news-detail-related {
  margin-top: 1.28rem;
  padding: 0.96rem 0 1.28rem;
  background: #f6f3f2;
}

.news-detail-related__title {
  margin: 0 0 0.64rem;
  color: #0d0d0d;
  font-size: 0.48rem;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.news-detail-related__grid {
  --bs-gutter-x: 0.32rem;
  --bs-gutter-y: 0.48rem;
}

.news-detail-related__card {
  display: block;
  height: 100%;
}

.news-detail-related__media {
  overflow: hidden;
  margin-bottom: 0.24rem;
  background: #dcd9d9;
  aspect-ratio: 3 / 4;
}

.news-detail-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.news-detail-related__card:hover .news-detail-related__media img {
  transform: scale(1.05);
}

.news-detail-related__body p {
  margin: 0 0 0.08rem;
  color: #4e4639;
  font-size: 0.16rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-detail-related__body span{
  display: inline-block;
  font-size: 0.16rem;
  vertical-align: text-bottom;
  color: #999;
}

.news-detail-related__body h3 {
  margin: 0;
  color: #0d0d0d;
  font-size: 0.266667rem;
  line-height: 1.35;
  font-weight: 700;
  transition: color 0.25s ease;
}

.news-detail-related__card:hover h3 {
  color: #c5a059;
}

.tg-news-detail .site-footer--news-detail {
  padding: 0.8rem 0 0.4rem;
  background: #f6f3f2;
}

.tg-news-detail .site-footer__top {
  gap: 0.48rem;
}

.tg-news-detail .site-footer__text,
.tg-news-detail .site-footer__column a,
.tg-news-detail .site-footer__bottom {
  color: #5f5e5e;
}

@media (max-width: 1199.98px) {
  .news-detail-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 7fr) minmax(0, 1fr);
  }
}

@media (max-width: 991.98px) {

  .tg-news-detail .site-nav {
    top: 0.8rem;
    gap: 0.16rem;
    padding: 0.24rem 0.48rem 0.32rem;
  }

  .news-detail-hero-image {
    height: 7.2rem;
  }

  .news-detail-body {
    display: block;
  }

  .news-detail-content {
    max-width: none;
  }

  .tg-news-detail .site-footer__top {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .tg-news-detail .tg-shell {
    width: min(calc(100% - 0.64rem), var(--tg-shell-max));
  }

  .tg-news-detail .site-nav {
    top: 0.72rem;
    padding-right: 0.32rem;
    padding-left: 0.32rem;
  }

  .news-detail-breadcrumb {
    padding: 0.24rem 0;
  }

  .news-detail-title {
    font-size: 0.48rem;
  }

  .news-detail-hero-image {
    height: 5.2rem;
    margin-bottom: 0.56rem;
  }

  .news-detail-content .news-detail-lede {
    font-size: 0.226667rem;
  }

  .news-detail-content p {
    font-size: 0.186667rem;
  }

  .news-detail-content h2,
  .news-detail-related__title {
    font-size: 0.373333rem;
  }

  .news-detail-quote {
    padding: 0.4rem 0.32rem;
  }

  .news-detail-quote p {
    font-size: 0.293333rem;
  }

  .news-detail-article-nav {
    flex-direction: column;
  }

  .news-detail-article-nav__link--next {
    flex-direction: row;
    text-align: left;
  }

  .news-detail-related {
    margin-top: 0.8rem;
    padding: 0.72rem 0 0.96rem;
  }

  .tg-news-detail .site-footer__columns {
    grid-template-columns: 1fr;
  }

  .tg-news-detail .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
