.articles-page {
    background: #ffffff;
}

.articles-hero {
    background: #18252d;
    height: 270px;
    overflow: visible;
    position: relative;
}

.articles-hero-image {
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
    width: 100%;
}

.articles-hero-overlay {
    background: rgba(1, 28, 37, 0.64);
    inset: 0;
    position: absolute;
}

.articles-hero-content {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 1;
}

.articles-hero-content h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0;
    text-align: center;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.articles-search-container {
    bottom: 0;
    left: 50%;
    position: absolute;
    transform: translate(-50%, 50%);
    z-index: 2;
}

.articles-search-box {
    align-items: center;
    background: #ffffff;
    border: 1px solid #aeb4ba;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(16, 24, 40, 0.06);
    display: flex;
    margin: 0 auto;
    max-width: 440px;
    padding: 0 18px;
}

.articles-search-submit {
    background: transparent;
    border: 0;
    color: #737980;
    flex: 0 0 auto;
    font-size: 18px;
    padding: 4px 0;
}

.articles-search-submit:focus-visible {
    color: #03269e;
    outline: 0;
}

.articles-search-box .form-control {
    border: 0;
    box-shadow: none;
    color: #202020;
    font-size: 14px;
    min-height: 52px;
    padding: 10px 12px;
}

.articles-search-box .form-control::placeholder {
    color: #777d84;
}

.articles-search-box:focus-within {
    border-color: #03269e;
    box-shadow: 0 0 0 4px rgba(3, 38, 158, 0.1);
}

.articles-content {
    padding: 72px 0 112px;
}

.articles-category-navigation {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 22px;
}

.articles-category-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #b9bdc2;
    border-radius: 999px;
    color: #6c7075;
    display: inline-flex;
    flex: 0 0 auto;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    justify-content: center;
    min-height: 40px;
    padding: 10px 22px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.articles-category-button:hover,
.articles-category-button:focus,
.articles-category-button.active {
    background: #03269e;
    border-color: #03269e;
    color: #ffffff;
}

.articles-category-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 38, 158, 0.16);
    outline: 0;
}

.articles-toolbar {
    align-items: center;
    display: flex;
    gap: 14px;
    margin: 48px 0 34px;
}

.articles-sort-form {
    align-items: center;
    display: flex;
    gap: 14px;
}

.articles-toolbar label {
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.articles-sort-select {
    border-color: #03269e;
    border-radius: 4px;
    color: #03269e;
    font-size: 12px;
    font-weight: 700;
    min-height: 38px;
    padding-bottom: 7px;
    padding-top: 7px;
    width: 140px;
}

.articles-sort-select:focus {
    border-color: #03269e;
    box-shadow: 0 0 0 3px rgba(3, 38, 158, 0.12);
}

.articles-list-item {
    display: flex;
}

.articles-list-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.articles-list-image-wrap {
    aspect-ratio: 1.45 / 1;
    background: #e6e8eb;
    border-radius: 4px;
    margin-bottom: 18px;
    overflow: hidden;
}

.articles-list-image-wrap img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
}

.articles-list-card:hover .articles-list-image-wrap img {
    transform: scale(1.018);
}

.articles-list-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.articles-list-card h2 {
    display: -webkit-box;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 14px;
    min-height: 52px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.articles-list-card h2 a {
    color: inherit;
}

.articles-list-card h2 a:hover,
.articles-list-card h2 a:focus {
    color: #03269e;
}

.articles-list-card p {
    color: #666a70;
    display: -webkit-box;
    font-size: 13px;
    line-height: 1.9;
    margin: 0 0 12px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.articles-read-more {
    align-items: center;
    align-self: flex-end;
    color: #03269e;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 3px;
    margin-top: auto;
    padding-top: 5px;
}

.articles-read-more:hover,
.articles-read-more:focus {
    color: #001459;
}

.articles-read-more i {
    font-size: 14px;
}

.articles-results {
    transition: opacity 0.2s ease;
}

.articles-page.is-loading .articles-results {
    opacity: 0.5;
    pointer-events: none;
}

.articles-empty-state {
    color: #676b72;
    padding: 70px 20px 40px;
    text-align: center;
}

.articles-empty-state i {
    color: #03269e;
    font-size: 34px;
    margin-bottom: 12px;
}

.articles-empty-state p {
    font-size: 15px;
    margin: 0;
}

.articles-pagination {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 62px;
}

.articles-page-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #c7cbd0;
    border-radius: 3px;
    color: #73777c;
    display: inline-flex;
    font-family: inherit;
    font-size: 12px;
    height: 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.articles-page-button:hover,
.articles-page-button:focus,
.articles-page-button.active {
    background: #03269e;
    border-color: #03269e;
    color: #ffffff;
}

.articles-page-button:disabled {
    background: #f5f6f7;
    border-color: #d8dade;
    color: #adafb3;
    cursor: not-allowed;
}

.articles-page-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 38, 158, 0.14);
    outline: 0;
}

@media (max-width: 991.98px) {
    .articles-hero {
        height: 250px;
    }

    .articles-hero-content h1 {
        font-size: 37px;
    }

    .articles-content {
        padding-bottom: 90px;
    }

    .articles-category-navigation {
        margin-left: -12px;
        margin-right: -12px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 767.98px) {
    .articles-hero {
        height: 220px;
    }

    .articles-hero-content h1 {
        font-size: 31px;
        letter-spacing: 1px;
    }

    .articles-search-box {
        max-width: calc(100% - 24px);
    }

    .articles-search-box .form-control {
        min-height: 48px;
    }

    .articles-content {
        padding: 66px 0 72px;
    }

    .articles-toolbar {
        margin: 38px 0 28px;
    }

    .articles-list-card h2 {
        font-size: 18px;
        min-height: 47px;
    }

    .articles-pagination {
        justify-content: center;
        margin-top: 48px;
    }
}

@media (max-width: 575.98px) {
    .articles-hero {
        height: 205px;
    }

    .articles-hero-content h1 {
        font-size: 27px;
        max-width: calc(100% - 30px);
    }

    .articles-category-button {
        min-height: 38px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .articles-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .articles-sort-form {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .articles-sort-select {
        min-height: 44px;
        width: 100%;
    }

    .articles-list-image-wrap {
        aspect-ratio: 1.5 / 1;
        margin-bottom: 16px;
    }

    .articles-list-card h2 {
        min-height: 0;
    }

}
