:root {
  --ink: #13281f;
  --muted: #5f7168;
  --paper: #f5f7f2;
  --card: #fff;
  --line: #d9e2dc;
  --green: #096b4c;
  --green2: #0b8b62;
  --lime: #dff45f;
  --yellow: #ffd95a;
  --red: #a83b2f;
  --shadow: 0 22px 60px rgba(18, 59, 43, 0.12);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
}
.skip {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
}
.skip:focus {
  transform: none;
}
.topbar {
  max-width: 1180px;
  height: 78px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font:
    800 1.25rem/1 system-ui,
    sans-serif;
  letter-spacing: -0.04em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
}
.dot {
  color: var(--green2);
}
nav {
  display: flex;
  gap: 24px;
  font-size: 0.86rem;
  font-weight: 750;
}
nav a {
  text-decoration: none;
}
nav a:hover {
  color: var(--green2);
}
.article-shell {
  max-width: 1180px;
  margin: auto;
  padding: 34px 24px 100px;
}
.crumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 24px;
}
.crumbs a {
  color: var(--green);
  font-weight: 800;
}
.article-hero {
  position: relative;
  min-height: 560px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #153b31;
}
.article-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 29, 23, 0.94) 0%,
    rgba(6, 29, 23, 0.76) 42%,
    rgba(6, 29, 23, 0.05) 72%
  );
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(660px, 64%);
  padding: 68px 58px;
  color: #fff;
}
.kicker {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-copy h1 {
  font-size: clamp(2.7rem, 5.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 0 0 22px;
}
.hero-copy .dek {
  font-size: 1.13rem;
  color: #d7e6df;
  max-width: 580px;
}
.insurance-hero {
  min-height: 520px;
  background: #082f49;
}
.insurance-hero img {
  object-position: center center;
}
.insurance-hero:after {
  background: linear-gradient(
    90deg,
    rgba(3, 18, 31, 0.97) 0%,
    rgba(3, 25, 39, 0.88) 38%,
    rgba(3, 25, 39, 0.2) 67%,
    rgba(3, 25, 39, 0.03) 100%
  );
}
.insurance-hero .hero-copy {
  width: 58%;
  padding: 54px 52px;
}
.insurance-hero .hero-copy h1 {
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  line-height: 1.04;
  text-wrap: balance;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: #bad0c6;
  font-size: 0.82rem;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: 56px;
  justify-content: center;
  margin-top: 48px;
}
.article-body {
  font-size: 1.04rem;
}
.article-body h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 58px 0 18px;
}
.article-body h3 {
  font-size: 1.28rem;
  margin: 34px 0 10px;
}
.article-body p {
  margin: 0 0 20px;
}
.article-body a {
  color: var(--green);
  font-weight: 750;
}
.answer-box {
  border: 2px solid var(--green);
  border-radius: 22px;
  padding: 24px;
  background: #fff;
  margin-bottom: 34px;
}
.answer-box .label {
  display: inline-block;
  background: var(--lime);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 900;
}
.answer-box strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.45;
  margin: 12px 0;
}
.answer-box p {
  margin: 0;
  color: var(--muted);
}
.alert {
  background: #fff1dd;
  border-left: 5px solid #e58d18;
  border-radius: 0 16px 16px 0;
  padding: 18px 20px;
  margin: 28px 0;
}
.alert strong {
  display: block;
  color: #7b4600;
  margin-bottom: 4px;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.status-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.status-card b {
  display: block;
  color: var(--green);
  margin-bottom: 8px;
}
.status-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.action-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff !important;
  text-decoration: none;
  border-radius: 13px;
  padding: 13px 18px;
  font-weight: 900;
  margin-top: 8px;
}
.action-button:hover {
  background: var(--green2);
}
.article-figure {
  margin: 40px 0;
}
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.article-figure figcaption {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 9px;
}
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  margin: 18px 0;
}
.steps li:before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.steps b {
  display: block;
}
.steps span {
  color: var(--muted);
  font-size: 0.92rem;
}
.benefits {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 0.91rem;
}
.benefits th,
.benefits td {
  text-align: left;
  vertical-align: top;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.benefits th {
  background: #e8f0ea;
  color: var(--green);
}
.benefits td:first-child {
  font-weight: 800;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  margin: 10px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 850;
}
.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
}
.sources-list {
  padding-left: 1.2rem;
}
.sources-list li {
  margin: 10px 0;
}
.update-note {
  margin-top: 38px;
  padding: 18px;
  border-radius: 14px;
  background: #e8f0ea;
  font-size: 0.85rem;
  color: #41574c;
}
.article-aside {
  position: relative;
}
.aside-card {
  position: sticky;
  top: 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 22px;
}
.aside-card .eyebrow {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
}
.aside-card strong {
  display: block;
  font-size: 1.18rem;
  margin: 8px 0 12px;
}
.aside-card ol {
  padding-left: 1.2rem;
  color: #bfd0c8;
  font-size: 0.84rem;
}
.aside-card a {
  display: block;
  margin-top: 16px;
  color: var(--lime);
  font-weight: 900;
}
.related {
  margin-top: 70px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related h2 {
  margin-top: 0;
}
.related-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
}
.related-card span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
}
.related-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}
footer {
  max-width: 1180px;
  margin: auto;
  padding: 42px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
}
footer p {
  color: var(--muted);
}
footer div {
  display: flex;
  gap: 18px;
}
footer a {
  text-decoration: none;
}
.welfare-hero .hero-copy h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.65rem);
  line-height: 1.04;
}
.quick-paths {
  margin: 34px 0;
}
.quick-paths h2 {
  margin-top: 0;
}
.quick-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.quick-path-grid > a,
.quick-path-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  padding: 17px 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
}
.quick-path-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}
.quick-path-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 0.98rem;
}
.quick-path-card strong a {
  text-decoration: none;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.related-card {
  height: 100%;
}
.weather-hero .hero-copy h1 {
  font-size: clamp(2.2rem, 4.3vw, 4.35rem);
  line-height: 1.05;
}
.photo-credit {
  margin: 10px 8px 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.5;
}
.photo-credit a {
  color: var(--green);
  font-weight: 750;
}
@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-aside {
    display: none;
  }
  .article-hero {
    min-height: 520px;
  }
  .hero-copy {
    width: 75%;
    padding: 52px 40px;
  }
  .insurance-hero .hero-copy {
    width: 68%;
    padding: 42px 38px;
  }
  .status-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .article-body {
    font-size: 1rem;
  }
}
@media (max-width: 620px) {
  .topbar {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
  }
  .topbar nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.72rem;
  }
  .article-shell {
    padding: 20px 14px 70px;
  }
  .article-hero {
    min-height: 650px;
    border-radius: 20px;
  }
  .article-hero img {
    object-position: 64% center;
  }
  .insurance-hero {
    min-height: 690px;
  }
  .insurance-hero img {
    object-position: 68% center;
  }
  .insurance-hero:after {
    background: linear-gradient(
      0deg,
      rgba(3, 18, 31, 0.98) 0%,
      rgba(3, 25, 39, 0.9) 47%,
      rgba(3, 25, 39, 0.05) 78%
    );
  }
  .article-hero:after {
    background: linear-gradient(
      0deg,
      rgba(6, 29, 23, 0.96) 0%,
      rgba(6, 29, 23, 0.72) 65%,
      rgba(6, 29, 23, 0.05) 100%
    );
  }
  .hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 34px 24px;
  }
  .hero-copy h1,
  .welfare-hero .hero-copy h1,
  .weather-hero .hero-copy h1,
  .insurance-hero .hero-copy h1 {
    font-size: 2.22rem;
  }
  .insurance-hero .hero-copy {
    width: 100%;
    padding: 30px 22px;
  }
  .hero-copy .dek {
    font-size: 1rem;
  }
  .quick-path-grid {
    grid-template-columns: 1fr;
  }
  .benefits {
    font-size: 0.78rem;
  }
  .benefits th,
  .benefits td {
    padding: 10px 7px;
  }
  footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
