/* Additional Mobile Styles */
@media (max-width: 768px) {
    /* Mobile Navigation */
    nav .container {
        position: relative;
    }
    
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        position: absolute;
        right: 15px;
        top: 0;
        cursor: pointer;
        z-index: 10;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-top: 3rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
    
    nav a {
        display: block;
        padding: 0.75rem;
    }
    
    /* Responsive Cards */
    .website-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rating {
        align-self: flex-start;
    }
    
    /* Responsive Tables */
    table, thead, tbody, th, td, tr {
        display: block;
    }
    
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    tr {
        margin-bottom: 1rem;
        border: 1px solid var(--light-gray-color);
        border-radius: var(--border-radius);
    }
    
    td {
        border: none;
        border-bottom: 1px solid var(--light-gray-color);
        position: relative;
        padding-left: 50%;
    }
    
    td:before {
        position: absolute;
        top: 1rem;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
    }
    
    /* Add data labels for each cell */
    td:nth-of-type(1):before { content: "Time Period"; }
    td:nth-of-type(2):before { content: "Core Content"; }
    td:nth-of-type(3):before { content: "Recommended Resources"; }
}

/* Small Screen Adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card, .website-content {
        padding: 1rem;
    }
    
    .top-recommendations {
        padding: 1rem;
    }
    
    .criteria-item, .strategy-item, .consideration-item {
        padding: 1rem;
    }
    
    .tab-button {
        padding: 0.75rem 1rem;
    }
}

/* Print Optimization */
@media print {
    body {
        font-size: 12pt;
    }
    
    header, footer {
        background-color: white !important;
        color: black !important;
    }
    
    header h1, header p {
        color: black !important;
    }
    
    .website-header {
        background-color: #f0f0f0 !important;
        color: black !important;
    }
    
    .website-header h3 {
        color: black !important;
    }
    
    a {
        text-decoration: none !important;
        color: black !important;
    }
    
    .tab-buttons {
        display: none;
    }
    
    .tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .section {
        page-break-before: always;
    }
    
    #executive-summary {
        page-break-before: avoid;
    }
    
    .website-card, .card {
        page-break-inside: avoid;
    }
}
