/* Generated from styles.css by tools/split-css.mjs. */
.page-hero{
  min-height: 100vh;
  margin-top: -72px;
  display: flex;
  align-items: end;
  padding: 144px max(24px, calc((100vw - 1180px) / 2)) 72px;
  color: var(--white);
  background: var(--deep);
}
.page-hero > *{ max-width: 760px; }
.page-hero{
  display: block;
  padding-top: 156px;
}
.page-hero p{ color: rgba(255,255,255,0.72); max-width: 680px; }
.news-hero{
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: clamp(190px, 23vh, 270px);
  background: url("assets/news-sky-background.webp") center / cover no-repeat;
}
.news-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}
.news-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(430px, 52vh, 560px);
  background: url("assets/news-hill-foreground.webp") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.news-hero > *{
  position: relative;
  z-index: 3;
}
.news-hero h1{
  position: relative;
  max-width: 860px;
  text-shadow: 0 2px 18px rgba(25, 67, 80, 0.18);
}
.news-hero .eyebrow,
.news-hero p{
  text-shadow: 0 1px 14px rgba(25, 67, 80, 0.16);
}
.article-controls{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 30px;
}
.filter-bar{ display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
.filter-bar button{
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
}
.filter-bar button.active{ background: var(--deep); color: var(--white); border-color: var(--deep); }
.article-sort{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.article-sort-select{
  min-width: 160px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 10px 38px 10px 14px;
  font: inherit;
  font-weight: 800;
}
.article-page{
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}
.article-detail-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.article-main{
  min-width: 0;
}
.article-page h1{
  max-width: 760px;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 1.08;
}
.article-page img{ width: 100%; object-fit: cover; }
.article-hero-image{ max-height: 520px; margin: 30px 0; }
.article-hero-image.image-contain{
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  margin-right: auto;
  margin-left: auto;
  background: #0d2444;
}
.article-published{
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.article-page .lead{ font-size: 22px; color: var(--teal); }
.article-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}
.article-tags span{
  padding: 6px 10px;
  background: rgba(89, 201, 165, 0.13);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.article-list-item{
  margin: 8px 0 8px 18px;
  color: var(--muted);
  line-height: 1.75;
}
.article-ordered-list{
  margin: 12px 0 22px 24px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}
.article-unordered-list{
  margin: 12px 0 22px 24px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
  list-style: disc;
}
.article-ordered-list li{
  margin: 6px 0;
  padding-left: 4px;
}
.article-unordered-list li{
  margin: 6px 0;
  padding-left: 4px;
}
.article-inline-link{
  color: var(--primary);
  font-weight: 800;
  text-decoration-color: rgba(0, 121, 145, 0.35);
  text-underline-offset: 3px;
}
.article-inline-link:hover,
.article-inline-link:focus-visible{
  color: var(--teal);
  text-decoration-color: currentColor;
}
.article-video{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 34px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #081c22;
}
.article-video iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.article-body-image{
  margin: 34px 0;
}
.article-body-image img{
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.article-body-image figcaption{
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.article-contact{
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: rgba(89, 201, 165, 0.1);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}
.article-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.article-gallery-button{
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.article-gallery img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.article-gallery-button:hover img,
.article-gallery-button:focus-visible img{
  border-color: rgba(0, 121, 145, 0.45);
  box-shadow: 0 18px 42px rgba(25, 67, 80, 0.16);
  transform: translateY(-2px);
}
.article-lightbox-open{
  overflow: hidden;
}
.article-lightbox{
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(8, 28, 34, 0.82);
  backdrop-filter: blur(12px);
}
.article-lightbox[hidden]{
  display: none;
}
.article-lightbox-frame{
  display: grid;
  gap: 14px;
  max-width: min(1120px, 92vw);
  margin: 0;
}
.article-lightbox-image{
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #fff;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}
.article-lightbox-caption{
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
.article-lightbox-close,
.article-lightbox-nav{
  position: fixed;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(25, 67, 80, 0.72);
  color: #fff;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease;
}
.article-lightbox-close:hover,
.article-lightbox-nav:hover,
.article-lightbox-close:focus-visible,
.article-lightbox-nav:focus-visible{
  background: var(--primary);
  transform: translateY(-1px);
}
.article-lightbox-close{
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  font-size: 30px;
  line-height: 1;
}
.article-lightbox-nav{
  top: 50%;
  width: 52px;
  height: 52px;
  font-size: 42px;
  line-height: 0.8;
  transform: translateY(-50%);
}
.article-lightbox-nav:hover,
.article-lightbox-nav:focus-visible{
  transform: translateY(calc(-50% - 1px));
}
.article-lightbox-prev{
  left: 24px;
}
.article-lightbox-next{
  right: 24px;
}
.article-sidebar{
  position: sticky;
  top: 96px;
}
.article-sidebar h2{
  margin: 0 0 18px;
  font-size: 24px;
}
.article-sidebar .article-card{
  margin-bottom: 18px;
}
.article-sidebar .article-card img{
  height: 128px;
}
.article-sidebar .article-card h3{
  font-size: 18px;
}
.legal-page{
  padding-top: 120px;
}
.legal-page h2{
  margin-top: 42px;
}
.legal-page ul{
  margin: 16px 0 24px;
  padding-left: 22px;
  color: var(--muted);
}
.legal-page li{
  margin: 8px 0;
}
.legal-page a{
  color: var(--primary);
  font-weight: 800;
}
.lang-panel-th{
  display: none;
}
html[lang="th"] .lang-panel-en{
  display: none;
}
html[lang="th"] .lang-panel-th{
  display: block;
}
@media (max-width: 900px){
.article-detail-layout{ grid-template-columns: 1fr; }
.article-sidebar{ position: static; }
.article-gallery{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px){
.news-hero h1,
.news-hero p{
    width: min(320px, calc(100vw - 48px));
    max-width: min(320px, calc(100vw - 48px));
  }
.news-hero h1{
    font-size: 28px;
  }
.news-hero::after{
    height: clamp(430px, 56vh, 540px);
    background-size: 100% auto;
  }
.article-hero-image.image-contain{
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }
.article-gallery{ grid-template-columns: 1fr; }
.article-lightbox{
    padding: 18px;
  }
.article-lightbox-image{
    max-width: calc(100vw - 36px);
    max-height: 76vh;
  }
.article-lightbox-close{
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
.article-lightbox-nav{
    top: auto;
    bottom: 18px;
    width: 46px;
    height: 46px;
    font-size: 36px;
    transform: none;
  }
.article-lightbox-nav:hover,
.article-lightbox-nav:focus-visible{
    transform: translateY(-1px);
  }
.article-lightbox-prev{
    left: 18px;
  }
.article-lightbox-next{
    right: 18px;
  }
}
@media (max-width: 700px){
.news-hero{
    background: url("assets/news-sky-background-768.webp") center / cover no-repeat;
  }
.news-hero::after{
    background: url("assets/news-hill-foreground-768.webp") center bottom / 100% 100% no-repeat;
  }
}
@media (min-width: 701px) and (max-width: 1200px){
.news-hero{
    background: url("assets/news-sky-background-1280.webp") center / cover no-repeat;
  }
.news-hero::after{
    background: url("assets/news-hill-foreground-1280.webp") center bottom / 100% 100% no-repeat;
  }
}
@media (min-width: 1201px) and (max-width: 1800px){
.news-hero{
    background: url("assets/news-sky-background-1920.webp") center / cover no-repeat;
  }
.news-hero::after{
    background: url("assets/news-hill-foreground-1920.webp") center bottom / 100% 100% no-repeat;
  }
}
@media (min-width: 1801px){
.news-hero{
    background: url("assets/news-sky-background-2400.webp") center / cover no-repeat;
  }
}
