.mobile-categories-wrapper {
    display: none;
}

.mobile-nav-buttons {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav-button .mobile-categories-toggle {
        display: flex !important;
    }
    .mobile-nav-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .mobile-logo {
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .mobile-logo h1 {
        margin: 0;
        padding: 0;
        font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        font-weight: 400 !important;
        font-size: 32px !important;
        color: #000000 !important;
        text-transform: none !important;
    }
    
    .mobile-logo h1 a {
        color: #000000 !important;
        text-decoration: none;
    }
    
    .mobile-logo img {
        max-height: 24px;
        display: block;
        margin: 0 auto;
    }
    
    .mobile-nav-button {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 15px 20px;
        background: #fff;
        color: #333333;
        text-decoration: none;
        border: none;
        border-bottom: 1px solid #e2e8f0;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
        cursor: pointer;
        text-align: left;
    }
    
    .mobile-nav-link:hover {
        background: #f8f9fa;
        color: #e00000;
    }
    
    .mobile-nav-link i {
        margin-right: 10px;
        font-size: 18px;
    }
    
    .mobile-nav-link .fa-chevron-down {
        margin-left: auto;
        margin-right: 0;
        transition: transform 0.3s ease;
    }
    
    .mobile-nav-link.active .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .mobile-nav-link span {
        flex: 1;
        text-align: left;
    }
    
    .mobile-categories-wrapper {
        display: block;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
    }
    
    
    .mobile-categories-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .mobile-categories-list li {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .mobile-categories-list li:last-child {
        border-bottom: none;
    }
    
    .mobile-categories-list a {
        display: block;
        padding: 15px 20px;
        color: #333333;
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-categories-list a:hover {
        background: #f8f9fa;
        color: #e00000;
    }
}

@media (min-width: 769px) {
	.article-no-media:hover {
		transform: none !important;
		box-shadow: none !important;
	}
	
	.article-no-media:hover .article-no-media-icon {
		opacity: 0.8 !important;
		transform: none !important;
	}
}

@media (max-width: 768px) {
    .top-bar { display: none !important; }
    .header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    .header .col-md-8 { display: none !important; }
    .container .header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    .wrapper .header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    .container.wrapper .header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    div.header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    .container.wrapper > .header { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }
    .header .logo { text-align: center; }
    .logo h1,
    header .logo h1 {
        font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        font-weight: 400 !important;
        font-size: 47px !important;
        letter-spacing: 0;
        color: #000000 !important;
        text-align: center !important;
        margin: 16px 0 !important;
        padding-bottom: 17px !important;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    header nav {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border: none;
        border-top: 1px solid #eef2f7;
        border-radius: 0;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        z-index: 1000;
        margin: 0;
        display: none;
        max-height: 85vh;            /* prevent menu from exceeding viewport */
        overflow-y: auto;            /* allow scrolling when too tall */
        -webkit-overflow-scrolling: touch; /* smoother mobile scrolling */
    }
    header nav .nav-menu { list-style: none; margin: 0; padding: 0; display: block !important; }
    header nav .nav-menu > li { display: block; }
    body.menu-open header nav { display: block !important; }
    
    header nav .nav-menu > li ul {
        display: none;
        background: #f8f9fa;
        margin: 0;
        padding: 0;
        border-top: 1px solid #e9ecef;
        max-height: 70vh;           /* ensure long lists fit */
        overflow-y: auto;           /* enable scrolling for overflow */
        -webkit-overflow-scrolling: touch; /* smooth momentum scroll on iOS */
    }
    
    header nav .nav-menu > li.active ul {
        display: block;
    }
    
    header nav .nav-menu > li ul li {
        border-bottom: 1px solid #e9ecef;
    }
    
    header nav .nav-menu > li ul li:last-child {
        border-bottom: none;
    }
    
    header nav .nav-menu > li ul li a {
        padding: 10px 16px 10px 32px;
        color: #6c757d;
        font-size: 14px;
        transition: all 0.2s ease;
    }
    
    header nav .nav-menu > li ul li a:hover {
        background: #e9ecef;
        color: #1a365d;
    }
    
    header nav .nav-menu > li > a {
        display: block;
        padding: 15px 20px;
        color: #1a365d;
        text-decoration: none;
        transition: all 0.2s ease;
        border-bottom: 1px solid #f1f5f9;
    }
    
    header nav .nav-menu > li > a:hover {
        background: #f8f9fa;
        color: #e00000;
    }
    
    header nav .nav-menu > li:last-child > a {
        border-bottom: none;
    }

    .menu-trigger { display: none !important; }

    .mobile-actions {
        display: flex;
        gap: 10px;
        justify-content: center;
        padding: 8px 10px 12px;
    }
    .mobile-actions .btn {
        flex: 1 1 0;
        max-width: 180px;
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 8px;
        color: #fff !important;
        border: none;
    }
    .mobile-actions .btn-primary { background: #e00000 !important; }
    .mobile-actions .btn-secondary { background: #1a365d !important; }
    .mobile-actions { margin-top: 6px; }
    
    .category-header { margin: 10px 0 12px; }
    .category-title { font-size: 24px; line-height: 1.2; margin: 8px 0; }
    .category-description p { color: #666; line-height: 1.4; margin: 6px 0 12px; }

    .category-articles .row { display: block; margin: 0; }
    .category-articles .col-md-6 { width: 100% !important; padding: 0 !important; }

    .category-articles .article-item,
    .category-articles .fn-inner { background: #fff; border-radius: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 12px; }

    .category-articles .article-thumb,
    .category-articles .fn-thumb { position: relative; overflow: hidden; border-radius: 0; background: #000; width: 100%; height: 200px; }
    .category-articles .article-thumb .homepage-media-container,
    .category-articles .fn-thumb .homepage-media-container { width: 100%; height: 100%; border-radius: 0; margin: 0; padding: 0; }
    .category-articles .article-thumb img,
    .category-articles .article-thumb video,
    .category-articles .fn-thumb img,
    .category-articles .fn-thumb video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover !important; }

    .category-articles .article-content,
    .category-articles .fn-content { padding: 12px; }
    .category-articles .article-content h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; font-weight: 400; color: #333; }
    .category-articles .article-content p { margin-bottom: 6px; font-size: 12px; line-height: 1.4; color: #666; }
    .category-articles .article-meta { font-size: 12px; color: #718096; display: flex; align-items: center; gap: 8px; }
    .category-articles .article-meta i { margin-right: 4px; }
    .category-articles .article-meta a { margin-left: 6px; }

    
    .articles-list .article-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.1); overflow: hidden; margin: 10px 0; }
    .articles-list .article-item .row { display: block; margin: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
    .articles-list .article-item .col-md-4,
    .articles-list .article-item .col-md-8 { width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; }

    .articles-list .article-item .article-thumb { position: relative; overflow: hidden; border-radius: 0; background: #000; width: 100%; height: 200px; padding-bottom: 0; margin-bottom: 0; }
    .articles-list .article-item .article-thumb .homepage-media-container,
    .articles-list .article-item .article-thumb .sidebar-media-container { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100% !important; height: 100% !important; border-radius: 0; margin: 0; padding: 0; }
    .articles-list .article-item .article-thumb img,
    .articles-list .article-item .article-thumb video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; max-height: 200px !important; object-fit: cover !important; display: block; background: #000 !important; }
    
    .articles-list .article-item .article-thumb img.img-responsive,
    .articles-list .article-item .article-thumb img.sidebar-image { height: 100% !important; max-height: 200px !important; }
    .articles-list .article-item .article-thumb .homepage-video,
    .articles-list .article-item .article-thumb .sidebar-video { object-fit: cover !important; background: #000 !important; }
    .articles-list .article-item .article-thumb { margin-bottom: 10px; }

    .articles-list .article-item .article-content { padding: 0 12px 12px; display: flex; flex-direction: column; }
    
    .articles-list .article-item .article-title { order: 1; margin: 10px 0 6px; padding: 0; font-size: 18px; line-height: 1.3; font-weight: 400; color: #000; }
    .articles-list .article-item .article-meta { order: 2; display: flex; align-items: center; gap: 12px; font-size: 12px; color: #718096; margin: 0 0 6px; flex-wrap: wrap; }
    
    .articles-list .article-item .article-meta .cat-default { display: none !important; }
    .articles-list .article-item .article-meta em { order: 2; display: inline-flex; align-items: center; gap: 6px; }
    .articles-list .article-item .article-meta em i { margin-right: 0; }
    .articles-list .article-item .article-excerpt,
    .articles-list .article-item .article-footer { display: none !important; }

    .mobile-categories-wrapper {
        display: block !important;
        margin: 0;
        padding: 0;
    }
    
    .mobile-categories {
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    
    .mobile-categories-toggle {
        display: flex !important; /* show toggle on mobile */
        width: 100%;
        background: #fff;
        border: 1px solid #e9ecef;
        color: #333;
        padding: 15px 20px;
        font-size: 16px;
        font-weight: 600;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-categories-toggle:hover {
        background: #f8f9fa;
        color: #e00000;
    }
    
    .mobile-categories-toggle i:first-child {
        margin-right: 10px;
        font-size: 18px;
    }
    
    .mobile-categories-toggle i:last-child {
        transition: transform 0.3s ease;
    }
    
    .mobile-categories-toggle.active i:last-child {
        transform: rotate(180deg);
    }
    
    .mobile-categories-content {
        max-height: 0;              /* collapsed by default */
        overflow: hidden;           /* hide content until expanded */
        transition: max-height 0.3s ease;
    }
    
    .mobile-categories-content.active {
        max-height: 70vh;           /* allow up to 70% of viewport */
        overflow-y: auto;           /* scroll when long */
        -webkit-overflow-scrolling: touch; /* smooth scrolling */
    }
    
    .mobile-categories-list { 
        list-style: none; 
        margin: 0; 
        padding: 0; 
    }
    
    .mobile-categories-list li { 
        border-bottom: 1px solid #f3f4f6; 
    }
    
    .mobile-categories-list li:last-child { 
        border-bottom: none; 
    }
    
    .mobile-categories-list a { 
        display: block; 
        padding: 12px 20px; 
        color: #1f2937; 
        text-decoration: none; 
        font-size: 14px; 
        font-weight: 500;
        transition: all 0.2s ease;
        white-space: normal;        /* allow wrapping */
        word-break: break-word;     /* avoid overflow on long names */
    }
    
    .mobile-categories-list a:hover { 
        background: #f8f9fa; 
        color: #e00000; 
        padding-left: 25px;
    }
    body {
        padding: 0;
        margin: 0;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .container.wrapper {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .container.wrapper > .header:first-child {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    header {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        border: none !important;
        background: transparent !important;
    }
    
    header:before {
        display: none !important;
        content: none !important;
    }
    
    .wrapper {
        margin-bottom: 0;
    }
    
    header { 
        margin: 0; 
        padding: 0; 
        position: relative;
        z-index: 1001;
    }
    .header { padding: 0 !important; }
    .logo { padding: 0; }
    .logo h1,
    header .logo h1,
    .header .logo h1 { 
        display: block !important; 
        font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        font-weight: 400 !important;
        font-size: 47px !important; 
        text-align: center !important; 
        margin: 8px 0 !important; 
        padding-bottom: 8px !important;
        color: #000000 !important;
        text-transform: none !important;
    }
    .logo img { max-height: 28px; display: block; margin: 0 auto; }
    
    
    .article-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.2s ease;
        margin: 8px 0;
    }
    
    .article-card:active {
        transform: scale(0.98);
    }
    
    
    .article-card .card-img-top {
        border-radius: 0;
    }
    
    
    .article-card .card-title {
        font-weight: 600;
        color: #1a365d;
    }
    
    .article-card .card-text {
        color: #4a5568;
        line-height: 1.5;
    }
    
    
    .article-meta {
        color: #718096;
        font-size: 12px;
    }
    
    .article-meta i {
        margin-right: 4px;
    }
    
    
    .btn {
        border-radius: 8px;
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0.5px;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        border: none;
    }
    
    .btn-primary:hover {
        background: linear-gradient(135deg, #2d3748 0%, #1a365d 100%);
        transform: translateY(-1px);
    }
    
    
    .form-control {
        border-radius: 8px;
        border: 2px solid #e2e8f0;
        transition: all 0.2s ease;
    }
    
    .form-control:focus {
        border-color: #1a365d;
        box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
    }
    
    
    .search-form {
        margin: 15px 0;
    }
    
    .search-form .input-group {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .search-form .form-control {
        border: none;
        padding: 12px 15px;
    }
    
    .search-form .btn {
        border: none;
        padding: 12px 20px;
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    }
    
    
    .pagination {
        margin: 30px 0;
    }
    
    .pagination .page-link {
        border-radius: 6px;
        margin: 0 2px;
        border: 1px solid #e2e8f0;
        color: #1a365d;
        font-weight: 500;
    }
    
    .pagination .page-link:hover {
        background: #1a365d;
        color: white;
        border-color: #1a365d;
    }
    
    .pagination .page-item.active .page-link {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        border-color: #1a365d;
    }
    
    
    .sidebar .widget {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 12px;
        overflow: hidden;
    }
    
    .sidebar .widget-title {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        color: white;
        padding: 15px 20px;
        font-weight: 600;
        font-size: 16px;
    }
    
    .sidebar .widget-content {
        padding: 20px;
    }
    
    
    .category-list li {
        border-bottom: 1px solid #f7fafc;
        transition: background-color 0.2s ease;
    }
    
    .category-list li:hover {
        background-color: #f7fafc;
    }
    
    .category-list a {
        color: #4a5568;
        font-weight: 500;
        transition: color 0.2s ease;
    }
    
    .category-list a:hover {
        color: #1a365d;
        text-decoration: none;
    }
    
    
    .footer {
        background: #fff;
        border-top: 1px solid #e5e5e5;
        padding: 30px 0;
        margin-top: 20px;
    }
    
    .footer h4 {
        color: #333;
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 18px;
    }
    
    .footer p {
        color: #555;
        line-height: 1.6;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        color: #555;
        text-decoration: none;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
    }
    
    .footer-links a i {
        margin-right: 8px;
        width: 16px;
        text-align: center;
    }
    
    .footer-links a:hover {
        color: #e00000;
        text-decoration: none;
    }
    
    
    
    
    
    .nav-menu {
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        animation: slideIn 0.3s ease;
    }
    
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    
    .modal-content {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    
    .modal-header {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        color: white;
        border-radius: 12px 12px 0 0;
    }
    
    .modal-title {
        font-weight: 600;
    }
    
    
    .alert {
        border-radius: 8px;
        border: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .alert-success {
        background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
        color: white;
    }
    
    .alert-danger {
        background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
        color: white;
    }
    
    .alert-warning {
        background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
        color: white;
    }
    
    .alert-info {
        background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
        color: white;
    }
    
    
    .loading {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 40px;
    }
    
    .loading::after {
        content: '';
        width: 30px;
        height: 30px;
        border: 3px solid #e2e8f0;
        border-top: 3px solid #1a365d;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    
    .empty-state {
        text-align: center;
        padding: 40px 20px;
        color: #718096;
    }
    
    .empty-state i {
        font-size: 48px;
        margin-bottom: 15px;
        color: #cbd5e0;
    }
    
    .empty-state h3 {
        color: #4a5568;
        margin-bottom: 10px;
    }
    
    .empty-state p {
        color: #718096;
        line-height: 1.5;
    }
    
    
    .article-no-media {
        background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 25px;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
    }
    
    .article-no-media::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1a365d, #2d3748, #4a5568);
    }
    
    .article-no-media .card-title {
        color: #1a365d;
        font-weight: 600;
        margin-bottom: 15px;
        font-size: 1.25rem;
    }
    
    .article-no-media .card-text {
        color: #4a5568;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .article-no-media .article-meta {
        color: #718096;
        font-size: 12px;
        border-top: 1px solid #e2e8f0;
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .article-no-media .article-meta i {
        margin-right: 5px;
        color: #a0aec0;
    }
    
    
    .article-no-media-icon {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 16px;
        opacity: 0.8;
    }
    
    
    .article-no-media:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    .article-no-media:hover .article-no-media-icon {
        opacity: 1;
        transform: scale(1.1);
        transition: all 0.3s ease;
    }
    
    
    .category-badge {
        display: inline-block;
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        color: white;
        padding: 3px 10px;
        border-radius: 15px;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin-bottom: 8px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .category-badge:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        transition: all 0.2s ease;
    }
    
    
    .media-container {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 90%; 
        overflow: hidden;
        border-radius: 8px;
        background: #f7fafc;
        margin-bottom: 10px;
        min-height: 300px;
    }
    
    .normalized-media {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: fill !important;
        border-radius: 8px;
        transition: transform 0.2s ease;
    }
    
    .normalized-media:hover {
        transform: scale(1.02);
    }
    
    
    .media-container img,
    .media-container video,
    .article-card .card-img-top,
    .fn-thumb img,
    .fn-thumb video,
    .ln-thumb img,
    .ln-thumb video,
    .pa-thumb img,
    .pa-thumb video {
        object-fit: fill !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    
    .media-container > .media-count-indicator {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 4px;
        backdrop-filter: blur(6px);
        z-index: 10;
        box-shadow: 0 1px 6px rgba(0,0,0,0.3);
        border: 1px solid rgba(255,255,255,0.2);
        pointer-events: none;
        position: absolute !important;
    }
    
    .media-count {
        font-size: 11px;
        font-weight: bold;
        color: #fff;
    }
    
    .media-container > .media-count-indicator i {
        font-size: 11px;
        opacity: 1;
        color: #fff;
    }
    
    
    .fn-thumb,
    .ln-thumb,
    .pa-thumb {
        height: 220px;
    }
    .fn-thumb .media-container,
    .ln-thumb .media-container,
    .pa-thumb .media-container {
        height: 100%;
        padding-bottom: 90%; 
        min-height: 300px;
    }

    
    .featured-news .fn-thumb { margin-bottom: 6px; }
    
    .featured-news .fn-content { padding: 0 10px 10px 10px !important; }
    .featured-news .fn-inner h4,
    .featured-news .fn-inner em,
    .featured-news .fn-inner p { padding-left: 10px !important; padding-right: 10px !important; }
    .featured-news .fn-thumb + h4 { margin-top: 10px !important; }
    .featured-news .fn-inner h4 { 
        margin: 0 0 6px; 
        font-size: 16px; 
        line-height: 1.3; 
        font-weight: 400;
        color: #333333;
    }
    .featured-news .fn-inner p { 
        margin-bottom: 6px; 
        font-size: 12px; 
        line-height: 1.4; 
        color: #666666;
    }
    
    
    .media-album {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 15px 0;
    }
    
    .media-album .media-container {
        padding-bottom: 66.67%; 
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .media-album .media-container:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }

    
    .related-articles .row { display: block; margin: 0; }
    .related-articles .col-md-6 { width: 100% !important; padding: 0 !important; }
    .related-articles .ra-item {
        width: 100%;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        overflow: hidden;
        margin-bottom: 12px;
        border: 1px solid #e2e8f0;
    }
    .related-articles .ra-thumb { 
        width: 100% !important; 
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }
    .related-articles .ra-thumb img,
    .related-articles .ra-thumb video { 
        width: 100% !important; 
        height: 300px; 
        object-fit: cover !important; 
        display: block; 
        border-radius: 12px 12px 0 0;
        margin: 0;
        padding: 0;
    }
    .related-articles .ra-content { padding: 12px; }
    .related-articles .ra-content h5 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; }
    .related-articles .ra-content em { font-size: 12px; color: #718096; }

    
    footer, .footer {
        padding: 56px 0 56px !important;
    }
}



@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .article-card .card-title {
        font-size: 20px;
    }
    
    .sidebar {
        margin-top: 30px;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


@media (min-width: 1025px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex !important;
    }
    
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}


@media (max-width: 767px) {
    
    .main-content > .block-2,
    .col-md-4.block-2,
    .sidebar,
    .b1-aside { 
        display: none !important;
    }
    
    .top-bar { display: none; }
    .header .col-md-8 { display: none; }
    header nav { 
        width: 100%; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        right: 0; 
        background: #fff; 
        border: none; 
        border-top: 1px solid #eef2f7; 
        border-radius: 0; 
        padding: 0; 
        box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
        z-index: 1000; 
        display: none;
    }
    header nav .nav-menu { list-style: none; margin: 0; padding: 0; display: block !important; }
    header nav .nav-menu > li { display: block; }
    header nav .nav-menu > li > a { display: block; padding: 15px 20px; color: #1a365d; text-decoration: none; transition: all 0.2s ease; border-bottom: 1px solid #f1f5f9; }
    header nav .nav-menu > li > a:hover { background: #f8f9fa; color: #e00000; }
    header nav .nav-menu > li:last-child > a { border-bottom: none; }
    body.menu-open header nav { display: block !important; }
    .menu-trigger { display: none !important; }
    .article-share {
        margin: 20px 0;
        padding: 15px;
    }
    
    .share-buttons {
        gap: 12px;
    }
    
    .share-buttons a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    
    
    .article-single-media {
        max-width: 100%;
        margin: 12px 0;
        padding: 8px;
    }
    
    .article-single-media img,
    .article-single-media video {
        max-width: 100%;
        max-height: 300px;
        border-radius: 8px;
        width: 100%;
        height: auto;
        object-fit: contain; 
    }
    
    
    .article-media-slider {
        max-width: 100%;
        margin: 12px 0;
    }
    
    .article-media-slider-main {
        min-height: 200px;
        max-height: none;
    }
    
    
    .homepage-media-container,
    .sidebar-media-container {
        width: 100%;
        height: 250px; 
        margin: 0; 
        background: #000; 
        position: relative;
        overflow: hidden;
        border-radius: 8px 8px 0 0; 
        display: block;
    }
    
    
    .homepage-image,
    .homepage-video,
    .sidebar-image,
    .sidebar-video {
        position: absolute;
        top: 0; 
        left: 0; 
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; 
        display: block; 
        filter: none !important;
        background: transparent !important;
        border-radius: 0; 
        margin: 0;
        padding: 0;
    }
    
    
    .homepage-video,
    .sidebar-video {
        object-fit: cover !important;
        background: #000 !important;
    }
    
    
    .featured-news .fn-thumb,
    .latest-news .ln-thumb,
    .popular-articles .pa-thumb {
        position: relative;
        overflow: hidden;
        border-radius: 0;
        background: #000;
        width: 100%;
        height: 200px;
    }
    
    .featured-news .fn-thumb .homepage-media-container,
    .latest-news .ln-thumb .homepage-media-container,
    .popular-articles .pa-thumb .homepage-media-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }
    
    
    .homepage-video::-webkit-media-controls,
    .sidebar-video::-webkit-media-controls {
        display: none !important;
    }
    
    .homepage-video::-webkit-media-controls-panel,
    .sidebar-video::-webkit-media-controls-panel {
        display: none !important;
    }

    
    .pa-thumb,
    .fn-thumb,
    .ln-thumb {
        position: relative;
        overflow: hidden;
        border-radius: 0;
        background: #000;
        width: 100%;
        height: 200px; 
    }
    
    .pa-thumb img,
    .pa-thumb video,
    .fn-thumb img,
    .fn-thumb video,
    .ln-thumb img,
    .ln-thumb video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
        border-radius: 0; 
    }
    
    
    .pa-thumb video,
    .fn-thumb video,
    .ln-thumb video {
        object-fit: cover !important;
        background: #000 !important;
    }
    
    
    .pa-thumb video::-webkit-media-controls,
    .fn-thumb video::-webkit-media-controls,
    .ln-thumb video::-webkit-media-controls {
        display: none !important;
    }
    
    
    .homepage-play-icon,
    .sidebar-play-icon {
        width: 40px;
        height: 40px;
    }
    
    .homepage-play-icon i,
    .sidebar-play-icon i {
        font-size: 16px;
    }
    
    
    .single-media {
        max-width: 100%;
        margin: 8px 0;
        padding: 5px;
    }
    
    .single-media img,
    .single-media video {
        max-width: 100%;
        max-height: 200px;
        border-radius: 4px;
    }
    
    
    .article-media {
        margin: 8px 0;
        padding: 5px;
    }
    
    
    .article-card {
        margin: 5px 0;
    }
    
    .article-card .card-img-container {
        width: 100%;
        height: 220px; 
        position: relative;
        overflow: hidden;
        border-radius: 8px 8px 0 0;
    }
    
    .article-card .card-img-top {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0; 
    }
    
    
    .featured-arrow {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .featured-prev {
        left: 8px;
    }
    
    .featured-next {
        right: 8px;
    }
    
    
    .bl-featured-wrapper {
        margin: 8px 0;
    }
    
    .bl-featured-wrapper .homepage-media-container {
        min-height: 120px;
        max-height: 200px;
    }
    
    
    .article-title {
        font-size: 18px;
        line-height: 1.3;
        margin: 8px 0;
        font-weight: 400; 
    }
    
    .article-paragraph {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 0;
        margin-bottom: 40px;
    }
    
    .article-meta {
        font-size: 11px;
        margin: 5px 0;
    }
    
    .article-meta em {
        display: block;
        margin-bottom: 2px;
    }
    
    
    
    .bl-featured-wrapper .bl-featured-big {
        height: 200px;
        border-radius: 0;
    }
    
    .bl-featured-wrapper .bl-featured-big .homepage-media-container {
        height: 200px;
        border-radius: 0;
    }
    
    .bl-featured-wrapper .bl-featured-big .homepage-image,
    .bl-featured-wrapper .bl-featured-big .homepage-video {
        object-fit: cover;
        border-radius: 0;
    }
    
    .bl-featured-wrapper .bl-featured-big .bl-info {
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        padding: 20px;
        border-radius: 0;
    }
    
    .bl-featured-wrapper .bl-featured-big .bl-info span {
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;
        line-height: 21px;
        padding: 0 5px;
        background: rgba(0, 0, 0, 0.5);
        display: table;
        float: right;
        margin: -10px;
    }

    
    .featured-news,
    .latest-news,
    .popular-articles,
    .related-articles {
        margin: 10px 0;
    }
    
    
    .popular-articles .pa-item {
        margin-bottom: 15px;
        border: 1px solid #e2e8f0;
    }
    
    .popular-articles .pa-item:last-child {
        margin-bottom: 0;
    }
    
    
    .popular-articles .pa-item:hover {
        background: #f8f9fa;
        transform: translateX(5px);
        transition: all 0.3s ease;
        border-radius: 8px;
        padding: 10px;
        margin: -10px -10px 15px -10px;
    }
    
    .popular-articles .pa-item:last-child:hover {
        margin-bottom: -10px;
    }
    
    .featured-news .fn-content,
    .latest-news .ln-content,
    .popular-articles .pa-content,
    .related-articles .ra-content {
        padding: 12px;
    }
    
    .featured-news .fn-inner h4 {
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 400;
        color: #333333;
    }
    
    .latest-news .ln-inner h4,
    .popular-articles .pa-content h4,
    .related-articles .ra-content h4 {
        margin: 4px 0;
        font-size: 14px;
    }
    
    
    .related-articles .ra-content h4 {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 400;
        color: #333333;
    }
    
    .related-articles .ra-content p {
        font-size: 12px;
        line-height: 1.4;
        color: #666666;
    }
    
    .article-content .article-paragraph,
    .article-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 0 !important;
        margin-bottom: 30px !important;
        font-weight: 400 !important;
    }
    
    .featured-news .fn-inner p {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 1.4;
        color: #666666;
    }
    
    .latest-news .ln-inner p,
    .popular-articles .pa-content p,
    .related-articles .ra-content p {
        margin-bottom: 4px;
        font-size: 12px;
    }
}


@media (max-width: 480px) {
    
    .block-2 .latest-articles,
    .sidebar .latest-articles,
    .col-md-4 .latest-articles {
        display: none !important;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .logo { padding: 2px 0; }
    .logo h1,
    header .logo h1,
    .header .logo h1 { 
        display: block !important; 
        font-family: 'Oswald', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
        font-weight: 400 !important;
        font-size: 36px !important; 
        text-align: center !important; 
        margin: 12px 0 !important; 
        padding-bottom: 12px !important;
        color: #1a365d !important;
        text-transform: none !important;
    }
    .logo img { max-height: 24px; display: block; margin: 0 auto; }
    
    
    .article-single-media {
        margin: 8px 0;
        padding: 5px;
    }
    
    .article-single-media img,
    .article-single-media video {
        max-height: 250px;
        border-radius: 6px;
        width: 100%;
        object-fit: cover;
    }
    
    
    .homepage-media-container,
    .sidebar-media-container {
        width: 100%;
        height: 150px; 
        margin: 0;
        background: #000;
        position: relative;
        overflow: hidden;
        border-radius: 6px 6px 0 0;
        display: block;
    }
    
    
    .homepage-image,
    .homepage-video,
    .sidebar-image,
    .sidebar-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0; 
        margin: 0;
        padding: 0;
    }
    
    
    .homepage-play-icon,
    .sidebar-play-icon {
        width: 30px;
        height: 30px;
    }
    
    .homepage-play-icon i,
    .sidebar-play-icon i {
        font-size: 12px;
    }
    
    
    .single-media {
        margin: 5px 0;
        padding: 3px;
    }
    
    .single-media img,
    .single-media video {
        max-height: 150px;
        border-radius: 3px;
    }
    
    
    .article-media {
        margin: 5px 0;
        padding: 3px;
    }
    
    
    .article-card {
        margin: 3px 0;
    }
    
    .article-card .card-img-container {
        width: 100%;
        height: 180px; 
        position: relative;
        overflow: hidden;
        border-radius: 6px 6px 0 0;
    }
    
    .article-card .card-img-top {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0; 
    }
    
    
    .featured-arrow {
        width: 30px;
        height: 30px;
        font-size: 10px;
    }
    
    .featured-prev {
        left: 5px;
    }
    
    .featured-next {
        right: 5px;
    }
    
    
    .bl-featured-wrapper {
        margin: 5px 0;
    }
    
    .bl-featured-wrapper .homepage-media-container {
        height: 200px; 
        min-height: 200px;
        max-height: 200px;
        border-radius: 0;
    }
    
    
    .article-media-slider-main {
        min-height: 100px;
        max-height: none;
    }
    
    
    .article-media-play-icon {
        width: 50px;
        height: 50px;
    }
    
    .article-media-play-icon i {
        font-size: 18px;
    }
    
    
    .article-title {
        font-size: 16px;
        line-height: 1.2;
        margin: 5px 0;
    }
    
    .article-paragraph {
        font-size: 12px;
        line-height: 1.5;
        margin-top: 0;
        margin-bottom: 35px;
    }
    
    .article-meta {
        font-size: 10px;
        margin: 3px 0;
    }
    
    .article-meta em {
        display: block;
        margin-bottom: 1px;
    }
    
    
    .menu-trigger { display: none !important; }
    
    
    .featured-news,
    .latest-news,
    .popular-articles,
    .related-articles {
        margin: 5px 0;
    }
    
    
    .popular-articles .pa-item {
        margin-bottom: 12px;
        border: 1px solid #e2e8f0;
    }
    
    .popular-articles .pa-item:last-child {
        margin-bottom: 0;
    }
    
    
    .popular-articles .pa-item:hover {
        background: #f8f9fa;
        transform: translateX(5px);
        transition: all 0.3s ease;
        border-radius: 8px;
        padding: 8px;
        margin: -8px -8px 12px -8px;
    }
    
    .popular-articles .pa-item:last-child:hover {
        margin-bottom: -8px;
    }
    
    .featured-news .fn-content,
    .latest-news .ln-content,
    .popular-articles .pa-content,
    .related-articles .ra-content {
        padding: 12px;
    }
    
    .featured-news .fn-inner h4 {
        margin: 0 0 6px;
        font-size: 16px;
        line-height: 1.3;
        font-weight: 400;
        color: #333333;
    }
    
    .latest-news .ln-inner h4,
    .popular-articles .pa-content h4,
    .related-articles .ra-content h4 {
        margin: 2px 0;
        font-size: 12px;
    }
    
    
    .related-articles .ra-content h4 {
        font-size: 12px;
        line-height: 1.4;
        font-weight: 400;
        color: #333333;
    }
    
    .related-articles .ra-content p {
        font-size: 10px;
        line-height: 1.4;
        color: #666666;
    }
    
    .article-content .article-paragraph,
    .article-content p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 0 !important;
        margin-bottom: 26px !important;
        font-weight: 400 !important;
    }
    
    .featured-news .fn-inner p {
        margin-bottom: 6px;
        font-size: 12px;
        line-height: 1.4;
        color: #666666;
    }
    
    .latest-news .ln-inner p,
    .popular-articles .pa-content p,
    .related-articles .ra-content p {
        margin-bottom: 2px;
        font-size: 10px;
    }

    
    .related-articles .ra-thumb { 
        width: 100% !important; 
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }
    .related-articles .ra-thumb img,
    .related-articles .ra-thumb video { 
        width: 100% !important; 
        height: 200px; 
        object-fit: cover !important; 
        display: block; 
        border-radius: 8px 8px 0 0;
        margin: 0;
        padding: 0;
    }
    
    
    .bl-featured-wrapper .bl-featured-big { height: 200px; border-radius: 0; }
    
    .bl-featured-wrapper .bl-featured-big .bl-info {
        padding: 15px;
    }
}


    
@media (max-width: 768px) {
    
    video::-webkit-media-controls {
        display: none !important;
    }
    
    video::-webkit-media-controls-panel {
        display: none !important;
    }
    
    video::-webkit-media-controls-play-button {
        display: none !important;
    }
    
    video::-webkit-media-controls-timeline {
        display: none !important;
    }
    
    video::-webkit-media-controls-current-time-display {
        display: none !important;
    }
    
    video::-webkit-media-controls-time-remaining-display {
        display: none !important;
    }
    
    video::-webkit-media-controls-mute-button {
        display: none !important;
    }
    
    video::-webkit-media-controls-volume-slider {
        display: none !important;
    }
    
    video::-webkit-media-controls-fullscreen-button {
        display: none !important;
    }
    
    
    video[controls] {
        -webkit-appearance: none;
        appearance: none;
    }
    
    
    video {
        object-fit: cover !important;
        background: #000 !important;
        display: block !important;
    }
    
    
    .container .header,
    .wrapper .header,
    div.header,
    .header,
    .container.wrapper .header,
    .container.wrapper > .header,
    header,
    .container header,
    .wrapper header {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        border: none !important;
        background: transparent !important;
    }
    
    header:before,
    .header:before {
        display: none !important;
        content: none !important;
    }
    
    
    header,
    .container header,
    .wrapper header,
    .container.wrapper header {
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
        position: static !important;
    }
}
