/* Site-wide polish: menu, buttons, focus, scrolling. Safe layer over main.css. */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
:focus-visible{outline:3px solid rgba(37,99,235,.55);outline-offset:2px}

/* header / main menu */
.header-menu.menu-layout2{background:#fff;border-bottom:1px solid #eceff3;box-shadow:0 1px 8px rgba(15,23,42,.05)}
.header-menu .logo-area img{max-height:64px;width:auto;object-fit:contain}
.header-menu .template-main-menu>ul{display:flex;align-items:center;flex-wrap:nowrap;gap:0;margin:0;padding:0;list-style:none}
.header-menu .template-main-menu>ul>li{margin:0!important;padding:0!important;height:auto!important;line-height:1.2!important;position:relative}
.header-menu .template-main-menu>ul>li>a{display:block;height:auto!important;line-height:1.2!important;padding:9px 11px!important;border-radius:8px;font-weight:600;font-size:14.5px;color:#1f2937;white-space:nowrap;transition:background .15s,color .15s}
.header-menu .template-main-menu>ul>li>a:hover{background:#f3f5f9;color:#111827}
.header-menu .template-main-menu>ul>li.active>a{background:#eaf1ff;color:#1d4ed8}
.header-action-layout1 .btn.btn-warning,.header-action-layout1 .item-btn{border-radius:8px;font-weight:600}

/* buttons & forms across the site */
.btn{border-radius:8px}
.form-control{border-radius:8px}
.form-control:focus{box-shadow:0 0 0 3px rgba(37,99,235,.18)}
img{max-width:100%}

/* keep long Bengali/English words inside cards */
.dn-page,.dn-page *{overflow-wrap:anywhere}
.dn-page .dn-name,.dn-page .dn-meta span,.dn-page .dn-sub{overflow-wrap:normal}
