/* ==========================================================================
   AssedioNet · Perícias — Blog
   Subsite (child) do site de Perícias Médicas.
   Identidade compartilhada · Tipografia Congenial · Paleta MAV
   Usado tanto pelo preview HTML quanto pelo tema WordPress (assets/blog.css).
   ========================================================================== */
/* tokens/fontes vêm de brand.css (enfileirado antes) */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-sans);
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--an-orange-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; color: var(--an-purple-900); text-wrap: balance; letter-spacing: -0.015em; }

/* category accent system ---------------------------------------------------*/
:root {
  --cat-psico: #5F205F;     --cat-psico-2: #82377F;
  --cat-assedio: #DB6412;   --cat-assedio-2: #CC5515;
  --cat-inss: #7D65A9;      --cat-inss-2: #9E4B97;
}
.is-psico   { --cat: var(--cat-psico);   --cat-2: var(--cat-psico-2); }
.is-assedio { --cat: var(--cat-assedio); --cat-2: var(--cat-assedio-2); }
.is-inss    { --cat: var(--cat-inss);    --cat-2: var(--cat-inss-2); }

/* BUTTONS ------------------------------------------------------------------*/
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font-family: var(--font-sans); font-weight: 700; padding: 14px 26px; border-radius: 999px; font-size: 14px; transition: transform .15s cubic-bezier(.2,.8,.2,1), background .2s, box-shadow .2s; letter-spacing: 0.01em; }
.btn:active { transform: scale(.98); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 30px -10px rgba(37,211,102,.6); }
.btn-wa:hover { background: #1FB657; transform: translateY(-2px); }
.btn-brand { background: var(--an-purple-900); color: #fff; }
.btn-brand:hover { background: #4A1A4A; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--an-purple-900); border: 1.5px solid var(--an-purple-900); }
.btn-ghost:hover { background: var(--an-purple-900); color: #fff; }
.btn-yellow { background: var(--an-yellow-500); color: var(--an-purple-900); }
.btn-yellow:hover { background: var(--an-yellow-600); }
.btn-lg { padding: 17px 32px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* NAV ----------------------------------------------------------------------*/
.nav { position: sticky; top: 0; z-index: 60; background: rgba(251,248,242,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(95,32,95,.08); }
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo .tag { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--an-purple-900); letter-spacing: -0.01em; border-left: 1.5px solid rgba(95,32,95,.2); padding-left: 11px; line-height: 1.05; }
.nav-logo .tag span { display: block; font-weight: 400; font-size: 10.5px; color: var(--fg-3); letter-spacing: 0.04em; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--fg-2); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--an-purple-900); }
.nav-links a.active { font-weight: 700; }
.nav-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 880px) { .nav-links { display: none; } .nav-logo .tag span { display: none; } }

/* BLOG HERO / HEADER -------------------------------------------------------*/
.blog-hero { padding: 64px 0 36px; position: relative; overflow: hidden; }
.blog-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% -20%, rgba(252,196,30,.16), transparent 42%), radial-gradient(circle at -8% 60%, rgba(125,101,169,.16), transparent 46%); }
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero h1 { font-size: clamp(46px, 7vw, 90px); line-height: .98; font-weight: 700; margin: 14px 0 12px; }
.blog-hero h1 em { font-style: normal; font-weight: 300; color: var(--an-purple-600); }
.blog-hero .lead { font-size: 19px; font-weight: 300; color: var(--fg-2); max-width: 600px; line-height: 1.55; margin: 0; }

/* category filter pills */
.cat-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.cat-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #fff; color: var(--fg-2); border: 1px solid rgba(95,32,95,.12); transition: all .18s; cursor: pointer; }
.cat-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.cat-pill .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--an-mist); }
.cat-pill.active { background: var(--an-purple-900); color: #fff; border-color: var(--an-purple-900); }
.cat-pill.active .dot { background: var(--an-yellow-500); }
.cat-pill.is-psico .dot { background: var(--cat-psico); }
.cat-pill.is-assedio .dot { background: var(--cat-assedio); }
.cat-pill.is-inss .dot { background: var(--cat-inss); }

/* FEATURED POST ------------------------------------------------------------*/
.featured { padding: 24px 0 8px; }
.featured-card { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid rgba(95,32,95,.08); box-shadow: 0 30px 60px -28px rgba(95,32,95,.28); }
.featured-cover { position: relative; min-height: 360px; display: flex; align-items: flex-end; padding: 28px; background: linear-gradient(150deg, var(--cat, #5F205F), var(--cat-2, #82377F)); overflow: hidden; }
.featured-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 18% 84%, rgba(255,255,255,.16), transparent 50%), radial-gradient(circle at 84% 16%, rgba(252,196,30,.26), transparent 52%); }
.featured-cover .glyph { position: absolute; top: 26px; left: 28px; font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.92); font-size: 30px; line-height: 1; white-space: pre-line; z-index: 1; }
.featured-cover .pin { position: relative; z-index: 1; background: var(--an-yellow-500); color: var(--an-purple-900); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; padding: 7px 14px; border-radius: 999px; }
.featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .meta { display: flex; gap: 10px; align-items: center; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--fg-3); margin-bottom: 14px; }
.featured-body .meta .cat { color: var(--cat, var(--an-orange-700)); }
.featured-body h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; margin: 0 0 14px; font-weight: 700; }
.featured-body p { font-size: 16px; color: var(--fg-2); line-height: 1.6; margin: 0 0 22px; font-weight: 400; }
.featured-body .by { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--an-purple-900); color: var(--an-yellow-500); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.by .who { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--an-purple-900); }
.by .role { font-size: 12px; color: var(--fg-3); }

/* POST GRID ----------------------------------------------------------------*/
.posts-sect { padding: 48px 0 80px; }
.posts-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.posts-head h3 { font-size: 26px; font-weight: 700; }
.posts-head .count { font-size: 13px; color: var(--fg-3); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid rgba(95,32,95,.08); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -20px rgba(95,32,95,.25); }
.post-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 18px; background: linear-gradient(135deg, var(--cat, #5F205F), var(--cat-2, #82377F)); }
.post-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 82%, rgba(255,255,255,.16), transparent 52%), radial-gradient(circle at 82% 18%, rgba(252,196,30,.22), transparent 52%); }
.post-cover .glyph { position: absolute; top: 16px; left: 18px; z-index: 1; font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.92); font-size: 19px; line-height: 1.02; white-space: pre-line; }
.post-cover .cat-tag { position: relative; z-index: 1; background: rgba(255,255,255,.92); color: var(--cat, var(--an-purple-900)); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 11px; border-radius: 999px; }
.post-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.post-body .meta { display: flex; gap: 8px; align-items: center; margin-bottom: 11px; font-size: 11px; color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.post-body h3 { font-size: 19px; font-weight: 700; line-height: 1.2; margin: 0 0 9px; }
.post-body h3 a:hover { color: var(--cat, var(--an-purple-600)); }
.post-body p { font-size: 14px; color: var(--fg-2); line-height: 1.55; margin: 0 0 16px; flex: 1; font-weight: 400; }
.post-body .read-more { font-size: 13px; color: var(--cat, var(--an-orange-700)); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.post-body .read-more::after { content: "→"; transition: transform .2s; }
.post-card:hover .read-more::after { transform: translateX(4px); }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; font-size: 14px; background: #fff; color: var(--fg-2); border: 1px solid rgba(95,32,95,.12); transition: all .15s; padding: 0 12px; }
.pagination a:hover { border-color: var(--an-purple-900); color: var(--an-purple-900); }
.pagination .current { background: var(--an-purple-900); color: #fff; border-color: var(--an-purple-900); }

/* CATEGORY SHOWCASE --------------------------------------------------------*/
.cat-showcase { background: var(--an-purple-900); color: #fff; padding: 84px 0; }
.cat-showcase .sect-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cat-showcase .sect-head .eyebrow { color: var(--an-yellow-500); }
.cat-showcase h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 12px 0; font-weight: 700; }
.cat-showcase h2 em { font-style: normal; font-weight: 300; color: var(--an-yellow-500); }
.cat-showcase .sub { color: rgba(255,255,255,.78); font-size: 17px; font-weight: 300; line-height: 1.55; }
.cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { background: rgba(255,255,255,.04); border: 1px solid rgba(252,196,30,.18); border-radius: 22px; padding: 32px 30px; transition: transform .25s, background .25s; }
.cat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.cat-card .ico { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: var(--cat, var(--an-yellow-500)); color: #fff; }
.cat-card.is-inss .ico { color: #fff; }
.cat-card .ico svg { width: 27px; height: 27px; stroke-width: 1.8; }
.cat-card h3 { color: #fff; font-size: 22px; font-weight: 700; line-height: 1.12; margin: 0 0 10px; }
.cat-card p { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; font-weight: 350; }
.cat-card .go { font-size: 13px; font-weight: 700; color: var(--an-yellow-500); display: inline-flex; align-items: center; gap: 7px; }
.cat-card .go::after { content: "→"; transition: transform .2s; }
.cat-card:hover .go::after { transform: translateX(4px); }

/* NEWSLETTER / CTA ---------------------------------------------------------*/
.subscribe { padding: 84px 0; background: var(--bg-soft); }
.subscribe-card { background: #fff; border-radius: 28px; padding: 48px; border: 1px solid rgba(95,32,95,.08); box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.subscribe-card h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.06; margin: 10px 0 12px; font-weight: 700; }
.subscribe-card h2 em { font-style: normal; font-weight: 300; }
.subscribe-card p { font-size: 16px; color: var(--fg-2); line-height: 1.6; margin: 0; font-weight: 350; }
.subscribe-form { display: flex; flex-direction: column; gap: 12px; }
.subscribe-form .row { display: flex; gap: 10px; }
.subscribe-form input { flex: 1; padding: 15px 18px; border-radius: 14px; border: 1.5px solid rgba(95,32,95,.16); font-family: var(--font-sans); font-size: 15px; color: var(--fg-1); background: var(--bg-page); outline: none; transition: border-color .15s; }
.subscribe-form input:focus { border-color: var(--an-purple-900); }
.subscribe-form .note { font-size: 12px; color: var(--fg-3); }

/* ============================ SINGLE ARTICLE ============================== */
.article-hero { padding: 40px 0 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--fg-3); margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--an-purple-900); }
.breadcrumb .sep { opacity: .5; }
.article-head { max-width: 800px; margin: 0 auto; text-align: center; }
.cat-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; background: color-mix(in srgb, var(--cat, #5F205F) 12%, transparent); color: var(--cat, var(--an-purple-900)); }
.cat-badge .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--cat, var(--an-purple-900)); }
.article-head h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 700; margin: 18px 0 18px; }
.article-head .standfirst { font-size: 20px; font-weight: 300; color: var(--fg-2); line-height: 1.5; max-width: 680px; margin: 0 auto 26px; }
.article-byline { display: inline-flex; align-items: center; gap: 14px; }
.article-byline .who { text-align: left; }
.article-byline .who .n { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--an-purple-900); }
.article-byline .who .d { font-size: 12.5px; color: var(--fg-3); }
.article-cover { max-width: 1080px; margin: 40px auto 0; aspect-ratio: 21/9; border-radius: 28px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 32px; background: linear-gradient(150deg, var(--cat, #5F205F), var(--cat-2, #82377F)); box-shadow: 0 30px 60px -28px rgba(95,32,95,.4); }
.article-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 16% 84%, rgba(255,255,255,.14), transparent 50%), radial-gradient(circle at 86% 18%, rgba(252,196,30,.22), transparent 52%); }
.article-cover .glyph { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.92); font-size: clamp(30px, 5vw, 56px); line-height: 1; white-space: pre-line; }

/* article body typography */
.article-body { padding: 52px 0 40px; }
.article-body .prose { max-width: 720px; margin: 0 auto; }
.prose > p { font-size: 18px; line-height: 1.75; color: var(--fg-1); margin: 0 0 24px; font-weight: 400; text-wrap: pretty; }
.prose > p:first-of-type::first-letter { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: .8; float: left; padding: 6px 12px 0 0; color: var(--cat, var(--an-purple-900)); }
.prose h2 { font-size: 30px; font-weight: 700; line-height: 1.12; margin: 44px 0 16px; }
.prose h3 { font-size: 23px; font-weight: 700; line-height: 1.15; margin: 36px 0 12px; color: var(--an-purple-600); }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 4px; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.65; color: var(--fg-1); margin-bottom: 12px; font-weight: 400; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--cat, var(--an-orange-500)); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 999px; background: var(--cat, var(--an-purple-900)); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); }
.prose strong { font-weight: 700; color: var(--an-purple-900); }
.prose a { color: var(--cat, var(--an-orange-700)); font-weight: 500; border-bottom: 1.5px solid color-mix(in srgb, var(--cat, var(--an-orange-700)) 35%, transparent); }
.prose a:hover { border-bottom-color: var(--cat, var(--an-orange-700)); }
.prose blockquote { margin: 36px 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--cat, var(--an-orange-500)); }
.prose blockquote p { font-family: var(--font-display); font-weight: 300; font-style: italic; font-size: 26px; line-height: 1.35; color: var(--an-purple-900); margin: 0; }
.prose blockquote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-sans); font-weight: 700; font-size: 14px; color: var(--fg-3); }
.prose figure { margin: 36px 0; }
.prose img { border-radius: 18px; width: 100%; }
.prose figcaption { font-size: 13px; color: var(--fg-3); text-align: center; margin-top: 10px; }

/* callout box */
.callout { background: var(--bg-soft); border: 1px solid rgba(95,32,95,.1); border-radius: 20px; padding: 28px 30px; margin: 36px 0; display: flex; gap: 18px; }
.callout .ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--cat, var(--an-purple-900)); color: #fff; display: flex; align-items: center; justify-content: center; }
.callout .ico svg { width: 24px; height: 24px; stroke-width: 1.9; }
.callout h4 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--an-purple-900); }
.callout p { font-size: 15px; color: var(--fg-2); line-height: 1.6; margin: 0; font-weight: 400; }

/* tags + share */
.article-foot { max-width: 720px; margin: 0 auto; padding-top: 8px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; padding: 28px 0; border-top: 1px solid rgba(95,32,95,.1); }
.tag { font-size: 12.5px; font-weight: 600; color: var(--fg-2); background: var(--bg-soft); border: 1px solid rgba(95,32,95,.1); padding: 7px 14px; border-radius: 999px; }
.tag:hover { border-color: var(--an-purple-900); color: var(--an-purple-900); }
.share-row { display: flex; align-items: center; gap: 12px; padding: 8px 0 28px; }
.share-row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--fg-3); }
.share-btn { width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(95,32,95,.12); color: var(--an-purple-900); transition: all .15s; }
.share-btn:hover { background: var(--an-purple-900); color: #fff; }
.share-btn svg { width: 18px; height: 18px; }

/* author bio */
.author-bio { max-width: 720px; margin: 16px auto 0; display: flex; gap: 22px; background: var(--bg-soft); border: 1px solid rgba(95,32,95,.1); border-radius: 24px; padding: 30px 32px; align-items: flex-start; }
.author-bio .avatar { width: 64px; height: 64px; font-size: 22px; }
.author-bio h4 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.author-bio .role { font-size: 13px; color: var(--an-orange-700); font-weight: 700; margin-bottom: 10px; }
.author-bio p { font-size: 14.5px; color: var(--fg-2); line-height: 1.6; margin: 0; font-weight: 400; }

/* related posts */
.related { padding: 72px 0 84px; background: var(--bg-soft); }
.related h3 { text-align: center; font-size: 30px; font-weight: 700; margin-bottom: 36px; }

/* in-article CTA */
.inline-cta { max-width: 720px; margin: 44px auto; background: linear-gradient(135deg, var(--an-purple-900), var(--an-purple-600)); border-radius: 24px; padding: 36px 40px; color: #fff; text-align: center; }
.inline-cta h4 { color: #fff; font-size: 24px; font-weight: 700; margin: 0 0 8px; }
.inline-cta p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.55; margin: 0 0 22px; font-weight: 350; }

/* FOOTER -------------------------------------------------------------------*/
.footer { padding: 56px 0 28px; background: #2B1A2E; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--an-yellow-500); font-weight: 700; margin: 0 0 14px; }
.footer a { display: block; font-size: 13px; color: rgba(255,255,255,.78); margin-bottom: 7px; transition: color .15s; }
.footer a:hover { color: var(--an-yellow-500); }
.footer .brand-col img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer .brand-col p { font-size: 13px; line-height: 1.55; max-width: 280px; font-weight: 300; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 8px; }

/* FAB ----------------------------------------------------------------------*/
.fab-wa { position: fixed; bottom: 22px; right: 22px; z-index: 80; width: 60px; height: 60px; border-radius: 999px; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 36px -10px rgba(37,211,102,.6); transition: transform .2s; animation: pulse 2.4s infinite; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 14px 36px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 14px 36px -10px rgba(37,211,102,.6), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 14px 36px -10px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,0); }
}

/* section header helper */
.sect-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sect-head h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; font-weight: 700; margin: 12px 0; }
.sect-head h2 em { font-style: normal; font-weight: 300; }
.sect-head p { font-size: 17px; font-weight: 300; color: var(--fg-2); line-height: 1.55; margin: 0 auto; }

/* RESPONSIVE ---------------------------------------------------------------*/
@media (max-width: 980px) {
  .featured-card, .subscribe-card { grid-template-columns: 1fr; }
  .featured-cover { min-height: 240px; }
  .post-grid, .cat-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .post-grid, .cat-cards, .footer-grid { grid-template-columns: 1fr; }
  .cat-showcase, .subscribe, .related { padding: 56px 0; }
  .subscribe-card { padding: 32px 26px; }
  .prose > p:first-of-type::first-letter { font-size: 52px; }
  .subscribe-form .row { flex-direction: column; }
}
