* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--dp-text);
  background: var(--dp-page);
  font-family: Inter, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .dp-site-header.is-sticky { top: 32px; }
img { max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--dp-primary); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover, a:focus { color: var(--dp-primary-dark); }
button, input, textarea, select { font: inherit; }
button, input[type="button"], input[type="submit"] { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(35,166,213,.55); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; left: 12px; top: 12px; z-index: 100000;
  width: auto; height: auto; padding: 12px 16px; margin: 0;
  clip: auto; overflow: visible; background: #fff; color: var(--dp-primary-dark); border-radius: 8px;
}
.dp-site-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.dp-reading-width { max-width: 850px; }

.dp-topbar { background: var(--dp-primary-dark); color: rgba(255,255,255,.9); font-size: .86rem; }
.dp-topbar__inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.dp-topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.dp-topbar__group--right { justify-content: flex-end; }
.dp-contact-item { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.dp-contact-item:hover, .dp-contact-item:focus { color: #fff; }
.dp-contact-item svg { width: 16px; height: 16px; color: var(--dp-accent); }
.dp-social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-social-links a { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.dp-social-links a:hover, .dp-social-links a:focus { transform: translateY(-1px); }
.dp-social-links svg { width: 17px; height: 17px; }
.dp-social-links--topbar a { width: 28px; height: 28px; border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.84); }
.dp-social-links--topbar a:hover, .dp-social-links--topbar a:focus { border-color: var(--dp-accent); background: var(--dp-accent); color: var(--dp-primary-dark); }

.dp-site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--dp-border); background: rgba(255,255,255,.97); }
.dp-site-header.is-sticky { position: sticky; top: 0; }
.dp-header__inner { min-height: 88px; display: flex; align-items: center; gap: 34px; }
.site-branding { flex: 0 0 auto; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: auto; max-width: 250px; max-height: 66px; }
.dp-text-logo { display: flex; align-items: center; gap: 12px; color: var(--dp-primary-dark); text-decoration: none; }
.dp-text-logo__mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--dp-primary); color: #fff; font-size: 1.7rem; font-weight: 300; line-height: 1; }
.dp-text-logo strong, .dp-text-logo small { display: block; }
.dp-text-logo strong { font-size: 1.12rem; line-height: 1.2; }
.dp-text-logo small { margin-top: 3px; color: var(--dp-muted); font-size: .76rem; line-height: 1.2; }
.dp-primary-navigation { min-width: 0; margin-left: auto; }
.primary-menu, .dp-primary-navigation ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-menu li { position: relative; }
.primary-menu a { display: block; padding: 31px 0; color: var(--dp-primary-dark); font-size: .94rem; font-weight: 700; text-decoration: none; }
.primary-menu a:hover, .primary-menu a:focus, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--dp-primary); }
.primary-menu .sub-menu { position: absolute; left: -20px; top: calc(100% - 8px); min-width: 230px; display: none; padding: 12px; border: 1px solid var(--dp-border); border-radius: 14px; background: #fff; box-shadow: var(--dp-shadow); }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: 10px 12px; border-radius: 8px; }
.primary-menu .sub-menu a:hover { background: var(--dp-soft); }
.dp-header-cta { flex: 0 0 auto; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 19px; border-radius: 999px; background: var(--dp-primary); color: #fff; font-size: .9rem; font-weight: 750; text-decoration: none; box-shadow: 0 11px 24px rgba(18,104,168,.18); }
.dp-header-cta:hover, .dp-header-cta:focus { background: var(--dp-primary-dark); color: #fff; }
.dp-menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--dp-border); border-radius: 12px; background: #fff; color: var(--dp-primary-dark); }
.dp-menu-toggle__close { display: none; }
.dp-menu-open .dp-menu-toggle__open { display: none; }
.dp-menu-open .dp-menu-toggle__close { display: inline-flex; }

.dp-main-content { min-height: 55vh; }
.dp-page-hero { padding: 90px 0 80px; background: radial-gradient(circle at 82% 15%, rgba(35,166,213,.16), transparent 25%), linear-gradient(130deg,#fafdff,#e7f4fa); }
.dp-page-hero--compact { padding: 65px 0 58px; }
.dp-page-hero--small { padding: 28px 0 24px; }
.dp-page-hero--small h1 { font-size: clamp(1.75rem,3vw,2.55rem); line-height: 1.15; letter-spacing: -.02em; }
.dp-page-title-compact .dp-content-layout, .dp-page-title-compact .dp-full-width-content { padding-top: 48px; }
.dp-page-title-hidden .dp-content-layout, .dp-page-title-hidden .dp-full-width-content { padding-top: 34px; }
.dp-page-hero--article { text-align: center; }
.dp-page-hero h1 { max-width: 900px; margin: 0; color: var(--dp-primary-dark); font-size: clamp(2.35rem,5vw,4.4rem); line-height: 1.08; letter-spacing: -.035em; }
.dp-page-hero--article h1 { margin-inline: auto; }
.dp-page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--dp-muted); font-size: 1.08rem; }
.dp-page-hero--article p { margin-inline: auto; }
.dp-page-hero__eyebrow { margin-bottom: 12px !important; color: var(--dp-primary) !important; font-size: .78rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.archive-description { max-width: 760px; color: var(--dp-muted); }

.dp-content-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 52px; align-items: start; padding-block: 72px 100px; }
body:not(.has-sidebar) .dp-content-layout { grid-template-columns: minmax(0,1fr); }
.dp-full-width-content { padding-block: 72px 100px; }
.dp-content-column { min-width: 0; }
.dp-entry, .comments-area, .post-navigation { padding: 40px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: #fff; box-shadow: 0 12px 32px rgba(7,59,92,.06); }
.dp-entry-featured { overflow: hidden; margin: -40px -40px 36px; border-radius: var(--dp-radius) var(--dp-radius) 0 0; }
.dp-entry-featured img { width: 100%; display: block; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--dp-primary-dark); line-height: 1.25; }
.entry-content h2 { margin-top: 2em; font-size: clamp(1.75rem,3vw,2.35rem); }
.entry-content h3 { margin-top: 1.8em; font-size: 1.45rem; }
.entry-content p, .entry-content li { color: #314d5e; }
.entry-content blockquote { margin: 32px 0; padding: 22px 26px; border-left: 5px solid var(--dp-accent); background: var(--dp-soft); color: var(--dp-primary-dark); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--dp-border); text-align: left; }
.entry-content th { background: var(--dp-soft); }
.entry-footer { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--dp-border); }
.tag-links a { display: inline-block; margin: 4px 5px 4px 0; padding: 5px 10px; border-radius: 999px; background: var(--dp-soft); text-decoration: none; }

.dp-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.dp-archive-card { overflow: hidden; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.dp-archive-card:hover { transform: translateY(-4px); box-shadow: var(--dp-shadow); }
.dp-archive-card__media { height: 230px; display: grid; place-items: center; overflow: hidden; background: var(--dp-soft); color: var(--dp-primary); }
.dp-archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.dp-archive-card__media span svg { width: 48px; height: 48px; }
.dp-archive-card__body { padding: 27px; }
.dp-archive-card h2 { margin: 13px 0 12px; color: var(--dp-primary-dark); font-size: 1.35rem; line-height: 1.3; }
.dp-archive-card h2 a { color: inherit; text-decoration: none; }
.dp-archive-card .entry-summary p { margin-bottom: 20px; color: var(--dp-muted); }
.dp-entry-meta { display: flex; flex-wrap: wrap; gap: 10px 15px; color: var(--dp-muted); font-size: .8rem; font-weight: 650; }
.dp-entry-meta .cat-links a { color: var(--dp-primary); text-decoration: none; }
.updated:not(.published) { display: none; }
.dp-read-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 750; text-decoration: none; }
.dp-read-more svg { width: 17px; height: 17px; }

.dp-sidebar { display: grid; gap: 22px; }
.widget { padding: 25px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: #fff; }
.widget-title { margin: 0 0 18px; color: var(--dp-primary-dark); font-size: 1.15rem; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li + li { margin-top: 10px; }
.widget a { text-decoration: none; }

.dp-search-form { display: flex; gap: 8px; }
.dp-search-form label { flex: 1 1 auto; }
.dp-search-form input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--dp-border); border-radius: 10px; background: #fff; color: var(--dp-text); }
.dp-search-form button { min-height: 48px; padding: 10px 17px; border: 0; border-radius: 10px; background: var(--dp-primary); color: #fff; font-weight: 700; }

.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 5px 10px; border: 1px solid var(--dp-border); border-radius: 9px; background: #fff; text-decoration: none; }
.page-numbers.current { border-color: var(--dp-primary); background: var(--dp-primary); color: #fff; }
.post-navigation { margin-top: 28px; }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { text-decoration: none; font-weight: 700; }

.comments-area { margin-top: 28px; }
.comment-list { margin: 0; padding: 0; list-style: none; }
.comment-list .comment-body { margin-bottom: 20px; padding: 20px; border: 1px solid var(--dp-border); border-radius: 12px; }
.comment-form input:not([type="checkbox"]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--dp-border); border-radius: 10px; }
.form-submit input { min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--dp-primary); color: #fff; font-weight: 750; }

.dp-empty-state, .dp-error-page { text-align: center; }
.dp-empty-state { padding: 60px 30px; border: 1px solid var(--dp-border); border-radius: var(--dp-radius); background: #fff; }
.dp-empty-state__icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 20px; background: var(--dp-soft); color: var(--dp-primary); }
.dp-empty-state__icon svg { width: 34px; height: 34px; }
.dp-empty-state .dp-search-form { max-width: 560px; margin: 25px auto 0; }
.dp-error-page { padding: 110px 0; background: radial-gradient(circle at 50% 10%,rgba(35,166,213,.15),transparent 28%); }
.dp-error-code { display: block; color: var(--dp-soft); font-size: clamp(7rem,20vw,14rem); font-weight: 900; line-height: .8; text-shadow: 0 0 0 var(--dp-primary-dark); -webkit-text-stroke: 2px var(--dp-primary); }
.dp-error-page h1 { color: var(--dp-primary-dark); font-size: clamp(2rem,5vw,3.7rem); }
.dp-error-page .dp-search-form { max-width: 570px; margin: 28px auto; }
.dp-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 750; text-decoration: none; }
.dp-button--primary { background: var(--dp-primary); color: #fff; }
.dp-button--primary:hover { background: var(--dp-primary-dark); color: #fff; }

.dp-site-footer { background: var(--dp-primary-dark); color: rgba(255,255,255,.78); }
.dp-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 46px; padding-block: 78px 65px; }
.dp-footer-brand .custom-logo { filter: brightness(0) invert(1); }
.dp-footer-title { color: #fff; font-size: 1.4rem; font-weight: 800; text-decoration: none; }
.dp-footer-brand p { max-width: 430px; }
.dp-footer-contact { display: grid; gap: 10px; margin-top: 22px; }
.dp-footer-contact a, .dp-footer-contact span { display: flex; align-items: flex-start; gap: 9px; color: rgba(255,255,255,.8); text-decoration: none; }
.dp-footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--dp-accent); }
.dp-social-links--footer { margin-top: 22px; }
.dp-site-footer .dp-social-links--footer a { border-color: rgba(255,255,255,.24); color: rgba(255,255,255,.84); }
.dp-site-footer .dp-social-links--footer a:hover, .dp-site-footer .dp-social-links--footer a:focus { border-color: var(--dp-accent); background: var(--dp-accent); color: var(--dp-primary-dark); }
.dp-site-footer .widget { padding: 0; border: 0; background: transparent; }
.dp-site-footer .widget-title { color: #fff; }
.dp-site-footer .widget a, .dp-site-footer a { color: rgba(255,255,255,.82); }
.dp-site-footer .widget a:hover, .dp-site-footer a:hover { color: #fff; }
.dp-site-footer ul { margin: 0; padding: 0; list-style: none; }
.dp-site-footer li + li { margin-top: 10px; }
.dp-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.12); }
.dp-footer-bottom__inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dp-footer-bottom p { margin: 0; font-size: .86rem; }
.dp-footer-menu { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; font-size: .84rem; }

.alignwide { margin-left: min(-8vw,-70px); margin-right: min(-8vw,-70px); max-width: calc(100% + 140px); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption, .gallery-caption { color: var(--dp-muted); font-size: .88rem; }
.sticky { display: block; }
.bypostauthor { display: block; }

@media (max-width: 1100px) {
  .dp-header__inner { gap: 22px; }
  .primary-menu, .dp-primary-navigation ul { gap: 18px; }
  .primary-menu a { font-size: .88rem; }
  .dp-footer-grid { grid-template-columns: 1.3fr repeat(2,1fr); }
  .dp-footer-widget-area:last-child { grid-column: 2 / -1; }
}

@media (max-width: 980px) {
  body.admin-bar .dp-site-header.is-sticky { top: 46px; }
  .dp-contact-item--hours, .dp-contact-item--email { display: none; }
  .dp-header__inner { min-height: 76px; }
  .dp-menu-toggle { display: inline-flex; margin-left: auto; }
  .dp-header-cta { display: none; }
  .dp-primary-navigation { position: absolute; left: 0; right: 0; top: 100%; display: none; max-height: calc(100vh - 120px); overflow-y: auto; border-top: 1px solid var(--dp-border); background: #fff; box-shadow: 0 18px 35px rgba(7,59,92,.12); }
  .dp-menu-open .dp-primary-navigation { display: block; }
  .primary-menu, .dp-primary-navigation ul { display: block; width: min(100% - 32px,1180px); margin: 0 auto; padding: 14px 0 20px; }
  .primary-menu a { padding: 12px 8px; }
  .primary-menu .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .dp-content-layout { grid-template-columns: 1fr; }
  .dp-sidebar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dp-footer-grid { grid-template-columns: repeat(2,1fr); }
  .dp-footer-brand { grid-column: 1 / -1; }
  .dp-footer-widget-area:last-child { grid-column: auto; }
}

@media (max-width: 700px) {
  .dp-site-container { width: min(100% - 28px,1180px); }
  .dp-topbar__inner { justify-content: center; }
  .dp-topbar__group:first-child { display: none; }
  .dp-topbar__group--right { justify-content: center; }
  .custom-logo { max-width: 200px; max-height: 56px; }
  .dp-text-logo small { display: none; }
  .dp-page-hero { padding: 58px 0 52px; }
  .dp-page-hero h1 { font-size: 2.35rem; }
  .dp-content-layout, .dp-full-width-content { padding-block: 48px 72px; }
  .dp-entry, .comments-area, .post-navigation { padding: 25px; }
  .dp-entry-featured { margin: -25px -25px 28px; }
  .dp-archive-grid, .dp-sidebar, .dp-footer-grid { grid-template-columns: 1fr; }
  .dp-archive-card__media { height: 210px; }
  .dp-footer-brand, .dp-footer-widget-area:last-child { grid-column: auto; }
  .dp-footer-grid { gap: 30px; padding-block: 55px 45px; }
  .dp-footer-bottom__inner { padding-block: 18px; flex-direction: column; align-items: flex-start; }
  .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
  .dp-search-form { flex-direction: column; }
}

@media (max-width: 782px) {
  body.admin-bar .dp-site-header.is-sticky { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Pathan.bd branded fallback logo. */
.dp-default-logo {
  display: inline-flex;
  align-items: center;
  max-width: 270px;
  text-decoration: none;
}

.dp-default-logo img {
  width: auto;
  max-width: 100%;
  max-height: 68px;
  display: block;
}

.dp-default-logo--footer {
  max-width: 300px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
}

.dp-default-logo--footer img {
  max-height: 72px;
}

/* Persistent WhatsApp contact action. */
.dp-floating-whatsapp {
  position: fixed;
  z-index: 999;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
  background: var(--dp-accent);
  color: var(--dp-primary-dark);
  box-shadow: var(--dp-shadow);
  text-decoration: none;
  animation: dp-whatsapp-pulse 2.8s ease-in-out infinite;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.dp-floating-whatsapp:hover,
.dp-floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: var(--dp-primary);
  color: #fff;
}

.dp-floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes dp-whatsapp-pulse {
  0%, 72%, 100% { box-shadow: var(--dp-shadow); }
  82% { box-shadow: var(--dp-shadow), 0 0 0 10px rgba(35,166,213,.14); }
}

@media (max-width: 700px) {
  .dp-default-logo { max-width: 220px; }
  .dp-default-logo img { max-height: 56px; }
  .dp-floating-whatsapp {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dp-floating-whatsapp { animation: none; }
}

.dp-content-notice {
  padding: 16px 18px;
  border-left: 4px solid var(--dp-accent);
  border-radius: 10px;
  background: var(--dp-soft);
  color: var(--dp-text);
}

@media (max-width: 767px) {
  .dp-page-hero--small { padding: 20px 0 18px; }
  .dp-page-hero--small h1 { font-size: 1.75rem; }
  .dp-page-title-compact .dp-content-layout,
  .dp-page-title-compact .dp-full-width-content { padding-top: 34px; }
  .dp-page-title-hidden .dp-content-layout,
  .dp-page-title-hidden .dp-full-width-content { padding-top: 24px; }
}
