/* Раздел статей ЭТЛ Протон */

.proton-articles-heading {
    font-size: 28px;
    font-weight: 700;
    color: #02599d;
    margin: 0 0 15px;
}

.proton-articles-intro {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Карточки статей */

.proton-article-card {
    display: inline-flex;
    flex-direction: column;
    vertical-align: top;
    width: calc(33.333% - 16px);
    margin: 0 6px 24px;
    background: #fff;
    border: 1px solid #e1e6eb;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
    transition: box-shadow .25s, transform .25s;
    text-align: left;
}

.proton-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

.proton-article-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #f0f3f6;
}

.proton-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proton-article-info {
    padding: 18px;
}

.proton-article-date {
    color: #85909b;
    font-size: 12px;
    margin-bottom: 10px;
}

.proton-article-title {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 12px;
}

.proton-article-title a {
    color: #02599d;
    text-decoration: none;
}

.proton-article-title a:hover {
    color: #013e6e;
}

.proton-article-description {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 16px;
}

.proton-article-more a {
    display: inline-block;
    color: #02599d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.proton-article-more a:hover {
    text-decoration: underline;
}

/* Полная статья */

.proton-article-full {
    max-width: 850px;
    margin: 0 auto;
    color: #333;
}

.proton-article-breadcrumb {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

.proton-article-breadcrumb a {
    color: #02599d;
}

.proton-article-full h1 {
    font-size: 30px;
    line-height: 1.3;
    color: #172f45;
    margin: 0 0 15px;
}

.proton-article-body {
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.proton-article-body h2 {
    font-size: 23px;
    color: #02599d;
    margin: 30px 0 15px;
}

.proton-article-body h3 {
    font-size: 19px;
    margin: 20px 0 12px;
}

.proton-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.proton-article-body a {
    color: #02599d;
    text-decoration: underline;
}

.proton-article-contact {
    background: #f0f6fc;
    border-left: 4px solid #02599d;
    border-radius: 5px;
    padding: 22px;
    margin: 30px 0;
    font-size: 14px;
    line-height: 1.6;
}

.proton-article-contact h3 {
    font-size: 20px;
    color: #02599d;
    margin-bottom: 10px;
}

.proton-article-back a {
    display: inline-block;
    background: #02599d;
    color: #fff;
    padding: 12px 22px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.proton-article-back a:hover {
    background: #013e6e;
}

/* Адаптация карточек */

@media (max-width: 768px) {
    .proton-article-card {
        width: calc(50% - 16px);
    }
}

@media (max-width: 480px) {
    .proton-article-card {
        width: 100%;
        margin: 0 0 20px;
    }

    .proton-article-full h1 {
        font-size: 24px;
    }
}

/* Единая высота карточек статей */

.proton-article-card {
    height: 420px !important;
    min-height: 420px !important;
}

.proton-article-image {
    height: 170px;
    flex-shrink: 0;
}

.proton-article-card > a {
    flex-shrink: 0;
}

.proton-article-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.proton-article-title {
    line-height: 1.4;
    height: 72px;
    min-height: 72px;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proton-article-description {
    line-height: 20px;
    max-height: 60px;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proton-article-more {
    margin-top: auto;
    flex-shrink: 0;
}