/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[11].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[11].use[3]!./node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js??ruleSet[1].rules[14].oneOf[11].use[4]!./node_modules/next/dist/compiled/sass-loader/cjs.js??ruleSet[1].rules[14].oneOf[11].use[5]!./src/styles/page/news/news-detail.scss ***!
  \*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
:root {
  --topbar-h: clamp(48px, 6.5vh, 56px);
  --menu-h: clamp(52px, 7vh, 61px);
  --safe-top: env(safe-area-inset-top);
  --safe-bot: env(safe-area-inset-bottom);
}

section.section--space-bottom,
.section.section--space-bottom {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (max-width: 1024px) {
  section.section--space-bottom,
  .section.section--space-bottom {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  section.section--space-bottom,
  .section.section--space-bottom {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
section.section--space-bottom,
.section.section--space-bottom {
  padding-top: 0;
}
section.section--space-top,
.section.section--space-top {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (max-width: 1024px) {
  section.section--space-top,
  .section.section--space-top {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  section.section--space-top,
  .section.section--space-top {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
section.section--space-top,
.section.section--space-top {
  padding-bottom: 0;
}
section.section--space-none,
.section.section--space-none {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (max-width: 1024px) {
  section.section--space-none,
  .section.section--space-none {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  section.section--space-none,
  .section.section--space-none {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
section.section--space-none,
.section.section--space-none {
  padding-top: 0;
  padding-bottom: 0;
}
section.section--space-y,
.section.section--space-y {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (max-width: 1024px) {
  section.section--space-y,
  .section.section--space-y {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
@media (max-width: 768px) {
  section.section--space-y,
  .section.section--space-y {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 1920px) {
  .container {
    max-width: 1440px;
  }
}
@media (max-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}
@media (max-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 57px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 540px;
    padding: 0 var(--space-4);
  }
}
@media (max-width: 320px) {
  .container {
    max-width: 300px;
  }
}

.news-detail {
  overflow: hidden;
}
.news-detail section:first-child {
  padding-top: 192px;
  padding-bottom: 64px;
}
@media (max-width: 1024px) {
  .news-detail section:first-child {
    padding-top: 168px;
    padding-bottom: 48px;
  }
}
@media (max-width: 768px) {
  .news-detail section:first-child {
    padding-top: 128px;
    padding-bottom: 32px;
  }
}
@media (max-width: 576px) {
  .news-detail section:first-child {
    padding-top: 96px;
  }
}

.news-detail__title {
  font-size: var(--text-h1); /* 3rem (48px) - Base size */
  font-weight: var(--font-bold);
  line-height: 1.25;
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .news-detail__title {
    font-size: var(--text-h3);
  }
}
.news-detail__title {
  margin-bottom: 16px;
}
@media (max-width: 1200px) {
  .news-detail__title {
    font-size: var(--text-h2);
  }
}
@media (max-width: 1024px) {
  .news-detail__title {
    font-size: var(--text-h1);
  }
}
@media (max-width: 576px) {
  .news-detail__title {
    font-size: var(--text-h3);
  }
}

.news-gallery {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .news-gallery {
    margin-bottom: 2rem;
  }
}
.news-gallery .news-gallery__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 1024px) {
  .news-gallery .news-gallery__main {
    gap: 4px;
  }
}
.news-gallery .news-gallery__main-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.news-gallery .news-gallery__thumbnails {
  display: flex;
  gap: 8px;
}
@media (max-width: 1024px) {
  .news-gallery .news-gallery__thumbnails {
    gap: 4px;
  }
}
.news-gallery .news-gallery__thumbnail {
  position: relative;
  flex: 1;
  aspect-ratio: 254/191;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.news-gallery .news-gallery__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-gallery .news-gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-gallery .news-gallery__count {
  font-size: var(--text-h3); /* 2.0625rem (33px) - Base size */
  font-weight: var(--font-semibold);
  line-height: 1.25;
  margin-bottom: 0;
}
@media (max-width: 1024px) {
  .news-gallery .news-gallery__count {
    font-size: var(--text-h4);
  }
}
@media (max-width: 768px) {
  .news-gallery .news-gallery__count {
    font-size: var(--text-h5);
  }
}
.news-gallery .news-gallery__count {
  font-weight: var(--font-semibold);
  color: var(--white);
}
