:root {
    --content-width: 800px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Lato, sans-serif;
    color: rgb(34, 34, 34);
}
.main-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: var(--main-gap);
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 30px;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    max-width: var(--content-width);
    width: 100%;
    overflow: hidden;
}

.main-header {
    font-size: 36px;
    font-weight: 800;
    line-height: 44px;
}

.subheader {
    font-size: 25px;
    font-weight: 600;
    line-height: 30px;
}

.author-block {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
}

.author-img {
    border-radius: 50%;
    max-width: 50px;
}

.author-texts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

p {
    font-size: 20px;
    line-height: 29px;
    margin-bottom: 30px;
}

.banner {
    display: flex;
    flex-direction: row;
    align-items: self-start;
    gap: 25px;
    background-color: #FFFCED;
    border: solid 1px black;
    padding: 20px;
}

.banner__footer {
    display: flex;
    justify-content: center;
}

.banner-cta--inline {
    color: black;
}

.banner-cta--main {
    display: block;
    color: white;
    background-color: #271E1E;
    padding: 15px 48px 15px 48px;
    text-decoration: none;
    border: solid 1px transparent;
    transition: all 0.4s ease;
}

.banner-cta--main:hover {
    background-color: #FFFFFF;
    color: #000000;
    border: solid 1px #000000;
}

.banner__img {
    max-width: 200px;
}

.banner__content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.banner__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: rgb(58, 79, 102);
}

.banner__body-item {
    display: flex;
}

.icon-check-circle {
    color: rgb(0, 158, 7);
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

h3 {
    font-size: 32px;
    font-weight: 900;
    line-height: 44px;
}

.banner__title {
    font-size: 28px;
}

.content-img {
    width: 100%;
}

.lbaner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: rgb(232, 232, 232);
    padding: 20px;
}

.lbaner__title {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    color: #000441;
    font-size: 20px;
}

.lbaner__cta--inline {
    color: rgb(0, 4, 65);
    font-size: 30px;
}

.lbaner__cta--large {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
    background-image: linear-gradient(180deg, #FADD9E 0%, #F5C255 100%);
    border-bottom: 2px solid black;
    border-radius: 5px;
    padding: 30px 30px 30px 30px;
    text-align: center;
    color: rgb(34, 34, 34);
    text-decoration: none;
}

.lbaner__cards {
    display: flex;
    gap: 15px;
    padding-top: 15px;
}

.lbaner__card {
    background-color: white;
    color: #0076FF;
    flex: 1;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.18);
    text-align: center;
}

.lbaner__card-img {
    width: 100%;
}

.lbaner__card-title {
    margin-top: 20%;
    font-size: 25px;
}

.lbaner__grade {
    font-size: 94px;
}

.lbaner__grade-inline {
    display: none;
    font-size: 25px;
    color: #0076FF;
    font-weight: 700;
}

.lbaner__card-content {
    padding-top: 20px;
}

.lbaner__card-rating {
    color: black;
    font-size: 35px;
    color: #323232;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 10px;
}

.lbaner__rating-star {
    width: 19px;
    height: 19px;
}

.lbaner__card--image {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lbaner__content {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.18);
}

.lbaner__content-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.lbaner__content p {
    font-size: 16px;
    margin-bottom: 24px;
}

.ratings-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: solid 1px rgb(58, 79, 102);
}

.rate-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.rate-bar {
    flex-grow: 1; 
    height: 20px;
    background-color: rgb(238, 238, 238); 
    border-radius: 4px;
    overflow: hidden;
}

.rate-fill {
    height: 100%;
    background-color: rgb(126, 207, 93); 
    border-radius: 2px;
    transition: all 0.8s ease;
}

.rate-score {
    width: 60px;
    text-align: right;
    font-size: 16px;
    margin-left: 10px;
}

.rate-label {
    font-size: 14px;
    font-weight: 500;
    margin-right: 15px;
    width: 150px;
}

.advantages-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.advantages-list__side {
    display: flex;
    flex-direction: column;
    color: rgb(57, 57, 57);
    font-size: 14px;
    gap: 10px;
    min-width: 45%;
}

.advantages-title {
    font-size: 20px;
    font-weight: 600;
    color: #14C649;
    padding-top: 15px;
    padding-bottom: 15px;
}

.disadvantages-title {
    font-size: 20px;
    font-weight: 600;
    color: #D0021B;
    padding-top: 15px;
    padding-bottom: 15px;
}

.conclusion {
    font-size: 20px;
    font-weight: 600;
    color: #515151;
    padding-top: 15px;
    padding-bottom: 15px;
}

.strong_p {
    font-size: 26px;
    font-weight: 700;
    line-height: 31px;
    color: #000441;
    margin-bottom: 20px;
}

.small_p {
    font-size: 16px;
    margin-bottom: 5px;
}

.strong-block {
    background-color: rgb(255, 251, 249);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.strong-block--green {
    border: solid 3px #14C649;
}

.strong-block--red {
    border: solid 3px #D0021B;
}

.strong-block .strong_p {
    margin-bottom: 0;
}

.middle-strong-p {
    color: rgb(0, 4, 65);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0px;
}

ul {
    padding: 25px;
}

.footer {
    margin-top: 20px;
    background-color: #F5F5F5;
    text-align: center;
}

.footer p {
    font-size: 13px;
    margin-bottom: 0;
    color: rgb(145, 145, 145);
    padding-top: 0;
}

.footer-content-wrapper {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column; 
    }

    .content {
        max-width: 100%;
    }

    .banner {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .lbaner__card--grade {
        display: none;
    }

    .lbaner__grade-inline {
        display: block;
    }

    .rate-label {
        width: 100%;
    }

    .advantages-list {
        flex-direction: column;
    }

}