/* CPTA base styles and general layouts */
:root {
  --blue:#1768a9;
  --navy:#164779;
  --dark:#17344b;
  --muted:#6d7e8e;
  --line:#e1e8ee;
  --pale:#eaf4fb;
  --bg:#fff;
  --container:1040px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:var(--dark);
  font:16px/1.7 system-ui,-apple-system,"Segoe UI",Arial,"Noto Sans Khmer",sans-serif
}

a {
  color:var(--blue);
  text-decoration:none
}

a:hover {
  text-decoration:underline
}

img {
  max-width:100%;
  height:auto
}

button,input,select,textarea {
  font:inherit
}

button {
  cursor:pointer
}

*:focus-visible {
  outline:3px solid #f4ba4b;
  outline-offset:3px
}

.container {
  max-width:var(--container);
  padding:0 24px;
  margin:auto
}

.skip-link {
  position:absolute;
  top:-100px;
  background:#fff;
  padding:10px;
  z-index:999
}

.skip-link:focus {
  top:0
}

.site-header {
  background:#fff;
  border-bottom:1px solid var(--line)
}

.header-wrap {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:104px
}

.brand {
  display:flex;
  gap:12px;
  align-items:center;
  min-width:0;
  max-width:440px
}

.brand img {
  width:68px;
  height:68px;
  object-fit:contain
}

.brand-name {
  display:block;
  font-size:15px;
  font-weight:800;
  line-height:1.35;
  color:var(--navy);
  letter-spacing:.02em
}

.brand-sub {
  display:block;
  font-size:11px;
  color:var(--muted);
  line-height:1.6
}

.main-nav {
  margin-left:auto
}

.main-nav ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap
}

.main-nav a {
  font-size:14px;
  color:var(--dark);
  font-weight:650
}

.main-nav .current-menu-item>a {
  color:var(--blue)
}

.menu-toggle {
  display:none;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:7px 12px
}

.header-account {
  background:var(--navy);
  color:#fff!important;
  border-radius:8px;
  padding:9px 14px;
  font-size:13px;
  font-weight:700;
  white-space:nowrap
}

.intro {
  padding:36px 0 10px
}

.eyebrow {
  color:var(--blue);
  letter-spacing:.13em;
  text-transform:uppercase;
  font-size:12px;
  font-weight:750
}

.intro h1 {
  font-size:clamp(29px,4vw,42px);
  margin:5px 0 1px;
  letter-spacing:-.04em;
  line-height:1.25;
  color:var(--navy)
}

.intro p {
  color:var(--muted);
  margin:2px 0
}

.feature {
  margin:22px 0 32px;
  padding:28px 30px 56px;
  border-radius:15px;
  background:linear-gradient(115deg,#123f70,#2679b6);
  color:#fff;
  position:relative;
  min-height:195px
}

.slide {
  display:none
}

.slide.is-active {
  display:block
}

.slide-kicker {
  font-size:11px;
  letter-spacing:.13em;
  font-weight:700;
  opacity:.85
}

.slide h2 {
  font-size:clamp(20px,3vw,29px);
  line-height:1.5;
  margin:8px 0 4px;
  max-width:850px
}

.slide h2 a {
  color:#fff
}

.slide-en {
  color:#e3f1fa;
  font-size:16px;
  margin:0
}

.slide-meta {
  font-size:12px;
  opacity:.8;
  margin:12px 0 0
}

.slide-controls {
  position:absolute;
  bottom:15px;
  right:22px;
  display:flex;
  align-items:center;
  gap:11px;
  font-size:12px
}

.slide-controls button {
  background:#ffffff20;
  border:1px solid #ffffff66;
  color:#fff;
  border-radius:50%;
  width:30px;
  height:30px
}

.section-header {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  border-bottom:2px solid var(--line);
  padding-bottom:10px;
  margin-bottom:0
}

.section-header h2 {
  font-size:22px;
  color:var(--navy);
  margin:0
}

.section-header h2 span {
  font-size:15px;
  color:var(--muted);
  font-weight:500
}

.news-row {
  display:grid;
  grid-template-columns:155px 1fr;
  gap:22px;
  padding:22px 0;
  border-bottom:1px solid var(--line)
}

.news-thumb {
  display:block;
  width:155px;
  height:105px;
  border-radius:7px;
  overflow:hidden;
  background:var(--pale)
}

.news-thumb img {
  height:100%;
  width:100%;
  object-fit:cover
}

.news-placeholder {
  height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  color:var(--navy);
  font-size:13px;
  letter-spacing:.12em;
  font-weight:750
}

.news-meta,.entry-meta {
  font-size:12px;
  color:var(--muted);
  margin:0 0 5px
}

.news-body h3 {
  font-size:18px;
  line-height:1.45;
  margin:0 0 3px
}

.news-body h3 a {
  color:var(--dark)
}

.news-en {
  font-size:14px;
  color:var(--blue);
  font-weight:600;
  margin:0 0 7px
}

.news-excerpt {
  font-size:13px;
  color:var(--muted);
  margin:0
}

.news-more {
  font-size:12px;
  font-weight:750;
  margin-top:7px;
  display:inline-block
}

.pagination {
  padding:25px 0;
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.pagination .page-numbers {
  border:1px solid var(--line);
  border-radius:6px;
  padding:5px 11px
}

.pagination .current {
  background:var(--navy);
  color:#fff
}

.content-page {
  max-width:850px;
  padding-top:38px;
  padding-bottom:70px;
  min-height:53vh
}

.content-page h1 {
  font-size:clamp(26px,3.5vw,38px);
  line-height:1.4;
  color:var(--navy);
  margin:8px 0 10px
}

.entry-cover {
  margin:20px 0
}

.entry-cover img {
  border-radius:10px;
  width:100%;
  height:auto
}

.entry-content {
  overflow-wrap:anywhere
}

.entry-content img {
  height:auto
}

.site-footer {
  border-top:1px solid var(--line);
  background:#f5f9fc;
  padding:28px 0;
  color:var(--muted);
  font-size:13px
}

.footer-wrap {
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap
}

.footer-nav ul {
  list-style:none;
  display:flex;
  gap:17px;
  flex-wrap:wrap;
  margin:0;
  padding:0
}

.footer-nav a {
  color:var(--navy)
}

.wp-block-image {
  margin:1.5em 0
}

.pmpro,.pmpro_form,.pmpro_card {
  max-width:900px
}

.pmpro input:not([type=checkbox]):not([type=radio]),.pmpro_form input:not([type=checkbox]):not([type=radio]),.pmpro_form select,.pmpro_form textarea {
  border:1px solid #cbd8e4;
  border-radius:7px;
  padding:11px;
  max-width:100%
}

.pmpro_btn,.pmpro a.pmpro_btn,.pmpro_form input[type=submit],.pmpro .pmpro_btn-primary {
  background:var(--navy);
  border:0;
  border-radius:8px;
  color:#fff;
  padding:11px 19px;
  font-weight:700
}

.pmpro_card,.pmpro_section {
  border-radius:10px
}

.notice {
  background:var(--pale);
  padding:18px;
  border-radius:8px
}

.screen-reader-text {
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

@media(max-width:900px) {
  .header-wrap {
  flex-wrap:wrap;
  padding-top:13px;
  padding-bottom:13px
}

.menu-toggle {
  display:block;
  margin-left:auto
}

.main-nav {
  display:none;
  order:4;
  width:100%;
  margin-left:0
}

.main-nav.is-open {
  display:block
}

.main-nav ul {
  display:flex;
  align-items:start;
  flex-direction:column;
  gap:0
}

.main-nav li {
  width:100%;
  border-bottom:1px solid var(--line);
  padding:8px 0
}

.header-account {
  margin-left:0
}

}

@media(max-width:600px) {
  .container {
  padding:0 17px
}

.brand img {
  width:54px;
  height:54px
}

.brand-name {
  font-size:12px
}

.brand-sub {
  font-size:10px
}

.header-account {
  font-size:12px;
  padding:7px 9px
}

.feature {
  padding:22px 20px 53px
}

.news-row {
  grid-template-columns:108px 1fr;
  gap:14px
}

.news-thumb {
  width:108px;
  height:85px
}

.news-body h3 {
  font-size:15px
}

.news-excerpt {
  display:none
}

.news-en {
  font-size:12px
}

.section-header h2 {
  font-size:19px
}

.section-header h2 span {
  font-size:12px
}

}
