/* =====================================================
   ОБО МНЕ
   ===================================================== */

.about-section {
    padding: 55px 30px 60px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(204, 164, 68, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8f5f7 0%,
            #f2edf1 100%
        );
}


.about-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =====================================================
   ДВЕ ОСНОВНЫЕ КАРТОЧКИ
   ===================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

    align-items: stretch;
}


.about-card {
    position: relative;

    box-sizing: border-box;

    min-height: 570px;

    border: 1px solid rgba(92, 26, 79, 0.08);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(250, 246, 249, 0.96)
        );

    box-shadow:
        0 14px 35px rgba(49, 27, 44, 0.10);

    overflow: hidden;
}


/* =====================================================
   ОБЩИЕ ТЕКСТЫ
   ===================================================== */

.about-kicker {
    display: block;

    margin-bottom: 7px;

    color: #cca444;

    font-family: Arial, sans-serif;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


.about-title {
    margin: 0 0 14px;

    color: #5c1a4f;

    font-family: Arial, sans-serif;

    font-size: 27px;
    line-height: 1.18;
    font-weight: 700;
}


.about-text {
    margin: 0;

    color: #4f4650;

    font-family: Arial, sans-serif;

    font-size: 15px;
    line-height: 1.6;
}


/* =====================================================
   ЛЕВАЯ КАРТОЧКА
   ФОТО СЛЕВА + ТЕКСТ СПРАВА
   ===================================================== */

.about-person {
    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 25px;

    padding: 28px;

    align-items: stretch;
}


/* =====================================================
   ФОТО
   ===================================================== */

.about-person-photo {
    width: 220px;
    height: 100%;

    min-height: 480px;

    margin: 0;

    border-radius: 13px;

    overflow: hidden;

    background: #eee8ed;

    box-shadow:
        0 7px 18px rgba(49, 27, 44, 0.12);
}


.about-person-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================================
   КОНТЕНТ СПРАВА ОТ ФОТО
   ===================================================== */

.about-person-content {
    display: flex;

    flex-direction: column;

    min-width: 0;

    height: 100%;
}


/* =====================================================
   КОНТАКТЫ
   ===================================================== */

.about-contacts {
    display: grid;

    grid-template-columns: 1fr;

    gap: 8px;

    margin-top: auto;

    padding-top: 22px;
}


.about-contact {
    display: flex;

    align-items: center;

    min-height: 38px;

    padding: 6px 9px;

    box-sizing: border-box;

    border-radius: 8px;

    background:
        rgba(92, 26, 79, 0.045);

    color: #5c1a4f;

    font-family: Arial, sans-serif;

    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.about-contact:hover {
    background:
        rgba(92, 26, 79, 0.09);

    transform: translateY(-1px);

    box-shadow:
        0 4px 10px rgba(49, 27, 44, 0.07);
}


.about-contact-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    margin-right: 8px;

    border-radius: 7px;

    background: #5c1a4f;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}


/* =====================================================
   ПРАВАЯ КАРТОЧКА
   КНИГИ
   ===================================================== */

.about-books {
    display: flex;

    flex-direction: column;

    padding: 28px;
}


.about-books-heading {
    margin-bottom: 20px;
}


/* =====================================================
   СПИСОК КНИГ
   ===================================================== */

.about-books-list {
    display: flex;

    flex-direction: column;

    gap: 17px;

    flex: 1;
}


.about-book {
    display: flex;

    min-height: 155px;

    padding: 12px;

    box-sizing: border-box;

    border: 1px solid rgba(92, 26, 79, 0.06);

    border-radius: 12px;

    background:
        rgba(92, 26, 79, 0.035);
}


/* =====================================================
   ОБЛОЖКА КНИГИ
   ===================================================== */

.about-book-cover {
    flex: 0 0 104px;

    width: 104px;
    height: 145px;

    margin-right: 17px;

    border-radius: 7px;

    overflow: hidden;

    background: #eee8ed;

    box-shadow:
        0 5px 14px rgba(49, 27, 44, 0.12);
}


.about-book-cover img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =====================================================
   ИНФОРМАЦИЯ О КНИГЕ
   ===================================================== */

.about-book-info {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.about-book-info h3 {
    margin: 3px 0 7px;

    color: #5c1a4f;

    font-family: Arial, sans-serif;

    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;
}


.about-book-info p {
    margin: 0;

    color: #625963;

    font-family: Arial, sans-serif;

    font-size: 12px;
    line-height: 1.45;
}


/* =====================================================
   ЛОГОТИПЫ ЛИТРЕС / RIDERO
   ===================================================== */

.about-book-links {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: auto;

    padding-top: 10px;
}


.about-publisher {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 62px;
    height: 28px;

    padding: 4px 7px;

    box-sizing: border-box;

    border-radius: 6px;

    background: #ffffff;

    box-shadow:
        0 3px 9px rgba(49, 27, 44, 0.08);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.about-publisher:hover {
    transform: translateY(-1px);

    box-shadow:
        0 5px 12px rgba(49, 27, 44, 0.13);
}


.about-publisher img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 20px;
}


/* =====================================================
   БЛОК ПРО ПЕРЕИЗДАНИЕ
   ===================================================== */

.about-book-note {
    display: flex;

    flex-direction: column;

    gap: 3px;

    margin-top: 18px;

    padding: 13px 15px;

    border-left: 3px solid #cca444;

    border-radius: 7px;

    background:
        rgba(204, 164, 68, 0.08);

    color: #554b52;

    font-family: Arial, sans-serif;

    font-size: 12px;
    line-height: 1.45;
}


.about-book-note strong {
    color: #5c1a4f;

    font-size: 13px;
}


/* =====================================================
   ПЛАНШЕТ
   ===================================================== */

@media (max-width: 1000px) {

    .about-person {
        grid-template-columns: 180px 1fr;

        gap: 20px;

        padding: 22px;
    }


    .about-person-photo {
        width: 180px;

        min-height: 480px;
    }


    .about-card {
        min-height: 550px;
    }


    .about-title {
        font-size: 24px;
    }


    .about-text {
        font-size: 14px;
    }

}


/* =====================================================
   ПЛАНШЕТ / МАЛЕНЬКИЙ НОУТБУК
   ===================================================== */

@media (max-width: 850px) {

    .about-grid {
        grid-template-columns: 1fr;
    }


    .about-card {
        min-height: auto;
    }


    .about-person {
        grid-template-columns: 220px 1fr;

        min-height: 500px;
    }


    .about-person-photo {
        width: 220px;

        min-height: 440px;
    }

}


/* =====================================================
   МОБИЛЬНЫЕ
   ===================================================== */

@media (max-width: 600px) {

    .about-section {
        padding: 40px 18px 45px;
    }


    .about-card {
        border-radius: 14px;
    }


    /* Левая карточка */

    .about-person {
        display: flex;

        flex-direction: column;

        gap: 20px;

        padding: 20px;

        min-height: auto;
    }


    .about-person-photo {
        width: 100%;
        height: 300px;

        min-height: 0;

        margin: 0;

        border-radius: 12px;
    }


    .about-person-content {
        height: auto;
    }


    /* Заголовки */

    .about-title {
        font-size: 23px;
    }


    .about-text {
        font-size: 14px;

        line-height: 1.55;
    }


    /* Контакты */

    .about-contacts {
        grid-template-columns: 1fr;

        margin-top: 20px;

        padding-top: 0;
    }


    .about-contact {
        min-height: 40px;

        font-size: 12px;
    }


    /* Книги */

    .about-books {
        padding: 20px;
    }


    .about-book {
        padding: 9px;
    }


    .about-book-cover {
        flex: 0 0 86px;

        width: 86px;
        height: 120px;

        margin-right: 12px;
    }


    .about-book-info h3 {
        margin-top: 2px;

        font-size: 15px;
    }


    .about-book-info p {
        font-size: 11px;
    }


    .about-publisher {
        width: 58px;
        height: 27px;
    }


    .about-book-note {
        margin-top: 15px;

        padding: 11px 12px;

        font-size: 11px;
    }


    .about-book-note strong {
        font-size: 12px;
    }

}