/* ==========================================
   About Page Styles
   ========================================== */

.about-content {
    max-width: 630px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.about-title {
    font-family: Courier, monospace;
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    align-self: flex-start;
    padding-left: 20px;
    padding-top: 20px;
}

.about-image-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transition: opacity 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.about-image-link:hover {
    opacity: 0.8;
}

.about-image {
    width: 400px;
    height: auto;
    display: block;
    position: relative;
}

.about-image:not(:last-child) {
    margin-bottom: 24px;
}

.about-image-wide {
    width: 800px !important;
    max-width: 800px;
}

.philosophy-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 100%; */
    position: relative;
}

/* Центрируем wrapper от magnifier для изображений в philosophy */
.philosophy-full .magnifier-wrapper {
    margin: 0 auto;
    width: fit-content;
}

.philosophy-full .magnifier-wrapper:not(:last-child) {
    margin-bottom: 24px;
}
/* Адаптивность */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .about-content {
        gap: 30px;
    }

    .about-title {
        padding-left: 40px;
        font-size: 13px;
    }

    .about-image {
        width: 100%;
        max-width: 350px;
    }

    .about-image-wide {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 50px;
    }

    .about-content {
        gap: 25px;
    }

    .about-title {
        padding-left: 20px;
        font-size: 14px;
    }

    .about-image {
        width: 100%;
        max-width: 300px;
    }

    .about-image-wide {
        width: 100%;
        max-width: 100%;
    }
}
