/* =========================================================
   RÓLUNK - külön CSS
   Nem módosítja a meglévő main.css szabályait.
   ========================================================= */

#rolunk.rolunk-section {
    position: relative;
    padding: 120px 20px 110px;
    background: #f7f7f7;
    overflow: hidden;
}

/* Finom háttérmintázat */
#rolunk.rolunk-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.025);
    top: -250px;
    right: -180px;
    pointer-events: none;
}

#rolunk.rolunk-section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
    bottom: -220px;
    left: -180px;
    pointer-events: none;
}


/* Fejléc */

.rolunk-header {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.rolunk-header .tit2 {
    display: block;
    margin-bottom: 5px;
}

.rolunk-header .tit3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.rolunk-divider {
    width: 55px;
    height: 3px;
    margin: 0 auto 25px;
    background: currentColor;
    opacity: 0.7;
}

.rolunk-intro {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}


/* Tartalom */

.rolunk-content {
    position: relative;
    z-index: 1;

    max-width: 1100px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* Kártyák */

.rolunk-card {
    display: flex;
    align-items: flex-start;

    background: #ffffff;

    padding: 32px;

    border-radius: 8px;

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.06);

    border: 1px solid rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.rolunk-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.10);
}


/* Széles kártya */

.rolunk-card-wide {
    grid-column: span 2;
}


/* Ikon */

.rolunk-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    margin-right: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2f2f2;

    font-size: 20px;
}


/* Szöveg */

.rolunk-card-content {
    flex: 1;
}

.rolunk-card h4 {
    margin: 0 0 14px;

    font-size: 21px;
    line-height: 1.3;

    font-weight: 600;
}

.rolunk-card p {
    margin: 0 0 15px;

    font-size: 16px;
    line-height: 1.85;

    color: #666;

    text-align: justify;
}

.rolunk-card p:last-child {
    margin-bottom: 0;
}


/* Idézet a végén */

.rolunk-quote {
    display: flex;
    align-items: flex-start;

    margin-top: 25px;
    padding: 20px 22px;

    border-left: 3px solid currentColor;

    background: rgba(0, 0, 0, 0.025);

    font-size: 17px;
    line-height: 1.7;

    color: #555;
}

.rolunk-quote i {
    margin-right: 12px;
    margin-top: 4px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    #rolunk.rolunk-section {
        padding: 100px 20px 90px;
    }

    .rolunk-content {
        grid-template-columns: 1fr;
    }

    .rolunk-card-wide {
        grid-column: span 1;
    }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 575px) {

    #rolunk.rolunk-section {
        padding: 80px 15px 70px;
    }

    .rolunk-header {
        margin-bottom: 40px;
    }

    .rolunk-intro {
        font-size: 16px;
        line-height: 1.7;
    }

    .rolunk-content {
        gap: 16px;
    }

    .rolunk-card {
        padding: 23px 20px;
        display: block;
    }

    .rolunk-icon {
        margin: 0 0 18px;
    }

    .rolunk-card h4 {
        font-size: 19px;
    }

    .rolunk-card p {
        font-size: 15px;
        line-height: 1.75;
        text-align: left;
    }

    .rolunk-quote {
        font-size: 15px;
        padding: 16px;
    }

}