/* Enquete Política — visual público */
.esp-poll {
    --esp-navy: #101d33;
    --esp-navy-2: #1a2b46;
    --esp-gold: #d9b45d;
    --esp-ink: #172033;
    --esp-muted: #6e7888;
    --esp-line: #e6eaf0;
    width: 100%;
    max-width: 1180px;
    margin: 28px auto;
    color: var(--esp-ink);
    font-family: inherit;
}
.esp-poll, .esp-poll * { box-sizing: border-box; }
.esp-poll__header {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border-radius: 22px 22px 0 0;
    color: #fff;
    background: radial-gradient(circle at 92% 12%, rgba(217,180,93,.22), transparent 28%), linear-gradient(125deg, var(--esp-navy), var(--esp-navy-2));
}
.esp-poll__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    color: #f1d99e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}
.esp-poll__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--esp-gold); box-shadow: 0 0 0 4px rgba(217,180,93,.15); }
.esp-poll__header h2 {
    max-width: 850px;
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
}
.esp-poll__header p { margin: 0; color: #c8d2e1; font-size: 14px; }
.esp-poll__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
    gap: 18px;
    padding: 22px;
    background: #f4f6f9;
    border-left: 1px solid var(--esp-line);
    border-right: 1px solid var(--esp-line);
}
.esp-poll__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(16,29,51,.055);
    transition: transform .2s ease, box-shadow .2s ease;
}
.esp-poll__card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,29,51,.10); }
.esp-poll__photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 4.3;
    background: linear-gradient(135deg, #dfe5ed, #f5f7fa);
}
.esp-poll__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.esp-poll__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg, #dfe5ed, #bfcbd9); }
.esp-poll__placeholder span { display: grid; width: 86px; height: 86px; place-items: center; border-radius: 50%; color: #fff; background: #7d8da2; font-size: 42px; font-weight: 800; }
.esp-poll__card-content { padding: 17px; }
.esp-poll__card h3 { min-height: 2.5em; margin: 0 0 12px; color: var(--esp-navy); font-size: 18px; line-height: 1.25; font-weight: 800; }
.esp-poll__vote {
    display: block;
    width: 100%;
    min-height: 43px;
    border: 0;
    border-radius: 10px;
    color: #172033;
    background: var(--esp-gold);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}
.esp-poll__vote:hover:not(:disabled) { filter: brightness(1.04); transform: translateY(-1px); }
.esp-poll__vote:disabled { opacity: .55; cursor: not-allowed; }
.esp-poll__result { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 15px; }
.esp-poll__percentage { color: var(--esp-navy); font-size: 25px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.esp-poll__votes { color: var(--esp-muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.esp-poll__bar { height: 9px; overflow: hidden; margin-top: 9px; border-radius: 99px; background: #e9edf2; }
.esp-poll__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #bd9340, var(--esp-gold)); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.esp-poll__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid var(--esp-line);
    border-top: 0;
    background: #fff;
}
.esp-poll__footer > div { display: flex; flex-direction: column; gap: 2px; }
.esp-poll__total-label { color: var(--esp-muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.esp-poll__total { color: var(--esp-navy); font-size: 27px; line-height: 1; font-weight: 900; }
.esp-poll__status { margin: 0; color: #536174; font-size: 13px; font-weight: 600; text-align: right; }
.esp-poll__disclaimer {
    padding: 15px 18px;
    border: 1px solid #e8e0ce;
    border-top: 0;
    border-radius: 0 0 16px 16px;
    color: #6e624b;
    background: #fbf8f0;
    font-size: 12px;
    line-height: 1.55;
}
.esp-poll__disclaimer strong { color: #4f442f; }
.esp-poll-blocked {
    padding: 30px;
    border: 1px solid #ead9b4;
    border-radius: 16px;
    background: #fffaf0;
    text-align: center;
}
.esp-poll__blocked-icon { display: grid; width: 42px; height: 42px; margin: 0 auto 12px; place-items: center; border-radius: 50%; color: #fff; background: #b88936; font-size: 24px; font-weight: 900; }
.esp-poll-blocked h2 { margin: 0 0 8px; color: #3d3322; font-size: 22px; }
.esp-poll-blocked p { max-width: 700px; margin: 0 auto; color: #675a43; line-height: 1.55; }
.esp-poll-message { padding: 16px; border: 1px solid #e6eaf0; border-radius: 12px; color: #526071; background: #f7f9fb; }
@media (max-width: 600px) {
    .esp-poll { margin: 18px auto; }
    .esp-poll__header { border-radius: 16px 16px 0 0; padding: 22px 18px; }
    .esp-poll__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
    .esp-poll__photo { aspect-ratio: 4 / 4.7; }
    .esp-poll__card-content { padding: 11px; }
    .esp-poll__card h3 { min-height: 2.6em; margin-bottom: 9px; font-size: 14px; }
    .esp-poll__vote { min-height: 39px; font-size: 13px; }
    .esp-poll__percentage { font-size: 21px; }
    .esp-poll__votes { font-size: 10px; }
    .esp-poll__footer { align-items: flex-start; padding: 15px; }
    .esp-poll__status { max-width: 58%; font-size: 11px; }
    .esp-poll__disclaimer { padding: 13px; font-size: 11px; }
}


/* Chamada compacta da enquete: duas linhas, mantendo a identidade azul-marinho e dourada. */
.esp-cover {
    --esp-cover-navy: #101c32;
    --esp-cover-gold: #d9b45d;
    width: 100%;
    max-width: 1180px;
    margin: 13px auto 17px;
    overflow: hidden;
    border: 1px solid rgba(217,180,93,.24);
    border-radius: 15px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 0%, rgba(48,87,132,.42), transparent 38%),
        radial-gradient(circle at 100% 100%, rgba(217,180,93,.16), transparent 35%),
        linear-gradient(125deg, #101c32 0%, #1a2b46 100%);
    box-shadow: 0 7px 19px rgba(12,25,45,.11);
}
.esp-cover, .esp-cover * { box-sizing: border-box; }
.esp-cover__compact-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 66px;
    padding: 9px 15px;
}
.esp-cover__compact-line {
    display: flex;
    align-items: center;
    min-width: 0;
}
.esp-cover__compact-line--top { gap: 11px; }
.esp-cover__kicker {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #f0d99e;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
}
.esp-cover__kicker i {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--esp-cover-gold);
    box-shadow: 0 0 0 4px rgba(217,180,93,.13);
}
.esp-cover__compact-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: clamp(14px, 1.65vw, 19px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.esp-cover__button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 30px;
    padding: 0 13px;
    border: 0;
    border-radius: 8px;
    color: #142139 !important;
    background: linear-gradient(135deg, #f0d48e, #d9b45d);
    box-shadow: 0 4px 11px rgba(0,0,0,.14);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .035em;
    text-decoration: none !important;
    white-space: nowrap;
    transition: transform .2s ease, filter .2s ease;
}
.esp-cover__button:hover { color: #142139 !important; filter: brightness(1.05); transform: translateY(-1px); }
.esp-cover__button span { font-size: 16px; line-height: 1; }
.esp-cover__compact-line--bottom {
    justify-content: space-between;
    gap: 12px;
}
.esp-cover__compact-line--bottom p {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    margin: 0;
    color: #c7d2e1;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.esp-cover__compact-line--bottom small {
    flex: 0 0 auto;
    margin: 0;
    color: #aab9cc;
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .esp-cover { margin: 10px auto 13px; border-radius: 12px; }
    .esp-cover__compact-inner { min-height: 60px; gap: 3px; padding: 8px 10px; }
    .esp-cover__compact-line--top { gap: 7px; }
    .esp-cover__kicker { gap: 5px; font-size: 7px; letter-spacing: .07em; }
    .esp-cover__kicker i { width: 6px; height: 6px; }
    .esp-cover__compact-title { font-size: 13px; }
    .esp-cover__button { min-height: 26px; gap: 5px; padding: 0 8px; font-size: 8px; }
    .esp-cover__button span { font-size: 14px; }
    .esp-cover__compact-line--bottom { gap: 6px; }
    .esp-cover__compact-line--bottom p { font-size: 9px; }
    .esp-cover__compact-line--bottom small { display: none; }
}

/* Página exclusiva de votação: sem conteúdo editorial ou sidebar */
.esp-exclusive-page {
    width: 100%;
    min-height: 60vh;
    padding: clamp(18px, 4vw, 48px) 16px;
    background: #f3f5f8;
}
.esp-exclusive-page__inner {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
}
.esp-exclusive-page .esp-poll {
    margin: 0 auto;
}
.esp-exclusive-page .esp-poll__header {
    border-radius: 20px 20px 0 0;
}
.esp-exclusive-page .esp-poll__grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.esp-exclusive-page .esp-poll__photo {
    aspect-ratio: 4 / 4.6;
}
.esp-cover {
    margin-top: 26px;
    margin-bottom: 26px;
}


/* v1.4.5 — miniaturas fotográficas muito pequenas, sem aumentar a chamada de duas linhas. */
.esp-cover__compact-inner { min-height: 62px; gap: 2px; padding: 7px 13px; }
.esp-cover__compact-line--bottom { justify-content: flex-start; gap: 7px; min-height: 19px; }
.esp-cover__thumbs { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 3px; max-width: 122px; overflow: hidden; }
.esp-cover__thumb { display: inline-flex; flex: 0 0 18px; width: 18px; height: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.22); }
.esp-cover__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.esp-cover__thumb-more { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; width: 20px; height: 18px; border-radius: 9px; color: #142139; background: #f0d48e; font-size: 8px; font-weight: 900; }
.esp-cover__compact-line--bottom p { font-size: 9px; }
.esp-cover__compact-line--bottom small { margin-left: auto; font-size: 8px; }
@media (max-width: 600px) {
    .esp-cover__compact-inner { min-height: 56px; padding: 7px 9px; }
    .esp-cover__thumbs { gap: 2px; max-width: 100px; }
    .esp-cover__thumb { flex-basis: 16px; width: 16px; height: 16px; }
    .esp-cover__thumb-more { flex-basis: 18px; width: 18px; height: 16px; font-size: 7px; }
    .esp-cover__compact-line--bottom { gap: 5px; }
    .esp-cover__compact-line--bottom p { font-size: 8px; }
    .esp-cover__compact-line--bottom small { display: none; }
}


/* v1.4.7 — chamada ligeiramente maior e fotos dos candidatos mais visíveis, mantendo duas linhas. */
.esp-cover__compact-inner { min-height: 72px; gap: 3px; padding: 9px 14px; }
.esp-cover__compact-line--top { min-height: 30px; }
.esp-cover__button { min-height: 32px; padding-right: 14px; padding-left: 14px; }
.esp-cover__compact-line--bottom { min-height: 25px; gap: 9px; }
.esp-cover__thumbs { gap: 4px; max-width: 158px; }
.esp-cover__thumb { flex-basis: 23px; width: 23px; height: 23px; }
.esp-cover__thumb-more { flex-basis: 24px; width: 24px; height: 23px; font-size: 9px; }
@media (max-width: 600px) {
    .esp-cover__compact-inner { min-height: 65px; padding: 8px 10px; gap: 3px; }
    .esp-cover__compact-line--top { min-height: 27px; }
    .esp-cover__button { min-height: 28px; padding-right: 9px; padding-left: 9px; }
    .esp-cover__compact-line--bottom { min-height: 22px; gap: 6px; }
    .esp-cover__thumbs { gap: 3px; max-width: 125px; }
    .esp-cover__thumb { flex-basis: 21px; width: 21px; height: 21px; }
    .esp-cover__thumb-more { flex-basis: 22px; width: 22px; height: 21px; font-size: 8px; }
    .esp-cover__compact-line--bottom p { font-size: 8.5px; }
}


/* v1.4.8 — aumenta em aproximadamente 20% as fotos na barra compacta da capa. */
.esp-cover__compact-line--bottom { min-height: 30px; }
.esp-cover__thumbs { max-width: 190px; }
.esp-cover__thumb { flex-basis: 28px; width: 28px; height: 28px; }
.esp-cover__thumb-more { flex-basis: 29px; width: 29px; height: 28px; font-size: 10px; }
.esp-cover__compact-inner { min-height: 80px; }
@media (max-width: 600px) {
    .esp-cover__compact-inner { min-height: 73px; }
    .esp-cover__compact-line--bottom { min-height: 27px; }
    .esp-cover__thumbs { max-width: 145px; }
    .esp-cover__thumb { flex-basis: 25px; width: 25px; height: 25px; }
    .esp-cover__thumb-more { flex-basis: 26px; width: 26px; height: 25px; font-size: 9px; }
}
