body { font-family: system-ui, sans-serif; }

.container { max-width: 1280px; }

@media (max-width: 768px) { body { padding-bottom: 100px; } }



.beyan-modal { display: none !important; }

.beyan-modal.is-open {

    display: flex !important;

    position: fixed;

    inset: 0;

    z-index: 9999;

    align-items: center;

    justify-content: center;

    padding: 24px;

}

.beyan-modal__backdrop {

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.62);

}

.beyan-modal__dialog {

    position: relative;

    z-index: 1;

    width: min(560px, 100%);

    max-height: min(82vh, 720px);

    display: flex;

    flex-direction: column;

    background: #fff;

    border: 3px double #1d4ed8;

    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);

    border-radius: 8px;

    overflow: hidden;

}

.beyan-modal__head {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 16px;

    padding: 18px 20px;

    border-bottom: 2px solid #dbeafe;

    background: #eff6ff;

}

.beyan-modal__head h2 {

    font-size: 1.05rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

    line-height: 1.35;

    font-weight: 700;

    color: #1e3a8a;

    margin: 0;

}

.beyan-modal__close {

    flex: 0 0 auto;

    width: 36px;

    height: 36px;

    border: 1px solid #93c5fd;

    background: #fff;

    font-size: 1.5rem;

    line-height: 1;

    cursor: pointer;

    color: #1e3a8a;

    border-radius: 4px;

}

.beyan-modal__close:hover {

    background: #1d4ed8;

    color: #fff;

}

.beyan-modal__body {

    padding: 20px;

    overflow: auto;

    font-size: 0.95rem;

    line-height: 1.7;

    color: #222;

}

.beyan-lead {

    margin-bottom: 14px;

    padding: 12px 14px;

    border-left: 4px solid #1d4ed8;

    background: #eff6ff;

}

.beyan-list {

    margin: 0 0 14px 18px;

    padding: 0;

}

.beyan-list li { margin-bottom: 8px; }

.beyan-modal__foot {

    padding: 16px 20px 20px;

    border-top: 2px solid #dbeafe;

    background: #eff6ff;

    text-align: center;

}

.beyan-modal__btn {

    display: inline-block;

    padding: 12px 28px;

    border: 2px solid #1d4ed8;

    background: #1d4ed8;

    color: #fff;

    font: inherit;

    font-size: 0.95rem;

    font-weight: 700;

    letter-spacing: 0.04em;

    cursor: pointer;

    text-transform: uppercase;

    border-radius: 6px;

}

.beyan-modal__btn:hover {

    background: #fff;

    color: #1d4ed8;

}

body.beyan-modal-open { overflow: hidden; }

@media (max-width: 820px) {

    .beyan-modal { display: none !important; }

}

