/* Stili specifici per la pagina studio */
.content {
    margin-top: 70px;
}

.left {
    width: 50%;
    padding: 50px;
    padding-right: 0;
    padding-left: 60px;
    float: left;
}

.right {
    position: absolute;
    right: 0;
    top: 0;
    width: 50% !important;
    overflow: hidden;
    float: right;
}

article.layout_1_2 {
    width: 50% !important;
}

.right img {
    width: 100%;
    height: 100vh;
    transition: transform 0.1s ease-out;
    object-fit: cover;
}

/* Studio Statistics */
.studio-stats {
    margin-top: 60px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 300px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-bottom-color: var(--text);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: var(--link-not-active);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    font-weight: 300;
}

/* Recent Sections */
.recent-section {
    margin-top: 50px;
    margin-bottom: 30px;
}

.recent-section h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 25px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.year-group {
    margin-bottom: 25px;
}

.year-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.item {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.item::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--link-not-active);
    font-size: 12px;
}

.item:hover {
    padding-left: 20px;
}

.item strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
}

.item .location,
.item .project {
    display: block;
    font-size: 12px;
    color: var(--link-not-active);
    font-weight: 300;
    margin-top: 2px;
}

/* Team List */
.team-list {
    max-width: 350px;
}

.team-member {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    cursor: default;
}

.team-member:hover {
    background: rgba(0, 0, 0, 0.02);
    padding-left: 10px;
    margin-left: -10px;
}

.team-member .name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.2;
    text-transform: lowercase;
}

.team-member .role {
    font-size: 11px;
    color: var(--link-not-active);
    font-weight: 300;
    margin-top: 3px;
    text-transform: lowercase;
}

.more-link {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.more-link a {
    font-size: 12px;
    color: var(--link-not-active);
    text-decoration: none;
    font-style: italic;
    transition: color 0.3s ease;
}

.more-link a:hover {
    color: var(--text);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 30px 30px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.right:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h2 {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.founders {
    margin-bottom: 25px;
}

.founder {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.founder .name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
    text-transform: lowercase;
}

.founder .birth {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.studio-info {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
}

.info-item .label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    text-transform: lowercase;
}

.info-item .value {
    font-weight: 400;
    text-align: right;
    max-width: 60%;
    text-transform: lowercase;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.recent-section {
    animation: fadeInUp 0.6s ease forwards;
}

.recent-section:nth-child(2) {
    animation-delay: 0.1s;
}

.recent-section:nth-child(3) {
    animation-delay: 0.2s;
}

.recent-section:nth-child(4) {
    animation-delay: 0.3s;
}

/* Accessibility improvements */
.stat-item:focus-within,
.team-member:focus-within,
.item:focus-within {
    outline: 2px solid var(--color-primary-1);
    outline-offset: 2px;
}