/* =========================================
   TRAINING INTRO + GALLERY
========================================= */

.training-intro-gallery {
    width: 100%;
    padding-top: 60px;

    padding-bottom: 80px;
    box-sizing: border-box;
    background: #ffffff;
}


/* =========================================
   CONTAINER
========================================= */




/* =========================================
   TOP INTRO
   3 columns: title | subtitle+description | social icons
========================================= */

.training-intro-gallery__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    column-gap: 45px;
    align-items: start;
}


/* =========================================
   TITLE
========================================= */

.training-intro-gallery__title {
    margin: 0;
    line-height: 1.05;
    font-weight: 700;
    max-width: 602px;
    color: #000;
}


/* =========================================
   RIGHT TEXT
========================================= */

.training-intro-gallery__text {
    padding-top: 2px;
}


.training-intro-gallery__subtitle {
    margin: 0 0 20px;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;

    color: #515151;
}


.training-intro-gallery__description {
    margin: 0;
    line-height: 1.55;
    font-weight: 400;

    color: #515151;
}


/* =========================================
   SOCIAL ICONS
   NOTE: I don't have your markup for this
   block, so I'm assuming something like:

   <div class="training-intro-gallery__social">
       <a href="..." class="training-intro-gallery__social-link">
           <svg>...</svg>
       </a>
       ... (LinkedIn, YouTube, etc.)
   </div>

   as the 3rd child of .training-intro-gallery__intro.
   Send over the real HTML if the class names differ
   and I'll match it exactly.
========================================= */

.training-intro-gallery__social {
    display: flex;
    flex-direction: column;
    gap: 10px;

    justify-self: end;
}


.training-intro-gallery__social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    background: #0c6aa5;
    border-radius: 8px;

    color: #ffffff;
    text-decoration: none;

    transition: background 0.2s ease;
}


.training-intro-gallery__social-link:hover {
    background: #094f7c;
}


.training-intro-gallery__social-link svg {
    width: 18px;
    height: 18px;
}


/* =========================================
   GALLERY
   First column wider (big landscape shot),
   other two equal (portrait shots).
========================================= */

.training-intro-gallery__gallery {
    display: grid;

    grid-template-columns: 1.8fr 1fr 1fr;

    gap: 18px;

    align-items: stretch;
    margin-top: 45px;
}


/* =========================================
   IMAGE ITEM
========================================= */

.training-intro-gallery__item {
    width: 100%;
    height: 380px;

    overflow: hidden;

    border-radius: 10px;

    background: #f3f3f3;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   IMAGE
   object-fit: cover fills the box completely
   and crops whatever overhangs.
========================================= */

.training-intro-gallery__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: none;
}

/* =========================================
   EMPTY
========================================= */

.training-intro-gallery__empty {
    margin: 0;


    color: #555;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .training-intro-gallery {
        padding-left: 5%;
        padding-right: 5%;
    }


    .training-intro-gallery__intro {
        grid-template-columns: 1fr 1fr;
        row-gap: 24px;
        column-gap: 40px;
        margin-bottom: 50px;
    }


    .training-intro-gallery__social {
        grid-column: 1 / -1;

        flex-direction: row;
        justify-self: start;
    }


    .training-intro-gallery__title {
        font-size: 34px;
    }


    .training-intro-gallery__gallery {
        grid-template-columns: 1.5fr 1fr 1fr;

        gap: 12px;
    }


    .training-intro-gallery__image {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .training-intro-gallery {
        padding: 45px 20px 55px;
    }


    .training-intro-gallery__intro {
        display: block;

        margin-bottom: 35px;
    }


    .training-intro-gallery__title {
        max-width: 100%;

        margin-bottom: 25px;

        font-size: 32px;
    }


    .training-intro-gallery__text {
        max-width: 100%;
    }


    .training-intro-gallery__social {
        flex-direction: row;

        margin-top: 20px;
    }


    .training-intro-gallery__gallery {
        grid-template-columns: 1fr;

        gap: 15px;
    }


    .training-intro-gallery__item {
        height: 300px;
    }


    .training-intro-gallery__image {
        display: block;

        width: 100%;
        height: 100%;

        object-fit: cover;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .training-intro-gallery {
        padding-left: 15px;
        padding-right: 15px;
    }


    .training-intro-gallery__title {
        font-size: 28px;
    }






}