:root {
  --blue: #0b8ff2;
  --blue-dark: #075fae;
  --cyan: #1bd2f0;
  --yellow: #ffb51f;
  --orange: #ff8a2b;
  --green: #20a66a;
  --ink: #101828;
  --muted: #667085;
  --line: #e6edf5;
  --soft: #f6fbff;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.09);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 999; padding: 10px 16px; background: #000; color: #fff; border-radius: 10px; }
.skip-link:focus { top: 20px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,237,245,.9);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { padding: 11px 14px; border-radius: 12px; color: #344054; font-weight: 700; transition: .2s ease; }
.main-nav a:hover { color: var(--blue); background: #eef8ff; }
.main-nav .nav-cta { background: var(--blue); color: #fff; padding-inline: 18px; }
.main-nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 99px; }

.hero { background: linear-gradient(180deg,#f8fcff 0%,#fff 100%); overflow: hidden; }
.hero-image-wrap { width: 100%; background: #eaf7ff; }
.hero-image-wrap img { width: 100%; height: auto; aspect-ratio: 2031/774; object-fit: cover; }
.hero-actions { padding: 42px 0 64px; display: grid; grid-template-columns: 1.5fr .8fr; align-items: end; gap: 40px; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: .9rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(2rem, 4.5vw, 4.6rem); line-height: 1.08; letter-spacing: -.04em; }
h1 span { color: var(--blue); }
.hero-copy { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1.12rem; }
.button-row, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn { min-height: 48px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(11,143,242,.25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { background: #fff; border: 1px solid var(--line); }
.btn-secondary:hover { box-shadow: var(--shadow); }

.section-heading { margin-bottom: 36px; }
.section-heading.center { max-width: 760px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
.section-heading h2, .about-copy h2, .cta-box h2 { margin-bottom: 12px; font-size: clamp(2rem,3vw,3.25rem); line-height: 1.18; letter-spacing: -.03em; }
.section-heading p, .about-copy p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(16,24,40,.04); transition: .25s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cae9ff; }
.feature-card h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.feature-card p { color: var(--muted); font-size: .95rem; min-height: 76px; }
.feature-card a { color: var(--blue); font-weight: 900; }
.icon-badge { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.75rem; background: #e7f5ff; }
.icon-badge.coral { background: #fff0ea; }
.icon-badge.green { background: #e9f8f1; }
.icon-badge.yellow { background: #fff8df; }

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: center; }
.portrait-card { position: relative; max-width: 510px; margin-inline: auto; padding: 14px; background: #fff; border-radius: 38px; box-shadow: var(--shadow); }
.portrait-card img { width: 100%; border-radius: 28px; }
.portrait-chip { position: absolute; left: 34px; bottom: 34px; padding: 11px 15px; border-radius: 999px; background: rgba(16,24,40,.86); color: #fff; font-weight: 900; backdrop-filter: blur(8px); }
.about-copy .lead { color: #344054; font-size: 1.1rem; }
.check-list { margin: 28px 0; display: grid; gap: 16px; }
.check-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.check-list span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e8f6ff; color: var(--blue); font-weight: 900; }
.check-list p { margin: 0; font-size: .97rem; }
.check-list strong { color: var(--ink); }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--blue); font-weight: 900; }

.resources { position: relative; overflow: hidden; background: linear-gradient(180deg,#ffffff 0%,#f6fbff 100%); }
.resources::before,
.resources::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: .55;
  pointer-events: none;
}
.resources::before {
  width: 320px;
  height: 320px;
  right: -120px;
  top: 80px;
  background: radial-gradient(circle, rgba(11,143,242,.14) 0%, rgba(11,143,242,0) 70%);
}
.resources::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: 50px;
  background: radial-gradient(circle, rgba(255,159,28,.12) 0%, rgba(255,159,28,0) 70%);
}
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.split-heading-fancy { align-items: flex-start; }
.section-subcopy { max-width: 630px; margin-bottom: 0; }
.heading-note-box {
  max-width: 430px;
  padding: 18px 20px;
  border: 1px solid rgba(11,143,242,.12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(238,248,255,.96) 0%, rgba(255,252,242,.96) 100%);
  box-shadow: 0 16px 34px rgba(16,24,40,.06);
  backdrop-filter: blur(12px);
}
.heading-note-box strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 1rem;
}
.heading-note-box strong::before {
  content: "✦";
  color: #f4b400;
}
.heading-note-box p { margin-bottom: 0; font-size: .96rem; }
.resource-highlight {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.resource-highlight span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,143,242,.1);
  background: linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow: 0 10px 24px rgba(16,24,40,.05);
  color: #344054;
  font-size: .92rem;
  font-weight: 800;
}
.content-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.enhanced-grid { position: relative; z-index: 1; }
.content-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(208,221,237,.9);
  border-radius: 30px;
  background: linear-gradient(180deg,#ffffff 0%,#fcfdff 100%);
  box-shadow: 0 16px 40px rgba(16,24,40,.06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg,#0b8ff2 0%,#25c2ff 55%,#ffc83d 100%);
  z-index: 2;
}
.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(16,24,40,.12);
  border-color: rgba(11,143,242,.25);
}
.resource-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 12px 12px 0;
  background: linear-gradient(180deg,#eef8ff 0%,#f9fcff 60%,#ffffff 100%);
  border-bottom: 1px solid rgba(208,221,237,.75);
}
.resource-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,.22) 100%);
}
.resource-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 12px 24px rgba(11, 143, 242, .08);
  transition: transform .38s ease;
}
.content-card:hover .resource-cover { transform: scale(1.035); }
.resource-blue { background: linear-gradient(180deg,#eef8ff 0%, #ffffff 100%); }
.resource-yellow { background: linear-gradient(180deg,#fff8ea 0%, #ffffff 100%); }
.resource-green { background: linear-gradient(180deg,#eef8ff 0%, #ffffff 100%); }
.featured-card:nth-child(2) { transform: none; }
.featured-card:nth-child(2):hover { transform: translateY(-8px); }
.thumb {
  position: relative;
  min-height: 248px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  color: #fff;
  isolation: isolate;
}
.thumb::after {
  content: "";
  position: absolute;
  inset: auto -20px -54px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  filter: blur(.5px);
  z-index: -1;
}
.thumb-blue { background: linear-gradient(135deg,#0b8ff2 0%,#25c2ff 100%); }
.thumb-orange { background: linear-gradient(135deg,#ff9f1c 0%,#ff6432 100%); }
.thumb-green { background: linear-gradient(135deg,#19a86d 0%,#73d49c 100%); }
.thumb-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.thumb-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 2.5rem;
  font-weight: 1000;
  line-height: 1;
  backdrop-filter: blur(10px);
}
.thumb-icon.emoji { font-size: 2.2rem; }
.thumb-label {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  font-size: .85rem;
  font-weight: 900;
}
.thumb-copy {
  position: relative;
  z-index: 1;
  max-width: 92%;
}
.thumb-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.35rem;
  line-height: 1.25;
}
.thumb-copy small {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
.thumb-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.decor-ring {
  width: 120px;
  height: 120px;
  top: 24px;
  right: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
}
.decor-dot {
  width: 18px;
  height: 18px;
  right: 34px;
  bottom: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
}
.card-body { padding: 24px 24px 22px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.card-body h3 { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.3; }
.card-body p { margin-bottom: 16px; color: var(--muted); font-size: .97rem; }
.tag { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #eaf6ff; color: var(--blue-dark); font-size: .78rem; font-weight: 900; }
.tag.orange { background: #fff7db; color: #b77900; }
.tag.green { background: #eaf6ff; color: #075fae; }
.meta-chip {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f6f8fb;
  color: #667085;
  font-size: .76rem;
  font-weight: 800;
}
.card-points {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.card-points li {
  position: relative;
  padding-left: 22px;
  color: #475467;
  font-size: .93rem;
}
.card-points li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--blue);
  font-weight: 1000;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.count-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 10px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg,#eef8ff 0%, #fff7db 100%);
  color: #344054;
  font-size: .82rem;
  font-weight: 900;
}
.ghost-button {
  width: 100%;
  margin-top: 0;
  padding: 12px 15px;
  border: 1px dashed #bfd5ea;
  border-radius: 14px;
  background: linear-gradient(180deg,#fcfeff 0%,#f4f9fd 100%);
  color: #7f8ea3;
  cursor: not-allowed;
  font-weight: 800;
}

.articles { background: #fbfdff; }
.article-list { border-top: 1px solid var(--line); }
.article-list article { display: grid; grid-template-columns: 70px 1fr 48px; gap: 18px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); }
.article-number { color: #98a2b3; font-weight: 900; font-size: 1.1rem; }
.article-list h3 { margin: 10px 0 5px; font-size: 1.28rem; }
.article-list p { margin-bottom: 0; color: var(--muted); }
.article-arrow { font-size: 1.5rem; color: var(--blue); }

.cta { padding-top: 80px; }
.cta-box { padding: 54px; border-radius: 34px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: center; color: #fff; background: linear-gradient(135deg,#075fae,#0b8ff2 55%,#08b9d9); box-shadow: 0 24px 60px rgba(11,143,242,.28); }
.cta-box h2 { max-width: 720px; }
.cta-box p { margin-bottom: 0; color: rgba(255,255,255,.82); }
.eyebrow.light { color: #d9f7ff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }

.site-footer { margin-top: 92px; padding: 58px 0 24px; background: #0d1727; color: #d7e1ee; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; }
.footer-brand img { width: 220px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.15)); }
.footer-brand p { max-width: 500px; margin-top: 20px; color: #96a6bb; }
.site-footer h3 { margin-bottom: 12px; color: #fff; font-size: 1rem; }
.site-footer a { display: block; width: fit-content; margin: 8px 0; color: #b6c3d3; }
.site-footer a:hover { color: #fff; }
.copyright { margin-top: 42px; padding-top: 22px; border-top: 1px solid #26344a; display: flex; justify-content: space-between; gap: 20px; color: #7f90a7; font-size: .9rem; }
.copyright p { margin-bottom: 0; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { gap: 42px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .content-card:last-child { grid-column: 1 / -1; }
  .featured-card:nth-child(2) { transform: none; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 68px 0; }
  .site-header { backdrop-filter: blur(10px); }
  .nav-wrap { min-height: 68px; }
  .brand img { width: 160px; }
  .menu-toggle { display: flex; }
  .main-nav { position: absolute; top: 68px; left: 14px; right: 14px; display: none; padding: 12px; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .hero-image-wrap img { min-height: 240px; object-position: center; }
  .hero-actions { grid-template-columns: 1fr; padding: 30px 0 46px; gap: 24px; }
  .button-row { justify-content: flex-start; }
  .btn { flex: 1 1 180px; }
  .feature-grid, .content-grid, .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .content-card:last-child { grid-column: auto; }
  .feature-card p { min-height: auto; }
  .split-heading { display: block; }
  .heading-note-box { max-width: 100%; margin-top: 16px; }
  .thumb { min-height: 220px; }
  .thumb-copy { max-width: 100%; }
  .card-footer { flex-direction: column; align-items: stretch; }
  .count-pill { width: 100%; }
  .portrait-card { max-width: 430px; }
  .article-list article { grid-template-columns: 48px 1fr; }
  .article-arrow { display: none; }
  .cta-box { padding: 34px 24px; border-radius: 26px; }
  .copyright { flex-direction: column; }
}

@media (max-width: 440px) {
  h1 { font-size: 2.25rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .portrait-chip { left: 24px; bottom: 24px; font-size: .82rem; }
  .thumb { min-height: 190px; }
  .thumb-icon { width: 64px; height: 64px; font-size: 2rem; }
  .thumb-copy strong { font-size: 1.18rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Updates & gallery */
.updates {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg,#f8fcff 0%,#ffffff 100%);
}
.updates::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -180px;
  top: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,194,255,.12), rgba(37,194,255,0) 70%);
  pointer-events: none;
}
.update-heading { align-items: flex-start; }
.update-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.update-tab {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #667085;
  font-size: .85rem;
  font-weight: 900;
}
.update-tab.active {
  border-color: rgba(11,143,242,.2);
  background: #eaf6ff;
  color: var(--blue-dark);
}
.update-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 24px;
}
.update-featured {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16,24,40,.07);
}
.update-featured-media { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #eaf6ff; }
.update-featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.update-featured:hover .update-featured-media img { transform: scale(1.025); }
.update-badge {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0c5f9f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(16,24,40,.14);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  font-weight: 900;
}
.update-featured-body { padding: 26px 28px 28px; }
.update-meta { display: flex; gap: 10px 18px; flex-wrap: wrap; margin-bottom: 10px; color: #98a2b3; font-size: .82rem; font-weight: 800; }
.update-featured h3 { margin: 0 0 10px; font-size: clamp(1.45rem,2vw,2rem); line-height: 1.25; }
.update-featured p { margin-bottom: 16px; color: var(--muted); }
.update-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 900; }
.update-side-list { display: grid; gap: 14px; align-content: start; }
.update-mini-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16,24,40,.04);
}
.update-mini-card img { width: 132px; height: 104px; object-fit: cover; border-radius: 16px; background: #f1f7fb; }
.update-mini-card h3 { margin: 8px 0 4px; font-size: 1.02rem; line-height: 1.3; }
.update-mini-card p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.update-admin-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  padding: 18px;
  border: 1px dashed #acd5f1;
  border-radius: 22px;
  background: linear-gradient(135deg,#eff8ff 0%,#fff9e9 100%);
}
.update-admin-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
}
.update-admin-note strong { display: block; margin-bottom: 3px; color: #0c5f9f; }
.update-admin-note p { margin: 0; color: #667085; font-size: .86rem; }
.gallery-head {
  margin-top: 52px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.gallery-head h3 { margin: 0; font-size: 1.6rem; }
.gallery-head > p { max-width: 540px; margin: 0; color: var(--muted); }
.photo-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 14px; }
.photo-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  margin: 0;
  border-radius: 24px;
  background: #eaf6ff;
  box-shadow: 0 14px 32px rgba(16,24,40,.06);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .35s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg,transparent,rgba(7,45,78,.7));
}
.photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.photo-wide { min-height: 270px; }

@media (max-width: 980px) {
  .update-grid { grid-template-columns: 1fr; }
  .update-side-list { grid-template-columns: 1fr 1fr; }
  .update-admin-note { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-wide { min-height: 220px; }
}

@media (max-width: 760px) {
  .update-tabs { justify-content: flex-start; margin-top: 18px; }
  .update-side-list { grid-template-columns: 1fr; }
  .update-admin-note { grid-column: auto; }
  .update-mini-card { grid-template-columns: 110px 1fr; }
  .update-mini-card img { width: 110px; height: 92px; }
  .gallery-head { display: block; }
  .gallery-head > p { margin-top: 8px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-card, .photo-wide { min-height: 180px; }
}

@media (max-width: 480px) {
  .update-featured-media { aspect-ratio: 4 / 3; }
  .update-featured-body { padding: 22px; }
  .update-mini-card { grid-template-columns: 1fr; }
  .update-mini-card img { width: 100%; height: 170px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-card, .photo-wide { min-height: 220px; }
}

/* Dynamic post controls */
.update-tab{cursor:pointer;user-select:none}.update-tab:focus-visible{outline:3px solid rgba(11,143,242,.22);outline-offset:3px}
.update-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.update-download,.mini-download{display:inline-flex;align-items:center;gap:6px;color:#075fae;font-weight:900;text-decoration:none}.update-download{padding:9px 12px;border-radius:11px;background:#eef7ff;border:1px solid #d5eaf8}.mini-download{margin-top:6px;font-size:.82rem}.update-empty{grid-column:1/-1;padding:36px;border:1px dashed #cadbe8;border-radius:22px;text-align:center;color:#667085;background:#fbfdff}
.update-link.update-open{border:0;background:transparent;padding:0;font:inherit;cursor:pointer}.update-mini-card.update-open{cursor:pointer}.update-mini-card.update-open:focus-visible{outline:3px solid rgba(11,143,242,.22);outline-offset:3px}
.public-post-dialog{width:min(920px,calc(100% - 28px));max-height:92vh;border:0;border-radius:28px;padding:0;background:#fff;box-shadow:0 30px 90px rgba(16,24,40,.26)}.public-post-dialog::backdrop{background:rgba(9,20,35,.56);backdrop-filter:blur(5px)}.public-post-card{position:relative;padding:24px}.public-post-close{position:absolute;right:18px;top:18px;z-index:2;width:42px;height:42px;border:1px solid rgba(255,255,255,.6);border-radius:50%;background:rgba(13,23,39,.7);color:#fff;font-size:1.5rem;line-height:1}.public-post-cover{width:100%;max-height:460px;object-fit:cover;border-radius:20px;background:#eef5fa}.public-post-meta{display:flex;align-items:center;gap:12px;margin-top:20px;color:#8795a7;font-size:.9rem}.public-post-card h2{margin:14px 0 10px;font-size:clamp(1.8rem,4vw,3rem);line-height:1.2}.public-post-lead{font-size:1.1rem;color:#475467}.public-post-text{margin-top:20px;color:#344054;line-height:1.85}.public-post-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.public-post-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px}.public-post-download{display:inline-flex;margin-top:24px;padding:12px 16px;border-radius:13px;background:#0b8ff2;color:#fff;font-weight:900;text-decoration:none;box-shadow:0 10px 24px rgba(11,143,242,.2)}@media(max-width:640px){.public-post-card{padding:14px}.public-post-gallery{grid-template-columns:1fr}.public-post-cover{border-radius:16px}.public-post-close{right:22px;top:22px}}
#dynamic-articles article.update-open{cursor:pointer}#dynamic-articles article.update-open:focus-visible{outline:3px solid rgba(11,143,242,.2);outline-offset:4px}
