/* ============================================
   LAPTOP.CSS - 1024px - 1279px
   Очищенная версия laptop-fixes.css
   ============================================ */

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 var(--spacing-lg);
    }

    /* Navigation */
    .nav-container {
        padding: 0 var(--spacing-lg);
    }

    .nav-menu {
        gap: var(--spacing-xl);
    }

    /* Hero adjustments */
    .hero-content {
        gap: var(--spacing-xl);
    }

    /* Restore Vertical Cards for Desktop (overrides mobile row style) */
    .links-grid .link-card,
    .social-grid .social-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        padding: 3rem 2rem;
        gap: 1rem;
        /* Restore standard border radius */
        border-radius: 20px !important;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-light);
        background: var(--bg-secondary);
    }

    .social-card {
        max-height: none;
        min-height: auto;
    }

    /* Restore Button Text "Follow" on Desktop */
    .social-link {
        margin-top: auto;
        width: 100%;
        max-width: 120px;
        border-radius: 50px;
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        height: auto;
        background: transparent;
        color: var(--accent-color);
        border: 2px solid var(--accent-color);
        min-width: unset;
        display: inline-block;
    }

    .social-link::after {
        content: "Follow" !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600;
        font-size: 0.85rem;
    }

    .card-icon {
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        margin-bottom: 0.5rem;
        font-size: 3rem;
        border-radius: 0;
    }

    .social-icon {
        width: auto;
        height: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
        font-size: 3rem;
        color: var(--accent-color);
    }

    .link-card-content,
    .social-card-content {
        width: 100%;
        text-align: center;
    }

    /* Hide the mobile chevron */
    .link-card .fa-chevron-right {
        display: none;
    }
}

/* For 1280x800 and similar */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero {
        min-height: calc(100vh - 80px);
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .container {
        max-width: 900px;
    }

    /* About page - промежуточные размеры */
    .about-hero-content {
        grid-template-columns: 0.8fr 1.2fr !important;
    }

    .about-image {
        height: 450px !important;
        max-height: 450px !important;
        margin-top: -2rem !important;
    }

    .about-image .hero-photo {
        height: 450px !important;
    }
}

/* Quick Links & Social Grid adjustments */
@media (min-width: 1024px) and (max-width: 1279px) {
    .links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .links-grid .link-card {
        padding: 2rem 2.5rem;
    }

    .card-icon {
        font-size: 3.5rem;
    }

    .link-card h3 {
        font-size: 1.6rem;
    }

    .quick-links .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .social-integration .container {
        max-width: 100%;
        padding: 0 1rem;
    }

    .social-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .social-card {
        padding: 2rem 3rem;
    }

    .social-card h3 {
        font-size: 1.6rem;
    }

    .social-icon {
        font-size: 3.5rem;
    }
}