/*
Theme Name: FashionTrendMart
Theme URI: https://fashiontrendmart.com
Author: FashionTrendMart
Description: Department-store storefront for FashionTrendMart: full-width slideshow, quick-shop tiles, product grid with sale pricing, WhatsApp ordering, and editorial templates for the guides that feed the shop.
Version: 3.7.2
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fashiontrendmart
Tags: e-commerce, blog, custom-menu, featured-images, two-columns
*/

/* =====================================================================
   Tokens. A quiet black-and-white store; the logo's magenta is kept for
   the wordmark and a few small accents, red is reserved for sale.
   ===================================================================== */
:root{
  --ink:#191919;
  --body:#393939;
  --muted:#6B6B6B;
  --line:#E3E3E3;
  --paper:#FFFFFF;
  --field:#F2F2F2;
  --wash:#F7F7F7;
  --magenta:#D6127F;
  --sale:#C8102E;
  --ok:#25D366;
  --pad:clamp(1rem,3vw,2rem);
  --measure:66ch;
  --radius:4px;
  color-scheme:light;
}

/* Fonts live in the theme: Jost is one variable file covering 400–700. */
@font-face{font-family:Jost;src:url(assets/fonts/jost-latin.woff2) format("woff2");
  font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Bodoni Moda";src:url(assets/fonts/bodoni-moda-500-latin.woff2) format("woff2");
  font-weight:500;font-style:normal;font-display:swap}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--body);
  font-family:Jost,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.55;
  -webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
h1,h2,h3,h4{font-family:Jost,system-ui,sans-serif;color:var(--ink);margin:0;font-weight:600;line-height:1.2}
button{font:inherit}
.shell{max-width:90rem;margin:0 auto;padding:0 var(--pad)}
.col{max-width:var(--measure);margin:0 auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;background:#fff;padding:.6rem 1rem;z-index:100}

/* ---------- buttons & links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  background:var(--ink);color:#fff;font-weight:600;font-size:.88rem;letter-spacing:.01em;
  padding:.78rem 1.5rem;border-radius:var(--radius);border:1px solid var(--ink);cursor:pointer;
  transition:background .15s,color .15s;text-align:center}
.btn:hover{background:#000;color:#fff}
.btn-light{background:#fff;color:var(--ink);border-color:#fff}
.btn-light:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink)}
.btn-ghost:hover{background:var(--ink);color:#fff}
.btn-sm{font-size:.8rem;padding:.55rem 1.05rem}
.btn-wa svg{width:18px;height:18px;fill:var(--ok);flex:none}
.text-link{font-size:.88rem;color:var(--ink);text-decoration:underline;text-underline-offset:3px;
  text-decoration-thickness:1px}
.text-link:hover{text-decoration-thickness:2px}

/* ---------- top strip ---------- */
.topbar{background:var(--ink);color:#fff;text-align:center;padding:.55rem 1rem;font-size:.82rem;font-weight:500}
.topbar a{color:#fff;text-decoration:underline;text-underline-offset:2px;font-variant-numeric:tabular-nums}
.topbar .sep{margin:0 .6rem;opacity:.5}

/* ---------- masthead ---------- */
.mast{background:var(--paper);border-bottom:1px solid var(--line)}
.mast-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(1rem,3vw,2.5rem);
  padding-top:1rem;padding-bottom:1rem}
/* Logo (option 1 "classic serif", the user's final pick): the site name in
   widely spaced Bodoni capitals over a small "Luxury Bags" line. Live text,
   not an image, so it stays sharp at any size. */
.brand{display:flex;flex-direction:column;align-items:center;gap:.5rem}
.wordmark{font-family:"Bodoni Moda",Didot,"Bodoni 72",Georgia,serif;font-weight:500;
  font-size:clamp(1rem,1.9vw,1.42rem);letter-spacing:.14em;text-transform:uppercase;
  line-height:1;color:var(--ink);white-space:nowrap}
.wm-tag{font-size:.56rem;font-weight:500;letter-spacing:.5em;padding-left:.5em;
  text-transform:uppercase;line-height:1;color:var(--ink);white-space:nowrap}
.icon{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.6;flex:none}

.search{display:flex;align-items:center;width:100%;max-width:46rem;justify-self:center;
  background:var(--field);border-radius:var(--radius);border:1px solid transparent;height:46px;padding:0 .4rem}
.search:focus-within{border-color:var(--ink);background:#fff}
.search button{background:none;border:0;padding:.4rem .5rem;cursor:pointer;display:flex}
.search .icon{width:19px;height:19px;stroke:var(--muted)}
.search input{flex:1;min-width:0;border:0;background:transparent;font:inherit;font-size:.92rem;color:var(--ink);
  padding:.5rem .3rem;outline:none}
.search input::placeholder{color:var(--muted)}
.search input::-webkit-search-cancel-button{cursor:pointer}

.mast-actions{display:flex;align-items:center;gap:1.4rem}
.act{display:flex;align-items:center;gap:.45rem;font-size:.86rem;font-weight:500;color:var(--ink)}
.act:hover span{text-decoration:underline;text-underline-offset:3px}
.act svg:not(.icon){width:21px;height:21px;fill:var(--ink);flex:none}

nav.main{border-top:1px solid var(--line)}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:0 clamp(1.1rem,2.6vw,2.4rem)}
nav.main li{list-style:none;flex:none}
nav.main a{display:block;padding:.95rem 0 .85rem;font-size:.92rem;font-weight:500;color:var(--ink);
  border-bottom:2px solid transparent;white-space:nowrap}
nav.main a:hover,nav.main .current-menu-item>a{border-bottom-color:var(--ink)}
nav.main .menu-sale a{color:var(--sale)}
nav.main .menu-sale a:hover{border-bottom-color:var(--sale)}

@media(max-width:52rem){
  .mast-row{grid-template-columns:1fr auto;row-gap:.8rem}
  .search{grid-column:1/-1;grid-row:2;max-width:none}
  .act span{display:none}
  nav.main ul{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  nav.main ul::-webkit-scrollbar{display:none}
}

/* ---------- slideshow ---------- */
.hero{position:relative;background:#111;overflow:hidden;padding:0}
.slides{display:grid}
.slide{grid-area:1/1;position:relative;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s}
.slide.is-active{opacity:1;visibility:visible}
.slide img{width:100%;height:clamp(25rem,calc(100vh - 13rem),42rem);object-fit:cover}
@supports(height:100svh){.slide img{height:clamp(25rem,calc(100svh - 13rem),42rem)}}
.slide-copy{position:absolute;left:0;right:0;bottom:0;padding:5rem 0 3.4rem;color:#fff;
  background:linear-gradient(to top,rgba(0,0,0,.6) 0%,rgba(0,0,0,.28) 50%,transparent 100%)}
.slide-copy .shell{display:flex;flex-direction:column;align-items:flex-start;text-align:left}
@media(min-width:40.01rem){.slide-copy .shell{padding-left:max(var(--pad),4.4rem);padding-right:max(var(--pad),4.4rem)}}
/* The first photograph has the model left of centre, so its copy sits right. */
.slide-copy.side-right .shell{align-items:flex-end;text-align:right}
.slide .kick{margin:0 0 .5rem;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  text-shadow:0 1px 6px rgba(0,0,0,.5)}
.slide h1,.slide h2{color:#fff;font-size:clamp(1.7rem,4vw,2.9rem);font-weight:600;line-height:1.08;
  max-width:18ch;text-wrap:balance;text-shadow:0 2px 14px rgba(0,0,0,.4)}
.slide .sub{margin:.65rem 0 1.3rem;max-width:36ch;font-size:clamp(.9rem,1.5vw,1.05rem);color:#F2F2F2;
  text-shadow:0 1px 8px rgba(0,0,0,.5)}

.hero-ctrl{display:none}
.js .hero-ctrl{display:flex}
.hero-prev,.hero-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;
  border-radius:50%;border:1px solid var(--ink);background:#fff;align-items:center;justify-content:center;cursor:pointer;
  transition:box-shadow .15s}
.hero-prev:hover,.hero-next:hover{box-shadow:0 2px 10px rgba(0,0,0,.25)}
.hero-prev{left:1.1rem}
.hero-next{right:1.1rem}
.hero-ctrl svg{width:18px;height:18px;stroke:var(--ink);fill:none;stroke-width:2}
.hero-status{position:absolute;left:50%;transform:translateX(-50%);bottom:1rem;z-index:3;align-items:center;gap:.5rem;
  background:#fff;border-radius:999px;padding:.25rem .3rem .25rem .8rem;font-size:.78rem;font-weight:600;
  color:var(--ink);font-variant-numeric:tabular-nums}
.hero-toggle{width:28px;height:28px;border-radius:50%;border:1px solid var(--ink);background:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;padding:0}
.hero-toggle svg{width:13px;height:13px}
.hero-toggle .i-play{display:none;fill:var(--ink);stroke:none}
.hero-toggle.is-paused .i-play{display:block}
.hero-toggle.is-paused .i-pause{display:none}

@media(max-width:40rem){
  .slide img{height:clamp(26rem,78vh,36rem)}
  .slide-copy{padding-bottom:4rem}
  .slide-copy.side-right .shell{align-items:flex-start;text-align:left}
  .hero-prev,.hero-next{top:auto;bottom:1rem;transform:none;width:36px;height:36px}
  .hero-prev{left:calc(50% - 7rem)}
  .hero-next{right:calc(50% - 7rem)}
  .hero-status{bottom:1.1rem}
}

/* ---------- section frame ---------- */
section{padding:clamp(1.6rem,3.4vw,2.6rem) 0}
.block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.3rem}
.block-head h2{font-size:clamp(1.3rem,2.6vw,1.75rem);font-weight:600}

/* kept for the editorial templates */
.sec-head{text-align:center;margin-bottom:1.8rem}
.sec-head h2{font-size:clamp(1.25rem,2.6vw,1.75rem)}
.sec-head p{color:var(--muted);font-size:.9rem;margin:.4rem 0 0}
.sec-head .rule{display:none}
.sec-rule{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;
  border-bottom:1px solid var(--ink);padding-bottom:.6rem;margin-bottom:1rem}
.sec-rule h2{font-size:clamp(1.2rem,2.4vw,1.6rem)}
.sec-rule .count,.count{font-size:.85rem;color:var(--muted)}

/* ---------- quick-shop tiles ---------- */
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem}
.tiles li{list-style:none}
.tile{display:block}
.tile img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;background:var(--wash);transition:opacity .2s}
.tile:hover img{opacity:.88}
.tile span{display:block;margin-top:.6rem;font-size:.95rem;font-weight:500;color:var(--ink)}
.tile:hover span{text-decoration:underline;text-underline-offset:3px}
.tile-sale span{color:var(--sale)}
@media(max-width:60rem){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ---------- featured story ---------- */
.feature{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.feature-img img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.feature-copy{max-width:30rem}
.eyebrow{margin:0 0 .5rem;font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.feature-copy h2{font-size:clamp(1.5rem,3vw,2.2rem);margin-bottom:.8rem}
.feature-copy p{margin:0 0 1.4rem;font-size:1rem}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem 1.4rem}
@media(max-width:46rem){.feature{grid-template-columns:1fr}}

/* ---------- product grid ---------- */
/* Six across on a laptop keeps each photo around 200px wide, as on a department-store grid. */
.products{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1.8rem 1rem;list-style:none;margin:0;padding:0}
@media(max-width:75rem){.products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:62rem){.products{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:48rem){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:34rem){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem .8rem}}
.card{position:relative;display:flex;flex-direction:column;list-style:none;min-width:0}
.card .shot{position:relative;display:block;background:var(--wash);overflow:hidden}
.card .shot img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;transition:opacity .2s}
.card:hover .shot img{opacity:.9}
.card .shot .ph{aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;
  color:var(--muted);font-size:.78rem}
.badge{position:absolute;top:.6rem;left:.6rem;z-index:1;background:#fff;color:var(--sale);
  font-size:.72rem;font-weight:600;padding:.25em .55em;border-radius:2px}
.badge.new{color:var(--ink)}
.card h3{margin:.65rem 0 .25rem;font-size:.86rem;font-weight:500;color:var(--ink);line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.price{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap;font-variant-numeric:tabular-nums}
.price .now,.price ins{font-weight:600;color:var(--ink);font-size:.9rem;text-decoration:none}
.price.on-sale .now{color:var(--sale)}
.price .was,.price del{color:var(--muted);text-decoration:line-through;font-size:.84rem}
.instal{font-size:.78rem;color:var(--muted);margin-top:.2rem}
.card .order{display:inline-flex;align-items:center;gap:.35rem;margin-top:.45rem;font-size:.78rem;font-weight:500;
  color:var(--ink);text-decoration:underline;text-underline-offset:3px;align-self:flex-start}
.card .order svg{width:15px;height:15px;fill:#1FAF54;flex:none}

.card .cond{margin:0 0 .3rem;font-size:.74rem;font-weight:500;color:#8A6629;letter-spacing:.02em}
.cond-line{margin:.7rem 0 0;font-size:.9rem;color:var(--body)}
.cond-line a{text-decoration:underline;text-underline-offset:3px}

/* ---------- story rail ---------- */
.rail-nav{display:flex;gap:.5rem}
.rail-nav button{width:40px;height:40px;border:1px solid var(--ink);background:#fff;border-radius:var(--radius);
  display:none;align-items:center;justify-content:center;cursor:pointer;padding:0}
.js .rail-nav button{display:flex}
.rail-nav button:disabled{border-color:var(--line);cursor:default}
.rail-nav button:disabled svg{stroke:#BDBDBD}
.rail-nav svg{width:18px;height:18px;stroke:var(--ink);fill:none;stroke-width:2}
.no-overflow .rail-nav{visibility:hidden}
.rail{list-style:none;margin:0;padding:0 0 .4rem;display:grid;grid-auto-flow:column;
  grid-auto-columns:calc((100% - 3 * 1.4rem) / 4);gap:1.4rem;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-webkit-overflow-scrolling:touch}
.rail::-webkit-scrollbar{display:none}
@media(max-width:62rem){.rail{grid-auto-columns:calc((100% - 2 * 1.4rem) / 2.6)}}
@media(max-width:40rem){.rail{grid-auto-columns:78%;gap:1rem}}
.story-card{scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;list-style:none}
.story-img{display:block;width:100%;background:var(--wash)}
.story-img img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover}
.story-card h3{font-size:1.08rem;font-weight:600;margin:.95rem 0 .3rem}
.story-card p{margin:0 0 .9rem;font-size:.9rem;color:var(--body)}
.story-card .btn{margin-top:auto}

/* ---------- guide cards ---------- */
.posts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem}
@media(max-width:52rem){.posts{grid-template-columns:1fr}}
.post-card{list-style:none;display:flex;flex-direction:column;align-items:flex-start}
.post-img{display:block;width:100%;background:var(--wash);margin-bottom:.9rem}
.post-img img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.post-card .tag{font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.post-card h3{font-size:1.1rem;font-weight:600;margin:.3rem 0 .4rem;line-height:1.3}
.post-card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.post-card p{margin:0 0 .7rem;font-size:.9rem}

/* ---------- Pinterest section ---------- */
.pins{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem}
@media(max-width:62rem){.pins{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:40rem){.pins{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}}
.pins li{list-style:none}
.pins a{display:block;border-radius:10px;overflow:hidden;background:var(--wash)}
.pins img{width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;transition:transform .25s}
.pins a:hover img{transform:scale(1.03)}
.pin-cta{text-align:center;margin:1.6rem 0 0}
.btn-pin{background:#E60023;border-color:#E60023}
.btn-pin:hover{background:#AD081B;border-color:#AD081B}
.btn-pin svg{width:18px;height:18px;fill:#fff;flex:none}
.pin-foot{display:inline-flex;align-items:center;gap:.45rem}
.pin-foot svg{width:16px;height:16px;fill:#E60023;flex:none}

/* ---------- shop listing ---------- */
.listing{padding-top:1.4rem}
.listing-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.listing-head h1{font-size:clamp(1.6rem,3.4vw,2.3rem)}
.listing-intro{max-width:60ch;margin:.5rem 0 0;color:var(--body)}
.chips{list-style:none;margin:1.2rem 0 1.8rem;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.chips li{list-style:none}
.chips a{display:block;padding:.45rem 1rem;border:1px solid var(--line);border-radius:999px;font-size:.86rem;
  color:var(--ink);background:#fff}
.chips a:hover{border-color:var(--ink)}
.chips a.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.chips a.chip-sale{color:var(--sale)}
.chips a.chip-sale.is-on{background:var(--sale);border-color:var(--sale);color:#fff}

/* ---------- product page (single-ftm_product uses .story) ---------- */
.story{display:grid;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:clamp(1.5rem,4vw,3rem);align-items:center}
.story h2{font-size:clamp(1.2rem,2.6vw,1.9rem);margin-bottom:.7rem}
.story p{margin:0 0 .8rem}
.single-ftm_product .btn-wa{min-width:16rem}

/* ---------- editorial: hub + article ---------- */
.hub-hero{position:relative;background:var(--ink);margin-top:1.2rem}
.hub-hero img{width:100%;height:auto;aspect-ratio:1672/560;object-fit:cover;opacity:.92}
.hub-scrim{position:absolute;inset:auto 0 0 0;padding:clamp(1.4rem,4vw,2.4rem) var(--pad);
  background:linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.25) 60%,transparent)}
.hub-scrim h1{color:#fff;font-size:clamp(1.6rem,4.4vw,2.8rem)}
.hub-intro{max-width:58ch;margin:1.8rem auto 0;font-size:1rem;color:var(--body);text-align:center}
.hub-intro p{margin:0}

.crumbs{font-size:.8rem;color:var(--muted);margin:0 0 1rem}
.crumbs a{color:var(--muted)}
.crumbs a:hover{color:var(--ink);text-decoration:underline}
.crumbs span{margin:0 .45rem;color:#BDBDBD}
.hub-scrim .crumbs,.hub-scrim .crumbs a{color:#E0E0E0}

article{padding:clamp(1.4rem,4vw,2.4rem) 0 0}
article h1{font-size:clamp(1.6rem,4.2vw,2.6rem);line-height:1.12;margin:0 0 .9rem;text-wrap:balance}
.standfirst{font-size:clamp(1rem,2vw,1.2rem);line-height:1.5;color:var(--muted);margin:0 0 1.5rem}
.byline{display:flex;flex-wrap:wrap;gap:.4rem 1rem;border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);padding:.8rem 0;font-size:.8rem;color:var(--muted);margin-bottom:1.8rem}
.byline b{color:var(--ink);font-weight:600}
.byline .dot{color:var(--line)}

figure{margin:2rem 0}
figure.wide{max-width:none}
figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
figcaption{font-size:.82rem;color:var(--muted);margin-top:.6rem;max-width:52ch}

.body{font-size:16.5px;line-height:1.68}
.body p{margin:0 0 1.25rem}
.body h2{font-size:clamp(1.25rem,2.8vw,1.7rem);margin:2.3rem 0 .8rem}
.body h3{font-size:1.05rem;margin:1.7rem 0 .5rem}
.body ul,.body ol{padding-left:1.15rem;margin:0 0 1.25rem}
.body li{margin-bottom:.5rem}
.body a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.body a:hover{color:var(--magenta)}
.body img{height:auto}
.body code{font-family:ui-monospace,monospace;font-size:.88em;background:var(--wash);padding:.1em .35em;border-radius:2px}
.pending{color:var(--muted);font-style:italic}

.callout{background:var(--wash);border:1px solid var(--line);padding:1.1rem 1.3rem;margin:1.6rem 0;max-width:46rem}
.callout p{margin:0;font-size:.92rem}
.callout .lbl{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);
  font-weight:600;display:block;margin-bottom:.35rem}

.scroller{overflow-x:auto;margin:1.8rem 0;border:1px solid var(--line)}
table{border-collapse:collapse;width:100%;font-size:.9rem;min-width:30rem}
th,td{text-align:left;padding:.65rem .85rem;border-bottom:1px solid var(--line);vertical-align:top}
thead th{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);background:var(--wash)}
tbody tr:last-child td{border-bottom:none}
td.n{font-variant-numeric:tabular-nums;white-space:nowrap}

.author{display:flex;gap:1rem;background:var(--wash);border:1px solid var(--line);padding:1.3rem;margin:2.6rem 0 0}
.avatar{width:50px;height:50px;border-radius:50%;flex:none;background:var(--ink);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:600}
.author h4{margin:0 0 .2rem;font-size:.98rem}
.author p{margin:0;font-size:.88rem;line-height:1.55}

.related{border-top:1px solid var(--ink);margin-top:3rem;padding-top:1rem}
.related h2{font-size:1.3rem;margin:0 0 1.1rem}
.rel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1.4rem}
.rel{display:flex;flex-direction:column;gap:.3rem}
.rel .tag{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
.rel h3{font-size:1.02rem;line-height:1.3;margin:0}
.rel .slug{font-size:.8rem;color:var(--muted)}
.rel:hover h3{text-decoration:underline;text-underline-offset:3px}

.art-list{list-style:none;margin:0;padding:0}
.art{border-bottom:1px solid var(--line);padding:1.1rem 0;display:grid;
  grid-template-columns:1fr auto;gap:.2rem 1.4rem;align-items:start}
.art:last-child{border-bottom:none}
.art-meta{grid-column:1;display:flex;gap:.6rem;align-items:center}
.art .tag{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);font-weight:600}
.art h3{grid-column:1;font-size:1.15rem;margin:0;line-height:1.3}
.art h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.art .slug{grid-column:1;font-size:.86rem;color:var(--muted)}
.art .state{grid-column:2;grid-row:1/3;font-size:.75rem;color:var(--muted);white-space:nowrap}
.pillar-flag{font-size:.7rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--magenta)}
@media(max-width:34rem){.art{grid-template-columns:1fr}.art .state{grid-column:1;grid-row:auto}}

.pagination{margin-top:2.2rem;text-align:center}
.pagination .page-numbers{display:inline-block;min-width:2.4rem;padding:.5rem .8rem;margin:0 .15rem;
  border:1px solid var(--line);border-radius:var(--radius);font-size:.85rem;font-weight:500}
.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ---------- footer ---------- */
.foot{background:var(--paper);border-top:1px solid var(--line);margin-top:clamp(1.5rem,4vw,3rem);color:var(--body)}
.foot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem;padding:2.6rem 0 2rem}
@media(max-width:52rem){.foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.foot h4{font-size:.95rem;font-weight:600;margin:0 0 .9rem}
.foot ul,.foot .menu{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem}
.foot li{list-style:none}
.foot a{font-size:.88rem;color:var(--body)}
.foot a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.foot-bottom{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1.4rem;border-top:1px solid var(--line);
  padding:1.2rem 0 2.6rem;font-size:.8rem;color:var(--muted)}
.foot-bottom a{font-size:.8rem}
.brand-sm .wordmark{font-size:.95rem}

/* ---------- whatsapp ---------- */
.wa-float{position:fixed;right:1.1rem;bottom:1.1rem;z-index:60;width:52px;height:52px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:var(--ok);
  box-shadow:0 3px 14px rgba(0,0,0,.22);transition:transform .18s}
.wa-float:hover{transform:translateY(-2px)}
.wa-float svg{width:26px;height:26px;fill:#fff}
.wa-foot{display:inline-flex;align-items:center;gap:.45rem}
.wa-foot svg{width:16px;height:16px;fill:#1FAF54;flex:none}
.wa-num{font-variant-numeric:tabular-nums}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
