/* GUMA — President premium modal visual correction */

.guma-president-modal__panel {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    width: min(1100px, calc(100vw - 48px));
    max-height: min(88vh, 900px);
    overflow: hidden;
}

.guma-president-modal__image {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #f2edf5;
}

.guma-president-modal__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain !important;
    object-position: center center !important;
}

.guma-president-modal__content {
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 4vw, 54px);
}

.guma-president-official-text {
    line-height: 1.8;
}

.guma-president-official-text p {
    margin-bottom: 1.1em;
}

@media (max-width: 760px) {
    .guma-president-modal__panel {
        display: block;
        width: calc(100vw - 24px);
        max-height: 92vh;
        overflow-y: auto;
    }

    .guma-president-modal__image {
        height: 260px;
    }

    .guma-president-modal__image img {
        height: 100%;
        object-fit: contain !important;
    }

    .guma-president-modal__content {
        overflow: visible;
        padding: 26px 22px;
    }
}
