/* Every selector is scoped: leave the existing homepage/job cards untouched. */
@font-face{font-family:SourceDirectorySarabun;font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/sarabun-v17/sarabun-400-thai.woff2') format('woff2');unicode-range:U+0E00-0E7F}
@font-face{font-family:SourceDirectorySarabun;font-style:normal;font-weight:700 800;font-display:swap;src:url('/assets/fonts/sarabun-v17/sarabun-700-thai.woff2') format('woff2');unicode-range:U+0E00-0E7F}
@font-face{font-family:SourceDirectorySarabun;font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/sarabun-v17/sarabun-400-latin.woff2') format('woff2');unicode-range:U+0000-024F}
@font-face{font-family:SourceDirectorySarabun;font-style:normal;font-weight:700 800;font-display:swap;src:url('/assets/fonts/sarabun-v17/sarabun-700-latin.woff2') format('woff2');unicode-range:U+0000-024F}
#official-sources.official-source-directory{--os-gold:#ffca53;display:block;box-sizing:border-box;max-width:100%;padding:30px 24px 0;background:linear-gradient(135deg,#091222 0%,#080c16 56%,#101b31 100%);border:1px solid #273952;border-radius:22px;color:#f4f7ff;overflow:hidden;scroll-margin-top:90px;font-family:SourceDirectorySarabun,Tahoma,system-ui,sans-serif;text-align:left}
#official-sources *,#official-sources *::before,#official-sources *::after{box-sizing:border-box}
#official-sources [hidden]{display:none!important}
#official-sources .official-source-header{display:flex;align-items:center;gap:16px;position:relative;padding-bottom:20px;margin-bottom:18px}
#official-sources .official-source-header::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#ffffff08,#e4007a99,#11c6ff88,#ffffff08)}
#official-sources .official-source-globe{display:grid;place-items:center;flex:0 0 46px;height:46px;color:var(--os-gold);border:1px solid var(--os-gold);border-radius:50%;box-shadow:inset 0 0 14px #ffca5311}
#official-sources .official-source-globe svg{width:31px;height:31px}
#official-sources .official-source-header>div{min-width:0;flex:1}
#official-sources .official-source-header h2{font-size:clamp(21px,2.4vw,30px);line-height:1.45;margin:0 0 5px;font-weight:800;color:#fff}
#official-sources .official-source-header h2 span{color:var(--os-gold)}
#official-sources .official-source-header p{font-size:14px;line-height:1.65;margin:0;color:#c3cddd}
#official-sources .official-source-count{display:flex;gap:14px;align-items:center;flex-shrink:0;border:1px solid #e9b83d;border-radius:99px;padding:9px 16px;color:var(--os-gold);font-size:15px;font-weight:700;box-shadow:0 0 12px #ffc53f15,inset 0 1px 3px #ffdc6844;white-space:nowrap}
#official-sources .official-source-tools{display:flex;gap:12px;margin-bottom:14px}
#official-sources .official-source-tools label{position:relative;display:flex;align-items:center;gap:12px;min-width:0;flex:1;border:1px solid #344b66;border-radius:13px;background:linear-gradient(180deg,#101c30,#080f1c);padding:0 15px;box-shadow:inset 0 1px 0 #ffffff09}
#official-sources .official-source-tools svg{width:23px;height:23px;flex-shrink:0;color:var(--os-gold)}
#official-sources input{font:inherit;font-size:15px;min-height:48px;min-width:0;width:100%;border:0;border-radius:10px;padding:9px 2px;background:transparent;color:#fff;box-shadow:none}
#official-sources input::placeholder{color:#b0bdd0;opacity:1}
#official-sources button{font:inherit;cursor:pointer}
#official-sources #official-source-show-all{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:9px 23px;border:1px solid #ffdb70;border-radius:13px;background:linear-gradient(180deg,#ffeab0,#ffd04e 40%,#ffb826);color:#171104;font-weight:700;font-size:14px;box-shadow:inset 0 2px 0 #fff8,0 0 12px #ffc53f22}
#official-sources #official-source-show-all:disabled{cursor:default;filter:saturate(.6);opacity:.8}
#official-sources .official-source-filters{display:flex;flex-wrap:wrap;gap:8px}
#official-sources .official-source-filters button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:7px 12px;border:1px solid #304768;border-radius:99px;background:linear-gradient(180deg,#0e1a2e,#070e1b);color:#dce5f5;font-size:12px;line-height:1.5}
#official-sources .official-source-filters button>span:last-child{font-size:12px;min-width:25px;padding:2px 6px;background:#263756;border-radius:20px;color:white;font-weight:700}
#official-sources .official-source-filters button[aria-pressed="true"]{border-color:#ffd252;box-shadow:0 0 9px #ffd34d33,inset 0 1px 4px #ffd34d22;color:#ffe29b;background:#221c10}
#official-sources .official-source-filters button[aria-pressed="true"]>span:last-child{background:#72520b;color:#ffeaa2}
#official-sources .official-source-filter-icon{font-size:16px;line-height:1}
#official-sources .official-source-matches{margin:10px 0;color:#a7b5cb;font-size:12px;line-height:1.6;min-height:19px}
#official-sources .official-source-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}
#official-sources .official-source-item{--os-color:#0aceff;--os-deep:#005e9e;--os-ink:#061825;position:relative;min-width:0;border:1px solid var(--os-color);border-radius:15px;background:linear-gradient(110deg,#07101e 22%,color-mix(in srgb,var(--os-color) 14%,#07101e) 100%);box-shadow:0 0 10px color-mix(in srgb,var(--os-color) 20%,transparent),inset 0 1px 3px color-mix(in srgb,var(--os-color) 48%,transparent);isolation:isolate;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease}
#official-sources .official-source-item::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(126deg,#ffffff38 0%,#ffffff00 12%,#ffffff00 85%,#ffffff20 100%);z-index:2}
#official-sources .official-source-item::after{content:"";position:absolute;top:0;left:10px;right:10px;height:2px;background:linear-gradient(90deg,transparent,var(--os-color),#fff9,transparent);pointer-events:none;z-index:2}
#official-sources .official-source-tone-1{--os-color:#ff168e;--os-deep:#8c0346;--os-ink:#260312}
#official-sources .official-source-tone-2{--os-color:#ff9638;--os-deep:#9c3a03;--os-ink:#2a1000}
#official-sources .official-source-tone-3{--os-color:#bb72ff;--os-deep:#5b20ab;--os-ink:#210938}
#official-sources .official-source-tone-4{--os-color:#00efcc;--os-deep:#00766d;--os-ink:#002b28}
#official-sources .official-source-tone-5{--os-color:#42a3ff;--os-deep:#0646aa;--os-ink:#071b3f}
#official-sources .official-source-tone-6{--os-color:#ffdb43;--os-deep:#977200;--os-ink:#2a2100}
#official-sources .official-source-tone-7{--os-color:#ff4eb6;--os-deep:#981451;--os-ink:#32051f}
#official-sources .official-source-item>a{display:grid;grid-template-columns:66px minmax(0,1fr);grid-template-rows:minmax(65px,auto) 34px;gap:8px 11px;align-items:center;position:relative;min-height:153px;height:100%;padding:14px 12px;color:#fff;text-decoration:none}
#official-sources .official-source-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;opacity:1;pointer-events:none;z-index:-2;filter:saturate(1.18) contrast(1.03)}
#official-sources .official-source-item>a::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#041326e8 0%,#07162cac 38%,#06142622 80%),linear-gradient(120deg,color-mix(in srgb,var(--os-color) 28%,transparent),transparent 76%)}
#official-sources .official-source-item{border-width:2px;box-shadow:0 0 14px color-mix(in srgb,var(--os-color) 32%,transparent),inset 0 1px 6px #fff8}
#official-sources .official-source-item::before{background:linear-gradient(130deg,#ffffff88 0%,#ffffff00 11%,#ffffff00 87%,#ffffff55 100%)}
#official-sources .official-source-item::after{height:3px;box-shadow:0 0 9px var(--os-color);background:linear-gradient(90deg,transparent,#fff9,var(--os-color),#fff9,transparent)}
#official-sources .official-source-logo{display:grid;place-items:center;position:relative;width:66px;height:66px;border-radius:50%;border:2px solid var(--os-color);outline:3px solid #ffffff12;background:linear-gradient(140deg,#fff,#eef6ff);box-shadow:0 0 12px color-mix(in srgb,var(--os-color) 40%,transparent);overflow:hidden;grid-row:1/3;align-self:start;margin-top:10px}
#official-sources .official-source-logo>img{display:block;width:55px;height:55px;object-fit:contain;padding:2px}
#official-sources .official-source-logo-dark{background:linear-gradient(140deg,#19365b,#101c35)}
#official-sources .official-source-initial{font-size:21px;font-weight:800;color:#19395d;letter-spacing:1px}
#official-sources .official-source-info{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;align-self:stretch}
#official-sources .official-source-name{font-size:13px;font-weight:750;line-height:1.6;overflow-wrap:anywhere;text-shadow:0 1px 5px #000}
#official-sources .official-source-host{font-size:11px;line-height:1.5;color:#d5e2f3;overflow-wrap:anywhere}
#official-sources .official-source-visit{display:flex;align-items:center;justify-content:center;gap:9px;grid-column:2;border:1px solid color-mix(in srgb,var(--os-color) 85%,white);border-radius:99px;min-height:34px;background:linear-gradient(180deg,color-mix(in srgb,var(--os-color) 70%,white),var(--os-color) 45%,color-mix(in srgb,var(--os-color) 74%,var(--os-deep)));color:var(--os-ink);box-shadow:inset 0 2px 1px #fff6,0 2px 8px #0005;font-size:12px;font-weight:800;text-shadow:none}
#official-sources .official-source-item:hover{transform:translateY(-2px);box-shadow:0 0 16px color-mix(in srgb,var(--os-color) 32%,transparent)}
#official-sources .official-source-item>a:hover .official-source-name{text-decoration:underline;text-underline-offset:3px}
#official-sources .official-source-bottom{text-align:center;margin:22px 0 20px}
#official-sources #official-source-expand{min-height:44px;padding:9px 27px;border:1px solid #e0b349;border-radius:99px;background:linear-gradient(180deg,#231d12,#0a0c11);box-shadow:inset 0 1px 2px #ffe69b33,0 0 9px #ffd34d19;color:#ffda72;font-size:14px;font-weight:700}
#official-sources .official-source-note{margin:10px 0 0;font-size:12px;color:#a9b6cd;line-height:1.8}
#official-sources .official-source-footer{display:grid;grid-template-columns:1fr auto;gap:12px 24px;padding:20px 0 18px;border-top:1px solid #d6a53655}
#official-sources .official-source-brand{display:inline-block;font-size:25px;font-weight:800;text-decoration:none;color:#fff;line-height:1.5}
#official-sources .official-source-brand>span{color:var(--os-gold)}
#official-sources .official-source-footer p{margin:3px 0 0;color:#aebbd1;font-size:12px}
#official-sources .official-source-footer nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 20px}
#official-sources .official-source-footer nav a{display:inline-flex;align-items:center;min-height:40px;font-size:12px;color:#d5dff0;text-decoration:none}
#official-sources .official-source-footer nav a:hover{text-decoration:underline}
#official-sources .official-source-copyright{display:flex;align-items:center;justify-content:space-between;gap:12px;grid-column:1/-1;color:#9eacc2;font-size:11px}
#official-sources #official-source-top{padding:9px 0 9px 12px;min-height:40px;border:0;background:none;color:#ffda72;font-size:12px}
#official-sources :is(a,button,input):focus-visible{outline:3px solid #ffdf73;outline-offset:3px}
#official-sources .official-source-tools label:focus-within{border-color:#ffd56a}
#official-sources .official-source-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1500px){#official-sources .official-source-name{font-size:14px}#official-sources .official-source-item>a{grid-template-columns:74px minmax(0,1fr)}#official-sources .official-source-logo{width:74px;height:74px}#official-sources .official-source-logo>img{width:62px;height:62px}}
@media(max-width:1100px){#official-sources .official-source-list{grid-template-columns:repeat(3,minmax(0,1fr))}#official-sources .official-source-item>a{min-height:159px}}
@media(max-width:850px){#official-sources .official-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}#official-sources .official-source-header{gap:12px;flex-wrap:wrap}#official-sources .official-source-count{margin-left:58px;padding:6px 12px;font-size:13px}#official-sources .official-source-header>div{flex-basis:calc(100% - 60px)}#official-sources .official-source-footer{grid-template-columns:1fr}#official-sources .official-source-footer nav{justify-content:flex-start}#official-sources .official-source-header p{font-size:13px}}
@media(max-width:560px){#official-sources.official-source-directory{padding:20px 15px 0;border-radius:17px}#official-sources .official-source-header h2{font-size:21px}#official-sources .official-source-globe{flex-basis:37px;height:37px}#official-sources .official-source-globe svg{width:25px;height:25px}#official-sources .official-source-header>div{flex-basis:calc(100% - 50px)}#official-sources .official-source-count{margin-left:49px}#official-sources .official-source-tools{flex-wrap:wrap;gap:8px}#official-sources .official-source-tools label{flex-basis:100%;padding:0 12px}#official-sources #official-source-show-all{min-height:42px;padding:7px 17px;font-size:13px}#official-sources .official-source-filters{gap:7px}#official-sources .official-source-filters button{padding:7px 11px;font-size:11px}#official-sources .official-source-list{grid-template-columns:1fr;gap:12px}#official-sources .official-source-item>a{grid-template-columns:78px minmax(0,1fr);gap:7px 14px;min-height:145px;padding:13px 15px}#official-sources .official-source-logo{width:76px;height:76px;margin-top:7px}#official-sources .official-source-logo>img{width:64px;height:64px}#official-sources .official-source-name{font-size:14px}#official-sources .official-source-host{font-size:12px}#official-sources .official-source-visit{font-size:13px;min-height:36px}#official-sources .official-source-footer nav{gap:5px 16px}}
@media(prefers-reduced-motion:reduce){#official-sources .official-source-item{transition:none}#official-sources .official-source-item:hover{transform:none}}
