.doctor-page {
    padding: 32px 0 80px;
    background: var(--site-body-bg, #ffffff);
}

.doctor-page__container {
    width: 100%;
    max-width: var(--header-container, 1320px);
    margin: 0 auto;
    padding: 0 24px;
}

.doctor-page__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--header-text-muted, #8f8f8f);
}

.doctor-page__breadcrumb a {
    color: var(--header-accent, #4a8c88);
    text-decoration: none;
}

.doctor-page__breadcrumb a:hover {
    color: var(--header-accent-dark, #3d7572);
    text-decoration: underline;
}

.doctor-page__hero {
    margin-bottom: 48px;
}

.doctor-block {
    margin-bottom: 56px;
}

.doctor-block__title {
    margin: 0 0 28px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--site-body-text, #333333);
}

.doctor-education__timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 28px;
    border-left: 2px solid rgba(74, 140, 136, 0.28);
}

.doctor-education__item {
    position: relative;
    padding: 0 0 28px 24px;
}

.doctor-education__item:last-child {
    padding-bottom: 0;
}

.doctor-education__marker {
    position: absolute;
    left: -35px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--header-accent, #4a8c88);
    box-shadow: 0 0 0 4px rgba(74, 140, 136, 0.15);
}

.doctor-education__period {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--header-accent, #4a8c88);
}

.doctor-education__item-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--site-body-text, #333333);
}

.doctor-education__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--header-text-muted, #8f8f8f);
}

.doctor-skills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.doctor-skills__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(160deg, #f8fcfb 0%, #ffffff 55%);
    border: 1px solid rgba(74, 140, 136, 0.14);
    font-size: 15px;
    line-height: 1.4;
    color: var(--site-body-text, #333333);
}

.doctor-skills__check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(74, 140, 136, 0.12);
    color: var(--header-accent, #4a8c88);
}

.doctor-specialization__full {
    font-size: 15px;
    line-height: 1.65;
    color: var(--site-body-text, #333333);
}

.doctor-reviews__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.doctor-reviews__add-btn {
    min-height: 44px;
    padding: 0 24px;
    border: none;
    border-radius: var(--header-radius-pill, 999px);
    background: var(--header-accent, #4a8c88);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.doctor-reviews__add-btn:hover {
    background: var(--header-accent-dark, #3d7572);
    color: #ffffff;
    transform: translateY(-1px);
}

.doctor-reviews__notice {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(74, 140, 136, 0.1);
    border: 1px solid rgba(74, 140, 136, 0.18);
    color: var(--header-accent-dark, #3d7572);
}

.doctor-reviews__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctor-review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(160deg, #f8fcfb 0%, #ffffff 55%);
    border: 1px solid rgba(74, 140, 136, 0.14);
}

.doctor-review-card__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.doctor-review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.doctor-review-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.doctor-review-card__avatar--placeholder {
    background: linear-gradient(
        135deg,
        rgba(74, 140, 136, 0.2) 0%,
        rgba(74, 140, 136, 0.4) 100%
    );
}

.doctor-review-card__name {
    display: block;
    font-size: 16px;
    color: var(--site-body-text, #333333);
}

.doctor-review-card__source {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--header-accent, #4a8c88);
    text-decoration: none;
}

.doctor-review-card__source:hover {
    color: var(--header-accent-dark, #3d7572);
}

.doctor-review-card__date {
    align-self: flex-end;
    font-size: 13px;
    color: var(--header-text-muted, #8f8f8f);
}

.doctor-review-card__text {
    margin: 0;
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--site-body-text, #333333);
}

.doctor-review-card__response {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(74, 140, 136, 0.12);
}

.doctor-review-card__response strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--header-accent, #4a8c88);
}

.doctor-review-card__response p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--header-text-muted, #8f8f8f);
}

.doctor-reviews__empty {
    color: var(--header-text-muted, #8f8f8f);
}

.doctor-review-form .application-form__input,
.doctor-review-form .doctor-review-form__input {
    width: 100%;
}

@media (max-width: 900px) {
    .doctor-skills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doctor-reviews__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .doctor-skills {
        grid-template-columns: 1fr;
    }

    .doctor-reviews__list {
        grid-template-columns: 1fr;
    }

    .doctor-reviews__header {
        flex-direction: column;
        align-items: stretch;
    }

    .doctor-reviews__add-btn {
        width: 100%;
    }
}
