/*
Theme Name: ¿A qué partido voto?
Description: Guía de programas y candidaturas al Congreso, 29N.
Version: 1.0
*/
@font-face {
    font-family: "Instrument Sans";
    src: url("assets/instrument-sans/InstrumentSans-VariableFont_wdth,wght.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}
@font-face{font-family:Inter;src:url('assets/inter/Inter-VariableFont_slnt,wght.woff2') format("woff2");font-weight:100 900;font-display:swap}
:root{--paper:#f3f0e8;--ink:#27241f;--rule:#cbc7bc;--deep:#66303c;--mint:#d9e7b4;--display:"Instrument Sans",Inter,Arial,sans-serif;--sans:Inter,Arial,sans-serif;--mono:ui-monospace,Menlo,monospace}
*{box-sizing:border-box} body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.58 var(--sans)} a{color:inherit;text-underline-offset:.2em} a:hover{text-decoration-thickness:2px} :focus-visible{outline:3px solid #78475b;outline-offset:4px}button,select{font:inherit}h1,h2,h3,p{margin:0} .wrap,.hero,.directory,.front-method{width:min(1380px,calc(100% - 9vw));margin-inline:auto}.site-head{border-bottom:1px solid var(--rule)}.bar{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font:700 clamp(21px,2vw,30px)/1.12 var(--display);text-decoration:none;letter-spacing:-.055em}nav{display:flex;align-items:center;gap:clamp(15px,3vw,47px)}nav a,.site-foot .bar>a:last-child{font-size:.85rem;text-decoration:none}nav a:hover,.back:hover,.site-foot a:hover{text-decoration:underline}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:12px;z-index:10;background:white;padding:6px}
.hero{min-height:clamp(540px,44vw,700px);display:grid;grid-template-columns:1.08fr .92fr;align-items:center;padding-block:clamp(40px,5vw,80px);gap:24px}.hero-copy{max-width:750px}.overline,.kicker{font:600 .72rem/1.6 var(--mono);letter-spacing:.115em;text-transform:uppercase}.kicker{display:flex;align-items:center;gap:10px}.kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--deep)}h1,h2,h3{font-family:var(--display);font-weight:570}.hero h1{font-size:clamp(65px,6.9vw,106px);line-height:.98;letter-spacing:-.064em;margin:26px 0 24px}.hero h1 em{color:var(--deep);font-style:normal}.hero-copy>p:not(.kicker){max-width:480px;font-size:clamp(16px,1.25vw,19px);line-height:1.55}.wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.wp-block-button__link,.btn-primary,.apply{border:1px solid var(--ink);background:var(--ink);color:white;display:inline-flex;align-items:center;justify-content:center;padding:12px 21px;text-decoration:none;font:560 14px/1.4 var(--sans);border-radius:2px;gap:12px;cursor:pointer}.wp-block-button.is-style-outline .wp-block-button__link{background:transparent!important;color:var(--ink)!important;border:1px solid #817c70!important}.wp-block-button__link:hover,.btn-primary:hover,.apply:hover{background:#514a40}.btn-primary small{font:11px var(--mono);color:#d9e7b4}
.paper-art{position:relative;isolation:isolate;width:100%;aspect-ratio:1.36;max-width:550px;justify-self:end;pointer-events:none}.paper-art:before{content:"";position:absolute;inset:10% 1% 5% 3%;background:radial-gradient(ellipse,#c9c3ad66,transparent 69%);z-index:-1}.slip,.envelope{position:absolute;border:1px solid #888171;box-shadow:3px 9px 12px #302b201b}.slip{background:#fffdf6;left:26%;top:2%;width:55%;height:55%;transform:rotate(8deg);padding:4% 5%}.slip:before{content:"";position:absolute;top:15%;right:10%;width:12%;aspect-ratio:1;border:1px solid #4a4339;border-radius:50%;background:repeating-linear-gradient(37deg,transparent 0 2px,#b8b29c 3px 4px)}.slip-title{font:550 clamp(23px,3vw,44px)/1 var(--display);letter-spacing:-.05em}.slip i{display:block;height:1px;width:68%;background:#bcb6a4;margin-top:9px}.envelope{width:83%;height:54%;top:35%;left:9%;transform:rotate(-6deg);background:repeating-linear-gradient(112deg,#e3decf 0 1px,#e6e0d2 1px 4px);box-shadow:5px 15px 20px #332f242d;overflow:hidden}.envelope:before,.envelope:after{content:"";position:absolute;inset:0;pointer-events:none}.envelope:before{background:linear-gradient(31deg,transparent 49.5%,#b5ad98 49.9%,#f5f0e2 50.2%,transparent 50.6%) left top /50.2% 65% no-repeat,linear-gradient(-31deg,transparent 49.5%,#b5ad98 49.9%,#f5f0e2 50.2%,transparent 50.6%) right top/50.2% 65% no-repeat}.seal{position:absolute;left:42%;top:36%;width:20%;aspect-ratio:1;border:2px solid var(--deep);outline:1px solid var(--deep);outline-offset:-6px;border-radius:50%;display:grid;place-items:center;color:var(--deep);font:550 clamp(17px,2.15vw,34px) var(--display);transform:rotate(-8deg);background:#e5dfd0}.registration{position:absolute;left:6%;bottom:8%;font:9px var(--mono);letter-spacing:.14em}.paper-caption{position:absolute;bottom:1%;right:6%;font:10px var(--mono);color:#625e53;letter-spacing:.08em}
.directory,.front-method{padding:38px 0 70px;border-top:1px solid var(--ink)}.directory h2,.front-method h2,.compare-title{font-size:clamp(36px,3.6vw,55px);letter-spacing:-.055em;line-height:1.12}.directory>p,.front-method>p,.page>p{max-width:740px;margin-top:12px}.filter{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin:28px 0 32px}.filter label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600}.filter select{border:1px solid #928d81;border-radius:2px;padding:10px 36px 10px 12px;background:#faf8f2;color:var(--ink);cursor:pointer;max-width:100%;font-size:15px}.filter.auto .apply{display:none}.reset{font-size:14px;padding-block:10px}.group-name{font:600 12px/1.4 var(--mono);text-transform:uppercase;letter-spacing:.075em;display:flex;gap:12px;align-items:center;margin:25px 0 10px}.group-name small{font:12px var(--mono);background:var(--mint);padding:2px 7px;border-radius:10px}.party-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.party{display:flex;align-items:center;gap:16px;padding:20px 16px;min-height:100px;border:1px solid var(--rule);background:#f9f7f0;text-decoration:none;transition:border-color .15s,background .15s}.party:hover{border-color:#716a59;background:#fffdf8}.mark{height:49px;width:66px;display:grid;align-items:center;justify-items:center;flex:none}.mark img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain}.type-logo{font-weight:bold}.party-label{flex:1;min-width:0;line-height:1.28}.party-label strong{font-size:16px;font-weight:600}.party-label small{display:block;font-size:11px;margin-top:7px;line-height:1.35;color:#635f53}.arrow{color:#6e6755}.site-foot{border-top:1px solid var(--rule)}.site-foot .bar{min-height:100px}.front-method{max-width:1380px}.front-method p a{font-weight:600}

/* Internal pages share a left reading edge in a centred column. */
main.page {padding-block: clamp(34px, 4.6vw, 70px) 80px; min-height: 65vh}
.profile, .comparison {max-width: 54rem}
.reading-page {max-width: 48rem}
.page-head h1, .profile-title h1 {
    font-size: clamp(2.55rem, 5.2vw, 4.8rem);
    line-height: 1.03;
    letter-spacing: -.054em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.page-head {margin-bottom: 1.35rem}
.profile .intro, .profile-copy, .compare-copy, .reading-page > p, .comparison > p {
    font-size: clamp(1.0625rem, .99rem + .24vw, 1.1875rem);
    line-height: 1.65;
}
.reading-page > p {max-width: none; margin-block: .85em}
.comparison > p {max-width: 68ch}
.reading-page > h2, .profile-copy > h2, .compare-title {
    margin: 2.4rem 0 1rem;
    font-size: clamp(1.9rem, 3.2vw, 2.85rem);
    line-height: 1.1;
    letter-spacing: -.045em;
}
.back, .source, .crosslink {font-size: .94rem}
.back {color: #615a50}
.profile-head {
    margin-block: clamp(1.75rem, 4vw, 3rem) 1.8rem;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    column-gap: clamp(12px, 3vw, 36px);
    row-gap: 1.2rem;
}
.profile-title h1 {margin-top: .5rem}
.profile-title .overline {color: var(--deep)}
.mark.big {
    width: clamp(72px, 9vw, 118px);
    height: clamp(56px, 7vw, 82px);
    padding: clamp(8px, 1vw, 14px);
    background: #faf8f2;
    border: 1px solid var(--rule);
}
.profile-head .intro, .profile-links {grid-column: 1 / -1}
.profile-links {display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem}
.profile-copy > p {margin-block: 1rem; color: #58544b; font-size: .95rem}
.coverage {border-block: 1px solid var(--rule)}
.coverage ul {columns: 2; column-gap: 2rem; padding-inline-start: 1.45rem; margin-block: 0 1rem}
.coverage li {break-inside: avoid; margin-block-end: .4rem}
.coverage small {font: 450 .83rem/1.4 var(--sans); color: #625b50; margin-inline-start: .5em}
.all-ballots {margin-top: 26px}
.all-ballots p {margin: 0 0 12px}
.wp-block-details {border-bottom: 1px solid var(--rule)}
.profile-copy > h2 + .wp-block-details, .reading-page > .wp-block-details {border-top: 1px solid var(--rule)}
.coverage > summary, .wp-block-details > summary {
    list-style: none;
    position: relative;
    padding: 1rem 3rem 1rem 0;
    cursor: pointer;
    color: var(--ink);
}
.coverage > summary {font-weight: 570}
.wp-block-details > summary {font: 550 clamp(1.22rem, 2vw, 1.6rem)/1.28 var(--display); letter-spacing: -.027em}
:is(.wp-block-details,.coverage) > summary::-webkit-details-marker {display: none}
:is(.wp-block-details,.coverage) > summary::marker {content: ""}
:is(.wp-block-details,.coverage) > summary::after,
:is(.wp-block-details,.coverage) > summary::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
}
:is(.wp-block-details,.coverage) > summary::before {transform: translateY(-50%) rotate(90deg)}
:is(.wp-block-details,.coverage)[open] > summary::before {display: none}
:is(.wp-block-details,.coverage) > summary:hover,
:is(.wp-block-details,.coverage)[open] > summary {color: var(--deep)}
.wp-block-details > p, .compare-copy > p {margin: .3em 0 1em}
.profile-copy .wp-block-list, .compare-copy .wp-block-list {
    list-style: disc outside;
    margin: .15rem 0 1.35rem;
    padding-inline-start: 1.25em;
}
:is(.profile-copy,.compare-copy) .wp-block-list li {padding-inline-start: .25em}
:is(.profile-copy,.compare-copy) .wp-block-list li + li {margin-block-start: 1.15em}
:is(.profile-copy,.compare-copy) .wp-block-list li::marker {font-size: .78em; color: var(--deep)}
:is(.profile-copy,.compare-copy) li strong {font-weight: 650}
:is(.profile-copy,.compare-copy) li a {
    display: table;
    max-width: 100%;
    margin-block-start: .14em;
    color: var(--deep);
    font-size: .88em;
    text-decoration-color: #b89aa1;
}
.crosslink {display: inline-block; margin: 0 0 1.3rem; font-weight: 575}
.compare-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: .8rem 1.2rem;
    align-items: end;
    background: var(--deep);
    color: #fffaf2;
    padding: clamp(18px, 2.6vw, 32px);
    margin-block: 1.65rem 2.5rem;
}
.compare-filter label {gap: .45rem; font-size: .95rem; font-weight: 570}
.filter label {min-width: 0}
.filter select {
    appearance: none;
    min-height: 46px;
    line-height: 1.3;
    border-color: #8d8477;
    background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23372f29' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 16px no-repeat;
    padding: .65rem 2.5rem .65rem .75rem;
    border-radius: 3px;
}
.compare-filter select {width: 100%; min-height: 48px; font-size: 1rem}
.compare-filter .apply {min-height: 48px; color: var(--ink); background: var(--mint); border-color: var(--mint); font-size: .97rem}
.compare-filter .apply:hover {background: #e7f3c6}
.compare-filter :focus-visible {outline: 2px solid #fffdf8; outline-offset: 3px}
.compare-filter .reset {grid-column: 1/-1; justify-self: start; padding: .2rem 0 0; color: #fffaf2}
.compare-title {padding-block-end: .85rem; border-bottom: 1px solid var(--ink); margin-bottom: 0}
.compare-row {
    display: grid;
    grid-template-columns: minmax(10.5rem, .34fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: 1.8rem;
    border-bottom: 1px solid var(--rule);
}
.compare-id h3 {font-size: 1.4rem; line-height: 1.18; letter-spacing: -.025em; margin-top: .65rem}
.compare-id a {text-decoration: none}
.compare-id a:hover {text-decoration: underline}
.compare-copy > :first-child {margin-top: 0}
.compare-copy > :last-child {margin-bottom: 0}
.inventory {padding: 0; list-style: none; margin: 1.4rem 0 2rem}
.inventory li {display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: .7rem 0; border-bottom: 1px solid var(--rule)}
.inventory li > span {flex: none; max-width: 48%; text-align: right}
.verified {color: #385040}
html {scroll-padding-top: 16px}
::selection {background: #d8e6b2}
.mark {grid-template: minmax(0, 1fr) / minmax(0, 1fr)}
.mark img {width: 100%; height: 100%; object-fit: contain}
.hero .wp-block-shortcode, .hero > .wp-block-group__inner-container,
.hero-copy > .wp-block-group__inner-container, .directory > .wp-block-group__inner-container,
.front-method > .wp-block-group__inner-container {display: contents}
.hero .wp-block-button {margin: 0}
.hero .hero-copy p:not(.kicker) {max-width: 480px}
.directory .wp-block-heading + p, .front-method .wp-block-heading + p {max-width: 735px; margin-top: 12px}
@media (max-width: 860px) {
    .party-grid {grid-template-columns: repeat(2, minmax(0,1fr))}
    .party {padding: 16px; gap: 11px}
    .paper-caption {font-size: 8px}
    .registration {font-size: 7px}
    .compare-filter {grid-template-columns: repeat(2, minmax(0, 1fr))}
    .compare-filter .apply {justify-self: start}
    .compare-filter .reset {grid-column: auto; align-self: center}
}
@media (max-width: 640px) {
    .wrap, .hero, .directory, .front-method {width: calc(100% - 36px)}
    .bar {min-height: 65px; flex-wrap: wrap; gap: .5rem 1rem; padding-block: .8rem}
    .site-head .brand {font-size: 20px}
    .bar nav {gap: 12px}
    .bar nav a {font-size: .82rem}
    .nav-extra {display: none}
    .hero {display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding-block: 32px 18px}
    .hero h1 {font-size: clamp(51px, 12.3vw, 77px); margin: 20px 0 16px}
    .hero .paper-art {width: min(80%,340px); margin: 2px auto 0}
    .wp-block-buttons {gap: 8px; margin-top: 20px}
    .wp-block-button__link {padding: 11px 16px}
    .directory {padding-top: 26px}
    .party-grid {grid-template-columns: 1fr; gap: 7px}
    .party {min-height: 74px; padding: 12px 15px}
    .mark {height: 38px; width: 53px}
    .coverage ul {columns: 1}
    .coverage small {display: block; margin: .15rem 0 0}
    .compare-filter {grid-template-columns: 1fr; gap: .85rem}
    .compare-filter .apply {justify-self: stretch; margin-top: .15rem}
    .compare-row {grid-template-columns: 1fr; gap: 1rem; padding-block: 1.4rem}
    .compare-id {display: flex; align-items: center; gap: 14px}
    .compare-id h3 {margin: 0; font-size: 1.3rem}
    .paper-caption {bottom: 0}
    .inventory li {font-size: .94rem}
    .site-foot .brand {font-size: 20px}
}
@media (max-width: 380px) {
    .site-head .bar {row-gap: .6rem}
    .site-head nav {width: 100%; justify-content: space-between}
    .profile-title h1 {font-size: 2.18rem}
}

.site-head {
    position: sticky;
    z-index: 20;
    top: var(--wp-admin--admin-bar--height, 0px);
    background: #f8f6ef;
    border: 0;
    box-shadow: 0 3px 13px -6px #30282055;
}
html {scroll-padding-top: 95px}
.site-head nav {
    display: flex;
    gap: 2px;
    background: #eae6dc;
    padding: 4px;
    border-radius: 9px;
}
.site-head nav a {
    display: inline-flex;
    white-space: pre;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    padding: .42em 1em;
    border-radius: 6px;
    font: 600 1rem/1.25 var(--display);
    text-decoration: none;
}
.site-head nav a:is(:hover,:focus-visible) {background: #fffdf8}
.site-head nav :is([aria-current],.current) {background: var(--ink); color: white}
.site-head nav :is([aria-current],.current):hover {background: #444039}
.profile > .coverage {margin-top: 3rem}
.hero .hero-copy p.hero-intro {font-size: clamp(19px, 1.55vw, 24px); line-height: 1.48; max-width: 35em}
.hero .hero-copy p.design-credit {font: 500 .92rem/1.5 var(--sans); margin-top: 1.5rem; color: #534c43}
.design-credit a {color: var(--deep); font-weight: 650}
.directory-filter {
    background: var(--deep); color: white;
    padding: 1.25rem clamp(18px, 3vw, 36px); gap: 1.15rem;
    align-items: center;
}
.directory-filter label {display: flex; flex-direction: row; align-items: center; gap: 1.5rem; font: 590 clamp(1.3rem,2.1vw,2rem)/1.2 var(--display)}
.directory-filter select {min-height: 47px; width: min(320px,100%); font: 550 1rem var(--sans)}
.directory-filter .apply {background: var(--mint); color: var(--ink); border-color: var(--mint); min-height: 47px}
.directory-filter .reset {color: white}
.directory-filter :focus-visible {outline-color: white}
.compare-row {
    overflow: clip;
    border: 1px solid #c6c0b3; border-top: 3px solid var(--ink);
    border-radius: 3px; margin: 1.5rem 0; padding: 0; gap: 0;
    background: #faf8f2;
}
.compare-id {background: #e9e5da; padding: clamp(18px, 2.4vw, 32px)}
.compare-id h3 {font-size: clamp(1.35rem, 2vw, 1.7rem)}
.compare-copy {padding: clamp(18px, 2.4vw, 32px)}
.inventory {background: #faf8f2; border-block: 2px solid var(--ink)}
.inventory li {align-items: center; padding: .65rem .85rem}
.inventory li:last-child {border-bottom: 0}
.inventory-party {display: inline-flex; gap: .9rem; align-items: center; text-decoration: none; font-weight: 560; line-height: 1.3}
.inventory-party:hover {text-decoration: underline}
.inventory .mark {width: 42px; height: 32px}
.inventory .verified {font-weight: 590; font-size: .9rem; white-space: nowrap}
.source-clip {margin: .52rem 0 .28rem; color: var(--deep); width: fit-content; max-width: 100%}
.source-clip[open] {width: 100%}
.source-clip > summary, .clip-text > summary {font: 600 .88rem/1.55 var(--sans); cursor: pointer; padding: .4em .85em; width: fit-content}
.source-clip > summary {list-style: none; border: 1px solid #c3abae; border-radius: 4px}
.source-clip > summary::-webkit-details-marker {display: none}
.source-clip > summary::before {content: '+'; margin-right: .55em}
.source-clip[open] > summary::before {content: '−'}
.source-clip img {display: block; margin-top: .7rem; width: auto; max-width: 100%; height: auto; border: 1px solid var(--rule)}
.clip-text {color: var(--ink); margin: .45rem 0}
.clip-text p {font: 400 1rem/1.6 var(--sans)}

@media (max-width: 640px) {
    .site-head .bar {justify-content: center; padding-block: .5rem; gap: .4rem 1rem}
    .site-head nav {justify-content: center; width: auto}
    .site-head nav a {font-size: .9rem; min-height: 34px; padding-inline: .85rem}
    html {scroll-padding-top: 112px}
    .directory-filter {align-items: stretch; flex-direction: column; gap: .7rem}
    .directory-filter label {align-items: stretch; flex-direction: column; gap: .7rem}
    .directory-filter select {width: 100%}
    .inventory .mark {width: 31px; height: 27px}
    .inventory-party {gap: .55rem}
}

.masthead-id {display:flex; gap:clamp(.7rem,1.8vw,1.6rem); align-items:center; flex-wrap:wrap}
.skip:focus {position:fixed; z-index:30}
.directory-filter label {flex-wrap:wrap}
.directory-filter :is(label, select) {flex-shrink:0}
.directory-filter label {max-width:100%}
.directory-filter .reset,.compare-filter .reset {display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:.5rem 1rem; border:1px solid #e3d1d2; border-radius:7px; font-weight:650; color:white; text-decoration:none}
.filter .reset:hover {background:#ffffff24}
.party,.compare-row,.compare-filter,.directory-filter,.mark.big {border-radius:9px}
.hero .wp-block-button {display:flex;align-items:stretch}
.hero .wp-block-buttons {align-items:stretch}
.hero .wp-block-button .wp-block-button__link,.hero .wp-block-button.is-style-outline .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:12px 20px;border:1px solid;border-radius:7px;line-height:1.25}
.btn-primary,.apply,.filter select {border-radius:7px}
.profile-copy > .wp-block-details {background:#faf8f2; border:1px solid #cdc7ba; border-radius:9px; margin:.55rem 0; padding:0 clamp(16px,2.4vw,26px)}
.profile-copy > .wp-block-details > summary {padding-block:1.12rem; font-size:clamp(1.16rem,2vw,1.52rem)}
.profile-copy > .wp-block-details[open] {border-color:#afa297}
.profile-copy > .wp-block-details[open] > summary {border-bottom:1px solid var(--rule);margin-bottom:1.1rem}
.profile-copy .crosslink {display:inline-flex; align-items:center; min-height:44px; background:var(--deep); color:white; border-radius:7px; padding:.55rem 1rem; text-decoration:none; font-weight:600}
.profile-copy .crosslink:hover {background:#502430}
.citation-actions {display:flex; gap:.45rem .65rem; flex-wrap:wrap; align-items:flex-start; margin-top:.65rem}
.source-clip, .source-clip[open] {display:contents}
.source-clip > summary, :is(.profile-copy,.compare-copy) li .original-citation {display:inline-flex;align-items:center;min-height:40px; border:1px solid #a6848d; border-radius:7px; margin:0; padding:.45em .82em; font:600 .88rem/1.25 var(--sans); text-decoration:none; color:var(--deep); background:#faf6f0}
.source-clip > summary:hover, :is(.profile-copy,.compare-copy) li .original-citation:hover {background:#efe7df}
.clip-body {order:1;flex-basis:100%;min-width:0}
.source-clip:not([open]) > .clip-body {display:none}
.source-clip[open] > summary {background:#f0e5e5}

@media(max-width:640px) {
 .masthead-id {justify-content:center}
 .site-head .bar {justify-content:space-between}
 html {scroll-padding-top:125px}
}
.clip-toggle {display:inline-flex;align-items:center; min-height:40px; border:1px solid #a6848d; border-radius:7px; margin:0; padding:.45em .82em; font:600 .88rem/1.25 var(--sans); color:var(--deep);background:#faf6f0;cursor:pointer}
.clip-toggle::before {content:'+';margin-right:.5em}
.clip-toggle[aria-expanded=true]::before {content:'−'}
.clip-toggle:hover,.clip-toggle[aria-expanded=true] {background:#efe7df}
.clip-body img {display:block; width:auto; max-width:100%; height:auto; border:1px solid var(--rule); border-radius:5px}
@media(max-width:640px){.site-head .bar {justify-content:center}}
@media (max-width: 640px) {
    .citation-actions:has(.clip-toggle) {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:stretch;gap:.4rem}
    .citation-actions .clip-toggle, :is(.profile-copy,.compare-copy) li .original-citation {
        font-size:.82rem; line-height:1.25; justify-content:center; text-align:center;
        padding:.45em .35em; min-width:0; min-height:44px;
    }
    .citation-actions .clip-body {grid-column:1/-1}
}

/* Both instances use the credit maintained in WordPress General Settings. */
.design-credit {position:relative; padding-left:26px; color:#5c554b; font:500 .73rem/1.25 var(--sans)}
.masthead-id .design-credit {border-inline-start:1px solid var(--rule); padding-left:38px}
.design-credit a {position:relative; display:block; font:650 .95rem/1.3 var(--display); color:var(--deep); text-decoration:none}
.design-credit a::before {
    content:""; position:absolute; right:calc(100% + 7px); bottom:1px;
    width:16px; height:35px; background:url("assets/agency-hand.png") center / contain no-repeat;
}
.design-credit a:hover {text-decoration:underline}
.footer-row {display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:1rem; padding-block:1.7rem}
.footer-row .brand {justify-self:start; font-size:clamp(1.12rem,1.8vw,1.45rem)}
.footer-credit {justify-self:center}
.footer-row nav {justify-self:end; display:flex; flex-wrap:wrap; justify-content:end; gap:.5rem 1rem}
.footer-row nav a {font-size:.94rem; font-weight:560}
.directory-filter {display:flex;align-items:flex-end;justify-content:flex-start;gap:.9rem}
.directory-filter label {display:flex;flex-direction:column;align-items:stretch;gap:.55rem;flex:0 1 320px;font-size:clamp(1.35rem,2.2vw,1.85rem)}
.directory-filter label select {width:100%;min-width:0}
.directory-filter .reset {min-height:47px;background:#f1efd9;border-color:#f1efd9;color:#372630}
.directory-filter .reset:hover {background:white;color:var(--deep)}
.directory .group-name {font:600 clamp(1.35rem,2.5vw,2rem)/1.15 var(--display);letter-spacing:-.032em;text-transform:none; margin:2.4rem 0 1rem;display:flex;align-items:center;gap:.7rem}
.directory .party-grid + .group-name {padding-top:1.8rem;border-top:1px solid #aaa396}
.directory .group-name small {font:600 .83rem/1.5 var(--sans);letter-spacing:0;flex:none}
@media (prefers-reduced-motion:no-preference) and (scripting:enabled) {
    .scroll-fade {transition:opacity 1.45s cubic-bezier(.32,.05,.28,1)}
    .fade-pending {opacity:0;transition:none}
    .scroll-fade:is(:focus-within,:target) {opacity:1;transition:none}
}
@media(max-width:920px){
    .site-head .bar {flex-direction:column;justify-content:center;gap:.55rem;padding-block:.65rem}
    .site-head nav a {min-height:38px}
    html {scroll-padding-top:130px}
}
@media(max-width:640px){
    .directory-filter {align-items:stretch}
    .directory-filter label {flex:0 1 auto}
    .site-head .brand {font-size:clamp(16px,4.5vw,20px)}
    .masthead-id .design-credit {padding-left:27px}
    .design-credit a {font-size:.86rem}
    .design-credit a::before {width:13px;height:29px;right:calc(100% + 4px)}
    .site-head nav {width:auto;max-width:100%;gap:0}
    .site-head nav a {min-height:38px;padding-inline:clamp(6px,1.85vw,12px);font-size:clamp(.81rem,3.5vw,.92rem)}
    .footer-row {grid-template-columns:1fr auto;row-gap:1rem}
    .footer-credit {grid-row:2;grid-column:1/-1}
    .footer-row nav {flex-direction:column;align-items:end;gap:.4rem}
}
.reading-page > .contact-email {margin-top:1.6rem}
.contact-email a {font:600 clamp(1rem,2.2vw,1.4rem)/1.4 var(--display); color:var(--deep);overflow-wrap:anywhere}
.site-head nav a {min-height:44px}
.footer-row nav a {display:inline-flex;align-items:center;min-height:44px}
@media (min-width:641px) and (max-width:879px) {
    .party-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:680px) and (max-width:899px) {
    .compare-filter {grid-template-columns:repeat(2,minmax(0,1fr))}
    .compare-filter .apply {justify-self:start}
}
@media (max-width:679px) {
    .compare-filter {grid-template-columns:minmax(0,1fr)}
    .compare-filter .apply,.compare-filter .reset {justify-self:stretch}
}
@media (max-width:480px) {
    .inventory li {display:grid;grid-template-columns:minmax(0,1fr);gap:.38rem}
    .inventory li > span {max-width:none;text-align:left;margin-left:calc(31px + .55rem)}
    .footer-row nav {gap:0}
}
@media (max-width:360px) {
    .compare-filter,.directory-filter {padding-inline:9px}
    .filter select {padding-inline:.5rem 1.75rem;background-position:right 7px center}
    .masthead-id {flex-wrap:nowrap;gap:.45rem}
    .masthead-id .design-credit {padding-left:22px}
    .masthead-id .brand {font-size:16px;white-space:nowrap}
    .masthead-id .design-credit a {font-size:.8rem}
}
.masthead-id {flex-wrap:nowrap}
@media(min-width:921px) and (max-width:1100px) {
    .site-head nav a {padding-inline:.67em;font-size:.94rem}
    .masthead-id {gap:.65rem}
    .masthead-id .design-credit {padding-left:30px}
}
@media(max-width:360px) {
    .masthead-id .design-credit a {white-space:nowrap;font-size:.76rem}
    .footer-row .brand {font-size:1rem}
    .footer-row nav a {font-size:.82rem}
}

/* The directory introduction and the province picker share one opening row. */
.directory .wp-block-heading + p {max-width:49ch; text-wrap:pretty}
.directory .directory-filter {
    display:grid; width:fit-content; max-width:100%; gap:.65rem;
    margin:1.2rem 0 0; padding:1rem 1.25rem;
}
.directory-filter label select {width:16.5rem; max-width:100%}
.directory-filter .reset {justify-self:start}
@media (min-width:880px) {
    .directory {display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:3rem}
    .directory > .wp-block-group__inner-container > * {grid-column:1 / -1}
    .directory > .wp-block-group__inner-container > :is(h2,h2 + p) {grid-column:1}
    .directory h2 {align-self:end}
    .directory .directory-filter {grid-column:2;grid-row:1 / span 2;align-self:center;margin:0}
}
@media (max-width:920px) {
    .site-head .bar {gap:.25rem}
    .site-head nav {padding:0 .18rem;background:transparent}
    .site-head nav a {min-height:40px;padding-inline:clamp(.45rem,2vw,.85rem);font-size:.84rem}
    .site-head .brand {font-size:clamp(1.1rem,3.8vw,1.55rem)}
}
@media (max-width:679px) {
    .compare-filter {width:fit-content;max-width:100%;padding:1rem 1.15rem}
    .compare-filter select {width:auto;max-width:100%;min-width:0}
    .compare-filter .apply,.compare-filter .reset {justify-self:start}
}
.contact-page {text-align:center}
.contact-page > .wp-block-paragraph {margin-inline:auto;text-wrap:pretty}
.contact-page > .contact-email {max-width:100%;margin:1.6rem auto}
.contact-email a {font:620 clamp(1.22rem,4.6vw,2.85rem)/1.25 var(--display);letter-spacing:-.035em;text-decoration-thickness:.055em}
.citation-actions .clip-toggle,.citation-actions .source-clip > summary {background:var(--deep);color:white;border-color:var(--deep)}
.citation-actions .clip-toggle:is(:hover,[aria-expanded=true]),.citation-actions .source-clip > summary:hover {background:#502430}
:is(.profile-copy,.compare-copy) li .original-citation {background:transparent;color:#554e45;border-color:#c2bbae;font-weight:500}
.profile-copy .wp-block-list {padding-inline-start:1.35rem}
.profile-copy .wp-block-list li {padding-inline-start:.25rem}
.profile-copy .wp-block-list ~ .crosslink {margin-inline-start:1.6rem;max-width:calc(100% - 1.6rem)}
.profile > .coverage {margin-top:2.3rem;background:#eae6dc;border:1px solid var(--rule);border-radius:9px;padding-inline:clamp(1rem,2.4vw,1.65rem)}
.profile > .coverage summary {display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .9rem; padding-block:1.1rem}
.profile > .coverage summary span {font:610 clamp(1.08rem,2vw,1.32rem)/1.3 var(--display)}
.profile > .coverage small {margin:0;background:#faf8f2;padding:.18rem .6rem;border-radius:1rem}
.profile > .coverage ul {list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:0 1.6rem;margin:0 0 .8rem;padding:0}
.profile > .coverage li {border-top:1px solid var(--rule);padding:.65rem 0;margin:0}
.profile > .coverage li span {display:block;color:#5a544a;font-size:.86rem;line-height:1.4}
@media (max-width:360px) {
    .site-head .brand {font-size:1rem}
    .site-head nav a {font-size:.8rem;padding-inline:.35rem}
}

.directory {display:block}
.directory .directory-filter {width:100%;margin:1.4rem 0 0;display:flex;align-items:flex-end;justify-content:flex-start}
.directory .directory-filter label {flex:0 1 auto}
@media(max-width:679px) {
    .compare-filter {width:100%}
    .compare-filter label {width:fit-content;max-width:100%}
    .directory .directory-filter {align-items:flex-start}
}
.citation-actions .clip-toggle,.citation-actions .source-clip > summary,
:is(.profile-copy,.compare-copy) li .original-citation {
    background:transparent;border:1px solid transparent;color:#655d54;
    font-size:.82rem;font-weight:500;min-height:34px;padding:.3rem .35rem;
}
.citation-actions .clip-toggle,.citation-actions .source-clip > summary {color:#724657}
.citation-actions .clip-toggle:is(:hover,[aria-expanded=true]),.citation-actions .source-clip > summary:hover,
:is(.profile-copy,.compare-copy) li .original-citation:hover {background:#ece6dd;color:var(--ink)}
.citation-actions:has(.clip-toggle) {display:flex;gap:.15rem .75rem}
@media(max-width:920px) {.site-head .bar {gap:.8rem}}
@media(max-width:640px) {
    .footer-row {grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:.45rem}
    .footer-credit {grid-area:auto}
    .footer-row .brand {font-size:clamp(.87rem,2.8vw,1.15rem);text-wrap:balance}
    .footer-credit .design-credit {padding-left:18px;font-size:.65rem}
    .footer-credit .design-credit a {font-size:clamp(.69rem,2.3vw,.84rem)}
    .footer-row nav a {font-size:.82rem}
    .hero {gap:clamp(38px,9vw,58px);padding-bottom:46px}
    .directory {padding-top:36px}
}
@media(min-width:641px) {
    .hero {min-height:calc(100svh - var(--masthead-height, 74px))}
}

.profile-copy .topic-icon {width:1.1em;height:1.1em;margin-right:.55em;vertical-align:-.15em;color:#765462}
@media(max-width:640px) {
    .hero .hero-copy {text-align:center;align-self:center}
    .hero .hero-copy p.hero-intro {margin-inline:auto;text-wrap:balance}
    .hero .wp-block-buttons {justify-content:center}
}

.directory-banner {
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.25rem 2rem;
    background:var(--deep);color:#fffaf3;border-radius:9px;padding:clamp(1.15rem,3vw,2.5rem);
}
.directory-banner > .wp-block-group__inner-container {display:contents}
.directory .directory-banner .directory-filter {width:auto;margin:0;padding:0;flex-direction:column;align-items:flex-start}
.directory .directory-banner .wp-block-heading + p,.front-method .wp-block-heading + p {max-width:49ch;text-wrap:pretty}
.directory-banner h2 {color:inherit}
@media(max-width:680px) {
    .directory-banner {grid-template-columns:minmax(0,1fr)}
}
@media(max-width:920px) {
    .footer-row {grid-template-columns:repeat(3,minmax(0,1fr));column-gap:.25rem}
    .footer-row > * {grid-area:auto;justify-self:center;text-align:center}
    .footer-row .brand,.footer-row nav {justify-self:center}
    .footer-row .design-credit {text-align:start}
}
.directory,.front-method {
    container-type:inline-size;
    --banner-pad:clamp(1.15rem,3vw,2.5rem);
    --intro-measure:min(49ch,calc(100cqi - 2 * var(--banner-pad)));
}
@media(min-width:681px) {
    .directory,.front-method {--intro-measure:min(49ch,calc(100cqi - 2 * var(--banner-pad) - 20rem))}
    .directory-banner {grid-template-columns:minmax(0,1fr) 18rem}
    .directory-banner .directory-filter label select {width:18rem}
}
.directory .directory-banner .wp-block-heading + p,.front-method .wp-block-heading + p {max-width:var(--intro-measure)}

/* These transparent campaign wordmarks were supplied for dark backgrounds. */
.mark img:is([src*="/escanos-en-blanco-"],[src$="/escanos-en-blanco.png"],
             [src*="/pacma-"],[src$="/pacma.png"],
             [src*="/frente-obrero-"],[src$="/frente-obrero.png"]) {filter:brightness(.2)}

@media (max-width:740px) {
    /* Keep iOS browser-toolbar changes from resizing the first screen. */
    html {-webkit-text-size-adjust:100%;text-size-adjust:100%}
    .hero {
        --hero-room:clamp(0px,calc(var(--hero-start-height,580px) - max(580px, 82vw + 185px)),150px);
        display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
        min-height:calc(var(--hero-start-height,100svh) - var(--masthead-height,110px));
        gap:calc(clamp(1.6rem,7vw,2.75rem) + var(--hero-room) * .18);
        padding-block:calc(clamp(1.65rem,7vw,3.5rem) + var(--hero-room) * .1 + .75rem) calc(clamp(2rem,9vw,3.75rem) - .75rem);
    }
    .hero .hero-copy {width:min(100%,31rem);text-align:center}
    .hero h1 {font-size:clamp(2.25rem,10.25vw,4rem);margin:0 0 calc(1rem + var(--hero-room) * .06)}
    .hero .hero-copy p.hero-intro {
        font-size:clamp(1rem,4.15vw,1.2rem);line-height:1.5;
        max-width:35ch;margin-inline:auto;text-wrap:balance;
    }
    .hero .wp-block-buttons {
        display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;
        width:min(100%,17.5rem);margin:calc(clamp(1.4rem,6vw,1.8rem) + var(--hero-room) * .12) auto 0;
    }
    .hero .wp-block-button .wp-block-button__link,
    .hero .wp-block-button.is-style-outline .wp-block-button__link {
        width:100%;min-height:44px;padding:.65rem .5rem;font-size:.9rem;white-space:nowrap;
    }
    .hero .paper-art {container-type:inline-size;width:min(74%,calc(clamp(8.75rem,42vw,16rem) + var(--hero-room) * .25));margin:0 auto}
    .hero .slip {left:25%;padding:4%}
    .hero .slip-title {font-size:8cqi}
    .hero .envelope {left:8.5%}
    .hero .seal {left:40%;font-size:6.1cqi;outline-offset:-4px}
    .hero .paper-caption {right:0;bottom:-.35rem;width:100%;text-align:center}
}
@media (max-width:740px), (hover:none) and (pointer:coarse) {
    :is(.profile-copy,.compare-copy) li .pdf-page-link {display:none}
}

@media (max-width:920px) {
    .footer-row {
        display:flex;align-items:center;justify-content:space-between;
        gap:clamp(.4rem,2vw,1rem);
    }
    .footer-row .brand {min-width:0;text-align:start}
    .footer-credit,.footer-row nav {flex:none}
    .footer-credit .design-credit {padding-inline-start:23px}
}
@media (max-width:640px) {
    .footer-credit .design-credit {padding-inline-start:17px}
}
