@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #3C52E3;
    --primary-rgb: 60, 82, 227;
    --secondary-color: #6c757d;
    --accent-color: #28a745;
    --dark-bg: #1a1a2e;
    --darker-bg: #161625;
    --light-bg: #f8f9fa;
    --text-color-light: #fefefe;
    --text-color-dark: #343a40;
    --border-color: #343a40;
    --card-bg-dark: #22253b;
    --card-bg-light: #ffffff;
    --gradient-blue-purple: linear-gradient(to right, #3C52E3, #6f42c1);
    --gradient-purple-pink: linear-gradient(to right, #6f42c1, #e83e8c);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--dark-bg);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: #7a8ef7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-header {
    background: var(--darker-bg);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 33px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--text-color-light);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    background: var(--card-bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 8px 15px;
    padding-right: 40px;
    color: var(--text-color-light);
    outline: none;
    transition: border-color var(--transition-speed);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-button {
    background: none;
    border: none;
    color: var(--primary-color);
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 1.1em;
}

.user-profile i {
    font-size: 1.5em;
    color: var(--primary-color);
    cursor: pointer;
}

.main-wrapper {
    min-height: calc(100vh - 120px);
    padding-top: 40px;
    padding-bottom: 50px;
}

.homepage-main {
    padding-top: 30px;
}

.featured-block {
    margin-bottom: 30px;
}

.featured-card {
    display: block;
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.6s ease-in-out;
}

.featured-card:hover img {
    transform: scale(1.05);
}

.featured-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--text-color-light);
}

.featured-card h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    line-height: 1.2;
}

.featured-card p {
    font-size: 1.1em;
    opacity: 0.9;
}

.category-tag {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 25px;
    padding-bottom: 50px;
}

.grid-item {
    background: var(--card-bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.grid-item a {
    display: block;
    color: var(--text-color-light);
}

.grid-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.grid-item .content {
    padding: 15px;
}

.grid-item h3, .grid-item h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.grid-item p.meta {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

.grid-item-large {
    grid-column: span 2;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
.grid-item-large .content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 70%);
    padding: 25px;
    width: 100%;
}
.grid-item-large h3 {
    font-size: 1.8em;
}

.grid-item-medium {
    grid-column: span 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}
.card-type-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(to right, var(--primary-color), #6f42c1);
}
.card-type-author .author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}
.card-type-author h4 {
    font-size: 1.3em;
    margin-bottom: 5px;
}
.card-type-author .author-name {
    font-size: 0.9em;
    opacity: 0.9;
}
.card-type-live {
    background: var(--gradient-purple-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}
.card-type-live .live-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    margin-bottom: 10px;
}
.card-type-live .live-tag i {
    color: #ff4d4f;
    font-size: 0.8em;
    margin-right: 5px;
}
.card-type-live h4 {
    font-size: 1.4em;
    text-align: center;
}

.grid-item-small img {
    height: 150px;
}
.card-type-news .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100px;
}


.load-more-container {
    text-align: center;
    margin: 40px 0;
}

.load-more-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background var(--transition-speed), transform var(--transition-speed);
}

.load-more-button:hover {
    background: #2b3bb5;
    transform: translateY(-2px);
}
.load-more-button i {
    margin-left: 8px;
}

.listpage-main {
    padding-top: 30px;
    padding-bottom: 50px;
}

.page-title {
    font-size: 2.8em;
    color: var(--text-color-light);
    margin-bottom: 20px;
    text-align: center;
}

.category-filter {
    text-align: center;
    margin-bottom: 40px;
}

.category-filter span {
    font-size: 1.1em;
    margin-right: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.category-filter a {
    display: inline-block;
    background: var(--card-bg-dark);
    color: var(--text-color-light);
    padding: 8px 18px;
    border-radius: 20px;
    margin: 0 8px;
    font-weight: 500;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.category-filter a:hover,
.category-filter a.active {
    background: var(--primary-color);
    color: #fff;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 30px;
}

.list-item-card {
    background: var(--card-bg-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.list-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.list-item-card a {
    display: flex;
    flex-direction: column;
    color: var(--text-color-light);
    height: 100%;
}

.list-item-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.list-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.list-item-category {
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary-color);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.list-item-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.list-item-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    flex-grow: 1;
}

.list-item-meta {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.6);
}

.pagination {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0;
    background: var(--card-bg-dark);
    color: var(--text-color-light);
    border-radius: 5px;
    transition: background var(--transition-speed), color var(--transition-speed);
    text-decoration: none;
}

.pagination a:hover, .pagination span.current {
    background: var(--primary-color);
    color: #fff;
}

.pagination select {
    background: var(--card-bg-dark);
    color: var(--text-color-light);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 7px 10px;
    margin-left: 10px;
    font-size: 0.95em;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fefefe' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 30px;
}

.pagination .total-items-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-left: 15px;
    white-space: nowrap;
}


.livespage-main {
    padding-top: 30px;
    padding-bottom: 50px;
}

.livespage-main .page-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-indicator {
    color: #ff4d4f;
    font-size: 0.7em;
    margin-left: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    margin-bottom: 40px;
}

.lives-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.lives-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 3px solid var(--dark-bg);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    background: var(--card-bg-dark);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
    margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    right: 0;
    margin-left: 55%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--card-bg-dark);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--card-bg-dark);
}

.time-source {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.live-time {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1em;
}

.live-source {
    background: rgba(var(--secondary-color), 0.2);
    color: var(--secondary-color);
    padding: 3px 8px;
    border-radius: 4px;
}

.live-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    line-height: 1.3;
}
.live-title a {
    color: var(--text-color-light);
}

.live-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.live-image {
    max-height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.live-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-badge {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    transition: background var(--transition-speed);
}

.tag-badge:hover {
    background: var(--primary-color);
    color: #fff;
}


.breadcrumb {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
}
.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}
.breadcrumb a:hover {
    color: var(--primary-color);
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}
.breadcrumb i {
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.5);
}


.article-main {
    display: flex;
    gap: 30px;
}

.article-content {
    flex: 3;
    background: var(--card-bg-dark);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.article-title {
    font-size: 2.8em;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-color-light);
    text-align: center;
    font-weight: 700;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    justify-content: center;
}
.article-meta span i {
    margin-right: 8px;
    color: var(--primary-color);
}

.article-featured-image {
    margin: 30px auto;
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
}
.article-featured-image figcaption {
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 15px;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.article-body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05em;
    line-height: 2.0;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
    color: var(--primary-color);
    margin: 30px 0 18px;
    line-height: 1.4;
    font-weight: 600;
}
.article-body p {
    margin-bottom: 1.2em;
}
.article-body ul, .article-body ol {
    margin-left: 25px;
    margin-bottom: 1.2em;
    list-style: disc;
    color: rgba(255, 255, 255, 0.9);
}
.article-body ol {
    list-style: decimal;
}
.article-body strong {
    color: var(--primary-color);
}
.article-body a {
    text-decoration: underline;
    color: var(--primary-color);
}
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 6px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.article-pagination {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-pagination p {
    margin: 0;
}

.article-pagination a {
    color: var(--primary-color);
    text-decoration: none;
}
.article-pagination a:hover {
    text-decoration: underline;
}

.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.7);
}
.article-tags i {
    color: var(--primary-color);
    margin-right: 5px;
}
.article-tags .tag-badge {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    transition: background var(--transition-speed);
}
.article-tags .tag-badge:hover {
    background: var(--primary-color);
    color: #fff;
}


.share-buttons {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}
.share-buttons span {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}
.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2em;
    transition: background var(--transition-speed), color var(--transition-speed);
}
.share-icon:hover {
    background: var(--primary-color);
    color: #fff;
}

.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-block {
    padding: 25px;
    background: var(--card-bg-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sidebar-block h2 {
    font-size: 1.6em;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    font-weight: 600;
}

.sidebar-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-block li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(var(--primary-rgb), 0.1);
}
.sidebar-block li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sidebar-block li a {
    color: var(--text-color-light);
    font-size: 0.98em;
    line-height: 1.5;
    display: block;
    transition: color var(--transition-speed);
}
.sidebar-block li a:hover {
    color: var(--primary-color);
}

.main-footer {
    background: var(--darker-bg);
    padding: 40px 0 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 20px;
}

.about-us p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-color-light);
    font-size: 1.3em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

.quick-links ul li {
    margin-bottom: 10px;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-speed);
}
.quick-links a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background: var(--dark-bg);
    color: var(--text-color-light);
    outline: none;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background var(--transition-speed);
}
.newsletter-form button:hover {
    background: #2b3bb5;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-nav-bottom a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
}
.footer-nav-bottom a:hover {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    .logo {
        margin-bottom: 15px;
    }
    .main-nav {
        width: 100%;
        margin-bottom: 15px;
    }
    .main-nav ul {
        justify-content: center;
        gap: 15px;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
    }

    .featured-card {
        height: 350px;
    }
    .featured-card h2 {
        font-size: 1.8em;
    }

    .main-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .grid-item-large {
        grid-column: span 1;
        min-height: 300px;
    }
    .grid-item-large h3 {
        font-size: 1.5em;
    }

    .article-main {
        flex-direction: column;
        gap: 20px;
    }
    .sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px;
    }
    .sidebar-block {
        flex: 1 1 calc(50% - 10px);
    }

    .timeline-item {
        flex-direction: column;
        align-items: center;
    }
    .timeline-item::before {
        left: 20px;
        transform: translateX(0);
        height: calc(100% - 20px);
    }
    .timeline-dot {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-content {
        width: calc(100% - 60px);
        margin: 0;
        left: auto;
        right: auto;
        margin-left: 60px;
    }
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -10px;
        border-right: 10px solid var(--card-bg-dark);
        border-left: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        min-width: unset;
        width: 100%;
    }
    .social-links {
        justify-content: center;
    }
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .featured-card {
        height: 280px;
    }
    .featured-card h2 {
        font-size: 1.8em;
    }
    .featured-card p {
        font-size: 1em;
    }

    .page-title {
        font-size: 2em;
    }
    .article-title {
        font-size: 2em;
    }
    .article-body {
        font-size: 1em;
    }
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
    .pagination ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .pagination select, .pagination .total-items-info {
        margin-left: 0;
        margin-top: 10px;
    }
    .sidebar {
        flex-direction: column;
    }
    .sidebar-block {
        flex: 1 1 100%;
    }
    .article-content {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .featured-card {
        height: 200px;
    }
    .featured-card .overlay {
        padding: 15px;
    }
    .featured-card h2 {
        font-size: 1.2em;
    }
    .featured-card p {
        display: none;
    }

    .list-item-card a {
        flex-direction: column;
    }
    .list-item-thumbnail {
        height: 150px;
    }

    .page-title {
        font-size: 1.8em;
    }
    .livespage-main .subtitle {
        font-size: 0.9em;
    }
    .timeline-content {
        width: calc(100% - 40px);
        margin-left: 40px;
        padding: 15px;
    }
    .timeline-dot {
        left: 10px;
    }
    .lives-timeline::before {
        left: 10px;
    }

    .article-title {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
    .article-meta {
        font-size: 0.8em;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .article-featured-image img {
        height: 250px;
    }
    .article-body {
        font-size: 0.95em;
        line-height: 1.9;
    }
    .share-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .share-buttons span {
        width: 100%;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 8px;
    }
    .newsletter-form button {
        border-radius: 0 0 8px 8px;
    }
}
.load-more-news-section {
    padding: 40px 0;
}

.load-more-news-section h2 {
    font-size: 2.2em;
    color: var(--text-color-light);
    margin-bottom: 35px;
    text-align: center;
    font-weight: 600;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
@media (max-width: 480px) {
    .news-list-grid {
        gap: 15px;
    }
}


.news-item-card {
    background-color: var(--card-bg-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.news-item-card a {
    text-decoration: none;
    color: var(--text-color-light);
    display: block;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-item-content.no-image {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-item-content.no-image h4 {
    font-size: 1.2em;
    color: var(--text-color-light);
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 4.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-item-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    max-height: 4.8em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}


.news-item-meta {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
}

.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background var(--transition-speed), transform var(--transition-speed);
    display: inline-flex;
    align-items: center;
}

.load-more-button i {
    margin-left: 8px;
}

.load-more-button:hover {
    background: #2b3bb5;
    transform: translateY(-2px);
}