/* Responsive Design */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }
    
    .site-title {
        font-size: 2.8rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-js {
        height: 400px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .main-nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        z-index: 1000;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        flex: none;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }
    
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .site-title {
        font-size: 2.2rem;
    }
    
    .site-tagline {
        font-size: 1rem;
    }
    
    .video-js {
        height: 300px;
    }
    
    .video-info h3 {
        font-size: 1.2rem;
    }
    
    .video-actions {
        flex-direction: column;
    }
    
    .btn-action,
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .playlist-item {
        flex-direction: column;
    }
    
    .playlist-thumbnail {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .classified-item {
        flex-direction: column;
    }
    
    .classified-item img {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .date-bar .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .video-js {
        height: 250px;
    }
    
    .video-info {
        padding: 10px;
    }
    
    .video-info h3 {
        font-size: 1rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
    
    .breaking-news-ticker {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .ticker-label {
        margin-right: 0;
        width: 100%;
    }
    
    .news-card-content {
        padding: 15px;
    }
    
    .news-card-content h3 {
        font-size: 1.1rem;
    }
    
    .news-card-meta {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .news-card-actions {
        flex-direction: column;
    }
    
    .btn-read,
    .btn-download-small {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .ad-placeholder.vertical-ad {
        min-height: 250px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
}

/* Small mobile devices */
@media (max-width: 400px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .video-js {
        height: 200px;
    }
    
    .playlist-thumbnail {
        height: 120px;
    }
    
    .classified-item img {
        height: 120px;
    }
    
    .classified-actions {
        flex-direction: column;
    }
    
    .btn-call,
    .btn-message {
        width: 100%;
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .nav-actions,
    .video-actions,
    .btn-download,
    .btn-download-small,
    .ad-placeholder,
    .social-links,
    .classified-actions,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .site-title {
        color: #000;
        font-size: 24pt;
        text-align: left;
    }
    
    .content-grid {
        display: block;
    }
    
    .news-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
    }
    
    .news-card-image img {
        max-height: 150px;
    }
}