/* Homepage additions: inherit the public site's typography, illustrations and CTA style. */
.home-module {
    padding: 80px 0;
}
.home-module .home-tariff-card,
.home-module .news-card {
    margin: 0;
}
.home-module .home-module-heading {
    text-align: center;
    margin-bottom: 44px;
}
.home-module .home-module-heading h2 {
    margin: 0 0 20px;
    color: #000;
}
.home-module .home-module-heading p {
    max-width: 820px;
    margin: 0 auto;
    color: #555;
    font-size: 1.25rem;
    line-height: 1.5;
}
.home-tariffs {
    background: #f7f8fc;
}
.home-tariff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}
.home-tariff-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.home-tariff-card__content {
    flex: 1;
    padding: 30px 28px 26px;
}
.home-tariffs .home-tariff-card h3 {
    margin: 0 0 8px;
    color: #000;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.1;
}
.home-tariff-card .home-tariff-card__description {
    margin: 0;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #626262;
    min-height: 1.4em;
}
.home-tariff-card__image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 25px auto;
}
.home-tariff-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: center;
}
.home-tariff-card__features li + li {
    margin-top: 6px;
}
.home-tariff-card__action {
    padding: 24px 20px 30px;
    text-align: center;
    background: #cbecff;
}
.home-tariff-card--optimal .home-tariff-card__action {
    background: #390085;
    color: #fff;
}
.home-tariff-card .home-tariff-card__price {
    margin: 0 0 18px;
    color: #111;
    font-size: 1.15rem;
    line-height: 1.2;
    white-space: nowrap;
}
.home-tariff-card__price strong {
    font-family: 'Proxima Nova Bl', sans-serif;
    font-size: 3rem;
    font-weight: 800;
}
.home-tariff-card--optimal .home-tariff-card__price {
    color: #fff;
}
.home-tariff-card .home-tariff-card__price--english {
    font-size: 1.4rem;
    font-weight: 600;
    white-space: normal;
    min-height: 1.5em;
}
.home-tariffs .home-tariff-card .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 270px;
    min-height: 56px;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    background-color: #e00000;
    border-color: #e00000;
    color: #fff;
}
.home-tariffs .home-tariff-card .btn:hover {
    background-color: #ba0000;
    border-color: #ba0000;
    color: #fff;
}
.home-module-footer {
    margin-top: 32px;
}
.home-module .home-module-more {
    margin: 32px 0 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
}
.home-module-more a {
    display: inline-block;
    padding: 10px 0;
    color: #390085;
    text-underline-offset: 4px;
}
.home-module a:focus-visible {
    outline: 3px solid #8600e7;
    outline-offset: 5px;
}
.home-module .news-list {
    margin-top: 0;
}
.home-news .news-list.news-list--cards {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.home-news .news-list.news-list--cards .news-item {
    display: flex;
    padding: 0 15px;
    margin-bottom: 0;
}
.home-news .news-list.news-list--cards .news-card {
    width: 100%;
}
.home-news .news-list.news-list--cards .news-card__media {
    padding: 10px;
    background: #f5f6fa;
}
.home-news .news-list.news-list--cards .news-card__media img {
    object-fit: contain;
    object-position: center;
}
.home-news .news-list.news-list--cards .news-card:hover .news-card__media img {
    transform: none;
}
.home-news .news-list.news-list--cards .news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.home-news .news-list.news-list--cards .news-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.home-news .news-list.news-list--cards .news-card__title {
    max-height: none;
    overflow: visible;
}
.home-news .news-list.news-list--cards .news-card__date {
    color: #666;
}
.home-news .news-list.news-list--cards .news-card__more {
    margin-top: auto;
    padding-top: 8px;
}
@media (max-width: 991px) {
    .home-module { padding: 64px 0; }
    .home-tariff-grid { gap: 20px; }
    .home-tariff-card__content { padding: 25px 18px 22px; }
    .home-tariffs .home-tariff-card h3 { font-size: 2rem; }
    .home-tariff-card__image { height: 150px; }
    .home-tariff-card__features { font-size: .95rem; }
    .home-tariff-card .home-tariff-card__description { font-size: .95rem; min-height: 2.8em; }
    .home-tariffs .home-tariff-card .btn { padding: 13px 12px; font-size: .95rem; }
}
@media (max-width: 767px) {
    .home-module { padding: 48px 0; }
    .home-module .home-module-heading { margin-bottom: 30px; text-align: left; }
    .home-module .home-module-heading h2 { font-size: 2rem; line-height: 1.15; margin-bottom: 15px; }
    .home-module .home-module-heading p { font-size: 1.1rem; }
    .home-tariff-grid { grid-template-columns: 1fr; gap: 26px; max-width: 440px; margin: 0 auto; }
    .home-tariff-card__content { padding: 28px 24px 24px; }
    .home-tariffs .home-tariff-card h3 { font-size: 2.2rem; }
    .home-tariff-card .home-tariff-card__description { font-size: 1.05rem; min-height: 0; }
    .home-tariff-card__image { height: 155px; margin: 20px auto; }
    .home-tariff-card__features { font-size: 1.05rem; }
    .home-tariff-card__action { padding: 23px 24px 26px; }
    .home-tariffs .home-tariff-card .btn { max-width: none; font-size: 1.05rem; }
    .home-module .home-module-more { margin-top: 23px; font-size: 1rem; }
    .home-news .news-list.news-list--cards .news-item { flex: 0 0 100%; max-width: 100%; margin-bottom: 24px; }
    .home-news .news-list.news-list--cards .news-item:last-child { margin-bottom: 0; }
    .home-news .news-list.news-list--cards .news-card__title { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-module .news-card, .home-module .news-card img, .home-module a { transition: none; }
}
