/* ============================================
   PORTFOLIO WIDGET - RESPONSIVE STYLES
   Адаптация для планшетов и мобильных устройств
   ============================================ */

/* Планшеты (768px - 1024px) */
@media (max-width: 1024px) {
    .portfolio-widget .portfolio-section {
        padding: 24px;
    }

    .portfolio-widget .section-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }

    .portfolio-widget .section-title {
        font-size: 14px;
    }

    .portfolio-widget .section-link {
        font-size: 11px;
    }

    .portfolio-widget .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .portfolio-widget .portfolio-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .portfolio-widget .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .portfolio-widget .section-title {
        font-size: 14px;
    }

    .portfolio-widget .section-link {
        font-size: 10px;
        align-self: flex-end;
    }

    .portfolio-widget .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .portfolio-widget .portfolio-section {
        padding: 16px;
    }

    .portfolio-widget .section-header {
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .portfolio-widget .section-title {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .portfolio-widget .section-link {
        font-size: 9px;
    }

    .portfolio-widget .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
}
