/* ============================================
   SPORTPULSE v2.0 - RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .sp-content-wrapper.sp-has-sidebar {
        grid-template-columns: 1fr 300px;
        gap: 32px;
    }

    .sp-related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .sp-footer-brand { max-width: 100%; }
}

@media (max-width: 1024px) {
    .sp-hero {
        height: 70vh;
        min-height: 500px;
    }

    .sp-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-post-featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .sp-post-featured .sp-card-image {
        aspect-ratio: 16/9;
    }

    .sp-post-featured .sp-card-body {
        padding: 28px;
    }

    .sp-post-featured .sp-card-title {
        font-size: 1.8rem;
    }

    .sp-content-wrapper.sp-has-sidebar {
        grid-template-columns: 1fr;
    }

    .sp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .sp-widget { margin-bottom: 0; }

    .sp-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sp-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-videos-grid {
        grid-template-columns: 1fr;
    }

    .sp-video-featured {
        aspect-ratio: 21/9;
    }

    .sp-newsletter-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sp-top-bar { display: none; }

    .sp-main-nav { display: none; }

    .sp-mobile-toggle { display: flex; }

    .sp-live-indicator { display: none; }

    .sp-header-inner { height: 64px; }

    .sp-hero {
        height: 60vh;
        min-height: 450px;
    }

    .sp-hero-content { padding: 48px 0; }

    .sp-hero-excerpt {
        display: none;
    }

    .sp-hero-controls {
        bottom: 20px;
        right: 16px;
    }

    .sp-posts-grid {
        grid-template-columns: 1fr;
    }

    .sp-section-title {
        font-size: 1.8rem;
    }

    .sp-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .sp-category-card { aspect-ratio: 4/3; }

    .sp-matches-grid {
        grid-template-columns: 1fr;
    }

    .sp-matches-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 0;
    }

    .sp-matches-tab {
        white-space: nowrap;
        padding: 10px 16px;
    }

    .sp-video-featured { aspect-ratio: 16/9; }

    .sp-video-play-btn {
        width: 56px;
        height: 56px;
    }

    .sp-sidebar {
        grid-template-columns: 1fr;
    }

    .sp-newsletter-form {
        flex-direction: column;
    }

    .sp-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .sp-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sp-related-posts-grid {
        grid-template-columns: 1fr;
    }

    .sp-nav-links {
        grid-template-columns: 1fr;
    }

    .sp-social-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .sp-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sp-search-input {
        font-size: 1.8rem;
        padding: 15px 50px 15px 0;
    }

    .sp-post-title {
        font-size: 2rem;
    }

    .sp-error-code {
        font-size: 6rem;
    }
}

@media (max-width: 480px) {
    .sp-hero {
        height: 50vh;
        min-height: 400px;
    }

    .sp-hero-title {
        font-size: 2rem;
    }

    .sp-hero-content {
        padding: 32px 0;
    }

    .sp-section {
        padding: 40px 0;
    }

    .sp-container {
        padding: 0 16px;
    }

    .sp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sp-card-body { padding: 16px; }

    .sp-card-title { font-size: 1.2rem; }

    .sp-post-featured .sp-card-body {
        padding: 20px;
    }

    .sp-post-featured .sp-card-title {
        font-size: 1.5rem;
    }

    .sp-category-card { aspect-ratio: 16/10; }

    .sp-category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .sp-match-card { padding: 20px; }

    .sp-match-team-logo { width: 40px; height: 40px; }

    .sp-match-score { font-size: 1.6rem; }

    .sp-video-item { gap: 12px; }

    .sp-video-thumb {
        width: 110px;
        height: 62px;
    }

    .sp-back-to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        right: 16px;
    }

    .sp-mobile-nav {
        width: 280px;
        right: -280px;
    }

    .sp-pagination a,
    .sp-pagination span {
        min-width: 36px;
        height: 36px;
    }

    .sp-newsletter-form-wrapper {
        padding: 24px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .sp-hero {
        height: 100vh;
        min-height: 350px;
    }

    .sp-hero-excerpt { display: none; }

    .sp-mobile-nav { padding-top: 60px; }
}

/* Print */
@media print {
    .sp-top-bar,
    .sp-header,
    .sp-footer,
    .sp-sidebar,
    .sp-live-ticker,
    .sp-back-to-top,
    .sp-hero-controls,
    .sp-video-play-btn,
    .sp-mobile-toggle,
    .sp-search-toggle,
    .sp-dark-mode-toggle,
    .sp-social-share,
    .sp-pagination,
    .sp-mobile-nav,
    .sp-mobile-overlay,
    .sp-newsletter-section,
    .sp-categories-section,
    .sp-matches-section,
    .sp-videos-section,
    .sp-footer-sponsors,
    .sp-related-posts {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .sp-content-wrapper {
        grid-template-columns: 1fr !important;
    }

    .sp-post-content,
    .sp-page-body {
        color: #000 !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline !important;
    }

    img { max-width: 100% !important; }
}
