/* PortalTerreno Blog V2 — 02.11.2026 | Scoped independently of Astra. */
:root { --ptb-navy:#0d1b34; --ptb-navy-2:#172c4c; --ptb-red:#ff351b; --ptb-blue:#176eff; --ptb-bg:#f4f5f7; --ptb-text:#17233b; --ptb-muted:#7b8492; --ptb-border:#e5e8ed; }
body.ptb-v2-active { background:var(--ptb-bg)!important; color:var(--ptb-text); margin:0; }
body.ptb-v2-active .ptb-v2 { font:400 15px/1.55 'Lexend', sans-serif; color:var(--ptb-text); background:var(--ptb-bg); min-height:100vh; overflow:clip; }
.ptb-v2 *, .ptb-v2 *::before, .ptb-v2 *::after { box-sizing:border-box; }
.ptb-v2 :where(h1,h2,h3,h4,p,figure,ul,ol) { margin:0; padding:0; }
.ptb-v2 :where(a) { text-decoration:none; color:inherit; }
.ptb-v2 :where(a:hover) { color:var(--ptb-red); }
.ptb-v2 :where(button,input) { font:inherit; }
.ptb-v2 button { cursor:pointer; }
.ptb-v2 :where(button:focus-visible,a:focus-visible,input:focus-visible) { outline:3px solid #528bff; outline-offset:3px; }
.ptb-v2 [hidden] { display:none!important; }
.ptb-v2 .ptb-container { width:min(1220px,calc(100% - 64px)); margin-inline:auto; }
.ptb-v2 .ptb-visually-hidden { position:absolute!important; height:1px!important; width:1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; }
.ptb-v2 .ptb-skip { position:fixed; top:-100px; left:16px; background:#fff; z-index:99999; padding:10px; }
.ptb-v2 .ptb-skip:focus { top:12px; }
.ptb-v2 .ptb-header { background:var(--ptb-navy); color:#fff; min-height:74px; position:relative; z-index:100; border-bottom:2px solid #102948; }
.ptb-v2 .ptb-header__inner { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.ptb-v2 .ptb-brand { display:flex; align-items:center; font-size:23px; font-weight:700; letter-spacing:-.85px; color:#fff; white-space:nowrap; }
.ptb-v2 .ptb-brand:hover { color:#fff; }
.ptb-v2 .ptb-brand img { object-fit:contain; margin-right:6px; flex-shrink:0; }
.ptb-v2 .ptb-brand__image { max-width:205px; height:auto; }
.ptb-v2 .ptb-brand__blog { padding-left:11px; margin-left:11px; border-left:1px solid #46556c; font-size:12px; font-weight:500; letter-spacing:.04em; opacity:.64; }
.ptb-v2 .ptb-nav { display:flex; align-items:center; gap:31px; font-size:13px; font-weight:500; }
.ptb-v2 .ptb-nav a { color:#f2f5fc; }
.ptb-v2 .ptb-nav a:hover { color:#ff6b55; }
.ptb-v2 .ptb-nav__publish { min-width:112px; text-align:center; padding:10px 22px; border:1px solid #e2e9f4; border-radius:5px; }
.ptb-v2 .ptb-nav-toggle { display:none; background:none; border:0; width:40px; padding:8px; }
.ptb-v2 .ptb-nav-toggle span { display:block; width:23px; height:2px; margin:5px auto; background:#fff; }
.ptb-v2 .ptb-preview-bar { background:#e8f1ff; color:#11468c; font-weight:600; font-size:11px; text-align:center; letter-spacing:.05em; padding:9px 12px; border-bottom:1px solid #b4d6ff; }
.ptb-v2 .ptb-main { min-height:500px; }
.ptb-v2 .ptb-home { padding:36px 0 66px; }
.ptb-v2 .ptb-btn { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:45px; min-width:138px; padding:11px 22px; border:0; border-radius:5px; font-weight:600; font-size:13px; transition:transform .15s, background-color .15s; }
.ptb-v2 .ptb-btn:hover { transform:translateY(-1px); }
.ptb-v2 .ptb-btn--orange { background:var(--ptb-red); color:#fff; }
.ptb-v2 .ptb-btn--orange:hover { background:#da2813; color:#fff; }
.ptb-v2 .ptb-btn--navy { background:var(--ptb-navy); color:#fff; }
.ptb-v2 .ptb-btn--navy:hover { background:#24456f; color:#fff; }
.ptb-v2 .ptb-btn--blue { background:var(--ptb-blue); color:#fff; }
.ptb-v2 .ptb-btn--blue:hover { background:#0954d5; color:#fff; }
.ptb-v2 .ptb-btn--outline { background:#fff; color:var(--ptb-navy); border:1px solid #d6dbe3; }
/* Home hero / destacados */
.ptb-v2 .ptb-hero { position:relative; border-radius:7px; overflow:hidden; margin-bottom:37px; background:#fff; box-shadow:0 5px 30px #10244708; }
.ptb-v2 .ptb-hero__slides { position:relative; min-height:395px; }
.ptb-v2 .ptb-hero__slide { display:none; grid-template-columns:45% 55%; min-height:395px; }
.ptb-v2 .ptb-hero__slide.is-active { display:grid; }
.ptb-v2 .ptb-hero__content { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:56px 65px 67px 78px; min-width:0; }
.ptb-v2 .ptb-eyebrow { color:#9ca3ae; font-size:12px; font-weight:400; margin-bottom:13px; }
.ptb-v2 .ptb-hero h1 { max-width:460px; margin:0 0 14px; font-size:clamp(24px,2.45vw,36px); line-height:1.19; font-weight:700; letter-spacing:-1.3px; color:var(--ptb-navy); }
.ptb-v2 .ptb-hero p { font-size:13px; line-height:1.7; color:#697587; margin-bottom:22px; max-width:360px; }
.ptb-v2 .ptb-hero__image { display:block; min-height:395px; background:#d6e2e9; overflow:hidden; }
.ptb-v2 .ptb-hero__image img { width:100%; height:100%; display:block; object-fit:cover; }
.ptb-v2 .ptb-image-fallback { height:100%; min-height:395px; display:grid; place-content:center; background:linear-gradient(135deg,#cddce5,#88a7a5); font-size:25px; color:#fff; }
.ptb-v2 .ptb-hero__arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:33px; height:54px; border:0; background:#fff; color:#465468; font-size:29px; display:grid; place-items:center; padding-bottom:6px; box-shadow:0 1px 8px #101c3111; }
.ptb-v2 .ptb-hero__arrow--prev { left:0; border-radius:0 5px 5px 0; }
.ptb-v2 .ptb-hero__arrow--next { right:0; border-radius:5px 0 0 5px; }
.ptb-v2 .ptb-hero__dots { position:absolute; z-index:3; bottom:25px; left:78px; display:flex; gap:7px; }
.ptb-v2 .ptb-hero__dots button { border:0; padding:0; background:#b9c4d5; height:9px; width:9px; border-radius:50%; }
.ptb-v2 .ptb-hero__dots button.is-active { background:var(--ptb-navy); }
/* News + interest tags */
.ptb-v2 .ptb-news-section { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:46px; align-items:start; margin-bottom:30px; }
.ptb-v2 .ptb-section-heading { display:flex; align-items:center; gap:10px; margin-bottom:22px; }
.ptb-v2 .ptb-section-heading h2,.ptb-v2 .ptb-section-heading h1 { font-size:24px; letter-spacing:-.5px; font-weight:700; line-height:1.24; color:var(--ptb-navy); }
.ptb-v2 .ptb-section-heading__accent { display:block; height:21px; width:4px; background:var(--ptb-red); border-radius:2px; }
.ptb-v2 .ptb-news-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 31px; }
.ptb-v2 .ptb-news-item { min-width:0; display:grid; grid-template-columns:83px minmax(0,1fr); gap:12px; align-items:start; }
.ptb-v2 .ptb-news-item__image { display:block; height:77px; border-radius:5px; background:#d7e2ed; overflow:hidden; }
.ptb-v2 .ptb-news-item__image img { display:block; width:100%; height:100%; object-fit:cover; }
.ptb-v2 .ptb-news-item h3 { font-size:13px; font-weight:600; line-height:1.35; letter-spacing:-.13px; }
.ptb-v2 .ptb-news-item h3 a:hover { color:var(--ptb-red); }
.ptb-v2 .ptb-news-item time { font-size:10px; color:#9ba3ae; display:block; margin-top:7px; }
.ptb-v2 .ptb-topic-box { background:#fff; padding:22px 19px; border-radius:4px; min-height:196px; }
.ptb-v2 .ptb-topic-box h2 { font-size:16px; line-height:1.3; font-weight:700; margin-bottom:14px; }
.ptb-v2 .ptb-topic-box__tags { display:flex; gap:7px; flex-wrap:wrap; }
.ptb-v2 .ptb-topic-box__tags a,.ptb-v2 .ptb-category-strip a { color:#8e98a7; border:1px solid #d9dee6; background:#fff; border-radius:30px; padding:6px 12px; font-size:10px; line-height:1.1; }
.ptb-v2 .ptb-topic-box__tags a:hover,.ptb-v2 .ptb-category-strip a:hover,.ptb-v2 .ptb-category-strip a[aria-current="page"] { border-color:var(--ptb-red); color:var(--ptb-red); }
/* Tabs + cards */
.ptb-v2 .ptb-feed { padding-top:8px; }
.ptb-v2 .ptb-tabs { border-bottom:1px solid #dfe3eb; display:flex; gap:31px; margin-bottom:25px; }
.ptb-v2 .ptb-tabs button { background:none; border:0; color:#5e6979; border-bottom:3px solid transparent; font-size:13px; font-weight:500; margin-bottom:-1px; padding:12px 6px 11px; }
.ptb-v2 .ptb-tabs button.is-active { color:var(--ptb-navy); border-bottom-color:var(--ptb-red); }
.ptb-v2 .ptb-card-grid { display:grid; gap:28px 26px; }
.ptb-v2 .ptb-card-grid--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ptb-v2 .ptb-card-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.ptb-v2 .ptb-card { display:flex; flex-direction:column; min-width:0; background:#fff; border-radius:5px; overflow:hidden; box-shadow:0 2px 9px #19324b06; transition:box-shadow .15s,transform .15s; }
.ptb-v2 .ptb-card:hover { box-shadow:0 12px 27px #19324b16; transform:translateY(-2px); }
.ptb-v2 .ptb-card__visual { aspect-ratio: 1.73/1; position:relative; display:block; overflow:hidden; background:linear-gradient(135deg,#9ebdcd,#d7e7f0); }
.ptb-v2 .ptb-card__img { display:block; height:100%; width:100%; object-fit:cover; }
.ptb-v2 .ptb-card__fallback { display:grid; place-content:center; width:100%; height:100%; color:#fff; font-weight:700; }
.ptb-v2 .ptb-card__category { position:absolute; top:12px; left:12px; max-width:90%; padding:4px 10px; font-size:9px; font-weight:600; line-height:1.25; background:#fff; color:#506075; border-radius:18px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ptb-v2 .ptb-card__body { display:flex; flex:1; flex-direction:column; padding:15px 15px 12px; min-height:177px; }
.ptb-v2 .ptb-card__title { color:var(--ptb-navy); font-size:14px; line-height:1.4; font-weight:600; letter-spacing:-.28px; margin-bottom:9px; }
.ptb-v2 .ptb-card__excerpt { color:#8a95a4; font-size:11px; line-height:1.58; flex:1; margin-bottom:15px; }
.ptb-v2 .ptb-card__date { border-top:1px solid #edf0f4; padding-top:9px; font-size:10px; color:#9ba4b0; }
.ptb-v2 .ptb-feed__actions { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:32px; }
/* Newsletter wide banner */
.ptb-v2 .ptb-newsletter-container { margin-top:67px; }
.ptb-v2 .ptb-newsletter-banner { position:relative; min-height:242px; background:linear-gradient(105deg,#0c1c37 5%,#10407e 54%,#076fff 100%); border-radius:5px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.ptb-v2 .ptb-newsletter-banner__center { z-index:2; text-align:center; width:min(560px,calc(100% - 42px)); padding:24px 0; color:#fff; }
.ptb-v2 .ptb-newsletter-banner h2 { color:#fff; font-size:26px; line-height:1.3; letter-spacing:-.5px; font-weight:700; margin-bottom:9px; }
.ptb-v2 .ptb-newsletter-banner p { color:#e2ebf8; font-size:14px; line-height:1.5; margin:0 auto 18px; max-width:440px; }
.ptb-v2 .ptb-newsletter-banner__art { position:absolute; height:370px; width:350px; opacity:.52; border:2px solid #acc6f1; transform:rotate(45deg); border-radius:42px; }
.ptb-v2 .ptb-newsletter-banner__art::after { content:""; position:absolute; width:80%; height:80%; top:10%; left:10%; border:2px solid #c5d8f5; border-radius:42px; }
.ptb-v2 .ptb-newsletter-banner__art--left { left:-205px; top:-55px; }
.ptb-v2 .ptb-newsletter-banner__art--right { right:-196px; bottom:-220px; }
.ptb-v2 .ptb-home-signup { max-width:510px; margin:15px auto 0; }
/* Archive and search */
.ptb-v2 .ptb-archive { padding:43px 0 78px; }
.ptb-v2 .ptb-archive__top { display:flex; align-items:center; justify-content:space-between; gap:30px; margin-bottom:24px; }
.ptb-v2 .ptb-kicker { text-transform:uppercase; font-size:11px; font-weight:600; color:var(--ptb-red); letter-spacing:.07em; }
.ptb-v2 .ptb-archive__top h1 { font-size:30px; color:var(--ptb-navy); margin:4px 0 8px; line-height:1.2; letter-spacing:-.8px; }
.ptb-v2 .ptb-backlink,.ptb-v2 .ptb-single__back { font-size:12px; color:#7a8595; }
.ptb-v2 .ptb-backlink:hover,.ptb-v2 .ptb-single__back:hover { color:var(--ptb-red); }
.ptb-v2 .ptb-category-strip { display:flex; align-items:center; gap:7px; max-width:65%; overflow-x:auto; white-space:nowrap; padding:7px 0; }
.ptb-v2 .ptb-category-strip span { font-size:11px; white-space:nowrap; margin-right:6px; }
.ptb-v2 .ptb-archive__body { display:grid; grid-template-columns:minmax(0,1fr) 255px; gap:35px; align-items:start; }
.ptb-v2 .ptb-archive__results { min-width:0; }
.ptb-v2 .ptb-archive__results .ptb-card-grid { gap:27px 22px; }
.ptb-v2 .ptb-sidebar { display:grid; gap:18px; min-width:0; }
.ptb-v2 .ptb-search { display:flex; align-items:center; width:100%; background:#fff; border-radius:28px; padding:4px 4px 4px 15px; box-shadow:0 1px 4px #091a3011; }
.ptb-v2 .ptb-search input { min-width:0; width:100%; border:0!important; box-shadow:none!important; padding:10px 4px!important; background:transparent!important; outline:0; color:var(--ptb-text); font-size:12px; }
.ptb-v2 .ptb-search button { flex:none; width:36px; height:36px; border-radius:50%; border:0; display:grid; place-items:center; background:var(--ptb-red); color:#fff; padding:0; }
.ptb-v2 .ptb-newsletter { background:#fff; padding:24px 19px 20px; border-radius:5px; }
.ptb-v2 .ptb-newsletter h2 { color:var(--ptb-navy); font-size:17px; font-weight:700; line-height:1.3; margin-bottom:10px; }
.ptb-v2 .ptb-newsletter p { color:#778291; font-size:11px; margin:0 0 19px; line-height:1.6; }
.ptb-v2 .ptb-newsletter__mock { display:flex; flex-direction:column; gap:8px; }
.ptb-v2 .ptb-newsletter__mock label { font-size:11px; }
.ptb-v2 .ptb-newsletter__mock input { padding:11px 9px; border:1px solid #dce1e9; border-radius:4px; font-size:11px; background:#fff; color:#778291; }
.ptb-v2 .ptb-newsletter__mock button { min-height:39px; padding:8px; border:0; border-radius:4px; color:#fff; background:var(--ptb-navy); font-size:11px; }
.ptb-v2 .ptb-newsletter__mock button:disabled { opacity:.6; cursor:not-allowed; }
.ptb-v2 .ptb-newsletter__mock small { font-size:10px; color:#ba5219; line-height:1.4; }
.ptb-v2 .ptb-sidebar__ad { display:block; overflow:hidden; border-radius:4px; }
.ptb-v2 .ptb-sidebar__ad img { width:100%; height:auto; display:block; }
.ptb-v2 .ptb-sidebar__promo { display:flex; flex-direction:column; justify-content:space-between; min-height:155px; border-radius:5px; padding:20px 17px; background:linear-gradient(120deg,#0b1931 0%,#1a3050 67%,#1b83c4 100%); color:#fff; }
.ptb-v2 .ptb-sidebar__promo:hover { color:#fff; }
.ptb-v2 .ptb-sidebar__promo span { font-size:11px; }
.ptb-v2 .ptb-sidebar__promo strong { font-size:16px; line-height:1.35; }
.ptb-v2 .ptb-search-page__query { font-size:12px; color:#6c7787; margin-bottom:9px; }
.ptb-v2 .ptb-search-page__query strong { color:var(--ptb-navy); }
.ptb-v2 .ptb-empty { background:#fff; padding:65px 22px; text-align:center; border-radius:5px; }
.ptb-v2 .ptb-empty h2 { font-size:20px; font-weight:700; margin-bottom:12px; }
.ptb-v2 .ptb-empty p { color:var(--ptb-muted); font-size:13px; max-width:430px; margin:0 auto 20px; }
.ptb-v2 .ptb-empty .ptb-search { margin:0 auto; max-width:420px; }
.ptb-v2 .ptb-pagination { display:flex; justify-content:center; margin-top:35px; }
.ptb-v2 .ptb-pagination ul { display:flex; gap:7px; list-style:none; padding:0; margin:0; }
.ptb-v2 .ptb-pagination a,.ptb-v2 .ptb-pagination span { min-width:37px; height:38px; display:grid; place-items:center; padding:7px; border-radius:4px; background:#fff; color:var(--ptb-navy); font-size:12px; }
.ptb-v2 .ptb-pagination .current { color:#fff; background:var(--ptb-navy); }
/* Full-width single, with comfortable editorial reading width. */
.ptb-v2 .ptb-article-width { width:min(820px,calc(100% - 48px)); margin-inline:auto; }
.ptb-v2 .ptb-single { padding-top:44px; }
.ptb-v2 .ptb-article__header h1 { color:var(--ptb-navy); font-size:clamp(32px,3.7vw,49px); letter-spacing:-1.7px; line-height:1.18; font-weight:700; margin:16px 0 19px; }
.ptb-v2 .ptb-article__meta-and-share { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:27px; }
.ptb-v2 .ptb-article__meta { display:flex; align-items:center; flex-wrap:wrap; gap:7px; font-size:11px; color:#98a0ac; }
.ptb-v2 .ptb-article__meta>span:first-child { color:var(--ptb-red); }
.ptb-v2 .ptb-pill { border:1px solid #bac6d5; border-radius:20px; padding:4px 12px; color:#52647c; font-size:10px; margin-left:6px; }
.ptb-v2 .ptb-article__share { display:flex; align-items:center; gap:7px; }
.ptb-v2 .ptb-article__share a,.ptb-v2 .ptb-article__share button { width:26px; height:27px; border:0; background:var(--ptb-navy); color:#fff; border-radius:3px; display:grid; place-content:center; font-family:Arial,sans-serif; font-weight:bold; font-size:13px; }
.ptb-v2 .ptb-article__share a:hover,.ptb-v2 .ptb-article__share button:hover { background:var(--ptb-red); color:#fff; }
.ptb-v2 .ptb-article__lead { font-size:17px; font-weight:500; line-height:1.68; margin:0 0 27px; }
.ptb-v2 .ptb-article__cover { margin-bottom:21px; }
.ptb-v2 .ptb-article__cover-image { width:100%; max-height:490px; object-fit:cover; border-radius:5px; display:block; }
.ptb-v2 .ptb-article__cover figcaption { margin-top:8px; color:#929ba7; text-align:center; font-size:10px; }
.ptb-v2 .ptb-article__content { padding:10px 0 38px; color:#243149; font-size:15px; font-weight:400; line-height:1.85; }
.ptb-v2 .ptb-article__content :where(p,ul,ol,blockquote,figure,table) { margin:0 0 23px; }
.ptb-v2 .ptb-article__content :where(h2,h3,h4) { color:var(--ptb-navy); font-weight:700; line-height:1.35; margin:31px 0 16px; letter-spacing:-.4px; }
.ptb-v2 .ptb-article__content h2 { font-size:26px; }
.ptb-v2 .ptb-article__content h3 { font-size:20px; }
.ptb-v2 .ptb-article__content h4 { font-size:17px; }
.ptb-v2 .ptb-article__content :where(ul,ol) { padding-left:22px; }
.ptb-v2 .ptb-article__content :where(li) { margin:0 0 6px; }
.ptb-v2 .ptb-article__content :where(a) { color:var(--ptb-red); text-decoration:underline; }
.ptb-v2 .ptb-article__content :where(img,video,iframe) { max-width:100%; height:auto; border-radius:4px; }
.ptb-v2 .ptb-article__content .wp-block-image { margin:24px 0; }
.ptb-v2 .ptb-article__content .wp-block-image img { width:auto; }
.ptb-v2 .ptb-article__content .wp-block-image figcaption { text-align:center; font-size:10px; color:#929ba7; }
.ptb-v2 .ptb-article__content blockquote { border-left:3px solid var(--ptb-red); padding:10px 20px; background:#fff; }
.ptb-v2 .ptb-article__content table { display:block; overflow-x:auto; border-collapse:collapse; }
.ptb-v2 .ptb-article__content th,.ptb-v2 .ptb-article__content td { padding:8px 12px; border:1px solid #dce2e8; }
.ptb-v2 .ptb-article__content .alignwide { width: min(1050px,calc(100vw - 48px)); max-width:calc(100vw - 48px); margin-left:50%; transform:translateX(-50%); }
.ptb-v2 .ptb-related { border-top:1px solid #e0e5ec; padding-top:30px; margin-top:15px; padding-bottom:72px; }
/* Footer */
.ptb-v2 .ptb-footer { background:var(--ptb-navy); color:#d3d9e5; padding:63px 0 29px; }
.ptb-v2 .ptb-footer__grid { display:grid; grid-template-columns:1fr 1.25fr 1fr 1fr; gap:65px; }
.ptb-v2 .ptb-footer__grid>div { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.ptb-v2 .ptb-footer h3 { font-size:16px; font-weight:600; color:#fff; margin-bottom:6px; }
.ptb-v2 .ptb-footer a { color:#b7c1d2; font-size:12px; }
.ptb-v2 .ptb-footer a:hover { color:#fff; }
.ptb-v2 .ptb-footer__social { border-left:1px solid #354761; padding-left:57px; }
.ptb-v2 .ptb-footer__bottom { display:flex; gap:25px; margin-top:70px; align-items:center; flex-wrap:wrap; font-size:11px; color:#b8c0d0; }
.ptb-v2 .ptb-backtop { position:fixed; bottom:20px; right:26px; z-index:99; height:45px; width:45px; border-radius:50%; color:var(--ptb-navy); background:#fff; box-shadow:0 3px 18px #091a3040; display:grid; place-items:center; font-size:23px; }
.ptb-v2 .ptb-backtop:hover { color:var(--ptb-red); }
@media (max-width:1150px) {
 .ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 290px; gap:27px; }
 .ptb-v2 .ptb-archive__body { grid-template-columns:minmax(0,1fr) 240px; gap:24px; }
 .ptb-v2 .ptb-card-grid { gap:20px; }
 .ptb-v2 .ptb-hero__content { padding-inline:55px 38px; }
 .ptb-v2 .ptb-hero__dots { left:55px; }
}
@media (max-width:900px) {
 .ptb-v2 .ptb-container { width:min(100% - 40px,1220px); }
 .ptb-v2 .ptb-news-section { grid-template-columns:1fr; }
 .ptb-v2 .ptb-topic-box { min-height:auto; }
 .ptb-v2 .ptb-card-grid--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ptb-v2 .ptb-card-grid--3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ptb-v2 .ptb-archive__body { grid-template-columns:minmax(0,1fr) 230px; }
 .ptb-v2 .ptb-category-strip { max-width:48%; }
 .ptb-v2 .ptb-footer__grid { gap:30px; }
 .ptb-v2 .ptb-footer__social { padding-left:23px; }
}
@media (max-width:700px) {
 .ptb-v2 .ptb-container { width:calc(100% - 32px); }
 .ptb-v2 .ptb-header__inner { min-height:67px; }
 .ptb-v2 .ptb-header { min-height:69px; }
 .ptb-v2 .ptb-brand { font-size:20px; }
 .ptb-v2 .ptb-brand__blog { font-size:10px; }
 .ptb-v2 .ptb-nav-toggle { display:block; }
 .ptb-v2 .ptb-nav { display:none; position:absolute; left:0; right:0; top:100%; background:var(--ptb-navy); flex-direction:column; align-items:stretch; gap:0; padding:12px 16px 20px; box-shadow:0 15px 20px #0e223929; }
 .ptb-v2 .ptb-nav.is-open { display:flex; }
 .ptb-v2 .ptb-nav a { padding:11px; }
 .ptb-v2 .ptb-nav__publish { margin-top:8px; }
 .ptb-v2 .ptb-home { padding-top:18px; }
 .ptb-v2 .ptb-hero { margin-bottom:30px; }
 .ptb-v2 .ptb-hero__slides,.ptb-v2 .ptb-hero__slide { min-height:0; }
 .ptb-v2 .ptb-hero__slide.is-active { display:flex; flex-direction:column-reverse; }
 .ptb-v2 .ptb-hero__image { min-height:0; height:220px; }
 .ptb-v2 .ptb-hero__content { padding:27px 25px 48px; }
 .ptb-v2 .ptb-hero h1 { font-size:26px; }
 .ptb-v2 .ptb-hero__dots { bottom:18px; left:25px; }
 .ptb-v2 .ptb-hero__arrow { top:110px; }
 .ptb-v2 .ptb-news-list { grid-template-columns:1fr; gap:16px; }
 .ptb-v2 .ptb-news-item { grid-template-columns:100px 1fr; }
 .ptb-v2 .ptb-news-item__image { height:82px; }
 .ptb-v2 .ptb-section-heading h2 { font-size:23px; }
 .ptb-v2 .ptb-tabs { gap:14px; }
 .ptb-v2 .ptb-archive { padding-top:27px; }
 .ptb-v2 .ptb-archive__top { display:block; }
 .ptb-v2 .ptb-category-strip { max-width:100%; margin-top:15px; }
 .ptb-v2 .ptb-archive__body { display:flex; flex-direction:column-reverse; }
 .ptb-v2 .ptb-sidebar { width:100%; grid-template-columns:minmax(0,1fr); }
 .ptb-v2 .ptb-sidebar .ptb-newsletter,.ptb-v2 .ptb-sidebar .ptb-sidebar__promo,.ptb-v2 .ptb-sidebar .ptb-sidebar__ad { display:none; }
 .ptb-v2 .ptb-article__header h1 { font-size:clamp(28px,6vw,38px); letter-spacing:-1px; }
 .ptb-v2 .ptb-article__meta-and-share { flex-direction:column; align-items:flex-start; }
 .ptb-v2 .ptb-article__content { font-size:14px; line-height:1.8; }
 .ptb-v2 .ptb-footer { padding-top:45px; }
 .ptb-v2 .ptb-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:37px 20px; }
 .ptb-v2 .ptb-footer__social { border:0; padding-left:0; }
 .ptb-v2 .ptb-footer__bottom { margin-top:45px; }
 .ptb-v2 .ptb-newsletter-banner h2 { font-size:22px; }
 .ptb-v2 .ptb-newsletter-banner { min-height:232px; }
 .ptb-v2 .ptb-backtop { right:13px; bottom:13px; width:40px; height:40px; }
}
@media (max-width:440px) {
 .ptb-v2 .ptb-card-grid--3,.ptb-v2 .ptb-card-grid--4 { grid-template-columns:1fr; gap:16px; }
 .ptb-v2 .ptb-card { flex-direction:row; min-height:137px; }
 .ptb-v2 .ptb-card__visual { flex:0 0 37%; aspect-ratio:auto; }
 .ptb-v2 .ptb-card__body { min-height:137px; padding:11px 10px; }
 .ptb-v2 .ptb-card__title { font-size:12px; line-height:1.4; }
 .ptb-v2 .ptb-card__excerpt { font-size:10px; margin-bottom:6px; }
 .ptb-v2 .ptb-card__category { top:7px; left:5px; font-size:8px; max-width:94%; }
 .ptb-v2 .ptb-tabs button { font-size:12px; }
 .ptb-v2 .ptb-article__header h1 { font-size:29px; }
 .ptb-v2 .ptb-footer h3 { font-size:14px; }
}
@media (prefers-reduced-motion:reduce) { .ptb-v2 :where(*, *::before, *::after) { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }

/* ==============================================================
   PortalTerreno Blog V2.1 · Fidelity pass vs Marvel (02 Nov 2026)
   These overrides are intentionally scoped to .ptb-v2.
   Desktop benchmark: Marvel viewport 1660px / 1520px content.
   =============================================================== */
body.ptb-v2-active { margin:0!important; background:#f5f6f8!important; }
body.ptb-v2-active .ptb-v2 {
  font:400 16px/1.55 'Lexend',Arial,sans-serif;
  background:#f5f6f8;
  color:#101e38;
  overflow-x:clip;
}
.ptb-v2 .ptb-container {
  width:calc(100% - 2 * clamp(20px,4.22vw,70px));
  max-width:1520px;
  margin-inline:auto;
}
/* Design header: logo + Planes / Mi cuenta / Ayuda / Publicar */
.ptb-v2 .ptb-header { min-height:85px; border-bottom:0; background:#0c1b34; }
.ptb-v2 .ptb-header__inner { min-height:85px; gap:24px; }
.ptb-v2 .ptb-brand { font-size:28px; letter-spacing:-.9px; font-weight:700; }
.ptb-v2 .ptb-brand img { width:53px; height:45px; margin-right:11px; }
.ptb-v2 .ptb-brand__image { width:auto!important; max-width:245px; height:auto!important; }
.ptb-v2 .ptb-nav { gap:37px; font-size:15px; font-weight:400; }
.ptb-v2 .ptb-nav a { color:#f8f9fe; white-space:nowrap; }
.ptb-v2 .ptb-nav__account { display:inline-flex; align-items:center; gap:9px; }
.ptb-v2 .ptb-nav__avatar { display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:#fff; color:#0c1b34; font-size:10px; }
.ptb-v2 .ptb-nav__publish { min-width:169px; min-height:54px; padding:13px 30px; border:2px solid #f1f4fb; border-radius:6px; font-size:16px; }
/* Floating preview marker: no longer shifts every pixel of layout. */
.ptb-v2 .ptb-preview-bar {
  position:fixed; left:14px; bottom:14px; z-index:9990; width:max-content;
  max-width:calc(100vw - 80px); padding:7px 12px; border-radius:8px;
  font-size:10px; line-height:1.35; letter-spacing:0;
  background:#e7f0ff; border:1px solid #aac5f1;
  box-shadow:0 2px 15px #0e1e3520;
}
/* Hero: Marvel uses a wide 48/52 split, 505px high at 1660px. */
.ptb-v2 .ptb-home { padding:61px 0 80px; }
.ptb-v2 .ptb-hero { margin-bottom:47px; border-radius:5px; box-shadow:none; }
.ptb-v2 .ptb-hero__slides,
.ptb-v2 .ptb-hero__slide { min-height:clamp(390px,30.35vw,505px); }
.ptb-v2 .ptb-hero__slide { grid-template-columns:48.35% 51.65%; }
.ptb-v2 .ptb-hero__content {
  padding:47px clamp(32px,4.7vw,75px) 65px clamp(48px,7.95vw,132px);
  min-width:0;
}
.ptb-v2 .ptb-eyebrow { color:#99a3b4; font-size:15px; margin-bottom:8px; }
.ptb-v2 .ptb-hero h1 {
  max-width:500px; font-size:clamp(27px,2.11vw,35px);
  line-height:1.22; letter-spacing:-.75px; font-weight:700;
  margin-bottom:16px;
}
.ptb-v2 .ptb-hero p { max-width:480px; font-size:16px; line-height:1.62; color:#767f8c; margin-bottom:17px; }
.ptb-v2 .ptb-hero__image { min-height:clamp(390px,30.35vw,505px); }
.ptb-v2 .ptb-btn--orange { background:#ff3215; }
.ptb-v2 .ptb-hero .ptb-btn { min-width:220px; min-height:56px; font-size:16px; border-radius:6px; }
.ptb-v2 .ptb-hero__arrow { width:49px; height:84px; font-size:29px; padding:0; box-shadow:none; }
.ptb-v2 .ptb-hero__arrow--prev { left:48.35%; border-radius:0 5px 5px 0; }
.ptb-v2 .ptb-hero__arrow--next { right:0; }
.ptb-v2 .ptb-hero__dots { left:clamp(48px,7.95vw,132px); bottom:83px; gap:13px; }
.ptb-v2 .ptb-hero__dots button { width:14px; height:14px; background:#b5bfd2; }
/* News / discovery block */
.ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 475px; gap:87px; margin-bottom:35px; }
.ptb-v2 .ptb-section-heading { margin-bottom:26px; }
.ptb-v2 .ptb-section-heading h2,.ptb-v2 .ptb-section-heading h1 { font-size:30px; line-height:1.25; letter-spacing:-.65px; }
.ptb-v2 .ptb-news-list { gap:23px 34px; }
.ptb-v2 .ptb-news-item { grid-template-columns:111px minmax(0,1fr); gap:18px; }
.ptb-v2 .ptb-news-item__image { height:90px; border-radius:5px; }
.ptb-v2 .ptb-news-item h3 { font-size:15px; line-height:1.42; font-weight:500; }
.ptb-v2 .ptb-news-item time { font-size:12px; margin-top:7px; }
.ptb-v2 .ptb-topic-box { min-height:236px; padding:29px 30px; border:1px solid #e6e9ef; border-radius:6px; }
.ptb-v2 .ptb-topic-box h2 { font-size:22px; line-height:1.34; margin-bottom:15px; letter-spacing:-.3px; }
.ptb-v2 .ptb-topic-box__tags { gap:9px; }
.ptb-v2 .ptb-topic-box__tags a,.ptb-v2 .ptb-category-strip a { font-size:12px; padding:7px 14px; }
/* Cards: 4 columns, roomy gutters, thumbnail/tag/date proportions. */
.ptb-v2 .ptb-feed { padding-top:10px; }
.ptb-v2 .ptb-tabs { gap:31px; margin-bottom:34px; }
.ptb-v2 .ptb-tabs button { font-size:15px; padding:12px 9px 14px; }
.ptb-v2 .ptb-card-grid { gap:34px 32px; }
.ptb-v2 .ptb-card { border-radius:5px; box-shadow:none; }
.ptb-v2 .ptb-card__visual { aspect-ratio:1.79/1; }
.ptb-v2 .ptb-card__body { padding:18px 18px 14px; min-height:195px; }
.ptb-v2 .ptb-card__title { font-size:17px; line-height:1.37; font-weight:600; letter-spacing:-.34px; }
.ptb-v2 .ptb-card__excerpt { font-size:13px; line-height:1.55; margin-bottom:19px; }
.ptb-v2 .ptb-card__date { font-size:11px; padding-top:12px; }
.ptb-v2 .ptb-card__category { font-size:10px; padding:6px 11px; top:13px; left:13px; }
.ptb-v2 .ptb-feed__actions { margin-top:38px; }
/* Images without valid thumbnails never display browser broken-image icons. */
.ptb-v2 .is-image-missing { background:linear-gradient(120deg,#0a2341 0%,#155084 54%,#55a6d1 100%)!important; }
.ptb-v2 .is-image-missing::after { content:'PortalTerreno'; display:grid; position:absolute; inset:0; place-content:center; color:#fff; font-weight:700; opacity:.85; font-size:clamp(12px,1.5vw,18px); }
.ptb-v2 .ptb-news-item__image.is-image-missing { position:relative; }
.ptb-v2 .is-image-missing img { display:none!important; }
/* Newsletter / footer */
.ptb-v2 .ptb-newsletter-container { margin-top:70px; }
.ptb-v2 .ptb-newsletter-banner { min-height:280px; border-radius:5px; }
.ptb-v2 .ptb-newsletter-banner h2 { font-size:30px; }
.ptb-v2 .ptb-newsletter-banner p { font-size:16px; }
.ptb-v2 .ptb-footer { padding:74px 0 40px; }
.ptb-v2 .ptb-footer__grid { gap:70px; }
.ptb-v2 .ptb-footer h3 { font-size:17px; }
.ptb-v2 .ptb-footer a { font-size:14px; }
.ptb-v2 .ptb-footer__bottom { font-size:12px; }
/* Archive/search layout: 3 columns + fixed sidebar, no shrink-to-miniatures. */
.ptb-v2 .ptb-archive { padding:53px 0 83px; }
.ptb-v2 .ptb-archive__top { gap:28px; margin-bottom:28px; }
.ptb-v2 .ptb-archive__top h1 { font-size:30px; }
.ptb-v2 .ptb-archive__body { grid-template-columns:minmax(0,1fr) 325px; gap:43px; }
.ptb-v2 .ptb-archive__results .ptb-card-grid { gap:34px 30px; }
.ptb-v2 .ptb-archive .ptb-card__body { min-height:190px; }
.ptb-v2 .ptb-archive .ptb-card__title { font-size:16px; }
.ptb-v2 .ptb-sidebar { gap:20px; }
.ptb-v2 .ptb-sidebar .ptb-newsletter { padding:25px; }
.ptb-v2 .ptb-sidebar .ptb-newsletter h2 { font-size:19px; }
.ptb-v2 .ptb-sidebar__promo { min-height:185px; }
/* Article: original prototype uses ~900px centered copy with wide images. */
.ptb-v2 .ptb-article-width { width:calc(100% - 2 * clamp(20px,4.22vw,70px)); max-width:920px; }
.ptb-v2 .ptb-single { padding-top:72px; }
.ptb-v2 .ptb-article__header h1 { font-size:clamp(32px,3.0vw,49px); line-height:1.17; }
.ptb-v2 .ptb-article__lead { font-size:18px; }
.ptb-v2 .ptb-article__content { font-size:16px; line-height:1.8; }
.ptb-v2 .ptb-article__cover-image { max-height:585px; }
.ptb-v2 .ptb-related { margin-top:35px; }
/* Balanced layout for laptop widths. */
@media (max-width:1320px) {
  .ptb-v2 .ptb-nav { gap:23px; font-size:14px; }
  .ptb-v2 .ptb-nav__publish { min-width:133px; min-height:49px; font-size:14px; }
  .ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 340px; gap:42px; }
  .ptb-v2 .ptb-topic-box h2 { font-size:19px; }
  .ptb-v2 .ptb-hero__content { padding-left:clamp(45px,6vw,90px); padding-right:40px; }
  .ptb-v2 .ptb-hero__dots { left:clamp(45px,6vw,90px); bottom:49px; }
  .ptb-v2 .ptb-archive__body { grid-template-columns:minmax(0,1fr) 280px; gap:30px; }
  .ptb-v2 .ptb-card-grid { gap:22px; }
  .ptb-v2 .ptb-card__title { font-size:15px; }
  .ptb-v2 .ptb-card__excerpt { font-size:12px; }
}
@media (max-width:1000px) {
  .ptb-v2 .ptb-nav-toggle { display:block; }
  .ptb-v2 .ptb-nav { display:none; position:absolute; left:0; right:0; top:100%; background:#0c1b34; flex-direction:column; align-items:stretch; gap:0; padding:14px 28px 25px; box-shadow:0 14px 30px #0b193035; }
  .ptb-v2 .ptb-nav.is-open { display:flex; }
  .ptb-v2 .ptb-nav a { padding:13px 8px; }
  .ptb-v2 .ptb-nav__publish { margin-top:9px; text-align:center; }
  .ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 290px; gap:28px; }
  .ptb-v2 .ptb-news-list { grid-template-columns:1fr; }
  .ptb-v2 .ptb-card-grid--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ptb-v2 .ptb-archive__body { grid-template-columns:minmax(0,1fr) 240px; gap:24px; }
  .ptb-v2 .ptb-archive__results .ptb-card-grid--3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  .ptb-v2 .ptb-container { width:calc(100% - 32px); }
  .ptb-v2 .ptb-header,.ptb-v2 .ptb-header__inner { min-height:70px; }
  .ptb-v2 .ptb-brand { font-size:22px; }
  .ptb-v2 .ptb-brand img { width:37px; height:36px; margin-right:8px; }
  .ptb-v2 .ptb-home { padding-top:22px; }
  .ptb-v2 .ptb-hero__slides,.ptb-v2 .ptb-hero__slide { min-height:0; }
  .ptb-v2 .ptb-hero__slide.is-active { display:flex; flex-direction:column-reverse; }
  .ptb-v2 .ptb-hero__image { min-height:0; height:270px; }
  .ptb-v2 .ptb-hero__content { padding:26px 27px 58px; }
  .ptb-v2 .ptb-hero h1 { font-size:clamp(25px,5vw,32px); }
  .ptb-v2 .ptb-hero p { font-size:14px; }
  .ptb-v2 .ptb-hero .ptb-btn { min-width:155px; min-height:45px; font-size:14px; }
  .ptb-v2 .ptb-hero__arrow { top:135px; height:52px; width:37px; }
  .ptb-v2 .ptb-hero__arrow--prev { left:0; }
  .ptb-v2 .ptb-hero__dots { left:27px; bottom:23px; }
  .ptb-v2 .ptb-hero__dots button { width:10px; height:10px; }
  .ptb-v2 .ptb-news-section { grid-template-columns:1fr; gap:20px; }
  .ptb-v2 .ptb-news-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ptb-v2 .ptb-news-item { grid-template-columns:85px minmax(0,1fr); gap:11px; }
  .ptb-v2 .ptb-news-item__image { height:76px; }
  .ptb-v2 .ptb-news-item h3 { font-size:12px; }
  .ptb-v2 .ptb-section-heading h2,.ptb-v2 .ptb-section-heading h1 { font-size:25px; }
  .ptb-v2 .ptb-topic-box { padding:20px; min-height:auto; }
  .ptb-v2 .ptb-topic-box h2 { font-size:18px; }
  .ptb-v2 .ptb-archive__body { display:flex; flex-direction:column-reverse; }
  .ptb-v2 .ptb-sidebar { width:100%; }
  .ptb-v2 .ptb-archive__top { display:block; }
  .ptb-v2 .ptb-category-strip { max-width:100%; margin-top:13px; }
  .ptb-v2 .ptb-card-grid { gap:17px; }
  .ptb-v2 .ptb-card__body { min-height:169px; padding:13px; }
  .ptb-v2 .ptb-card__title { font-size:14px; }
  .ptb-v2 .ptb-card__excerpt { font-size:11px; }
  .ptb-v2 .ptb-newsletter-container { margin-top:44px; }
  .ptb-v2 .ptb-newsletter-banner { min-height:230px; }
  .ptb-v2 .ptb-newsletter-banner h2 { font-size:24px; }
  .ptb-v2 .ptb-newsletter-banner p { font-size:13px; }
  .ptb-v2 .ptb-article-width { width:calc(100% - 36px); }
  .ptb-v2 .ptb-single { padding-top:30px; }
}
@media (max-width:520px) {
  .ptb-v2 .ptb-news-list { grid-template-columns:1fr; }
  .ptb-v2 .ptb-news-item { grid-template-columns:99px minmax(0,1fr); }
  .ptb-v2 .ptb-news-item h3 { font-size:13px; }
  .ptb-v2 .ptb-card-grid--4,.ptb-v2 .ptb-card-grid--3,
  .ptb-v2 .ptb-archive__results .ptb-card-grid--3 { grid-template-columns:1fr; }
  .ptb-v2 .ptb-card { flex-direction:row; min-height:148px; }
  .ptb-v2 .ptb-card__visual { flex:0 0 39%; aspect-ratio:auto; }
  .ptb-v2 .ptb-card__body { min-height:148px; padding:12px; }
  .ptb-v2 .ptb-card__title { font-size:13px; }
  .ptb-v2 .ptb-card__excerpt { font-size:11px; margin-bottom:8px; }
  .ptb-v2 .ptb-card__category { font-size:9px; max-width:90%; top:7px; left:6px; padding:4px 7px; }
  .ptb-v2 .ptb-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
  .ptb-v2 .ptb-footer h3 { font-size:15px; }
  .ptb-v2 .ptb-footer a { font-size:12px; }
}

/* ============================================================
   PT BLOG V2.2 | Fidelity / type hierarchy - 02 Nov 2026
   Based on screenshots of Marvel 99142473 and private preview.
   Changes are scoped under .ptb-v2 and do not alter Astra.
   ============================================================ */

/* The reference has a fine cool-grey outline on the white hero. */
.ptb-v2 .ptb-hero {
  border: 1px solid #e0e4eb;
  border-radius: 5px;
  box-shadow: 0 1px 2px rgb(16 28 48 / 3%);
}

/* The large hero needs to keep its panoramic proportions. The
   previous 390px floor made it excessively tall on laptops. */
@media (min-width: 1001px) {
  .ptb-v2 .ptb-hero__slides { min-height: 0; }
  .ptb-v2 .ptb-hero__slide,
  .ptb-v2 .ptb-hero__slide.is-active {
    min-height: 0;
    aspect-ratio: 3.02 / 1;
    grid-template-rows: minmax(0, 1fr);
  }
  .ptb-v2 .ptb-hero__content {
    padding-top: clamp(18px, 3vw, 48px);
    padding-bottom: clamp(35px, 5.4vw, 88px);
  }
  .ptb-v2 .ptb-hero__image {
    height: 100%;
    min-height: 0;
    position: relative;
    overflow: hidden;
  }
  .ptb-v2 .ptb-hero__image img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .ptb-v2 .ptb-hero__dots {
    bottom: clamp(25px,4.6vw,72px);
  }
}

/* Give the title and summary room, without changing any post copy. */
.ptb-v2 .ptb-hero__content h1 {
  font-size: clamp(29px, 2.18vw, 38px);
  letter-spacing: -.75px;
  line-height: 1.20;
}
.ptb-v2 .ptb-hero__content p {
  font-size: clamp(14px, 1.035vw, 17px);
  line-height: 1.54;
}

/* Content blocks: in the previous screenshots these read like
   footnotes compared with the prototype. Increase visual hierarchy. */
.ptb-v2 .ptb-section-heading h2,
.ptb-v2 .ptb-section-heading h1 {
  font-size: clamp(26px, 1.9vw, 31px);
  font-weight: 650;
}
.ptb-v2 .ptb-news-list { row-gap: 26px; }
.ptb-v2 .ptb-news-item { grid-template-columns: clamp(92px, 7.1vw, 118px) minmax(0,1fr); }
.ptb-v2 .ptb-news-item__image { height: clamp(85px, 6.8vw, 105px); }
.ptb-v2 .ptb-news-item h3 { font-size: clamp(16px, 1.08vw, 18px); line-height:1.40; font-weight: 550; }
.ptb-v2 .ptb-news-item time { font-size: 12px; }
.ptb-v2 .ptb-topic-box { box-shadow: 0 1px 1px rgb(11 27 54 / 2%); }
.ptb-v2 .ptb-topic-box h2 { font-size: clamp(19px, 1.38vw, 23px); line-height:1.33; }
.ptb-v2 .ptb-topic-box__tags a { font-size: 13px; padding: 7px 13px; border-width:1.25px; }

/* Article cards use the more legible visual type scale of Marvel. */
.ptb-v2 .ptb-tabs button { font-size: 16px; }
.ptb-v2 .ptb-card__body { padding: 17px 16px 16px; min-height:205px; }
.ptb-v2 .ptb-card__title { font-size: clamp(16px,1.075vw,19px); line-height:1.34; font-weight:600; margin-bottom:10px;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.ptb-v2 .ptb-card__excerpt { font-size: clamp(12.5px, .85vw, 14.5px); line-height:1.55;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.ptb-v2 .ptb-card__date { font-size:12px; line-height:1.45; }
.ptb-v2 .ptb-card__badges { display:flex; position:absolute; z-index:2; top:12px; left:12px; right:10px; gap:7px; flex-wrap:wrap; }
.ptb-v2 .ptb-card__badges .ptb-card__category { position:static; max-width:100%; font-size:11px; padding:5px 11px; }

/* Prototype cards are balanced and dense; avoid huge blank cards. */
.ptb-v2 .ptb-card__visual { aspect-ratio: 1.82 / 1; }
.ptb-v2 .ptb-card-grid { row-gap: 31px; }
.ptb-v2 .ptb-feed__actions { margin-top:34px; }
.ptb-v2 .ptb-newsletter-banner p { font-size:16px; }
.ptb-v2 .ptb-footer h3 { font-size:18px; }
.ptb-v2 .ptb-footer a { font-size:15px; }
.ptb-v2 .ptb-footer__bottom { font-size:13px; }

@media (min-width: 1001px) and (max-width: 1250px) {
  .ptb-v2 .ptb-hero__content { padding-left:clamp(48px,6.3vw,79px); padding-right:25px; }
  .ptb-v2 .ptb-hero__content h1 { font-size:clamp(27px,2.45vw,31px); }
  .ptb-v2 .ptb-hero__content p { font-size:14px; margin-bottom:10px; }
  .ptb-v2 .ptb-hero .ptb-btn { min-height:48px; }
  .ptb-v2 .ptb-hero__dots { bottom:21px; left:clamp(48px,6.3vw,79px); }
  .ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 305px; gap:26px; }
  .ptb-v2 .ptb-news-item { grid-template-columns:92px minmax(0,1fr); gap:11px; }
  .ptb-v2 .ptb-news-item__image { height:85px; }
  .ptb-v2 .ptb-news-item h3 { font-size:15px; }
  .ptb-v2 .ptb-card__title { font-size:16px; }
  .ptb-v2 .ptb-card__excerpt { font-size:12.5px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .ptb-v2 .ptb-hero { border: 1px solid #e0e4eb; }
  .ptb-v2 .ptb-news-item h3 { font-size:16px; }
  .ptb-v2 .ptb-topic-box__tags a { font-size:12px; }
}
@media (max-width: 760px) {
  .ptb-v2 .ptb-hero { border: 1px solid #e0e4eb; }
  .ptb-v2 .ptb-hero__content h1 { font-size:clamp(26px,5.8vw,34px); }
  .ptb-v2 .ptb-hero__content p { font-size:14px; }
  .ptb-v2 .ptb-news-item h3 { font-size:15px; }
  .ptb-v2 .ptb-news-item { grid-template-columns:85px minmax(0,1fr); }
  .ptb-v2 .ptb-news-item__image { height:80px; }
  .ptb-v2 .ptb-topic-box__tags a { font-size:12px; }
  .ptb-v2 .ptb-card__title { font-size:15px; }
  .ptb-v2 .ptb-card__excerpt { font-size:12px; }
  .ptb-v2 .ptb-card__date { font-size:11px; }
  .ptb-v2 .ptb-card__body { min-height:165px; }
  .ptb-v2 .ptb-footer h3 { font-size:16px; }
  .ptb-v2 .ptb-footer a { font-size:13px; }
}
@media (max-width: 440px) {
  .ptb-v2 .ptb-card__body { min-height:137px; padding:11px 10px; }
  .ptb-v2 .ptb-card__title { font-size:13px; -webkit-line-clamp:3; }
  .ptb-v2 .ptb-card__excerpt { font-size:11px; -webkit-line-clamp:2; }
  .ptb-v2 .ptb-card__badges { top:7px; left:5px; gap:3px; }
  .ptb-v2 .ptb-card__badges .ptb-card__category { font-size:8px; padding:3px 7px; }
}

/* ============================================================
 PORTALTERRENO / MARVEL 99142473 — strict home visual pass (V2.3)
 No decorative features beyond source. Scoped to the V2 subtree.
 Desktop measurement at 1660 px: 70 px gutters, 1520 px canvas.
 ============================================================ */
body.ptb-v2-active .ptb-v2,
.ptb-v2, .ptb-v2 :is(h1,h2,h3,h4,h5,h6,p,a,button,input,li,small,time) {
  font-family: 'Lexend', sans-serif !important;
  font-synthesis: none;
}
.ptb-v2 .ptb-container {
  width: min(1520px,calc(100% - 140px));
  max-width: none;
  margin-inline: auto;
}
.ptb-v2 .ptb-header { background:#0c1b34; }
.ptb-v2 .ptb-brand { min-width: 0; }
.ptb-v2 .ptb-brand img.ptb-brand__image {
  width:auto !important; height:auto !important; max-width:270px;
  max-height:48px; margin:0; object-fit:contain;
}
.ptb-v2 .ptb-brand__missing {
  color:#fff; font-size:13px; padding:8px 12px;
  outline:1px dashed #fff9; /* deliberate setup warning, not a fictitious brand asset */
}
.ptb-v2 .ptb-home { padding-top:61px; }
.ptb-v2 .ptb-hero { border:1px solid #d3d8e2; box-shadow:none; border-radius:5px; }
.ptb-v2 .ptb-hero__slide { grid-template-columns:48.35% 51.65%; }
.ptb-v2 .ptb-hero__arrow--prev { left:48.35%; }
.ptb-v2 .ptb-hero__arrow--next { right:0; }
.ptb-v2 .ptb-hero .ptb-btn--orange { background:#ff3215; border-radius:5px; }
.ptb-v2 .ptb-hero__content h1 { font-weight:700; color:#0c1b34; }
/* Reference section heading does not have an invented red side bar. */
.ptb-v2 .ptb-section-heading__accent { display:none!important; }
.ptb-v2 .ptb-section-heading { gap:0; }
/* Marvel @1660: topics 475, news 1000, gap 45 */
.ptb-v2 .ptb-news-section {
  display:grid;
  grid-template-columns:minmax(0,1fr) 475px;
  gap:45px; align-items:start;
  margin-bottom:33px;
}
.ptb-v2 .ptb-news-list { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:38px; row-gap:42px; }
.ptb-v2 .ptb-news-item { grid-template-columns:110px minmax(0,1fr); gap:19px; align-items:start; }
.ptb-v2 .ptb-news-item__image { width:110px; height:110px; border-radius:5px; }
.ptb-v2 .ptb-news-item h3 { font-size:20px; line-height:1.35; letter-spacing:-.23px; font-weight:500; }
.ptb-v2 .ptb-news-item time { font-size:15px; line-height:1.3; margin-top:8px; color:#9ca6b8; }
.ptb-v2 .ptb-topic-box { padding:29px 30px 38px; border:1px solid #e1e5ec; border-radius:5px; }
.ptb-v2 .ptb-topic-box h2 { font-size:24px; font-weight:650; line-height:1.28; margin-bottom:21px; }
.ptb-v2 .ptb-topic-box__tags { gap:9px 8px; }
.ptb-v2 .ptb-topic-box__tags a {
  background:#fff; border:2px solid #d1d9e6; color:#909ab0;
  font-size:15px; line-height:1.2; border-radius:100px;
  padding:8px 17px; white-space:nowrap;
}
/* Marvel: flat text tabs and a straight 3px orange underline.
   Astra's own button style must not turn this into a rounded capsule. */
.ptb-v2 .ptb-feed { padding-top:0; }
.ptb-v2 .ptb-tabs {
  display:flex; gap:60px; border:0; border-bottom:1px solid #dce1e9;
  margin:0 0 39px; padding:0 10px;
}
.ptb-v2 .ptb-tabs button,
.ptb-v2 .ptb-tabs button:hover,
.ptb-v2 .ptb-tabs button:focus,
.ptb-v2 .ptb-tabs button.is-active {
  display:block; position:relative; appearance:none;
  border:0 !important; border-radius:0 !important; outline-offset:2px;
  background:transparent !important; background-image:none !important;
  box-shadow:none !important; text-shadow:none !important;
  transform:none !important; text-transform:none;
  padding:0 0 20px !important; margin:0 !important;
  min-width:0; min-height:0; height:auto;
  font-size:20px; font-weight:400; letter-spacing:-.1px; line-height:1.3;
  color:#626c7c;
}
.ptb-v2 .ptb-tabs button::before,
.ptb-v2 .ptb-tabs button::after { content:none !important; display:none !important; }
.ptb-v2 .ptb-tabs button.is-active { color:#101e38; font-weight:500; }
.ptb-v2 .ptb-tabs button.is-active { border-bottom:3px solid #ff381d !important; margin-bottom:-2px !important; }
.ptb-v2 .ptb-tabs button:focus-visible { outline:2px solid #4a86ff !important; }
/* Marvel: four ~342px cards separated by ~50px (1520px container). */
.ptb-v2 .ptb-card-grid--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.ptb-v2 .ptb-card-grid { gap:43px 50px; }
.ptb-v2 .ptb-card { border-radius:5px; box-shadow:none; background:#fff; }
.ptb-v2 .ptb-card__visual { aspect-ratio:1.85 / 1; }
.ptb-v2 .ptb-card__body { padding:19px 24px 18px; min-height:222px; }
.ptb-v2 .ptb-card__title {
  font-size:19px; font-weight:500; line-height:1.30; letter-spacing:-.23px;
  margin-bottom:13px;
}
.ptb-v2 .ptb-card__excerpt { font-size:14px; line-height:1.55; color:#8792a4; margin-bottom:14px; }
.ptb-v2 .ptb-card__date { border-top:1px solid #e5eaf1; color:#9ba5b5; font-size:13px; padding-top:12px; }
.ptb-v2 .ptb-card__badges { top:16px; left:22px; gap:9px; }
.ptb-v2 .ptb-card__badges .ptb-card__category {
  background:#fff; border:0; color:#1b2945; border-radius:90px;
  padding:7px 16px; font-size:13px; font-weight:500;
}
/* Hide no additional overlays; only display real WordPress categories. */
.ptb-v2 .ptb-newsletter-container { margin-top:68px; }
.ptb-v2 .ptb-footer h3 { font-size:16px; }
.ptb-v2 .ptb-footer a { font-size:14px; }
/* When the browser cannot resolve an attachment, use a quiet neutral card.
   Never fabricate stock imagery or fake article photographs. */
.ptb-v2 .ptb-card__fallback { color:#5c6778; background:#edf0f5; font-size:13px; }
.ptb-v2 .is-image-missing { background:#edf0f5 !important; }
.ptb-v2 .is-image-missing::after { content:'Imagen no disponible'; color:#596479; font-weight:400; opacity:1; }
@media (max-width:1400px) and (min-width:1001px) {
  .ptb-v2 .ptb-container { width:calc(100% - 96px); }
  .ptb-v2 .ptb-news-section { grid-template-columns:minmax(0,1fr) 350px; gap:32px; }
  .ptb-v2 .ptb-news-list { column-gap:24px; row-gap:28px; }
  .ptb-v2 .ptb-news-item { grid-template-columns:95px minmax(0,1fr); gap:13px; }
  .ptb-v2 .ptb-news-item__image { width:95px; height:95px; }
  .ptb-v2 .ptb-news-item h3 { font-size:clamp(14px,1.35vw,18px); }
  .ptb-v2 .ptb-news-item time { font-size:12px; }
  .ptb-v2 .ptb-topic-box h2 { font-size:21px; }
  .ptb-v2 .ptb-topic-box__tags a { font-size:12px; padding:7px 11px; }
  .ptb-v2 .ptb-card-grid { column-gap:28px; }
  .ptb-v2 .ptb-card__body { padding:16px; min-height:200px; }
  .ptb-v2 .ptb-card__title { font-size:16px; }
  .ptb-v2 .ptb-card__excerpt { font-size:12px; }
  .ptb-v2 .ptb-card__date { font-size:11px; }
  .ptb-v2 .ptb-tabs button { font-size:17px; }
  .ptb-v2 .ptb-card__badges { top:10px; left:10px; }
  .ptb-v2 .ptb-card__badges .ptb-card__category { font-size:10px; padding:5px 10px; }
}
@media (max-width:1000px) {
  .ptb-v2 .ptb-container { width:calc(100% - 48px); }
  .ptb-v2 .ptb-news-section { grid-template-columns:1fr; gap:28px; }
  .ptb-v2 .ptb-topic-box { width:100%; }
  .ptb-v2 .ptb-news-item h3 { font-size:16px; }
  .ptb-v2 .ptb-card-grid--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ptb-v2 .ptb-card-grid { column-gap:23px; }
  .ptb-v2 .ptb-card__body { min-height:180px; }
  .ptb-v2 .ptb-tabs button { font-size:17px; }
}
@media (max-width:700px) {
  .ptb-v2 .ptb-container { width:calc(100% - 32px); }
  .ptb-v2 .ptb-home { padding-top:20px; }
  .ptb-v2 .ptb-news-list { grid-template-columns:1fr; row-gap:17px; }
  .ptb-v2 .ptb-news-item { grid-template-columns:100px 1fr; gap:12px; }
  .ptb-v2 .ptb-news-item__image { width:100px; height:100px; }
  .ptb-v2 .ptb-news-item h3 { font-size:15px; }
  .ptb-v2 .ptb-news-item time { font-size:11px; }
  .ptb-v2 .ptb-topic-box { padding:22px 20px; }
  .ptb-v2 .ptb-topic-box h2 { font-size:20px; }
  .ptb-v2 .ptb-topic-box__tags a { font-size:11px; padding:6px 10px; border-width:1px; }
  .ptb-v2 .ptb-tabs { gap:28px; padding-inline:0; margin-bottom:20px; }
  .ptb-v2 .ptb-tabs button { font-size:15px; padding-bottom:10px !important; }
  .ptb-v2 .ptb-card-grid { row-gap:18px; }
  .ptb-v2 .ptb-card__badges { top:7px; left:7px; gap:4px; }
  .ptb-v2 .ptb-card__badges .ptb-card__category { font-size:10px; padding:4px 8px; }
}
@media (max-width:440px) {
  .ptb-v2 .ptb-card-grid--4 { grid-template-columns:1fr; }
  .ptb-v2 .ptb-card__title { font-size:13px; }
  .ptb-v2 .ptb-card__excerpt { font-size:11px; }
  .ptb-v2 .ptb-card__date { font-size:10px; }
  .ptb-v2 .ptb-card__body { min-height:145px; padding:11px; }
}

/* Sidebar's vertical rhythm follows the five-chip-row reference on desktop,
   even when live taxonomy names occupy fewer rows than Marvel's sample data. */
@media (min-width:1401px) {
  .ptb-v2 .ptb-topic-box { min-height: 385px; }
}
@media (min-width:1001px) and (max-width:1400px) {
  .ptb-v2 .ptb-topic-box { min-height: 290px; }
}
@media (max-width:1000px) {
  .ptb-v2 .ptb-topic-box { min-height:0; }
}
@media (max-width:700px) {
  .ptb-v2 .ptb-tabs button,
  .ptb-v2 .ptb-tabs button.is-active,
  .ptb-v2 .ptb-tabs button:hover,
  .ptb-v2 .ptb-tabs button:focus { font-size:15px; }
}


/* ================================================================
   PortalTerreno V2.4 — Marvel 99142473: hero editorial + footer
   Corrección específica sobre V2.3; no modifica estilos de Astra.
   ================================================================ */
/* Hero: controles siempre fuera de la caja de texto.
   Los puntos ahora están dentro del flujo de cada slide, debajo del CTA. */
.ptb-v2 .ptb-hero__slides {
  position:relative;
  height:auto;
  min-height:0;
  aspect-ratio:1520 / 505;
  overflow:hidden;
  background:#fff;
}
.ptb-v2 .ptb-hero__slide,
.ptb-v2 .ptb-hero__slide.is-active {
  position:absolute;
  inset:0;
  width:100%; height:100%;
  display:grid;
  grid-template-columns:48.35% 51.65%;
  min-height:0;
  opacity:0; visibility:hidden;
  pointer-events:none;
  transition:opacity .42s ease-in-out, visibility 0s linear .42s;
}
.ptb-v2 .ptb-hero__slide.is-active {
  opacity:1; visibility:visible; pointer-events:auto;
  z-index:1;
  transition:opacity .42s ease-in-out, visibility 0s;
}
.ptb-v2 .ptb-hero__content {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  min-height:0;
  padding-top:26px;
  padding-bottom:26px;
  padding-right:clamp(28px,4vw,68px);
  overflow:hidden;
}
.ptb-v2 .ptb-hero__content h1 {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  line-clamp:4;
  overflow:hidden;
}
.ptb-v2 .ptb-hero__content p {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  margin-bottom:19px;
}
.ptb-v2 .ptb-hero__image { height:100%; min-height:0; }
.ptb-v2 .ptb-hero__image img { height:100%; object-fit:cover; }
.ptb-v2 .ptb-hero__dots {
  position:static;
  display:flex;
  align-items:center;
  gap:13px;
  margin:25px 0 0;
  padding:0;
  flex:none;
  height:14px;
}
.ptb-v2 .ptb-hero__dots button {
  display:block; flex:0 0 14px;
  width:14px; height:14px;
  margin:0 !important; padding:0 !important;
  border:0 !important; border-radius:50%;
  background:#b5bfd2;
  transition:background-color .18s ease;
}
.ptb-v2 .ptb-hero__dots button.is-active { background:#0c1b34; }
.ptb-v2 .ptb-hero__arrow {
  z-index:5;
  width:49px; height:84px;
  top:50%; transform:translateY(-50%);
  background:#fff;
  color:#344158;
  border:0 !important;
}
/* Antes la flecha de retroceso entraba en el bloque editorial.
   Ahora se aloja enteramente sobre la fotografía del hero. */
.ptb-v2 .ptb-hero__arrow--prev { left:48.35%; }
.ptb-v2 .ptb-hero__arrow--next { right:0; }
.ptb-v2 .ptb-hero__slide.is-active .ptb-hero__image img { animation:ptb-hero-image-in .55s ease-out both; }
.ptb-v2 .ptb-hero__slide.is-active .ptb-hero__content > :not(.ptb-hero__dots) { animation:ptb-hero-copy-in .42s ease-out both; }
@keyframes ptb-hero-image-in { from { opacity:.55; transform:scale(1.017); } to { opacity:1; transform:scale(1); } }
@keyframes ptb-hero-copy-in { from { opacity:.32; transform:translateY(7px); } to { opacity:1; transform:translateY(0); } }
/* Footer editorial: cuatro columnas con la última separada por una regla.
   El botón Subir está anclado al inicio del footer, no fijo en pantalla. */
.ptb-v2 .ptb-footer {
  position:relative;
  padding:102px 0 44px;
  background:#0c1b34;
  color:#b9c3d5;
}
.ptb-v2 .ptb-footer__inner { position:relative; }
.ptb-v2 .ptb-footer__grid {
  display:grid;
  grid-template-columns:1fr 1.23fr 1.03fr .82fr;
  column-gap:clamp(40px,4.6vw,78px);
  align-items:start;
}
.ptb-v2 .ptb-footer__grid > .ptb-footer__column {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  min-width:0;
}
.ptb-v2 .ptb-footer h3 {
  margin:0 0 8px;
  color:#fff;
  font-size:20px;
  line-height:1.3;
  font-weight:500;
  letter-spacing:-.25px;
}
.ptb-v2 .ptb-footer a:not(.ptb-backtop),
.ptb-v2 .ptb-footer__column > span {
  display:block;
  color:#b8c1d2;
  font-size:17px;
  line-height:1.36;
  font-weight:300;
  letter-spacing:-.08px;
  transition:color .2s ease;
}
.ptb-v2 .ptb-footer a:not(.ptb-backtop):hover { color:#fff; }
.ptb-v2 .ptb-footer__social {
  border-left:1px solid #8190a5;
  padding-left:clamp(35px,4.2vw,78px);
  min-height:147px;
}
.ptb-v2 .ptb-footer__bottom {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:36px;
  margin-top:78px;
  color:#b9c3d5;
  font-size:16px;
  line-height:1.4;
  font-weight:300;
}
.ptb-v2 .ptb-footer__locale { display:inline-flex; align-items:center; gap:7px; }
.ptb-v2 .ptb-footer__locale svg { flex:none; }
.ptb-v2 .ptb-backtop {
  position:absolute;
  z-index:20;
  top:-140px;
  right:0;
  display:flex;
  align-items:center;
  flex-direction:column;
  gap:9px;
  width:auto;
  height:auto;
  min-width:74px;
  border-radius:0;
  background:none;
  box-shadow:none;
  color:#fff;
  font-size:17px;
  line-height:1.2;
  font-weight:400;
}
.ptb-v2 .ptb-backtop__circle {
  display:grid; place-items:center;
  width:76px; height:76px;
  border:1px solid #d0d8e5;
  border-radius:50%;
  background:#fff;
  color:#0c1b34;
  box-shadow:0 4px 17px #07132e14;
}
.ptb-v2 .ptb-backtop:hover { color:#fff; }
.ptb-v2 .ptb-backtop:hover .ptb-backtop__circle { background:#f8faff; }
/* Interacciones deliberadamente discretas, no efectos ajenos a Marvel. */
@media (min-width:901px) and (max-width:1220px) {
  .ptb-v2 .ptb-hero__slides { aspect-ratio:auto; height:410px; }
  .ptb-v2 .ptb-hero__content { padding-left:clamp(40px,6vw,75px); padding-right:30px; }
  .ptb-v2 .ptb-hero__content h1 { font-size:clamp(22px,2.4vw,30px); }
  .ptb-v2 .ptb-hero__content p { font-size:13px; margin-bottom:13px; }
  .ptb-v2 .ptb-hero .ptb-btn { min-height:48px; min-width:165px; font-size:14px; }
  .ptb-v2 .ptb-hero__dots { margin-top:19px; }
}
@media (max-width:900px) {
  /* Mantener altura natural en móvil, sin recortar titulares. */
  .ptb-v2 .ptb-hero__slides { height:auto; aspect-ratio:auto; min-height:0; overflow:visible; }
  .ptb-v2 .ptb-hero__slide { position:relative; display:none; height:auto; visibility:hidden; transition:none; }
  .ptb-v2 .ptb-hero__slide.is-active { position:relative; display:flex; flex-direction:column-reverse; visibility:visible; height:auto; transition:none; }
  .ptb-v2 .ptb-hero__image { width:100%; height:260px; }
  .ptb-v2 .ptb-hero__content { width:100%; padding:23px 26px 29px; overflow:visible; }
  .ptb-v2 .ptb-hero__content h1 { -webkit-line-clamp:unset; line-clamp:unset; }
  .ptb-v2 .ptb-hero__content p { -webkit-line-clamp:unset; line-clamp:unset; }
  .ptb-v2 .ptb-hero__dots { margin-top:21px; }
  .ptb-v2 .ptb-hero__arrow { top:130px; transform:translateY(-50%); width:42px; height:54px; }
  .ptb-v2 .ptb-hero__arrow--prev { left:0; }
  .ptb-v2 .ptb-footer { padding:66px 0 38px; }
  .ptb-v2 .ptb-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px 32px; }
  .ptb-v2 .ptb-footer__social { border-left:0; padding-left:0; min-height:0; }
  .ptb-v2 .ptb-footer h3 { font-size:17px; }
  .ptb-v2 .ptb-footer a:not(.ptb-backtop),.ptb-v2 .ptb-footer__column > span { font-size:14px; }
  .ptb-v2 .ptb-footer__bottom { margin-top:45px; gap:13px 24px; font-size:12px; }
  .ptb-v2 .ptb-backtop { top:-106px; }
  .ptb-v2 .ptb-backtop__circle { width:58px; height:58px; }
  .ptb-v2 .ptb-backtop__label { font-size:13px; }
}
@media (max-width:540px) {
  .ptb-v2 .ptb-footer__grid { column-gap:20px; row-gap:31px; }
  .ptb-v2 .ptb-footer__bottom { flex-direction:column; align-items:flex-start; }
  .ptb-v2 .ptb-hero__image { height:210px; }
  .ptb-v2 .ptb-hero__arrow { top:105px; }
  .ptb-v2 .ptb-footer__social { border-left:0; }
}
@media (prefers-reduced-motion:reduce) {
  .ptb-v2 .ptb-hero__slide,
  .ptb-v2 .ptb-hero__slide.is-active { transition:none!important; }
  .ptb-v2 .ptb-hero__slide.is-active .ptb-hero__image img,
  .ptb-v2 .ptb-hero__slide.is-active .ptb-hero__content > :not(.ptb-hero__dots) { animation:none!important; }
}


/* =======================================================================
   PT BLOG V2.5 — SINGLE POST / 99142475 — 1:1 editorial correction
   This is isolated to .ptb-single and does not change Home/Archive styling.
   ======================================================================= */
/* A 3px orange progress line immediately below the global navigation.
   It becomes sticky at viewport top while reading, like Marvel. */
.ptb-v2 .ptb-reading-progress {
  position:sticky; top:0; z-index:90;
  width:100%; height:3px; background:#d7dce6;
  overflow:hidden; pointer-events:none;
}
.ptb-v2 .ptb-reading-progress__bar {
  display:block; height:100%; width:100%; background:#ff3215;
  transform:scaleX(var(--ptb-reading-fraction,0)); transform-origin:left center;
  will-change:transform;
}
/* Single editorial surface is ONE flat Marvel grey, no unexplained white
   top rectangle or white content island. Spacing sits on article itself. */
body.ptb-v2-active:has(.ptb-single),
body.ptb-v2-active:has(.ptb-single) .ptb-v2 { background:#f5f6f8!important; }
.ptb-v2 .ptb-single {
  background:#f5f6f8!important;
  padding-top:0!important;
  min-height:0;
}
.ptb-v2 .ptb-single .ptb-article {
  display:block;
  background:transparent!important;
  margin:0!important;
  border:0!important;
  box-shadow:none!important;
  padding:93px 0 0!important;
  width:100%; max-width:100%;
}
.ptb-v2 .ptb-single .ptb-article-width {
  width:calc(100% - 2 * clamp(24px,4.22vw,70px));
  max-width:996px;
  margin-inline:auto;
}
.ptb-v2 .ptb-single .ptb-article__header h1 {
  color:#0c1b34;
  font-size:clamp(34px,3.28vw,55px);
  font-weight:700;
  line-height:1.23;
  letter-spacing:-1.2px;
  margin:0 0 22px;
  max-width:100%;
}
.ptb-v2 .ptb-single .ptb-article__meta-and-share {
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:33px; gap:24px;
}
.ptb-v2 .ptb-single .ptb-article__meta {
  display:flex; flex-wrap:wrap; align-items:center; gap:9px;
  font-size:15px; line-height:1.45; color:#98a2b5;
}
.ptb-v2 .ptb-single .ptb-article__meta>span:first-child { color:#ff3215; }
.ptb-v2 .ptb-single .ptb-pill {
  padding:6px 17px; margin-left:10px; border:2px solid #0d1b34;
  color:#0d1b34; background:transparent; font-size:14px;
  border-radius:30px; line-height:1.15;
}
.ptb-v2 .ptb-single .ptb-article__lead {
  font-size:22px; line-height:1.77; font-weight:400;
  margin:29px 0 35px; color:#16243e;
}
.ptb-v2 .ptb-single .ptb-article__lead p { margin:0; }
.ptb-v2 .ptb-single .ptb-article__cover { margin:0 auto 22px; }
.ptb-v2 .ptb-single .ptb-article__cover-image {
  display:block; width:100%; height:auto; max-height:none;
  aspect-ratio: 996 / 550; object-fit:cover;
  border-radius:5px;
}
.ptb-v2 .ptb-single .ptb-article__cover figcaption {
  font-size:13px; color:#919bad; text-align:center; margin-top:11px;
}
.ptb-v2 .ptb-single .ptb-article__content {
  background:transparent!important;
  color:#1b2943; font-size:20px; line-height:1.68; font-weight:400;
  padding:18px 0 52px; overflow:visible;
}
.ptb-v2 .ptb-single .ptb-article__content :where(p,ul,ol,blockquote,figure,table) { margin-bottom:28px; }
.ptb-v2 .ptb-single .ptb-article__content :where(h2,h3,h4) {
  color:#101e38; font-weight:700; letter-spacing:-.4px;
  line-height:1.35; margin:48px 0 25px;
}
.ptb-v2 .ptb-single .ptb-article__content h2 { font-size:32px; }
.ptb-v2 .ptb-single .ptb-article__content h3 { font-size:26px; }
.ptb-v2 .ptb-single .ptb-article__content h4 { font-size:22px; }
.ptb-v2 .ptb-single .ptb-article__content :where(ul,ol) { padding-left:29px; }
.ptb-v2 .ptb-single .ptb-article__content li { margin:0 0 10px; }
.ptb-v2 .ptb-single .ptb-article__content :where(img,video) {
  max-width:100%; height:auto; border-radius:4px;
}
/* WP core embeds may reserve a 16:9 box while our previous height:auto
   shrank only the iframe. This led to a cropped video plus blank white area. */
.ptb-v2 .ptb-single .ptb-article__content :where(.wp-block-embed,.wp-block-embed__wrapper,.wp-block-video,.wp-has-aspect-ratio) {
  max-width:100%; height:auto; overflow:visible;
}
.ptb-v2 .ptb-single .ptb-article__content .wp-block-embed__wrapper {
  display:block; position:relative; aspect-ratio:16 / 9; width:100%;
  max-width:100%; overflow:hidden; border-radius:4px;
}
.ptb-v2 .ptb-single .ptb-article__content .wp-block-embed__wrapper::before { content:none!important; display:none!important; }
.ptb-v2 .ptb-single .ptb-article__content .wp-block-embed__wrapper > iframe {
  position:absolute!important; inset:0!important;
  width:100%!important; height:100%!important;
  max-width:none!important; max-height:none!important;
  display:block; border:0; aspect-ratio:auto;
}
.ptb-v2 .ptb-single .ptb-article__content iframe:is([src*="youtube.com"],[src*="youtube-nocookie.com"],[src*="youtu.be"],[src*="vimeo.com"]) {
  display:block; width:100%; max-width:100%;
  height:auto; aspect-ratio:16 / 9; border:0; border-radius:4px;
}
.ptb-v2 .ptb-single .ptb-article__content .wp-block-embed__wrapper > iframe:is([src*="youtube.com"],[src*="youtube-nocookie.com"],[src*="youtu.be"],[src*="vimeo.com"]) {
  height:100%!important; aspect-ratio:auto;
}
/* Do not compress the related cards or add a separator absent from Marvel. */
.ptb-v2 .ptb-single .ptb-related {
  border:0!important; background:#f5f6f8!important;
  padding-top:86px; padding-bottom:84px; margin-top:0;
}
.ptb-v2 .ptb-single .ptb-related .ptb-section-heading { margin-bottom:43px; }
.ptb-v2 .ptb-single .ptb-related .ptb-section-heading h2 {
  font-size:31px; font-weight:700; letter-spacing:-.65px;
}
/* Social actions use SVGs, tooltips like the prototype and keyboard focus. */
.ptb-v2 .ptb-single .ptb-article__share { display:flex; gap:11px; align-items:center; flex-shrink:0; }
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button) {
  position:relative; display:grid; place-items:center;
  width:29px; height:30px; background:#0c1b34; color:#fff;
  border:0; border-radius:2px; padding:5px; overflow:visible;
  font-size:14px; line-height:1;
}
.ptb-v2 .ptb-single .ptb-article__share svg { display:block; width:20px; height:20px; }
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button)::after {
  content:attr(data-ptb-tooltip); position:absolute;
  bottom:calc(100% + 15px); left:50%; transform:translate(-50%,5px);
  background:#0c1b34; color:#fff; padding:9px 13px;
  border-radius:4px; white-space:nowrap; font:500 13px/1.3 'Lexend',sans-serif;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .14s ease, transform .14s ease;
  z-index:50;
}
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button)::before {
  content:''; position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%);
  border:8px solid transparent; border-top-color:#0c1b34; border-bottom:0;
  opacity:0; visibility:hidden; pointer-events:none; z-index:50;
}
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button):is(:hover,:focus-visible)::after,
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button):is(:hover,:focus-visible)::before {
  opacity:1; visibility:visible;
}
.ptb-v2 .ptb-single .ptb-article__share > :is(a,button):is(:hover,:focus-visible)::after { transform:translate(-50%,0); }
@media (max-width:760px) {
  .ptb-v2 .ptb-single .ptb-article { padding-top:40px!important; }
  .ptb-v2 .ptb-single .ptb-article-width { width:calc(100% - 36px); }
  .ptb-v2 .ptb-single .ptb-article__header h1 { font-size:clamp(29px,6.2vw,42px); line-height:1.23; }
  .ptb-v2 .ptb-single .ptb-article__meta-and-share { align-items:flex-start; gap:17px; margin-bottom:23px; }
  .ptb-v2 .ptb-single .ptb-article__meta { font-size:12px; }
  .ptb-v2 .ptb-single .ptb-pill { font-size:11px; margin-left:0; }
  .ptb-v2 .ptb-single .ptb-article__lead { font-size:17px; line-height:1.65; margin:21px 0 24px; }
  .ptb-v2 .ptb-single .ptb-article__content { font-size:17px; line-height:1.75; }
  .ptb-v2 .ptb-single .ptb-article__content h2 { font-size:26px; }
  .ptb-v2 .ptb-single .ptb-article__content h3 { font-size:22px; }
  .ptb-v2 .ptb-single .ptb-related { padding-top:49px; padding-bottom:60px; }
  .ptb-v2 .ptb-single .ptb-related .ptb-section-heading h2 { font-size:26px; }
}
@media (prefers-reduced-motion: reduce) {
  .ptb-v2 .ptb-reading-progress__bar { transition:none!important; }
}

/* V2.6 — Ajustes aprobados para salida a producción (no altera la maqueta base). */
.ptb-v2 .ptb-single .ptb-single__back {
  display:inline-flex; align-items:center;
  margin:0 0 24px;
  color:#6b788e; font-size:15px; font-weight:400; line-height:1.5;
  text-decoration:none; transition:color .15s ease;
}
.ptb-v2 .ptb-single .ptb-single__back:hover,
.ptb-v2 .ptb-single .ptb-single__back:focus-visible { color:#ff351b; }
@media (max-width:760px) {
  .ptb-v2 .ptb-single .ptb-single__back { margin-bottom:18px; font-size:14px; }
}

/* PortalTerreno V2.7 — Newsletter operativo. Se conserva el diseño Marvel
   del banner y la línea naranja original de las pestañas. */
.ptb-v2 .ptb-newsletter__form { display:flex; flex-direction:column; gap:10px; }
.ptb-v2 .ptb-newsletter__form > label:not(.ptb-newsletter__consent) { display:block; font-size:13px; font-weight:500; color:#14223d; }
.ptb-v2 .ptb-newsletter__form input[type="email"] { display:block; box-sizing:border-box; width:100%; min-height:48px; padding:11px 13px; border:1px solid #ced6e4; background:#fff; color:#14223d; border-radius:5px; font-size:14px; box-shadow:none; }
.ptb-v2 .ptb-newsletter__form input[type="email"]:focus { border-color:#1269ed; outline:2px solid #d4e5ff; outline-offset:0; }
.ptb-v2 .ptb-newsletter__form .ptb-newsletter__consent { display:flex; align-items:flex-start; gap:9px; font-size:11px; font-weight:400; color:#697487; line-height:1.45; margin:2px 0; cursor:pointer; }
.ptb-v2 .ptb-newsletter__form .ptb-newsletter__consent input { flex:none; margin:2px 0 0; width:15px; height:15px; accent-color:#0d1b34; }
.ptb-v2 .ptb-newsletter__consent a { color:#0b56ae; text-decoration:underline; }
.ptb-v2 .ptb-newsletter__form .ptb-newsletter__submit { background:#0d1b34; color:#fff; border:0; border-radius:5px; padding:13px; min-height:48px; font-weight:500; font-size:14px; }
.ptb-v2 .ptb-newsletter__form .ptb-newsletter__submit:hover { background:#172c4c; color:#fff; }
.ptb-v2 .ptb-newsletter__form small { color:#778291; font-size:11px; line-height:1.4; }
.ptb-v2 .ptb-newsletter__trap { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.ptb-v2 .ptb-home-signup { max-width:530px; }
.ptb-v2 .ptb-newsletter--home { border:1px solid #e5e8ed; box-shadow:0 6px 22px #101e380d; }
@media (max-width:700px) { .ptb-v2 .ptb-newsletter__form input[type="email"] { font-size:16px; } }
