/*
Theme Name: Bangla Converter Fresh
Author: Independent Theme Build
Description: Responsive Bengali converter theme with logo settings and live clock.
Version: 1.3.21
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bangla-converter-fresh
*/
:root{--p:#087f80;--d:#063e45;--a:#22c7ad;--bg:#eff9f8;--t:#17383b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--t);font:16px/1.7 system-ui,-apple-system,"Noto Sans Bengali","Nirmala UI",sans-serif}a{color:var(--p);text-decoration:none}.bc-wrap{width:min(1180px,92%);margin:auto}.bc-topbar{background:#202b2c;color:white;padding:7px 0;font-size:13px}.bc-topbar .bc-wrap,.bc-nav .bc-wrap{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.bc-header{background:#fff;padding:16px 0}.bc-brand{display:flex;align-items:center;gap:20px;min-height:125px}.bc-logo-link{display:block;flex:0 0 auto;line-height:0}.bc-logo{display:block;max-width:min(100%,420px);max-height:170px;object-fit:contain}.bc-brand-title{min-width:180px;flex:1}.bc-header-ad{flex:0 1 360px;min-width:250px;max-width:420px;margin-left:auto;text-align:center;overflow:hidden}.bc-header-ad-mobile{display:none}.bc-header-ad img{max-width:100%;height:auto}.bc-header-ad ins{max-width:100%}.bc-site-title{font-size:clamp(24px,3vw,38px);margin:0;color:var(--d)}.bc-tagline{margin:4px 0;color:#718787}.bc-nav{background:var(--d);color:white}.bc-nav a{color:white;padding:12px 0;display:inline-block;font-weight:700}.bc-clock{display:flex;align-items:center;gap:10px;background:#052f36;border:1px solid #317d7b;border-radius:12px;padding:7px 12px;margin-left:auto}.bc-clock small,.bc-clock strong{display:block;color:#eafffc}.bc-clock strong{font-size:16px}.bc-clock-title{display:block;color:#9ff5e5;font-size:12px;font-weight:700;line-height:1.35}.bc-hero{padding:24px 0 16px}.bc-banner{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;background:linear-gradient(120deg,#073d43,#087f80);color:white;border-radius:16px;padding:22px 28px}.bc-banner img{max-width:100%;max-height:125px;object-fit:contain}.bc-banner h2{margin:0;color:white;font-size:clamp(24px,3vw,36px)}.bc-banner p{color:#c9ffef;margin:6px 0 0}.bc-main,.bc-content{padding:16px 0 38px}.bc-card,article{background:#fff;border:1px solid #e0eeec;border-radius:16px;padding:clamp(18px,3vw,30px);box-shadow:0 8px 28px #0b555508}.bc-title{text-align:center;margin:0;font-size:clamp(25px,3vw,36px);color:var(--d)}.bc-intro{text-align:center;color:#607778;margin:4px auto 24px;max-width:760px}.bc-converter-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bc-field label{display:block;font-weight:700;margin-bottom:8px;color:var(--d)}.bc-field textarea{width:100%;min-height:220px;border:1px solid #d3e2e0;border-radius:10px;padding:14px;font:inherit;resize:vertical}.bc-field textarea:focus{outline:2px solid #63dcca}.bc-field-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.bc-count,.bc-note{font-size:13px;color:#718787}.bc-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:20px}.bc-btn{border:1px solid var(--p);background:var(--p);color:#fff;padding:10px 17px;border-radius:9px;font:inherit;font-weight:700;cursor:pointer}.bc-btn:hover{background:var(--d);color:white}.bc-btn.secondary{background:white;color:var(--d)}.bc-btn.danger{background:white;color:#c92735;border-color:#e65d65}.bc-btn.small{padding:5px 10px;font-size:13px}.bc-features{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:20px}.bc-feature{background:#fff;border:1px solid #e0eeec;border-radius:12px;padding:16px;display:flex;align-items:center;gap:10px}.bc-feature-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:50%;background:#dcf9f3;color:var(--p);font-size:20px}.bc-feature strong,.bc-feature small{display:block}.bc-feature small{color:#718787}.bc-footer{background:#052f36;color:#d8f7f1;text-align:center;padding:22px}.bc-footer p{margin:0}@media(max-width:760px){.bc-banner,.bc-converter-grid{grid-template-columns:1fr}.bc-banner{text-align:center}.bc-banner img{margin:auto}.bc-features{grid-template-columns:repeat(2,1fr)}.bc-brand{align-items:center;flex-direction:column;gap:8px;padding-top:12px;padding-bottom:12px}.bc-brand-title{text-align:center}.bc-header-ad-desktop{display:none}.bc-header-ad-mobile{display:block;width:100%;max-width:100%;min-width:0;margin:8px auto 0}.bc-logo{max-height:150px}.bc-clock{margin-left:0}}@media(max-width:420px){.bc-features{grid-template-columns:1fr}}
/* Breaking news ticker */
.bc-breaking-ticker{display:flex;align-items:stretch;width:min(1180px,92%);margin:12px auto 0;min-height:44px;overflow:hidden;background:var(--bc-ticker-bg,#d62912);color:#fff;border-radius:2px;font-family:inherit}
.bc-breaking-label{display:flex;align-items:center;justify-content:center;flex:0 0 auto;padding:8px 15px;background:var(--bc-ticker-label-bg,#087f60);font-weight:800;white-space:nowrap;color:#fff}
.bc-breaking-window{display:flex;align-items:center;min-width:0;flex:1;overflow:hidden}
.bc-breaking-track{display:flex;width:max-content;animation:bc-breaking-scroll var(--bc-ticker-duration,35s) linear infinite}
.bc-breaking-group{display:flex;align-items:center;flex-shrink:0;white-space:nowrap}
.bc-breaking-item{display:inline-flex;align-items:center;padding:0 22px;font-size:16px;font-weight:600;color:#fff;white-space:nowrap}
.bc-breaking-item a{color:#fff;text-decoration:none}.bc-breaking-item a:hover{text-decoration:underline}
.bc-breaking-ticker:hover .bc-breaking-track{animation-play-state:paused}
@keyframes bc-breaking-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:600px){.bc-breaking-ticker{width:100%;margin-top:8px;min-height:40px;border-radius:0}.bc-breaking-label{padding:7px 10px;font-size:13px}.bc-breaking-item{font-size:14px;padding:0 15px}}
@media(prefers-reduced-motion:reduce){.bc-breaking-track{animation:none}}


/* v1.3.1: reliable mobile header removal and compact navigation */
@media screen and (max-width: 760px) {
  body .bc-topbar { display: none !important; height: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
  body header.bc-header { display: none !important; height: 0 !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; }
  body nav.bc-nav { padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
  body nav.bc-nav > .bc-wrap {
    width: 94% !important;
    min-height: 42px !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
  }
  body nav.bc-nav a { padding: 7px 0 !important; font-size: 13px !important; line-height: 1.25 !important; white-space: nowrap !important; }
  body nav.bc-nav .bc-clock {
    margin: 0 0 0 auto !important;
    padding: 3px 7px !important;
    gap: 5px !important;
    border-radius: 8px !important;
    flex: 0 0 auto !important;
  }
  body nav.bc-nav .bc-clock small { font-size: 9px !important; line-height: 1.2 !important; }
  body nav.bc-nav .bc-clock strong { font-size: 12px !important; line-height: 1.2 !important; }
  body nav.bc-nav .bc-clock-title { font-size: 9px !important; line-height: 1.2 !important; }
  body .bc-breaking-ticker { margin-top: 5px !important; min-height: 34px !important; }
  body .bc-breaking-label { padding: 5px 8px !important; font-size: 12px !important; }
  body .bc-breaking-item { padding: 0 10px !important; font-size: 12px !important; }
}
@media screen and (max-width: 380px) {
  body nav.bc-nav > .bc-wrap { width: 96% !important; gap: 5px !important; }
  body nav.bc-nav a { font-size: 12px !important; }
  body nav.bc-nav .bc-clock { padding: 3px 5px !important; }
}


/* v1.3.2: reduce the green navigation strip on mobile only */
@media screen and (max-width: 760px) {
  body nav.bc-nav > .bc-wrap {
    min-height: 34px !important;
    height: auto !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    gap: 6px !important;
  }
  body nav.bc-nav > .bc-wrap > a,
  body nav.bc-nav > .bc-wrap > li > a {
    padding: 3px 0 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
  body nav.bc-nav > .bc-wrap > li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  body nav.bc-nav .bc-clock {
    padding: 2px 6px !important;
    gap: 4px !important;
    border-radius: 7px !important;
  }
  body nav.bc-nav .bc-clock small,
  body nav.bc-nav .bc-clock-title { font-size: 8px !important; line-height: 1.1 !important; }
  body nav.bc-nav .bc-clock strong { font-size: 11px !important; line-height: 1.1 !important; }
}
@media screen and (max-width: 380px) {
  body nav.bc-nav > .bc-wrap { min-height: 32px !important; gap: 4px !important; }
  body nav.bc-nav > .bc-wrap > a,
  body nav.bc-nav > .bc-wrap > li > a { font-size: 11px !important; }
}

/* v1.3.6: mobile ticker animation. Keep the duplicated RSS track moving on touch devices. */
@media screen and (max-width: 760px) {
  body .bc-breaking-ticker .bc-breaking-window {
    display: flex !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }
  body .bc-breaking-ticker .bc-breaking-track {
    display: flex !important;
    width: max-content !important;
    min-width: max-content !important;
    flex: 0 0 auto !important;
    animation: bc-breaking-scroll var(--bc-ticker-duration,35s) linear infinite !important;
    -webkit-animation: bc-breaking-scroll var(--bc-ticker-duration,35s) linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
    will-change: transform;
  }
  body .bc-breaking-ticker:hover .bc-breaking-track,
  body .bc-breaking-ticker:active .bc-breaking-track,
  body .bc-breaking-ticker:focus-within .bc-breaking-track {
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
  }
  body .bc-breaking-ticker .bc-breaking-group {
    display: flex !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}
/* Do not let the device reduced-motion preference freeze the news ticker. */
@media screen and (max-width: 760px) and (prefers-reduced-motion: reduce) {
  body .bc-breaking-ticker .bc-breaking-track {
    animation: bc-breaking-scroll var(--bc-ticker-duration,35s) linear infinite !important;
    -webkit-animation: bc-breaking-scroll var(--bc-ticker-duration,35s) linear infinite !important;
    animation-play-state: running !important;
    -webkit-animation-play-state: running !important;
  }
}

/* v1.3.7: mobile brand-first header layout (logo above navigation and ticker) */
@media screen and (max-width: 760px) {
  body .bc-topbar { display: none !important; }
  body header.bc-header { display:block !important; height:auto !important; min-height:0 !important; margin:0 !important; padding:10px 0 14px !important; background:#fff !important; }
  body header.bc-header .bc-brand { width:94% !important; min-height:0 !important; margin:0 auto !important; padding:0 !important; display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important; gap:5px !important; }
  body header.bc-header .bc-logo-link { display:block !important; width:100% !important; text-align:center !important; flex:0 0 auto !important; }
  body header.bc-header .bc-logo { display:block !important; width:min(78vw,360px) !important; max-width:100% !important; max-height:145px !important; height:auto !important; margin:0 auto !important; object-fit:contain !important; }
  body header.bc-header .bc-brand-title { display:block !important; width:100% !important; min-width:0 !important; flex:0 0 auto !important; text-align:center !important; margin:0 !important; }
  body header.bc-header .bc-site-title { display:none !important; }
  body header.bc-header .bc-tagline { display:block !important; margin:0 !important; padding:0 !important; color:#063e45 !important; font-size:clamp(16px,4.2vw,21px) !important; line-height:1.4 !important; font-weight:700 !important; text-align:center !important; }
  body header.bc-header .bc-header-ad-desktop { display:none !important; }
  body header.bc-header .bc-header-ad-mobile { display:block !important; width:100% !important; max-width:100% !important; min-width:0 !important; margin:8px auto 0 !important; }
  body nav.bc-nav { display:block !important; margin:0 !important; padding:5px 0 !important; }
  body nav.bc-nav > .bc-wrap { width:94% !important; min-height:42px !important; flex-wrap:nowrap !important; }
}

/* v1.3.8: avoid showing the brand logo twice on mobile; keep hero copy */
@media screen and (max-width: 760px) {
  body .bc-hero .bc-banner {
    grid-template-columns: 1fr !important;
    padding: 24px 20px !important;
    gap: 0 !important;
  }
  body .bc-hero .bc-banner > div:first-child {
    display: none !important;
  }
  body .bc-hero .bc-banner > div:last-child {
    width: 100% !important;
    text-align: center !important;
  }
  body .bc-hero .bc-banner h2 {
    font-size: clamp(21px, 5.2vw, 28px) !important;
    line-height: 1.5 !important;
  }
}

/* v1.3.9: compact the remaining mobile hero banner */
@media screen and (max-width: 760px) {
  body .bc-hero {
    padding: 12px 0 10px !important;
  }
  body .bc-hero .bc-banner {
    padding: 14px 16px !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    gap: 0 !important;
  }
  body .bc-hero .bc-banner > div:last-child {
    margin: 0 !important;
    padding: 0 !important;
  }
  body .bc-hero .bc-banner h2 {
    margin: 0 !important;
    font-size: clamp(19px, 4.8vw, 25px) !important;
    line-height: 1.35 !important;
  }
  body .bc-hero .bc-banner p {
    margin: 4px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}

/* v1.3.11: bilingual date row with Bengali and Hijri calendars */
.bc-datebar{width:min(1180px,var(--bc-datebar-width,92%));margin:var(--bc-datebar-top,12px) auto 0;padding:var(--bc-datebar-padding,15px) 12px;display:grid;grid-template-columns:.8fr 1.15fr 1.15fr 1.45fr .95fr;align-items:stretch;background:var(--bc-datebar-bg,#07514d);color:var(--bc-datebar-text,#fff);border-radius:var(--bc-datebar-radius,18px);box-shadow:0 5px 18px #073e3d18}
.bc-datebar-item{min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;padding:4px 10px;border-right:1px solid rgba(255,255,255,.65);text-align:center}
.bc-datebar-item:last-child{border-right:0}.bc-datebar-icon{font-size:27px;line-height:1;color:var(--bc-datebar-text,#fff);flex:0 0 auto}
.bc-datebar-item small{display:block;color:var(--bc-datebar-text,#d4fff4);font-size:13px;line-height:1.35;font-weight:700}
.bc-datebar-item strong{display:block;margin-top:7px;padding:7px 10px;border-radius:10px;background:#f4f6f5;color:#172b2a;font-size:clamp(13px,1.3vw,var(--bc-datebar-font,18px));line-height:1.35;font-weight:800;white-space:nowrap}
.bc-datebar-time strong{background:#d9fff0}
@media(max-width:760px){.bc-datebar{width:94%;margin:8px auto 0;padding:9px 7px;grid-template-columns:1fr 1.2fr;gap:0;border-radius:12px}.bc-datebar-item{padding:7px 5px;gap:6px;border-right:1px solid rgba(255,255,255,.45);border-bottom:1px solid rgba(255,255,255,.28)}.bc-datebar-item:nth-child(2n){border-right:0}.bc-datebar-hijri,.bc-datebar-time{grid-column:1/-1;border-right:0}.bc-datebar-time{border-bottom:0}.bc-datebar-icon{font-size:20px}.bc-datebar-item small{font-size:10px}.bc-datebar-item strong{font-size:13px;margin-top:4px;padding:5px 7px;white-space:normal}}
@media(max-width:380px){.bc-datebar-item{gap:4px;padding:6px 3px}.bc-datebar-item strong{font-size:11px}}

/* v1.3.13 layout refinement: desktop full date strip, compact mobile nav clock */
.bc-mobile-clock{display:none}
@media(max-width:760px){
  .bc-datebar{display:none}
  .bc-mobile-clock{display:flex;align-items:center;gap:7px;margin-left:auto;max-width:52%;
    padding:5px 9px;background:#052f36;border:1px solid #317d7b;border-radius:10px;color:#eafffc}
  .bc-mobile-clock-icon{font-size:13px;line-height:1}
  .bc-mobile-clock-date{display:block;color:#d9fff4;font-size:10px;line-height:1.25;white-space:nowrap}
  .bc-mobile-clock-time{display:block;color:#fff;font-size:13px;line-height:1.25;white-space:nowrap}
  .bc-nav .bc-wrap{flex-wrap:nowrap;gap:8px}
  .bc-nav a{font-size:14px;padding:10px 0}
}
@media(max-width:380px){
  .bc-mobile-clock{max-width:55%;padding:4px 6px}
  .bc-mobile-clock-date{font-size:9px}
  .bc-mobile-clock-time{font-size:12px}
}



/* v1.3.16: two compact horizontal mobile date designs */
.bc-mobile-date-design{display:none}
@media(max-width:760px){
 .bc-datebar,.bc-mobile-clock{display:none!important}
 .bc-mobile-date-design{display:grid!important;grid-template-columns:27px minmax(0,1fr) auto;
  align-items:center;gap:8px;width:94%;margin:8px auto 10px;padding:9px 10px;
  color:#fff;background:linear-gradient(110deg,#064b48,#08756c);
  border:1px solid rgba(255,255,255,.7);border-radius:14px;
  box-shadow:0 3px 10px rgba(0,50,48,.18);box-sizing:border-box}
 .bc-md-icon{font-size:23px;line-height:1;text-align:center}
 .bc-md-dates{min-width:0;display:flex;flex-direction:column;gap:3px}
 .bc-md-line{display:flex;align-items:center;gap:4px;min-width:0;flex-wrap:wrap;
  font-size:11px;line-height:1.3;color:#fff}
 .bc-md-line strong{font-size:inherit;font-weight:700}
 .bc-md-sep{opacity:.8}
 .bc-md-hijri-line{font-size:10px;color:#e1fff8}
 .bc-md-time{min-width:73px;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:3px;padding-left:8px;border-left:1px solid rgba(255,255,255,.55);
  text-align:center}
 .bc-md-clock-icon{font-size:18px;line-height:1}
 .bc-md-time strong{font-size:12px;line-height:1.25;white-space:nowrap;font-weight:800}
 body.bcf-mobile-date-one .bc-mobile-date-design{background:linear-gradient(110deg,#064b48,#08756c)}
 body.bcf-mobile-date-two .bc-mobile-date-design{background:linear-gradient(110deg,#082c59,#0879c7)}
}
@media(max-width:380px){
 .bc-mobile-date-design{grid-template-columns:23px minmax(0,1fr) auto;gap:6px;padding:8px 7px}
 .bc-md-icon{font-size:20px}
 .bc-md-line{font-size:10px;gap:3px}
 .bc-md-hijri-line{font-size:9px}
 .bc-md-time{min-width:67px;padding-left:6px}
 .bc-md-time strong{font-size:11px}
}


/* v1.3.17: remove unused mobile header/ticker whitespace and support responsive ad slot */
@media screen and (max-width:760px){
  body header.bc-header{
    height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
    background:#fff!important;line-height:0!important
  }
  body header.bc-header .bc-brand{
    width:100%!important;min-height:0!important;margin:0 auto!important;padding:0!important;
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:0!important
  }
  body header.bc-header .bc-logo-link{
    display:block!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:0!important;line-height:0!important;text-align:center!important
  }
  body header.bc-header .bc-logo{
    display:block!important;width:min(74vw,330px)!important;max-width:100%!important;
    max-height:125px!important;height:auto!important;margin:0 auto!important;
    object-fit:contain!important
  }
  body header.bc-header .bc-brand-title{
    display:block!important;width:100%!important;min-width:0!important;flex:0 0 auto!important;
    margin:0!important;padding:0 0 3px!important;text-align:center!important;line-height:1.2!important
  }
  body header.bc-header .bc-site-title{display:none!important}
  body header.bc-header .bc-tagline{
    display:block!important;margin:0!important;padding:0!important;color:#063e45!important;
    font-size:clamp(14px,3.8vw,18px)!important;line-height:1.25!important;
    font-weight:700!important;text-align:center!important
  }
  body header.bc-header .bc-header-ad-desktop{display:none!important}
  body header.bc-header .bc-header-ad-mobile{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
    overflow:visible!important;text-align:center!important;line-height:normal!important
  }
  body header.bc-header .bc-header-ad-mobile img,
  body header.bc-header .bc-header-ad-mobile iframe,
  body header.bc-header .bc-header-ad-mobile ins{
    max-width:100%!important
  }
  body header.bc-header .bc-brand:has(.bc-header-ad-mobile){
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:center!important;column-gap:8px!important;row-gap:0!important
  }
  body header.bc-header .bc-brand:has(.bc-header-ad-mobile) .bc-logo-link{
    grid-column:1!important;width:100%!important
  }
  body header.bc-header .bc-brand:has(.bc-header-ad-mobile) .bc-logo{
    width:100%!important;max-height:110px!important
  }
  body header.bc-header .bc-brand:has(.bc-header-ad-mobile) .bc-header-ad-mobile{
    grid-column:2!important;grid-row:1!important;width:100%!important
  }
  body header.bc-header .bc-brand:has(.bc-header-ad-mobile) .bc-brand-title{
    grid-column:1/-1!important;grid-row:2!important;padding:2px 0 3px!important
  }
  body nav.bc-nav{margin:0!important;padding:3px 0!important}
  body nav.bc-nav>.bc-wrap{margin:0 auto!important}
  body .bc-breaking-ticker{
    margin:0!important;width:100%!important;border-radius:0!important
  }
  body main.bc-main{padding-top:0!important;margin-top:0!important}
  body main.bc-main>.bc-wrap{margin-top:0!important;padding-top:0!important}
}


/* v1.3.18: force compact mobile header and remove gaps around ticker/content */
@media only screen and (max-width:760px){
  html body header.bc-header{
    display:block!important;box-sizing:border-box!important;
    width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;border:0!important;
  }
  html body header.bc-header .bc-wrap.bc-brand{
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;
    min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
    gap:0!important;row-gap:0!important;column-gap:0!important;
  }
  html body header.bc-header .bc-logo-link{
    box-sizing:border-box!important;margin:0!important;padding:0!important;
    line-height:0!important;height:auto!important;
  }
  html body header.bc-header img.bc-logo{
    box-sizing:border-box!important;display:block!important;
    width:min(72vw,320px)!important;height:auto!important;
    max-width:100%!important;max-height:118px!important;
    margin:0 auto!important;padding:0!important;
  }
  html body header.bc-header .bc-brand-title{
    box-sizing:border-box!important;margin:0!important;padding:0 0 2px!important;
    min-height:0!important;height:auto!important;line-height:1.15!important;
  }
  html body header.bc-header .bc-tagline{
    margin:0!important;padding:0!important;line-height:1.2!important;
  }
  html body header.bc-header .bc-header-ad-mobile{
    box-sizing:border-box!important;min-height:0!important;height:auto!important;
    margin:0!important;padding:0!important;border:0!important;
  }
  html body header.bc-header .bc-brand:has(>.bc-header-ad-mobile){
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;align-items:center!important;
    gap:0 6px!important;
  }
  html body header.bc-header .bc-brand:has(>.bc-header-ad-mobile)>.bc-logo-link{
    grid-column:1!important;grid-row:1!important;width:100%!important;
  }
  html body header.bc-header .bc-brand:has(>.bc-header-ad-mobile)>.bc-header-ad-mobile{
    grid-column:2!important;grid-row:1!important;width:100%!important;
  }
  html body header.bc-header .bc-brand:has(>.bc-header-ad-mobile)>.bc-brand-title{
    grid-column:1/-1!important;grid-row:2!important;
  }
  html body .bc-mobile-date-design{
    margin:6px auto 0!important;
  }
  html body .bc-breaking-ticker{
    margin:0!important;padding:0!important;border:0!important;
  }
  html body main.bc-main{
    margin:0!important;padding:0 0 24px!important;
  }
  html body main.bc-main>.bc-wrap{
    margin-top:0!important;padding-top:0!important;
  }
}


/* v1.3.19: mobile visual theme based on approved teal mockup */
@media screen and (max-width:760px){
  html,body{background:#004f50!important}
  body{background:linear-gradient(180deg,#003f42 0%,#006b68 52%,#00484b 100%)!important}
  body .bc-topbar{display:none!important}
  body .bc-mobile-ad-top{
    display:block!important;box-sizing:border-box;width:100%!important;
    margin:0!important;padding:5px 12px!important;background:#003f43!important;
    text-align:center!important;line-height:normal!important;min-height:0!important;
  }
  body .bc-mobile-ad-top img,body .bc-mobile-ad-top iframe,
  body .bc-mobile-ad-top ins{display:block;max-width:100%!important;margin:0 auto!important}
  body header.bc-header{
    position:relative!important;isolation:isolate!important;overflow:hidden!important;
    display:block!important;width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:18px 12px 20px!important;
    background:radial-gradient(ellipse at 50% 80%,#078d83 0%,#00615f 45%,#003f43 100%)!important;
    border:0!important;box-shadow:none!important;line-height:normal!important;
  }
  body header.bc-header:after{
    content:"";position:absolute;z-index:-1;left:-12%;right:-12%;bottom:-42px;height:88px;
    border:2px solid rgba(31,232,203,.55);border-top-color:transparent;
    border-radius:0 0 50% 50%;transform:rotate(-2deg);
    box-shadow:0 7px 0 -5px rgba(31,232,203,.28);
  }
  body header.bc-header .bc-brand{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:8px!important;width:100%!important;
    max-width:100%!important;min-height:0!important;height:auto!important;
    margin:0 auto!important;padding:0!important;
  }
  body header.bc-header .bc-logo-link{
    display:block!important;width:100%!important;max-width:100%!important;
    margin:0!important;padding:0!important;text-align:center!important;line-height:0!important;
  }
  body header.bc-header img.bc-logo{
    display:block!important;width:min(78vw,390px)!important;max-width:100%!important;
    max-height:155px!important;height:auto!important;object-fit:contain!important;
    margin:0 auto!important;padding:0!important;
  }
  body header.bc-header .bc-brand-title{
    display:block!important;width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;text-align:center!important;
  }
  body header.bc-header .bc-site-title{display:none!important}
  body header.bc-header .bc-tagline{
    display:block!important;margin:0!important;padding:0!important;color:#f4ffff!important;
    font-size:clamp(15px,4vw,20px)!important;line-height:1.25!important;
    font-weight:800!important;text-align:center!important;text-shadow:0 1px 3px #003b3b;
  }
  body header.bc-header .bc-header-ad-desktop,
  body header.bc-header .bc-header-ad-mobile{display:none!important}
  body nav.bc-nav{
    display:block!important;margin:0!important;padding:4px 0!important;
    background:#003c3e!important;border:0!important;box-shadow:none!important;
  }
  body nav.bc-nav>.bc-wrap{
    display:flex!important;justify-content:space-between!important;align-items:center!important;
    flex-wrap:nowrap!important;width:94%!important;min-height:40px!important;
    margin:0 auto!important;padding:0!important;gap:8px!important;
  }
  body nav.bc-nav a{color:#fff!important;font-size:14px!important;padding:7px 0!important}
  body .bc-mobile-date-design{
    display:grid!important;width:94%!important;margin:12px auto 12px!important;
    padding:12px 10px!important;grid-template-columns:28px minmax(0,1fr) auto!important;
    gap:8px!important;align-items:center!important;border:2px solid #13d8c8!important;
    border-radius:24px!important;background:linear-gradient(135deg,#004e4b,#003f42)!important;
    color:#fff!important;box-shadow:0 0 12px rgba(0,255,220,.25),0 5px 14px #002d2d55!important;
  }
  body .bc-md-icon,body .bc-md-clock-icon{color:#fff!important}
  body .bc-md-dates{gap:3px!important}
  body .bc-md-line{color:#f4ffff!important;font-size:11px!important;line-height:1.35!important}
  body .bc-md-hijri-line{color:#d5fff9!important;font-size:10px!important}
  body .bc-md-time{border-left:1px solid #12cdbd!important;min-width:75px!important}
  body .bc-md-time strong{color:#fff!important;font-size:12px!important}
  body .bc-datebar,.bc-mobile-clock{display:none!important}
  body .bc-breaking-ticker{
    display:flex!important;width:100%!important;margin:0!important;padding:0!important;
    min-height:44px!important;border:0!important;border-radius:0!important;
    box-shadow:0 2px 8px #002c2c55!important;
  }
  body .bc-breaking-label{background:#07855f!important;padding:7px 10px!important}
  body .bc-breaking-window{background:#e31e24!important}
  body .bc-breaking-track{background:#e31e24!important}
  body main.bc-main{
    display:block!important;width:100%!important;margin:0!important;
    padding:34px 0 30px!important;background:transparent!important;
    position:relative!important;
  }
  body main.bc-main:before{
    content:"";position:absolute;z-index:0;left:0;right:0;top:0;height:100%;
    background:radial-gradient(ellipse at 50% 100%,#008b7b 0%,#006a67 42%,#004f50 100%);
    pointer-events:none;
  }
  body main.bc-main>.bc-wrap{position:relative!important;z-index:1;width:94%!important;
    margin:0 auto!important;padding:0!important}
  body .bc-card,body article{
    background:linear-gradient(145deg,#f3ffff,#d9f2ef)!important;
    border:1px solid rgba(255,255,255,.9)!important;border-radius:28px!important;
    padding:22px 18px!important;box-shadow:0 12px 26px rgba(0,35,35,.28)!important;
  }
  body .bc-title{color:#00494a!important}
  body .bc-intro{color:#476e6c!important}
}
