/* =========================================
   MARKET OVERVIEW
========================================= */

.market-overview-top {

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}

.market-overview-top h2 {

    margin-top: 22px;

    max-width: 760px;
}

.market-overview-top p {

    max-width: 460px;
}


/* =========================================
   GRID
========================================= */

.city-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================
   CARD
========================================= */

.city-card {

    padding: 30px;

    display: flex;
    flex-direction: column;

    min-height: 100%;
}


/* =========================================
   TOP
========================================= */

.city-card-top {

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}


/* SOURCE */
.city-source {

    display: inline-flex;

    margin-bottom: 14px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.city-card-top h3 {

    font-size: 34px;
}


/* =========================================
   UPDATE STATUS
========================================= */

.city-update {

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 12px 16px;

    border-radius: 100px;

    background:
        rgba(0,180,90,0.10);

    color:
        #00995a;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.update-dot {

    width: 10px;
    height: 10px;

    border-radius: 100%;

    background:
        #00b46e;

    box-shadow:
        0 0 12px rgba(0,180,90,0.45);
}


/* =========================================
   TABLE
========================================= */

.city-table {

    display: flex;
    flex-direction: column;

    gap: 18px;

    margin-bottom: 28px;
}


/* ROW */
.city-row {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(15,35,68,0.06);
}

.city-row span {

    color: var(--text-light);

    font-size: 14px;
}

.city-row strong {

    color: var(--primary);

    font-size: 16px;
}


/* =========================================
   CONTEXT
========================================= */

.city-context {

    padding: 18px;

    border-radius: 18px;

    background:
        rgba(15,35,68,0.04);

    color: var(--text-light);

    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 28px;
}


/* =========================================
   ACTIONS
========================================= */

.city-actions {

    display: flex;
    flex-direction: column;

    gap: 14px;

    margin-top: auto;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

    .city-grid {

        grid-template-columns: 1fr;
    }

}

@media (max-width: 992px) {

    .market-overview-top {

        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 768px) {

    .city-card-top {

        flex-direction: column;
        align-items: flex-start;
    }

}