/*
Theme Name: ctgtimes24.com
Description: Custom Bangla news portal theme
Version: 5.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ctgtimes24.com
*/
@font-face {
    font-family: "Shurjo";
      src: url('assets/fonts/Shurjo.woff2') format('woff2'),
       url('assets/fonts/Shurjo.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*{
font-family: "Shurjo";
}
/* 1) Visibility: hidden below 992px ---------------------------------------- */
.site-header{display:none}
@media (min-width:992px){
  .site-header{display:block;position:relative;z-index:1030;}
  .site-header .row{align-items:center}
  .site-header .header-date{font-size:16px;line-height:1.55;color:#444}
  .site-header .logo-row{padding:3px}
  .site-header .logo img{display:inline-block;max-height:80px;width:auto;}
  .site-header .social-row{display:flex;justify-content:flex-end;align-items:center}
  .site-header .header-tools{display:flex;gap:10px;align-items:center}
  .site-header .icon-btn{display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;background:#fff;
    border:1px solid #e6e6e6;box-shadow:0 2px 6px rgba(0,0,0,.08);cursor:pointer;transition:box-shadow .2s}
  .site-header .icon-btn svg{width:20px;height:20px}
  .site-header .icon-btn:hover{box-shadow:0 3px 10px rgba(0,0,0,.18)}
  .site-header .icon-btn--search{background:#eee}
  /* 3) Search bar (opened by the search icon) ----------------------------- */
  .site-header .search-bar{background:#f4f4f4;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}
  .site-header .search-bar[hidden]{display:none}
  .site-header .search-form{display:flex;gap:8px;max-width:760px;margin:0 auto}
  .site-header .search-form input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid #ccc;border-radius:4px;background:#fff;font:inherit;font-size:17px}
  .site-header .search-form input:focus{outline:2px solid var(--o);border-color:var(--o)}
  .site-header .search-submit{height:44px;padding:0 22px;border:0;border-radius:4px;background:var(--o);color:#fff;font:inherit;font-weight:600;cursor:pointer}
  .site-header .search-close{width:44px;height:44px;border:1px solid #ccc;border-radius:4px;background:#fff;font-size:26px;line-height:1;cursor:pointer}
  /* 4) Main navigation ---------------------------------------------------- */
  .site-header .main-nav{background:#fff;border-top:1px solid var(--line);border-bottom:3px solid var(--o);padding:0}
  .site-header .main-nav .nav-link{padding:10px 14px;font-size:18px;font-weight:400;color:#000}
  .site-header .main-nav .nav-link:hover,
  .site-header .main-nav .nav-link.active{color:var(--o)}
  .site-header .main-nav .dropdown-menu{margin:0;border:0;border-top:3px solid var(--o);border-radius:0;box-shadow:0 8px 20px rgba(0,0,0,.12);background: #fff;}
  .site-header .main-nav .dropdown-item:hover{background:#fff3ec;color:var(--o)}
  .site-header .main-nav .dropdown:hover>.dropdown-menu{display:block}
  .site-header .header-tools{
      justify-content: flex-end;
  }
}
/* ==========================================================================
   mobile-header.css
   ========================================================================== */
.mobile-header img{height: 40px;
  width: auto;
  border: 1px solid #02000047;}
.mobile-header,.mobile-header *{box-sizing:border-box}
.mobile-header{display:none}
@media (max-width:991.98px){
  .mobile-header{display:block;position:sticky;top:0;z-index:1040;background:#fff;color:#000;
    font-family:inherit;font-stretch:85%}
}
.mobile-header a{color:inherit;text-decoration:none}
.mobile-header ul{list-style:none;margin:0;padding:0}
body.mh-lock{overflow:hidden} /* page does not scroll while the panel is open */

/* 2) Top bar: logo (left) + hamburger (right) ----------------------------- */
.mh-top{display:flex;justify-content:space-between;align-items:center;padding: 5px 14px;background:#e4feeb}
.mh-logo{display:inline-flex;flex-direction:column;line-height:1}
.mh-logo__row{display:flex;align-items:center;font-size:30px;font-weight:700;letter-spacing:-1.5px;color:#1e2a78}
.mh-logo__b{display:grid;place-items:center;width:36px;height:36px;margin-right:2px;border-radius:50%;background:#d11f2e;color:#fff;font-size:24px;letter-spacing:0}
.mh-logo__row em{font-style:normal;color:#d11f2e}
.mh-logo__tag{margin-top:2px;padding-left:4px;font-size:11px;font-weight:700;color:#d11f2e;letter-spacing:0}
/* To use your real logo image: delete .mh-logo__row/.mh-logo__tag and put <img src="logo.png" alt="BNews24" height="44"> inside .mh-logo */
/* Hamburger: 3 bars morph into an X when aria-expanded="true" (JS already sets it) */
.mh-burger{display:grid;align-content:center;justify-items:center;gap:6px;width:50px;height:40px;padding:0;border:1px solid #d9d9d9;border-radius:8px;background:#fff;cursor:pointer;
  -webkit-tap-highlight-color:transparent;transition:border-color .3s,box-shadow .3s,transform .15s}
.mh-burger:active{transform:scale(.94)}
.mh-burger span{display:block;width:28px;height:2.5px;border-radius:2px;background:#6b6b6b;transform-origin:center;
  transition:transform .35s cubic-bezier(.68,-.35,.27,1.35),opacity .2s ease,width .3s ease,background-color .3s ease}
.mh-burger span:nth-child(2){width:20px}                 /* idle: shorter middle bar */
.mh-burger[aria-expanded="true"]{border-color:#d11f2e;box-shadow:0 2px 8px rgba(209,31,46,.2)}
.mh-burger[aria-expanded="true"] span{background:#d11f2e}
.mh-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(8.5px) rotate(45deg)}   /* 8.5px = bar height 2.5 + gap 6 */
.mh-burger[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(0)}
.mh-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-8.5px) rotate(-45deg)}
@media (prefers-reduced-motion:reduce){.mh-burger,.mh-burger span{transition:none}}

/* 3) Scroll menu: home icon + categories (swipe left/right) --------------- */
.mh-scroll{display:flex;align-items:center;overflow-x:auto;white-space:nowrap;border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
.mh-scroll::-webkit-scrollbar{display:none}
.mh-scroll a{flex:0 0 auto;padding:10px 14px;font-size:20px;font-weight:700;line-height:1.3}
.mh-scroll a.mh-home{padding:10px 8px 10px 12px;display:grid;place-items:center}
.mh-scroll a.mh-home svg{width:26px;height:26px}
.mh-scroll a.is-active{color:#d11f2e}

/* 4) Dropdown panel (opens under the header) ------------------------------ */
.mh-panel{position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 130px);overflow-y:auto;
  padding:0 20px 24px;background:#fff;box-shadow:0 14px 24px rgba(0,0,0,.18)}
.mh-panel[hidden]{display:none}
.mh-panel__top{display:flex;justify-content:space-between;align-items:center;padding:16px 0}
.mh-date{font-size:19px}
.mh-close{position:relative;width:40px;height:40px;padding:0;border:0;background:none;cursor:pointer}
.mh-close::before,.mh-close::after{content:"";position:absolute;left:5px;right:5px;top:50%;height:2.5px;background:#6b6b6b;border-radius:2px}
.mh-close::before{transform:rotate(45deg)}.mh-close::after{transform:rotate(-45deg)}
.mh-search{position:relative;margin:4px 0 8px}
.mh-search input{width:100%;height:40px;padding:0 54px 0 12px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;font:inherit;font-size:16px}
.mh-search input:focus{outline:2px solid #ff5a0a;border-color:#ff5a0a}
.mh-search button{position:absolute;right:-4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#eee;box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:pointer}
.mh-search button svg{width:22px;height:22px}
/* 2-column menu: first half of the list = left column, second half = right */
.mh-menu{columns:2;column-gap:30px}
.mh-menu li{break-inside:avoid}
.mh-menu a{display:block;padding:14px 12px;border-bottom:1px solid #ddd;font-size:21px;font-weight:500;line-height:1.35}
.mh-menu a:hover,.mh-scroll a:hover{color:#ff5a0a}

/* ==========================================================================
   base.css  |  Variables, reset, typography + SHARED components
   Components: .thumb  .sec-head  .item  .news-card  .card-grid  .lead-row
               .lead-stack  .lead-overlay  .text-list  .ad-box  .layout-split
   Approach: mobile-first. Default = mobile. Desktop rules live in
   @media (min-width: 992px) at the bottom of each block.
   ========================================================================== */
:root{--o:#166419;--line:#e2e2e2;--vline:#bdbdbd;--gray:#777;--red:#e3182d;--navy:#1e2a78;--yellow:#ffc107}
*{box-sizing:border-box}
body{margin:0;background:#fff;color:#000;line-height:1.35;font-family:inherit;font-stretch:85%}
a{color:inherit;text-decoration:none}a:hover{color:var(--o)}
img{display:block;width:100%;height:100%;object-fit:cover}
h2,h3,h4,p{margin:0}
h4{font-size:17px;font-weight:400;line-height:1.38}
.container{max-width:1290px}
main.container{padding-left:0;padding-right:0} /* mobile: images run edge to edge */

/* ---- Thumbnail ---- */
.thumb{display:block;overflow:hidden;}
.thumb img{transition:transform .3s}
article:hover .thumb img{transform:scale(1.04)}

/* ---- Excerpt ---- */
.excerpt{font-family:inherit;font-stretch:100%;color:var(--gray);font-size:15px;line-height:1.55;margin-top:8px}

/* ---- Section wrapper (white panel on mobile, plain on desktop) ---- */
.sec-block{background:#fff;padding:0 10px;border-bottom:8px solid #eef0f3} /* mobile: flat block + grey band between sections */
.has-top-border{border-top:4px solid var(--o)}

/* ---- Section head: title + "more" link ---- */
.sec-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;padding: 10px 18px;}
.sec-head h3{font-size:22px;font-weight:400;display:flex;align-items:center}
.is-dot-left h3::before,.is-dot-right h3::after{content:"";width:14px;height:14px;border-radius:50%;background:var(--o);flex:none}
.is-dot-left h3::before{margin-right:8px}.is-dot-right h3::after{margin-left:9px}
.more{font-size:15px;display:flex;align-items:center;gap:6px}
.label{color:var(--red);font-weight:700}
.label::after{content:" \2022"}
.more i{display:grid;place-items:center;width:18px;height:18px;border:1.5px solid #000;border-radius:50%;font-style:normal;font-size:11px}

/* ---- List item: thumbnail + title (image LEFT; add .item--thumb-right to flip on desktop) ---- */
.item{display:flex;gap:14px;align-items:center;padding:10px 5px;border-bottom:1px solid var(--line)}
.item .thumb{flex:0 0 130px;aspect-ratio:7/5;height: 80px;
  border-radius: 5px;}
.item h4{flex:1;font-size:18px}

/* ---- Card: image on top, title below (used standalone) ---- */
.news-card .thumb{aspect-ratio:16/10;margin-bottom:12px}
.news-card h4,.news-card .excerpt{padding:0 18px} /* big (vertical) card text */

/* ---- Card grid: MOBILE = horizontal cards (image left, text right) ---- */
.card-grid{display:block}
.card-grid>.news-card{display:flex;gap:14px;align-items:center;padding:10px 5px;border-bottom:1px solid var(--line)}
.card-grid>.news-card h4{padding:0;font-size:18px}
.card-grid>.news-card .thumb{flex:0 0 130px;aspect-ratio:7/5;margin:0;height: 80px;
  border-radius: 5px;}
.card-grid>.news-card .excerpt{display:none}

/* ---- Leads ---- */
.lead-row,.lead-stack{padding-bottom:16px;border-bottom:1px solid var(--line)}
.lead-row .thumb,.lead-stack .thumb{aspect-ratio:16/10;margin-bottom:16px;padding: 5px 10px;}
.lead-row h2,.lead-stack h2{font-size:25px;font-weight:400;line-height:1.35;text-align:center;padding:0 18px}
.lead-row .excerpt,.lead-stack .excerpt{text-align:center;padding:0 18px}
.lead-overlay{position:relative;display:block}
.lead-overlay .thumb{aspect-ratio:16/10}
.lead-overlay h2{position:absolute;inset:auto 0 0 0;padding:40px 14px 12px;color:#fff;font-size:22px;font-weight:700;background:linear-gradient(transparent,rgba(0,0,0,.85))}
.lead-overlay a:hover{color:#fff}

/* ---- Text-only list ---- */
.text-list a{display:block;padding:14px 18px;border-bottom:1px solid var(--line);font-size:17px;line-height:1.4}

/* ---- Ad placeholder ---- */
.ad-box{position:relative;aspect-ratio:6/5;background:#e9ebee;display:grid;place-items:center;color:#777;margin-bottom:14px}
.ad-box span{position:absolute;left:0;bottom:0;background:#fff;padding:2px 10px;font-size:18px;color:#222}

/* ================= DESKTOP (>= 992px) ================= */
@media(min-width:992px){
h4{font-size:19px}
main.container{padding-left:12px;padding-right:12px}
.sec-block{background:none;padding:0;border-bottom:0}
.has-top-border{padding-top:14px}
.sec-head{margin-bottom:20px;padding:0}.sec-head h3{font-size:26px}.more{font-size:16px}
.excerpt{font-size:16px;margin-top:10px}

.item{gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}
.item:first-child{padding-top:0}.item:last-child{border-bottom:0}
.item .thumb{flex-basis:135px;aspect-ratio:27/20;height: auto;}
.item--thumb-right{flex-direction:row-reverse}
.item--thumb-right h4{font-size:18px}

.news-card .thumb{aspect-ratio:3/2;margin-bottom:12px;height: auto;}
.news-card h4,.news-card .excerpt{padding:0}
.card-grid{display:grid}
.cols-2{grid-template-columns:repeat(2,1fr)}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}
.card-grid>.news-card{display:block;padding:0 10px;border:0;border-left:1px solid var(--line)}
.card-grid>.news-card .thumb{aspect-ratio:3/2;margin-bottom:12px;height: auto;}
.card-grid>.news-card .excerpt{display:block}
.cols-2>.news-card:nth-child(2n+1),.cols-3>.news-card:nth-child(3n+1),.cols-4>.news-card:nth-child(4n+1){padding-left:0;border-left:0}
.cols-2>.news-card:nth-child(2n),.cols-3>.news-card:nth-child(3n),.cols-4>.news-card:nth-child(4n){padding-right:0}
.cols-2>.news-card:nth-child(n+3),.cols-3>.news-card:nth-child(n+4){margin-top:22px}

.lead-row,.lead-stack{padding:0;border:0}
.lead-row h2,.lead-stack h2,.lead-row .excerpt,.lead-stack .excerpt{text-align:left;padding:0}
.lead-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding-bottom:22px;border-bottom:1px solid var(--line);margin-bottom:22px}
.lead-stack{margin:0}
.lead-row .thumb,.lead-stack .thumb{aspect-ratio:2/1;margin-bottom:16px}
.lead-row .thumb{margin:0}
.lead-row h2,.lead-stack h2{font-size:32px}
.lead-overlay{margin-bottom:22px}
.lead-overlay .thumb{aspect-ratio:2/1}
.lead-overlay h2{padding:50px 18px 16px;font-size:28px}

.text-list{margin-top:16px;border-top:1px solid var(--line)}
.text-list a{padding:14px 0}
.text-list a:last-child{border-bottom:0}
.ad-box{margin-bottom:24px}

/* Main column + 390px sidebar with vertical divider */
.layout-split{display:grid;grid-template-columns:minmax(0,1fr) 390px;margin-bottom:34px}
.layout-split>:first-child{padding-right:26px}
.layout-split>:last-child{border-left:1px solid var(--vline);padding-left:26px}
}

@media(min-width:992px){
.business-body{display:grid;grid-template-columns:3fr 2fr;gap:26px}
.sec-business .lead-stack .thumb{aspect-ratio:2/1}
}
.sec-columns .news-card{display:block;margin-bottom:4px}
.sec-columns .news-card h4{font-weight:700}
@media(min-width:992px){
.sec-columns{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:34px}
.sec-columns>.sec-block{padding:14px 22px 0;border-left:1px solid var(--vline)}
.sec-columns>.sec-block:first-child{padding-left:0;border-left:0}
.sec-columns>.sec-block:last-child{padding-right:0}
.sec-columns .news-card .thumb{aspect-ratio:5/3}
.sec-columns .news-card h4{font-size:21px}
.sec-columns .sec-head{margin-bottom:20px}
}

/* NEWS */
.sec-hero{display:flex;flex-direction:column}
.hero-main{order:-1}
.sec-hero .sec-block{border-bottom:0}
.hero-lead{padding-top: 10px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.hero-lead .thumb{aspect-ratio:16/10;margin-bottom:16px;}
.hero-lead h2{font-size:26px;line-height:1.35;font-weight:700;color:#000;text-align:center;padding:0 18px}
.hero-lead .excerpt{text-align:center;padding:0 18px}
@media(min-width:992px){
.sec-hero{display:grid;grid-template-columns:295px minmax(0,1fr) 330px;padding:22px 0 34px}
.hero-main{order:0;padding:0 15px}
.hero-left{padding-right:24px;border-right:1px solid var(--vline)}
.hero-right{padding-left:24px;border-left:1px solid var(--vline)}
.hero-left .item .thumb{flex-basis:110px;aspect-ratio:5/4}
.hero-right .item .thumb{flex-basis:120px;aspect-ratio:7/5}
.hero-lead{display:grid;grid-template-columns:320px 1fr;gap:15px;padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:15px}
.hero-lead .thumb{aspect-ratio:4/3;margin:0}
.hero-lead h2{font-size:26px;line-height:normal;color:var(--red);text-align:left;padding:0}
.hero-lead .excerpt{font-size:17px;margin-top:14px;text-align:left;padding:0}
.hero-cards>.news-card .thumb{aspect-ratio:5/3;height: auto;}
.hero-cards h4{font-size:18px}
}
.sec-international{margin-bottom:14px}
@media(min-width:992px){
.sec-international{margin-bottom:34px}
.international-body{display:grid;grid-template-columns:1fr 1fr}
.international-body>.lead-stack{padding-right:18px;border-right:1px solid var(--line)}
.international-body>.card-grid{padding-left:18px}
.international-body>.card-grid>.news-card .thumb{aspect-ratio:2/1}
.international-body>.card-grid>.news-card{padding-bottom:0}
}
.sec-lifestyle{background:#fff1de;border-top-color:var(--yellow)}
.sec-lifestyle h3::after{background:var(--yellow)}
.sec-lifestyle .card-grid>.news-card{border-color:#e8d9c4}
@media(max-width:991.98px){
.sec-lifestyle .card-grid>.news-card:first-child{display:block;padding:0 0 14px}
.sec-lifestyle .card-grid>.news-card:first-child .thumb{flex:none;aspect-ratio:16/10;margin-bottom:12px}
.sec-lifestyle .card-grid>.news-card:first-child h4,.sec-lifestyle .card-grid>.news-card:first-child .excerpt{padding:0 18px}
.sec-lifestyle .card-grid>.news-card:first-child .excerpt{display:block}
}
@media(min-width:992px){
.sec-lifestyle{padding:22px 22px 28px;margin:0 0 34px;border-radius:0}
.sec-lifestyle .card-grid>.news-card{border-color:#ddd}
.sec-lifestyle .news-card h4{font-size:21px;font-weight:400}
.sec-lifestyle .card-grid>.news-card .thumb{aspect-ratio:5/3}
}
.sec-national .card-grid{margin-top:4px}
.sports-body{display:flex;flex-direction:column}
.sports-center{order:-1}
@media(min-width:992px){
.sports-body{display:grid;grid-template-columns:360px minmax(0,1fr)}
.sports-center{order:0;border-left:1px solid var(--line);padding-left:26px}
.sports-left{padding-right:26px}
}

.single-layout{display:block;padding: 10px;}
.single-sidebar .ad-box{margin:14px 18px}
@media(min-width:992px){
.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;column-gap:60px;padding:30px 0 20px}
.single-sidebar .ad-box{margin:0 0 26px}
.single-sidebar .item .thumb{flex-basis:130px;aspect-ratio:13/9}
.single-sidebar .item{padding:14px 0}
.single-sidebar .item h4{font-size:18px}
.single-sidebar .sec-head h3{font-weight:400}
}

@media(min-width:992px){
.single-related{margin:10px 0 50px}
}

.single-article{background:#fff;padding-top:16px}
.single-title{margin:0 0 14px;font-size:26px;line-height:1.35;font-weight:700}
.single-meta{padding:10px 18px;border-top:1px solid var(--line);border-bottom:4px solid #e5e5e5;color:#666;font-size:15px}
.single-meta b{color:#444;font-weight:700}
.single-meta .dot{margin:0 6px}
.single-image{margin:16px 0 0}

.single-image figcaption{padding:8px 18px 0;color:var(--gray);font-size:14px; background:#eee; text-align: center;}
.single-body{padding:10px 0;font-family:inherit;font-stretch:100%;font-size:18px;line-height:1.6;
  text-align: justify;}
.single-body p{margin:0 0 1.1em}
.single-body h2{font-family:inherit;font-stretch:85%;font-size:24px;font-weight:700;margin:1.2em 0 .5em}
.single-share{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:0 18px 16px}
.single-share span{font-weight:700;margin-right:4px}
.share-btn{display:inline-block;padding:6px 16px;border:1px solid var(--line);border-radius:3px;font-size:15px;background:#f7f7f7}
.share-btn:hover{background:var(--o);border-color:var(--o);color:#fff}
.single-tags{display:flex;flex-wrap:wrap;gap:8px;padding:0 18px 20px}
.single-tags a{background:#f1f2f4;padding:4px 14px;border-radius:30px;font-size:15px}
.single-tags a:hover{background:var(--o);color:#fff}
@media(min-width:992px){
.single-article{padding-top:6px}
.single-title{padding:0;margin-bottom:22px;font-size:42px;line-height:1.28}
.single-meta{font-size:16px;border-top:1px solid #ddd}
.single-image{margin-top:10px}
.single-image figcaption{padding:8px 0 0}
.single-body{padding:26px 0 10px;font-size:20px}
.single-share,.single-tags{padding-left:0;padding-right:0}
.single-tags{padding-bottom:10px}
}


/* ==========================================================================
   category-top
   ========================================================================== */
.cat-top{display:flex;flex-direction:column}
.cat-main{order:-1}
.cat-top .sec-block{border-bottom:0}
@media(min-width:992px){
.cat-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);padding:24px 0 10px}
.cat-main{order:0;padding:0 24px;border-left:1px solid var(--vline);border-right:1px solid var(--vline)}
.cat-left{padding-right:24px}
.cat-right{padding-left:24px}
.cat-left .item,.cat-right .item{align-items:flex-start}
.cat-left .item .thumb,.cat-right .item .thumb{flex-basis:200px;aspect-ratio:3/2}
.cat-main .lead-stack .thumb{aspect-ratio:5/3}
}
/* ==========================================================================
   category-title.css  |  CATEGORY PAGE > SECTION: Page title (e.g. "রাজনীতি")
   ========================================================================== */
.cat-title{text-align:center;padding:25px 0 18px;border-bottom:8px solid #eef0f3;
  background:linear-gradient(rgba(255,255,255,0),#fff),repeating-linear-gradient(90deg,#fff 0 5px,#f1f1f1 5px 6px)}
.cat-title h1{margin:0;font-size:30px;font-weight:700}
@media(min-width:992px){
.cat-title{padding:25px 0 40px;border-bottom:0}
.cat-title h1{font-size:46px}
}

/* ==========================================================================
   category-grid.css  |  CATEGORY PAGE > SECTION: News grid + "load more" button
   ========================================================================== */
.cat-grid-section{border-bottom:0}
.load-more{display:block;margin:20px 18px 28px;background:#ddd;color:#000;text-align:center;padding:12px;font-size:18px;font-weight:600}
.load-more:hover{background:var(--o);color:#fff}
@media(min-width:992px){
.cat-grid-section{padding-top:10px}
.card-grid.cat-grid{gap:40px 28px}
.card-grid.cat-grid>.news-card{padding:0;border:0}
.cat-grid .news-card .thumb{aspect-ratio:5/3}
.cat-grid .news-card h4{font-size:21px;font-weight:700}
.load-more{width:max-content;margin:50px auto 60px;padding:14px 52px;font-size:20px}
}

/* ==========================================================================
   category-ad.css  |  CATEGORY PAGE > SECTION: Wide ad strip (970x90)
   ========================================================================== */
.cat-ad{padding:14px 18px;border-bottom:8px solid #eef0f3}
.cat-ad .ad-box{aspect-ratio:320/100;margin:0}
@media(min-width:992px){
.cat-ad{padding:20px 0 40px;border:0}
.cat-ad .ad-box{aspect-ratio:970/100;max-width:970px;margin:0 auto}
}

/* ==========================================================================
   footer.css  |  SECTION: Footer (info row, links, description, copyright bar)
   ========================================================================== */
.site-footer{background:#f4f4f4;border-top:1px solid #ccc;margin-top:20px}
.footer-info>div{padding:18px;border-bottom:1px solid #ccc;display:flex;flex-direction:column;justify-content:center}
.footer-info .footer-logo{align-items:center}
.footer-logo img{height: 70px;
  width: auto;
  border: 1px solid #02000047;}
.footer-editors{text-align:center;gap:12px;font-size:17px}
.footer-address{font-family:inherit;font-size:15px;line-height:1.6}
.footer-links{text-align:center;padding:14px 10px;border-bottom:1px solid #ccc;font-family:inherit;font-size:17px}
.footer-links a{display:inline-block;margin:4px 8px; font-size: 14px;}
.footer-links a+a::before{content:"\25CF";color:var(--o);font-size:9px;margin-right:14px;vertical-align:middle}
.footer-desc{max-width:1320px;margin:0 auto;padding:28px 15px 32px;text-align:center;font-family:inherit;font-size:15px;line-height:1.35}
.footer-bar{background:#333;color:#fff;text-align:center;padding:12px;font-family:inherit;font-size:15px}
#toTop{position:fixed;right:10px;bottom:30px;width:46px;height:46px;background:#222;color:#fff;border:0;font-size:22px;display:none}
@media(min-width:992px){
.footer-info{display:grid;grid-template-columns:1fr 1fr 1fr;border-bottom:1px solid #ccc}
.footer-info>div{padding:26px;border-bottom:0}
.footer-info>div+div{border-left:1px solid #ccc}
.footer-editors{gap:28px;font-size:18px}.footer-address{font-size:16px}
.footer-links{font-size:20px;padding:16px 10px}.footer-links a{margin:0 12px}.footer-links a+a::before{margin-right:24px}
.footer-desc{padding:36px 15px 40px;font-size:18px}.footer-bar{font-size:18px; font-family:inherit}
.footer-logo img {
  height: 90px;
  width: auto;
  border: 1px solid #02000047;
}
}


/* ==========================================================================
   NEWS TICKER (marquee)
   In your style.css: DELETE the old "NEWS TICKER" block, then paste this at the END.
   ========================================================================== */
.news-ticker { background: #065a1c; color: #fff; }
.news-ticker .container { display: flex; align-items: center; gap: 14px; min-height: 46px; }

.nt-label { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; font-weight: 700; font-size: 1.25rem; line-height: 1; }
.nt-dot { width: 22px; height: 22px; border-radius: 50%; background: #f6e3e3; animation: nt-pulse 1.6s ease-in-out infinite; }
.nt-divider { flex: 0 0 auto; width: 2px; height: 28px; background: #fff; margin: 0 4px; }

/* Marquee: right → left, loops seamlessly. Duration is set by news-ticker.js (--nt-dur). */
.nt-viewport { position: relative; flex: 1 1 auto; min-width: 0; height: 46px; overflow: hidden; display: flex; align-items: center; }
.nt-track { display: flex; width: max-content; will-change: transform; }
.news-ticker.is-ready .nt-track { animation: nt-scroll var(--nt-dur, 40s) linear infinite; }
.nt-group { display: flex; flex: 0 0 auto; align-items: center; }
.nt-item { display: inline-flex; align-items: center; gap: 8px; padding-right: 56px; color: #fff; text-decoration: none; white-space: nowrap; font-size: 1.1rem; }
.nt-item:hover span, .nt-item:focus-visible span { text-decoration: underline; }
.nt-icon { flex: 0 0 auto; width: 24px; height: 24px; }

/* Mouse over the bar (or keyboard focus) pauses; leaving resumes. */
@media (hover: hover) { .news-ticker:hover .nt-track { animation-play-state: paused; } }
.news-ticker:focus-within .nt-track { animation-play-state: paused; }

.nt-close {
  flex: 0 0 auto; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: #f1dede; color: #a30000; display: grid; place-items: center; cursor: pointer;
}
.nt-close:hover, .nt-close:focus-visible { background: #fff; }

@keyframes nt-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes nt-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

@media (max-width: 767.98px) {
  .news-ticker .container { gap: 8px; min-height: 40px; }
  .nt-label { font-size: 1rem; gap: 6px; }
  .nt-dot { width: 14px; height: 14px; }
  .nt-divider { height: 22px; }
  .nt-viewport { height: 40px; }
  .nt-item { font-size: .95rem; padding-right: 40px; }
  .nt-icon { width: 20px; height: 20px; }
}

/* Reduced motion: no auto-scroll; the strip can be scrolled by hand. */
@media (prefers-reduced-motion: reduce) {
  .news-ticker.is-ready .nt-track { animation: none; }
  .nt-viewport { overflow-x: auto; }
  .nt-dot { animation: none; }
}
.nt-item:hover{
   color:#fff700;
   text-decoration:none;
}
.single-image .thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}