:root{--ink:#273542;--muted:#697786;--navy:#203b51;--gold:#b68d49;--line:#e3e7eb;--bg:#f1f3f6;--white:#fff;--accent:#285d83}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:400 14px/1.65 'Noto Sans Thai','Noto Sans SC',system-ui,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.story-topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #e2e5e8;box-shadow:0 1px 6px #15253408}.story-top-inner{max-width:1390px;padding:0 24px;min-height:65px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:15px}.story-brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:800;color:#233f55;white-space:nowrap}.story-brand-symbol{display:grid;place-items:center;width:41px;height:41px;flex:0 0 41px;border-radius:50%;background:#fff;overflow:hidden;border:1px solid #e8d4a5;box-shadow:0 2px 8px #ab874846}.story-brand-symbol img{width:100%;height:100%;display:block;object-fit:contain}.story-top-actions{display:flex;align-items:center;gap:6px}.story-nav-home{display:flex;align-items:center;gap:8px;padding:7px 14px;margin-right:9px;border-radius:10px;background:#f3f5f7;font-weight:700;color:#465a69}.story-nav-home:hover{background:#e7edf3}.story-lang{min-width:36px;text-align:center;padding:7px 8px;border-radius:9px;font-weight:800;color:#71808c}.story-lang:hover{background:#edf1f6}.story-lang.selected{color:#fff;background:#2a5874}
.story-layout{display:grid;grid-template-columns:235px minmax(0,660px) 235px;align-items:start;justify-content:center;gap:24px;max-width:1290px;margin:auto;padding:25px 20px 65px}.story-main{min-width:0}.story-side{position:sticky;top:85px;min-width:0}.story-side-home{display:flex;align-items:center;gap:13px;padding:11px 13px;border-radius:12px;font-weight:700;color:#39566a}.story-side-home i{font-size:18px;width:24px;text-align:center;color:#5a778a}.story-side-home:hover,.story-side-home.active{background:#e5edf4}.story-side-home.active{color:#204967}.story-aside-divider{height:1px;background:#dce1e4;margin:15px 12px}.story-side-caption{color:#75808a;margin:0 13px 8px;font-size:12px;font-weight:800}.story-side-cats{display:grid;gap:3px}.story-side-cats a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 13px;border-radius:10px;font-size:13px}.story-side-cats a.selected{background:#e7edf4;color:#214f70;font-weight:800}.story-side-cats a:hover{background:#e9ecef}.story-side-cats b{font-size:11px;background:#e1e6ea;border-radius:50px;padding:0 7px;color:#65798b}
.story-feed-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}.story-feed-title h1{margin:0;color:#263f50;font-size:22px;line-height:1.35}.story-feed-title p{margin:3px 0 0;font-size:12px;color:#778390}.story-title-count{display:grid;place-items:center;min-width:46px;height:35px;border-radius:10px;background:#e6eaf0;color:#61748a;font-weight:800}.story-search{display:flex;align-items:center;gap:10px;background:#fff;padding:9px 10px 9px 17px;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 3px #20324709}.story-search i{font-size:18px;color:#8995a2}.story-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:#243444;font-size:14px}.story-search button{border:0;border-radius:8px;padding:7px 17px;background:#2a526c;color:#fff;font-weight:800}.story-results{display:flex;justify-content:space-between;align-items:center;padding:15px 1px 10px;gap:12px;color:#576c7e;font-size:13px;font-weight:800}.story-results span+span{color:#85909c;font-weight:600}.story-mobile-cats{display:none}
.story-post{background:#fff;border:1px solid #e0e5ea;border-radius:13px;margin-bottom:16px;box-shadow:0 2px 12px #2139520d;overflow:hidden}.story-post-head{display:flex;align-items:center;gap:10px;padding:16px 18px 6px}.story-avatar{height:44px;width:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #f3e5c6;overflow:hidden}.story-avatar img{display:block;width:100%;height:100%;object-fit:contain}.story-author-block{min-width:0;flex:1}.story-author-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap;line-height:1.4}.story-author-row strong{font-size:14px;color:#273d51}.story-pinned{font-size:10px;font-weight:800;background:#f9f0d9;color:#87642b;border-radius:6px;padding:2px 6px}.story-post-info{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#84909b;line-height:1.5;margin-top:2px}.story-category-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:180px}.story-post-menu{font-size:21px;display:grid;place-items:center;width:34px;height:34px;color:#84909b;border-radius:50%}.story-post-menu:hover{background:#f1f3f5}.story-post-title{font-size:17px;line-height:1.5;margin:9px 18px 5px;font-weight:800;overflow-wrap:anywhere}.story-post-title a:hover{color:#1e6796}.story-message{font-size:14px;line-height:1.85;padding:5px 18px 14px;overflow-wrap:anywhere;white-space:normal}.story-message.is-collapsed{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;max-height:200px}.story-read-more{border:0;background:none;padding:0 18px 12px;color:#3c6483;font-weight:800;font-size:13px}.story-read-more:hover{text-decoration:underline}
/* Stories V3.2: Facebook-style photo collages (1, 2, 3, 4, 5 and 6+).
   Grid previews are cropped only when multiple images share limited space;
   lightbox always shows the entire original via object-fit: contain. */
.story-photo-grid{
  display:grid;
  width:100%;
  gap:3px;
  background:#fff;
  overflow:hidden;
  align-items:stretch;
}
.story-photo-tile{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-width:0;
  min-height:0;
  padding:0;
  margin:0;
  border:0;
  overflow:hidden;
  background:#edf0f2;
  cursor:zoom-in;
}
.story-photo-tile[hidden]{display:none!important}
.story-photo-tile img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.story-photo-tile:focus-visible{outline:3px solid #2883cc;outline-offset:-3px;z-index:2}
/* 1 photo: original proportions, contained in a full-width canvas. */
.story-photo-grid.photo-count-1{display:block;background:#f0f2f4}
.story-photo-grid.photo-count-1>.story-photo-tile{width:100%;height:auto;aspect-ratio:auto}
.story-photo-grid.photo-count-1>.story-photo-tile img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:min(76dvh,760px);
  object-fit:contain;
}
/* 2 photos: two equally sized panels, side by side. */
.story-photo-grid.photo-count-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
  aspect-ratio:1.5;
  max-height:520px;
}
/* 3 photos: large leading image on left; 2 stacked on right. */
.story-photo-grid.photo-count-3{
  grid-template-columns:1.17fr 1fr;
  grid-template-rows:repeat(2,minmax(0,1fr));
  aspect-ratio:1.42;
  max-height:555px;
}
.story-photo-grid.photo-count-3>.story-photo-tile:first-child{grid-row:1 / 3}
/* 4 photos: balanced 2 x 2 grid. */
.story-photo-grid.photo-count-4{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  aspect-ratio:1.35;
  max-height:555px;
}
/* 5+ photos: two large photos above three smaller photos. */
.story-photo-grid.photo-count-5{
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-template-rows:1.12fr 0.88fr;
  aspect-ratio:1.26;
  max-height:590px;
}
.story-photo-grid.photo-count-5>.story-photo-tile:nth-child(-n+2){grid-column:span 3}
.story-photo-grid.photo-count-5>.story-photo-tile:nth-child(n+3){grid-column:span 2}
/* 6+ photos: +N covers last visible tile; hidden tiles remain lightbox-accessible. */
.story-photo-more{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.56);
  color:#fff;
  font-size:clamp(25px,5vw,43px);
  font-weight:700;
  line-height:1;
  letter-spacing:.2px;
  pointer-events:none;
  text-shadow:0 2px 10px rgba(0,0,0,.25);
}
@media(max-width:480px){
  .story-photo-grid{gap:2px}
  .story-photo-grid.photo-count-2{aspect-ratio:1.35}
  .story-photo-grid.photo-count-3{aspect-ratio:1.32}
  .story-photo-grid.photo-count-4{aspect-ratio:1.15}
  .story-photo-grid.photo-count-5{aspect-ratio:1.1}
  .story-photo-more{font-size:clamp(24px,8vw,38px)}
}

.story-post-bottom{display:flex;justify-content:space-between;gap:12px;padding:11px 18px 9px;color:#85909b;font-size:11px}.story-photo-count{display:flex;align-items:center;gap:7px}.story-photo-count i{color:#5c83a6;font-size:15px}.story-actions{display:flex;border-top:1px solid #eff1f4;margin:0 16px;padding:5px 0;gap:3px}.story-action{flex:1;border:0;background:transparent;display:flex;justify-content:center;align-items:center;gap:8px;padding:10px 3px;border-radius:8px;color:#61788a;font-size:12px;font-weight:800;white-space:nowrap}.story-action:hover{background:#f0f3f6;color:#315c7a}.story-action i{font-size:17px}
.story-info-panel{background:#fff;border:1px solid #e5e8ec;border-radius:13px;padding:21px;margin-bottom:13px;box-shadow:0 2px 9px #22334409}.story-info-icon{width:56px;height:56px;border-radius:50%;background:#fff;border:1px solid #e8d4a5;display:grid;place-items:center;overflow:hidden;margin-bottom:12px}.story-info-icon img{display:block;width:100%;height:100%;object-fit:contain}.story-info-panel strong{color:#243b50;font-size:15px}.story-info-panel p{font-size:12px;color:#788492;line-height:1.8;margin:6px 0 12px}.story-info-panel div:last-child{font-size:11px;color:#88929c}.story-help{display:grid;gap:10px}.story-help a{font-size:12px;display:flex;gap:9px;align-items:center;color:#4e6e87}.story-help a:hover{color:#196d9b}.story-empty{padding:55px 25px;text-align:center;background:white;border-radius:14px;border:1px solid #e2e5e9;color:#70808e}.story-empty>i{font-size:38px;color:#c4a36b}.story-empty h2{font-size:16px;color:#344d5f}.story-empty p{font-size:13px}.story-empty a{display:inline-block;padding:9px 15px;border-radius:10px;background:#edf2f5;color:#305775;font-weight:800}.story-back{display:grid;place-items:center;width:38px;height:38px;background:#e4e9ef;border-radius:50%;font-size:19px;color:#466276}.story-pager{display:flex;justify-content:center;align-items:center;gap:16px;padding:10px}.story-pager a{font-size:13px;border-radius:10px;background:white;border:1px solid var(--line);padding:9px 15px;font-weight:700}.story-pager span{color:#7d8994;font-size:12px}.story-footer{text-align:center;color:#87949e;font-size:12px;padding:10px 15px 40px}
.story-lightbox{position:fixed;inset:0;z-index:100;background:#0b1019ee;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 10px;color:white}.story-lightbox figure{flex:1;min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.story-lightbox img{max-width:100%;max-height:calc(100dvh - 95px);object-fit:contain}.story-lightbox figcaption{font-size:12px;color:#e0e5ea}.story-lightbox button{border:0;color:white;background:#ffffff21;border-radius:50%;width:43px;height:43px;font-size:21px;flex-shrink:0}.story-lightbox button:hover{background:#ffffff44}.story-lightbox-close{position:absolute;right:17px;top:17px;z-index:1}.story-toast{position:fixed;z-index:110;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 22px;background:#263b4e;color:white;border-radius:10px;box-shadow:0 8px 30px #20304044;font-size:13px}body.story-modal-open{overflow:hidden}
@media(max-width:1170px){.story-layout{grid-template-columns:210px minmax(0,670px);gap:20px}.story-side-right{display:none}}
@media(max-width:820px){.story-layout{grid-template-columns:1fr;max-width:700px;padding:16px 12px 45px}.story-side-left{display:none}.story-mobile-cats{display:flex;gap:7px;overflow-x:auto;padding:12px 0 6px;scrollbar-width:thin}.story-mobile-cats a{white-space:nowrap;background:#fff;border:1px solid #e1e5ea;border-radius:50px;padding:5px 14px;font-size:12px;color:#637687}.story-mobile-cats a.selected{background:#315b78;color:#fff;border-color:#315b78}.story-top-inner{padding:0 13px}.story-feed-title{padding:0 4px}}
@media(max-width:480px){.story-top-inner{min-height:56px}.story-brand{font-size:16px;gap:7px}.story-brand-symbol{width:35px;height:35px;flex-basis:35px}.story-nav-home{padding:7px 9px;margin-right:0}.story-nav-home span{display:none}.story-lang{min-width:30px;padding:7px 6px;font-size:12px}.story-layout{padding:12px 0 40px}.story-feed-title{padding:0 14px}.story-feed-title h1{font-size:19px}.story-feed-title p{font-size:11px}.story-search{margin:0 10px}.story-search button{padding:7px 10px}.story-mobile-cats{padding-left:10px;padding-right:10px}.story-results{padding:12px 14px 9px}.story-post{border-radius:0;border-left:0;border-right:0;margin-bottom:10px}.story-post-head{padding:13px 12px 4px}.story-post-title{margin:7px 12px 4px;font-size:16px}.story-message{padding:3px 12px 10px;font-size:13px}.story-read-more{padding:0 12px 12px}.story-post-bottom{padding:9px 13px}.story-actions{margin:0 10px}.story-action{gap:5px;font-size:11px}.story-action i{font-size:15px}.story-lightbox{padding:10px 4px;gap:3px}.story-lightbox button{width:34px;height:34px;font-size:16px}.story-lightbox img{max-height:calc(100dvh - 90px)}}

/* Stories V3.8.5: compact live view tally within the original post footer. */
.story-post-stats{display:flex;align-items:center;gap:13px;min-width:0;flex-wrap:wrap}
.story-view-total{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#6d7d8c}
.story-view-total i{font-size:15px;color:#6e89a0}
.story-view-total strong{font-size:inherit;font-weight:800;color:#516577}
.story-bottom-category{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
@media(max-width:480px){.story-post-stats{gap:9px}.story-post-bottom{gap:7px;font-size:10px}.story-view-total i{font-size:13px}.story-bottom-category{max-width:35%}}

/* Stories V3.9: readable long-form articles, photos placed within paragraphs. */
.story-article-view{overflow:hidden}
.story-article-content{padding:8px 18px 20px;max-width:100%;font-size:15px;line-height:1.95;color:#263847;overflow-wrap:anywhere}
.story-article-text{margin:0 0 1.25em;white-space:normal}
.story-article-image{margin:18px auto 24px;text-align:center;max-width:100%}
.story-article-photo{display:block;width:100%;margin:0 auto;padding:0;border:0;background:#f0f1f2;cursor:zoom-in}
.story-article-photo img{width:auto;max-width:100%;height:auto;max-height:none;display:block;margin:0 auto;object-fit:contain}
.story-article-photo:focus-visible{outline:3px solid #c79542;outline-offset:3px}
@media(max-width:600px){.story-article-content{padding:7px 12px 14px;font-size:14px;line-height:1.9}.story-article-image{margin:14px -12px 19px}}

.story-article-gallery{display:grid;grid-template-columns:1fr;gap:6px;margin:16px auto 23px;max-width:100%;align-items:start}
.story-article-gallery.images-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-article-gallery.images-3,.story-article-gallery.images-4{grid-template-columns:repeat(3,minmax(0,1fr))}
.story-article-gallery.images-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-article-gallery .story-article-image{margin:0;min-width:0}
.story-article-gallery .story-article-photo{height:100%;display:flex;align-items:center;justify-content:center}
@media(max-width:480px){.story-article-gallery{gap:3px}.story-article-gallery.images-3,.story-article-gallery.images-4{grid-template-columns:repeat(2,minmax(0,1fr))}}

.story-article-title{font-size:clamp(21px,2.4vw,29px);line-height:1.55;letter-spacing:0;font-weight:800;color:#233c50;margin:22px 18px 7px;overflow-wrap:anywhere}
.story-article-view .story-post-head{border-bottom:1px solid #edf0f2;padding-bottom:13px;margin-bottom:12px}
@media(max-width:600px){.story-article-title{font-size:20px;margin:15px 12px 7px;line-height:1.5}}

/* Stories V3.9.1: safely formatted article body, on feed and full article. */
.story-rich-output{overflow-wrap:anywhere;word-break:normal}
.story-rich-output p{margin:0 0 .85em;line-height:1.85}
.story-rich-output p:last-child{margin-bottom:0}
.story-rich-output h2,.story-rich-output h3,.story-rich-output h4{color:#243c51;line-height:1.5;font-weight:800;margin:1em 0 .4em}
.story-rich-output h2{font-size:1.35em}.story-rich-output h3{font-size:1.18em}.story-rich-output h4{font-size:1.06em}
.story-rich-output ul,.story-rich-output ol{padding-inline-start:1.7em;margin:.6em 0 1em}
.story-rich-output li{margin:.25em 0}
.story-rich-output blockquote{border-left:3px solid #d1ac69;padding:.5em 1em;margin:1em 0;background:#fffaf0;color:#52687a}
.story-rich-output a{color:#236d9d;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.story-rich-output table{border-collapse:collapse;min-width:0;max-width:100%;display:block;overflow-x:auto;margin:1em 0}
.story-rich-output td,.story-rich-output th{border:1px solid #dbe2e8;padding:8px 10px;vertical-align:top}
.story-rich-output th{background:#f3f6f9}
.story-rich-output hr{border:0;border-top:1px solid #e4e8ed;margin:1.25em 0}
.story-rich-output .story-article-image{margin:16px 0 21px}
.story-message.story-rich-output{white-space:normal}
@media(max-width:480px){.story-rich-output td,.story-rich-output th{padding:6px 7px}.story-rich-output h2{font-size:1.24em}}

/* BAHLIL Stories media-library images in full articles. */
.story-article-image.story-media-inline{max-width:100%;margin:17px auto}.story-article-image.story-media-inline img{max-width:100%;width:auto;height:auto;max-height:none;object-fit:contain}

/* V3.9.4: mixed-size inline images flow side by side, then wrap on narrow screens. */
.story-rich-output .story-media-photo-row{display:inline-flex;align-items:center;justify-content:center;vertical-align:top;max-width:100%;box-sizing:border-box;margin:4px 5px 7px 0;overflow:hidden}
.story-rich-output .story-media-photo-row .story-article-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-width:100%;margin:0}
.story-rich-output .story-media-photo-row img{display:block;max-width:100%;width:100%;height:100%;max-height:none;object-fit:contain}
.story-rich-output .story-media-photo-row[data-story-height="auto"] img{height:auto}
.story-rich-output .story-media-photo-row[data-story-width="auto"] .story-article-photo{width:auto}
.story-rich-output .story-media-photo-row[data-story-width="auto"] img{width:auto}
.story-rich-output .story-media-photo-block{display:block;max-width:100%;box-sizing:border-box;margin:14px auto}
.story-rich-output .story-media-photo-block .story-article-photo{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.story-rich-output .story-media-photo-block img{display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain}
.story-rich-output .story-media-photo-block[data-story-height="auto"] img{height:auto}
.story-rich-output .story-media-photo-block[data-story-width="auto"] img{width:auto}
.story-rich-output p:has(> .story-media-photo-row){white-space:normal}
@media(max-width:600px){.story-rich-output .story-media-photo-row{margin:3px 3px 6px 0}.story-rich-output .story-media-photo-block{margin:11px auto}}

.story-rich-output .story-media-row-group{display:flex;flex-wrap:wrap;align-items:flex-start;gap:4px 6px;margin:7px 0 13px;min-width:0}
.story-rich-output .story-media-row-group .story-media-photo-row{margin:0}


/* V3.9.5 — cohesive article galleries. */
.story-rich-output .story-inline-gallery{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:6px;align-items:stretch;max-width:100%;width:100%;margin:12px 0 19px;
  white-space:normal;clear:both;
}
.story-rich-output .story-inline-gallery[data-story-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.story-rich-output .story-inline-gallery[data-story-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.story-rich-output .story-inline-gallery>.story-media-photo-row{
  width:100%!important;height:100%!important;min-width:0;margin:0!important;
  display:block;aspect-ratio:4/3;overflow:hidden;background:#edf1f4;
}
.story-rich-output .story-inline-gallery .story-article-photo{width:100%;height:100%;padding:0;margin:0}
.story-rich-output .story-inline-gallery .story-media-photo-row img{
  display:block;width:100%!important;height:100%!important;object-fit:cover;
  border:0;border-radius:0;
}
/* V3.9.6 — mobile category hamburger belongs to the sticky top bar. */
@media(max-width:820px){
  .story-top-inner{justify-content:flex-start;gap:9px;position:relative}
  .story-top-actions{margin-left:auto;flex:0 0 auto}
  .story-brand{min-width:0;flex:0 1 auto}
  .story-mobile-cats{display:block;position:relative;flex:0 0 auto;padding:0;margin:0;overflow:visible}
  .story-mobile-cats summary{list-style:none;cursor:pointer;display:grid;place-items:center;
    width:38px;height:38px;background:#f3f6f8;border:1px solid #dfe6ec;
    border-radius:10px;color:#315b78;line-height:1}
  .story-mobile-cats summary::-webkit-details-marker{display:none}
  .story-mobile-cats summary>.bi-list{font-size:23px;line-height:1}
  .story-mobile-cats[open] summary{background:#e8f0f6;border-color:#bed2e1;color:#244e6b}
  .story-mobile-cats summary:focus-visible{outline:2px solid #397ba9;outline-offset:2px}
  .story-mobile-cats-menu{position:absolute;top:calc(100% + 10px);left:0;z-index:40;
    width:min(300px,calc(100vw - 24px));max-height:min(66dvh,480px);overflow-y:auto;
    background:#fff;border:1px solid #dfe6ec;border-radius:12px;
    box-shadow:0 12px 34px #1d3e5129;padding:7px;display:grid;gap:3px}
  .story-mobile-cats:not([open]) .story-mobile-cats-menu{display:none}
  .story-mobile-cats-caption{padding:8px 10px 6px;font-size:12px;font-weight:800;color:#667b8c}
  .story-mobile-cats-menu a{display:flex;align-items:center;justify-content:space-between;gap:10px;
    white-space:normal;padding:10px 11px;border:0;background:transparent;border-radius:8px;
    color:#3e6179;font-size:12px;text-decoration:none}
  .story-mobile-cats-menu a span{font-size:11px;color:#8797a2}
  .story-mobile-cats-menu a.selected{background:#e9f1f7;color:#234e6d;font-weight:800}
  .story-mobile-cats-menu a.selected span{color:#234e6d}
  .story-mobile-cats-menu a:focus-visible{outline:2px solid #397ba9;outline-offset:-2px}
}
@media(max-width:480px){
  .story-top-inner{gap:6px}
  .story-mobile-cats summary{width:34px;height:34px;border-radius:9px}
  .story-mobile-cats summary>.bi-list{font-size:21px}
  .story-rich-output .story-inline-gallery{gap:3px;margin:9px 0 14px}
}
@media(max-width:360px){
  .story-rich-output .story-inline-gallery[data-story-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .story-brand{font-size:14px}
  .story-top-actions{gap:3px}
  .story-lang{min-width:27px;padding:7px 5px}
}

/* V3.9.9: inline Word-like image wrapping, preserving photo proportions. */
.story-rich-output .story-inline-flow{
  display:flex;flex-flow:row wrap;align-items:flex-start;align-content:flex-start;
  justify-content:flex-start;gap:6px;margin:10px 0 16px;
  max-width:100%;width:100%;min-width:0;box-sizing:border-box;white-space:normal;
}
.story-rich-output .story-inline-flow>.story-media-photo-row,
.story-rich-output .story-inline-flow>.story-media-photo-block{
  display:flex;flex:0 0 auto;box-sizing:border-box;max-width:100%;
  margin:0!important;padding:0;min-width:0;background:transparent;
}
.story-rich-output .story-inline-flow>[data-story-width="auto"]{width:min(180px,100%)!important}
.story-rich-output .story-inline-flow .story-article-photo{display:flex;max-width:100%;width:100%;height:auto}
.story-rich-output .story-inline-flow img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.story-rich-output .story-inline-flow [data-story-height]:not([data-story-height="auto"]) img{height:100%}
@media(max-width:420px){.story-rich-output .story-inline-flow{gap:4px}}

/* V3.9.10: align the whole automatic-wrap image group without resizing or cropping. */
.story-rich-output .story-inline-flow[data-story-align="center"]{justify-content:center!important}
.story-rich-output .story-inline-flow[data-story-align="end"]{justify-content:flex-end!important}
.story-rich-output .story-inline-flow[data-story-align="start"]{justify-content:flex-start!important}

/* V3.9.11: article topic tags, indexable as real contextual links. */
.story-seo-tags{display:flex;flex-flow:row wrap;align-items:center;gap:7px;padding:10px 16px 13px;max-width:100%;border-top:1px solid #edf0f3}
.story-seo-tag-label{font-size:12px;color:#697e90;display:inline-flex;align-items:center;gap:5px}
.story-seo-tags a{display:inline-block;padding:4px 10px;border-radius:99px;border:1px solid #dce7ed;background:#f4f8fa;color:#234c6b;font-size:12px;line-height:1.5;text-decoration:none;max-width:100%;overflow-wrap:anywhere}
.story-seo-tags a:hover,.story-seo-tags a:focus-visible{border-color:#b7ccdb;background:#eaf3f9}

/* V3.9.14 self-hosted video player: no third-party branding. */
.story-video-section{display:grid;gap:12px;margin:14px 0}
.story-video-item{width:100%;border-radius:10px;background:#111b29;overflow:hidden}
.story-video-item video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0e1726;object-fit:contain;max-height:min(80vh,750px)}
.story-video-count{display:inline-flex;align-items:center;gap:4px}

/* BAHLIL V3.9.18: native video controls include fullscreen. No duplicate overlay. */
.story-inline-video{display:block;max-width:100%;margin:15px auto;box-sizing:border-box;clear:both}
.story-inline-video-player,.story-video-item{display:block;position:relative;overflow:hidden;border-radius:10px;background:#101b2b}
.story-inline-video-player video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;max-height:min(80vh,760px);background:#101b2b}
@media(max-width:600px){.story-inline-video{margin:11px auto}}
