:root {
  --page-bg: #fffbf1;
  --header-bg: #990200;
  --header-line: #e8ce8f;
  --accent-gold: #c29744;
  --accent-brown: #8c6721;
  --line-gold: #e6cca9;
  --text-main: #000000;
  --content-width: 1200px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  
}

body {
  min-width: 320px;
  background-color: var(--page-bg);
  background-image: url("../img/news-detail/ad698e0a18f466c77429699c64b9821826cde549.png");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
  background-blend-mode: multiply;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(var(--content-width), calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
}

.site-header {
  background: var(--header-bg);
  border-bottom: 3px solid var(--header-line);
}

.site-header__inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-logo img {
  width: 170px;
  height: auto;
}

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.site-nav--left {
  justify-content: flex-start;
}

.site-nav--right {
  justify-content: flex-end;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 0;
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.site-nav__link:hover,
.site-logo:hover,
.lang-switch:hover {
  opacity: 0.82;
}

.site-nav__link.is-active {
  padding: 6px 18px;
  color: #000000;
  background: #00bfc7;
}

.lang-switch {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-switch img {
  width: 20px;
  height: 20px;
}

.news-detail {
  padding: 80px 0 72px;
}

.news-article {
  display: grid;
  gap: 88px;
}

.hero {
  display: grid;
  gap: 28px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--accent-brown);
  font-size: 14px;
  line-height: 20px;
}

.breadcrumbs svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}

.hero__heading {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: 48px;
}

.title-flourish {
  position: absolute;
  top: 72px;
  width: 400px;
  height: 66px;
  opacity: 0.34;
  overflow: hidden;
}

.title-flourish--left {
  left: -180px;
  transform: scaleY(-1) rotate(180deg);
}

.title-flourish--right {
  right: -180px;
}

.title-flourish img {
  position: absolute;
  top: -65.4%;
  left: -0.01%;
  width: 100%;
  height: 857.07%;
  object-fit: fill;
}

.page-title {
  margin: 0;
  width: min(760px, 100%);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--accent-gold);
  font-size: 18px;
  line-height: 26px;
}

.meta img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
}

.center-divider img {
  width: 200px;
  height: 28px;
}

.hero-image {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #dac7a5;
  mix-blend-mode: multiply;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 38%;
}

.hero-facts,
.hero-intro {
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 36px;
}

.hero-facts {
  width: min(1200px, 100%);
}

.hero-intro {
  width: min(922px, 100%);
}

.gallery-section {
  position: relative;
}

.gallery-section::before,
.gallery-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.gallery-section::before {
  left: calc(-1 * min(18vw, 240px));
  top: -140px;
  width: 256px;
  height: 356px;
  opacity: 0.15;
  background-image: url("../img/news-detail/ea2b662ce492dfaca878eaed8241722ba48f27c2.png");
  transform: scaleY(-1) rotate(180deg);
}

.gallery-section::after {
  right: calc(-1 * min(16vw, 210px));
  top: -220px;
  width: 262px;
  height: 690px;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("../img/news-detail/a2bcc1e313771d5c905fbca5b22f8ba319214efd.png");
  transform: scaleY(-1) rotate(180deg);
}

.gallery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gallery-pair figure,
.gift-image,
.closing-image {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-pair .image-a,
.gallery-pair .image-b {
  mix-blend-mode: multiply;
}

.gallery-pair img {
  width: 100%;
  aspect-ratio: 594 / 360;
  object-fit: cover;
}

.content-section {
  position: relative;
}

.content-section::before {
  content: "";
  position: absolute;
  left: calc(-1 * min(24vw, 300px));
  top: -160px;
  width: 351px;
  height: 664px;
  opacity: 0.11;
  mix-blend-mode: multiply;
  background: url("../img/news-detail/ce4909d68e19555272653b470eeda3af391e0ac8.png") no-repeat center / contain;
  pointer-events: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 593px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.event-details h2,
.story-copy h2,
.gift-copy h2 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 36px;
  font-weight: 700;
}

.event-details ul {
  margin: 0;
  padding-left: 28px;
}

.event-details li,
.story-copy p {
  font-size: 18px;
  line-height: 36px;
}

.story-stack {
  display: grid;
  gap: 36px;
}

.story-copy p,
.gift-copy p {
  margin: 0;
}

.gift-section {
  position: relative;
}

.gift-section::after {
  content: "";
  position: absolute;
  right: calc(-1 * min(18vw, 220px));
  bottom: -90px;
  width: 287px;
  height: 396px;
  opacity: 0.36;
  background: url("../img/news-detail/3635a6554d6a13dc5743fe6edcdf930e0aeb76c0.png") no-repeat center / cover;
  transform: scaleY(-1) rotate(180deg);
  pointer-events: none;
}

.gift-grid {
  display: grid;
  grid-template-columns: minmax(0, 481px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.gift-copy .gift-text {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.gift-copy p {
  font-size: 16px;
  line-height: 27px;
}

.gift-image img {
  width: 100%;
  aspect-ratio: 675 / 380;
  object-fit: cover;
}

.closing-section {
  position: relative;
}

.closing-section::before {
  content: "";
  position: absolute;
  left: calc(-1 * min(12vw, 160px));
  bottom: -180px;
  width: 620px;
  height: 368px;
  opacity: 0.12;
  background: url("../img/news-detail/7fc793801d1e8562b7262b2d8cb59e530500db20.png") no-repeat left top / contain;
  pointer-events: none;
}

.closing-image img {
  width: 100%;
  aspect-ratio: 1200 / 675;
  object-fit: cover;
}

.share-section {
  position: relative;
  padding: 30px 0 16px;
}

.share-section__texture {
  position: absolute;
  inset: 20px 0 0;
  opacity: 0.12;
  pointer-events: none;
  background:
    url("../img/news-detail/7fc793801d1e8562b7262b2d8cb59e530500db20.png") no-repeat left bottom / 560px auto,
    url("../img/news-detail/ce4909d68e19555272653b470eeda3af391e0ac8.png") no-repeat center 70px / 420px auto;
}

.share-section .shell {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 24px;
}

.share-band {
  position: relative;
  width: 100%;
  min-height: 96px;
}

.share-band__wing {
  position: absolute;
  top: -34px;
  width: 220px;
  height: 190px;
}

.share-band__wing--left {
  left: -78px;
}

.share-band__wing--right {
  right: -78px;
  transform: scaleY(-1) rotate(180deg);
}

.share-band__wing img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.share-band__line {
  position: absolute;
  top: 38px;
  height: 2px;
  background: var(--line-gold);
}

.share-band__line--left {
  left: 100px;
  width: calc(50% - 160px);
}

.share-band__line--right {
  right: 100px;
  width: calc(50% - 160px);
}

.share-band__mark {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 18px auto 0;
  z-index: 1;
}

.share-band__mark svg {
  width: 60px;
  height: 60px;
  display: block;
}

.share-label {
  margin: 0;
  width: 220px;
  color: var(--accent-brown);
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}

.share-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 68px;
}

.share-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.share-icons a:hover {
  opacity: 0.85;
}

.share-icons img {
  width: 40px;
  height: 40px;
  display: block;
}

.site-footer {
  padding-top: 8px;
}

.footer-rule svg {
  width: 100%;
  height: 12px;
  display: block;
}

.footer-text {
  margin: 20px 0 0;
  color: var(--accent-brown);
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 1280px) {
  .site-nav {
    gap: 24px;
  }

  .title-flourish--left {
    left: -120px;
  }

  .title-flourish--right {
    right: -120px;
  }

  .content-grid,
  .gift-grid {
    gap: 40px;
  }

  .share-band__wing {
    width: 180px;
    height: 156px;
  }
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    padding: 24px 0;
  }

  .site-nav--left,
  .site-nav--right,
  .site-header__right {
    justify-content: center;
  }

  .title-flourish {
    display: none;
  }

  .gallery-pair,
  .content-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .news-article {
    gap: 72px;
  }

  .share-band__wing {
    display: none;
  }

  .share-band__line--left {
    left: 0;
    width: calc(50% - 46px);
  }

  .share-band__line--right {
    right: 0;
    width: calc(50% - 46px);
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  body {
    background-size: 220px auto, 220px auto;
  }

  .news-detail {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-nav {
    gap: 16px;
    justify-content: center;
  }

  .site-nav__link {
    font-size: 14px;
  }

  .hero__heading {
    padding-top: 24px;
  }

  .page-title {
    font-size: 32px;
    line-height: 1.4;
  }

  .hero-facts,
  .hero-intro,
  .event-details li,
  .story-copy p {
    font-size: 16px;
    line-height: 30px;
  }

  .event-details h2,
  .story-copy h2,
  .gift-copy h2 {
    font-size: 18px;
    line-height: 30px;
  }

  .share-section__texture {
    background-size: 360px auto, 260px auto;
    background-position: left bottom, center 90px;
  }

  .share-icons {
    gap: 40px;
  }

  .footer-text {
    font-size: 14px;
  }
}
