/* Plain course cards (div.course-card, TH + EN): stack title, description and "covers" instead of a 3-column grid that collided in the narrow content column. article.course-card (in-house page) keeps its 3-column layout. Fold into the theme's style.css later. */
div.course-card{display:block;padding:22px 26px 20px;margin:0 0 24px}
div.course-card h3{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:0 0 12px;font-size:1.1rem;line-height:1.45}
div.course-card h3 .days{margin-left:0;padding:3px 9px;border:1px solid currentColor;border-radius:999px;line-height:1.3;font-size:.7rem}
div.course-card p{margin:0 0 12px;line-height:1.75}
div.course-card p.covers{margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line-card,rgba(14,42,71,.15))}

/* Course catalogue: each group's courses as a one-column table (figure.wp-block-table.course-table), followed by one quote box per group (p.course-quote: <strong>label</strong> <em>note</em> <a>button</a>), matching the in-house page. */
.article-body-copy figure.wp-block-table.course-table{margin:10px 0 0;overflow-x:visible}
.article-body-copy .course-table table{width:100%;border-collapse:collapse;border:1px solid var(--line-card,#C4D0DB);border-top:3px solid var(--amber,#F9AF03);background:#fff}
.article-body-copy .course-table thead{border:0}
.article-body-copy .course-table thead th{background:var(--navy-800,#0E2A47);color:#fff;font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:left;padding:11px 18px;border:0}
:lang(th) .article-body-copy .course-table thead th{letter-spacing:0;text-transform:none;font-size:.85rem}
.article-body-copy .course-table td{padding:12px 18px;border:0;border-top:1px solid var(--line-card,#C4D0DB);color:var(--navy-800,#0E2A47);font-size:.95rem;font-weight:600;line-height:1.5;background:#fff}
.article-body-copy .course-table tbody tr:nth-child(even) td{background:var(--tint-click,#E7EFF9)}
.article-body-copy p.course-quote{display:grid;grid-template-columns:1fr auto;column-gap:18px;row-gap:2px;align-items:center;margin:0 0 38px;padding:14px 18px;background:#F5F8FC;border:1px solid var(--line-card,#C4D0DB);border-top:0}
.course-quote strong{grid-column:1;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--amber-text,#8A5F00)}
:lang(th) .course-quote strong{letter-spacing:0;text-transform:none;font-size:.85rem}
.course-quote em{grid-column:1;font-style:normal;font-size:.88rem;color:#4a5a6a;line-height:1.5}
.course-quote a{grid-column:2;grid-row:1 / span 2;display:inline-block;padding:10px 18px;background:var(--amber,#F9AF03);border:1px solid var(--amber,#F9AF03);border-radius:2px;color:#071A2F;font-size:.85rem;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s,border-color .15s}
.course-quote a:hover,.course-quote a:focus-visible{background:var(--amber-dark,#D69400);border-color:var(--amber-dark,#D69400)}
@media (max-width:560px){.article-body-copy p.course-quote{grid-template-columns:1fr}.course-quote a{grid-column:1;grid-row:auto;margin-top:10px;text-align:center}.article-body-copy .course-table td,.article-body-copy .course-table thead th{padding:10px 12px}}

/* Course catalogue: small "Learn more" button at the right of each course row; its description pops up on hover, tap or keyboard focus (pure CSS, no script). Markup: td > .course-row > .course-name + .course-more > button.course-more-btn + .course-more-pop */
.course-row{display:flex;align-items:center;justify-content:space-between;gap:16px}
.course-more{position:relative;flex:none}
.course-more-btn{appearance:none;-webkit-appearance:none;margin:0;background:transparent;border:1px solid var(--line-card,#C4D0DB);border-radius:999px;padding:3px 11px;font:inherit;font-size:.74rem;font-weight:600;line-height:1.4;color:var(--navy-800,#0E2A47);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}
.course-more-btn:hover,.course-more-btn:focus-visible,.course-more:focus-within .course-more-btn{background:var(--navy-800,#0E2A47);border-color:var(--navy-800,#0E2A47);color:#fff;outline:none}
.course-more-btn:focus-visible{box-shadow:0 0 0 3px rgba(249,175,3,.55)}
.course-more-pop{display:none;position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(330px,78vw);padding:12px 15px;background:#fff;border:1px solid var(--line-card,#C4D0DB);border-top:3px solid var(--amber,#F9AF03);box-shadow:0 10px 28px rgba(14,42,71,.18);color:#14212E;font-size:.86rem;font-weight:400;line-height:1.65;text-align:left;white-space:normal}
.course-more-pop::before{content:"";position:absolute;right:18px;top:-9px;width:10px;height:10px;background:var(--amber,#F9AF03);transform:rotate(45deg);z-index:-1}
.course-more:hover .course-more-pop,.course-more:focus-within .course-more-pop{display:block}
:lang(th) .course-more-pop{font-size:.92rem}

/* Home hero, from index-prototype.html: three action tiles, a training panel listing the catalogue groups, and the three steps moved into a strip under the hero. Square corners inside the hero only. */
:root{--tp-blue:#1D5FAE;--tp-blue-hi:#2470C7}
.hero *,.hero *::before,.hero *::after,.tp-steps *{border-radius:0 !important}
.tp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:18px 0 44px;max-width:640px}
.tp-act{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:56px;padding:10px 16px 10px 14px;border:1.5px solid var(--amber);text-decoration:none;transition:transform .22s var(--ease),box-shadow .22s var(--ease),background-color .22s var(--ease),border-color .22s var(--ease)}
.tp-act--train{grid-column:1/-1;min-height:64px}
.tp-act .tp-ico{width:30px;height:30px;display:grid;place-items:center;background:none !important;transition:transform .22s var(--ease)}
.tp-act .tp-txt{display:flex;flex-direction:column;gap:2px;line-height:1.3}
.tp-act b{font-size:.92rem;font-weight:600;white-space:nowrap}
.tp-act--train b{font-size:1.02rem}
.tp-act .tp-sub{font-size:.74rem;opacity:.9}
.tp-act .tp-arrow{font-size:1.05rem;line-height:1;transition:transform .22s var(--ease)}
.tp-act:hover,.tp-act:focus-visible{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.3)}
.tp-act:hover .tp-arrow,.tp-act:focus-visible .tp-arrow{transform:translateX(5px)}
.tp-act:hover .tp-ico,.tp-act:focus-visible .tp-ico{transform:scale(1.06)}
.tp-act:focus-visible{outline:3px solid #fff;outline-offset:3px}
.tp-act:active{transform:translateY(-1px)}
.tp-act--train{background:var(--amber);color:var(--navy-900)}
.tp-act--train .tp-sub{color:#3D2C00}
.tp-act--train:hover{background:#FFC233;border-color:#FFC233}
.tp-act--consult{background:#fff;color:var(--navy-900)}
.tp-act--consult .tp-ico{color:var(--amber-text)}
.tp-act--consult .tp-sub{color:var(--grey-500)}
.tp-act--consult .tp-arrow{color:var(--amber-text)}
.tp-act--consult:hover{background:#FFFAEB}
.tp-act--public{background:var(--tp-blue);color:#fff}
.tp-act--public .tp-ico{color:var(--amber)}
.tp-act--public .tp-sub{color:#D6E4F5}
.tp-act--public .tp-arrow{color:var(--amber)}
.tp-act--public:hover{background:var(--tp-blue-hi)}
@media (max-width:560px){.tp-actions{grid-template-columns:1fr}.tp-act b{white-space:normal}}
@media (prefers-reduced-motion:reduce){.tp-act,.tp-act *{transition:none}.tp-act:hover,.tp-act:focus-visible{transform:none}}
.tp-panel{background:#fff;color:var(--ink);border-top:4px solid var(--amber);box-shadow:0 24px 60px rgba(0,0,0,.28);padding-bottom:20px;align-self:start}
.tp-panel-head{padding:24px 26px 18px}
.tp-panel-head .eyebrow{margin-bottom:8px}
.hero .tp-panel .tp-panel-head h2{font-size:1.12rem;line-height:1.45;margin:0;color:var(--navy-900)}
.tp-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 20px;padding:9px 14px;min-height:44px;text-decoration:none;font-size:.86rem;transition:filter .18s var(--ease),transform .18s var(--ease)}
.tp-bar:hover,.tp-bar:focus-visible{filter:brightness(1.1);transform:translateX(3px)}
.tp-bar .chev{color:var(--amber);font-size:1.15rem;line-height:1}
.tp-bar--navy{background:var(--navy-800);color:#fff}
.tp-bar--blue{background:var(--navy-700);color:#fff}
.tp-bar--public{background:var(--tp-blue);color:#fff}
.tp-bar--light{background:var(--grey-050);color:var(--navy-800);border:1.5px solid var(--grey-300)}
.tp-bar--light .chev{color:var(--amber-text)}
.tp-g{display:flex;flex-direction:column;line-height:1.3}
.tp-g span{font-size:.74rem;color:#B7C7D7;font-weight:400}
.tp-groups{list-style:none;margin:10px 20px 0;padding:0 0 0 14px;border-left:2px solid var(--amber)}
.tp-groups li{margin:0}
.tp-groups a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:7px 8px;border-bottom:1px solid var(--grey-100);text-decoration:none;color:var(--ink);transition:background-color .15s var(--ease)}
.tp-groups a:hover,.tp-groups a:focus-visible{background:#FFF8E6}
.tp-groups b{color:var(--navy-800);font-size:.86rem;font-weight:600}
.tp-groups .tp-g span{color:var(--grey-500)}
.tp-count{flex:none;font-size:.68rem;font-weight:600;color:var(--navy-800);background:#E7EFF9;padding:2px 8px;white-space:nowrap}
.tp-more{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.tp-quote{display:flex;justify-content:center;margin:20px 20px 0}
.hero .tp-quote{padding:12px 18px;font-size:.9rem}
.tp-steps{background:#fff;border-bottom:1px solid var(--grey-200)}
.tp-steps .container{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px 32px;padding-top:30px;padding-bottom:30px}
.tp-steps span{display:block;font-size:.74rem;font-weight:700;letter-spacing:.1em;color:var(--amber-text);margin-bottom:4px}
:lang(th) .tp-steps span{letter-spacing:0;font-size:.82rem}
.tp-steps p{margin:0;font-size:.95rem;color:var(--steel-600)}

/* Scope of work strip (.trustbar) under the home hero: navy band, eyebrow-style amber label, one tile per area. */
.trustbar{background:var(--navy-800,#0E2A47);border:0;padding:36px 0 40px}
.trustbar .container{display:block}
.trustbar ul{width:100%}
.trustbar .label{display:flex;align-items:center;gap:12px;margin:0 0 18px;color:var(--amber,#F9AF03);font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.trustbar .label::before{content:"";flex:none;width:28px;height:2px;background:var(--amber,#F9AF03)}
:lang(th) .trustbar .label{letter-spacing:0;text-transform:none;font-size:.95rem}
.trustbar ul{display:flex;flex-wrap:wrap;gap:12px 14px;margin:0;padding:0;list-style:none}
.trustbar ul li{flex:1 1 230px}
.trustbar li{display:flex;align-items:center;min-height:54px;margin:0;padding:12px 16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-left:3px solid var(--amber,#F9AF03);color:#fff;font-size:1rem;font-weight:600;line-height:1.4;transition:background .15s}
.trustbar li:hover{background:rgba(255,255,255,.1)}
.trustbar li::before,.trustbar li::after{content:none !important;display:none}

/* Scope of work tiles as links: a.scope-link > b (area) + .scope-desc (one line) + .scope-arrow */
.trustbar li:has(.scope-link){padding:0;align-items:stretch}
.trustbar .scope-link{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:5px;align-content:start;width:100%;padding:16px 16px 16px 18px;color:#fff;text-decoration:none;transition:background .18s var(--ease),transform .18s var(--ease)}
.trustbar .scope-link b{grid-column:1;font-size:1rem;font-weight:600;line-height:1.35;color:#fff}
.trustbar .scope-desc{grid-column:1;font-family:Inter,'IBM Plex Sans Thai',sans-serif;font-size:.82rem;font-weight:400;line-height:1.55;color:#C9D6E3}
.trustbar .scope-arrow{grid-column:2;grid-row:1;color:var(--amber,#F9AF03);font-size:1.05rem;line-height:1.35;transition:transform .18s var(--ease)}
.trustbar li:has(.scope-link):hover{background:rgba(255,255,255,.12)}
.trustbar .scope-link:hover .scope-arrow,.trustbar .scope-link:focus-visible .scope-arrow{transform:translateX(4px)}
.trustbar .scope-link:hover b{text-decoration:underline;text-decoration-color:var(--amber,#F9AF03);text-underline-offset:4px}
.trustbar .scope-link:focus-visible{outline:3px solid var(--amber,#F9AF03);outline-offset:2px}
:lang(th) .trustbar .scope-desc{font-size:.88rem}

/* Scope of work on white: same tiles (thin outline + amber left edge), dark text */
.trustbar{background:#fff;border-top:1px solid var(--grey-200,#DDE5EC);border-bottom:1px solid var(--grey-200,#DDE5EC)}
.trustbar .label{color:var(--amber-text,#8A5F00)}
.trustbar li{background:#fff;border:1px solid var(--line-card,#C4D0DB);border-left:3px solid var(--amber,#F9AF03);color:var(--navy-800,#0E2A47)}
.trustbar li:hover,.trustbar li:has(.scope-link):hover{background:var(--tint-click,#E7EFF9)}
.trustbar .scope-link,.trustbar .scope-link b{color:var(--navy-800,#0E2A47)}
.trustbar .scope-desc{color:var(--steel-600,#40607F)}
.trustbar .scope-arrow{color:var(--amber-text,#8A5F00)}

/* Scope tiles: the earlier navy fill (#1C3652) at 80% opacity inside the outline, on the white section */
.trustbar li{background:rgba(28,54,82,.8);color:#fff}
.trustbar li:hover,.trustbar li:has(.scope-link):hover{background:rgba(28,54,82,.92)}
.trustbar .scope-link,.trustbar .scope-link b{color:#fff}
.trustbar .scope-desc{color:#E1E8EF}
.trustbar .scope-arrow{color:var(--amber,#F9AF03)}

/* Scope of work label: larger and heavier, with a longer, thicker amber rule */
.trustbar .label{gap:14px;margin:0 0 22px;font-size:1rem;font-weight:800;letter-spacing:.16em;color:var(--amber-text,#8A5F00)}
.trustbar .label::before{width:44px;height:3px}
:lang(th) .trustbar .label{font-size:1.2rem;letter-spacing:0}