:root {
  --q7-ink: #15181f;
  --q7-muted: #657069;
  --q7-deep: #061d17;
  --q7-emerald: #0f6b4c;
  --q7-green: #20c56a;
  --q7-red: #e51d2a;
  --q7-red-dark: #94121b;
  --q7-gold: #f5c54f;
  --q7-soft: #f2f7f3;
  --q7-line: #dce7de;
  --q7-radius: 8px;
  --q7-shadow: 0 16px 38px rgba(6, 29, 23, .13);
}
* { box-sizing: border-box; }
html { width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body.q7-page {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--q7-soft);
  color: var(--q7-ink);
  font-family: Inter, "Noto Sans Bengali", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}
.q7-page a { color: inherit; text-decoration: none; }
.q7-page img { display: block; max-width: 100%; }
.q7-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.q7-header { position: sticky; top: 0; z-index: 20; background: rgba(6, 29, 23, .96); border-bottom: 1px solid rgba(245,197,79,.22); backdrop-filter: blur(14px); }
.q7-topbar { min-height: 76px; display: flex; align-items: center; gap: 18px; }
.q7-logo { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: #fff; }
.q7-logo-mark { width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--q7-radius); background: linear-gradient(145deg, var(--q7-red), var(--q7-red-dark)); color: #fff1b4; font-weight: 950; box-shadow: 0 12px 26px rgba(229,29,42,.26); }
.q7-logo-text { color: #fff; font-size: 29px; line-height: .95; font-weight: 950; }
.q7-logo-kicker { display: block; margin-top: 5px; color: #8ee8b4; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.q7-nav { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 18px; color: #d8eee2; font-size: 14px; font-weight: 850; }
.q7-nav a { padding: 8px 0; white-space: nowrap; opacity: .9; }
.q7-nav a:hover, .q7-nav a.is-active { color: var(--q7-gold); opacity: 1; }
.q7-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.q7-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border-radius: var(--q7-radius);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}
.q7-btn-gold { background: linear-gradient(180deg, #ffe58b, #f0b838); color: #261800; box-shadow: 0 12px 24px rgba(245,197,79,.25); }
.q7-btn-green { background: linear-gradient(180deg, #30d878, #15924f); color: #fff; box-shadow: 0 12px 24px rgba(32,197,106,.22); }
.q7-btn-outline { border-color: rgba(255,255,255,.24); color: #fff; background: rgba(255,255,255,.08); }
.q7-hero { padding: 46px 0 0; color: #fff; background: radial-gradient(circle at 80% 8%, rgba(245,197,79,.22), transparent 30%), linear-gradient(135deg, #061d17 0%, #0b3125 46%, #691018 100%); }
.q7-hero-grid { display: grid; grid-template-columns: minmax(300px, 520px) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 520px; }
.q7-hero-media { align-self: stretch; display: flex; align-items: flex-end; }
.q7-hero-media img { width: 100%; height: min(470px, 58vw); min-height: 310px; object-fit: cover; object-position: right center; border-radius: var(--q7-radius) var(--q7-radius) 0 0; box-shadow: 0 24px 70px rgba(0,0,0,.32); }
.q7-hero-copy { padding: 42px 0 58px; }
.q7-hero h1 { max-width: 720px; margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.03; font-weight: 950; }
.q7-hero h1 strong { color: #fff1b4; }
.q7-lead { max-width: 650px; margin: 20px 0 0; color: #dcefe4; font-size: 18px; line-height: 1.65; font-weight: 680; }
.q7-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.q7-category-strip { transform: translateY(32px); display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 10px; padding: 12px; border-radius: var(--q7-radius); background: #fff; box-shadow: var(--q7-shadow); }
.q7-category { min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--q7-line); border-radius: var(--q7-radius); background: linear-gradient(180deg, #fff, #f8fbf8); color: #1d2b24; font-weight: 900; text-align: center; }
.q7-category-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #0c3528; color: var(--q7-gold); font-size: 13px; font-weight: 950; }
.q7-section { padding: 70px 0; }
.q7-title-rule { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.q7-title-rule::after { content: ""; height: 2px; flex: 1; background: linear-gradient(90deg, var(--q7-red), transparent); }
.q7-section-title { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 950; }
.q7-intro-copy { max-width: 880px; display: grid; gap: 10px; margin-bottom: 24px; color: var(--q7-muted); font-size: 16px; line-height: 1.76; font-weight: 680; }
.q7-intro-copy p { margin: 0; }
.q7-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.q7-feature, .q7-post, .q7-step, .q7-article-card, .q7-side-card { border: 1px solid var(--q7-line); border-radius: var(--q7-radius); background: #fff; box-shadow: var(--q7-shadow); }
.q7-feature { min-height: 218px; padding: 22px; }
.q7-feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--q7-radius); background: #e8f8ee; color: #0c7d45; font-weight: 950; }
.q7-feature h3 { margin: 20px 0 10px; font-size: 22px; line-height: 1.24; font-weight: 950; }
.q7-feature p { margin: 0; color: var(--q7-muted); line-height: 1.62; font-weight: 680; }
.q7-news { background: #fff; }
.q7-post-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.q7-post { overflow: hidden; }
.q7-post-media img { width: 100%; height: 178px; object-fit: cover; }
.q7-post-body { padding: 18px; }
.q7-post-body h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.32; font-weight: 950; }
.q7-post-body p { margin: 0; color: var(--q7-muted); line-height: 1.58; font-weight: 650; }
.q7-post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; color: #7d887f; font-size: 12px; font-weight: 850; }
.q7-tag { padding: 5px 8px; border-radius: 999px; background: #ecf9f0; color: #0c7d45; }
.q7-guide { background: linear-gradient(180deg, #09251d, #0f3a2c); color: #fff; }
.q7-guide .q7-title-rule::after { background: linear-gradient(90deg, var(--q7-gold), transparent); }
.q7-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.q7-step { position: relative; overflow: hidden; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.15); box-shadow: none; }
.q7-step-number { position: absolute; left: 18px; top: 16px; color: rgba(255,255,255,.22); font-size: 50px; font-weight: 950; line-height: 1; }
.q7-step div { position: relative; padding: 72px 18px 18px; }
.q7-step h3 { margin: 0 0 8px; font-size: 24px; font-weight: 950; }
.q7-step p { min-height: 76px; margin: 0; color: #d8eee2; line-height: 1.6; font-weight: 680; }
.q7-step img { width: 100%; height: 172px; object-fit: cover; margin-top: 16px; border-radius: var(--q7-radius); }
.q7-footer { background: #061d17; color: #d9eee2; padding-top: 34px; }
.q7-footer-grid { display: grid; grid-template-columns: 1.4fr .85fr .85fr 1fr; gap: 26px; }
.q7-footer h3 { margin: 0 0 12px; color: #fff1b4; font-size: 20px; font-weight: 950; }
.q7-footer p, .q7-footer li { color: #bedbcc; line-height: 1.68; font-weight: 650; }
.q7-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.q7-copyright { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.q7-copyright-row { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #9ec5b2; font-size: 13px; font-weight: 750; }
.q7-age { display: inline-grid; place-items: center; width: 36px; height: 28px; margin-right: 8px; border-radius: var(--q7-radius); background: var(--q7-red); color: #fff; font-weight: 950; }
.q7-page-hero { background: linear-gradient(135deg, #061d17, #8f101a); color: #fff; }
.q7-page-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,430px); gap: 30px; align-items: center; padding: 58px 0; }
.q7-page-hero h1 { margin: 0; font-size: clamp(34px,4.8vw,58px); line-height: 1.06; font-weight: 950; }
.q7-page-hero p { color: #dcefe4; line-height: 1.68; font-size: 17px; font-weight: 680; }
.q7-page-hero img { width: 100%; min-height: 292px; object-fit: cover; border-radius: var(--q7-radius); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.q7-page-layout, .q7-article-layout { display: grid; grid-template-columns: minmax(0,1fr) 315px; gap: 22px; padding: 42px 0; }
.q7-article-card { padding: 30px; }
.q7-article-card h1 { margin: 0; font-size: clamp(30px,4.4vw,48px); line-height: 1.14; font-weight: 950; }
.q7-meta { display: flex; flex-wrap: wrap; gap: 12px; color: #758178; font-size: 13px; font-weight: 750; margin: 14px 0 22px; }
.q7-body { color: #2d3b34; line-height: 1.9; font-weight: 650; }
.q7-point-grid { display: grid; gap: 14px; margin-top: 22px; }
.q7-point { border: 1px solid var(--q7-line); border-radius: var(--q7-radius); padding: 18px; background: #fbfffc; }
.q7-point h3 { margin: 0 0 8px; font-size: 20px; font-weight: 950; }
.q7-point p { margin: 0; color: var(--q7-muted); line-height: 1.68; }
.q7-side-card { padding: 20px; margin-bottom: 16px; overflow: hidden; }
.q7-side-card img { width: 100%; height: 178px; object-fit: cover; margin: -20px -20px 16px; max-width: calc(100% + 40px); }
.q7-side-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 950; }
.q7-side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.q7-side-card li { border-top: 1px solid var(--q7-line); padding-top: 10px; color: #34473c; font-weight: 760; line-height: 1.5; }
.q7-side-card li:first-child { border-top: 0; padding-top: 0; }
.prenext { display: grid; gap: 10px; margin-top: 22px; }
@media (max-width: 1040px) {
  .q7-topbar { flex-wrap: wrap; padding: 12px 0; }
  .q7-nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; }
  .q7-category-strip, .q7-feature-grid, .q7-post-grid, .q7-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .q7-hero-grid, .q7-page-hero-grid, .q7-page-layout, .q7-article-layout { grid-template-columns: 1fr; }
  .q7-hero-media { order: 2; }
  .q7-hero-copy { order: 1; padding-bottom: 20px; }
}
@media (max-width: 720px) {
  .q7-shell { width: min(100% - 24px, 1180px); }
  .q7-actions { width: 100%; }
  .q7-actions .q7-btn { flex: 1; }
  .q7-hero { padding-top: 30px; }
  .q7-hero-grid { min-height: 0; gap: 16px; }
  .q7-hero-media img { min-height: 245px; height: 280px; }
  .q7-category-strip, .q7-feature-grid, .q7-post-grid, .q7-steps, .q7-footer-grid { grid-template-columns: 1fr; }
  .q7-category-strip { transform: translateY(20px); }
  .q7-section { padding: 52px 0; }
  .q7-copyright-row { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .q7-article-card { padding: 22px; }
}
