/*
  Line-height helper (Figma px -> CSS unitless)
  Usage:
    --fs: 16;           font-size in px (number)
    --lh: 24;           line-height in px (number)
    font-size: calc(var(--fs) * 1px);
    line-height: calc(var(--lh) / var(--fs));

  Font-size (px -> rem) helper
  Usage:
    --fs: 16;           font-size in px (number)
    --base: 16;         root font-size in px (number)
    font-size: calc((var(--fs) / var(--base)) * 1rem);
*/
:root {
  --fs: 16;
  --lh: 24;
  --fsBase: 16;
  --fs15: calc((15 / var(--fsBase)) * 1rem);
  --fs16: calc((16 / var(--fsBase)) * 1rem);
  --fs18: calc((18 / var(--fsBase)) * 1rem);
  --fs20: calc((20 / var(--fsBase)) * 1rem);
  --fs68: calc((68 / var(--fsBase)) * 1rem);
  --lh15: calc(20px / 15px);
  --lh16: calc(25px / 16px);
  --lh18: calc(32px / 18px);
}

* {
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Kaku Gothic ProN',
    'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  background-color: #f5f5f5;
  background-image: url('images/bg_texture.png');
  background-repeat: repeat;
  background-size: auto;
  line-height: 1.6;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Header */
.header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  height: 44px;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  max-width: 100%;
  width: 100%;
  padding-left: 32px;
  padding-right: 0;
  gap: 20px;
}

.logo {
  font-weight: 600;
  color: #0099cc;
}

.logo a,
.logo__link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
  background: linear-gradient(90deg, #0095d0 0%, #00a09d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo a:hover,
.logo__link:hover {
  opacity: 0.8;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  margin-right: 20px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s;
}

/* Navigation */
.main-nav {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  height: 44px;
}

.main-nav .container {
  max-width: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-list li {
  flex: 1;
  display: flex;
  height: 100%;
}

.nav-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
  color: #555;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.nav-list a:hover {
  background-color: #f0f0f0;
  color: #0099cc;
}

.nav-list li {
  border-right: 1px solid #e0e0e0;
}

.nav-list li:last-child {
  border-right: none;
}

/* Hero Section */
.hero {
  min-height: calc(100svh - 44px - 44px);
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1280 / 819;
  background-image: url('images/bg_texture.png'), url('images/bg_hero.png');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: repeat, no-repeat;
  /* filter: brightness(1.3); */
  pointer-events: none;
  z-index: 0;
}

/* .hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  background: linear-gradient(
  180deg,
  rgba(240, 240, 240, 0) 0%,
  #f0f0f0 60%,
  #f0f0f0 100%
  );
  background: url('images/bg_hero.png');
  pointer-events: none;
  z-index: 1;
} */

.hero .container {
  max-width: 1600px;
  margin: 0 auto;
  --hero-side-padding: clamp(24px, 6vw, 60px);
  --hero-left-width: 520px;
  --hero-left-reserve: 560px;
  --hero-media-width: 60vw;
  --hero-gap: clamp(24px, 3vw, 40px);
  --hero-media-max: calc(
    100vw -
      (
        var(--hero-side-padding) * 2 + var(--hero-left-reserve) +
          var(--hero-gap)
      )
  );
  --hero-media-final: min(var(--hero-media-width), var(--hero-media-max));
  padding-left: var(--hero-side-padding);
  padding-right: calc(var(--hero-media-final) + var(--hero-gap));
  width: 100%;
}

.hero-logo {
  margin-bottom: 15px;
  margin-top: 0;
  text-align: left;
}

.hero-logo-fixed {
  /* position: absolute; */
  /* top: 40px; */
  /* left: 100px; */
  /* z-index: 10; */
}

.logo-icon {
  width: 100px;
  height: auto;
  display: block;
}

.logo-image {
  width: 124px;
  height: auto;
  display: block;
}

.hero-title {
  /* font-size: 68px; */
  font-size: var(--fs68);
  font-weight: 700;
  background: linear-gradient(90deg, #0095d0 0%, #00a09d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-block: 24px 12px;
  letter-spacing: 0.05em;
  text-align: left !important;
  width: max-content;
}

.hero-subtitle {
  font-size: var(--fs18);
  color: #727272;
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: var(--lh18);
  text-align: left !important;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
}

.hero-content {
  margin-bottom: 30px;
}

.hero-heading {
  font-size: var(--fs20);
  color: #505050;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: left !important;
}

.hero-description {
  font-size: var(--fs15);
  color: #505050;
  line-height: 1.8;
  text-align: left !important;
}

.hero-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-controls .splide__arrows,
.hero-controls .splide__pagination {
  position: static !important;
  inset: auto !important;
}

.hero-controls .splide__arrows {
  display: flex;
  gap: 16px;
}

.hero-controls .splide__pagination {
  display: flex;
  gap: 12px;
  width: auto;
  justify-content: center;
}

/* Splide Carousel Styles */
.hero .splide {
  width: 100%;
}

.hero .splide__track {
  width: 100%;
}

.hero .splide__list {
  width: 100%;
}

.hero .splide__slide {
  padding: 0;
  /* min-height: 500px; */
}

/* Slide Two-Column Layout */
.slide-content {
  width: 100%;
  margin-bottom: 64px;
  min-height: clamp(420px, 60vh, 620px);
}

.slide-left {
  max-width: var(--hero-left-width);
  width: 100%;
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.slide-right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  /* width: var(--hero-media-final); */
  width: 60vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  padding-top: 0;
  margin-right: 0;
  border-radius: 8px;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); */
  box-shadow: 10px 10px 30px 0px #0000004d;
  overflow: hidden;
}

.slide-image-wrapper {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(320px, 38vw, 40vw) !important;
  display: grid;
  place-content: center;
  aspect-ratio: 840 / 504;
}

.slide-main-image {
  /* width: 100% !important; */
  /* height: 480px !important; */
  object-fit: cover !important;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: auto;
  background: none;
  color: #fff;
  padding: 0;
  font-size: 14px;
  border-radius: 0;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* Splide Default Arrow Styles */
.splide__arrows {
  display: flex;
  gap: 16px;
}

.splide__arrow {
  position: static !important;
  width: 46px;
  height: 46px;
  border: 2px solid #007faf;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
  opacity: 1;
  transform: none !important;
}

.splide__arrow svg {
  width: 12px;
  height: 12px;
  fill: #007faf;
}

.splide__arrow:hover:not(:disabled) {
  background-color: #007faf;
}

.splide__arrow:hover:not(:disabled) svg {
  fill: #fff;
}

.splide__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Splide Pagination Styles */
.splide__pagination {
  position: static;
  display: flex;
  gap: 12px;
  z-index: 10;
  justify-content: flex-start;
}

.splide__pagination__page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #007faf;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
  margin: 0;
  opacity: 1;
}

.splide__pagination__page.is-active {
  background-color: #007faf;
}

.splide__pagination__page:hover:not(.is-active) {
  background-color: rgba(0, 127, 175, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero .container {
    padding-left: 60px;
  }
}

@media (max-width: 1024px) {
  .hero .container {
    padding-right: var(--hero-side-padding);
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-height: auto;
  }

  .slide-left {
    max-width: 100%;
  }

  .slide-right {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: 60px;
  }

  .slide-left {
    max-width: 100%;
  }

  /* .hero-logo-fixed {
    left: 60px;
  } */

  .hero .container {
    padding-left: 60px;
    padding-right: 30px;
  }
}

@media (max-width: 770px) {
  .slide-left {
    padding-top: 0;
  }

  /* .hero-logo-fixed {
    left: 30px;
  } */
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-heading {
    font-size: var(--fs18);
  }

  .hero-description {
    font-size: 13px;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list li:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .slide-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .slide-left {
    max-width: 100%;
    padding-top: 0;
  }

  .slide-right {
    width: 100%;
  }

  .hero .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .splide__arrow {
    width: 40px !important;
    height: 40px !important;
  }

  .splide__pagination {
    gap: 10px !important;
  }

  .splide__pagination__page {
    width: 10px !important;
    height: 10px !important;
  }

  .hero-controls {
    gap: 20px;
  }

  .news {
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .logo-icon,
  .logo-image {
    width: 80px;
  }

  .hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .splide__arrow {
    width: 36px !important;
    height: 36px !important;
  }

  .splide__pagination {
    gap: 8px !important;
  }

  .splide__pagination__page {
    width: 8px !important;
    height: 8px !important;
  }

  .hero-controls {
    gap: 16px;
  }

  .news {
    padding-top: 50px;
  }
}

/* News Section */
.news {
  padding: 20px 0 50px;
  position: relative;
  z-index: 5;
}

.news-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background-color: #fff;
  padding: 20px 28px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.news-date {
  font-size: var(--fs15);
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  line-height: var(--lh15);
}

.news-title {
  color: #111;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
  line-height: var(--lh16);
}

.news-title:hover {
  color: #0099cc;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0099cc;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}

.news-link:hover {
  color: #0077aa;
}

.news-arrow {
  width: 14px;
  height: 14px;
}

/* Common Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-logo {
  width: 46px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.section-title {
  font-size: 45px;
  font-weight: 900;
  background: linear-gradient(90deg, #0095d0 0%, #00a09d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  line-height: calc(47px / 45px);
  display: inline-block;
}

.section-subtitle {
  font-size: var(--fs15);
  color: #727272;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.05em;
  line-height: calc(23px / 15px);
  text-transform: capitalize;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
}

.section-description {
  text-align: center;
  max-width: 950px;
  margin: 0 auto 32px;
  color: #111;
  font-weight: 500;
  line-height: calc(25px / 15px);
}

/* Storytelling specific alignment */
.storytelling .section-header {
  text-align: left;
}

.storytelling .section-logo {
  margin-left: 0;
  margin-right: auto;
}

.storytelling .section-description {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Database specific alignment */
.database .section-header {
  text-align: left;
}

.database .section-logo {
  margin-left: 0;
  margin-right: auto;
}

.database .section-description {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

/* Knowledge specific alignment */
.knowledge .section-header {
  text-align: left;
}

.knowledge .section-logo {
  margin-left: 0;
  margin-right: auto;
}

.section-cta {
  text-align: center;
  margin-top: 45px;
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 320px;
  padding: 20px;
  background: linear-gradient(90deg, #007faf 0%, #008488 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  transition:
    transform 0.2s,
    opacity 0.3s;
}

.cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.cta-arrow {
  width: 20px;
  height: 20px;
}

/* Storytelling Section */
.storytelling {
  border-top: 2px solid #e0e0e0;
  padding: 64px 0 85px;
  position: relative;
  z-index: 0;
}

/* .storytelling::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(240, 240, 240, 0) 0%, #f0f0f0 80%);
  pointer-events: none;
  z-index: -1;
} */

.map-container {
  width: 100%;
  margin-bottom: 50px;
  overflow: hidden;
}

.map-image {
  width: 100%;
  height: auto;
  display: block;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.storytelling .article-grid {
  margin-bottom: 30px;
}

.article-card {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}

.database .article-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.article-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.article-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #e0e0e0;
}

.database .article-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-content {
  padding: 20px 20px 16px;
}

.article-title {
  font-size: var(--fs18);
  font-weight: 500;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.article-category,
.article-tag {
  color: #727272;
  font-weight: 500;
  padding-inline: 10px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.article-date {
  font-size: var(--fs15);
  color: #727272;
  font-weight: 500;
  font-family: 'Outfit', 'Segoe UI', sans-serif;
}

/* Database Section */
.database {
  border-top: 2px solid #e0e0e0;
  padding: 64px 0 85px;
}

.search-wrapper {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-container {
  max-width: 100%;
  display: flex;
  gap: 16px;
  align-items: center;
}

.search-box {
  flex: 1 0 547px;
  max-width: 547px;
  display: flex;
  background-color: #fff;
  border: 1px solid #727272;
  border-radius: 5px;
  overflow: hidden;
  height: 48px;
}

.search-input {
  flex: 1;
  padding-inline: 20px;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  height: 48px;
}

.search-input::placeholder {
  color: #727272;
}

.search-button {
  /* padding: 12px 16px; */
  background-color: #505050;
  border: none;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
  display: grid;
  place-content: center;
  width: 48px;
  height: 48px;
}

.search-button:hover {
  background-color: #555;
}

.search-button svg {
  width: 20px;
  height: 20px;
}

.filter-button {
  padding-inline: 30px;
  background-color: #505050;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
}

.filter-button:hover {
  background-color: #555;
}

.filter-icon {
  width: 20px;
  height: 20px;
}

.filter-tags {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.tag-button {
  padding: 8px 18px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: var(--fs18);
  color: #555;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tag-button:hover {
  border-color: #999;
  background-color: #f5f5f5;
}

.tag-button.active {
  background-color: #e8e8e8;
  border-color: #999;
  color: #333;
}

.tag-button.active::after {
  content: '×';
  font-size: 20px;
  font-weight: bold;
  color: #666;
}

.article-card.is-hidden {
  display: none;
}

.category-cta {
  text-align: center;
  margin-top: 40px;
}

.fetched-at {
  margin-top: 32px;
  font-size: var(--fs15);
  text-align: right;
}

.more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 38px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #0095d0 0%, #00a09d 100%);
  color: #fff;
  font-size: var(--fs15);
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 149, 208, 0.25);
  transition:
    transform 0.2s ease,
    opacity 0.3s ease;
}

.more-button svg {
  width: 16px;
  height: 16px;
}

.more-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.more-button:focus-visible {
  outline: 3px solid rgba(0, 149, 208, 0.3);
  outline-offset: 2px;
}

.back-to-top-wrapper {
  display: flex;
  justify-content: center;
  margin: 60px 0 80px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #0095d0 0%, #00a09d 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 149, 208, 0.25);
  transition:
    transform 0.2s ease,
    opacity 0.3s ease;
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.back-to-top:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(0, 149, 208, 0.3);
  outline-offset: 3px;
}

/* Knowledge Section */
.knowledge {
  border-top: 2px solid #e0e0e0;
  padding: 64px 0 100px;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 100%;
  margin: 0;
}

.knowledge-card {
  padding: 24px;
  background-color: #fff;
  border-radius: 8px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.knowledge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.knowledge-title {
  font-size: var(--fs20);
  font-weight: 700;
  color: #505050;
}

.knowledge-description {
  /* font-size: 14px; */
  color: #111;
  font-weight: 500;
  line-height: var(--lh16);
  margin-bottom: 25px;
  flex-grow: 1;
}

.knowledge-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0099cc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  align-self: flex-end;
  margin-top: auto;
}

.knowledge-link:hover {
  color: #0077aa;
}

.knowledge-arrow {
  width: 20px;
  height: 20px;
}

/* Footer */
.footer {
  background-color: #505050;
  color: #fff;
  padding-block: 40px 16px;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  /* font-size: var(--fs16); */
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  /* font-size: 13px; */
  color: #e0e0e0;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .storytelling,
  .database,
  .knowledge {
    padding: 60px 0;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .filter-button {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .container {
    padding: 0 30px;
  }

  .news-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 22px;
  }

  .section-description {
    font-size: 14px;
  }

  .storytelling,
  .database,
  .knowledge {
    padding: 40px 0;
  }

  .knowledge-card {
    padding: 25px;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* Single Post Page */
.single-post {
  background-color: #fff;
  padding: 0;
}

.post-navigation-top {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 80px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.prev-post,
.next-post {
  flex: 0 0 auto;
}

.prev-post a,
.next-post a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #666;
  transition: all 0.3s;
}

.prev-post a:hover,
.next-post a:hover {
  color: #333;
}

.nav-circle {
  width: 60px;
  height: 60px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: all 0.3s;
}

.prev-post a:hover .nav-circle,
.next-post a:hover .nav-circle {
  border-color: #999;
  background-color: #f8f8f8;
}

.nav-circle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.nav-label {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

.post-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 80px 60px;
}

.post-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1.4;
}

.post-content .content {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.post-content .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.post-content .content table tr {
  border-bottom: 1px solid #e0e0e0;
}

.post-content .content table td {
  padding: 20px 15px;
  vertical-align: top;
}

.post-content .content table td:first-child {
  width: 30%;
  font-weight: 600;
  color: #333;
  background-color: #f9f9f9;
}

.post-content .content table td:last-child {
  width: 70%;
  color: #555;
}

.post-content .content p {
  margin-bottom: 1.5em;
}

.post-content .content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
}

.back-to-archive {
  margin-top: 40px;
  text-align: center;
  padding-bottom: 60px;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(90deg, #007faf 0%, #008488 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: var(--fs15);
  font-weight: 600;
  transition:
    opacity 0.3s,
    transform 0.2s;
}

.back-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.back-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Single Post Responsive */
@media (max-width: 768px) {
  .post-navigation-top {
    padding: 30px 30px 15px;
    gap: 0;
  }

  .nav-circle {
    width: 50px;
    height: 50px;
  }

  .nav-circle svg {
    width: 20px;
    height: 20px;
  }

  .nav-label {
    font-size: 12px;
  }

  .post-content {
    padding: 20px 30px 40px;
  }

  .post-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .post-content .content {
    font-size: var(--fs15);
  }

  .post-content .content table td {
    padding: 15px 10px;
    display: block;
    width: 100%;
  }

  .post-content .content table td:first-child {
    border-bottom: none;
    padding-bottom: 5px;
    background-color: transparent;
    font-size: 14px;
  }

  .post-content .content table td:last-child {
    padding-top: 5px;
  }
}
