/*
Theme Name: Bangladesh Awami Muktijoddha Projonmo League
Version: 3.8
*/

/*
Theme Name: মুক্তিযোদ্ধা প্রজন্মলীগ
Theme URI: https://example.com/
Author: OpenAI
Description: বাংলাদেশ আওয়ামী মুক্তিযোদ্ধা প্রজন্মলীগ কেন্দ্রীয় কমিটির জন্য বাংলা, মোবাইল-ফ্রেন্ডলি WordPress theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: muktijoddha-projonmo
*/
:root{--green:#087a3b;--dark:#07552d;--red:#d71920;--light:#f5f8f6;--text:#1e293b}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Noto Sans Bengali","Hind Siliguri",Arial,sans-serif;color:var(--text);background:#fff;line-height:1.8}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--red)}
.container{width:min(1180px,92%);margin:auto}
.topbar{background:var(--dark);color:#fff;font-size:14px}
.topbar .container{display:flex;justify-content:space-between;gap:20px;padding:7px 0}
.site-header{background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:99}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
.brand img{width:72px;height:72px;object-fit:contain;border-radius:50%}
.brand-title{font-size:22px;font-weight:800;color:var(--dark);line-height:1.35}
.brand-subtitle{font-size:13px;color:#64748b}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.main-nav li{margin:0}
.main-nav a{display:block;padding:9px 12px;color:#183b2a;font-weight:700;border-radius:8px}
.main-nav a:hover,.main-nav .current-menu-item>a{background:#edf8f1;color:var(--red)}
.hero{background:linear-gradient(135deg,#f4faf6 0%,#fff 55%,#fff6f6 100%);padding:70px 0 60px;border-bottom:4px solid var(--red)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:45px;align-items:center}
.hero h1{font-size:clamp(32px,5vw,58px);line-height:1.25;margin:0 0 15px;color:var(--dark)}
.hero h1 span{color:var(--red)}
.hero p{font-size:18px;color:#475569;margin:0 0 24px}
.btn{display:inline-block;background:var(--green);color:#fff;padding:11px 20px;border-radius:8px;font-weight:800;margin-right:8px}
.btn:hover{background:var(--red);color:#fff}
.btn-outline{background:#fff;color:var(--green);border:1px solid var(--green)}
.hero-logo{display:flex;justify-content:center}
.hero-logo img{width:min(360px,80vw);height:auto;border-radius:50%;box-shadow:0 12px 35px rgba(0,0,0,.12)}
.section{padding:55px 0}
.section.alt{background:var(--light)}
.section-title{text-align:center;margin:0 0 28px;color:var(--dark);font-size:30px}
.section-title:after{content:"";display:block;width:70px;height:4px;background:var(--red);margin:10px auto 0;border-radius:4px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:24px;box-shadow:0 4px 18px rgba(15,23,42,.05)}
.card h3{margin-top:0;color:var(--dark)}
.notice-list{display:grid;gap:12px}
.notice-item{padding:16px 18px;background:#fff;border-left:5px solid var(--red);border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.content-area{padding:45px 0}
.post-card{margin-bottom:25px;padding-bottom:25px;border-bottom:1px solid #e5e7eb}
.post-card h2{margin-bottom:6px}
.entry-meta{font-size:13px;color:#64748b}
.site-footer{background:#073d24;color:#dcefe4;padding:45px 0 15px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:30px}
.site-footer h3{color:#fff}
.site-footer a{color:#dcefe4}
.copyright{border-top:1px solid rgba(255,255,255,.15);margin-top:30px;padding-top:15px;font-size:13px}
input,textarea,select{width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:7px;font-family:inherit}
button,input[type=submit]{background:var(--green);color:#fff;border:0;padding:11px 18px;border-radius:7px;cursor:pointer;font-family:inherit}
.wp-block-button__link{background:var(--green)}
.alignwide{max-width:1180px;margin-left:auto;margin-right:auto}
@media(max-width:900px){
 .header-inner{align-items:flex-start}.main-nav ul{justify-content:flex-end}
 .hero-grid{grid-template-columns:1fr}.hero-logo{order:-1}
 .cards,.footer-grid{grid-template-columns:1fr}
}
@media(max-width:600px){
 .topbar .container{display:block;text-align:center}
 .brand img{width:58px;height:58px}.brand-title{font-size:17px}.brand-subtitle{font-size:11px}
 .header-inner{flex-direction:column;align-items:stretch}
 .main-nav ul{justify-content:center}
 .main-nav a{padding:7px 8px;font-size:14px}
 .hero{padding:40px 0}.section{padding:40px 0}
}

/* v1.1 additions */
.site-header{background:linear-gradient(90deg,#07552d 0%,#0a8f48 48%,#b30000 100%);border-bottom:4px solid #e21b23}
.site-header .brand-title,.site-header .brand-subtitle{color:#fff}
.site-header .brand img{background:#fff;border:3px solid #fff}
.main-nav a{color:#fff}
.main-nav a:hover,.main-nav .current-menu-item>a{background:rgba(255,255,255,.18);color:#fff}
.member-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.member-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid #e5e7eb;box-shadow:0 5px 18px rgba(0,0,0,.07);text-align:center}
.member-photo{width:100%;aspect-ratio:1/1;object-fit:cover;background:#f1f5f9}
.member-card .member-info{padding:15px}
.member-card h3{margin:0 0 4px;color:var(--dark);font-size:19px}
.member-role{color:var(--red);font-weight:700}
.member-phone{display:inline-block;margin-top:7px}
.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.gallery-item{border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.07)}
.gallery-item img{width:100%;height:210px;object-fit:cover;display:block}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.video-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.07)}
.video-card iframe{width:100%;aspect-ratio:16/9;border:0;display:block}
.video-card h3{padding:12px 15px;margin:0}
.speech{background:#fff;border-left:6px solid var(--green);padding:25px;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.speech h3{margin-top:0;color:var(--red)}
@media(max-width:1000px){.member-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid{grid-template-columns:repeat(2,1fr)}.video-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.member-grid,.gallery-grid,.video-grid{grid-template-columns:1fr}.gallery-item img{height:230px}}

/* Local committees & notice ticker */
.notice-ticker{display:flex;align-items:center;background:#07552d;color:#fff;border-radius:10px;overflow:hidden;margin:0 0 25px}
.notice-ticker-label{background:#d71920;padding:9px 16px;font-weight:800;white-space:nowrap}
.notice-ticker-window{overflow:hidden;flex:1;white-space:nowrap}
.notice-ticker-track{display:inline-block;padding:9px 0 9px 100%;animation:mplTicker 25s linear infinite}
.notice-ticker-track a{color:#fff;font-weight:600}
.notice-ticker-track span{margin:0 12px;color:#cdebd9}
@keyframes mplTicker{from{transform:translateX(0)}to{transform:translateX(-100%)}}

/* Notice immediately below header */
.site-header + .notice-ticker-wrap{display:block}
.notice-ticker-wrap{background:#fff;padding:8px 0;border-bottom:1px solid #e5e7eb}
.notice-ticker{margin:0!important}

/* Dashboard photo gallery slider */
.mpl-photo-slider{position:relative;overflow:hidden;border-radius:14px;background:#f3f6f4;box-shadow:0 5px 18px rgba(0,0,0,.08)}
.mpl-photo-track{display:flex;transition:transform .6s ease}
.mpl-photo-slide{min-width:100%;position:relative}
.mpl-photo-slide img{width:100%;height:420px;object-fit:cover;display:block}
.mpl-photo-slide span{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff;font-weight:700;font-size:18px}
.mpl-prev,.mpl-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;border:0;font-size:32px;line-height:32px;z-index:2}
.mpl-prev{left:12px}.mpl-next{right:12px}
.mpl-prev:hover,.mpl-next:hover{background:#087a3b}
.mpl-dots{position:absolute;bottom:12px;left:0;right:0;text-align:center}
.mpl-dot{width:9px;height:9px;padding:0;margin:0 4px;border-radius:50%;background:#fff;border:1px solid #087a3b}
.mpl-dot.active{background:#d71920}
@media(max-width:600px){.mpl-photo-slide img{height:270px}.mpl-photo-slide span{font-size:15px}}

.notice-ticker-wrap{background:#fff;padding:8px 0;border-bottom:1px solid #e5e7eb}
.notice-ticker{margin:0!important;display:flex;align-items:center;background:#07552d;color:#fff;border-radius:8px;overflow:hidden}
.notice-ticker-label{background:#d71920;padding:9px 16px;font-weight:800;white-space:nowrap}
.notice-ticker-window{overflow:hidden;flex:1;white-space:nowrap}
.notice-ticker-track{display:inline-block;padding:9px 0 9px 100%;animation:mplTicker 25s linear infinite}
.notice-ticker-track a{color:#fff;font-weight:600}
.notice-ticker-track span{margin:0 12px;color:#cdebd9}
@keyframes mplTicker{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.mpl-photo-slider{position:relative;overflow:hidden;border-radius:14px;background:#f3f6f4;box-shadow:0 5px 18px rgba(0,0,0,.08)}
.mpl-photo-track{display:flex;transition:transform .6s ease}
.mpl-photo-slide{min-width:100%;position:relative}
.mpl-photo-slide img{width:100%;height:420px;object-fit:cover;display:block}
.mpl-photo-slide span{position:absolute;left:0;right:0;bottom:0;padding:12px 18px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff;font-weight:700;font-size:18px}
.mpl-prev,.mpl-next{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;border:0;font-size:32px;line-height:32px;z-index:2}
.mpl-prev{left:12px}.mpl-next{right:12px}.mpl-prev:hover,.mpl-next:hover{background:#087a3b}
.mpl-dots{position:absolute;bottom:12px;left:0;right:0;text-align:center}
.mpl-dot{width:9px;height:9px;padding:0;margin:0 4px;border-radius:50%;background:#fff;border:1px solid #087a3b}
.mpl-dot.active{background:#d71920}
@media(max-width:600px){.mpl-photo-slide img{height:270px}}

.history-first{padding-top:35px;padding-bottom:35px}
.history-first .section-title{font-size:32px}
.activity-full{margin-top:35px;background:#fff;border-radius:14px;padding:25px;box-shadow:0 6px 22px rgba(0,0,0,.07)}
.activity-full h2{color:#07552d;text-align:center;margin-top:0}
.activity-full>p{font-size:18px;line-height:2;text-align:center;max-width:900px;margin:0 auto 25px}
.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.activity-grid article{padding:20px;border:1px solid #e6eee9;border-radius:12px;background:#f8fbf9}
.activity-grid h3{color:#07552d;margin-top:0}
@media(max-width:768px){
 .activity-grid{grid-template-columns:1fr}
 .history-first .section-title{font-size:25px}
 .activity-full{padding:18px}
 .activity-full>p{font-size:16px}
 .mobile-menu-btn{display:flex!important;align-items:center;justify-content:center;font-size:30px;font-weight:800}
}

/* v2.3 hamburger */
.mobile-menu-btn{display:none;align-items:center;justify-content:center;background:#07552d;color:#fff;border:0;border-radius:6px;font-size:28px;width:44px;height:42px;line-height:1;cursor:pointer}
@media(max-width:768px){.mobile-menu-btn{display:flex;margin-left:auto}}

/* FINAL MOBILE MENU FIX */
.mobile-menu-btn{
  display:none !important;
  border:0;
  background:#07552d;
  color:#fff;
  width:44px;
  height:42px;
  border-radius:6px;
  font-size:28px;
  line-height:42px;
  text-align:center;
  cursor:pointer;
  padding:0;
}
@media (max-width:768px){
  .mobile-menu-btn{display:block !important;margin-left:auto;position:relative;z-index:1001}
  .site-header .main-nav{
    display:none !important;
    position:absolute !important;
    left:10px !important;
    right:10px !important;
    top:100% !important;
    z-index:1000 !important;
    background:#fff !important;
    box-shadow:0 8px 25px rgba(0,0,0,.18) !important;
    border-radius:8px !important;
    overflow:hidden !important;
  }
  .site-header .main-nav.mobile-open{display:block !important}
  .site-header .main-nav ul{display:block !important;margin:0 !important;padding:8px !important}
  .site-header .main-nav li{display:block !important;width:100% !important}
  .site-header .main-nav a{display:block !important;padding:12px 14px !important}
}

/* v2.5 header banner/logo */
.site-header.has-custom-banner{background-size:cover;background-position:center;position:relative}
.site-header.has-custom-banner:before{content:"";position:absolute;inset:0;background:rgba(0,60,30,.72)}
.site-header.has-custom-banner .container{position:relative;z-index:1}
.brand img{max-height:82px;width:auto;object-fit:contain}

/* robust mobile hamburger */
@media(max-width:768px){
 .site-header{position:relative;z-index:1000}
 .mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:10001!important;width:46px!important;height:44px!important;padding:0!important;background:#d71920!important;color:#fff!important;border:2px solid #fff!important;border-radius:7px!important;cursor:pointer!important;font-size:25px!important;line-height:1!important}
 .site-header .main-nav{display:none!important;position:absolute!important;top:calc(100% + 5px)!important;left:10px!important;right:10px!important;width:auto!important;background:#fff!important;z-index:10000!important;border-radius:10px!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important;max-height:75vh!important;overflow:auto!important}
 .site-header .main-nav.mobile-open{display:block!important}
 .site-header .main-nav ul,.site-header .main-nav ul.menu{display:block!important;padding:8px!important;margin:0!important}
 .site-header .main-nav li{display:block!important;float:none!important;width:100%!important}
 .site-header .main-nav li a{display:block!important;padding:13px 15px!important;color:#07552d!important;border-bottom:1px solid #eee!important}
}

/* modern footer */
.site-footer{margin-top:45px;background:linear-gradient(135deg,#063c22,#07552d 55%,#0b6d3b);color:#fff;padding:42px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px;align-items:start}
.footer-box h3{margin:0 0 13px;font-size:20px;color:#fff}
.footer-box p{margin:7px 0;line-height:1.8;color:#e8f6ed}
.footer-box a{color:#fff;text-decoration:none}
.footer-logo{width:75px;height:75px;border-radius:12px;object-fit:contain;background:#fff;padding:5px;margin-bottom:12px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.2);margin-top:25px;padding-top:15px;text-align:center;color:#d7eee0}
.top-bottom-btn{position:fixed;right:18px;bottom:18px;width:46px;height:46px;border:0;border-radius:50%;background:#d71920;color:#fff;font-size:24px;cursor:pointer;z-index:9999;box-shadow:0 5px 15px rgba(0,0,0,.25);display:none}
.top-bottom-btn.show{display:block}
@media(max-width:700px){.footer-grid{grid-template-columns:1fr;text-align:center}.footer-logo{margin-left:auto;margin-right:auto}}


/* v2.6 news, ads, activities, videos and single-page layout */
.news-layout,.single-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.news-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(15,23,42,.06);display:flex;flex-direction:column}
.news-thumb{display:block;background:#eef4f0;aspect-ratio:16/9;overflow:hidden}.news-thumb img{width:100%;height:100%;object-fit:cover;display:block}.news-thumb-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-weight:800;color:#789}
.news-body{padding:16px}.news-body h3{font-size:18px;line-height:1.55;margin:6px 0}.news-body p{margin:7px 0 10px;color:#64748b;font-size:14px}.read-more{font-weight:800;color:var(--green)}
.load-more-wrap{text-align:center;padding-top:25px}.no-more-news{color:#64748b}
.sidebar-title{font-size:18px;font-weight:800;color:var(--dark);border-left:5px solid var(--red);padding-left:10px;margin:0 0 12px}.mpl-ad-list{display:grid;gap:15px}.mpl-ad{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(0,0,0,.06)}.mpl-ad-image{width:100%;height:auto;display:block}.mpl-ad-title{padding:9px 12px;font-size:14px;font-weight:700}.news-ad-sidebar,.single-sidebar,.message-ad{position:sticky;top:105px}
.leadership-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:stretch}.leadership-slider{position:relative;overflow:hidden;background:#fff;border-radius:14px;box-shadow:0 5px 18px rgba(0,0,0,.07)}.leadership-track{display:flex;transition:transform .6s ease}.leadership-slide{min-width:100%;display:flex;gap:22px;align-items:center;border-left:0;padding:28px}.speech-photo{width:150px;height:150px;object-fit:cover;border-radius:12px;flex:0 0 150px}.speech-content{min-width:0}.speech-content h3{margin-top:0}.lead-prev,.lead-next{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;padding:0;background:rgba(7,85,45,.85);z-index:2;font-size:28px;line-height:1}.lead-prev{left:10px}.lead-next{right:10px}.lead-dots{position:absolute;bottom:9px;left:0;right:0;text-align:center}.lead-dots .mpl-dot{background:#fff}.lead-dots .mpl-dot.active{background:var(--red)}
.activity-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.activity-post{padding:0;overflow:hidden}.activity-thumb{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.activity-post-body{padding:17px}.activity-post-body h3{margin:5px 0}.activity-post-body p{color:#64748b}
.single-content{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:28px;box-shadow:0 4px 18px rgba(15,23,42,.05)}.single-content h1{font-size:clamp(28px,4vw,42px);line-height:1.35;color:var(--dark);margin:8px 0 18px}.single-featured{width:100%;max-height:520px;object-fit:cover;border-radius:12px;margin-bottom:20px}.single-body{font-size:18px;line-height:2}.single-body img{max-width:100%;height:auto}.single-name{font-weight:800;color:var(--red);margin:-8px 0 18px}.single-content iframe,.single-content video{width:100%;aspect-ratio:16/9;border:0;border-radius:12px}
@media(max-width:1000px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-layout,.single-layout,.leadership-layout{grid-template-columns:1fr}.news-ad-sidebar,.single-sidebar,.message-ad{position:static}.message-ad{display:block}}
@media(max-width:700px){.news-grid,.activity-post-grid{grid-template-columns:1fr}.leadership-slide{display:block;padding:24px 22px 35px}.speech-photo{width:100%;height:230px;margin-bottom:15px}.single-content{padding:18px}.single-body{font-size:16px}.news-layout,.single-layout,.leadership-layout{gap:18px}}


/* v2.9 FINAL: full-width logo above menu, notice below menu */
.site-header{position:relative;top:auto;z-index:1000;background:#fff;border-bottom:0;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.logo-header-area{position:relative;width:100%;min-height:150px;background:#fff center/cover no-repeat;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid #e5e7eb}
.logo-header-overlay{position:absolute;inset:0;background:rgba(255,255,255,.72);pointer-events:none}
.logo-header-area:has(.full-site-logo){ }
.full-logo-link{position:relative;z-index:2;display:flex;width:100%;min-height:150px;align-items:center;justify-content:center;padding:12px 3%;text-decoration:none}
.full-site-logo{display:block;width:auto;max-width:96%;height:auto;max-height:145px;object-fit:contain;margin:auto}
.menu-bar{background:linear-gradient(90deg,#07552d,#087a3b);border-bottom:3px solid #d71920}
.menu-inner{position:relative;display:flex;align-items:center;justify-content:center;min-height:54px}
.menu-bar .main-nav{width:100%}
.menu-bar .main-nav ul{justify-content:center;align-items:center;margin:0;padding:5px 0;gap:4px}
.menu-bar .main-nav a{color:#fff;padding:9px 13px;border-radius:6px;font-weight:800}
.menu-bar .main-nav a:hover,.menu-bar .main-nav .current-menu-item>a{background:rgba(255,255,255,.18);color:#fff}
.notice-ticker-wrap{position:relative;z-index:10;background:#fff;padding:8px 0;border-bottom:1px solid #e5e7eb}
.notice-ticker-wrap .container{width:min(1180px,92%)}
@media(max-width:768px){
 .logo-header-area,.full-logo-link{min-height:100px}
 .full-site-logo{max-height:95px;max-width:94%}
 .menu-inner{justify-content:flex-end;min-height:52px}
 .menu-bar .mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:10001!important;margin:5px 0 5px auto!important;width:44px!important;height:42px!important;background:#d71920!important;color:#fff!important;border:2px solid #fff!important;border-radius:7px!important}
 .menu-bar .main-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;background:#fff!important;z-index:10000!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important;border-radius:0!important}
 .menu-bar .main-nav.mobile-open{display:block!important}
 .menu-bar .main-nav ul,.menu-bar .main-nav ul.menu{display:block!important;margin:0!important;padding:8px!important}
 .menu-bar .main-nav li{display:block!important;width:100%!important}
 .menu-bar .main-nav li a{display:block!important;color:#07552d!important;background:#fff!important;border-bottom:1px solid #eee!important;padding:12px 15px!important}
}

/* v3.0: logo 1200x200, then menu, then notice */
.site-header{position:relative;top:auto;background:#fff;border-bottom:0;z-index:99}
.logo-header-area{width:100%;height:200px;min-height:200px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.full-logo-link{display:flex;width:100%;height:200px;align-items:center;justify-content:center}
.full-site-logo{display:block;width:100%;max-width:1200px;height:200px;object-fit:contain}
.menu-bar{background:var(--dark);border-bottom:3px solid var(--red)}
.menu-inner{display:flex;align-items:center;justify-content:center;min-height:52px}
.menu-bar .main-nav{width:100%}
.menu-bar .main-nav ul{justify-content:center}
.notice-ticker-wrap{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:7px 0}
.notice-ticker-wrap .container{width:min(1180px,92%)}
@media(max-width:600px){
 .logo-header-area,.full-logo-link{height:120px;min-height:120px}
 .full-site-logo{height:120px}
 .menu-inner{justify-content:flex-start}
}

/* v3.1: reliable mobile menu + configurable header colors */
.site-header{background:var(--mpl-header-bg,#fff)!important}
.logo-header-area{background:var(--mpl-header-bg,#fff)!important}
.menu-bar{background:var(--mpl-menu-bg,#07552d)!important;border-bottom-color:var(--mpl-menu-bg,#07552d)!important}
.menu-bar .main-nav a{color:var(--mpl-menu-text,#fff)!important}
.menu-bar .main-nav a:hover,.menu-bar .main-nav .current-menu-item>a{background:rgba(255,255,255,.18)!important;color:var(--mpl-menu-text,#fff)!important}
@media(max-width:768px){
 .menu-inner{position:relative!important;display:flex!important;justify-content:flex-end!important}
 .menu-bar .mobile-menu-btn{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;z-index:10003!important;width:46px!important;height:42px!important;margin:5px 0 5px auto!important;padding:0!important;background:var(--mpl-menu-bg,#07552d)!important;color:var(--mpl-menu-text,#fff)!important;border:1px solid rgba(255,255,255,.8)!important;cursor:pointer!important;font-size:24px!important;line-height:1!important}
 .menu-bar .main-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-height:75vh!important;overflow-y:auto!important;background:var(--mpl-header-bg,#fff)!important;z-index:10002!important}
 .menu-bar .main-nav.mobile-open{display:block!important}
 .menu-bar .main-nav ul,.menu-bar .main-nav ul.menu{display:block!important;width:100%!important;margin:0!important;padding:0!important}
 .menu-bar .main-nav li{display:block!important;width:100%!important;margin:0!important}
 .menu-bar .main-nav li a{display:block!important;width:100%!important;box-sizing:border-box!important;color:var(--mpl-menu-text,#fff)!important;background:var(--mpl-menu-bg,#07552d)!important;border-bottom:1px solid rgba(255,255,255,.18)!important;padding:13px 16px!important}
}


/* v3.2 customization: adjustable header width + logo alignment */
.logo-header-area{
  width:min(var(--mpl-header-width,900px),calc(100% - 20px));
  margin:0 auto;
  background:var(--mpl-header-bg,#fff);
}
.full-logo-link{
  justify-content:var(--mpl-logo-align,center);
}
.full-logo-link .full-site-logo{
  margin-left:0;
  margin-right:0;
}
.full-logo-link[style] .full-site-logo{margin-left:0;margin-right:0}
.menu-inner{
  width:min(var(--mpl-header-width,900px),calc(100% - 20px));
}
.menu-bar{
  background:var(--mpl-menu-bg,#07552d);
}
.menu-bar .main-nav a{
  color:var(--mpl-menu-text,#fff);
}

/* Leadership photos: show the complete image without cropping */
.speech-photo{
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
  padding:4px;
  border:1px solid #e5e7eb;
}
.leadership-slide .speech-photo{
  height:150px !important;
  width:150px !important;
  max-width:150px;
}

/* Website perimeter border */
body:before{
  content:"";
  position:fixed;
  inset:0;
  border:2px solid #07552d;
  pointer-events:none;
  z-index:999999;
}
@media(max-width:768px){
  .logo-header-area{
    width:calc(100% - 10px);
  }
  .menu-inner{
    width:calc(100% - 10px);
  }
  .full-logo-link{
    padding-left:8px;
    padding-right:8px;
  }
  .full-site-logo{
    max-width:94%;
  }
  .leadership-slide{
    align-items:flex-start;
    padding:20px 42px 30px;
    gap:14px;
  }
  .leadership-slide .speech-photo{
    width:110px !important;
    height:110px !important;
    max-width:110px;
    flex:0 0 110px;
  }
}

/* Reliable mobile menu */
@media(max-width:768px){
  .menu-bar .main-nav{
    display:none !important;
    position:absolute !important;
    top:calc(100% + 4px) !important;
    left:5px !important;
    right:5px !important;
    width:auto !important;
    max-height:calc(100vh - 100px) !important;
    overflow-y:auto !important;
    background:#fff !important;
    border:1px solid #d9e4dd !important;
    border-radius:10px !important;
    box-shadow:0 12px 30px rgba(0,0,0,.25) !important;
  }
  .menu-bar .main-nav.mobile-open{
    display:block !important;
  }
  .menu-bar .main-nav ul,
  .menu-bar .main-nav ul.menu{
    display:block !important;
    margin:0 !important;
    padding:7px !important;
  }
  .menu-bar .main-nav li{
    display:block !important;
    width:100% !important;
    float:none !important;
  }
  .menu-bar .main-nav a{
    display:block !important;
    width:100% !important;
    color:#07552d !important;
    background:#fff !important;
    padding:12px 15px !important;
    border-bottom:1px solid #edf0ee !important;
    border-radius:6px !important;
  }
  .menu-bar .main-nav a:hover,
  .menu-bar .main-nav .current-menu-item>a{
    background:#edf8f1 !important;
    color:#d71920 !important;
  }
}


/* v3.3: smaller adjustable header and definitive mobile navigation fix */
.logo-header-area,
.menu-inner{
  width:min(var(--mpl-header-width,900px),calc(100% - 20px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.full-logo-link{justify-content:var(--mpl-logo-align,center) !important;}
.full-site-logo{max-width:100% !important;object-fit:contain !important;}
@media(max-width:768px){
  .logo-header-area{width:calc(100% - 10px) !important; height:auto !important; min-height:100px !important;}
  .full-logo-link{width:100% !important; height:auto !important; min-height:100px !important;}
  .full-site-logo{width:auto !important; height:auto !important; max-width:100% !important; max-height:95px !important;}
  .menu-bar .menu-inner{width:calc(100% - 10px) !important; position:relative !important; display:flex !important; justify-content:flex-end !important; min-height:52px !important;}
  .menu-bar .mobile-menu-btn{display:flex !important; flex:0 0 46px !important; align-items:center !important; justify-content:center !important; position:relative !important; z-index:100005 !important; margin:5px 0 5px auto !important; width:46px !important; height:44px !important; cursor:pointer !important; pointer-events:auto !important;}
  .menu-bar .main-nav{display:none !important; position:absolute !important; top:100% !important; left:0 !important; right:0 !important; width:100% !important; max-height:75vh !important; overflow-y:auto !important; background:#fff !important; z-index:100004 !important; box-shadow:0 12px 30px rgba(0,0,0,.25) !important;}
  .menu-bar .main-nav.mobile-open{display:block !important; visibility:visible !important; opacity:1 !important;}
  .menu-bar .main-nav ul,.menu-bar .main-nav ul.menu{display:block !important; width:100% !important; margin:0 !important; padding:8px !important;}
  .menu-bar .main-nav li{display:block !important; float:none !important; width:100% !important;}
  .menu-bar .main-nav li a{display:block !important; width:100% !important; color:#07552d !important; background:#fff !important; padding:13px 15px !important; border-bottom:1px solid #eee !important;}
}


/* v3.4: responsive boxed website + final mobile layout */
html,body{width:100%;max-width:100%;overflow-x:hidden}
body{background:#e9efeb;padding:0}
.site-shell{width:min(100%,1400px);margin:0 auto;background:#fff;min-height:100vh;border-left:1px solid #cfd9d2;border-right:1px solid #cfd9d2;box-shadow:0 0 24px rgba(0,0,0,.08);overflow:visible}
.site-shell .site-header{width:100%;margin:0}
.site-shell .notice-ticker-wrap{width:100%}
.site-shell .site-footer{width:100%}
.logo-header-area{width:min(var(--mpl-header-width,760px),calc(100% - 24px))!important;max-width:100%!important;margin:0 auto!important;min-height:0!important;height:auto!important}
.full-logo-link{width:100%!important;min-height:0!important;height:auto!important;padding:8px 10px!important;display:flex!important;align-items:center!important;box-sizing:border-box!important}
.full-site-logo{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:190px!important;object-fit:contain!important;object-position:center!important}
.full-logo-link[style] .full-site-logo{margin-left:0!important;margin-right:0!important}
.menu-bar{width:100%!important}
.menu-inner{width:min(var(--mpl-header-width,760px),calc(100% - 24px))!important;max-width:100%!important;margin:0 auto!important}
.section,.content-area{min-width:0;overflow:hidden}
.container{max-width:1180px;width:92%;margin-left:auto;margin-right:auto}
.section-title{font-size:clamp(22px,4vw,30px);line-height:1.35;overflow-wrap:anywhere}
h1,h2,h3,h4,h5,h6,p,a,span,li,.card,.member-card,.speech-content{overflow-wrap:anywhere;word-break:normal}
.news-grid,.activity-post-grid,.cards,.member-grid,.gallery-grid,.video-grid{min-width:0}
.card,.member-card,.speech,.post-card{min-width:0}
.member-photo,.mpl-member-photo{object-fit:contain!important;object-position:center!important;background:#f7f9f8}
.speech-photo{object-fit:contain!important;object-position:center!important;width:150px!important;height:150px!important;max-width:150px!important;flex:0 0 150px!important;background:#fff!important}
.leadership-slide{min-width:100%;box-sizing:border-box}
@media(max-width:768px){
 body{background:#fff}
 .site-shell{width:100%;border-left:0;border-right:0;box-shadow:none}
 .logo-header-area{width:min(var(--mpl-header-width,760px),calc(100% - 8px))!important}
 .full-logo-link{padding:5px 6px!important}
 .full-site-logo{max-width:100%!important;max-height:105px!important}
 .menu-inner{width:calc(100% - 8px)!important;min-height:50px!important}
 .menu-bar .mobile-menu-btn{display:flex!important;position:relative!important;z-index:100005!important;pointer-events:auto!important}
 .menu-bar .main-nav{position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-height:calc(100vh - 80px)!important;overflow-y:auto!important;overflow-x:hidden!important}
 .menu-bar .main-nav.mobile-open{display:block!important;visibility:visible!important;opacity:1!important}
 .menu-bar .main-nav ul,.menu-bar .main-nav ul.menu{width:100%!important;display:block!important}
 .menu-bar .main-nav li,.menu-bar .main-nav a{width:100%!important;max-width:100%!important}
 .menu-bar .main-nav a{font-size:16px!important;line-height:1.5!important;padding:11px 14px!important;white-space:normal!important}
 .container{width:calc(100% - 24px)!important;max-width:none!important}
 .section{padding:30px 0!important}
 .section-title{margin-bottom:20px!important}
 .news-grid,.activity-post-grid,.cards,.member-grid,.gallery-grid,.video-grid{grid-template-columns:1fr!important}
 .leadership-slide{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;padding:20px 18px 30px!important;gap:12px!important}
 .leadership-slide .speech-photo,.speech-photo{width:130px!important;height:130px!important;max-width:130px!important;flex:0 0 130px!important}
 .speech-content{width:100%!important;min-width:0!important}
 .speech-content h3{font-size:20px!important;line-height:1.4!important}
 .speech-content p{font-size:15px!important;line-height:1.8!important}
 .footer-grid{grid-template-columns:1fr!important;text-align:center!important}
 .footer-logo{margin-left:auto!important;margin-right:auto!important}
}
@media(max-width:380px){
 .container{width:calc(100% - 18px)!important}
 .section{padding:25px 0!important}
 .section-title{font-size:21px!important}
 .full-site-logo{max-height:90px!important}
 .menu-bar .main-nav a{font-size:15px!important;padding:10px 12px!important}
}

/* v3.5: final overflow, perimeter border/shadow, logo edge alignment and typography */
html{width:100%;max-width:100%;overflow-x:clip!important}
body{width:100%;max-width:100%;overflow-x:clip!important}
.site-shell{
  width:min(1400px,calc(100% - 16px))!important;
  max-width:1400px!important;
  margin:8px auto!important;
  border:1px solid #c7d2cc!important;
  border-radius:2px!important;
  box-shadow:0 2px 18px rgba(0,0,0,.10)!important;
  overflow:hidden!important;
}
/* Keep every direct section inside the box */
.site-shell>*{max-width:100%!important}
.site-shell img,.site-shell iframe,.site-shell video,.site-shell table{max-width:100%!important}
/* Desktop: when left alignment is selected, place the logo at the true left edge */
@media(min-width:769px){
  .full-logo-link{padding-left:0!important;padding-right:0!important}
  .full-logo-link[style]{padding-left:0!important}
  .full-logo-link .full-site-logo{margin-left:0!important;margin-right:0!important}
}
/* Better paragraph justification for notices, speeches and article text */
.notice-item,.notice-item p,
.speech-content p:not(.speech-name),
.single-body p,
.activity-full>p,
.post-card p,
.card p,
.content-area .single-body li{
  text-align:justify!important;
  text-justify:inter-word;
  hyphens:auto;
}
.speech-content p{margin-top:6px;margin-bottom:10px}
.single-body p{margin:0 0 1em}
.single-body ul,.single-body ol{padding-left:1.4em}
/* Never let long Bengali/Latin strings force the page wider */
.site-shell *{min-width:0;overflow-wrap:anywhere}
@media(max-width:768px){
  .site-shell{
    width:calc(100% - 8px)!important;
    margin:4px auto!important;
    border:1px solid #c7d2cc!important;
    box-shadow:0 1px 10px rgba(0,0,0,.08)!important;
    overflow:hidden!important;
  }
  .container{width:calc(100% - 20px)!important}
  .logo-header-area{width:100%!important;max-width:100%!important}
  .menu-inner{width:100%!important;max-width:100%!important}
  .full-logo-link{padding-left:4px!important;padding-right:4px!important}
  .full-site-logo{max-width:100%!important}
  .notice-ticker-wrap .container{width:calc(100% - 20px)!important}
  .single-content{width:100%!important;max-width:100%!important}
  .speech-content p:not(.speech-name),.single-body p,.notice-item p{text-align:justify!important}
}

/* v3.6: mobile viewport lock + restore original speech styling */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}
.site-shell{box-sizing:border-box!important;width:100%!important;max-width:1400px!important;margin:8px auto!important}
.site-shell *{box-sizing:border-box}
img,svg,video,iframe,canvas,table{max-width:100%!important}
.wp-block-table,.table-responsive,.entry-content,.single-body,.content-area,.section,.container{min-width:0!important;max-width:100%!important}
@media(max-width:768px){
  .site-shell{width:100%!important;max-width:100%!important;margin:0!important;border-left:1px solid #c7d2cc!important;border-right:1px solid #c7d2cc!important;border-radius:0!important;box-shadow:0 1px 10px rgba(0,0,0,.08)!important}
  .site-shell,.site-shell>*{min-width:0!important}
  .container{width:100%!important;max-width:100%!important;padding-left:10px!important;padding-right:10px!important;margin-left:0!important;margin-right:0!important}
  .notice-ticker-wrap .container{width:100%!important;padding-left:10px!important;padding-right:10px!important}
  .logo-header-area{width:100%!important;max-width:100%!important}
  .full-logo-link{width:100%!important;max-width:100%!important;overflow:hidden!important}
  .full-site-logo{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
  .menu-bar,.menu-inner,.menu-bar .main-nav{max-width:100%!important}
  .menu-inner{width:100%!important;padding-left:10px!important;padding-right:10px!important}
  .menu-bar .main-nav{left:0!important;right:0!important;width:100%!important;box-sizing:border-box!important}
  .menu-bar .main-nav ul,.menu-bar .main-nav ul.menu{padding:6px!important;box-sizing:border-box!important}
  .menu-bar .main-nav a{box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important}
  /* Original speech card look */
  .leadership-slide{display:block!important;padding:24px 22px 35px!important;text-align:left!important}
  .leadership-slide .speech-photo,.speech-photo{display:block!important;width:100%!important;height:230px!important;max-width:100%!important;flex:none!important;margin:0 0 15px!important;object-fit:contain!important;object-position:center!important}
  .speech-content{width:100%!important;max-width:100%!important;text-align:left!important}
  .speech-content h3{font-size:20px!important;line-height:1.4!important;text-align:left!important}
  .speech-content p{font-size:15px!important;line-height:1.8!important;text-align:left!important;hyphens:none!important}
}


/* v3.7: logo fit + always-two leadership slides */
.logo-header-area{
  min-height:clamp(125px,18vw,190px)!important;
  padding:0!important;
}
.full-logo-link{
  min-height:inherit!important;
  height:clamp(125px,18vw,190px)!important;
  padding:8px 3%!important;
}
.full-site-logo{
  display:block!important;
  width:auto!important;
  height:clamp(115px,17vw,180px)!important;
  max-width:92vw!important;
  max-height:none!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}
.leadership-slider{overflow:hidden!important}
.leadership-track{width:100%!important}
.leadership-slide{min-width:100%!important;box-sizing:border-box!important}
@media(max-width:768px){
  .logo-header-area{
    min-height:125px!important;
  }
  .full-logo-link{
    height:125px!important;
    padding:6px 10px!important;
  }
  .full-site-logo{
    height:115px!important;
    max-width:calc(100vw - 20px)!important;
  }
}

/* v3.8 requested content and committee document system */
.info-box{background:#fff;border:1px solid #dfe9e3;border-radius:18px;padding:24px;box-shadow:0 7px 24px rgba(15,23,42,.07)}
.history-info-box .history-card{background:transparent;border:0;box-shadow:none;padding:0}
.history-info-box .history-card h2{color:var(--dark);font-size:25px;margin:12px 0 14px}
.history-info-box .history-text{font-size:17px;line-height:2;text-align:justify}
.history-info-box .history-image{display:block;width:100%;max-height:460px;object-fit:contain;background:#f7faf8;border-radius:12px;margin:0 auto 15px}
.activity-info-box{padding:20px}
.activity-info-box .activity-post-grid{margin:0}
.committee-document-list{display:grid;gap:28px}
.committee-file-box{background:#fff;border:1px solid #dfe5e2;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(15,23,42,.08)}
.committee-pdf-wrap{width:100%;background:#eef2f1;min-height:850px}
.committee-pdf-wrap iframe{display:block;width:100%;height:850px;border:0;background:#fff}
.committee-image-wrap{padding:14px;background:#f4f7f5;text-align:center}
.committee-image-wrap img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;margin:0 auto;background:#fff}
.committee-file-caption{padding:13px 18px;font-weight:800;color:var(--dark);background:#fff;border-top:1px solid #e5ebe7}
.committee-more-btn{margin-top:22px}
.committee-archive-intro{text-align:center;max-width:850px;margin:-10px auto 28px;color:#64748b}
.footer-address{white-space:normal}
@media(max-width:700px){
 .info-box{padding:15px;border-radius:14px}
 .history-info-box .history-text{font-size:16px;text-align:left}
 .committee-pdf-wrap{min-height:620px}
 .committee-pdf-wrap iframe{height:620px}
 .committee-image-wrap{padding:8px}
}

/* প্রতিষ্ঠার ইতিহাস: ছবি এক পাশে, লেখা ছবির ডান পাশ ও নিচ দিয়ে প্রবাহিত হবে */
.history-info-box .history-card{overflow:hidden}
.history-info-box .history-card h2{margin-top:0}
.history-info-box .history-image{float:left;width:min(360px,42%);height:auto;max-height:430px;object-fit:cover;margin:0 28px 18px 0;border-radius:14px;background:#f7faf8}
.history-info-box .history-text{font-size:17px;line-height:2;text-align:justify}
.history-info-box .history-summary p{margin-top:0;margin-bottom:10px}
.history-info-box .history-summary-top{min-height:0}
.history-info-box .history-summary-bottom{font-size:16px;line-height:1.9}
.history-info-box .history-summary-bottom{clear:both;margin:4px 0 8px}
.history-details-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:10px 20px;cursor:pointer;font-weight:700;font-size:15px;margin-top:4px}
.history-info-box .history-full{display:block}
.history-info-box .history-full p:first-child{margin-top:0}
@media (max-width:700px){
  .history-info-box .history-image{float:left;width:42%;max-height:300px;margin:0 18px 12px 0}
  .history-info-box .history-text{font-size:16px;line-height:1.9;text-align:left}
}
@media (max-width:480px){
  .history-info-box .history-image{width:44%;max-height:240px;margin-right:14px}
}
