/* Center the full event composition on wide screens. */
.home-5 #ed-event .ed-event-content {
    max-width: 1920px;
    margin-inline: auto;
}

/* Keep the six IAE entries on one line before the mobile menu takes over. */
@media (min-width: 992px) and (max-width: 1399px) {
    .home-5 .header_style_five .main-navigation #main-nav > li {
        margin-inline: 8px;
    }
}

/* Keep indicator context readable below the short labels. */
.home-5 .ed-about5-sec .ed-ab5-figures-note {
    margin: 16px 0 0;
    color: #515151;
    font-size: 13px;
    line-height: 1.5;
}

/* IAE course information uses the existing Edrio cards. */
.home-5 #ed-course5 .iae-course-level { color: #2f584f; font-size: 15px; font-weight: 600; }
.home-5 #ed-course5 .ed-course5-item .item-text h3 { min-height: 108px; }
.home-5 #ed-course5 .iae-course-meta { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.home-5 #ed-course5 .iae-course-meta i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(47,88,79,.08); }
.home-5 #ed-course5 .item-bottom { min-height: 48px; }
.home-5 #ed-course5 .iae-course-mode { color: #2f584f; font-size: 16px; font-weight: 500; }
.home-5 #ed-course5 .ed-course5-item:focus-within .crs-btn { transform: scaleY(1); }
.home-5 #ed-course5 .ed-course5-item:focus-within .item-bottom { opacity: 0; }
.home-5 #ed-footer5 .iae-footer-contact { max-width: 400px; color: #fff; }
.home-5 #ed-footer5 .iae-footer-contact p { margin: 0 0 15px; }
.home-5 #ed-footer5 .iae-footer-contact a { display: inline-flex; align-items: center; gap: 16px; padding: 12px 22px; border-radius: 6px; background: #ff9960; color: #172720; font-weight: 600; }
.home-5 #ed-footer5 .cta-info-item .item-text { overflow-wrap: anywhere; }
@media (hover: none), (max-width: 767px) {
    .home-5 #ed-course5 .crs-btn { position: static; width: 100%; margin-top: 16px; transform: none; }
    .home-5 #ed-course5 .ed-course5-item:hover .item-bottom,
    .home-5 #ed-course5 .ed-course5-item:focus-within .item-bottom { opacity: 1; visibility: visible; transform: none; }
}

/* Institutional affiliations replace the vendor logo strip. */
.home-5 #ed-sponsor5 .iae-institution-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 64px; }
.home-5 #ed-sponsor5 .ed-sp5-img { margin: 0; max-width: 100%; }
.home-5 #ed-sponsor5 .ed-sp5-img .item-img { height: 120px; width: 320px; max-width: 100%; overflow: hidden; }
.home-5 #ed-sponsor5 .iae-university-logo { width: 320px; max-width: none; }
.home-5 #ed-sponsor5 .iae-network-logo { width: 280px; max-width: none; }
.home-5 #ed-sponsor5 .ed-sponsor5-title p { white-space: normal; text-align: center; flex-shrink: 0; max-width: 85%; }
.home-5 #ed-team5 .name-degi { min-width: 0; padding-right: 10px; }
.home-5 #ed-team5 .name-degi span { display: block; }
.home-5 #ed-team5 .icon-social { flex-shrink: 0; }
.home-5 #ed-team5 .ed-team5-item:hover .icon-social i { transform: none; }
.home-5 #ed-tst5 .iae-resource-icon { width: 60px; height: 60px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #c3f498; color: #2f584f; font-size: 24px; }
.home-5 #ed-vd5 .iae-video-caption { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); width: max-content; max-width: 90%; border-radius: 8px; padding: 12px 20px; background: #2f584f; color: #fff; text-align: center; font-size: 18px; }
.home-5 #ed-blog5 .item-meta .ed-month { font-size: 13px; }

.home-5 .ed-sec-title-5 .subtitle {
    background-color: var(--iae-soft);
}
.home-5 .ed-btn-5:is(.ver_2) a {
    background-color: var(--iae-primary);
}
.home-5 .ed-hs5-slide-item .ed-hs5-side .shape_2 {
    background-color: var(--iae-primary);
}
.home-5 .ed-hs5-slide-item .ed-hs5-side .shape_1 {
    background-color: var(--iae-soft);
}
.home-5 .ed-hs5-slide-item .ed-hs5-shape1 .shape_1 {
    background: -webkit-gradient(linear, left bottom, left top, from(var(--iae-primary)), to(rgba(114, 34, 130, 0)));
    background: linear-gradient(0deg, var(--iae-primary) 0%, rgba(114, 34, 130, 0) 100%);
}
.home-5 .ed-hs5-slide-item .ed-hs5-shape1 .shape_2 {
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(114, 34, 130, 0)), to(var(--iae-primary)));
    background: linear-gradient(0deg, rgba(114, 34, 130, 0) 0%, var(--iae-primary) 100%);
}
.home-5 .ed-feature5-content:before {
    background-color: var(--iae-soft);
}
.home-5 #ed-feature5 .iae-feature-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--iae-primary);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.home-5 #ed-feature5 .iae-feature-link:hover {
    color: #4f155d;
}
.home-5 #ed-feature5 .iae-feature-link:focus-visible {
    outline: 3px solid var(--iae-primary);
    outline-offset: 4px;
}
.home-5 .ed-ct-nav .ed-ct-prev,
.home-5 .ed-ct-nav .ed-ct-next {
    background-color: var(--iae-primary);
}
.home-5 .ed-ct-nav .ed-ct-next:hover {
    background-color: var(--iae-primary);
}
.home-5 .ed-ab5-cl-text h3 {
    color: var(--iae-primary);
}
.home-5 .ed-ab5-ft-item .item-icon {
    background: rgba(114, 34, 130, 0.1);
}
.home-5 .ed-course5-item .item-img-cate .inner-cate {
    background-color: var(--iae-soft);
}
.home-5 .ed-course5-item .item-text .item-rate li {
    color: var(--iae-primary);
}
.home-5 .ed-course5-item .item-text .item-meta a i {
    background-color: rgba(114, 34, 130, 0.08);
}
.home-5 .ed-course5-item .item-text .item-price span {
    color: var(--iae-primary);
}
.home-5 .ed-course5-item:hover {
    -webkit-box-shadow: 16px 16px 28px 0px rgba(114, 34, 130, 0.2784313725);
    box-shadow: 16px 16px 28px 0px rgba(114, 34, 130, 0.2784313725);
}
.home-5 .ed-sponsor5-title p {
    color: var(--iae-primary);
}
.home-5 .ed-sponsor5-title .line_1,
.home-5 .ed-sponsor5-title .line_2 {
    background-color: rgba(114, 34, 130, 0.4);
}
.home-5 .ed-event-top .ed-btn-5 a {
    border: 2px solid var(--iae-primary);
}
.home-5 .ed-event-top .ed-btn-5 a .b-icon {
    background-color: var(--iae-primary);
}
.home-5 .ed-event-top .ed-btn-5 .b-text {
    color: var(--iae-primary);
}
.home-5 .ed-event-list-item .item-text .item-arrow a {
    background-color: var(--iae-primary);
}
.home-5 .ed-wc5-count {
    background-color: var(--iae-primary);
}
.home-5 .ed-tst5-content {
    background-color: var(--iae-primary);
}
.home-5 .ed-tst5-pagi .swiper-pagination-bullet:before {
    background-color: rgba(114, 34, 130, 0.3215686275);
}
.home-5 .ed-tst5-pagi .swiper-pagination-bullet.swiper-pagination-bullet-active {
    border: 1px solid var(--iae-primary);
}
.home-5 .ed-tst5-pagi .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    background-color: var(--iae-primary);
}
.home-5 .ed-blog5-item .item-img {
    background-color: rgba(114, 34, 130, 0.1215686275);
    border-bottom: 2px solid rgba(114, 34, 130, 0.2392156863);
}
.home-5 .ed-blog5-item .item-img .item-meta .ed-date {
    background-color: var(--iae-soft);
}
.home-5 .ed-blog5-item:hover .item-img {
    background-color: var(--iae-primary);
}

.home-5 .ed-btn-5 { border-color: rgba(114, 34, 130, .3); }
.home-5 .ed-btn-5 a:hover .b-icon,
.home-5 .ed-ct-nav .ed-ct-prev,
.home-5 .ed-ct-nav .ed-ct-next,
.home-5 .ed-event-list-item .item-text .item-arrow a { color: #fff; }
.home-5 .ed-btn-5 a:hover .b-icon svg path { fill: #fff; }
.home-5 .ed-event-list-item .item-text .item-arrow a svg path { fill: #fff; }
.home-5 .iae-course-level,
.home-5 .iae-course-mode { color: var(--iae-primary); }
.home-5 #ed-course5 .iae-course-level,
.home-5 #ed-course5 .iae-course-mode { color: var(--iae-primary); }
.home-5 #ed-course5 .iae-course-meta i { background: var(--iae-soft); }
.home-5 #ed-tst5 .iae-resource-icon { background: var(--iae-soft); color: var(--iae-primary); }
.home-5 #ed-vd5 .iae-video-caption { background: var(--iae-primary); }
.home-5 #ed-footer5 .iae-footer-contact a { background: var(--iae-primary); color: #fff; }
.home-5 #ed-footer5 .iae-footer-contact a:hover { background: var(--iae-primary-dark); }
.home-5 svg [fill="#2F584F"],
.home-5 svg [fill="#FF9960"] { fill: var(--iae-primary); }
.home-5 svg [fill="#C3F498"] { fill: var(--iae-soft); }
.home-5 ::selection { background: var(--iae-primary); color: #fff; }
.home-5 :is(a, button, input):focus-visible { outline: 3px solid #b97eca; outline-offset: 4px; }

/* Keep white navigation readable over every animated hero shape. */
.home-5 .ed-header-section.header_style_five { background-color: #111218; }

/* The opening slide is readable before Swiper and the page images finish loading. */
.home-5 #ed-hs5 .iae-initial-slide .ed-hs5-text .slide_title {
    filter: none;
}
.home-5 #ed-hs5 .iae-initial-slide .ed-hs5-img {
    transform: none;
    transition: none;
}

/* Persistent formation finder: outside the animated Swiper slides. */
.home-5 .ed-hs5-slide-item .ed-hs5-content { padding-bottom: calc(var(--iae-finder-height, 300px) + 205px); }
.home-5 .iae-finder-position {
    position: absolute;
    inset: auto 0 175px;
    z-index: 3;
    pointer-events: none;
}
.home-5 .iae-finder {
    width: min(600px, 100%);
    padding: 26px 30px;
    border-radius: 12px;
    background: #fff;
    color: #25142a;
    pointer-events: auto;
}

.home-5 .iae-finder [hidden] { display: none !important; }
.home-5 .iae-finder h2 { font: 600 26px/1.2 var(--ed-heading-5); margin: 0 0 20px; color: #722282; }
.home-5 .iae-finder h3 { margin: 0 0 4px; font-size: 19px; color: #25142a; }
.home-5 .iae-finder p { font-size: 14px; margin: 0 0 8px; color: #583660; }
.home-5 .iae-finder button { font: inherit; cursor: pointer; }
.home-5 .iae-finder-profiles { display: grid; gap: 12px; }
.home-5 .iae-finder-profiles button {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    width: 100%; padding: 16px 20px; border: 0; border-radius: 6px;
    background: #722282; color: #fff; font-size: 18px; text-align: left;
}
.home-5 .iae-finder-profiles button:hover { background: #571963; }
.home-5 .iae-finder svg { flex-shrink: 0; }
.home-5 .iae-finder-back { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0 0 12px; color: #722282; font-size: 14px; }
.home-5 .iae-finder-back svg { transform: rotate(180deg); width: 16px; }
.home-5 .iae-finder ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; list-style: none; margin: 0; padding: 0; }
.home-5 .iae-finder li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding-block: 8px; border-bottom: 1px solid #e5d7e9; font-size: 14px; line-height: 1.3; color: #722282; }
.home-5 .iae-finder li svg { width: 15px; }
.home-5 .iae-finder a:hover { color: #571963; text-decoration: underline; text-underline-offset: 4px; }
.home-5 .iae-finder-catalogue { display: inline-block; margin-top: 18px; color: #722282; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.home-5 .iae-finder :is(button, a, h3):focus-visible { outline: 3px solid #722282; outline-offset: 4px; }
@media (min-width: 1400px) and (max-width: 1599px) {
    .home-5 .iae-finder { margin-left: 40px; }
}
@media (min-width: 992px) and (max-width: 1399px) {
    .home-5 .ed-hs5-nav { left: auto; right: 35px; bottom: 175px; }
}
@media (max-width: 991px) {
    .home-5 .ed-hs5-slide-item .ed-hs5-content { padding-bottom: calc(var(--iae-finder-height, 300px) + 125px); }
    .home-5 .iae-finder-position { bottom: 95px; }
    .home-5 .iae-finder { margin-inline: auto; }
}
@media (max-width: 575px) {
    .home-5 .iae-finder { padding: 22px; }
    .home-5 .iae-finder h2 { font-size: 23px; }
    .home-5 .iae-finder ul { grid-template-columns: 1fr; }
}
/* Without JS, both lists stay usable in normal flow. */
.home-5 .ed-hs5-slider-area:has(.iae-finder:not(.is-enhanced)) .iae-finder-position { position: relative; inset: auto; padding-block: 24px 150px; background: #111218; }

/* Keep the existing desktop containing block; group artwork on small screens. */
.home-5 .iae-hero-visual { display: contents; }
@media (max-width: 991px) {
    .home-5 .ed-hs5-slide-item .ed-hs5-content { padding-top: 140px; padding-bottom: 0; }
    .home-5 .ed-hs5-slide-item .ed-hs5-text { margin: 0 auto 24px; }
    .home-5 .ed-hs5-slide-item .ed-hs5-text .slide_title { font-size: clamp(32px, 6vw, 46px); line-height: 1.08; padding-bottom: 12px; }
    .home-5 .ed-hs5-slide-item .ed-hs5-text p { font-size: 16px; line-height: 1.5; margin-bottom: 0; }
    .home-5 .iae-hero-visual { display: block; position: relative; isolation: isolate; width: min(100%, 420px); height: 340px; margin: 0 auto; }
    .home-5 .ed-hs5-slide-item .ed-hs5-img { position: absolute !important; inset: auto 0 0; z-index: 1; }
    .home-5 .ed-hs5-img .item-img img { width: auto; max-width: 85%; height: 320px; object-fit: contain; object-position: bottom; }
    .home-5 .ed-hs5-slide-item .ed-hs5-circle { display: block; width: 260px; height: 260px; right: calc(50% - 130px); bottom: 35px; }
    .home-5 .ed-hs5-circle .item-icon { width: 44px; height: 44px; }
    .home-5 .ed-hs5-circle .item-icon img { width: 26px; height: 26px; }
    .home-5 .ed-hs5-circle .item-icon:nth-child(1) { top: -10px; left: 55px; }
    .home-5 .ed-hs5-circle .item-icon:nth-child(2) { top: 85px; left: -20px; }
    .home-5 .ed-hs5-circle .item-icon:nth-child(3) { bottom: 25px; left: 5px; }
    .home-5 .ed-hs5-slide-item .ed-hs5-sh1 { display: block; top: 36%; right: 0; width: 62px; }
    .home-5 .ed-hs5-slide-item .ed-hs5-sh2 { display: flex !important; right: 0; bottom: 0; transform: scale(.4); transform-origin: bottom right; }
    .home-5 .ed-hs5-slide-item .ed-hs5-sh4 { display: block !important; right: 0; bottom: 102px; width: 51px; height: 51px; }
    .home-5 .ed-hs5-sh4 svg { width: 100%; height: 100%; }
    .home-5 .iae-finder-position,
    .home-5 .ed-hs5-slider-area:has(.iae-finder:not(.is-enhanced)) .iae-finder-position { position: relative; inset: auto; padding-top: 20px; padding-bottom: 90px; }
    .home-5 .ed-hs5-nav { bottom: 15px; gap: 20px; align-items: center; }
    .home-5 .ed-hs5-nav .arrow-nav { min-width: 44px; min-height: 44px; }
}
@media (max-width: 380px) {
    .home-5 .iae-hero-visual { height: 300px; }
    .home-5 .ed-hs5-img .item-img img { height: 280px; }
    .home-5 .ed-hs5-slide-item .ed-hs5-circle { width: 230px; height: 230px; right: calc(50% - 115px); bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 991px) {
    .home-5 #ed-hs5 .iae-hero-visual * { animation: none !important; transition: none !important; }
}

/* Reusable Edrio breadcrumb banner on interior pages. */
.iae-breadcrumb-section { position: relative; overflow: hidden; background: #f2e8f5; }
section.ed-breadcrumb-sec.iae-breadcrumb-section { margin-top: 65px; }
body .iae-breadcrumb-section .iae-breadcrumb-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iae-breadcrumb-section .iae-breadcrumb-image[src=""] { display: none; }
.iae-breadcrumb-section::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(242, 232, 245, .78); }
.iae-breadcrumb-section .iae-breadcrumb-container { position: relative; z-index: 2; }
.iae-breadcrumb-section .ed-breadcrumb-text .iae-breadcrumb-title { color: #252033; font-size: clamp(2rem, 5vw, 4.25rem); line-height: 1.1; margin: 0 0 24px; }
.iae-breadcrumb-section .iae-breadcrumb-trail { max-width: 100%; }
@media (max-width: 600px) {
    body .iae-breadcrumb-section .iae-breadcrumb-container .ed-breadcrumb-content { padding-top: 58px; padding-bottom: 58px; }
    .iae-breadcrumb-section .iae-breadcrumb-trail { padding: 10px 16px; }
}
