

:root {
    --news-primary: #00adac;
    --news-primary-hover: #008b8a;
    --news-secondary: #0b2a2a;
    --news-accent: #19d3d1;
    --news-dark: #0b1212;
    --news-darker: #070c0c;
    --news-light: #eafafa;
    --news-text: #e8e8e8;
    --news-text-muted: #a0a0a0;
    --news-gradient: linear-gradient(135deg, #00adac 0%, #008b8a 100%);
    --news-card-bg: rgba(18, 27, 27, 0.95);
    --news-border: rgba(255, 255, 255, 0.08);
    --news-radius: 16px;
    --news-radius-sm: 10px;
    --news-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --news-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] {
    --news-dark: #f8f9fa;
    --news-darker: #ffffff;
    --news-text: #1a1a2e;
    --news-text-muted: #6c757d;
    --news-card-bg: rgba(255, 255, 255, 0.98);
    --news-border: rgba(0, 0, 0, 0.08);
    --news-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --news-shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--news-dark) !important;
    color: var(--news-text) !important;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: none;
    color: var(--news-primary);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 575.98px) {
    .container {
        padding: 0 15px;
    }
}

.news-header {
    background: var(--news-darker) !important;
    border-bottom: 1px solid var(--news-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.news-header * {
    box-sizing: border-box;
}

.news-header-top {
    background: var(--news-primary) !important;
    padding: 8px 0 !important;
    width: 100%;
}

.news-header-top .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.date-time {
    color: white !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0;
}

.date-time .separator {
    opacity: 0.7;
    margin: 0 4px;
}

.quick-links {
    display: flex !important;
    gap: 20px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color 0.2s;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap;
}

.quick-links a:hover {
    color: white !important;
}

.news-header-main {
    padding: 16px 0 !important;
    background: var(--news-darker) !important;
    width: 100%;
}

.news-header-main .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 40px !important;
    flex-wrap: nowrap !important;
}

.news-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.news-logo:hover {
    opacity: 0.9;
}

.news-logo img {
    height: 48px !important;
    width: auto !important;
    max-height: 48px !important;
    object-fit: contain;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

html[data-theme="light"] .logo-light {
    display: block;
}

html[data-theme="light"] .logo-dark {
    display: none;
}

.logo-badge {
    background: var(--news-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.news-search {
    flex-grow: 1;
    max-width: 600px;
    position: relative;
}

.news-search-wrapper {
    position: relative;
    width: 100%;
}

.news-search-wrapper i {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--news-text-muted) !important;
    font-size: 18px !important;
    pointer-events: none;
    z-index: 1;
}

.news-search-input {
    width: 100% !important;
    background: var(--news-card-bg) !important;
    border: 1px solid var(--news-border) !important;
    border-radius: 50px !important;
    padding: 12px 20px 12px 48px !important;
    font-size: 14px !important;
    color: var(--news-text) !important;
    transition: all 0.3s;
    outline: none !important;
    min-width: 280px;
    font-family: inherit;
    font-weight: 500;
}

.news-search-input:focus {
    border-color: var(--news-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 173, 172, 0.1) !important;
}

.news-search-input::placeholder {
    color: var(--news-text-muted) !important;
    opacity: 0.7;
    font-weight: 500;
}

.news-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0;
}

.news-theme-toggle {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid var(--news-border) !important;
    background: var(--news-card-bg) !important;
    color: var(--news-text) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    padding: 0 !important;
}

.news-theme-toggle:hover {
    border-color: var(--news-primary) !important;
    color: var(--news-primary) !important;
}

.news-main-store-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: var(--news-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: all 0.3s !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.news-main-store-btn:hover {
    background: var(--news-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 173, 172, 0.3);
}

.news-nav {
    border-top: 1px solid var(--news-border);
    padding: 0 !important;
    background: var(--news-card-bg) !important;
}

.news-nav .container {
    display: flex !important;
    gap: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-nav .container::-webkit-scrollbar {
    display: none;
}

.news-nav-link {
    padding: 16px 20px !important;
    color: var(--news-text) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    border-bottom: 2px solid transparent !important;
    white-space: nowrap;
    opacity: 0.8;
}

.news-nav-link:hover,
.news-nav-link.active {
    color: var(--news-primary) !important;
    border-bottom-color: var(--news-primary) !important;
    opacity: 1;
    background: rgba(0, 173, 172, 0.05);
}

.category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.breaking-ticker {
    background: var(--news-dark);
    border-bottom: 1px solid var(--news-border);
    padding: 10px 0;
    overflow: hidden;
}

.breaking-ticker .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-label {
    background: var(--news-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.breaking-content {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.breaking-slider {
    display: flex;
    gap: 40px;
    animation: ticker 30s linear infinite;
    position: absolute;
    white-space: nowrap;
}

.breaking-slider a {
    color: var(--news-text);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.breaking-slider a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--news-primary);
    border-radius: 50%;
    margin-right: 12px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.breaking-slider:hover {
    animation-play-state: paused;
}

.news-portal-page {
    min-height: 100vh;
    background: var(--news-dark);
}

.news-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-main-content {
    padding: 40px 0 60px;
}

.news-main-content .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.news-main-content .col-lg-8,
.news-main-content .col-lg-4,
.news-main-content .col-md-4,
.news-main-content .col-md-6 {
    position: relative;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
    .news-main-content .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .news-main-content .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (min-width: 768px) {
    .news-main-content .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .news-main-content .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.news-hero-slider-section {
    padding: 30px 0;
    margin-bottom: 20px;
}

.news-hero-slider-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    height: 500px;
}

.news-hero-swiper {
    flex: 1;
    border-radius: var(--news-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--news-shadow);
    height: 100%;
}

.news-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}

.news-hero-slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.news-hero-slide:hover .news-hero-slide-image img {
    transform: scale(1.05);
}

.news-hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
}

.news-hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    z-index: 2;
}

.news-hero-slide-category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--news-primary);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.news-hero-slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-hero-slide-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 800px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-hero-slide-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
}

.news-hero-slide-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-hero-slide-meta i {
    color: var(--news-primary);
}

.news-hero-prev,
.news-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.news-hero-prev:hover,
.news-hero-next:hover {
    background: var(--news-primary);
    border-color: var(--news-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 173, 172, 0.4);
}

.news-hero-prev {
    left: 20px;
}

.news-hero-next {
    right: 20px;
}

.news-hero-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50px !important;
    width: auto !important;
    z-index: 10;
}

.news-hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 6px !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.news-hero-pagination .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 10px;
    background: var(--news-primary);
    box-shadow: 0 0 10px rgba(0, 173, 172, 0.5);
    border-color: transparent;
}

.news-hero-thumbs {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow-y: auto;
    padding-right: 5px;
}

.news-hero-thumbs::-webkit-scrollbar {
    width: 4px;
}

.news-hero-thumbs::-webkit-scrollbar-track {
    background: var(--news-darker);
}

.news-hero-thumbs::-webkit-scrollbar-thumb {
    background: var(--news-border);
    border-radius: 4px;
}

.news-hero-thumb {
    display: flex;
    gap: 12px;
    padding: 10px;
    background: var(--news-card-bg);
    border-radius: var(--news-radius-sm);
    border: 1px solid var(--news-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-hero-thumb:hover,
.news-hero-thumb.active {
    border-color: var(--news-primary);
    transform: translateX(-5px);
    background: var(--news-darker);
}

.news-hero-thumb-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-hero-thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero-thumb-content {
    flex: 1;
}

.news-hero-thumb-category {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--news-primary);
    margin-bottom: 4px;
    display: block;
}

.news-hero-thumb-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--news-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .news-hero-slider-container {
        flex-direction: column;
        height: auto;
    }
    
    .news-hero-thumbs {
        width: 100%;
        flex-direction: row;
        height: auto;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .news-hero-thumb {
        min-width: 260px;
    }
    
    .news-hero-swiper {
        height: 400px;
    }
    
    .news-hero-slide-title {
        font-size: 32px;
    }
    
    .news-hero-slide-content {
        padding: 30px;
    }
    
    .news-hero-prev,
    .news-hero-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .news-hero-slider-container {
        padding: 0 10px;
    }
    
    .news-hero-swiper {
        height: 350px;
        border-radius: var(--news-radius-sm);
    }
    
    .news-hero-slide-content {
        padding: 20px;
    }
    
    .news-hero-slide-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .news-hero-slide-excerpt {
        display: none;
    }
    
    .news-hero-slide-content {
        padding: 20px;
    }
    
    .news-hero-prev,
    .news-hero-next {
        display: none;
    }
    
    .news-hero-thumbs {
        display: none;
    }
    
    .news-hero-pagination {
        left: 20px !important;
    }
}

.news-card {
    background: var(--news-card-bg);
    border-radius: var(--news-radius);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--news-border);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--news-shadow);
    border-color: rgba(0, 173, 172, 0.3);
}

.news-card-image {
    position: relative;
    padding-top: 56.25%; 
    overflow: hidden;
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--news-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

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

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--news-text);
}

.news-card-title a:hover {
    color: var(--news-primary);
}

.news-card-excerpt {
    color: var(--news-text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--news-border);
    padding-top: 15px;
    margin-top: auto;
    overflow: hidden;
    gap: 10px;
}

.news-card-stats {
    flex-shrink: 0;
    white-space: nowrap;
}

.news-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--news-text-muted);
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    min-width: 0;
    flex: 1;
}

.news-card-author-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.news-card-author-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-author-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--news-border);
    flex-shrink: 0;
}

.news-card-author-avatar-placeholder {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: var(--news-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.news-card-date {
    color: var(--news-text-muted);
    font-size: 12px;
}

.news-card-featured {
    display: flex;
    flex-direction: row;
    height: 300px;
}

.news-card-featured .news-card-image {
    width: 50%;
    padding-top: 0;
    height: 100%;
}

.news-card-featured .news-card-content {
    width: 50%;
    padding: 30px;
}

.news-card-featured .news-card-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.news-card-featured .news-card-excerpt {
    font-size: 16px;
    -webkit-line-clamp: 4;
}

@media (max-width: 767.98px) {
    .news-card-featured {
        flex-direction: column;
        height: auto;
    }
    
    .news-card-featured .news-card-image {
        width: 100%;
        height: 200px;
    }
    
    .news-card-featured .news-card-content {
        width: 100%;
    }
}

.news-sidebar {
    position: sticky;
    top: 120px;
}

.news-widget {
    background: var(--news-card-bg);
    border-radius: var(--news-radius);
    border: 1px solid var(--news-border);
    padding: 24px;
    margin-bottom: 24px;
}

.news-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--news-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--news-border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-widget-title i {
    color: var(--news-primary);
}

.news-trending-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--news-border);
}

.news-trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-trending-item:first-child {
    padding-top: 0;
}

.news-trending-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--news-primary);
    opacity: 0.5;
    line-height: 1;
}

.news-trending-content h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
    line-height: 1.4;
}

.news-trending-meta {
    font-size: 12px;
    color: var(--news-text-muted);
}

.news-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tag {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--news-text);
    border-radius: 50px;
    font-size: 13px;
    border: 1px solid var(--news-border);
    transition: all 0.3s;
}

.news-tag:hover {
    background: var(--news-primary);
    color: white;
    border-color: var(--news-primary);
}

.news-article-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--news-border);
    padding-bottom: 40px;
}

.news-breaking-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--news-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.news-article-category {
    display: inline-block;
    padding: 6px 14px;
    background: var(--news-secondary);
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.news-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 20px;
    color: var(--news-text);
}

.news-article-subtitle {
    font-size: 20px;
    color: var(--news-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.news-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-article-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--news-primary);
}

.news-article-author-info {
    text-align: left;
}

.news-article-author-name a {
    color: var(--news-text);
    font-weight: 700;
    font-size: 15px;
}

.news-article-date {
    display: block;
    color: var(--news-text-muted);
    font-size: 13px;
}

.news-article-stats {
    display: flex;
    gap: 20px;
    color: var(--news-text-muted);
    font-size: 14px;
}

.news-article-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-article-featured-image {
    margin: 0 0 40px;
    border-radius: var(--news-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--news-shadow);
}

.news-article-featured-image img {
    width: 100%;
    height: auto;
}

.news-article-featured-image figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 13px;
    font-style: italic;
}

.news-article-content {
    font-size: 18px;
    line-height: 1.85;
    color: var(--news-text);
    margin-bottom: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.news-article-content p {
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}

.news-article-content p:first-of-type {
    font-size: 19px;
    line-height: 1.9;
}

.news-article-content p:first-of-type::first-letter {
    font-size: 3.2em;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin: 6px 12px 0 0;
    color: var(--news-primary);
}

.news-article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 700;
    margin: 45px 0 20px;
    color: var(--news-text);
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--news-primary);
    line-height: 1.3;
}

.news-article-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 18px;
    color: var(--news-text);
    position: relative;
    padding: 14px 0 14px 18px;
    border-left: 4px solid #00adac;
    background: linear-gradient(90deg, rgba(0, 173, 172, 0.08) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
    line-height: 1.4;
}

.news-article-content h4 {
    font-size: 19px;
    font-weight: 700;
    margin: 30px 0 14px;
    color: var(--news-text);
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(0, 173, 172, 0.2);
}

.news-article-content strong,
.news-article-content b {
    font-weight: 700;
    color: var(--news-text);
    background: linear-gradient(180deg, transparent 60%, rgba(0, 173, 172, 0.15) 60%);
    padding: 0 2px;
}

.news-article-content em,
.news-article-content i:not([class]) {
    font-style: italic;
    color: var(--news-text-muted);
}

.news-article-content img {
    border-radius: var(--news-radius);
    margin: 30px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
    display: block;
}

.news-article-content ul,
.news-article-content ol {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.news-article-content ol {
    counter-reset: list-counter;
}

.news-article-content ul li {
    position: relative;
    padding: 10px 16px 10px 36px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(0, 173, 172, 0.06) 0%, rgba(11, 111, 110, 0.04) 100%);
    border-radius: 8px;
    border-left: 3px solid #00adac;
}

.news-article-content ul li::before {
    content: '▸';
    position: absolute;
    left: 14px;
    color: #00adac;
    font-weight: 700;
    font-size: 14px;
}

.news-article-content ol li {
    position: relative;
    padding: 10px 16px 10px 44px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(0, 173, 172, 0.06) 0%, rgba(11, 111, 110, 0.04) 100%);
    border-radius: 8px;
    counter-increment: list-counter;
}

.news-article-content ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 24px;
    height: 24px;
    background: #00adac;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.news-article-content blockquote {
    font-size: 20px;
    font-style: italic;
    color: var(--news-text);
    border-left: 4px solid #00adac;
    padding: 24px 30px;
    margin: 35px 0;
    background: linear-gradient(135deg, rgba(0, 173, 172, 0.08) 0%, rgba(11, 111, 110, 0.06) 100%);
    border-radius: 0 12px 12px 0;
    position: relative;
    line-height: 1.7;
}

.news-article-content blockquote::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 60px;
    color: rgba(0, 173, 172, 0.25);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.news-article-content blockquote p {
    margin-bottom: 0;
}

.news-article-content a {
    color: #00adac;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 173, 172, 0.3);
    transition: all 0.2s;
}

.news-article-content a:hover {
    color: #0b6f6e;
    border-bottom-color: #0b6f6e;
}

.news-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    font-size: 15px;
}

.news-article-content table th {
    background: linear-gradient(135deg, #00adac, #0b6f6e);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.news-article-content table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--news-border);
}

.news-article-content table tr:nth-child(even) {
    background: rgba(0, 173, 172, 0.04);
}

.news-article-content code {
    background: rgba(0, 173, 172, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'JetBrains Mono', monospace;
}

.news-article-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--news-border), transparent);
    margin: 40px 0;
}

.news-article-content .article-source-info {
    margin-top: 30px;
}

.news-article-content .article-update-info {
    margin-top: 15px;
}

.news-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 30px 0;
    border-top: 1px solid var(--news-border);
    border-bottom: 1px solid var(--news-border);
    margin-bottom: 40px;
}

.news-article-tags-label {
    font-weight: 700;
    color: var(--news-text);
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-article-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--news-text-muted);
    border-radius: 50px;
    font-size: 14px;
    border: 1px solid var(--news-border);
}

.news-article-tag:hover {
    background: var(--news-primary);
    color: white;
    border-color: var(--news-primary);
}

.news-article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.news-article-share-label {
    font-weight: 700;
    font-size: 16px;
}

.news-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.news-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.news-share-btn.twitter { background: #1da1f2; }
.news-share-btn.facebook { background: #1877f2; }
.news-share-btn.linkedin { background: #0077b5; }
.news-share-btn.whatsapp { background: #25d366; }
.news-share-btn.copy { background: #6c757d; }

.news-author-box-detailed {
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    padding: 30px;
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.news-author-avatar-large img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--news-primary);
}

.news-author-info-detailed h3 {
    margin: 0 0 5px;
    font-size: 20px;
}

.news-author-role {
    color: var(--news-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.news-author-bio {
    color: var(--news-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-author-link {
    color: var(--news-text);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-author-link:hover {
    color: var(--news-primary);
    gap: 8px;
}

.news-related-posts {
    margin-top: 60px;
}

.news-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--news-primary);
}

.news-comments-section {
    margin-top: 60px;
    background: var(--news-card-bg);
    padding: 40px;
    border-radius: var(--news-radius);
    border: 1px solid var(--news-border);
}

.news-footer {
    background: var(--news-darker);
    padding: 60px 0 0;
    border-top: 1px solid var(--news-border);
}

.news-footer-top {
    margin-bottom: 50px;
}

.footer-widget {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--news-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--news-text);
    border: 1px solid var(--news-border);
}

.footer-social a:hover {
    background: var(--news-primary);
    color: white;
    border-color: var(--news-primary);
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--news-text);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--news-text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--news-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--news-border);
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    outline: none;
}

.newsletter-btn {
    background: var(--news-primary);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    background: var(--news-primary-hover);
}

.newsletter-note {
    font-size: 12px;
    color: var(--news-text-muted);
}

.news-footer-bottom {
    border-top: 1px solid var(--news-border);
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.news-footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--news-text-muted);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--news-text-muted);
    font-size: 13px;
}

.footer-bottom-links a:hover {
    color: var(--news-primary);
}

.news-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--news-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 173, 172, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
}

.news-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-back-to-top:hover {
    background: var(--news-primary-hover);
    transform: translateY(-5px);
}

@media (max-width: 991.98px) {
    .news-article-title {
        font-size: 32px;
    }
    
    .news-article-meta {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start !important;
    }
    
    .news-main-content {
        padding: 30px 0 40px;
    }
    
    .news-widget {
        padding: 20px;
    }
    
    .news-tag-header,
    .news-category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .news-author-box-detailed {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .news-footer-top .row > div {
        margin-bottom: 40px;
    }
    
    .news-footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .news-header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .news-header-main .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-search {
        width: 100%;
        max-width: 100%;
    }
    
    .news-header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        justify-content: center;
    }
    
    .footer-widget {
        padding-right: 0;
    }
    
    .news-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

.news-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.news-detail-main {
    min-width: 0; 
}

.news-detail-sidebar {
    position: sticky;
    top: 100px;
}

@media (max-width: 991.98px) {
    .news-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .news-detail-sidebar {
        position: static;
        margin-top: 40px;
    }
}

.news-sidebar-widget {
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--news-shadow-sm);
}

.news-sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--news-border);
    position: relative;
    color: var(--news-text);
}

.news-sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--news-primary);
}

.toc-widget {
    background: var(--news-card-bg);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: var(--news-text-muted);
    font-size: 14px;
    display: block;
    padding: 5px 0;
    border-left: 2px solid transparent;
    padding-left: 15px;
    transition: all 0.3s;
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--news-primary);
    border-left-color: var(--news-primary);
    padding-left: 20px;
}

.news-search-form {
    position: relative;
    width: 100%;
}

.news-search-wrapper .news-search-btn {
    display: none;
}

.news-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: var(--news-radius);
    margin-top: 10px;
    box-shadow: var(--news-shadow);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-results-list li {
    border-bottom: 1px solid var(--news-border);
}

.search-results-list li:last-child {
    border-bottom: none;
}

.search-results-list a {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    transition: background 0.2s;
}

.search-results-list a:hover {
    background: rgba(0, 173, 172, 0.05);
}

.search-results-list img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.search-result-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--news-text);
    line-height: 1.4;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    background: rgba(0, 173, 172, 0.1);
    color: var(--news-primary);
    font-weight: 600;
    font-size: 14px;
    border-top: 1px solid var(--news-border);
}

.search-view-all:hover {
    background: var(--news-primary);
    color: white;
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: var(--news-text-muted);
}

.search-no-results i {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
    opacity: 0.5;
}

.news-search-header {
    text-align: center;
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--news-border);
    margin-bottom: 40px;
}

.news-search-page-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--news-text);
}

.news-search-page-title i {
    color: var(--news-primary);
}

.search-query-label {
    font-size: 20px;
    font-weight: 400;
    color: var(--news-text-muted);
    display: block;
    margin-bottom: 5px;
}

.news-search-count {
    color: var(--news-text-muted);
    margin-bottom: 30px;
}

.news-search-page-form {
    max-width: 600px;
    margin: 0 auto;
}

.news-search-page-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--news-card-bg);
    border: 2px solid var(--news-border);
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    transition: all 0.3s;
}

.news-search-page-input-wrapper:focus-within {
    border-color: var(--news-primary);
    box-shadow: 0 0 0 4px rgba(0, 173, 172, 0.1);
}

.news-search-page-input-wrapper i {
    color: var(--news-text-muted);
    font-size: 20px;
    margin-right: 12px;
}

.news-search-page-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--news-text);
    outline: none;
    padding: 12px 0;
}

.news-search-page-input-wrapper input::placeholder {
    color: var(--news-text-muted);
}

.news-search-page-input-wrapper button {
    background: var(--news-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.news-search-page-input-wrapper button:hover {
    background: var(--news-primary-hover);
    transform: scale(1.02);
}

.news-no-results,
.news-search-initial {
    text-align: center;
    padding: 80px 40px;
    background: var(--news-card-bg);
    border-radius: var(--news-radius);
    border: 1px solid var(--news-border);
}

.news-no-results i,
.news-search-initial i {
    font-size: 80px;
    color: var(--news-primary);
    opacity: 0.3;
    margin-bottom: 20px;
}

.news-no-results h2,
.news-search-initial h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.news-no-results p,
.news-search-initial p {
    color: var(--news-text-muted);
    margin-bottom: 30px;
}

.news-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--news-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.news-btn-primary:hover {
    background: var(--news-primary-hover);
    color: white;
}

.news-search-popular {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--news-border);
}

.news-search-popular h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--news-text-muted);
}

.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.reading-progress-bar {
    height: 100%;
    background: var(--news-gradient);
    width: 0%;
    transition: width 0.1s ease-out;
}

.newsletter-section {
    background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-primary-hover) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 30s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, -30px); }
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.newsletter-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 16px;
}

.newsletter-form-wrapper {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-wrapper input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 15px;
    outline: none;
    backdrop-filter: blur(5px);
}

.newsletter-form-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form-wrapper input:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-form-wrapper button {
    background: white;
    color: var(--news-primary);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form-wrapper button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-success {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-grid-item {
    display: flex;
}

.news-grid-item .news-card {
    width: 100%;
}

@media (max-width: 767.98px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form-wrapper {
        flex-direction: column;
    }
    
    .news-search-page-input-wrapper {
        flex-direction: column;
        padding: 15px;
        border-radius: var(--news-radius);
    }
    
    .news-search-page-input-wrapper i {
        display: none;
    }
    
    .news-search-page-input-wrapper input {
        width: 100%;
        text-align: center;
    }
    
    .news-search-page-input-wrapper button {
        width: 100%;
        justify-content: center;
    }
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

.news-bookmark-btn {
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    color: var(--news-text-muted);
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.news-bookmark-btn:hover {
    border-color: var(--news-primary);
    color: var(--news-primary);
}

.news-bookmark-btn.bookmarked {
    background: var(--news-primary);
    border-color: var(--news-primary);
    color: white;
}

.news-bookmark-btn.bookmarked i {
    animation: bookmark-pop 0.3s ease;
}

@keyframes bookmark-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--news-border);
}

.news-pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: 50px;
    color: var(--news-text);
    font-weight: 500;
    transition: all 0.3s;
}

.news-pagination-btn:hover {
    background: var(--news-primary);
    border-color: var(--news-primary);
    color: white;
}

.news-pagination-pages {
    display: flex;
    gap: 5px;
}

.news-pagination-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: 50%;
    color: var(--news-text);
    font-weight: 600;
    transition: all 0.3s;
}

.news-pagination-page:hover,
.news-pagination-page.active {
    background: var(--news-primary);
    border-color: var(--news-primary);
    color: white;
}

.news-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-category-list li {
    border-bottom: 1px solid var(--news-border);
}

.news-category-list li:last-child {
    border-bottom: none;
}

.news-category-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--news-text);
    transition: all 0.3s;
}

.news-category-list a:hover {
    color: var(--news-primary);
    padding-left: 10px;
}

.news-category-list .category-count {
    margin-left: auto;
    background: var(--news-border);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.news-article-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .news-article-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .news-bookmark-btn {
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
    select,
    textarea,
    .form-control,
    .form-select {
        font-size: 16px !important;
    }
}

.news-newsletter {
    background: linear-gradient(135deg, rgba(0, 173, 172, 0.1) 0%, rgba(29, 53, 87, 0.1) 100%);
    padding: 60px 0;
    border-top: 1px solid var(--news-border);
}

.newsletter-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.newsletter-icon {
    width: 70px;
    height: 70px;
    background: var(--news-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.newsletter-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--news-text);
}

.newsletter-text p {
    color: var(--news-text-muted);
    margin: 0;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 450px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid var(--news-border);
    border-radius: 50px;
    background: var(--news-card-bg);
    color: var(--news-text);
    font-size: 15px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--news-primary);
}

.newsletter-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--news-gradient);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 173, 172, 0.3);
}

.newsletter-message {
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.newsletter-message.success {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.newsletter-message.error {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.news-footer {
    background: var(--news-darker);
    padding: 60px 0 0;
    border-top: 1px solid var(--news-border);
}

.footer-widget {
    padding-right: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 44px;
}

.footer-logo .logo-badge {
    background: var(--news-primary);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: var(--news-text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    transition: all 0.3s;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.tiktok {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.twitter {
    background: #1da1f2;
}

.social-link:hover {
    transform: translateY(-3px);
}

html[data-theme="light"] .news-footer {
    background: #1a1a2e;
    border-top-color: #2d2d44;
}

html[data-theme="light"] .news-footer .footer-title,
html[data-theme="light"] .news-footer .footer-desc,
html[data-theme="light"] .news-footer .footer-links a,
html[data-theme="light"] .news-footer .footer-articles .article-title,
html[data-theme="light"] .news-footer .footer-articles .article-date,
html[data-theme="light"] .news-footer .footer-bottom-left p,
html[data-theme="light"] .news-footer .footer-bottom-right a {
    color: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .news-footer .footer-links a:hover,
html[data-theme="light"] .news-footer .footer-articles a:hover .article-title,
html[data-theme="light"] .news-footer .footer-bottom-right a:hover {
    color: var(--news-primary);
}

html[data-theme="light"] .news-footer .tag-link {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

html[data-theme="light"] .news-footer .tag-link:hover {
    background: var(--news-primary);
    border-color: var(--news-primary);
    color: white;
}

html[data-theme="light"] .news-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .news-newsletter {
    background: linear-gradient(135deg, rgba(0, 173, 172, 0.08) 0%, rgba(29, 53, 87, 0.08) 100%);
    border-top-color: #e9ecef;
}

html[data-theme="light"] .social-link.tiktok {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

html[data-theme="light"] .newsletter-form input {
    background: #ffffff;
    border-color: #e9ecef;
    color: #1a1a2e;
}

html[data-theme="light"] .newsletter-form input::placeholder {
    color: #6c757d;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--news-text);
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--news-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--news-text-muted);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--news-primary);
    transform: translateX(5px);
}

.footer-links .cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-articles {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-articles li {
    margin-bottom: 16px;
}

.footer-articles a {
    text-decoration: none;
    display: block;
}

.footer-articles .article-title {
    display: block;
    color: var(--news-text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.footer-articles a:hover .article-title {
    color: var(--news-primary);
}

.footer-articles .article-date {
    font-size: 12px;
    color: var(--news-text-muted);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: var(--news-card-bg);
    border: 1px solid var(--news-border);
    border-radius: 20px;
    color: var(--news-text-muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.tag-link:hover {
    background: var(--news-primary);
    border-color: var(--news-primary);
    color: white;
}

.news-footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid var(--news-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left p {
    margin: 0;
    color: var(--news-text-muted);
    font-size: 13px;
}

.back-to-store {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--news-gradient);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
}

.back-to-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 173, 172, 0.3);
    color: white;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

.footer-bottom-right a {
    color: var(--news-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-bottom-right a:hover {
    color: var(--news-primary);
}

.news-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--news-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 173, 172, 0.3);
}

.news-back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.news-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 173, 172, 0.4);
}

@media (max-width: 991.98px) {
    .newsletter-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        flex-direction: column;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 100%;
    }
    
    .news-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-right {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .news-newsletter {
        padding: 40px 0;
    }
    
    .newsletter-text h3 {
        font-size: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        justify-content: center;
    }
    
    .footer-widget {
        padding-right: 0;
    }
    
    .news-back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
