.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #e63946;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header__nav-item {
    font-weight: 500;
    color: #343a40;
    transition: color 0.3s ease;
    position: relative;
}

.header__nav-item:hover {
    color: #e63946;
}

.header__nav-item--active {
    color: #e63946;
}

.header__nav-item--active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e63946;
}

.header__search {
    position: relative;
    display: flex;
    align-items: center;
}

.header__search-input {
    padding: 0.5rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    width: 200px;
    transition: all 0.3s ease;
}

.header__search-input:focus {
    outline: none;
    border-color: #e63946;
    width: 250px;
}

.header__search-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.header__search-btn:hover {
    color: #e63946;
}

.header__auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__auth-btn {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header__auth-btn--login {
    border: 1px solid #dee2e6;
    color: #343a40;
}

.header__auth-btn--login:hover {
    border-color: #e63946;
    color: #e63946;
}

.header__auth-btn--register {
    background-color: #e63946;
    color: white;
}

.header__auth-btn--register:hover {
    background-color: #c62828;
}

.header__hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #343a40;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.carousel__container {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel__item {
    min-width: 100%;
    position: relative;
}

.carousel__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.carousel__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel__description {
    font-size: 1rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel__control:hover {
    background-color: white;
    color: #e63946;
}

.carousel__control--prev {
    left: 15px;
}

.carousel__control--next {
    right: 15px;
}

.carousel__indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel__indicator--active {
    background-color: white;
    transform: scale(1.2);
}

.news-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.news-card__image-link {
    display: block;
    line-height: 0;
}

.news-card__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 9/5;
}

.news-card__image-link:hover .news-card__image {
    transform: scale(1.03);
}

.news-card__content {
    padding: 1.25rem;
}

.news-card__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.news-card__description {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #adb5bd;
}

.news-card__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-card__stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-list__item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-list__item:hover {
    background-color: rgba(230, 57, 70, 0.02);
}

.news-list__image-link {
    display: block;
    line-height: 0;
    width: 280px;
    min-width: 280px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-list__image {
    width: 280px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    display: block;
}

.news-list__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-list__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.news-list__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-list__title-link:hover {
    color: #e63946;
}

.news-list__description {
    font-size: 0.9375rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.article {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.article__category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
    line-height: 1.3;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.article__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #343a40;
}

.article__content p {
    margin-bottom: 1.5rem;
}

.article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.article__social {
    display: flex;
    gap: 1rem;
}

.article__social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: #f8f9fa;
    color: #6c757d;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.article__social-btn:hover {
    background-color: #e9ecef;
    color: #343a40;
}

.article__social-btn--like:hover {
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
}

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar__section {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sidebar__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e63946;
    color: #212529;
}

.sidebar__list {
    list-style: none;
}

.sidebar__list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar__list-item:last-child {
    border-bottom: none;
}

.sidebar__list-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
}

.sidebar__list-number--top {
    background-color: #e63946;
    color: white;
}

.sidebar__list-title {
    font-size: 0.9375rem;
    color: #343a40;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.sidebar__list-title:hover {
    color: #e63946;
}

.footer {
    background-color: #1d3557;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer__list {
    list-style: none;
}

.footer__list-item {
    margin-bottom: 0.75rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: white;
}

.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer__social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.footer__social-icon:hover {
    background-color: #e63946;
    transform: translateY(-3px);
}

.footer__bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.pagination li a,
.pagination li span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: white;
    color: #343a40;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}

.pagination li a:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.pagination li span {
    background-color: #e63946;
    color: white;
    cursor: default;
}

.pagination li:first-child a,
.pagination li:last-child a {
    color: #6c757d;
    width: auto;
    min-width: 40px;
    padding: 0 0.75rem;
    white-space: nowrap;
}

.pagination li:first-child a:hover,
.pagination li:last-child a:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu--open {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu__close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #343a40;
}

.mobile-menu__nav {
    margin-bottom: 2rem;
}

.mobile-menu__nav-item {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #343a40;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu__nav-item--active {
    color: #e63946;
}

.mobile-menu__auth {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu__auth-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
}

.mobile-menu__auth-btn--login {
    border: 1px solid #dee2e6;
    color: #343a40;
}

.mobile-menu__auth-btn--register {
    background-color: #e63946;
    color: white;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    color: #6c757d;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #e9ecef;
    color: #343a40;
}

.tag--active {
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
}

@media (max-width: 991px) {
    .header__nav, .header__auth {
        display: none;
    }
    
    .header__hamburger {
        display: block;
    }
    
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-list__item {
        flex-direction: column;
    }
    
    .news-list__image-link {
        width: 100%;
        min-width: 0;
        height: auto;
        aspect-ratio: 7/5;
    }

    .news-list__image {
        width: 100%;
        height: 100%;
        aspect-ratio: 7/5;
    }
}

@media (max-width: 768px) {
    .carousel__image {
        height: 250px;
    }
    
    .carousel__title {
        font-size: 1.25rem;
    }
    
    .carousel__description {
        font-size: 0.875rem;
        -webkit-line-clamp: 1;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .article {
        padding: 1.5rem;
    }
    
    .article__title {
        font-size: 1.5rem;
    }
    
    .article__meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .article__actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article__social {
        width: 100%;
        justify-content: space-between;
    }
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.news-highlight__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-highlight__list .news-highlight + .news-highlight {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
}

.news-highlight {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-highlight__image-link {
    display: block;
    line-height: 0;
}

.news-highlight__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 9/5;
    transition: transform 0.3s ease;
}

.news-highlight__image-link:hover .news-highlight__image {
    transform: scale(1.03);
}

.news-highlight__content {
    padding: 1rem 0 0;
}

.news-highlight__category {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.news-highlight__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #212529;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.news-highlight__description {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.news-highlight__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #adb5bd;
}

.news-highlight__author {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.news-highlight__stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.news-highlight__stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

@media (max-width: 991px) {
}

@media (max-width: 768px) {
    .news-highlight__title {
        font-size: 0.9375rem;
    }
}
