/* =========================================================
   ERASMUS MODERN PAGE
========================================================= */

.erasmus-modern-page {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 60px;
    color: #14294b;
}

.erasmus-modern-page,
.erasmus-modern-page * {
    box-sizing: border-box;
}

.erasmus-modern-page a {
    text-decoration: none;
}

/* HERO */

.em-hero-section {
    position: relative;
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-top: -40px;
    padding: 0;
}

.em-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    border-radius: 38px 38px 0 0;
    background:
        linear-gradient(90deg, rgba(0,91,112,.96) 0%, rgba(0,125,145,.72) 45%, rgba(0,0,0,.04) 100%),
        url("https://isic.bg/public/resources/assets/images/erasmus-info.webp") center right / cover no-repeat;
    box-shadow: 0 30px 80px rgba(12,84,108,.18);
}

.em-hero__content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 62px 64px;
    color: #fff;
}

.em-hero__subtitle {
    margin: 0 0 8px;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 400;
    color: #fff;
}

.em-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(78px, 9vw, 112px);
    line-height: .88;
    font-weight: 900;
    letter-spacing: -4px;
    color: #fff;
}

.em-hero__text {
    max-width: 520px;
    margin: 0 0 30px;
    font-size: 22px;
    line-height: 1.45;
    color: rgba(255,255,255,.96);
}

.em-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 16px;
    transition: .22s ease;
}

.em-btn--white {
    background: #fff;
    color: #008a9c !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.14);
}

.em-btn--white:hover {
    color: #006e7d !important;
    transform: translateY(-2px);
}

.em-hero__date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,.92);
}

.em-hero__badge {
    position: absolute;
    right: 58px;
    bottom: 58px;
    z-index: 2;
    width: 136px;
    height: 136px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 25%, #157fb4, #064c75);
    color: #fff;
    text-align: center;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    box-shadow: 0 18px 36px rgba(0,60,92,.28);
}

.em-hero__badge span {
    display: block;
    font-size: 23px;
    text-transform: none;
}

/* LOGOS */

.em-logos-wrap {
    position: relative;
    z-index: 20;
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-top: 0;
    margin-bottom: 34px;
}

.em-logos {
    width: 100%;
    padding: 22px 34px;
    border-radius: 0 0 38px 38px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(20,55,90,.08);
}

.em-logos__items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    flex-wrap: nowrap;
}

.em-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .88;
    transition: .2s ease;
}

.em-logo-item:hover {
    opacity: 1;
}

.em-logo-item,
.em-logo-item img {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.em-logo-item img {
    display: block;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: saturate(.94);
}

.em-logo-item:nth-child(1) img {
    max-width: 250px;
    max-height: 64px;
}

.em-logo-item:nth-child(2) img {
    max-width: 145px;
    max-height: 38px;
}

.em-logo-item:nth-child(3) img {
    max-width: 50px;
    max-height: 62px;
}

.em-logo-item:nth-child(4) img {
    max-width: 70px;
    max-height: 44px;
}

/* BENEFITS */

.em-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1040px;
    margin: 34px auto;
}

.em-benefit {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding: 0 16px;
    border-right: 1px solid rgba(0,174,184,.25);
}

.em-benefit:last-child {
    border-right: 0;
}

.em-benefit__icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #e8fbfc;
    color: #03adb8;
    font-size: 19px;
}

.em-benefit h3 {
    margin: 0 0 5px;
    color: #132d4f;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 900;
}

.em-benefit p {
    margin: 0;
    color: #52677f;
    font-size: 12.5px;
    line-height: 1.4;
}

.em-benefit strong {
    color: #00a4af;
}

/* PROCESS */

.em-process {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 34px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 28px;
    padding: 28px 32px;
    border-radius: 28px;
    border: 1px solid rgba(0,174,184,.22);
    background:
        radial-gradient(circle at 6% 15%, rgba(0,190,200,.15), transparent 36%),
        linear-gradient(135deg, #f8fdff 0%, #fff 100%);
    box-shadow: 0 18px 45px rgba(20,55,90,.07);
}

.em-process__image {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background:
        radial-gradient(circle at 70% 62%, rgba(0,174,184,.23), transparent 28%),
        linear-gradient(135deg, #dffbfb, #fff);
}

.em-process__image i {
    font-size: 100px;
    color: #03adb8;
}

.em-process h2 {
    margin: 0 0 9px;
    color: #132d4f;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.em-process p {
    margin: 0 0 24px;
    color: #4e637b;
    font-size: 16px;
    line-height: 1.55;
}

.em-steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}

.em-step {
    text-align: center;
}

.em-step i {
    display: block;
    margin-bottom: 8px;
    color: #03adb8;
    font-size: 24px;
}

.em-step span {
    display: block;
    color: #15304f;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

/* INFO CARDS */

.em-info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto 34px;
}

.em-info-card {
    min-height: 224px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(20,70,110,.1);
    box-shadow: 0 16px 38px rgba(20,55,90,.07);
    display: flex;
    flex-direction: column;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.em-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 54px rgba(20,55,90,.12);
    border-color: rgba(0,174,184,.22);
}


.em-info-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.em-info-card__icon i {
    font-size: 26px;
}

.em-info-card h3 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 900;
}

.em-info-card p {

    color: #4e637b;
    font-size: 15px;
    line-height: 1.6;
}

.em-info-card a {
    display: inline-flex;
    padding: 10px 15px;
    border-radius: 12px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;   
    margin-top: auto;
    justify-content: center;
    transition:
        transform .18s ease,
        opacity .18s ease,
        box-shadow .18s ease;
}

.em-info-card:hover a {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}



.em-info-card--blue {
    background: linear-gradient(135deg, #f0f8ff, #fff);
}

.em-info-card--blue h3,
.em-info-card--blue .em-info-card__icon i {
    color: #4350df;
}

.em-info-card--blue .em-info-card__icon {
    background: rgba(67,80,223,.12);
}

.em-info-card--blue a {
    background: #4350df;
}

/* GREEN */

.em-info-card--green {
    background: linear-gradient(135deg, #effcf4, #fff);
}

.em-info-card--green h3,
.em-info-card--green .em-info-card__icon i {
    color: #08b84f;
}

.em-info-card--green .em-info-card__icon {
    background: rgba(8,184,79,.12);
}

.em-info-card--green a {
    background: #08b84f;
}

/* PURPLE */

.em-info-card--purple {
    background: linear-gradient(135deg, #f7f1ff, #fff);
}

.em-info-card--purple h3,
.em-info-card--purple .em-info-card__icon i {
    color: #8d0ee6;
}

.em-info-card--purple .em-info-card__icon {
    background: rgba(141,14,230,.12);
}

.em-info-card--purple a {
    background: #8d0ee6;
}

.em-info-card--blue:hover {
    background: linear-gradient(135deg, #eef5ff, #ffffff);
}

.em-info-card--green:hover {
    background: linear-gradient(135deg, #ecfff3, #ffffff);
}

.em-info-card--purple:hover {
    background: linear-gradient(135deg, #f6efff, #ffffff);
}

/* SECTION TITLE */

.em-section-title {
    text-align: center;
    margin: 22px 0 24px;
}

.em-section-title h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0 0 8px;
    color: #132d4f;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

.em-section-title h2:before,
.em-section-title h2:after {
    content: "";
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03adb8);
}

.em-section-title h2:after {
    background: linear-gradient(90deg, #03adb8, transparent);
}

.em-section-title p {
    margin: 0;
    color: #5d6f87;
    font-size: 16px;
}

/* TOPICS */

.em-topic-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto 30px;
}

.em-topic-card {
    min-height: 202px;
    padding: 24px 20px 20px;
    border-radius: 24px;
    border: 1px solid rgba(20,70,110,.1);
    background: #fff;
    text-align: center;
    box-shadow: 0 14px 34px rgba(20,55,90,.06);
    transition: .22s ease;
}

.em-topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(20,55,90,.1);
}

.em-topic-card__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.em-topic-card__icon i {
    font-size: 27px;
}

.em-topic-card h3 {
    margin: 0 0 10px;
    color: #132d4f;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 900;
}

.em-topic-card p {
    margin: 0 0 12px;
    color: #52677f;
    font-size: 14px;
    line-height: 1.5;
}

.em-topic-card span {
    color: #03adb8;
    font-size: 17px;
}

/* CTA */

.em-cta {
    display: grid;
    grid-template-columns: 76px 1fr auto;
    gap: 24px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto 30px;
    padding: 22px 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #00a6a7 0%, #08b5bd 65%, #6b4cff 145%);
    color: #fff;
    box-shadow: 0 22px 52px rgba(0,150,170,.22);
}

.em-cta__icon {
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(255,255,255,.2);
}

.em-cta__icon i {
    font-size: 31px;
}

.em-cta h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.em-cta p {
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 15px;
}

.em-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 20px;
    border-radius: 14px;
    background: #fff;
    color: #008b9d !important;
    font-size: 14px;
    font-weight: 900;
}

/* DISCLAIMER */

.em-disclaimer {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 0 0;
}

.em-disclaimer img {
    display: block;
    max-width: 220px;
    max-height: 52px;
    object-fit: contain;
}

.em-disclaimer p {
    margin: 0;
    color: #6a7890;
    font-size: 13px;
    line-height: 1.55;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .em-benefits {
        grid-template-columns: repeat(2,1fr);
        gap: 22px;
    }

    .em-benefit {
        border-right: 0;
        padding: 0;
    }

    .em-process,
    .em-info-grid {
        grid-template-columns: 1fr;
    }

    .em-topic-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
    .erasmus-modern-page {
        padding: 0 10px 44px;
    }

    .em-hero-section {
        width: calc(100% + 20px);
        margin-left: -10px;
        margin-top: -10px;
    }

    .em-hero {
        min-height: 430px;
        border-radius: 24px 24px 0 0;
        background:
            linear-gradient(180deg, rgba(0,91,112,.95) 0%, rgba(0,125,145,.82) 58%, rgba(0,0,0,.18) 100%),
            url("https://isic.bg/public/resources/assets/images/erasmus-info.webp") center right / cover no-repeat;
    }

    .em-hero__content {
        max-width: 100%;
        padding: 28px 18px 24px;
    }

    .em-hero__subtitle {
        font-size: 22px;
        line-height: 1.15;
    }

    .em-hero h1 {
        margin-bottom: 14px;
        font-size: 48px;
        line-height: .92;
        letter-spacing: -1.5px;
    }

    .em-hero__text {
        max-width: 260px;
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.45;
    }

    .em-btn {
        width: auto;
        max-width: 250px;
        padding: 13px 16px;
        border-radius: 14px;
        font-size: 13px;
        line-height: 1.35;
        text-align: center;
    }

    .em-hero__date {
        margin-top: 18px;
        font-size: 12px;
        line-height: 1.3;
    }

    .em-hero__badge {
        display: none;
    }

    .em-logos-wrap {
        width: calc(100% + 20px);
        margin-left: -10px;
        margin-top: 0;
        margin-bottom: 28px;
    }

    .em-logos {
        padding: 18px 14px 20px;
        border-radius: 0 0 24px 24px;
    }

    .em-logos__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px 12px;
        align-items: center;
        justify-items: center;
    }

    .em-logo-item {
        width: 100%;
    }

    .em-logo-item:nth-child(1) {
        grid-column: 1 / -1;
    }

    .em-logo-item:nth-child(1) img {
        max-width: 220px;
        max-height: 58px;
    }

    .em-logo-item:nth-child(2) img {
        max-width: 84px;
        max-height: 32px;
    }

    .em-logo-item:nth-child(3) img {
        max-width: 44px;
        max-height: 56px;
    }

    .em-logo-item:nth-child(4) img {
        max-width: 54px;
        max-height: 42px;
    }

    .em-benefits {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .em-benefit {
        grid-template-columns: 42px 1fr;
        padding: 14px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(0,174,184,.18);
    }

    .em-benefit:last-child {
        border-bottom: 0;
    }

    .em-process {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .em-process__image {
        min-height: 140px;
    }

    .em-process__image i {
        font-size: 70px;
    }

    .em-steps {
        grid-template-columns: repeat(2,1fr);
    }

    .em-info-grid,
    .em-topic-grid {
        grid-template-columns: 1fr;
    }

    .em-info-grid {
        gap: 18px;
        margin-top: 22px;
    }

    .em-info-card {
        min-height: auto;
        padding: 22px 18px;
        border-radius: 22px;
    }

    .em-info-card h3 {
        margin-bottom: 10px;
        font-size: 18px;
    }

    .em-info-card p {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.55;
    }

    .em-info-card a {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        font-size: 13px;
    }

    .em-info-card__icon {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
    }

    .em-info-card__icon i {
        font-size: 22px;
    }

    .em-cta {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px 20px;
    }

    .em-disclaimer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .em-disclaimer img {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .em-hero h1 {
        font-size: 52px;
    }

    .em-steps {
        grid-template-columns: 1fr;
    }

    .em-info-card,
    .em-topic-card {
        padding: 24px 18px;
    }
}

/* FIX ICONS */

.em-process__image i,
.em-step i,
.em-benefit__icon i,
.em-topic-card__icon i,
.em-info-card__icon i,
.em-cta__icon i {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
}

.em-cta__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.em-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    padding: 14px 20px;
    border-radius: 14px;
    background: #fff;
    color: #008b9d !important;
    font-size: 14px;
    font-weight: 900;
    transition: .22s ease;
}

.em-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,.14);
}

.em-cta__btn--facebook {
    background: rgba(255,255,255,.16);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.28);
}

.em-cta__btn--facebook:hover {
    background: rgba(255,255,255,.24);
}

@media (max-width: 768px) {

    .em-cta__actions {
        width: 100%;
        flex-direction: column;
    }

    .em-cta__btn {
        width: 100%;
    }

.em-section-title h2 {
font-size: 22px 
}

}
