.debate-page,
.debate-detail-page{
    background:#f5f6f8;
    padding:32px 0 46px;
}

.debate-page .container,
.debate-detail-page .container{
    width:min(1180px, calc(100% - 32px));
    margin:0 auto;
}

.debate-list-hero{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) 420px;
    gap:22px;
    align-items:stretch;
    margin-bottom:28px;
}

.debate-list-hero-content,
.debate-feature-card,
.debate-detail-main,
.debate-side-card,
.debate-content-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:24px;
    box-shadow:0 12px 32px rgba(15,23,42,.06);
    overflow:hidden;
}

.debate-list-hero-content{
    padding:28px;
}

.debate-breadcrumb{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    color:#94a3b8;
    font-size:12px;
    font-weight:850;
    margin-bottom:16px;
}

.debate-breadcrumb a{
    color:#64748b;
    text-decoration:none;
}

.debate-type-pill,
.debate-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:30px;
    padding:0 11px;
    border-radius:999px;
    background:#e30613;
    color:#fff;
    font-size:12px;
    font-weight:950;
    margin-bottom:14px;
}

.debate-type-pill i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
}

.debate-list-hero h1{
    margin:0;
    color:#111827;
    font-size:42px;
    line-height:1.04;
    letter-spacing:-.055em;
    font-weight:1000;
}

.debate-list-hero p{
    margin:14px 0 0;
    color:#64748b;
    font-size:15px;
    line-height:1.65;
    font-weight:700;
    max-width:720px;
}

.debate-search-card{
    margin-top:22px;
    display:flex;
    gap:10px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:8px;
}

.debate-search-card input{
    flex:1;
    border:0;
    background:transparent;
    outline:none;
    min-height:42px;
    padding:0 10px;
    font-size:14px;
    font-weight:800;
    color:#111827;
}

.debate-search-card button{
    border:0;
    min-height:42px;
    padding:0 18px;
    border-radius:12px;
    background:#111827;
    color:#fff;
    font-size:13px;
    font-weight:950;
    cursor:pointer;
}

.debate-feature-cover{
    display:block;
    width:100%;
    aspect-ratio:4/3;
    background:#0f172a;
    position:relative;
    overflow:hidden;
}

.debate-feature-cover img,
.debate-featured-card img,
.debate-card-cover img,
.debate-cover img,
.debate-related img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.debate-feature-badge{
    position:absolute;
    left:16px;
    top:16px;
    min-height:30px;
    padding:0 11px;
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    background:#e30613;
    color:#fff;
    font-size:12px;
    font-weight:950;
}

.debate-feature-info{
    padding:18px;
}

.debate-feature-info span{
    display:block;
    color:#e30613;
    font-size:12px;
    font-weight:950;
    margin-bottom:7px;
}

.debate-feature-info strong{
    display:block;
    color:#111827;
    font-size:22px;
    line-height:1.15;
    letter-spacing:-.04em;
    font-weight:1000;
}

.debate-feature-info p{
    margin:9px 0 0;
    color:#64748b;
    font-size:13px;
    line-height:1.5;
    font-weight:700;
}

.debate-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin:30px 0 16px;
}

.debate-section-head span{
    display:block;
    color:#e30613;
    font-size:12px;
    font-weight:950;
    margin-bottom:5px;
}

.debate-section-head h2{
    margin:0;
    color:#111827;
    font-size:28px;
    line-height:1.1;
    letter-spacing:-.045em;
    font-weight:1000;
}

.debate-section-head p,
.debate-section-head a{
    color:#64748b;
    font-size:13px;
    font-weight:850;
    text-decoration:none;
}

.debate-featured-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:16px;
}

.debate-featured-card,
.debate-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
    transition:.18s;
}

.debate-card:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(15,23,42,.10);
}

.debate-featured-card a{
    display:block;
    text-decoration:none;
    color:inherit;
}

.debate-featured-card img,
.debate-card-cover{
    width:100%;
    aspect-ratio:4/3;
    background:#0f172a;
    overflow:hidden;
}

.debate-featured-info,
.debate-card-body{
    padding:15px;
}

.debate-featured-info span{
    display:block;
    color:#e30613;
    font-size:11px;
    font-weight:950;
    margin-bottom:7px;
}

.debate-featured-info strong{
    display:block;
    color:#111827;
    font-size:18px;
    line-height:1.17;
    letter-spacing:-.035em;
    font-weight:1000;
}

.debate-featured-info small{
    display:block;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    margin-top:9px;
}

.debate-featured-card.is-large{
    grid-row:span 2;
}

.debate-featured-card.is-large .debate-featured-info strong{
    font-size:24px;
}

.debate-archive-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.debate-card-meta{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    color:#64748b;
    font-size:12px;
    font-weight:850;
    margin-bottom:8px;
}

.debate-card h3{
    margin:0;
}

.debate-card h3 a{
    color:#111827;
    text-decoration:none;
    font-size:20px;
    line-height:1.15;
    letter-spacing:-.04em;
    font-weight:1000;
}

.debate-card p{
    margin:9px 0 0;
    color:#64748b;
    font-size:13px;
    line-height:1.52;
    font-weight:700;
}

.debate-result-mini{
    display:grid;
    gap:7px;
    margin-top:14px;
}

.debate-result-label{
    display:flex;
    justify-content:space-between;
    gap:8px;
    color:#111827;
    font-size:12px;
    font-weight:900;
}

.debate-result-bar{
    height:8px;
    background:#f1f5f9;
    border-radius:999px;
    overflow:hidden;
}

.debate-result-fill{
    height:100%;
    background:#155e8a;
    border-radius:999px;
}

.debate-card-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid #eef2f7;
}

.debate-card-footer span{
    color:#475569;
    font-size:12px;
    font-weight:900;
}

.debate-card-footer a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border-radius:10px;
    background:#111827;
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:950;
}

.debate-empty,
.debate-not-found{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:40px 20px;
    text-align:center;
}

.debate-empty h3,
.debate-not-found h1{
    margin:0 0 7px;
    color:#111827;
    font-size:22px;
    font-weight:1000;
}

.debate-empty p,
.debate-not-found p{
    margin:0;
    color:#64748b;
    font-size:14px;
    font-weight:700;
}

.debate-not-found a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 16px;
    border-radius:12px;
    background:#111827;
    color:#fff;
    text-decoration:none;
    font-weight:950;
    margin-top:18px;
}

.debate-pagination{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:24px;
}

.debate-pagination a,
.debate-pagination span{
    min-width:38px;
    height:38px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:#fff;
    border:1px solid #e5e7eb;
    color:#111827;
    font-size:13px;
    font-weight:950;
}

.debate-pagination span{
    background:#e30613;
    color:#fff;
    border-color:#e30613;
}

.debate-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 340px;
    gap:22px;
    align-items:start;
}

.debate-cover{
    width:100%;
    aspect-ratio:4/3;
    background:#0f172a;
}

.debate-body{
    padding:24px;
}

.debate-title{
    margin:0;
    color:#111827;
    font-size:40px;
    line-height:1.05;
    letter-spacing:-.055em;
    font-weight:1000;
}

.debate-desc{
    margin:14px 0 0;
    color:#475569;
    font-size:16px;
    line-height:1.65;
    font-weight:700;
}

.debate-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.debate-meta span{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 11px;
    border-radius:999px;
    background:#f1f5f9;
    color:#475569;
    font-size:12px;
    font-weight:900;
}

.debate-vote-box{
    margin-top:22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:16px;
    background:#fbfdff;
}

.debate-vote-title{
    margin:0 0 14px;
    color:#111827;
    font-size:20px;
    font-weight:1000;
    letter-spacing:-.035em;
}

.debate-options{
    display:grid;
    gap:10px;
}

.debate-option-btn{
    width:100%;
    min-height:54px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    background:#fff;
    color:#111827;
    padding:0 14px;
    text-align:left;
    font-size:15px;
    font-weight:950;
    cursor:pointer;
    transition:.15s;
}

.debate-option-btn:hover{
    border-color:#111827;
    transform:translateY(-1px);
}

.debate-option-btn:disabled{
    opacity:.6;
    cursor:not-allowed;
}

.debate-results{
    display:grid;
    gap:12px;
}

.debate-result-item{
    display:grid;
    gap:6px;
}

.debate-result-head{
    display:flex;
    justify-content:space-between;
    gap:10px;
    color:#111827;
    font-size:14px;
    font-weight:950;
}

.debate-result-bar{
    height:42px;
    border-radius:12px;
    background:#f1f5f9;
    overflow:hidden;
}

.debate-vote-message{
    display:none;
    margin-top:12px;
    padding:11px 12px;
    border-radius:12px;
    font-size:13px;
    font-weight:900;
}

.debate-vote-message.success{
    display:block;
    background:#dcfce7;
    color:#166534;
}

.debate-vote-message.error{
    display:block;
    background:#fee2e2;
    color:#991b1b;
}

.debate-comments{
    margin-top:22px;
    border-top:1px solid #e5e7eb;
    padding-top:22px;
}

.debate-comments h2{
    margin:0 0 14px;
    color:#111827;
    font-size:25px;
    font-weight:1000;
    letter-spacing:-.04em;
}

.debate-comment-form{
    display:grid;
    gap:10px;
    margin-bottom:18px;
}

.debate-comment-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.debate-comment-form input,
.debate-comment-form textarea{
    width:100%;
    border:1px solid #d1d5db;
    border-radius:13px;
    padding:0 12px;
    min-height:44px;
    outline:none;
    font-size:13px;
    font-weight:700;
}

.debate-comment-form textarea{
    min-height:110px;
    padding:12px;
    resize:vertical;
}

.debate-submit-comment{
    justify-self:start;
    min-height:42px;
    padding:0 16px;
    border:0;
    border-radius:12px;
    background:#111827;
    color:#fff;
    font-size:13px;
    font-weight:950;
    cursor:pointer;
}

.debate-comment-list{
    display:grid;
    gap:12px;
}

.debate-comment{
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:14px;
    background:#fff;
}

.debate-comment-head{
    display:flex;
    justify-content:space-between;
    gap:12px;
    margin-bottom:8px;
}

.debate-comment-head strong{
    color:#111827;
    font-size:14px;
    font-weight:950;
}

.debate-comment-head span{
    color:#94a3b8;
    font-size:12px;
    font-weight:800;
}

.debate-comment p{
    margin:0;
    color:#334155;
    font-size:14px;
    line-height:1.55;
    font-weight:650;
}

.debate-empty-comment{
    background:#f8fafc;
}

.debate-side-card{
    padding:18px;
    position:sticky;
    top:20px;
}

.debate-side-card h3{
    margin:0 0 10px;
    color:#111827;
    font-size:19px;
    font-weight:1000;
    letter-spacing:-.035em;
}

.debate-share-buttons{
    display:grid;
    gap:8px;
}

.debate-share-buttons a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    border-radius:12px;
    text-decoration:none;
    color:#fff;
    font-size:13px;
    font-weight:950;
}

.debate-share-buttons .x{
    background:#111827;
}

.debate-share-buttons .facebook{
    background:#2563eb;
}

.debate-share-buttons .whatsapp{
    background:#16a34a;
}

.debate-back-list{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    border-radius:12px;
    background:#f1f5f9;
    color:#111827;
    text-decoration:none;
    font-size:13px;
    font-weight:950;
    margin-top:12px;
}

.debate-related{
    display:grid;
    gap:10px;
    margin-top:18px;
}

.debate-related a{
    display:grid;
    grid-template-columns:74px 1fr;
    gap:10px;
    align-items:center;
    text-decoration:none;
    padding:8px;
    border-radius:14px;
    background:#f8fafc;
}

.debate-related img{
    width:74px;
    aspect-ratio:4/3;
    border-radius:10px;
}

.debate-related strong{
    display:block;
    color:#111827;
    font-size:13px;
    line-height:1.25;
    font-weight:950;
}

.debate-related small{
    display:block;
    color:#64748b;
    font-size:11px;
    font-weight:800;
    margin-top:5px;
}

@media(max-width:1020px){
    .debate-list-hero,
    .debate-detail-grid{
        grid-template-columns:1fr;
    }

    .debate-featured-grid,
    .debate-archive-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .debate-side-card{
        position:static;
    }
}

@media(max-width:640px){
    .debate-page,
    .debate-detail-page{
        padding:20px 0 34px;
    }

    .debate-page .container,
    .debate-detail-page .container{
        width:min(100% - 22px, 1180px);
    }

    .debate-list-hero-content{
        padding:20px;
        border-radius:20px;
    }

    .debate-list-hero h1{
        font-size:30px;
    }

    .debate-search-card{
        display:grid;
    }

    .debate-featured-grid,
    .debate-archive-grid{
        grid-template-columns:1fr;
    }

    .debate-section-head{
        display:grid;
    }

    .debate-body{
        padding:18px;
    }

    .debate-title{
        font-size:30px;
    }

    .debate-comment-grid{
        grid-template-columns:1fr;
    }

    .debate-card-footer{
        align-items:flex-start;
        flex-direction:column;
    }

    .debate-card-footer a{
        width:100%;
    }
}