* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #121212;
    background: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

#mainWebsite {
    width: 100%;
    overflow: hidden;
}

.featuredSwiper {
    width: 100%;
    max-width: 100%;
    height: 550px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.featuredSwiper .swiper-slide {
    height: 550px;
    width: 100%;
    max-width: 100%;
}

.featuredSwiper .featured-article {
    height: 100%;
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    display: block;
    box-sizing: border-box;
}

.featuredSwiper .featured-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.featuredSwiper .featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 10;
}

.featuredSwiper .featured-title {
    font-size: 2.5rem;
    margin: 0;
    line-height: 1.2;
    color: white;
    font-weight: 700;
    font-family: 'Merriweather', Georgia, serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.featuredSwiper .article-excerpt {
    display: none;
}

.featuredSwiper .swiper-button-next,
.featuredSwiper .swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.featuredSwiper .swiper-button-next:after,
.featuredSwiper .swiper-button-prev:after {
    font-size: 18px;
}

.featuredSwiper .swiper-pagination {
    bottom: 10px;
}

.featuredSwiper .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
    width: 10px;
    height: 10px;
}

.featuredSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #667eea;
}

@media (max-width: 768px) {
    .featuredSwiper {
        height: 400px;
    }

    .featuredSwiper .swiper-slide {
        height: 400px;
    }

    .featuredSwiper .featured-article {
        position: relative;
        display: block;
    }

    .featuredSwiper .featured-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .featuredSwiper .featured-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
    }

    .featuredSwiper .featured-title {
        font-size: 1.3rem;
    }
}


.admin-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f0f4f8;
    z-index: 10000;
    overflow-y: auto;
}

.admin-panel.active {
    display: block;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.admin-logo-section {
    padding: 25px;
    background: linear-gradient(135deg, #121212 0%, #121212 100%);
    color: white;
    text-align: center;
}

.admin-logo-section h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.admin-menu {
    padding: 20px 0;
}

.admin-menu-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-menu-item:hover {
    background: #f0f4f8;
    border-left-color: #121212;
}

.admin-menu-item.active {
    background: #e8f4f8;
    border-left-color: #121212;
    color: #121212;
    font-weight: 500;
}

.admin-main {
    margin-left: 250px;
    padding: 30px;
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 20px 30px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.currency-rates {
    display: flex;
    gap: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 2px;
    border: 1px solid #e5e5e5;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.currency-code {
    font-weight: 600;
    color: #121212;
    font-size: 0.75rem;
}

.currency-rate {
    font-weight: 500;
    color: #121212;
    font-size: 0.75rem;
}

.currency-diff {
    font-size: 12px;
    font-weight: 600;
}

.currency-diff.up {
    color: #27ae60;
}

.currency-diff.up::before {
    content: '▲ ';
}

.currency-diff.down {
    color: #e74c3c;
}

.currency-diff.down::before {
    content: '▼ ';
}

.language-switcher {
    display: flex;
    gap: 5px;
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #121212;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: #657786;
    margin-bottom: 10px;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
}

.admin-section {
    background: white;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: none;
}

.admin-section.active {
    display: block;
}

header {
    background: white;
    color: #121212;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar {
    background: #ffffff;
    padding: 8px 0;
    font-size: 0.75rem;
    border-bottom: 1px solid #e5e5e5;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-time {
    color: #666666;
    font-size: 0.75rem;
}

.social-links a {
    color: #121212;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #326891;
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Merriweather', Georgia, serif;
    color: #121212;
    letter-spacing: -0.5px;
}

.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #e5e5e5;
    background: white;
    color: #121212;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 0.75rem;
}

.lang-btn:hover {
    background: #f5f5f5;
}

.lang-btn.active {
    background: #121212 !important;
    color: white !important;
    border-color: #121212 !important;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 2px;
    padding: 4px 12px;
    border: 1px solid #e5e5e5;
}

.search-box input {
    border: none;
    outline: none;
    padding: 6px 8px;
    width: 200px;
    background: transparent;
    font-size: 0.875rem;
}

.search-box button {
    background: #121212;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 0.875rem;
}

.search-box button:hover {
    background: #333333;
}

nav {
    background: white;
    padding: 0;
    border-bottom: 1px solid #e5e5e5;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 12px 20px;
    color: #121212;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.875rem;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover {
    border-bottom-color: #121212;
}

.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.admin-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #121212;
    color: white;
    padding: 12px 20px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    z-index: 999;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #333333;
}

.main-content {
    padding: 30px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.main-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.top-section {
    display: block;
    margin-bottom: 40px;
}

.breaking-news {
    background: #121212;
    color: white;
    padding: 12px 20px;
    margin-bottom: 30px;
    border-radius: 0;
    display: flex;
    align-items: center;
    border-left: 3px solid #ffffff;
}

.breaking-label {
    background: white;
    color: #121212;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: 700;
    margin-right: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #121212;
    margin-right: 15px;
    min-width: 30px;
}

.trending-text {
    flex: 1;
}

.trending-text h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #121212;
    font-weight: 600;
    line-height: 1.3;
}

.trending-text span {
    font-size: 0.75rem;
    color: #999999;
}

footer {
    background: white;
    color: #121212;
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #121212;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.875rem;
}

.footer-section ul li a:hover {
    color: #121212;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    color: #999999;
    font-size: 0.875rem;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: #121212;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #333333;
}

.btn-secondary {
    background: #e8f4f8;
    color: #121212;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #121212;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.sidebar-section {
    background: white;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: none;
    border: 1px solid #e5e5e5;
}

.sidebar-title {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: #121212;
    border-bottom: 1px solid #121212;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
}

.trending-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f4f8;
    cursor: pointer;
    transition: background 0.2s;
}

.trending-item:hover {
    background: #f8f9fa;
    padding: 10px;
    margin: 0 -10px 15px -10px;
    border-radius: 0;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    width: calc(100% + 380px);
    margin-right: -380px;
}


.category-section {
    margin-bottom: 50px;
    width: 100%;
    display: block;
    clear: both;
}

.news-grid-layout2 .category-top-articles {
    grid-template-columns: 2fr 1fr !important;
}

.news-grid-layout2 .category-bottom-articles {
    grid-template-columns: repeat(3, 1fr) !important;
}

.news-grid-layout3 .category-top-articles {
    grid-template-columns: repeat(4, 1fr) !important;
}

.news-grid-layout3 .category-bottom-articles {
    grid-template-columns: repeat(4, 1fr) !important;
}

.news-grid-layout3 .news-card-large .news-image,
.news-grid-layout3 .news-card-small .news-image {
    height: 200px !important;
}

.news-grid-layout4 .category-top-articles {
    grid-template-columns: repeat(2, 1fr) !important;
}

.news-grid-layout4 .category-bottom-articles {
    grid-template-columns: repeat(2, 1fr) !important;
}

.news-grid-layout4 .news-card-large .news-image,
.news-grid-layout4 .news-card-small .news-image {
    height: 280px !important;
}

.news-grid-layout5 .category-articles {
    display: flex !important;
    flex-direction: column !important;
}

.news-grid-layout5 .category-top-articles,
.news-grid-layout5 .category-bottom-articles {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.news-grid-layout5 .news-card {
    display: flex !important;
    flex-direction: row !important;
}

.news-grid-layout5 .news-image {
    width: 300px !important;
    height: 200px !important;
    flex-shrink: 0 !important;
}

.news-grid-layout5 .news-content {
    flex: 1 !important;
}

.news-grid-layout6 .category-top-articles {
    grid-template-columns: repeat(3, 1fr) !important;
}

.news-grid-layout6 .category-bottom-articles {
    grid-template-columns: repeat(3, 1fr) !important;
}

.news-grid-layout6 .news-card .news-image {
    height: 220px !important;
}

.news-grid-layout7 .category-top-articles {
    grid-template-columns: 1.5fr 1fr 1fr !important;
}

.news-grid-layout7 .category-bottom-articles {
    grid-template-columns: 1fr 1.5fr 1fr !important;
}

.news-grid-layout7 .news-card:nth-child(1) .news-image {
    height: 280px !important;
}

.news-grid-layout7 .news-card:nth-child(2) .news-image,
.news-grid-layout7 .news-card:nth-child(3) .news-image {
    height: 200px !important;
}


.category-layout-grid-2-4 .category-top-articles {
    grid-template-columns: repeat(2, 1fr) !important;
}

.category-layout-grid-2-4 .category-bottom-articles {
    grid-template-columns: repeat(4, 1fr) !important;
}

.category-layout-grid-big-small .category-top-articles {
    grid-template-columns: 2fr 1fr !important;
}

.category-layout-grid-big-small .category-bottom-articles {
    grid-template-columns: repeat(3, 1fr) !important;
}

.category-layout-grid-4 .category-top-articles,
.category-layout-grid-4 .category-bottom-articles {
    grid-template-columns: repeat(4, 1fr) !important;
}

.category-layout-grid-4 .news-card .news-image {
    height: 180px !important;
}

.category-layout-grid-2-large .category-top-articles,
.category-layout-grid-2-large .category-bottom-articles {
    grid-template-columns: repeat(2, 1fr) !important;
}

.category-layout-grid-2-large .news-card .news-image {
    height: 300px !important;
}

.category-layout-list .category-articles {
    display: flex !important;
    flex-direction: column !important;
}

.category-layout-list .category-top-articles,
.category-layout-list .category-bottom-articles {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.category-layout-list .news-card {
    display: flex !important;
    flex-direction: row !important;
}

.category-layout-list .news-image {
    width: 280px !important;
    height: 180px !important;
    flex-shrink: 0 !important;
}

.category-layout-list .news-content {
    flex: 1 !important;
}

.category-layout-grid-3 .category-top-articles,
.category-layout-grid-3 .category-bottom-articles {
    grid-template-columns: repeat(3, 1fr) !important;
}

.category-layout-grid-3 .news-card .news-image {
    height: 220px !important;
}

.category-layout-masonry .category-top-articles {
    grid-template-columns: 1.5fr 1fr 1fr !important;
}

.category-layout-masonry .category-bottom-articles {
    grid-template-columns: 1fr 1.5fr 1fr !important;
}

.category-layout-masonry .news-card:nth-child(1) .news-image {
    height: 280px !important;
}

.category-layout-masonry .news-card:nth-child(2) .news-image,
.category-layout-masonry .news-card:nth-child(3) .news-image {
    height: 200px !important;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #121212;
}

.category-title {
    font-size: 1.5rem;
    color: #121212;
    cursor: pointer;
    transition: color 0.3s;
    margin: 0;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
}

.category-title:hover {
    color: #666666;
}

.view-all-link {
    color: #121212;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
    border-bottom: 1px solid #121212;
}

.view-all-link:hover {
    color: #666666;
    border-bottom-color: #666666;
}

.category-articles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-top-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-bottom-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-news-grid .news-card {
    cursor: pointer;
    transition: transform 0.3s;
}

.category-news-grid .news-card:hover {
    transform: translateY(-5px);
}

.news-card-large .news-image {
    height: 300px;
}

.news-card-small .news-image {
    height: 180px;
}

.news-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.2s;
    cursor: pointer;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #121212;
    line-height: 1.3;
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
}

.news-content p {
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.category-tag {
    display: inline-block;
    background: transparent;
    color: #666666;
    padding: 0;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #999999;
    margin-top: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f0f4f8;
}

th,
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

th {
    font-weight: 600;
    color: #2c3e50;
}

tr:hover {
    background: #f8f9fa;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge-primary {
    background: #e8f4f8;
    color: #121212;
}

.badge-success {
    background: #d4edda;
    color: #121212;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: #2c3e50;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #657786;
}

.file-upload {
    border: 2px dashed #121212;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload:hover {
    background: #f0f4f8;
}

.file-upload input {
    display: none;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #657786;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #121212;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: column;
    }

    .search-box input {
        width: 150px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .admin-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    .admin-sidebar {
        width: 200px;
    }

    .admin-main {
        margin-left: 200px;
    }
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .currency-rates {
        display: none;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background: white;
        border-top: 2px solid #121212;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1100;
    }
}

.article-full-content video,
.article-full-content iframe,
.page-content video,
.page-content iframe {
    width: 610px;
    height: 343px;
    border-radius: 0;
    margin: 30px auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-full-content,
.page-content {
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {

    .article-full-content video,
    .article-full-content iframe,
    .page-content video,
    .page-content iframe {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .sidebar {
        display: none !important;
    }

    .main-content {
        flex-direction: column;
    }

    .news-grid {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .category-news-grid {
        grid-template-columns: 1fr !important;
    }

    .category-top-articles,
    .category-bottom-articles {
        grid-template-columns: 1fr !important;
    }
}
/* ========================================
   NYT-STYLE LAYOUT SYSTEM
   ======================================== */

/* NYT Top Story Layout (2-column: Main + Sidebar) */
.nyt-top-story {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.nyt-main-story {
    /* Main featured article */
}

.nyt-main-story .news-image {
    height: 450px;
    margin-bottom: 20px;
}

.nyt-main-story h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #121212;
}

.nyt-main-story .news-excerpt {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #666666;
    margin-bottom: 12px;
}

.nyt-side-stories {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nyt-side-story {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.nyt-side-story:last-child {
    border-bottom: none;
}

.nyt-side-story h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #121212;
}

.nyt-side-story .news-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #666666;
}

/* NYT Section Header */
.nyt-section {
    margin-bottom: 60px;
}

.nyt-section-header {
    border-bottom: 1px solid #121212;
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nyt-section-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #121212;
    margin: 0;
}

.nyt-section-link {
    font-size: 0.875rem;
    color: #121212;
    text-decoration: none;
    border-bottom: 1px solid #121212;
    padding-bottom: 2px;
}

.nyt-section-link:hover {
    color: #666666;
    border-bottom-color: #666666;
}

/* NYT 3-Column Grid */
.nyt-three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nyt-column {
    padding-right: 40px;
    border-right: 1px solid #e5e5e5;
}

.nyt-column:last-child {
    border-right: none;
    padding-right: 0;
}

/* NYT Article Item (in lists) */
.nyt-article-item {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 16px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nyt-article-item:hover {
    opacity: 0.7;
}

.nyt-article-item:last-child {
    border-bottom: none;
}

.nyt-article-item.with-image {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
}

.nyt-article-image {
    width: 120px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

.nyt-article-content {
    /* Content wrapper */
}

.nyt-article-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
    color: #121212;
}

.nyt-article-summary {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 6px;
}

.nyt-article-meta {
    font-size: 0.75rem;
    color: #999999;
}

/* NYT Breaking News Bar */
.nyt-breaking {
    background: #d0021b;
    color: white;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nyt-breaking-label {
    background: white;
    color: #d0021b;
    padding: 4px 8px;
    border-radius: 2px;
}

/* NYT Opinion Section */
.nyt-opinion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nyt-opinion-item {
    text-align: left;
}

.nyt-opinion-item .author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 12px;
    background: #f5f5f5;
}

.nyt-opinion-item h4 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 6px;
}

.nyt-opinion-item .byline {
    font-size: 0.75rem;
    color: #999999;
    margin-bottom: 8px;
}

/* NYT 2-Column Section (Alternative) */
.nyt-two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* NYT Full-Width Feature */
.nyt-full-width-feature {
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 40px;
}

.nyt-full-width-feature .news-image {
    height: 500px;
    margin-bottom: 20px;
}

.nyt-full-width-feature h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 800px;
}

.nyt-full-width-feature .news-excerpt {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #666666;
    max-width: 700px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .nyt-three-column {
        grid-template-columns: repeat(2, 1fr);
    }

    .nyt-opinion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nyt-top-story {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nyt-three-column,
    .nyt-two-column {
        grid-template-columns: 1fr;
    }

    .nyt-column {
        border-right: none;
        padding-right: 0;
        margin-bottom: 30px;
    }

    .nyt-opinion-grid {
        grid-template-columns: 1fr;
    }

    .nyt-main-story h2 {
        font-size: 1.75rem;
    }

    .nyt-full-width-feature h2 {
        font-size: 1.875rem;
    }
}
