﻿.photographer-profile {
    margin-top: 40px;
}

.photographer-profile-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photographer-profile-header {
    display: flex;
    gap: 20px;
    border-radius: var(--radius-xl);
    padding: 50px;
    background: var(--bg-section-darker);
}

.photographer-profile-avatar {
    flex: 0 0 auto;
    width: auto;
    max-width: min(100%, 360px);
    align-self: flex-start;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-section-dark);
}

.photographer-profile-avatar-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
}

.photographer-profile-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.photographer-profile-name {
    font-size: 56px;
    color: var(--text-white);
}

.photographer-profile-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.photographer-profile-meta-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--text-white);
}

.photographer-profile-meta-icon {
    width: 20px;
    filter: brightness(0) invert(1);
}

.photographer-profile-genres {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.photographer-profile-genre {
    font-size: 14px;
    color: var(--color-green);
    border: 1px solid var(--color-green-30);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    background: var(--color-green-10);
    transition: background var(--transition) ease, border-color var(--transition) ease;
}

.photographer-profile-genre:hover {
    background: var(--color-green-20);
    border-color: var(--color-green-60);
}

.photographer-profile-bio {
    font-size: 18px;
}

.contacts-block {
    display: flex;
    gap: 20px;
}

.photographer-profile-contacts {
    margin-bottom: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: var(--radius-xl);
    padding: 40px;
    background: var(--bg-section-darker);
    transition: background var(--transition) ease;
}

.photographer-profile-contact-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.photographer-profile-contact-icon {
    width: 20px;
    filter: brightness(0) invert(1);
    transition: filter var(--transition) ease;
}

.photographer-profile-contact-value {
    font-size: 18px;
    color: var(--text-white);
    transition: color var(--transition) ease;
}

.photographer-profile-contact-value:hover {
    color: var(--color-green);
}

.photographer-profile-socials {
    display: flex;
    gap: 20px;
}

.photographer-profile-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-green-30);
    line-height: 0;
    transition: background var(--transition) ease, border-color var(--transition) ease;
}

.photographer-profile-social img {
    width: 22px;
    height: auto;
    display: block;
}

.photographer-profile-social:hover {
    background: var(--color-green);
    border-color: var(--color-green);
}

.photographer-profile-portfolio {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio-grid {
    width: 100%;
}

.portfolio-item {
    width: calc(25% - 9px);
    margin-bottom: 12px;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .portfolio-item {
        width: calc(50% - 6px);
    }
}

@media (max-width: 560px) {
    .portfolio-item {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .photographer-profile-name { font-size: 44px; }
}

@media (max-width: 1024px) {
    .photographer-profile-header { padding: 36px; }
    .photographer-profile-name { font-size: 38px; }
}

@media (max-width: 960px) {
    .photographer-profile-header { flex-direction: column; }
    .photographer-profile-avatar {
        max-width: 100%;
    }
    .contacts-block { flex-direction: column; }
}

@media (max-width: 768px) {
    .photographer-profile-name { font-size: 32px; }
    .photographer-profile-header { padding: 24px; }
    .photographer-profile-contacts { padding: 24px; }
    .photographer-profile-bio { font-size: 15px; }
}

@media (max-width: 480px) {
    .photographer-profile-name { font-size: 26px; }
    .photographer-profile-genres { flex-wrap: wrap; }
    .photographer-profile-meta { flex-direction: column; gap: 8px; }
}

@media (max-width: 375px) { .photographer-profile-name { font-size: 22px; } }
@media (max-width: 320px) { .photographer-profile-name { font-size: 20px; } }