/* ============================================
   PORTFOLIO WIDGET (Портфолио)
   Строгий корпоративный стиль
   ============================================ */

.portfolio-widget .portfolio-section {
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 28px;
    margin-top: 0;
    margin-bottom: 24px;
    scroll-margin-top: 20px;
}

.portfolio-widget .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.portfolio-widget .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.2;
}

.portfolio-widget .section-link {
    font-size: 12px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.portfolio-widget .section-link:hover {
    color: #4a4a4a;
    text-decoration: none;
}

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

.portfolio-widget .portfolio-item {
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
}

.portfolio-widget .portfolio-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border: 1px solid #d0d0d0;
}

.portfolio-widget .portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.portfolio-widget .portfolio-link:hover {
    opacity: 0.85;
}

.portfolio-widget .portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
