/* =========================================================
   EXAMPLES — 06
   ========================================================= */

.examples {
    width: 100%;
    color: var(--color-blue-dark);
}


.examples__container {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
}


.examples__header {
    margin-bottom: 40px;
}


.examples__header h2 {
    margin: 0 0 16px;
}


.examples__header p {
    margin: 0;
    max-width: 720px;
    font-size: 18px;
    line-height: 1.45;
}


/* =========================================================
   GRID
   ========================================================= */

.examples__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 340px));
    justify-content: center;
    gap: 32px 24px;
}


/* =========================================================
   CARD
   ========================================================= */

.example-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--color-blue-accent);
    background: #fff;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE
   ========================================================= */

.example-card__media {
    margin: 18px 18px 0;
    padding: 6px;

    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-sizing: border-box;

    border: 1px solid var(--color-blue-accent);
    border-radius: 8px;

    background: var(--color-blue-pastel);
}


.example-card__media img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 4px;
}   


/* =========================================================
   BODY
   ========================================================= */

.example-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 18px 18px;
}


/* =========================================================
   HEADING
   ========================================================= */

.example-card__heading {
    margin-bottom: 18px;
}


.example-card__title {
    margin: 0 0 7px;
    font-size: 24px;
    line-height: 1.15;
}


.example-card__scenario {
    margin: 0;

    font-size: 14px;
    line-height: 1.35;

    color: var(--color-blue-dark);
}


/* =========================================================
   SPECS
   ========================================================= */

.example-card__specs {
    display: grid;
    grid-template-columns: 82px 108px 82px;
    justify-content: space-between;
    align-items: end;
}


.example-card__spec {
    display: flex;
    flex-direction: column;
    min-width: 0;

    text-align: center;
}


.example-card__spec span {
    margin-bottom: 6px;

    font-size: 12px;
    line-height: 1.2;

    color: var(--color-blue-dark);
}


.example-card__spec strong {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 38px;
    padding: 6px 5px;

    box-sizing: border-box;

    border: 1px solid var(--color-blue-accent);
    border-radius: 8px;

    background: var(--color-blue-pastel);

    font-size: 15px;
    line-height: 1.15;
    white-space: nowrap;
}


/* =========================================================
   INCLUDED
   ========================================================= */

.example-card__included {
    padding-top: 20px;
}


.example-card__included h4 {
    margin: 0 0 12px;

    font-size: 16px;
    line-height: 1.2;
}

.example-card__included-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;

    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid var(--color-blue-accent);
}


.example-card__included-head h4 {
    margin: 0;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}


.example-card__included-price {
    flex-shrink: 0;

    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;

    color: var(--color-blue-dark);
}

.example-card__included ul {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.example-card__included li {
    position: relative;

    margin: 0;
    padding-left: 22px;

    font-size: 14px;
    line-height: 1.35;
}


.example-card__included li::before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 0;

    font-weight: 700;
    color: var(--color-blue-dark);
}


/* =========================================================
   PRICE
   ========================================================= */

.example-card__price {
    display: flex;
    flex-direction: column;

    padding: 17px 20px 19px;

    border-top: 1px solid var(--color-blue-accent);
}


.example-card__price span {
    margin-bottom: 4px;

    font-size: 12px;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    color: var(--color-blue-dark);
}


.example-card__price strong {
    font-size: 26px;
    line-height: 1.15;
}


/* =========================================================
   TEMPORARY PLACEHOLDERS
   ========================================================= */

.example-card--placeholder {
    min-height: 570px;

    padding: 24px;

    justify-content: center;
    align-items: center;

    text-align: center;

    background: var(--color-blue-pastel);
}


.example-card--placeholder h3 {
    margin: 0;

    font-size: 20px;
    line-height: 1.25;
}


/* =========================================================
   NOTE
   ========================================================= */

.examples__note {
    margin-top: 24px;
    padding: 20px 24px;

    background: var(--color-blue-pastel);
}


.examples__note p {
    margin: 0;

    font-size: 16px;
    line-height: 1.45;
}


/* =========================================================
   TABLET — 2 × 3
   ========================================================= */

@media (min-width: 768px) and (max-width: 990px) {

    .examples__cards {
        grid-template-columns: repeat(2, minmax(0, 340px));
    }

}


/* =========================================================
   MOBILE — 1 × 6
   ========================================================= */

@media (max-width: 767px) {

    .examples__container {
        width: min(100% - 24px, 1280px);
    }


    .examples__header {
        margin-bottom: 24px;
    }


    .examples__header p {
        font-size: 16px;
    }


    .examples__cards {
        grid-template-columns: minmax(0, 340px);
        justify-content: center;
        gap: 24px;
    }


    .example-card--placeholder {
        min-height: 570px;
    }


    .examples__note {
        margin-top: 16px;
        padding: 18px 20px;
    }

}