/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* @import "./common.css"; */
/* @import "./title-animation.css"; */


/* Moments Section  */

.moments-section {
    background: #FFF3FA;
    padding: 60px 0 54px 0px !important;
}

.moments-section__container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.moments-bottom {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.moments-bottom__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 576.98px) {
    .moments-bottom__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992.98px) {
    .moments-bottom__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200.98px) {
    .moments-bottom__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.moments-section-title {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
}

@media (max-width: 767.98px) {
    .moments-section-title {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Moments Card */

.moments-item {
    background: var(--color-white);
    padding: 12px;
}

.moments-item:hover .moments-profile h6::after {
    width: 100%;
}

.moments-item__link {
    position: relative;
    display: block;
    overflow: hidden;
}

.moments-item__link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.moments-item__link:hover::before {
    left: 100%;
}

.moments-item__wrapper {
    position: relative;
}

.moments-item__wrapper::after {
    width: 100%;
    height: 91px;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.00) 0%, rgba(30, 30, 30, 0.60) 100%);
}

.moments-item__img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Moments Card Profile*/
.moments-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    position: absolute;
    bottom: 6px;
    left: 8px;
    z-index: 2;
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.moments-profile__img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.moments-profile h6 {
    color: var(--color-white);
    position: relative;
    margin-bottom: 3px;
}

.moments-profile p {
    margin-bottom: 1px;
}

.moments-profile h6 a {
    color: var(--color-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    font-family: "Poppins", sans-serif !important;
}

.moments-profile p {
    margin: 0;
    font-size: 12px;
    color: var(--color-white);
}

.moments-profile h6::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: width 0.25s ease;
}

/* Moments Card Profile*/

/* Moments Card Bottom Link*/
.moments-item__title {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    padding: 0 8px;
    line-height: 1.58;
    margin-bottom: 6px;
}

.moments-title__link {
    color: var(--color-black);
    font-family: "Poppins", sans-serif !important;
    transition: all 0.3s;
}

.moments-title__link:hover {
    color: var(--color-pink);
}

/* Moments Card Bottom Link*/


/* Moments Card */


/* Moments Section End */





/* Example Slider Section  */

.example-section {
    padding: 60px 0px;
    background: var(--color-white);
}

.example-section-item {
    margin-bottom: 40px;
}

.example-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.example-section__slider-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}



.example-slide {
    display: flex;
    gap: 34px;
    position: relative;
    align-items: center;
    z-index: 3;
}
.promo-card {
    min-width: initial;
    padding-right: 20px;
}

@media(max-width: 767.98px) {
    .example-slide {
        flex-direction: column;
        align-items: start;
    }
}

.example-slide__image {
    width: 220px;
    height: 287px;
}

.example-slide__image img {
    object-fit: cover;
    width: auto;
    height: auto;
}

.example-slide__right {
    padding: 13px 0px;
    display: flex;
    flex-direction: column;
    align-items: start;
}

@media(max-width: 767.98px) {
    .example-slide__right {
        padding-top: 0;
        padding-bottom: 30px;
    }
}

.example-slide__label {
    font-size: 14px;
    font-weight: 400;
    display: block;
    line-height: 21px;
    letter-spacing: 1px;
    color: #FFF;
    font-family: Poppins;
    font-style: normal;
    padding-bottom: 11px;
    position: relative;
}

.example-slide__label::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    background: #FFF;
    width: calc(100% - 7px);
}

.example-slide__label:not(:last-child) {
    margin-bottom: 13px;
}

.example-slide__title {
    font-size: 28px;
    font-weight: 400;
    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-style: normal;
    line-height: 1.3;
}

.example-slide__title:hover,
.example-slide__title a:focus {
    color: var(--color-pink);
}

.example-slide__title:not(:last-child) {
    margin-bottom: 19px;
}

.example-slide__content {
    color: #FFF;
    font-family: Poppins;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.5;
}

.example-slide__content a:focus,
.example-slide__content a:hover {
    color: var(--color-pink);
}

.example-slide.mini .example-slide__title {
    font-size: 22.9px;
    line-height: 1.29;
}

.example-slide.mini .example-slide__content {
    font-size: 16.9px;
    gap: 4px;
}

.example-slide__image:hover img {
    transition: all .3s ease-in-out;
}

.example-slide__image:hover img {
    scale: 1.02;
}

.example-slide__image:focus {
    outline: none;
}

.example-slide__image:focus img {
    border: 2px solid #D65DB1;
    scale: 1.02;
}

.example-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #E6E6E6;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* активный = розовый овал */
.example-section .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 20px;
    background: linear-gradient(128deg, #FF68B4 0%, #FFA3D1 100%);
}

.custom-pagination {
    justify-content: center;
    display: flex;
    flex: 1;
    width: auto !important;
}

/* Example Slider Section  */



/* How Did iIt Section */


.how-did-it-section {
    padding: 80px 0px;
    background: #232323;
}

@media(min-width: 640.98px) {
    .how-did-it-section__container {
        display: flex;
        margin-left: auto;
        padding-right: 0;
        margin-right: 0;
        gap: 88px;
        max-width: calc(((100vw - 1380px) / 2) + 1380px);
    }
}
.how-did-it-section__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 90px;
}

.how-did-it-section__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.how-did-it-section__pagination {
    width: auto !important;
}

.how-did-it-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-white);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* активный = розовый овал */
.how-did-it-section .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 20px;
}


.how-did-it-slide {
    border-radius: 10px;
    padding: 24px 32px 30px 32px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(113deg, #F8E1F4 0%, #E8C5E8 100%);
}

.how-did-it-slide__label {
    color: #333;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
}

.how-did-it-slide__images {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.how-did-it-slide__images img {
    border-radius: 30px; 
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 3px solid #FFF;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
}
.how-did-it-slide__images img:not(:first-child) {
    margin-left: -15px;
}
.how-did-it-slide__title {
    margin-bottom: 16px;
    max-width: 354px;
    color: var(--color-black);
    font-family: "Playfair Display";
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    flex: 1 1 100%;
}

.how-did-it-slide__title a:hover,
.how-did-it-slide__title a:focus {
    color: #D65DB1;
}

.how-did-it-slide__text {
    color: #000;
    font-family: Inter;
    font-size: 16px;
    max-width: 354px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}

.how-did-it-section__swiper .swiper-slide {
    height: 480px;
}

@media(max-width:991.98px) {
    .how-did-it-section__container  {
        gap: 40px;
    }

    .how-did-it-section__image img {
        max-width: 180px;
        height: auto;
    }
}

@media(max-width:767.98px) {
    .how-did-it-slide__title {
        font-size: 24px;
    }
    .how-did-it-slide__text {
        font-style: 14px;
    }
}

@media(max-width:640.98px) {
    .how-did-it-section__left {
        margin-bottom: 40px;
        flex-direction: row;
        position: relative;
    }
    .how-did-it-section__pagination {
        display: none;
    }

    .how-did-it-slide {
        width: 100%;
        height: auto !important;
        max-width: 100% !important;
    }
    .how-did-it-section__swiper .swiper-slide {
        width: 100%;
        max-width: 100% !important;
    }


    .how-did-it-section__image img {
        max-width: 120px;
    }
}
@media(min-width:640.98px) {
    .how-did-it-slide {
        width: 380px;
    } 
    .how-did-it-section__swiper .swiper-slide {
        width: 380px;
        min-width: 380px;
    }
    .how-did-it-slide__title {
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;       
        overflow: hidden; 
        text-overflow: ellipsis;
    }
    .how-did-it-slide__text {
        display: -webkit-box;        
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;       
        overflow: hidden; 
        text-overflow: ellipsis;
        height: 126px;
        min-height: 126px;
    }
    
}

@media(min-width:767.98px) {
    .how-did-it-slide {
        width: 400px;
    } 

    .how-did-it-section__swiper .swiper-slide {
        width: 400px;
        min-width: 400px;
    }
}

@media(min-width:1400.98px) {
    .how-did-it-slide {
        width: 440px;
    } 

    .how-did-it-section__swiper .swiper-slide {
        width: 440px;
        min-width: 400px;
    }
}