.section-1 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    min-height: 100vh;
    width: 100%;
    padding: 140px 16px 0px 16px;

    background-color: #f9fbf3;
    background-image: url("/img/levelek.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
}

/* 1. blokk – üvegkártya */
.tudastar-section-1 {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 4px 25px 0 rgba(0, 0, 0, 0.13);
    backdrop-filter: blur(12.1px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 960px; /* ne legyen túl széles nagyobb monitoron */
    margin: 0 auto;
    padding: 32px 32px 40px;

    gap: 20px;
}

/* 2. blokk alatta */
.tudastar-section-2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    max-width: 960px;
    margin: 32px auto 0;
    padding: 24px 32px 32px;

    text-align: center;
}

/* cím + szöveg középre rendezve */
.tudastar-title-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.tudastar-title h2 {
    margin: 0;
}

.tudastar-title {
    line-height: 1.15;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* FLUID tipók */
.bold-primary,
.bold-secondary {
    text-transform: uppercase;
    font-weight: 600;
    font-size: clamp(
        32px,
        4vw,
        64px
    ); /* mobilon kisebb, nagy kijelzőn nagyobb */
}

.bold-primary {
    color: #083428;
}
.bold-secondary {
    color: #ef7417;
}

.orange {
    color: #ef7417;
}

.section-1-text {
    align-self: stretch;
    color: #000;
    text-align: center;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(18px, 2.2vw, 28px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

/* gombok */
.tudastar-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap; /* ha nem fér ki, tördje új sorba */
}

.tudastar-button-primary,
.tudastar-button-secondary {
    border-radius: 58px;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;

    width: 100%;
    max-width: 534px;
    display: block; /* NEM flex */
    text-align: center; /* több sor is szépen középre kerül */
    margin-inline: auto; /* szépen középre igazítja a gombot */
}

.tudastar-button-primary {
    background: #ef7417;
    color: #ffffff;
}
.tudastar-button-primary:hover {
    background: #d65c0f;
}
.tudastar-button-secondary {
    border: 1px solid rgba(0, 0, 0, 0.29);
    background: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(13.05px);
}
.tudastar-button-secondary:hover {
    background: #dddbdb;
}

/* ===== Reszponzív finomhangolás ===== */

/* tablet / kisebb desktop */
@media (max-width: 992px) {
    .section-1 {
        padding-top: 120px;
        background-size: cover; /* magasabb kijelzőknél szebben tölti ki */
        min-height: 65vh;
    }

    .tudastar-section-1,
    .tudastar-section-2 {
        padding-inline: 20px;
    }
}

/* mobil */
@media (max-width: 600px) {
    .section-1 {
        padding-top: 100px;
        padding-inline: 16px;
    }

    .tudastar-section-1,
    .tudastar-section-2 {
        padding: 20px 18px 24px;
        margin-top: 12px;
    }

    .tudastar-button-wrapper {
        flex-direction: column; /* gombok egymás alá */
        align-items: stretch;
    }

    .tudastar-button-primary,
    .tudastar-button-secondary {
        max-width: none;
        width: 100%;
    }
}
