﻿
/*=========DESKTOP============ */

/* BENDRI MYGTUKAI */
.btn-primary {
    display: inline-block;
    background-color: #0071eb;
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background-color: #005bbd;
}


/*---------------------------- BLOKAS: TOP Departure ---------------------------------*/

.block-departure {
    display: flex;
    flex-direction: column; /* vienas stulpelis */
    align-items: center;    /* centruoja VISĄ turinį horizontaliai */
    justify-content: center;
    text-align: center;     /* centruoja tekstą viduje */
    gap: 40px;
    padding: 60px 40px 20px 40px;
    background-color: #E6ECF2;
}

.block-departure-text {
    display: flex;
    flex-direction: column;
    align-items: center;    /* centruoja H3 ir p kaip grupę */
    text-align: center;
    gap: 10px;
}

.block-departure-text h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0px;
    align-items: center;    /* centruojam horizontaliai */
}

.block-departure-text p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    margin-bottom: 30px;
    align-items: center;    /* centruojam horizontaliai */
}



/*---------------------------- BLOKAS: TOP 2 ---------------------------------*/

.block-practical {
    padding: 60px 40px 20px 130px;
    background-color: #E6ECF2;
    display: block;
}

.block-practical-text {
    width: 80%;
    text-align: left;
}

.block-practical-text h1 {
    text-align: left;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 0px;
    margin-top:80px;
}

.block-practical-text p {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    margin-bottom: 30px;
	width: 100%;
}




/*------------------------------------ BLOKAS 2-stulpeliai-------------------------------- */
.block-two {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    padding: 20px 40px;
}

.block-two-image img {
    width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.block-two-text {
    max-width: 520px;
}

.block-two-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.block-two-text p {
    font-size: 18px;
    line-height: 1;
    margin-bottom: 30px;
}



/*----------------------------------------- BLOKAS 1-stulpelis------------------------- */

.block-one {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0px 40px;
    margin-bottom: 30px;
}

.block-one-text {
    width: auto;
}

.block-one-text h2 {
    font-size: 24px;
    font-weight: 700;
}

.block-one-text p {
    font-size: 18px;
}

.block-one-image img {
    width: 520px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/*============MOBILE CSS (≤ 768px)==================== */



@media (max-width: 768px) {

/*---------------------------- BLOKAS: TOP ---------------------------------*/


.block-practical { padding: 60px 20px 20px 20px;}
.block-practical-text {width:100%;}
.block-practical-text h1 {font-size: 30px;}
.block-practical-text p {font-size: 16px;}
.back-link {padding: 20px 0px;}


/*----------------------------------------- BLOKAS 1-stulpelis------------------------- */
    .block-one {
        flex-direction: column;
        text-align: center;
        padding: 20px 20px 20px 20px;
        gap: 24px;
    }

    .block-one-text {
        max-width: 100%;
        order: 1;
    }

    .block-one-image {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .block-one-image img {
        width: 100%;
        max-width: 420px;
        border-radius: 8px;
    }


/*----------------------------------------- BLOKAS 2-stulpeliai------------------------- */
    .block-two {
        flex-direction: column;
        text-align: center;
        padding: 0px 20px 0px 20px;
        gap: 20px;
    	margin-bottom:10px;
    }

    .block-two-text,
    .block-two-image {
        max-width: 100%;
    	margin-bottom:10px;
    }
    
.block-two-text p {
    margin-bottom: 0px;
}

    .block-two-image img {
        width: 100%;
        max-width: 420px;
        border-radius: 8px;
    }





