/**
 * Best eSIM Providers Widget Styling
 * This file contains all styles for the Best eSIM Providers Widget
 */

.best-providers-widget {
    width: 100%;
    padding: var(--spacing-24);
    margin-bottom: 40px;
    border-radius: 8px;
    background-color: var(--blue-fifth);
}

.best-providers-widget-title {
    font-family: var(--body-font);
    font-weight: var(--font-weight-semi-bold);
    font-size: 32px;
    line-height: 42px;
    margin-bottom: var(--spacing-24);
    color: var(--main-black);
}

.best-providers-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: var(--spacing-12);
}

.best-providers-row:last-child {
    margin-bottom: 0;
}

.best-providers-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 4px;
    color: var(--main-white);
    font-family: var(--body-font);
    font-weight: var(--font-weight-bold);
    font-size: 20px;
    line-height: 27px;
    margin-right: var(--spacing-16);
    flex-shrink: 0;
}

.best-providers-number.intense {
    background-color: var(--main-color);
}

.best-providers-number.faded {
    background-color: var(--blue-four);
    color: var(--blue-one);
}

.best-providers-content {
    flex-grow: 1;
    min-width: 0;
    white-space: normal;
}

.best-providers-title {
    font-family: var(--body-font);
    font-weight: var(--font-weight-bold);
    font-size: 18px;
    line-height: 27px;
    color: var(--main-color);
}

a.best-providers-title:hover {
    color: var(--main-color);
}

.best-providers-description {
    font-family: var(--body-font);
    font-weight: var(--body-font-weight);
    font-size: var(--body-font-size);
    line-height: var(--body-line-height);
    color: var(--main-black);
}

/* Responsive design for mobile devices */
@media only screen and (max-width: 390px) {
    .best-providers-widget {
        padding: var(--spacing-20);
        margin-bottom: 32px;
    }

    .best-providers-widget-title {
        font-size: 28px;
        line-height: 36px;
    }

    .best-providers-row {
        margin-bottom: var(--spacing-20);
    }

    .best-providers-number {
        min-width: 40px;
        height: 40px;
        font-size: 20px;
        margin-right: var(--spacing-12);
    }

    .best-providers-title {
        font-size: 18px;
        line-height: 24px;
    }
}