/* ==========================================================
   CENCRAFT VOTING
========================================================== */

.cc-vote-page {
    padding-top: 70px;
    padding-bottom: 90px;
}


/* ==========================================================
   HERO
========================================================== */

.cc-vote-hero {
    max-width: 760px;
    margin-bottom: 45px;
}

.cc-vote-hero h1 {
    margin: 12px 0 16px;

    color: #f4f7fa;

    font-size: clamp(2.7rem, 6vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.cc-vote-hero p {
    margin: 0;

    color: #8495a7;

    font-size: 1.05rem;
    line-height: 1.7;
}


/* ==========================================================
   VOTE GRID
========================================================== */

.cc-vote-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 20px;
}


/* ==========================================================
   VOTE CARD
========================================================== */

.cc-vote-card {
    display: flex;
    flex-direction: column;

    min-height: 290px;
    padding: 30px;
}

.cc-vote-card h2 {
    margin: 12px 0;

    color: #f4f7fa;

    font-size: 1.45rem;
}

.cc-vote-reward {
    margin: 0 0 24px;

    color: #8495a7;

    line-height: 1.65;
}


/* ==========================================================
   COOLDOWN
========================================================== */

.cc-vote-cooldown {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: auto;
    margin-bottom: 20px;

    padding-top: 18px;

    border-top:
        1px solid rgba(132, 149, 167, 0.12);
}

.cc-vote-cooldown span {
    color: #718395;

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cc-vote-cooldown strong {
    color: #12d9ef;

    font-size: 0.88rem;
}


/* ==========================================================
   BUTTON
========================================================== */

.cc-vote-card .cc-button {
    width: 100%;
    text-align: center;
}


/* ==========================================================
   INFORMATION
========================================================== */

.cc-vote-info {
    margin-top: 28px;
}

.cc-vote-info .cc-card {
    padding: 32px;
}

.cc-vote-info h2,
.cc-vote-empty h2 {
    margin: 12px 0;

    color: #f4f7fa;
}

.cc-vote-info p,
.cc-vote-empty p {
    max-width: 720px;

    margin: 0;

    color: #8495a7;

    line-height: 1.7;
}


/* ==========================================================
   EMPTY STATE
========================================================== */

.cc-vote-empty .cc-card {
    padding: 38px;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    .cc-vote-page {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .cc-vote-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .cc-vote-info .cc-card,
    .cc-vote-empty .cc-card {
        padding: 26px 20px;
    }

}
