/*
 * Article component layer
 * Setiap blok utama menggunakan class mandiri agar mudah dipindah ke partial PHP.
 */

.article-template {
  --article-blue-soft: #eaf2fb;
  --article-yellow-soft: #fff1bc;
  --article-copy: #25221f;
  font-size: 14px;
}

.article-template .page-shell { max-width: 1220px; }

.reading-progress {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: transparent;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #2d83d1, var(--yellow));
  transition: width .1s linear;
}

.article-page { padding: 1.8rem 0 3.5rem; }

.article-breadcrumb { margin-bottom: 1.25rem; }

.article-breadcrumb .breadcrumb {
  align-items: center;
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
}

.article-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--ink);
  font-weight: 900;
}

.article-breadcrumb a { text-decoration: none; }
.article-breadcrumb a:hover { color: var(--blue); }

.article-header { margin-bottom: 1rem; }

.article-category,
.sidebar-label {
  display: inline-block;
  padding: .14rem .55rem;
  color: var(--ink);
  background: var(--yellow);
  font-size: .72rem;
  font-weight: 900;
  text-decoration: none;
  transform: rotate(-.5deg);
}

.article-category { margin-top: .35rem; }
.article-category:hover { color: var(--ink); transform: rotate(.5deg) translateY(-1px); }

.article-header h1 {
  max-width: 760px;
  margin: .75rem 0 .6rem;
  font-family: var(--hand);
  font-size: clamp(1.8rem, 2.1vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .008em;
}

.article-deck {
  max-width: 720px;
  margin-bottom: .9rem;
  color: var(--article-copy);
  font-size: .95rem;
  line-height: 1.55;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.article-meta,
.article-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}

.article-meta { font-size: .68rem; font-weight: 700; }
.article-meta a { font-weight: 900; text-decoration: none; }
.article-meta i { margin-right: .25rem; }
.meta-divider { color: rgba(16, 16, 16, .45); }

.author-avatar,
.author-box-avatar {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #e8eef5;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.author-avatar { width: 28px; height: 28px; font-size: 1rem; }

.article-action {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 35px;
  padding: .35rem .8rem;
  background: rgba(255, 255, 255, .35);
  border: 1px solid rgba(16, 16, 16, .65);
  border-radius: 5px 8px 5px 7px;
  font-size: .7rem;
  font-weight: 900;
}

.article-action:hover,
.article-action.is-saved { color: #fff; background: var(--blue); border-color: var(--blue); transform: translateY(-1px); }

.article-notification-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 35px;
  padding: .38rem .85rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b5eb5, var(--blue-dark));
  border: 1px solid #04366d;
  border-radius: 6px 8px 5px 7px;
  box-shadow: 0 5px 13px rgba(6, 69, 142, .18);
  font-size: .7rem;
  font-weight: 900;
  white-space: nowrap;
}

.article-notification-action::after {
  position: absolute;
  inset: 2px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 4px 6px 4px 5px;
}

.article-notification-action:hover,
.article-notification-action:focus-visible {
  color: #fff;
  background: #06376f;
  border-color: #032b59;
  box-shadow: 0 7px 17px rgba(6, 55, 111, .25);
  transform: translateY(-1px);
}

.article-notification-action:hover i { transform: rotate(-12deg); }
.article-notification-action i { transition: transform .2s ease; }

.article-featured { margin: 1rem 0 1.2rem; }

.article-featured img {
  display: block;
  width: 100%;
  height: clamp(280px, 27vw, 340px);
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--ink);
  border-radius: 6px 10px 6px 8px;
  box-shadow: 3px 4px 0 rgba(16, 16, 16, .06);
}

.article-featured figcaption,
.article-wide-image figcaption {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .65rem;
  font-style: italic;
  text-align: center;
}

.article-body {
  color: var(--article-copy);
  font-size: .88rem;
  line-height: 1.68;
  text-align: justify;
  text-justify: inter-word;
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body figcaption,
.article-body .article-note,
.article-body .action-list,
.article-body .embed-card,
.article-body .push-inline-cta { text-align: left; }

.article-body section { scroll-margin-top: 105px; }
.article-header h1,
.article-body h1,
.article-body h2,
.article-body h3,
.media-section h2,
.media-section h3 { scroll-margin-top: 105px; }
.article-body p { margin-bottom: .85rem; }
.article-body strong { color: var(--ink); font-weight: 800; }

.article-body figure,
.article-body p:has(> img:only-child) {
  position: relative;
  margin: 1.25rem 0 1.5rem;
  padding: .38rem;
  background: rgba(255, 255, 255, .42);
  border: 1px dashed rgba(16, 16, 16, .38);
  border-radius: 9px 14px 8px 12px;
  box-shadow: 4px 5px 0 rgba(16, 16, 16, .06);
  text-align: center;
}

.article-body figure::before,
.article-body p:has(> img:only-child)::before {
  position: absolute;
  z-index: 1;
  top: -.42rem;
  left: 50%;
  width: 3.25rem;
  height: .8rem;
  content: "";
  background: rgba(255, 224, 113, .72);
  border: 1px solid rgba(16, 16, 16, .2);
  transform: translateX(-50%) rotate(-1.5deg);
}

.article-body img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, .25);
  border: 1px solid var(--ink);
  border-radius: 6px 11px 6px 9px;
  box-shadow: 2px 3px 0 rgba(16, 16, 16, .08);
}

.article-body figure figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .62rem;
  line-height: 1.45;
  text-align: center;
}

.article-body a:not(.btn) {
  color: var(--blue);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-body a:not(.btn):hover { color: var(--blue-dark); text-decoration-thickness: 2px; }

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.author-box h2,
.article-cta h2,
.related-section h2,
.section-heading h2 {
  color: var(--ink);
  font-family: var(--hand);
  font-weight: 700;
}

.article-body h2 {
  position: relative;
  display: table;
  margin: 1.15rem 0 .35rem;
  font-size: 1.55rem;
  line-height: 1.2;
}

.article-body h2::after {
  display: block;
  width: 42px;
  height: 5px;
  margin-top: -2px;
  content: "";
  border-top: 2px solid var(--blue);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.article-body h3 { margin: 1.15rem 0 .35rem; font-size: 1.3rem; }
.article-body h4 { margin: 1rem 0 .3rem; font-size: 1.12rem; }
.article-body h5 { margin: .9rem 0 .3rem; font-size: 1rem; }

.article-float-image {
  float: right;
  width: 180px;
  margin: -.3rem 1.5rem .6rem 1.5rem;
}

.article-float-image img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.article-check-list,
.mini-check-list {
  padding: 0;
  list-style: none;
}

.article-check-list { margin: .5rem 0 1rem; }

.article-check-list li,
.mini-check-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: .28rem;
}

.article-check-list li::before,
.mini-check-list li::before {
  position: absolute;
  top: .32em;
  left: 0;
  display: grid;
  width: 13px;
  height: 13px;
  place-items: center;
  color: #fff;
  content: "✓";
  background: var(--blue);
  border-radius: 50%;
  font-size: .52rem;
  font-weight: 900;
}

.article-wide-image { margin: .8rem 0 1.1rem; }
.article-wide-image img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }

.article-number-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem 1rem;
  padding: 0;
  counter-reset: knowledge-step;
  list-style: none;
}

.article-number-list li {
  position: relative;
  min-height: 58px;
  padding: .7rem .7rem .7rem 3rem;
  counter-increment: knowledge-step;
  background: rgba(255, 255, 255, .24);
  border: 1px dashed rgba(16, 16, 16, .35);
  border-radius: 7px 10px 6px 8px;
}

.article-number-list li::before {
  position: absolute;
  top: .65rem;
  left: .65rem;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  content: counter(knowledge-step);
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 48% 52% 46% 54%;
  font-family: var(--hand);
  font-size: 1.15rem;
}

.article-note {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .8rem 1rem;
  background: var(--article-yellow-soft);
  border-left: 4px solid var(--yellow);
  border-radius: 3px 8px 8px 3px;
}

.article-note i { color: #b98300; font-size: 1.25rem; }
.article-note p { margin: 0; }

.article-quote {
  position: relative;
  max-width: 590px;
  margin: 1.4rem auto;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, rgba(225, 237, 251, .72), rgba(255, 255, 255, .3));
  border: 1px solid var(--ink);
  border-radius: 6px 11px 6px 9px;
  text-align: center;
}

.article-quote::before,
.article-quote::after {
  position: absolute;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
}

.article-quote::before { top: .55rem; left: 1rem; content: "“"; }
.article-quote::after { right: 1rem; bottom: .1rem; content: "”"; }
.article-quote p { margin: 0; font-family: var(--hand); font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.article-quote footer { margin-top: .35rem; font-size: .65rem; font-weight: 800; }

/* Blockquote generated by Filament RichEditor. */
.article-body blockquote {
  position: relative;
  max-width: 590px;
  margin: 1.4rem auto;
  padding: 1rem 3rem;
  color: var(--ink);
  background: linear-gradient(135deg, rgba(225, 237, 251, .72), rgba(255, 255, 255, .3));
  border: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  border-radius: 6px 11px 6px 9px;
  text-align: center;
}

.article-body blockquote::before,
.article-body blockquote::after {
  position: absolute;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 2.6rem;
  line-height: 1;
}

.article-body blockquote::before { top: .55rem; left: 1rem; content: "“"; }
.article-body blockquote::after { right: 1rem; bottom: .1rem; content: "”"; }

.article-body blockquote p {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.article-body blockquote cite {
  display: block;
  margin-top: .35rem;
  font-size: .65rem;
  font-style: normal;
  font-weight: 800;
}

/* Push notification CTA: presentational only, no Notification API attached. */
.push-inline-cta {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 1.35rem 0;
  padding: 1.05rem 1.15rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 28%, rgba(255, 200, 29, .2), transparent 7rem),
    linear-gradient(96deg, rgba(234, 242, 251, .92), rgba(255, 251, 237, .86));
}

.push-inline-cta::after {
  position: absolute;
  top: -22px;
  right: 24%;
  width: 75px;
  height: 75px;
  pointer-events: none;
  content: "";
  border: 1px dashed rgba(6, 69, 142, .16);
  border-radius: 50%;
}

.push-bell-illustration {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--blue);
  background: var(--yellow);
  border: 1px solid var(--ink);
  border-radius: 48% 52% 45% 55%;
  box-shadow: inset -4px -5px 0 rgba(16, 16, 16, .05);
  font-size: 2rem;
  transform: rotate(-4deg);
}

.push-bell-illustration::before,
.push-bell-illustration::after {
  position: absolute;
  content: "";
  border: 2px solid var(--blue);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  opacity: .65;
}

.push-bell-illustration::before { inset: 11px -7px; }
.push-bell-illustration::after { inset: 3px -15px; opacity: .28; }
.push-bell-ring { position: absolute; inset: 0; }

.push-kicker {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  color: var(--blue);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.push-inline-copy h2 {
  margin: .15rem 0 .2rem;
  font-family: var(--hand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}

.push-inline-copy p { max-width: 520px; margin: 0; font-size: .7rem; line-height: 1.45; }
.push-benefits { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .45rem 0 0; padding: 0; list-style: none; }
.push-benefits li { position: relative; padding-left: 1rem; font-size: .6rem; font-weight: 800; }
.push-benefits li::before { position: absolute; left: 0; color: var(--blue); content: "✓"; font-weight: 900; }

.push-inline-action { display: grid; justify-items: stretch; gap: .35rem; min-width: 170px; }
.push-inline-action .btn { white-space: nowrap; font-size: .68rem; }
.push-inline-action small { color: var(--muted); font-size: .55rem; text-align: center; }

.action-list { display: grid; gap: .5rem; margin-bottom: 1rem; }

.action-list article { display: flex; align-items: flex-start; gap: .75rem; }
.action-list > article > i { width: 28px; flex: 0 0 28px; font-size: 1.45rem; line-height: 1; }
.action-list h3 { margin: 0; font-family: var(--body); font-size: .76rem; font-weight: 900; }
.action-list p { margin: 0; font-size: .7rem; line-height: 1.45; }

.media-section { margin: 1.1rem 0; }

.embed-card {
  height: 100%;
  padding: .7rem;
  background: rgba(255, 255, 255, .24);
  border: 1px solid rgba(16, 16, 16, .55);
  border-radius: 6px 9px 6px 8px;
}

.embed-card h3,
.sidebar-audio h2 { margin: 0 0 .5rem; font-family: var(--hand); font-size: 1.05rem; font-weight: 700; }
.article-video-frame {
  position: relative;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #101010;
  border-radius: 4px;
}

.article-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #101010;
  border: 0;
}
.embed-card audio,
.sidebar-audio audio { width: 100%; height: 35px; margin-top: .65rem; }

.audio-embed-title { display: flex; align-items: center; gap: .7rem; }
.audio-embed-title > i { font-size: 2.1rem; }
.audio-embed-title strong { display: block; font-family: var(--hand); font-size: .9rem; line-height: 1.15; }
.audio-embed-title span { display: block; margin-top: .15rem; font-size: .6rem; }

.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 1rem 1.2rem;
}

.author-box-avatar { width: 58px; height: 58px; flex: 0 0 58px; font-size: 2rem; }
.author-label { color: var(--blue); font-size: .65rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.author-box h2 { margin: 0; font-size: 1.25rem; }
.author-box p { margin: .15rem 0 0; font-size: .72rem; }

.article-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  padding: .9rem 1.1rem;
  background: linear-gradient(90deg, rgba(232, 241, 251, .72), rgba(255, 249, 225, .72));
}

.cta-illustration { display: grid; width: 60px; height: 60px; flex: 0 0 60px; place-items: center; color: var(--blue); font-size: 2.4rem; transform: rotate(-6deg); }
.article-cta h2 { margin: 0; font-size: 1.25rem; }
.article-cta p { margin: .1rem 0 0; font-size: .7rem; }
.article-cta .btn { font-size: .7rem; }

.related-section { margin: 1.35rem 0 1rem; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.section-heading .section-kicker { font-size: .58rem; }
.section-heading h2 { margin: 0; font-size: 1.45rem; }
.section-heading > a { color: var(--blue); font-size: .68rem; font-weight: 900; text-decoration: none; }

.related-card {
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(16, 16, 16, .45);
  border-radius: 6px 9px 6px 8px;
}

.related-card img { display: block; width: 100%; height: 90px; object-fit: cover; mix-blend-mode: multiply; }
.related-card > div { padding: .55rem; }
.related-card span { color: var(--blue); font-size: .55rem; font-weight: 900; text-transform: uppercase; }
.related-card h3 { margin: .15rem 0 .35rem; font-family: var(--hand); font-size: .88rem; line-height: 1.15; }
.related-card h3 a { text-decoration: none; }
.related-card small { font-size: .55rem; }
.related-card:hover { border-color: var(--blue); transform: translateY(-3px) rotate(-.2deg); box-shadow: 0 8px 22px rgba(16, 16, 16, .08); }

.article-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem .8rem;
  background: linear-gradient(90deg, rgba(255, 243, 201, .55), rgba(255, 255, 255, .2));
  border: 1px solid rgba(16, 16, 16, .35);
  border-radius: 6px 9px 6px 8px;
}

.topic-list,
.share-list { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .62rem; }
.topic-list a { padding: .18rem .45rem; color: var(--blue); background: rgba(255, 255, 255, .45); border: 1px solid rgba(6, 69, 142, .35); border-radius: 3px; font-weight: 800; text-decoration: none; }
.topic-list a:hover { color: #fff; background: var(--blue); }
.share-list button { display: grid; width: 27px; height: 27px; padding: 0; place-items: center; color: #fff; background: var(--blue); border: 0; border-radius: 50%; }
.share-list button:hover { transform: translateY(-2px) rotate(-4deg); }

.article-sidebar { min-width: 0; }
.sidebar-sticky { position: sticky; top: 98px; display: grid; gap: 1rem; }

.sidebar-card {
  position: relative;
  padding: 1rem;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(16, 16, 16, .58);
  border-radius: 7px 11px 6px 9px;
  box-shadow: 2px 3px 0 rgba(16, 16, 16, .04);
}

.sidebar-card::after {
  position: absolute;
  right: -2px;
  bottom: -2px;
  left: 4px;
  z-index: -1;
  height: 60%;
  content: "";
  border: 1px solid rgba(16, 16, 16, .12);
  border-top: 0;
  border-radius: 0 0 9px 7px;
}

.sidebar-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.sidebar-title-row h2,
.book-promo h2,
.sidebar-audio h2 { margin: 0; font-family: var(--hand); font-size: 1.25rem; font-weight: 700; }
.sidebar-title-row > i { font-size: 1.65rem; }

.toc-list { display: grid; gap: .7rem; margin: .8rem 0 0; padding: 0; list-style: none; counter-reset: toc-item; }
.toc-list li { position: relative; padding-left: 1.2rem; counter-increment: toc-item; }
.toc-list .toc-level-1 { padding-left: 1.2rem; }
.toc-list .toc-level-1 a { color: var(--ink); font-weight: 900; }
.toc-list .toc-level-2 { margin-left: .45rem; }
.toc-list .toc-level-3 { margin-left: 1rem; }
.toc-list .toc-level-3 a { color: var(--muted); font-size: .66rem; }
.toc-list li::before { position: absolute; top: .4em; left: 0; width: 8px; height: 8px; content: ""; background: var(--blue); border: 1px solid #00336d; border-radius: 50%; }
.toc-list a { display: block; font-size: .72rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.toc-list a:hover,
.toc-list a.active { color: var(--blue); transform: translateX(2px); }

.push-sidebar-card {
  padding: .9rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 200, 29, .34), transparent 7rem),
    linear-gradient(145deg, rgba(229, 240, 252, .96), rgba(255, 252, 241, .92));
  border-color: rgba(6, 69, 142, .65);
}

.push-sidebar-card::before {
  position: absolute;
  top: -18px;
  right: -15px;
  width: 72px;
  height: 72px;
  content: "";
  border: 1px dashed rgba(6, 69, 142, .25);
  border-radius: 50%;
}

.push-sidebar-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  margin-bottom: .65rem;
  padding: .12rem .42rem;
  color: #6b4c00;
  background: var(--yellow);
  border: 1px solid rgba(16, 16, 16, .45);
  border-radius: 3px 5px 3px 4px;
  font-size: .52rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: rotate(-1deg);
}

.push-sidebar-heading { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .7rem; }
.push-sidebar-icon { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--blue); background: #fff; border: 1px solid var(--ink); border-radius: 50% 46% 52% 48%; font-size: 1.1rem; transform: rotate(-4deg); }
.push-sidebar-heading h2 { margin: 0; font-family: var(--hand); font-size: 1.15rem; font-weight: 700; line-height: 1.05; }
.push-sidebar-heading p { margin: .2rem 0 0; color: var(--muted); font-size: .62rem; line-height: 1.4; }
.push-sidebar-card .btn { position: relative; z-index: 1; font-size: .67rem; }
.push-trust-row { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: .5rem; color: var(--muted); font-size: .5rem; }
.push-trust-row span { display: inline-flex; align-items: center; gap: .2rem; }
.push-trust-row i { color: var(--blue); }

.book-promo-grid { display: grid; grid-template-columns: 1fr 100px; align-items: center; gap: .8rem; margin-top: .6rem; }
.book-promo h2 { margin-top: .2rem; font-size: 1.55rem; }
.book-promo p { font-size: .68rem; }
.book-promo img { width: 100%; height: auto; border: 1px solid var(--ink); box-shadow: 3px 4px 0 rgba(16, 16, 16, .1); transform: rotate(.7deg); }
.mini-check-list { margin: .8rem 0; font-size: .65rem; }

.newsletter-card p { margin: .55rem 0 .7rem; font-size: .68rem; }
.newsletter-form { display: grid; gap: .55rem; }
.newsletter-form .form-control { min-height: 39px; font-size: .72rem; }
.newsletter-form .btn { font-size: .68rem; }
.newsletter-form small { font-size: .54rem; text-align: center; }

.insight-figure { padding: 0; overflow: hidden; }
.insight-figure img { display: block; width: 100%; height: auto; }
.sidebar-audio .audio-embed-title { margin-top: .65rem; }

.article-site-footer {
  padding: 1.7rem 0 .8rem;
  background: rgba(243, 238, 229, .92);
  border-top: 1px solid rgba(16, 16, 16, .25);
}

.article-site-footer .brand-mark { margin-bottom: .65rem; }
.article-site-footer p { max-width: 240px; color: var(--muted); font-size: .65rem; }
.article-site-footer h2 { margin: .2rem 0 .55rem; font-family: var(--hand); font-size: 1rem; font-weight: 700; }
.article-site-footer ul { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.article-site-footer li,
.article-site-footer li a { font-size: .62rem; text-decoration: none; }
.article-site-footer li a:hover { color: var(--blue); }
.footer-social { display: flex; gap: .45rem; }
.footer-social a { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; background: var(--ink); border-radius: 50%; }
.footer-social a:hover { color: var(--ink); background: var(--yellow); transform: translateY(-2px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: .7rem; border-top: 1px solid rgba(16, 16, 16, .18); font-size: .55rem; }
.footer-bottom .bi-heart-fill { color: #d93636; }
.footer-push-button { font-size: .68rem; }
.footer-choice { position: relative; margin: .55rem 0; color: var(--muted); font-size: .53rem; text-align: center; }
.footer-choice::before { position: absolute; top: 50%; right: 0; left: 0; height: 1px; content: ""; background: rgba(16, 16, 16, .18); }
.footer-choice span { position: relative; padding: 0 .5rem; background: rgba(243, 238, 229, .98); }

/* Preference modal is a visual prototype; implementation can bind these fields later. */
.push-preference-modal .modal-dialog { max-width: 560px; }
.push-preference-modal .modal-content {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 200, 29, .22), transparent 12rem),
    var(--paper);
}

.push-preference-modal .modal-header { align-items: flex-start; }
.push-modal-icon { display: grid; width: 52px; height: 52px; place-items: center; color: var(--blue); background: var(--yellow); border: 1px solid var(--ink); border-radius: 49% 51% 45% 55%; box-shadow: 3px 4px 0 rgba(16, 16, 16, .08); font-size: 1.35rem; transform: rotate(-4deg); }
.push-modal-title { max-width: 430px; margin: .25rem 0 .25rem; font-family: var(--hand); font-size: 1.8rem; font-weight: 700; line-height: 1.05; }
.push-modal-description { max-width: 460px; margin-bottom: .8rem; color: var(--muted); font-size: .72rem; }

.notification-preview {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: start;
  gap: .65rem;
  margin: .8rem 0 1rem;
  padding: .7rem;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(16, 16, 16, .4);
  border-radius: 9px 12px 8px 10px;
  box-shadow: 0 10px 24px rgba(35, 29, 22, .08);
}

.notification-preview-logo { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: var(--blue); border-radius: 8px; font-family: var(--hand); font-weight: 700; }
.notification-preview-meta { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .62rem; }
.notification-preview-meta time { color: var(--muted); font-size: .55rem; }
.notification-preview p { margin: .18rem 0 0; font-size: .68rem; line-height: 1.35; }
.notification-preview > i { color: var(--muted); }

.push-option-group { margin: 0 0 .9rem; padding: 0; border: 0; }
.push-option-group legend { margin-bottom: .45rem; font-size: .65rem; font-weight: 900; }
.push-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.push-option { display: flex; align-items: center; gap: .5rem; min-height: 42px; padding: .55rem .65rem; background: rgba(255, 255, 255, .28); border: 1px solid rgba(16, 16, 16, .36); border-radius: 6px 9px 5px 8px; cursor: pointer; font-size: .66rem; font-weight: 800; }
.push-option i { color: var(--blue); font-size: 1rem; }
.btn-check:checked + .push-option { color: var(--blue-dark); background: var(--article-blue-soft); border-color: var(--blue); box-shadow: inset 0 0 0 1px rgba(6, 69, 142, .12); }
.btn-check:focus + .push-option { box-shadow: 0 0 0 .2rem rgba(6, 69, 142, .14); }

.push-frequency { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .6rem; padding: .65rem .7rem; background: rgba(255, 242, 192, .52); border-left: 3px solid var(--yellow); border-radius: 3px 7px 7px 3px; }
.push-frequency > i { color: #8b6500; font-size: 1.1rem; }
.push-frequency strong,
.push-frequency span { display: block; }
.push-frequency strong { font-size: .65rem; }
.push-frequency div span { color: var(--muted); font-size: .56rem; }
.push-frequency-badge { padding: .14rem .4rem; color: #6b4c00; background: #fff5ca; border: 1px solid rgba(139, 101, 0, .32); border-radius: 20px; font-size: .5rem; font-weight: 900; }
.push-demo-note { display: flex; align-items: center; gap: .3rem; margin: .7rem 0 0; color: var(--muted); font-size: .56rem; }
.push-later-button { color: var(--muted); font-size: .68rem; font-weight: 800; text-decoration: none; }
.push-preference-modal .modal-footer .btn-primary-sketch { max-width: 300px; }

.mobile-toc-button {
  position: fixed;
  z-index: 1015;
  bottom: 1rem;
  left: 1rem;
  display: none;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .5rem .8rem;
  color: #fff;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 7px 10px 6px 9px;
  font-size: .7rem;
  font-weight: 900;
  box-shadow: 0 8px 25px rgba(6, 69, 142, .25);
}

.mobile-toc-canvas { height: auto !important; max-height: 70vh; background: var(--paper); border-radius: 14px 14px 0 0; }

@media (max-width: 1199.98px) {
  .article-header h1 { font-size: 1.8rem; }
  .push-inline-cta { grid-template-columns: 68px minmax(0, 1fr); }
  .push-bell-illustration { width: 62px; height: 62px; }
  .push-inline-action { grid-column: 2; justify-self: start; }
  .article-cta { align-items: flex-start; flex-wrap: wrap; }
  .article-cta .flex-grow-1 { min-width: calc(100% - 80px); }
  .article-cta > .d-flex { width: 100%; padding-left: 76px; }
}

@media (max-width: 991.98px) {
  .article-page { padding-top: 1.1rem; }
  .article-breadcrumb {
    max-width: 820px;
    margin-right: auto;
    margin-bottom: 1.65rem;
    margin-left: auto;
    padding-right: .75rem;
    padding-left: .75rem;
  }
  .article-sidebar { display: none; }
  .mobile-toc-button { display: inline-flex; }
  .article-main { max-width: 820px; margin: 0 auto; }
  .article-header { padding-top: .3rem; }
  .article-site-footer { padding-bottom: 4.5rem; }
}

@media (max-width: 767.98px) {
  .article-template { font-size: 13px; }
  .article-breadcrumb,
  .article-deck,
  .article-meta { display: none; }
  .article-header { padding-top: .55rem; }
  .article-category { margin-top: 0; }
  .article-header h1 { font-size: 1.65rem; line-height: 1.12; }
  .article-header h1 br { display: none; }
  .article-meta-row { align-items: flex-start; flex-direction: column; }
  .article-actions {
    display: grid;
    grid-template-columns: minmax(138px, 1fr) auto auto;
    width: 100%;
    gap: .4rem;
  }
  .article-action {
    min-height: 32px;
    padding: .32rem .58rem;
    justify-content: center;
    background: rgba(255, 255, 255, .52);
    border-radius: 999px;
    font-size: .63rem;
    box-shadow: none;
  }
  .article-notification-action {
    min-height: 32px;
    padding: .34rem .7rem;
    border-radius: 999px;
    font-size: .65rem;
  }
  .article-featured img { height: clamp(210px, 52vw, 280px); }
  .article-number-list { grid-template-columns: 1fr; }
  .article-float-image { width: 145px; margin-right: .5rem; margin-left: 1rem; }
  .article-quote,
  .article-body blockquote { padding: 1rem 2.4rem; }
  .push-inline-cta { grid-template-columns: 55px minmax(0, 1fr); padding: .9rem; }
  .push-bell-illustration { width: 50px; height: 50px; font-size: 1.4rem; }
  .push-inline-copy h2 { font-size: 1.2rem; }
  .push-inline-action { width: 100%; }
  .push-inline-action .btn { width: 100%; }
  .article-cta > .d-flex { padding-left: 0; }
  .article-cta .btn { flex: 1; }
  .article-footer-meta { align-items: flex-start; flex-direction: column; }
  .article-video-frame { min-height: 200px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 479.98px) {
  .article-breadcrumb .breadcrumb-item:nth-last-child(-n + 2) { display: none; }
  .article-header h1 { font-size: 1.55rem; }
  .article-meta .meta-divider { display: none; }
  .article-meta { align-items: flex-start; flex-direction: column; }
  .author-avatar { display: none; }
  .article-featured img { height: 220px; }
  .article-float-image { float: none; width: 180px; margin: 0 auto .7rem; }
  .article-quote p { font-size: 1.1rem; }
  .article-body .push-inline-cta { grid-template-columns: 1fr; text-align: center; }
  .push-bell-illustration { margin: 0 auto; }
  .push-inline-action { grid-column: 1; }
  .push-benefits { justify-content: center; }
  .push-options { grid-template-columns: 1fr; }
  .push-frequency { grid-template-columns: auto 1fr; text-align: left; }
  .push-frequency-badge { grid-column: 2; justify-self: start; }
  .push-preference-modal .modal-footer { flex-direction: column-reverse; }
  .push-preference-modal .modal-footer .btn { width: 100%; max-width: none; }
  .author-box { align-items: flex-start; }
  .author-box-avatar { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.4rem; }
  .article-cta { text-align: center; }
  .cta-illustration { margin: 0 auto; }
  .article-cta .flex-grow-1 { min-width: 100%; }
  .article-cta .d-flex { flex-direction: column; }
  .article-cta .btn { width: 100%; }
  .topic-list { align-items: flex-start; }
}

@media (max-width: 359.98px) {
  .article-actions { grid-template-columns: minmax(128px, 1fr) 32px 32px; }
  .article-action { width: 32px; padding: 0; }
  .article-action span { display: none; }
}
