/* 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}

/* Roomier spacing (2026-11-26): same design, more air between and inside
   blocks. Values scale with the screen so phones stay compact. */
.section{padding:clamp(72px,9vw,136px) 0}
.section--tight{padding:clamp(56px,6.5vw,100px) 0}
.section-head{margin-bottom:clamp(40px,5vw,72px)}
.section-head h2{margin-bottom:16px}
.eyebrow{margin-bottom:18px}
p{margin-bottom:1.3em}
.grid{gap:clamp(28px,3.2vw,44px)}
.split{gap:clamp(48px,7vw,112px)}
.hero-inner{padding:clamp(64px,9vw,128px) 0 clamp(56px,8vw,112px)}
.hero h1{margin-bottom:28px}
.hero-sub{margin-bottom:20px}
.hero-stats{gap:clamp(36px,5vw,72px);padding-top:clamp(32px,3.5vw,48px)}
.hero-grid{gap:clamp(48px,6vw,96px)}
.results{padding:clamp(64px,8vw,112px) 0}
.results-head{margin-bottom:clamp(32px,4vw,52px)}
.offer-band{padding:clamp(64px,8vw,104px) 0}
.cta-band{padding:clamp(80px,9vw,128px) 0}
.site-footer{padding-top:clamp(72px,8vw,112px)}
.challenge,.challenge-grid .challenge{padding:clamp(32px,3.2vw,44px) clamp(28px,3vw,40px)}
.svc-card{padding:clamp(34px,3.4vw,46px) clamp(30px,3vw,42px)}
.fw-step{padding:clamp(34px,3.4vw,46px) clamp(28px,2.8vw,38px)}
.course{padding:clamp(28px,2.8vw,38px) clamp(26px,2.8vw,38px)}
.article-body{padding:clamp(26px,2.8vw,38px) clamp(26px,2.8vw,36px)}
.case-body{padding:clamp(30px,3vw,42px) clamp(30px,3vw,40px)}
.cred{padding:clamp(30px,3vw,42px) clamp(28px,3vw,40px)}
.feature-article{margin-bottom:clamp(40px,5vw,64px)}
.feature-article .fa-body{padding:clamp(40px,5vw,72px) clamp(36px,5vw,76px)}
.filter-bar{margin-bottom:clamp(36px,4vw,52px)}
.article-hero{padding:clamp(64px,8vw,112px) 0 clamp(56px,7vw,96px)}
.article-hero--roomy{padding:clamp(56px,7vw,96px) 0 clamp(52px,6.5vw,88px)}
.article-hero--compact{padding:clamp(40px,4.5vw,64px) 0 clamp(36px,4vw,56px)}
.article-layout{padding:clamp(56px,6.5vw,96px) 0 clamp(88px,9vw,136px)}
.article-layout--solo{padding:clamp(48px,6vw,88px) 0 clamp(24px,3vw,48px)}
.fw-rail{margin-top:clamp(44px,5vw,72px)}
.article-body-copy li{margin-bottom:.75em}
.callout,.exec-summary{padding:clamp(26px,3vw,40px) clamp(28px,3.2vw,44px)}
div.course-card{padding:clamp(24px,2.8vw,34px) clamp(26px,3vw,38px) clamp(22px,2.6vw,32px);margin-bottom:clamp(24px,2.6vw,32px)}

/* Header: full width, McKinsey-style (2026-11-26).
   Logo at the left edge, menu beside it, compact CTA at the right edge.
   CTA only where it fits; hamburger menu below 1300px (the full menu did not fit 1121-1299px). */
.topbar .container,.site-header .container{max-width:none;padding-left:clamp(20px,2.5vw,56px);padding-right:clamp(20px,2.5vw,56px)}
.site-header .container{gap:0}
/* Menu centred in the space between the brand and the right edge, never closer than the padding to the brand */
.site-header .nav{margin-left:auto;margin-right:auto;padding-left:clamp(16px,2.4vw,48px)}
.site-header .header-cta{margin-left:24px;padding:11px 20px;font-size:.86rem}
@media (max-width:1639.98px){.site-header .header-cta{display:none}}
@media (max-width:1719.98px){html[lang="th"] .site-header .header-cta{display:none}}
@media (min-width:1121px) and (max-width:1299.98px){
.site-header .nav{display:none}
.site-header .nav-toggle{display:block;margin-left:auto}
.site-header .nav.is-open{display:block;position:absolute;top:100%;left:0;right:0;margin:0;background:#fff;border-bottom:1px solid var(--line-static);padding:8px 24px 20px;max-height:78vh;overflow-y:auto;box-shadow:var(--shadow-lift);z-index:80}
.site-header .nav.is-open .nav-item{display:block;width:100%}
.site-header .nav.is-open .nav-item > a{display:block;padding:13px 0;font-size:1rem;border-bottom:1px solid var(--grey-100)}
.site-header .nav.is-open .caret{display:none}
.site-header .nav.is-open .submenu{position:static;opacity:1;visibility:visible;transform:none;border:0;border-left:2px solid var(--amber);box-shadow:none;min-width:0;padding:4px 0 10px;margin:0 0 6px 2px;background:transparent}
.site-header .nav.is-open .submenu a{padding:9px 14px;font-size:.93rem}
}
/* Thai home: course-quote button overflowed 5px on phones (width:100% plus side margins) (2026-11-26) */
.tp-courses .tp-quote{width:auto}
/* No dash before eyebrow labels, site-wide (2026-11-26) */
.eyebrow::before,.trustbar .label::before{display:none}
/* Header brand lockup (2026-11-26): the logo stands in for "TPM", "Consulting Services" sits beside it, "Manufacturing Excellence" runs under both.
   The theme prints "TPM Consulting"; it stays in the page for screen readers and search, and the visible words come from ::before. */
.site-header .brand{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"logo name" "sub sub";justify-content:start;align-items:center;column-gap:5px;row-gap:5px}
/* Header logo: navy letters on the original orange, from the media library (2026-11-26). The theme's <img> keeps its alt text; the new image is drawn as its background. */
.site-header .brand-logo{grid-area:logo;box-sizing:content-box;height:52px;width:calc(52px * 389 / 274);border:0;object-fit:none;object-position:-9999px 0;background:url(/wp-content/uploads/2026/11/tpm-logo-navy-on-orange.png) center / contain no-repeat}
.site-header .brand-text{display:contents}
.site-header .brand-name{grid-area:name;font-size:0;line-height:0;letter-spacing:0}
.site-header .brand-name::before{content:"Consulting\A Services";content:"Consulting\A Services" / "";display:block;white-space:pre;font-size:1.34rem;line-height:1.05;letter-spacing:-.01em}
.site-header .brand-sub{grid-area:sub;margin-top:0}
@media (max-width:640px){.site-header .brand-logo{height:38px;width:calc(38px * 389 / 274)}.site-header .brand-name::before{font-size:1.06rem}.site-header .brand{row-gap:3px}}

/* Sea texture on navy surfaces, site-wide (2026-11-26).
   One soft blue texture image (media 2209). Large navy blocks get it under a navy tint;
   the six course cards (.cc-grid) each show their own slice of one shared layer.
   Header bar, photo hero, the client strip joined to it, and the footer stay plain. */
:root{--tpm-sea:url("/wp-content/uploads/2026/11/tpm-sea-texture.webp")}
.section--navy,.cta-band,.gate-visual,.article-hero{background-color:var(--navy-800);background-image:linear-gradient(rgba(14,42,71,.45),rgba(14,42,71,.45)),var(--tpm-sea);background-size:cover;background-position:center;background-repeat:no-repeat}
.article-hero{background-color:var(--navy-900);background-image:linear-gradient(rgba(7,26,47,.5),rgba(7,26,47,.5)),var(--tpm-sea)}

.cc-grid{container-type:inline-size;--cc-gap:clamp(20px,2.4vw,32px)}
@media (min-width:700px) and (max-width:959px){.cc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:699px){.cc-grid{grid-template-columns:minmax(0,1fr)}}
.cc-card{isolation:isolate;background-color:var(--navy-800);background-image:linear-gradient(to top,rgba(7,26,47,.6) 0%,rgba(7,26,47,0) 45%),var(--tpm-sea);background-repeat:no-repeat;background-size:100% 100%,var(--cc-size,auto 600%);background-position:0 0,var(--cc-pos,50% 0%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07),0 1px 2px rgba(7,26,47,.06),0 14px 28px -16px rgba(7,26,47,.45)}
.cc-grid>li:nth-child(2) .cc-card{--cc-pos:50% 20%}
.cc-grid>li:nth-child(3) .cc-card{--cc-pos:50% 40%}
.cc-grid>li:nth-child(4) .cc-card{--cc-pos:50% 60%}
.cc-grid>li:nth-child(5) .cc-card{--cc-pos:50% 80%}
.cc-grid>li:nth-child(6) .cc-card{--cc-pos:50% 100%}
@media (min-width:700px) and (max-width:959px){
.cc-card{--cc-size:auto 300%}
.cc-grid>li:nth-child(1) .cc-card{--cc-pos:0 0%}
.cc-grid>li:nth-child(2) .cc-card{--cc-pos:calc(-50cqw - var(--cc-gap) / 2) 0%}
.cc-grid>li:nth-child(3) .cc-card{--cc-pos:0 50%}
.cc-grid>li:nth-child(4) .cc-card{--cc-pos:calc(-50cqw - var(--cc-gap) / 2) 50%}
.cc-grid>li:nth-child(5) .cc-card{--cc-pos:0 100%}
.cc-grid>li:nth-child(6) .cc-card{--cc-pos:calc(-50cqw - var(--cc-gap) / 2) 100%}
}
@media (min-width:960px){
.cc-card{--cc-size:calc(300% + 2 * var(--cc-gap)) 200%}
.cc-grid>li:nth-child(1) .cc-card{--cc-pos:0 0}
.cc-grid>li:nth-child(2) .cc-card{--cc-pos:50% 0}
.cc-grid>li:nth-child(3) .cc-card{--cc-pos:100% 0}
.cc-grid>li:nth-child(4) .cc-card{--cc-pos:0 100%}
.cc-grid>li:nth-child(5) .cc-card{--cc-pos:50% 100%}
.cc-grid>li:nth-child(6) .cc-card{--cc-pos:100% 100%}
}
.cc-card::before{z-index:1}
.cc-card::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(255,255,255,.05);opacity:0;transition:opacity .25s var(--ease)}
.cc-card:hover,.cc-card:focus-visible{background-color:var(--navy-800);box-shadow:inset 0 0 0 1px rgba(255,255,255,.10),var(--shadow-lift)}
.cc-card:hover::after,.cc-card:focus-visible::after{opacity:1}
.cc-count{padding-bottom:clamp(18px,2.2vw,26px);margin-bottom:clamp(20px,2.4vw,28px);border-bottom:1px solid rgba(255,255,255,.12)}

/* Thai labels (2026-11-26): wide letter-spacing is for Latin capitals; it pulls Thai letters and tone marks apart. */
html[lang|="th"] .eyebrow,html[lang|="th"] .cc-count{letter-spacing:0}


/* Consultant gallery: 11 photos after removing site-07 (2026-11-27). The last photo spans two columns so the final row closes in 4, 3 and 2 column layouts. */
@media (min-width: 640px) {
	#gallery .photo-grid > .ph:nth-child(11):last-child { grid-column: span 2; }
	#gallery .photo-grid > .ph:nth-child(11):last-child img { aspect-ratio: 2.79 / 1; }
}


/* Hero points without tick boxes (2026-11-28): the heading and text run full width. */
.hero-points .tick{display:none}
.hero-points li{display:block}


/* Ways to take a course as a flat list (2026-11-28): hairline rows like an events list, no boxes or shadows, so it never repeats the 3-column course cards below. Each row shows a larger title with its short description; on devices that can hover, a circled-arrow "Learn more" link appears; a right-hand column gives two short details (where, language, format) on hover or keyboard focus, and touch screens always show it. Customised course has an amber icon. */
.cc-ways .cc-ways-grid{grid-template-columns:1fr;gap:0;background:none;border:0;border-top:1px solid rgba(20,33,46,.3);box-shadow:none}
.cc-ways a.cc-way,.cc-ways .cc-ways-grid a.cc-way{text-align:left;margin:0;padding:30px 8px;background:transparent;border:0;border-bottom:1px solid rgba(20,33,46,.3);border-radius:0;box-shadow:none}
.cc-ways a.cc-way.cc-way--custom{margin:0;border:0;border-bottom:1px solid rgba(20,33,46,.3);box-shadow:none;background:transparent}
.cc-ways a.cc-way:hover,.cc-ways a.cc-way:focus-visible,.cc-ways a.cc-way.cc-way--custom:hover{background:transparent}
.cc-ways a.cc-way .cc-way-t{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:26px;row-gap:0;align-items:start;text-align:left}
.cc-ways a.cc-way .cc-way-ic{grid-column:1;grid-row:1;align-self:center;box-sizing:border-box;width:34px;height:34px;margin:0;padding:0;background:none;color:var(--navy-800)}
.cc-ways a.cc-way:hover .cc-way-ic,.cc-ways a.cc-way:focus-visible .cc-way-ic{background:none;color:var(--navy-900)}
.cc-ways a.cc-way.cc-way--custom .cc-way-ic,.cc-ways a.cc-way.cc-way--custom:hover .cc-way-ic{color:var(--amber-dark)}
.cc-ways a.cc-way b{grid-column:2;grid-row:1;font-size:clamp(1.4rem,1.9vw,1.65rem);font-weight:500;line-height:1.3;color:var(--navy-900);transition:color .2s var(--ease)}
.cc-ways a.cc-way:hover b,.cc-ways a.cc-way:focus-visible b{color:var(--navy-700)}
.cc-ways a.cc-way .cc-way-s{grid-column:2;grid-row:2;max-width:62ch;margin:6px 0 0;text-wrap:pretty;font-size:.95rem;line-height:1.55;color:#45576A}
.cc-ways a.cc-way .cc-way-t::after{content:"Learn more";grid-column:2;grid-row:3;justify-self:start;margin-top:16px;padding:0 0 0 38px;min-height:28px;line-height:28px;border:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13.2' fill='none' stroke='%230E2A47' stroke-width='1.2'/%3E%3Cpath d='M10 18 18 10M11.5 10H18v6.5' fill='none' stroke='%230E2A47' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat left center/28px 28px;color:var(--navy-900);font-family:var(--font-body,Inter,sans-serif);font-size:.9rem;font-weight:500;letter-spacing:0;white-space:nowrap}
html[lang|="th"] .cc-ways a.cc-way .cc-way-t::after{content:"ดูเพิ่มเติม"}
.cc-ways a.cc-way .cc-way-m{grid-column:2;grid-row:4;margin-top:12px;font-family:var(--font-body,Inter,sans-serif);font-size:.9rem;line-height:1.5;color:var(--ink,#14212E);text-align:left}
.cc-ways a.cc-way:hover .cc-way-t::after,.cc-ways a.cc-way:focus-visible .cc-way-t::after{background-color:transparent;color:var(--navy-900)}
@media (min-width:760px){
.cc-ways a.cc-way .cc-way-t{grid-template-columns:34px minmax(0,1fr) minmax(160px,auto)}
.cc-ways a.cc-way .cc-way-m{grid-column:3;grid-row:1 / span 2;align-self:center;margin:0 0 0 32px;text-align:right}
}
@media (hover:hover) and (min-width:760px){
.cc-ways a.cc-way .cc-way-t::after{max-height:0;min-height:0;margin-top:0;opacity:0;overflow:hidden;transition:max-height .3s var(--ease),margin-top .3s var(--ease),opacity .2s var(--ease)}
.cc-ways a.cc-way:hover .cc-way-t::after,.cc-ways a.cc-way:focus-visible .cc-way-t::after{max-height:40px;min-height:28px;margin-top:16px;opacity:1}
}