@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --p:    #1a237e;
  --pd:   #0d1642;
  --ac:   #e53935;
  --bg:   #f5f6fa;
  --wh:   #ffffff;
  --bd:   #e5e7eb;
  --t1:   #111827;
  --t2:   #374151;
  --t3:   #6b7280;
  --r:    10px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--t1);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--p); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* =============================================
   LAYOUT — CONTAINER
============================================= */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 768px)  { .container { padding: 0 16px; } }
@media (max-width: 480px)  { .container { padding: 0 12px; } }

/* =============================================
   NAVBAR
============================================= */
.navbar {
  background: var(--p);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nav-in {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: #e53935; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-links a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}
.nav-tog {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-in { padding: 0 16px; }
  .nav-tog { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--pd);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 16px;
    gap: 2px;
    z-index: 998;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 16px;
    font-size: .95rem;
    border-radius: 8px;
  }
}

/* =============================================
   BREADCRUMB
============================================= */
.bc {
  font-size: .8rem;
  color: var(--t3);
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--bd);
}
.bc .container { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.bc a { color: var(--t3); }
.bc a:hover { color: var(--p); text-decoration: none; }
.bc span:not(:last-child)::after { content: " / "; color: var(--bd); }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-p  { background: var(--p);  color: #fff; }
.btn-p:hover  { background: var(--pd); color: #fff; }
.btn-ac { background: var(--ac); color: #fff; }
.btn-ac:hover { opacity: .9; color: #fff; }
.btn-ol { background: transparent; color: var(--p); border: 2px solid var(--p); }
.btn-ol:hover { background: var(--p); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
@media (max-width: 480px) {
  .btn { padding: 10px 18px; font-size: .875rem; }
}

/* =============================================
   CARDS
============================================= */
.card {
  background: var(--wh);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.cb { padding: 1.25rem; }
.cc {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.ct {
  font-size: 1rem;
  font-weight: 800;
  color: var(--t1);
  line-height: 1.35;
  margin-bottom: .35rem;
}
.cm {
  font-size: .75rem;
  color: var(--t3);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.ci {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
@media (max-width: 480px) {
  .cb { padding: 1rem; }
  .ci { height: 170px; }
}

/* =============================================
   GRIDS
============================================= */
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px)  { .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  {
  .g2 { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); gap: .85rem; }
}
@media (max-width: 360px)  { .g4 { grid-template-columns: 1fr; } }

/* =============================================
   ROW / COL LAYOUT (main + sidebar)
============================================= */
.row  { display: flex; gap: 1.75rem; align-items: flex-start; }
.col  { flex: 1 1 0; min-width: 0; }
.side { width: 320px; flex-shrink: 0; }

@media (max-width: 1024px) { .side { width: 280px; } }
@media (max-width: 900px)  {
  .row  { flex-direction: column; gap: 1.5rem; }
  .side { width: 100%; }
}

/* =============================================
   PAGE WRAPPER & SECTIONS
============================================= */
.pw { padding: 2.5rem 0; }
.pw + .pw { padding-top: 0; }

@media (max-width: 768px) { .pw { padding: 2rem 0; } }
@media (max-width: 480px) { .pw { padding: 1.5rem 0; } }

/* Section heading */
.sh { margin-bottom: 1.5rem; }
.sh h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sd {
  width: 48px;
  height: 4px;
  background: var(--ac);
  border-radius: 2px;
  margin: .4rem 0 .25rem;
}
@media (max-width: 480px) {
  .sh h2 { font-size: 1.3rem; }
  .sh { margin-bottom: 1.1rem; }
}

/* Page title block */
.pt {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: .5rem;
}
.ps {
  font-size: 1rem;
  color: var(--t3);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  background: linear-gradient(135deg, #1a237e 0%, #060616 100%);
  padding: 5rem 0 4rem;
}
.hero-inner { max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  max-width: 560px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 3rem; }
}
@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero p  { font-size: .95rem; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}

/* =============================================
   ADVERTISEMENT PLACEHOLDERS
============================================= */
.ad {
  background: #eef2ff;
  border: 1px dashed var(--bd);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  overflow: hidden;
}
.ad-h { height: 100px; }
.ad-r { height: 260px; }
@media (max-width: 768px) { .ad-r { height: 200px; } }

/* =============================================
   ARTICLE / BLOG BODY
============================================= */
.ab h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--t1);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #eef2ff;
  line-height: 1.35;
}
.ab h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t1);
  margin: 1.5rem 0 .5rem;
  line-height: 1.4;
}
.ab p {
  margin-bottom: 1rem;
  color: var(--t2);
  font-size: .97rem;
  line-height: 1.85;
}
.ab ul, .ab ol {
  margin: .5rem 0 1.1rem 1.5rem;
  color: var(--t2);
}
.ab li {
  margin-bottom: .45rem;
  font-size: .95rem;
  line-height: 1.75;
}
.ab strong { color: var(--t1); }

/* Info box */
.ib {
  background: #eef2ff;
  border-left: 4px solid var(--p);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.ib-t {
  font-size: .875rem;
  font-weight: 800;
  color: var(--p);
  margin-bottom: .35rem;
}

/* =============================================
   DATA TABLES
============================================= */
.tw {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-radius: var(--r);
  border: 1px solid var(--bd);
  -webkit-overflow-scrolling: touch;
}
table.dt {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 480px;
}
table.dt th {
  background: var(--p);
  color: #fff;
  padding: .65rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  white-space: nowrap;
}
table.dt td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--bd);
  color: var(--t2);
}
table.dt tr:last-child td { border-bottom: none; }
table.dt tr:hover td { background: #f8faff; }
@media (max-width: 480px) {
  table.dt th, table.dt td { padding: .5rem .75rem; font-size: .82rem; }
}

/* =============================================
   FAQ
============================================= */
.faq-item { border-bottom: 1px solid var(--bd); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--t1);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
}
.faq-q::after { content: "+"; font-size: 1.2rem; color: var(--p); flex-shrink: 0; }
.faq-q.open::after { content: "\2212"; }
.faq-a {
  font-size: .91rem;
  color: var(--t2);
  line-height: 1.8;
  padding: 0 0 1rem;
  display: none;
}

/* =============================================
   SHARE BUTTONS
============================================= */
.shr { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0; }
.sb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  color: #fff;
  transition: opacity .2s;
}
.sb:hover { opacity: .85; }
.s-wa { background: #25d366; }
.s-tg { background: #0088cc; }
.s-fb { background: #1877f2; }
.s-tw { background: #000; }
.s-cp { background: #6b7280; }
@media (max-width: 480px) {
  .sb { flex: 1 1 calc(50% - 4px); justify-content: center; }
}

/* =============================================
   QUIZ WIDGET
============================================= */
.qw {
  background: linear-gradient(135deg, #1a237e, #0d1642);
  border-radius: var(--r);
  overflow: hidden;
}
.qh {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.qht  { font-weight: 800; color: #fff; font-size: .94rem; }
.qtm  { font-size: 1.3rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.qpb  { height: 4px; background: rgba(255,255,255,.15); }
.qpf  { height: 4px; background: #ff6f00; transition: width .3s; }
.qbi  { padding: 1.5rem; }
@media (max-width: 480px) { .qbi { padding: 1.1rem; } }
.qn   { font-size: .75rem; color: rgba(255,255,255,.6); font-weight: 600; margin-bottom: .5rem; }
.qq   { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 1.2rem; line-height: 1.55; }
.qos  { display: flex; flex-direction: column; gap: .5rem; }
.qo {
  padding: .85rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: .91rem;
  transition: all .2s;
  text-align: left;
  width: 100%;
  line-height: 1.5;
}
.qo:hover  { background: rgba(255,255,255,.18); }
.qo.ok { background: rgba(46,125,50,.5); border-color: #4caf50; }
.qo.no { background: rgba(198,40,40,.5); border-color: #ef5350; }
.qex {
  background: rgba(0,0,0,.3);
  border-radius: 8px;
  padding: .85rem 1rem;
  margin-top: .85rem;
  color: rgba(255,255,255,.9);
  font-size: .87rem;
  line-height: 1.65;
  display: none;
}
.qft {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .qft { padding: .85rem 1.1rem; gap: 8px; }
}
.qbt {
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 700;
  font-size: .87rem;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.qbt-n { background: rgba(255,255,255,.15); color: #fff; }
.qbt-n:hover { background: rgba(255,255,255,.25); }
.qbt-s { background: #e53935; color: #fff; }
.qrs {
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: none;
}
.qsc  { font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1; }
.qmg  { color: rgba(255,255,255,.8); margin: .6rem 0 1.5rem; }
@media (max-width: 480px) {
  .qsc { font-size: 2rem; }
  .qrs { padding: 2rem 1.1rem; }
}

/* =============================================
   SIDEBAR WIDGETS
============================================= */
.wg {
  background: var(--wh);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.wgt {
  font-size: .88rem;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--p);
}
.wgl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--bd);
  font-size: .875rem;
  color: var(--t2);
  text-decoration: none;
  gap: 8px;
  transition: color .2s;
}
.wgl:last-child { border-bottom: none; }
.wgl:hover { color: var(--p); text-decoration: none; }
.sticky-side { position: sticky; top: 80px; }

/* =============================================
   TAGS
============================================= */
.tag {
  display: inline-block;
  background: #eef2ff;
  color: var(--p);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  margin: 2px;
  transition: background .2s;
}
.tag:hover { background: var(--p); color: #fff; text-decoration: none; }

/* =============================================
   FOOTER
============================================= */
.footer {
  background: #0d1642;
  color: rgba(255,255,255,.75);
  margin-top: 4rem;
  padding: 3.5rem 0 0;
}
.fg {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.fb {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: .75rem;
}
.fd {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.fct {
  font-size: .78rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}
.footer .fg a {
  display: block;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .45rem;
  transition: color .2s;
}
.footer .fg a:hover { color: #fff; text-decoration: none; }
.fbot {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.fbot a { display: inline; color: rgba(255,255,255,.5); margin: 0 5px; }
.fbot a:hover { color: #fff; text-decoration: none; }

@media (max-width: 960px) {
  .fg { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .fg { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer { padding-top: 2.5rem; }
  .fbot { flex-direction: column; text-align: center; gap: .5rem; }
}

/* =============================================
   READING PROGRESS BAR
============================================= */
#rpbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--ac);
  width: 0;
  z-index: 9999;
  transition: width .1s linear;
}

/* =============================================
   POST NAVIGATION
============================================= */
.pnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.pnl {
  padding: 1.1rem 1.25rem;
  background: var(--wh);
  border: 1px solid var(--bd);
  border-radius: var(--r);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.pnl:hover { border-color: var(--p); box-shadow: var(--shadow-sm); text-decoration: none; }
.pnd { font-size: .72rem; color: var(--t3); font-weight: 600; text-transform: uppercase; margin-bottom: .25rem; }
.pnt { font-size: .9rem; font-weight: 700; color: var(--t1); line-height: 1.4; }
@media (max-width: 560px) {
  .pnav { grid-template-columns: 1fr; }
}

/* =============================================
   AUTHOR BOX
============================================= */
.aub {
  background: #eef2ff;
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2rem 0;
}
.auav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--p);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .aub { flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
}

/* =============================================
   UTILITY
============================================= */
.text-center { text-align: center; }
.text-muted  { color: var(--t3); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-cta { margin-top: 2rem; text-align: center; }

/* Print */
@media print {
  .navbar, .footer, .ad, .shr, #rpbar { display: none !important; }
  .container { max-width: 100%; padding: 0; }
}

/* =============================================
   SINGLE POST / PAGE LAYOUT FIXES
============================================= */

/* Article hero header */
.post-header {
  background: linear-gradient(135deg, #1a237e, #060616);
  padding: 2.5rem 0 2rem;
}
.post-header .container { max-width: 1280px; padding: 0 24px; }
.post-header h1 {
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  max-width: 860px;
  margin-bottom: .75rem;
}

/* Main content + sidebar wrapper */
.post-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 24px;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.post-main {
  flex: 1 1 0;
  min-width: 0;
  max-width: 820px;
}
.post-side {
  width: 300px;
  flex-shrink: 0;
}

/* Article body text area */
.ab {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 2rem 2rem 1.5rem;
}
.ab {
  margin: 2rem 2.5rem;   /* ← ye left-right padding change karo */
}

/* Share bar above article */
.post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r);
}
.post-meta-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--t3);
  align-items: center;
}

/* Ad block inside post */
.post-ad {
  margin: 1.5rem 0;
  border-radius: var(--r);
  overflow: hidden;
}

/* ---- Responsive: tablet ---- */
@media (max-width: 1024px) {
  .post-wrap { padding: 1.75rem 20px; gap: 1.5rem; }
  .post-side  { width: 260px; }
}

/* ---- Responsive: mobile ---- */
@media (max-width: 860px) {
  .post-wrap {
    flex-direction: column;
    padding: 1.25rem 16px;
    gap: 1.5rem;
  }
  .post-main { max-width: 100%; }
  .post-side  { width: 100%; }
  .ab { padding: 1.25rem 1.25rem 1rem; }
}

@media (max-width: 480px) {
  .post-wrap { padding: 1rem 12px; gap: 1.25rem; }
  .ab { padding: 1rem 1rem .85rem; }
  .post-header { padding: 1.75rem 0 1.5rem; }
  .post-header h1 { font-size: 1.2rem; }
}

/* Fix: existing .row inside .container pw for posts */
.container.pw .row .col .ab {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: 2rem;
}
@media (max-width: 860px) {
  .container.pw .row .col .ab { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .container.pw .row .col .ab { padding: 1rem; }
}

/* Share row inside post col */
.container.pw .row .col .shr {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--r);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  gap: 6px;
}

/* Ad inside post col */
.container.pw .row .col .ad-h {
  margin-bottom: 1.25rem;
}

/* Sticky sidebar on desktop */
.container.pw .row .side > * {
  position: sticky;
  top: 80px;
}
@media (max-width: 900px) {
  .container.pw .row .side > * { position: static; }
}

/* .ab left-right margin fix */
.ab { margin-left: 0; margin-right: 0; }
@media (min-width: 861px) {
  .container.pw .row .col .ab { margin-left: 0; margin-right: 0; padding: 2rem 2.5rem; }
}
@media (max-width: 860px) {
  .container.pw .row .col .ab { padding: 1.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .container.pw .row .col .ab { padding: 1.1rem 1rem; }
}
