/* ================= Gulf Bangla homepage on phones (≤767px) =================
   সর্বশেষ box → বিশেষ খবর (6, image left) → sections (maroon title bar, image-left list).
   Desktop/tablet layout is unchanged. */
.gb-m-latest{display:none}
.gb-sec-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#77213e;color:#fff;
  padding:8px 10px 8px 14px;border-radius:6px;font-family:"Noto Serif Bengali",serif}
.gb-sec-bar span{font-size:18px;font-weight:700;color:#fff}
.gb-sec-bar a{display:inline-flex;align-items:center;gap:5px;background:#fff;color:#77213e!important;text-decoration:none!important;
  font-size:13px;font-weight:700;padding:5px 10px;border-radius:4px;white-space:nowrap}
.gb-sec-bar a b{font-size:14px;line-height:1}

@media (max-width:767px){
  .gb-home .gb-hide-m{display:none!important}

  /* ---- সর্বশেষ box ---- */
  .gb-home .gb-m-latest{display:block;margin:12px auto 6px;padding:0 12px}
  .gb-m-latest ul{list-style:none;margin:8px 0 0;padding:0 2px}
  .gb-m-latest li{position:relative;padding:5px 0 5px 16px;border-bottom:1px solid #f3e8ec}
  .gb-m-latest li:last-child{border-bottom:0}
  .gb-m-latest li::before{content:"";position:absolute;left:3px;top:14px;width:6px;height:6px;border-radius:50%;background:#77213e}
  .gb-m-latest li a{color:#1d1416;text-decoration:none;font-size:14.5px;font-weight:600;line-height:1.4}

  /* ---- বিশেষ খবর: 6 items, image left / headline right ---- */
  .gb-home .bg-sptop{background:#fff!important;padding:0!important}
  .gb-home .bg-sptop .feature-title{display:flex;align-items:center;background:#77213e;color:#fff;border:0;border-radius:6px;
    padding:8px 14px;font-size:18px;text-align:left!important;justify-content:flex-start}
  .gb-home .bg-sptop .category-name{margin-bottom:6px!important}
  .gb-home .bg-sptop .content{flex:0 0 100%;max-width:100%;border:0!important;padding-top:0;padding-bottom:0}
  .gb-home .bg-sptop mnl-border-my{display:none}
  .gb-home .bg-sptop .content > a{display:flex!important;flex-direction:row;align-items:flex-start;gap:9px;padding:6px 0;border-bottom:1px solid #f0e4e8}
  .gb-home .bg-sptop .content:last-child > a{border-bottom:0}
  .gb-home .bg-sptop .description-container{flex:1;min-width:0;padding:0!important;margin:0!important}
  .gb-home .bg-sptop .description-container h5{font-size:14.5px;line-height:1.4;margin:0;font-weight:700}

  /* ---- category sections: maroon title bar + white "আরও খবর দেখুন ↗" button ---- */
  .gb-home .category-name-btn-more{display:flex!important;align-items:center;justify-content:space-between;flex-wrap:nowrap;
    height:auto!important;min-height:0!important;background:#77213e;border-radius:6px;padding:8px 10px 8px 14px!important;margin:12px 0 8px!important;border:0!important}
  .gb-home .category-name-btn-more > div{flex:0 0 auto;width:auto;max-width:none;padding:0;margin:0}
  .gb-home .category-name-btn-more .category-name a,
  .gb-home .category-name-btn-more .category-name{color:#fff!important;font-size:18px;font-weight:700;text-decoration:none;border:0!important}
  .gb-home .category-name-btn-more .category-name::after,
  .gb-home .category-name-btn-more .category-name::before{display:none!important}
  .gb-home .category-name-btn-more .btn-more a{display:inline-flex;align-items:center;background:#fff;color:#77213e!important;
    border-radius:4px;padding:5px 10px;font-size:0!important;text-decoration:none;white-space:nowrap}
  .gb-home .category-name-btn-more .btn-more a i{display:none}
  .gb-home .category-name-btn-more .btn-more a::before{content:"আরও খবর দেখুন";font-size:13px;font-weight:700}
  .gb-home .category-name-btn-more .btn-more a::after{content:"\2197";font-size:14px;font-weight:700;margin-left:5px}

  /* section backgrounds → plain white */
  .gb-home .bg-deals,.gb-home .category,.gb-home [class*="bg-"]:not(.bg-sptop):not(.gb-keep-bg){background:#fff!important}

  /* items: image left (38%), headline right — every item is a > .image-container > .image > img */
  .gb-home .category .row > [class*="col-"],
  .gb-home .category a[class*="description-"][class*="col-"]{flex:0 0 100%!important;max-width:100%!important;width:100%!important}
  .gb-home .category a[class*="description-"]{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    align-items:flex-start;gap:9px;padding:6px 0!important;margin:0!important;border-bottom:1px solid #f0e4e8;height:auto!important;background:transparent!important;box-shadow:none!important}
  .gb-home .category a[class*="description-"] > .card-body{display:contents}
  .gb-home .category a[class*="description-"] > small{display:none!important}
  .gb-home .category a[class*="description-"] .description-container{order:1;flex:1 1 auto!important;max-width:none!important;width:auto!important;min-width:0;margin:0!important;padding:0!important}
  .gb-home .bg-sptop .image-container,
  .gb-home .category a[class*="description-"] .image-container{order:-1!important;flex:0 0 38%!important;max-width:38%!important;width:38%!important;
    position:relative!important;height:auto!important;aspect-ratio:16/10;padding:0!important;margin:0!important;overflow:hidden;border-radius:6px}
  .gb-home .bg-sptop .image-container .image,
  .gb-home .category a[class*="description-"] .image-container .image{position:absolute!important;inset:0;width:100%!important;max-width:none!important;height:100%!important;padding:0!important;margin:0!important}
  .gb-home .bg-sptop .image-container img,
  .gb-home .category a[class*="description-"] .image-container img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;border-radius:0;aspect-ratio:auto}
  .gb-home .category a[class*="description-"] h5,
  .gb-home .category a[class*="description-"] h4,
  .gb-home .category a[class*="description-"] h3{font-size:14.5px!important;line-height:1.4!important;margin:0!important;font-weight:700}
  .gb-home .category a[class*="description-"] p{display:none!important}
  .gb-home .category .lead-content-headline{font-size:14.5px!important}
  .gb-home .category a[class*="description-"] small{font-size:12px;margin-top:2px!important;display:block}
  .gb-home .category .content,.gb-home .category .lead-category-content,.gb-home .category [class*="col-"]{padding-top:0!important;padding-bottom:0!important;margin-bottom:0!important}
  .gb-home .category [class*="col-"]{padding-top:0;padding-bottom:0}
  .gb-home .category .border-lg-end,.gb-home .category .border-lg-start,.gb-home .category .mobile-border-bottom{border:0!important}
  .gb-home .category mnl-border-my{display:none}
}

/* ================= Category / sub-category pages on phones: image left, headline right ================= */
@media (max-width:767px){
  .gb-cat-page .category-contents .content{padding:6px 0!important;border-bottom:1px solid #f0e4e8}
  .gb-cat-page .category-contents .content > a{display:flex;flex-direction:row;align-items:flex-start;gap:9px;text-decoration:none}
  .gb-cat-page .category-contents .content .image-container{flex:0 0 38%!important;max-width:38%!important;width:38%!important;position:relative;aspect-ratio:16/10;padding:0!important;margin:0!important;overflow:hidden;border-radius:6px}
  .gb-cat-page .category-contents .content .image-container .image{position:absolute!important;inset:0;width:100%!important;height:100%!important}
  .gb-cat-page .category-contents .content .image-container img{width:100%!important;height:100%!important;object-fit:cover}
  .gb-cat-page .category-contents .content .headline{flex:1;min-width:0;margin:0!important}
  .gb-cat-page .category-contents .content .headline h5{font-size:14.5px;line-height:1.4;margin:0;font-weight:700}
  .gb-cat-page .category-contents .content .description-then-image{display:none!important}
  /* top items of a category */
  .gb-cat-page .c-description-beneath-image{display:flex!important;flex-direction:row;align-items:flex-start;gap:9px;padding:6px 0;border-bottom:1px solid #f0e4e8}
  .gb-cat-page .c-description-beneath-image > .d-flex.d-lg-none{order:2;flex:1;min-width:0;display:block!important}
  .gb-cat-page .c-description-beneath-image > .d-flex.d-lg-none h5{font-size:14.5px;line-height:1.4;margin:0;font-weight:700}
  .gb-cat-page .c-description-beneath-image > .image-container{display:contents!important}
  .gb-cat-page .c-description-beneath-image .paragraph{display:none!important}
  .gb-cat-page .c-description-beneath-image .image-container > [class*="col-"]{order:1;flex:0 0 38%!important;max-width:38%!important;width:38%!important;position:relative;aspect-ratio:16/10;overflow:hidden;border-radius:6px;padding:0!important}
  .gb-cat-page .c-description-beneath-image .image-container .image{position:absolute!important;inset:0}
  .gb-cat-page .c-description-beneath-image .image-container img{width:100%!important;height:100%!important;object-fit:cover}
}

/* ================= Latest-news ticker (homepage, desktop + phones) ================= */
.gb-ticker{position:sticky;top:0;z-index:45;background:#77213e;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.gb-ticker-in{max-width:1240px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:6px 16px;height:42px}
.gb-ticker-label{flex:none;background:#fff;color:#77213e!important;text-decoration:none!important;font-family:"Noto Serif Bengali",serif;
  font-weight:700;font-size:14px;line-height:1;padding:6px 10px;border-radius:3px}
.gb-ticker-view{flex:1;min-width:0;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
.gb-ticker-track{display:inline-flex;align-items:center;white-space:nowrap;will-change:transform;animation:gbTicker var(--gb-tk-dur,120s) linear infinite}
.gb-ticker-view:hover .gb-ticker-track,.gb-ticker-view:focus-within .gb-ticker-track,.gb-ticker.paused .gb-ticker-track{animation-play-state:paused}
.gb-ticker-track a{display:inline-flex;align-items:center;gap:8px;color:#fff!important;text-decoration:none!important;
  font-family:"Noto Serif Bengali",serif;font-size:15px;font-weight:500;padding:0 18px 0 0}
.gb-ticker-track a:hover{text-decoration:underline!important}
.gb-ticker-track a i{flex:none;width:11px;height:11px;border-radius:50%;background:#77213e;border:2.5px solid #fff;box-sizing:border-box}
@keyframes gbTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.gb-ticker-track{animation-duration:400s}}
@media (max-width:767px){
  .gb-ticker-in{padding:5px 8px;height:38px;gap:8px}
  .gb-ticker-label{font-size:13px;padding:5px 8px}
  .gb-ticker-track a{font-size:14px;padding-right:14px}
}
.gb-ticker.gb-fixed{position:fixed;top:0;left:0;right:0}
.gb-ticker-ph{height:0}

/* ================= Desktop right column: সর্বশেষ list (fills the column) ================= */
@media (min-width:992px){
  .gb-home .gb-side-col{align-self:stretch;display:flex;flex-direction:column}
  .gb-home .gb-side-col > *{flex:0 0 auto}
  .gb-home .gb-side-col > .gb-side-latest-wrap{flex:1 1 auto;min-height:520px;display:flex;flex-direction:column}
}
.gb-side-latest{display:flex;flex-direction:column;height:100%;min-height:520px;margin-bottom:12px}
.gb-side-latest .gb-sec-bar span{font-size:17px}
.gb-side-latest ul{flex:1 1 auto;list-style:none;margin:8px 0 0;padding:0 2px;overflow:hidden;position:relative;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 40px),transparent)}
.gb-side-latest li{position:relative;padding:6px 0 6px 16px;border-bottom:1px solid #f3e8ec}
.gb-side-latest li::before{content:"";position:absolute;left:3px;top:15px;width:6px;height:6px;border-radius:50%;background:#77213e}
.gb-side-latest li a{color:#1d1416;text-decoration:none;font-family:"Noto Serif Bengali",serif;font-size:15px;font-weight:600;line-height:1.45}
.gb-side-latest li a:hover{color:#77213e}
@media (min-width:992px){
  .gb-home .gb-side-latest-wrap > .gb-side-latest{flex:1 1 auto;height:auto;min-height:0}
  .gb-home .gb-side-latest-wrap .gb-side-latest ul{flex:1 1 0;min-height:0}
}
@media (min-width:992px){ .gb-home .gb-side-col > .gb-side-latest-wrap{overflow:hidden} }
