#m-about.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.75); 
    backdrop-filter: blur(8px);
}

.modal-about-content {
    position: relative; 
    border: 2px solid #b30000;
    border-radius: 12px;
    background: #080808;
    width: min(95vw, 1300px); /* Åäèíûé ðàçìåð */
    height: min(80vh, 700px); 
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.modal-about-content .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 50;
    background: #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.modal-about-content .close-btn:hover {
    color: #ff0000;
}

.about-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.about-image-side {
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: #111;
    overflow: hidden;
}
.about-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85); 
}

.about-text-side {
    flex: 1;
    padding: 50px 40px;
    overflow-y: auto;
    background: #050505;
    scrollbar-width: thin; 
    scrollbar-color: #b30000 #111;
}

.about-text-side::-webkit-scrollbar { width: 6px; }
.about-text-side::-webkit-scrollbar-track { background: #111; }
.about-text-side::-webkit-scrollbar-thumb { background: #b30000; border-radius: 3px; }

#about-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* ÓÂÅËÈ×ÅÍÎ Â 2 ÐÀÇÀ: Îñíîâíîé òåêñò 30px */
.about-text-side p { 
    color: #b8b8b8; 
    font-size: 30px; 
    line-height: 1.5; 
    margin: 0 0 35px 0; 
}

/* ÓÂÅËÈ×ÅÍÎ Â 2 ÐÀÇÀ: Çàãîëîâêè 32px */
.about-text-side h3 { 
    color: #ff3333; 
    font-size: 32px; 
    font-weight: bold; 
    letter-spacing: 2px; 
    margin: 30px 0 25px 0; 
    text-transform: uppercase;
}

.about-text-side strong { color: #ffffff; }
.about-text-side em { color: #888; font-style: italic; }

.about-loading { 
    color: #555; 
    font-size: 32px; 
    letter-spacing: 3px; 
    padding: 60px; 
}

@media (max-width: 900px) {
    .about-layout { flex-direction: column; }
    .about-image-side { flex: none; height: 40%; border-right: none; border-bottom: 1px solid rgba(255,0,0,0.3); }
    .about-text-side { height: 60%; padding: 30px 20px; }
    .about-text-side p { font-size: 20px; }
    .about-text-side h3 { font-size: 22px; }
}