/*
Theme Name: PT Soberanista Propio
Theme URI: https://partidodeltrabajo.cl/
Author: Tema independiente para Partido del Trabajo de Chile
Description: Diseño WordPress independiente inspirado en la composición pública del portal Soberanista. Usa publicaciones, menús e imágenes del sitio instalado; no incluye código ni recursos del tema Social Activism.
Version: 0.8.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pt-soberanista-propio
License: GNU General Public License v2 or later
*/
:root{--pt-red:#e22336;--pt-dark:#131d32;--pt-blue:#203c66;--pt-text:#222936;--pt-muted:#667184;--pt-line:#e6e9ee;--pt-bg:#fff;--pt-max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--pt-bg);color:var(--pt-text);line-height:1.6}a{color:inherit;text-decoration:none}a:hover{color:var(--pt-red)}img{max-width:100%;height:auto;display:block}.container{width:min(calc(100% - 38px),var(--pt-max));margin:auto}.skip-link{position:absolute;left:-999px}.skip-link:focus{left:15px;top:10px;background:white;z-index:10000;padding:8px}.eyebrow{text-transform:uppercase;font-size:.72rem;letter-spacing:2px;font-weight:800;color:var(--pt-red)}
.topbar{background:#101a2c;color:#dfe5ee;font-size:11px}.topbar .container{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:10px 0}.topbar a:hover{color:white}.mainhead{background:#fff;border-bottom:1px solid #efefef;position:relative;z-index:10}.head-inner{display:flex;align-items:center;justify-content:space-between;min-height:87px;gap:22px}.branding{display:flex;align-items:center;gap:14px;max-width:310px}.custom-logo{max-width:74px;max-height:70px;width:auto}.site-name{display:block;font-size:18px;font-weight:900;line-height:1.12;text-transform:uppercase;letter-spacing:-.4px}.site-tagline{display:block;color:#667184;font-size:11px;margin-top:4px}.navigation{display:flex;align-items:center;gap:24px}.navigation ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.navigation li{position:relative}.navigation a{font-size:12px;text-transform:uppercase;font-weight:800}.navigation .sub-menu{display:none;position:absolute;left:0;top:100%;background:white;box-shadow:0 7px 25px #0002;padding:15px;min-width:190px;z-index:100}.navigation li:hover>.sub-menu,.navigation li:focus-within>.sub-menu{display:block}.navigation .sub-menu li{margin-bottom:10px}.button,.nav-cta{display:inline-block;background:var(--pt-red);color:white!important;border:0;border-radius:2px;padding:12px 19px;text-transform:uppercase;font-size:11px;letter-spacing:.35px;font-weight:800;cursor:pointer}.button:hover,.nav-cta:hover{background:var(--pt-dark);color:white!important}.mobile-toggle{display:none;border:1px solid var(--pt-line);background:white;padding:8px 12px;font-size:20px;cursor:pointer}
.hero{position:relative;background:#2a405c;min-height:470px;color:white;overflow:hidden}.hero-slide{display:none;min-height:470px;position:relative;align-items:center}.hero-slide.is-active{display:flex}.hero-photo,.hero-shade{position:absolute;inset:0}.hero-photo{background:#394862 center/cover no-repeat;transform:scale(1.01)}.hero-shade{background:linear-gradient(90deg,rgba(12,29,49,.78) 0%,rgba(17,34,55,.37) 58%,rgba(16,24,49,.28) 100%)}.hero-content{position:relative;z-index:1;padding:60px 0 135px;max-width:var(--pt-max);width:min(calc(100% - 38px),var(--pt-max));margin:auto}.hero-content .eyebrow{color:#f4d8dc}.hero-content h1{font-size:clamp(40px,5vw,70px);letter-spacing:-2px;text-transform:uppercase;line-height:1.05;margin:13px 0 17px;max-width:740px;text-shadow:0 2px 15px #0003}.hero-content p{font-size:17px;max-width:630px;margin:0 0 25px}.hero-dots{position:absolute;z-index:2;right:clamp(20px,5vw,80px);top:43%;display:flex;flex-direction:column;gap:10px}.hero-dot{width:10px;height:10px;background:transparent;border:1px solid #fff;border-radius:50%;cursor:pointer;padding:0}.hero-dot.is-active{background:white}.hero-bottom{margin-top:-77px;position:relative;z-index:3}.quicklinks{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quicklink{min-height:125px;background:white;box-shadow:0 5px 17px #12203919;padding:28px;display:flex;flex-direction:column;justify-content:center;border-top:4px solid var(--pt-red);transition:transform .2s}.quicklink:hover{transform:translateY(-5px)}.quicklink small{text-transform:uppercase;font-size:10px;color:var(--pt-muted);letter-spacing:2px}.quicklink strong{text-transform:uppercase;font-size:24px;line-height:1.1;color:var(--pt-dark)}.quicklink span{font-size:11px;text-transform:uppercase;margin-top:7px;font-weight:800;color:var(--pt-red)}
.section{padding:75px 0}.section-heading{margin-bottom:26px}.section-heading h2{font-size:33px;text-transform:uppercase;letter-spacing:-1px;line-height:1.1;margin:8px 0}.section-heading p{color:var(--pt-muted);margin:0}.posts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.post-card{border:1px solid var(--pt-line);background:white;overflow:hidden}.post-card-image{aspect-ratio:16/10;background:#ebeff3;overflow:hidden}.post-card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.post-card:hover img{transform:scale(1.04)}.post-card-body{padding:22px}.post-date{color:var(--pt-red);font-size:11px;text-transform:uppercase;font-weight:700;letter-spacing:.4px}.post-card h3{font-size:19px;line-height:1.3;margin:12px 0}.post-card p{font-size:14px;color:#626c7b}.readmore{text-transform:uppercase;color:var(--pt-red);font-weight:800;font-size:11px}.featureband{background:#17243d;color:white;padding:66px 0}.featureband-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.featureband h2{font-size:35px;margin:0 0 9px;text-transform:uppercase;line-height:1.1}.featureband p{margin:0;max-width:670px;color:#cbd4e0}.featureband .button{white-space:nowrap}.section-alt{background:#f5f6f8}.page-intro{background:#1a2a45;color:white;padding:65px 0}.page-intro h1{font-size:38px;line-height:1.2;margin:0}.content-area{padding:55px 0 90px}.article-content{max-width:850px;font-size:17px}.article-content img{height:auto}.article-content a{color:var(--pt-red);text-decoration:underline}.article-featured{width:100%;height:auto;max-height:520px;object-fit:cover;margin:25px 0}.pagination{margin-top:42px}.pagination .page-numbers{display:inline-block;padding:8px 12px;border:1px solid var(--pt-line);margin-right:4px}.pagination .current{background:var(--pt-red);color:white}.no-posts{padding:40px;background:#f5f6f8}.footer{background:#101a2c;color:#cbd2dc;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:40px}.footer h3{color:white;margin-top:0;text-transform:uppercase}.footer p{font-size:14px}.footer ul{padding:0;list-style:none}.footer li{margin:5px 0}.footer-bottom{border-top:1px solid #ffffff1c;margin-top:33px;padding-top:20px;font-size:12px}.footer a:hover{color:white}
@media(max-width:940px){.mobile-toggle{display:block}.head-inner{flex-wrap:wrap;padding:15px 0}.navigation{display:none;width:100%;flex-direction:column;align-items:stretch;padding:15px 0}.navigation.is-open{display:flex}.navigation ul{flex-direction:column;align-items:stretch;gap:0}.navigation li{border-bottom:1px solid #eee;padding:10px 0}.navigation .sub-menu{display:block;position:static;box-shadow:none;padding:6px 16px}.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.container{width:min(calc(100% - 28px),var(--pt-max))}.topbar .container{flex-direction:column;gap:2px;padding:8px 0}.hero,.hero-slide{min-height:490px}.hero-content{padding:48px 0 140px}.hero-content h1{font-size:38px;letter-spacing:-1px}.hero-content p{font-size:14px}.hero-dots{right:17px;top:auto;bottom:110px;flex-direction:row}.hero-bottom{margin-top:-75px}.quicklinks{grid-template-columns:1fr;gap:8px}.quicklink{min-height:83px;padding:15px 20px}.quicklink strong{font-size:18px}.section{padding:55px 0}.posts-grid{grid-template-columns:1fr}.featureband-inner{display:block}.featureband .button{margin-top:25px}.footer-grid{grid-template-columns:1fr}.page-intro h1{font-size:29px}}

/* Version 0.2: independent layout refinements informed by visual inspection. */
:root{--pt-max:1200px}
.topbar .container{padding:7px 0}
.head-inner{min-height:76px;gap:14px}
.branding{max-width:260px;min-width:210px;gap:10px}
.branding .custom-logo{max-width:64px;max-height:57px;object-fit:contain}
.site-name{font-size:15px;letter-spacing:-.2px;line-height:1.18}
.site-tagline{font-size:10px;line-height:1.3}
.navigation,.navigation ul{gap:clamp(10px,1.2vw,21px)}
.navigation a{font-size:11px;letter-spacing:.12px}
.nav-cta{white-space:nowrap;padding:11px 15px}
.hero,.hero-slide{min-height:500px}
.hero-content{padding:55px 0 155px}
.hero-content h1{font-size:clamp(30px,3.4vw,49px);max-width:690px;line-height:1.13;letter-spacing:-1.1px;margin:13px 0 17px;overflow-wrap:break-word}
.hero-content p{font-size:15px;max-width:580px;line-height:1.55}
.hero-shade{background:linear-gradient(90deg,rgba(12,29,49,.85),rgba(17,34,55,.42) 60%,rgba(16,24,49,.24))}
.hero-bottom{margin-top:-88px}
.quicklinks{gap:14px}
.quicklink{min-height:145px;border-top:0;padding:22px 25px 22px 29px;position:relative;overflow:hidden}
.quicklink:before{content:"";position:absolute;top:0;right:0;bottom:0;width:32%;opacity:.16;background:radial-gradient(circle at 70% 45%,var(--pt-red) 0 24%,transparent 25%),linear-gradient(135deg,transparent 30%,var(--pt-blue) 31% 55%,transparent 56%);pointer-events:none}
.quicklink:nth-child(2):before{background:repeating-linear-gradient(45deg,var(--pt-blue) 0 12px,transparent 12px 24px)}
.quicklink:nth-child(3):before{background:radial-gradient(circle at 70% 60%,var(--pt-red) 0 32%,transparent 33%)}
.quicklink small,.quicklink strong,.quicklink span{position:relative;z-index:1}
.quicklink strong{font-size:20px;max-width:82%}
.section{padding:66px 0}
.section-heading h2{font-size:31px}
.posts-grid{gap:22px}
.post-card-image{aspect-ratio:16/9}
.post-card-body{padding:18px}
.post-card h3{font-size:17px;line-height:1.32}
.post-card p{font-size:13px}
.featureband{padding:48px 0}
.featureband h2{font-size:30px}
.footer-grid{grid-template-columns:2fr 1fr 1fr}
.footer h3{font-size:17px}
.footer .footer-contact a{color:#f2f4f8}
@media(max-width:1110px){.branding{min-width:185px;max-width:220px}.navigation,.navigation ul{gap:10px}.navigation a{font-size:10px}.nav-cta{padding:10px}}
@media(max-width:940px){.navigation a{font-size:12px}.branding{max-width:unset}.hero-content h1{font-size:clamp(32px,5vw,46px)}.footer-grid{grid-template-columns:1.5fr 1fr}}
@media(max-width:620px){.head-inner{min-height:70px}.site-name{font-size:14px}.hero,.hero-slide{min-height:510px}.hero-content{padding:40px 0 142px}.hero-content h1{font-size:clamp(28px,8vw,37px);letter-spacing:-.6px;max-width:calc(100% - 18px)}.hero-content p{font-size:14px}.hero-bottom{margin-top:-70px}.quicklink{min-height:100px;padding:18px}.quicklink strong{font-size:18px}.posts-grid{gap:16px}.post-card-image{aspect-ratio:16/9}.section-heading h2{font-size:28px}.footer-grid{grid-template-columns:1fr}}

/* Version 0.3: original independent layout; editorial hierarchy adjusted to reference site. */
:root{--pt-max:1170px}
.topbar .container{padding:6px 0}
.head-inner{min-height:70px}
.branding{flex:0 0 auto;min-width:0;max-width:235px}
.branding .custom-logo{max-width:59px;max-height:53px}
.site-name{font-size:14px;line-height:1.08;letter-spacing:0}
.site-tagline{font-size:10px}
.navigation{margin-left:auto}
.navigation,.navigation ul{gap:clamp(8px,1vw,15px)}
.navigation a{font-size:10.5px}
.nav-cta{padding:10px 13px}
.hero,.hero-slide{min-height:455px}
.hero-content{padding:44px 0 116px}
.hero-content h1{font-size:clamp(27px,3vw,43px);line-height:1.12;max-width:660px;letter-spacing:-.5px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.hero-content h1 a{color:inherit}
.hero-content h1 a:hover{color:#fff;text-decoration:underline;text-decoration-thickness:2px}
.hero-content p{font-size:14px;max-width:520px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-shade{background:linear-gradient(90deg,rgba(14,28,46,.88),rgba(21,37,61,.45) 55%,rgba(13,33,58,.15))}
.hero-bottom{margin-top:-82px}
.quicklinks{gap:12px}
.quicklink{min-height:115px;padding:18px 20px;border:1px solid #f0f1f3;box-shadow:0 8px 21px #14243d13}
.quicklink:before{width:28%;opacity:.12}
.quicklink strong{font-size:19px;max-width:83%}
.section{padding:59px 0}
.section-heading{margin-bottom:22px}
.section-heading h2{font-size:28px;margin:6px 0 9px}
.section-heading p{font-size:14px}
.posts-grid{gap:19px}
.post-card{border:1px solid #edf0f3;box-shadow:0 3px 13px #14243d09}
.post-card-image{aspect-ratio:1.55}
.post-card-body{padding:17px 17px 20px}
.post-card h3{font-size:17px;line-height:1.29;margin:8px 0 10px}
.post-card p{font-size:13px;line-height:1.5;margin:0 0 12px}
.featureband{padding:40px 0}
.featureband h2{font-size:26px}
.section-alt{background:#f5f7fa}
.footer{padding-top:44px}
@media(max-width:1100px){.navigation,.navigation ul{gap:8px}.navigation a{font-size:10px}.branding{max-width:205px}}
@media(max-width:940px){.navigation a{font-size:12px}.hero-content h1{font-size:clamp(29px,4vw,41px)}.quicklink strong{font-size:17px}}
@media(max-width:620px){.head-inner{gap:10px}.branding{max-width:calc(100% - 70px)}.branding .custom-logo{max-width:53px}.site-name{font-size:13px}.hero,.hero-slide{min-height:440px}.hero-content{padding:35px 0 120px}.hero-content h1{font-size:clamp(25px,7vw,34px);-webkit-line-clamp:4}.hero-content p{font-size:13px}.hero-bottom{margin-top:-64px}.quicklink{min-height:90px}.quicklink strong{font-size:17px}.section{padding:43px 0}.section-heading h2{font-size:25px}.posts-grid{gap:20px}.post-card-image{aspect-ratio:1.6}.featureband{padding:38px 0}.featureband h2{font-size:24px}}

/* Version 0.4: editorial cards show title, metadata, and excerpt without extra scrolling. */
.posts-grid{align-items:stretch;gap:22px}
.post-card{display:flex;flex-direction:column;min-width:0;box-shadow:0 5px 18px rgba(14,27,47,.07);border:1px solid #e8edf2}
.post-card-image{display:block;flex:none;aspect-ratio:auto;height:195px;overflow:hidden;background:#edf0f4}
.post-card-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.post-card-placeholder{height:100%;display:flex;align-items:center;justify-content:center;padding:22px;color:#5d6877;font-size:13px;text-align:center}
.post-card-body{display:flex;flex-direction:column;flex:1;padding:19px 20px 21px}
.post-card-meta{color:#768193;font-size:11px;line-height:1.5;letter-spacing:.15px;margin-bottom:8px}
.post-category{color:var(--pt-red);font-weight:800;text-transform:uppercase;letter-spacing:.6px}
.post-card .post-date{font-weight:500;font-size:11px;color:#768193;text-transform:none;letter-spacing:0}
.post-card h3{font-size:18px;line-height:1.3;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card h3 a:hover{text-decoration:underline;text-decoration-thickness:1px}
.post-card p{font-size:13px;line-height:1.55;color:#647082;margin:0 0 17px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card .readmore{margin-top:auto;font-size:11px}
.quicklink{border-bottom:3px solid transparent}
.quicklink:hover,.quicklink:focus-visible{border-bottom-color:var(--pt-red)}
.hero-content h1{max-width:620px;font-size:clamp(27px,2.85vw,40px)}
.hero-content p{max-width:530px}
.section-alt .post-card-image{height:185px}
@media(max-width:940px){.post-card-image{height:175px}.section-alt .post-card-image{height:175px}}
@media(max-width:620px){.posts-grid{gap:18px}.post-card-image,.section-alt .post-card-image{height:185px}.post-card-body{padding:17px 18px 19px}.post-card h3{font-size:18px}.post-card p{-webkit-line-clamp:2}}

/* v0.5: refined masthead, original decorative geometry, balanced editorial cards and institutional footer. */
:root{--pt-max:1170px}
.topbar{letter-spacing:.08px}.topbar .container{padding:7px 0}
.head-inner{min-height:78px;gap:22px}
.branding{max-width:278px;gap:12px}
.branding .custom-logo{max-width:69px;max-height:63px}
.site-name{font-size:15px;line-height:1.13}
.site-tagline{font-size:10px}
.navigation{gap:15px}
.navigation ul{gap:clamp(10px,1.05vw,18px)}
.navigation a{font-size:10.5px}
.hero,.hero-slide{min-height:470px}
.hero-content{padding-top:42px;padding-bottom:125px}
.hero-content h1{font-size:clamp(29px,2.95vw,42px);line-height:1.14;max-width:630px}
.hero-content p{max-width:520px}
.hero-bottom{margin-top:-89px}
.quicklinks{gap:13px}
.quicklink{min-height:128px;padding:22px 24px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;border:1px solid #e8eaef;border-bottom:3px solid transparent;isolation:isolate}
.quicklink:before{display:none}
.quicklink-text{position:relative;z-index:2;display:flex;flex-direction:column;min-width:0;max-width:70%}
.quicklink-text small{font-size:10px;letter-spacing:1.5px;color:#697182}
.quicklink-text strong{font-size:18px;line-height:1.15;max-width:none;margin-top:3px}
.quicklink-text>span{font-size:10px;letter-spacing:.15px;white-space:nowrap}
.quicklink-art{width:88px;height:95px;flex:0 0 88px;align-self:end;color:var(--pt-red);opacity:.80;transform:rotate(-8deg);transition:transform .25s,opacity .25s}
.quicklink-art svg{width:100%;height:100%;fill:currentColor}
.quicklink-principles .quicklink-art{color:#154a7c;transform:rotate(8deg)}
.quicklink-activity .quicklink-art{color:#e43c48;transform:rotate(-10deg)}
.quicklink:hover .quicklink-art{transform:rotate(0) scale(1.09);opacity:1}
.quicklink:hover{transform:translateY(-4px);border-bottom-color:var(--pt-red)}
.posts-grid{gap:21px}
.post-card-image,.section-alt .post-card-image{height:195px}
.post-card-body{min-height:240px}
.featureband{background:linear-gradient(105deg,#162440,#263d65);position:relative;overflow:hidden}
.featureband:after{content:"";position:absolute;right:12%;top:-100px;width:330px;height:330px;border:54px solid #ffffff08;border-radius:50%;pointer-events:none}
.featureband-inner{position:relative;z-index:1}
.footer{background:#111a2a;padding-top:55px}
.footer-grid{grid-template-columns:1.7fr .85fr 1.2fr;gap:35px}
.footer h3{font-size:15px;letter-spacing:.4px}
.footer-directory{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.footer-directory a{font-size:12px;border:1px solid #ffffff30;padding:6px 9px}
.footer-bottom{margin-top:34px}
@media(max-width:1100px){.head-inner{gap:12px}.branding{max-width:215px}.branding .custom-logo{max-width:55px}.site-name{font-size:13px}.navigation,.navigation ul{gap:8px}.navigation a{font-size:10px}.quicklink-art{width:65px;flex-basis:65px}}
@media(max-width:940px){.navigation a{font-size:12px}.head-inner{min-height:70px}.branding{max-width:unset}.quicklink-art{width:70px;flex-basis:70px}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.quicklinks{gap:9px}.quicklink{min-height:95px;padding:15px 18px}.quicklink-text strong{font-size:17px}.quicklink-art{height:68px;flex-basis:70px}.hero-bottom{margin-top:-65px}.hero-content h1{font-size:clamp(26px,7vw,35px)}.post-card-body{min-height:0}.footer-grid{grid-template-columns:1fr}.footer-directory{gap:7px}}

/* v0.6 — tarjetas configurables y refinamiento de cabecera y pie. */
.quicklink.has-photo{position:relative;isolation:isolate;overflow:hidden}
.quicklink-image{position:absolute;inset:0 0 0 auto;width:43%;height:100%;object-fit:cover;z-index:-1;transition:transform .25s ease}
.quicklink.has-photo:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#fff 0%,#fff 54%,transparent 78%);z-index:-1}
.quicklink.has-photo:before{display:none}
.quicklink:hover .quicklink-image{transform:scale(1.06)}
.footer-social{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
.footer-social a{display:inline-block;padding:5px 9px;border:1px solid #ffffff45;border-radius:2px;font-size:12px}
.footer-social a:hover{background:var(--pt-red);color:#fff}
@media(max-width:620px){.quicklink-image{width:38%}.quicklink.has-photo:after{background:linear-gradient(90deg,#fff 0%,#fff 58%,transparent 88%)}}

/* PT 0.7 - barra lateral nativa WordPress */
.ptsp-with-sidebar{display:grid;grid-template-columns:minmax(0,7fr) minmax(260px,3fr);gap:40px;align-items:start}
.ptsp-with-sidebar .article-content{max-width:100%;min-width:0}
.ptsp-archive-main{min-width:0}
.ptsp-archive-layout .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ptsp-sidebar{min-width:0}
.ptsp-widget{background:#fff;border:1px solid #e5e9ef;padding:22px;margin:0 0 24px;overflow-wrap:anywhere}
.ptsp-widget-title{font-size:19px;line-height:1.3;text-transform:uppercase;margin:0 0 18px;color:var(--pt-dark,#17243d)}
.ptsp-widget ul{list-style:none;padding:0;margin:0}
.ptsp-widget li{margin:0;padding:10px 0;border-bottom:1px solid #e8ebef}
.ptsp-widget li:last-child{border-bottom:0}
.ptsp-widget a{text-decoration:none;color:inherit}
.ptsp-widget a:hover{color:var(--pt-red,#e22336)}
.ptsp-recent-posts li a{display:flex;gap:11px;align-items:flex-start}
.ptsp-recent-posts img{width:72px;height:65px;object-fit:cover;flex:none}
.ptsp-recent-posts strong{font-size:13px;line-height:1.35;display:block}
.ptsp-recent-posts small{font-size:11px;color:#707987;display:block;margin-top:5px}
.ptsp-sidebar iframe,.ptsp-sidebar video,.ptsp-sidebar embed{max-width:100%}
@media(max-width:940px){.ptsp-with-sidebar{grid-template-columns:minmax(0,1fr);gap:30px}.ptsp-archive-layout .posts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ptsp-archive-layout .posts-grid{grid-template-columns:1fr}.ptsp-widget{padding:18px}}

/* Comentarios nativos — v0.7.1 */
.ptsp-comments{margin-top:44px;padding-top:30px;border-top:1px solid var(--pt-line)}
.ptsp-comments-title,.ptsp-comments .comment-reply-title{font-size:24px;line-height:1.25;color:var(--pt-dark)}
.ptsp-comment-list{list-style:none;padding:0;margin:25px 0}.ptsp-comment-list .comment{padding:18px 0;border-bottom:1px solid var(--pt-line)}
.ptsp-comment-list .children{list-style:none;padding-left:25px;border-left:2px solid var(--pt-line)}
.ptsp-comments .comment-author{display:flex;align-items:center;gap:10px;font-weight:700}.ptsp-comments .comment-author img{border-radius:50%}
.ptsp-comments .comment-metadata{font-size:12px;color:var(--pt-muted)}.ptsp-comments .comment-content{margin:12px 0}
.ptsp-comments .comment-respond{margin-top:25px}.ptsp-comments .comment-form label{display:block;font-size:14px;font-weight:700;margin-bottom:5px}
.ptsp-comments .comment-form textarea,.ptsp-comments .comment-form input:not([type=checkbox]):not([type=submit]){width:100%;max-width:100%;border:1px solid #cbd1db;border-radius:3px;padding:11px;font:inherit}
.ptsp-comments .comment-form input[type=submit]{background:var(--pt-red);color:white;padding:13px 20px;border:0;border-radius:3px;cursor:pointer;font-weight:700}
.ptsp-comments .comment-form-cookies-consent label{display:inline;font-weight:400}.ptsp-comments-closed{color:var(--pt-muted)}

/* v0.8: mayor presencia del logotipo, sin alterar menus móviles */
@media(min-width:1101px){.head-inner{min-height:100px;gap:14px}.branding{max-width:345px;min-width:270px;gap:13px}.branding .custom-logo{max-width:96px;max-height:86px;width:auto;height:auto;object-fit:contain}.site-name{font-size:16px}.navigation,.navigation ul{gap:clamp(8px,.8vw,14px)}}
@media(min-width:941px) and (max-width:1100px){.branding{max-width:255px;min-width:220px}.branding .custom-logo{max-width:76px;max-height:70px;width:auto;height:auto}.head-inner{min-height:88px}}
@media(max-width:940px){.branding .custom-logo{max-width:85px;max-height:78px;width:auto;height:auto}}
@media(max-width:620px){.branding .custom-logo{max-width:72px;max-height:68px}.site-name{font-size:14px}}
/* Navegación anterior y siguiente bajo el contenido de cada noticia */
.ptsp-post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:40px 0 20px}
.ptsp-post-nav-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:165px;padding:24px 19px;color:#fff!important;background:#20304b center/cover no-repeat;overflow:hidden;text-align:center;text-decoration:none!important;isolation:isolate}
.ptsp-post-nav-card:before{content:"";position:absolute;inset:0;background:rgba(11,24,45,.78);z-index:-1;transition:background .2s}
.ptsp-post-nav-card:hover:before,.ptsp-post-nav-card:focus-visible:before{background:rgba(11,24,45,.59)}
.ptsp-post-nav-card .ptsp-post-nav-label{display:block;color:#ff6074;font-size:12px;text-transform:uppercase;letter-spacing:1px;font-weight:800;margin-bottom:8px}
.ptsp-post-nav-card strong{color:#fff;font-size:19px;line-height:1.25;overflow-wrap:anywhere}
.ptsp-post-nav-empty{visibility:hidden}
/* Galerías del editor Gutenberg o clásicas en entradas */
.entry-content .wp-block-gallery{margin:25px 0}.entry-content .wp-block-gallery img{height:auto;max-width:100%}
@media(max-width:620px){.ptsp-post-nav{grid-template-columns:1fr}.ptsp-post-nav-card{min-height:130px}.ptsp-post-nav-empty{display:none}}

/* v0.8.1: bandera configurable en el pie de página */
.footer-flag-wrap{margin:14px 0 10px}
.footer-flag{max-width:180px;width:100%;height:auto;display:block;border:1px solid #ffffff1f}
