/* ==========================================================================
   PERSON CARDS & EXPERTS LIST – reusable components
   Based on Figma: https://www.figma.com/design/FvIP5e0NS2htfkAFUHHxCF
   ========================================================================== */

/* ----- Grid layout ----- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

/* ----- Card container ----- */
.person-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* ----- Image wrapper ----- */
.person-card__image {
    width: 200px;
    height: 260px;
    object-fit: cover;
    display: block;
    background: #D9D9D9;
    flex-shrink: 0;
}

.person-card__image--placeholder {
    background: #D9D9D9;
}

/* ----- Text content ----- */
.person-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.person-card__name {
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #000000;
    line-height: 1.2;
}

.person-card__specialty {
    font-weight: 400;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: #000000;
    line-height: 1.5;
}

/* ----- Empty state ----- */
.team-grid-empty {
    color: #666;
    font-size: 1rem;
    padding: 20px 0;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .person-card {
        flex-direction: column;
        gap: 16px;
    }

    .person-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 326 / 420;
    }

    .person-card__name {
        font-size: 1.5rem;
    }

    .person-card__specialty {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   EXPERTS LIST – accordion-style list for Alternative Wave Team & Experts
   ========================================================================== */
.experts-list {
    margin-top: 30px;
}

.expert-item {
    border: 1px solid #000;
    border-bottom: none;
    background: #fff;
    cursor: pointer;
}

.expert-item:last-child {
    border-bottom: 1px solid #000;
}

.expert-item__row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
}

.expert-item__avatar {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #D9D9D9;
}

.expert-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expert-item__avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

.expert-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.expert-item__name {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000;
}

.expert-item__specialty {
    font-weight: 400;
    font-size: 1rem;
    color: #000;
}

.expert-item__arrow {
    flex-shrink: 0;
    color: #000;
    transition: transform 0.3s ease;
}

.expert-item.is-open .expert-item__arrow {
    transform: rotate(180deg);
}

/* ----- Expanded details panel ----- */
.expert-item__details {
    display: none;
    padding: 0 24px 24px;
    background: #F7F7F7;
}

.expert-item.is-open .expert-item__details {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.expert-item__details-image {
    width: 280px;
    height: 382px;
    background: #D9D9D9;
    flex-shrink: 0;
    overflow: hidden;
}

.expert-item__details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expert-item__details-placeholder {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

.expert-item__details-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}

.expert-item__details-name {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000;
}

.expert-item__details-bio {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

.experts-list-empty {
    color: #666;
    font-size: 1rem;
    padding: 20px 0;
}

/* ==========================================================================
   PRESS RELEASES LIST – list layout with expandable details
   ========================================================================== */
.press-releases-list {
    margin-top: 30px;
}

.press-release-item {
    border: 1px solid #000;
    border-bottom: none;
    background: #fff;
}

.press-release-item:last-child {
    border-bottom: 1px solid #000;
}

.press-release-item__row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.press-release-item__image {
    width: 313px;
    height: 251px;
    background: #D9D9D9;
    flex-shrink: 0;
    overflow: hidden;
}

.press-release-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.press-release-item__image-placeholder {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

.press-release-item__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.press-release-item__title {
    font-weight: 400;
    font-size: 1.25rem;
    color: #000;
    line-height: 1.3;
}

.press-release-item__date {
    font-weight: 400;
    font-size: 0.85rem;
    color: #000;
}

.press-release-item__excerpt {
    font-weight: 400;
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-release-item__arrow {
    flex-shrink: 0;
    color: #000;
}

.press-release-item__details {
    display: none;
    padding: 0 24px 24px;
    background: #fff;
}

.press-release-item.is-open .press-release-item__details {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
}

.press-release-item__details-image {
    width: 427px;
    height: 284px;
    background: #D9D9D9;
    flex-shrink: 0;
    overflow: hidden;
}

.press-release-item__details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.press-release-item__details-placeholder {
    width: 100%;
    height: 100%;
    background: #D9D9D9;
}

.press-release-item__details-content {
    flex: 1;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

.press-releases-empty {
    color: #666;
    font-size: 1rem;
    padding: 20px 0;
}

/* ----- Responsive ----- */
@media (max-width: 640px) {
    .expert-item__row {
        gap: 16px;
        padding: 16px;
    }

    .expert-item__avatar {
        width: 80px;
        height: 80px;
    }

    .expert-item__name {
        font-size: 1rem;
    }

    .expert-item__specialty {
        font-size: 0.9rem;
    }

    .expert-item__details {
        padding: 0 16px 16px;
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
    }

    .expert-item__details-image {
        width: 140px;
        height: auto;
        aspect-ratio: 280 / 382;
        flex-shrink: 0;
    }

    .expert-item__details-content {
        padding-top: 0;
    }
}
