/* COPPPAL PARTIDOS — v1.6 */
body.copppal-partidos {background:#f4f2ec;color:#12291b}
body.copppal-partidos .pm-main{overflow:hidden}
.pm-hero{isolation:isolate;position:relative;background:radial-gradient(ellipse 85% 100% at 105% -35%,#13482d 0%,transparent 70%),#04110b;color:#eff9f0;overflow:hidden}
.pm-hero:before{content:"";position:absolute;inset:0;opacity:.11;background-image:radial-gradient(#afdec1 .75px,transparent .75px);background-size:22px 22px;pointer-events:none}
.pm-orb{position:absolute;border:1px solid rgba(126,219,159,.14);border-radius:50%;pointer-events:none}.pm-orb-one{width:650px;height:650px;right:-190px;top:-130px}.pm-orb-two{width:930px;height:930px;right:-320px;top:-260px}
.pm-hero-layout{position:relative;z-index:1;min-height:565px;display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding-block:80px 74px}
.pm-overline{font-size:11px;letter-spacing:.19em;color:#d4b66f;font-weight:750;margin-top:28px}
.pm-hero h1{font-size:clamp(59px,7.7vw,113px);line-height:.98;letter-spacing:-.068em;font-weight:820;margin:20px 0 24px;max-width:850px}.pm-hero h1 em{color:#9dddaf;font-style:normal}
.pm-lead{color:#bfd0c3;max-width:620px;font-size:clamp(16px,1.8vw,20px);line-height:1.73}
.pm-hero-actions{display:flex;gap:13px;margin-top:32px;flex-wrap:wrap}
.pm-hero-aside{justify-self:center;position:relative;width:min(100%,400px);min-height:350px;border-radius:29px;background:linear-gradient(145deg,rgba(24,95,56,.8),rgba(6,38,22,.86));border:1px solid rgba(175,237,197,.19);box-shadow:0 35px 130px rgba(0,0,0,.25);padding:45px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:25px}
.pm-hero-aside:after{content:'COPPPAL';position:absolute;font-size:90px;font-weight:900;letter-spacing:-.09em;opacity:.035;bottom:-12px;left:-10px;white-space:nowrap;pointer-events:none}
.pm-big-figure{display:flex;flex-direction:column;gap:0;position:relative;z-index:1}.pm-big-figure span{font-size:15px;color:#b4d6bf}.pm-big-figure strong{font-size:clamp(112px,13vw,165px);letter-spacing:-.085em;line-height:1;color:#e5efe3;font-weight:820}.pm-big-figure small{font-size:16px;color:#d4b66f;font-weight:750}
.pm-small-figure{border-top:1px solid rgba(222,255,224,.2);padding-top:22px;display:flex;gap:10px;align-items:center;font-size:14px;color:#bdd9c7}.pm-small-figure span{font-size:28px;color:#fff;font-weight:800}
.pm-hero-foot{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:19px;border-top:1px solid rgba(225,255,231,.15);font-size:10px;letter-spacing:.16em;color:#98b7a2;font-weight:700}
.pm-directory{background:#f4f2ec;color:#123222;padding:clamp(70px,8.5vw,125px) 0}
.pm-section-head{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:end;margin-bottom:45px}.pm-section-head h2{font-weight:820;letter-spacing:-.057em;line-height:1.04;font-size:clamp(42px,5.1vw,70px);margin:17px 0 0}.pm-section-head h2 em{font-style:normal;color:#0b7a3b}.pm-section-head p{color:#51665a;max-width:500px;font-size:16px;line-height:1.85}.pm-idx-dark{color:#708578}.pm-idx-dark b{color:#0b7a3b}
.pm-toolbar{background:#fff;padding:18px;border:1px solid #dce4db;border-radius:22px;display:grid;grid-template-columns:minmax(215px,1.5fr) minmax(145px,.8fr) minmax(165px,.9fr) auto;gap:11px;box-shadow:0 14px 38px rgba(4,48,22,.035);align-items:stretch}
.pm-search-wrap{display:flex;align-items:center;gap:11px;padding:0 17px;border-radius:13px;background:#f3f6f2;border:1px solid #dee7dd;min-height:59px;color:#1b6438}.pm-search-wrap svg{height:20px;width:20px;flex:none}.pm-search-wrap input{border:0!important;background:transparent!important;outline:none;flex:1;min-width:80px;padding:0;font-size:14px;color:#163826;box-shadow:none!important}.pm-search-wrap input::placeholder{color:#758678}.pm-key{font-size:9px;letter-spacing:.12em;color:#9cae9e}
.pm-select-wrap{display:flex;flex-direction:column;justify-content:center;gap:2px;border-radius:13px;border:1px solid #dee7dd;padding:7px 14px}.pm-select-wrap span{font-size:10px;letter-spacing:.1em;font-weight:800;color:#5d7a65;text-transform:uppercase}.pm-select-wrap select{width:100%;border:0;background:#fff;outline:none;font-size:13px;font-weight:700;color:#163826;padding:5px 0;min-height:27px;cursor:pointer}.pm-clear{align-self:stretch;background:#163826!important;border:0!important;border-radius:13px;color:#fff!important;font-weight:750;font-size:12px;padding:0 20px;cursor:pointer;transition:background .2s}.pm-clear:hover{background:#0b7a3b!important}
.pm-results-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:31px 0 20px;color:#536e5c;font-size:13px}.pm-results-bar p{margin:0}.pm-results-bar span{text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:#829384;font-weight:750}
.pm-country-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.pm-country-card{background:white;border:1px solid #dfe8dd;border-radius:23px;box-shadow:0 10px 32px rgba(15,51,24,.028);padding:25px;overflow:hidden;transition:box-shadow .23s,transform .23s}.pm-country-card:hover{box-shadow:0 24px 55px rgba(11,66,26,.08);transform:translateY(-2px)}
.pm-country-head{display:flex;gap:16px;align-items:center;padding-bottom:20px;margin-bottom:7px;border-bottom:1px solid #e9eee8}.pm-flag{display:flex;justify-content:center;align-items:center;width:57px;height:57px;border-radius:14px;background:#eff4ec;flex:none;font-size:32px}.pm-country-region{display:block;font-size:10px;letter-spacing:.14em;font-weight:800;color:#0b7a3b;text-transform:uppercase;margin-bottom:4px}.pm-country-head h3{font-weight:800;letter-spacing:-.035em;font-size:25px;color:#13321f;margin:0}.pm-country-count{margin-left:auto;border:1px solid #cfdfcf;padding:7px 10px;border-radius:12px;color:#0b7a3b;font-size:12px;font-weight:800;min-width:31px;text-align:center}
.pm-parties{margin:0;padding:0;list-style:none}.pm-party{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1ec;min-height:66px}.pm-party:last-child{border-bottom:none}.pm-party-logo{width:40px;height:40px;flex:0 0 40px;border-radius:12px;background:#eaf4eb;border:1px solid #dbe9db;display:flex;align-items:center;justify-content:center;overflow:hidden}.pm-placeholder{font-size:10px;color:#57ae73}.pm-party-logo img{display:block;width:100%;height:100%;object-fit:contain;padding:3px}.pm-party-main{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.pm-party-name{font-size:13.5px;line-height:1.45;font-weight:720;color:#183522}.pm-party-status{font-size:10px;color:#856c2c;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.pm-party-link{width:29px;height:29px;flex:0 0 29px;border:1px solid #d3e4d3;background:#edf6ee;color:#0b7a3b;border-radius:9px;display:grid;place-items:center;transition:background .2s}.pm-party-link:hover{background:#c6ebce}.pm-party-link svg{height:15px;width:15px}.pm-party-nolink{font-size:13px;color:#c2d4c7;margin-inline:8px}
.pm-country-card[hidden],.pm-party[hidden],.pm-empty[hidden],#pm-original-source[hidden]{display:none!important}.pm-empty{text-align:center;background:#fff;border:1px dashed #b2c6b4;border-radius:22px;padding:50px 25px}.pm-empty>span{font-size:48px;color:#94b5a0}.pm-empty h3{font-size:26px;font-weight:800;margin:12px 0}.pm-empty p{color:#506955}.pm-empty button{background:#0b7a3b;color:#fff;border:0;border-radius:10px;padding:11px 20px;cursor:pointer;margin-top:15px}
.pm-disclaimer{border-top:1px solid #d2dfd3;margin-top:42px;padding-top:20px;display:flex;gap:15px;align-items:flex-start;color:#667d6b}.pm-disclaimer>span{font-family:Georgia,serif;font-style:italic;border:1px solid #a1bba7;border-radius:50%;display:grid;place-items:center;width:22px;height:22px;flex:none}.pm-disclaimer p{font-size:12px;line-height:1.8;margin:0;max-width:900px}
.pm-cta{background:#04110b;padding:clamp(70px,9vw,130px) 0}.pm-cta-inner{border:1px solid rgba(143,216,173,.22);border-radius:26px;background:radial-gradient(ellipse at 110% -40%,rgba(27,126,62,.45),transparent 60%),#0a2919;padding:clamp(28px,5vw,65px);display:flex;justify-content:space-between;align-items:center;gap:55px;color:white}.pm-cta-inner h2{font-size:clamp(37px,4vw,62px);line-height:1.08;letter-spacing:-.056em;font-weight:820;margin:17px 0}.pm-cta-inner h2 em{color:#9dddaf;font-style:normal}.pm-cta-inner p{font-size:15px;color:#bfd2c4;line-height:1.75}.pm-cta-actions{display:flex;flex-wrap:wrap;gap:12px;flex:none;flex-direction:column}
@media(max-width:1050px){.pm-hero-layout{grid-template-columns:1.1fr .9fr;gap:30px}.pm-toolbar{grid-template-columns:1fr 1fr}.pm-search-wrap{grid-column:1/3}.pm-clear{min-height:50px}.pm-cta-inner{flex-direction:column;align-items:flex-start}.pm-cta-actions{flex-direction:row}}
@media(max-width:760px){.pm-hero-layout{grid-template-columns:1fr;min-height:0;padding-block:64px 46px}.pm-hero-aside{justify-self:stretch;min-height:0;padding:30px 35px;gap:16px}.pm-big-figure strong{font-size:95px}.pm-hero h1{font-size:clamp(54px,12vw,85px)}.pm-country-grid{grid-template-columns:1fr}.pm-section-head{grid-template-columns:1fr;gap:17px}}
@media(max-width:580px){.pm-hero-layout{padding-top:54px}.pm-hero-foot span:last-child{display:none}.pm-toolbar{grid-template-columns:1fr}.pm-search-wrap{grid-column:auto}.pm-clear{min-height:48px}.pm-country-card{padding:18px}.pm-country-head h3{font-size:22px}.pm-country-head{gap:12px}.pm-results-bar span{display:none}.pm-cta-actions{flex-direction:column;width:100%}.pm-cta-actions a{justify-content:center}.pm-section-head h2{font-size:42px}}
@media(prefers-reduced-motion:reduce){.pm-country-card,.pm-clear,.pm-party-link{transition:none}}

/* v2.4: pie de página con contraste propio en Partidos Miembros.
   El body de esta plantilla usa fondo crema, pero el pie tiene texto claro. */
body.copppal-partidos footer.footer {
  background-color: #04110b;
  color: #cbdacf;
  border-top: 1px solid rgba(238,243,239,.14);
}
body.copppal-partidos footer.footer .f-top {
  border-bottom-color: rgba(238,243,239,.14);
}
body.copppal-partidos footer.footer .f-col h5 { color: #9fe5b8; }
body.copppal-partidos footer.footer .f-col a,
body.copppal-partidos footer.footer .f-brand a,
body.copppal-partidos footer.footer .f-brand p,
body.copppal-partidos footer.footer .f-bot { color: #cbdacf; }
body.copppal-partidos footer.footer .f-col a:hover,
body.copppal-partidos footer.footer .f-brand a:hover { color: #fff; }
body.copppal-partidos footer.footer .f-mark { color: rgba(238,243,239,.09); }
body.copppal-partidos footer.footer .totop { border-color: rgba(238,243,239,.25); }
body.copppal-partidos footer.footer .totop:hover { border-color: #8fd8ad; }
