:root {
    --Accent-Default: #00B1BA;
    --White: white;
}

* { box-sizing: border-box; }

.opt-header-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.opt-banner {
    width: 100%;
    height: 378px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.opt-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    padding: 20px;
}

.opt-banner-title {
    color: var(--White) !important;
    font-size: 48px;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.opt-theses {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* Делаем по 2 в строку на ПК */
.opt-thesis {
    background: rgba(255, 255, 255, 0.30);
    border-radius: 45px;
    padding: 6px 12px 8px;
    color: var(--White) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap; /* Запрещаем перенос текста внутри плашки */
    flex: 0 1 auto; /* Плашка занимает ровно столько места, сколько нужно тексту */
}

.opt-banner-btn {
    background: var(--Accent-Default);
    color: var(--White);
    border: none;
    border-radius: 8px;
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.opt-banner-btn:hover {
    background: #00969d;
}

/* АДАПТИВНОСТЬ (МОБИЛКИ) */
@media (max-width: 768px) {
    .opt-banner {
        height: 320px;
    }
    .opt-banner-title {
        font-size: 28px;
    }
    /* На мобилке тезисы по 1 в строку */
    .opt-thesis {
        flex: 0 1 100%;
    }
}