/* AYU home hero based on the existing university palette. */
.ayu-legacy-home-hero {
    display: none !important;
}

.ayu-home-hero {
    --ayu-hero-navy: #062b5d;
    --ayu-hero-blue: #075399;
    --ayu-hero-cyan: #18c9ee;
    --ayu-hero-teal: #2a8da3;
    --ayu-hero-red: #e60024;
    padding: 0;
    background: #fff;
}

.ayu-home-hero .ayu-hero-container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.ayu-home-hero .ayu-hero-frame {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: var(--ayu-hero-navy);
    box-shadow: 0 18px 55px rgba(7, 45, 79, .16);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 6px), 38% calc(100% - 6px), 0 calc(100% - 32px));
}

.ayu-home-hero .ayu-hero-slider,
.ayu-home-hero .ayu-hero-slider .swiper-wrapper,
.ayu-home-hero .ayu-hero-slider .swiper-slide {
    height: clamp(570px, 39vw, 650px);
}

.ayu-home-hero .ayu-hero-slider {
    position: relative;
    overflow: hidden;
}

.ayu-home-hero .ayu-hero-slider .swiper-slide {
    position: relative;
    overflow: hidden;
    background: var(--ayu-hero-navy);
}

.ayu-home-hero .ayu-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
}

.ayu-home-hero .ayu-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(3, 34, 76, .98) 0%, rgba(3, 42, 88, .94) 25%, rgba(3, 48, 94, .66) 47%, rgba(3, 48, 94, .10) 69%, rgba(3, 48, 94, 0) 100%),
        linear-gradient(0deg, rgba(0, 24, 57, .28) 0%, rgba(0, 24, 57, 0) 42%);
}

.ayu-home-hero .ayu-hero-content {
    position: absolute;
    top: 50%;
    left: clamp(42px, 7.5vw, 122px);
    z-index: 3;
    width: min(660px, 48vw);
    color: #fff;
    transform: translateY(-50%);
}

.ayu-home-hero .ayu-hero-quote {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 430px;
    margin-bottom: 28px;
    padding-left: 16px;
    border-left: 3px solid var(--ayu-hero-cyan);
}

.ayu-home-hero .ayu-hero-quote span {
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.ayu-home-hero .ayu-hero-quote small {
    margin-top: 3px;
    color: var(--ayu-hero-cyan);
    font-size: 12px;
    font-style: italic;
    font-weight: 600;
}

.ayu-home-hero .ayu-hero-content h1,
.ayu-home-hero .ayu-hero-title {
    max-width: 590px;
    margin: 0;
    color: #fff;
    font-family: "Unbounded", "Segoe UI", sans-serif !important;
    font-style: normal !important;
    font-size: clamp(54px, 4.5vw, 74px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-transform: none;
    text-shadow: 0 7px 26px rgba(0, 25, 59, .28);
}

.ayu-home-hero .ayu-hero-content h1::first-line,
.ayu-home-hero .ayu-hero-title::first-line {
    color: #fff;
}

.ayu-home-hero .ayu-hero-content p {
    max-width: 470px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, .95);
    font-family: "Manrope", "Segoe UI", sans-serif !important;
    font-size: clamp(18px, 1.3vw, 21px);
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1.55;
    text-shadow: 0 3px 12px rgba(0, 28, 62, .22);
}

.ayu-home-hero .ayu-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    gap: 14px;
    color: #fff;
    background: var(--ayu-hero-red);
    border-radius: 12px;
    font-family: "Manrope", "Segoe UI", sans-serif !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px rgba(185, 0, 28, .3);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ayu-home-hero .ayu-hero-cta:hover,
.ayu-home-hero .ayu-hero-cta:focus-visible {
    color: #fff;
    background: #c90020;
    box-shadow: 0 13px 28px rgba(185, 0, 28, .38);
    transform: translateY(-2px);
}

.ayu-home-hero .ayu-hero-progress {
    position: absolute;
    bottom: 37px;
    left: clamp(42px, 7.5vw, 122px);
    z-index: 5;
    display: flex;
    align-items: center;
    width: min(315px, 28vw);
    gap: 13px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.ayu-home-hero .ayu-hero-progress-track {
    position: relative;
    display: block;
    flex: 1 1 auto;
    height: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, .28);
    border-radius: 4px;
}

.ayu-home-hero .ayu-hero-progress-track i {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: var(--ayu-progress, 100%);
    background: var(--ayu-hero-cyan);
    border-radius: inherit;
    transition: width .45s ease;
}

.ayu-home-hero .ayu-hero-controls.hero-slider-bg-controls {
    position: absolute;
    right: 43px;
    bottom: 125px;
    left: auto;
    z-index: 6;
    display: flex;
    width: auto;
    gap: 12px;
    transform: none;
}

/* Keep the three feature bubbles visually separate while they overlap the hero. */
.ayu-legacy-features {
    position: relative;
    z-index: 8;
    padding-bottom: 34px;
    background: transparent;
}

.ayu-legacy-features .features-grid-wrap {
    position: relative;
    margin-top: -80px;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 24px;
    padding: 0;
}

.ayu-legacy-features .features-box.features-style-3 {
    --bubble-color: #2a8da3;
    --bubble-bg: #ecf9fb;
    position: relative;
    min-height: 184px;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 28px 22px;
    background: linear-gradient(145deg, #fff 0%, var(--bubble-bg) 100%);
    border: 0;
    border-radius: 32px;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--bubble-color) 14%, transparent);
    transition: box-shadow .25s ease, transform .25s ease;
}

.ayu-legacy-features .features-box.features-style-3:first-child {
    padding-left: 22px;
}

.ayu-legacy-features .features-box.features-style-3:nth-child(1) {
    --bubble-color: #12a991;
    --bubble-bg: #eafbf7;
}

.ayu-legacy-features .features-box.features-style-3:nth-child(2) {
    --bubble-color: #e9435c;
    --bubble-bg: #fff0f3;
    top: 12px;
}

.ayu-legacy-features .features-box.features-style-3:nth-child(3) {
    --bubble-color: #8058e8;
    --bubble-bg: #f3efff;
    top: 24px;
}

.ayu-legacy-features .features-box.features-style-3:hover {
    background: linear-gradient(145deg, #fff 0%, var(--bubble-bg) 100%) !important;
    box-shadow: 0 17px 34px color-mix(in srgb, var(--bubble-color) 17%, transparent);
    transform: translateY(-6px) scale(1.01);
}

.ayu-legacy-features .features-box.features-style-3 .icon {
    position: relative;
    top: auto;
    left: auto;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    width: 68px;
    min-width: 68px;
    height: 68px;
    margin: 0 18px 0 0;
    background: rgba(255, 255, 255, .86);
    border: 1px solid color-mix(in srgb, var(--bubble-color) 22%, transparent);
    border-radius: 50%;
    box-shadow: 0 9px 20px color-mix(in srgb, var(--bubble-color) 14%, transparent);
}

.ayu-legacy-features .features-box.features-style-3 .icon svg,
.ayu-legacy-features .features-box.features-style-3 .icon img {
    width: 42px;
    height: 42px;
}

.ayu-legacy-features .features-box.features-style-3 .content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-left: 0;
}

.ayu-legacy-features .features-box.features-style-3 .content .title {
    font-family: "Segoe UI", "Noto Sans", sans-serif;
    margin-bottom: 7px;
    color: #17394a;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.3;
}

.ayu-legacy-features .features-box.features-style-3 .content p {
    font-family: "Segoe UI", "Noto Sans", sans-serif;
    margin: 0;
    color: #60747e;
    font-size: 12px;
    line-height: 1.55;
}

/* Give the faculties section the same soft visual language as the feature cards. */
.ayu-faculties .section-title .title {
    color: #172f42;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 750;
    letter-spacing: -.025em;
}

.ayu-faculties .section-title .shape-line {
    color: #2a8da3;
    opacity: .9;
}

.ayu-faculties .categorie-grid.categorie-style-2 {
    --faculty-accent: #2a8da3;
    --faculty-bg: #edf9fa;
    min-height: 94px;
    padding: 18px 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #fff 0%, var(--faculty-bg) 100%);
    border: 1px solid color-mix(in srgb, var(--faculty-accent) 12%, transparent);
    border-radius: 22px;
    box-shadow: 0 10px 26px rgba(23, 57, 74, .07);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ayu-faculties .categorie-grid.color-primary-style {
    --faculty-accent: #12a991;
    --faculty-bg: #eafbf7;
}

.ayu-faculties .categorie-grid.color-secondary-style {
    --faculty-accent: #e9435c;
    --faculty-bg: #fff0f3;
}

.ayu-faculties .categorie-grid.color-extra01-style {
    --faculty-accent: #19ad6d;
    --faculty-bg: #ecfbf3;
}

.ayu-faculties .categorie-grid.color-tertiary-style {
    --faculty-accent: #d9a11d;
    --faculty-bg: #fff8e8;
}

.ayu-faculties .categorie-grid.color-extra02-style {
    --faculty-accent: #8058e8;
    --faculty-bg: #f3efff;
}

.ayu-faculties .categorie-grid.color-extra03-style {
    --faculty-accent: #dc438d;
    --faculty-bg: #fff0f7;
}

.ayu-faculties .categorie-grid.color-extra04-style {
    --faculty-accent: #5866d9;
    --faculty-bg: #f0f2ff;
}

.ayu-faculties .categorie-grid.color-extra05-style {
    --faculty-accent: #dc8c2d;
    --faculty-bg: #fff5e9;
}

.ayu-faculties .categorie-grid.color-extra06-style {
    --faculty-accent: #289bc6;
    --faculty-bg: #ebf8fd;
}

.ayu-faculties .categorie-grid.categorie-style-2 .icon {
    display: inline-flex;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    width: 62px;
    min-width: 62px;
    height: 62px;
    margin-right: 18px;
    background: rgba(255, 255, 255, .76);
    border: 1px solid color-mix(in srgb, var(--faculty-accent) 13%, transparent);
    border-radius: 18px;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--faculty-accent) 9%, transparent);
}

.ayu-faculties .categorie-grid.categorie-style-2 .content .title {
    margin-bottom: 0;
    color: #244052;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

.ayu-faculties .categorie-grid.categorie-style-2:hover {
    background: linear-gradient(145deg, #fff 0%, var(--faculty-bg) 100%);
    border-color: color-mix(in srgb, var(--faculty-accent) 24%, transparent);
    box-shadow: 0 15px 32px color-mix(in srgb, var(--faculty-accent) 13%, transparent);
    transform: translateY(-4px);
}

.ayu-faculties .categorie-grid.categorie-style-2:hover .icon {
    background: rgba(255, 255, 255, .9);
}

.ayu-faculties .categorie-grid.categorie-style-2:hover .content .title {
    color: #17394a;
}

/* Homepage news carousel. */
.ayu-news-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 48px 0 92px;
    background: #f0f4f5;
}

.ayu-news-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url(../images/cta/cta.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(0) saturate(100%) invert(52%) sepia(75%) saturate(451%) hue-rotate(121deg) brightness(96%) contrast(90%);
    pointer-events: none;
}

.ayu-news-heading {
    margin-bottom: 8px;
}

.ayu-news-heading .title {
    color: #172f42;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 750;
    letter-spacing: -.025em;
}

.ayu-news-heading .shape-line {
    color: #2a8da3;
    opacity: .9;
}

.ayu-news-carousel {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 74px 0;
}

.ayu-news-slider {
    overflow: visible;
    padding: 20px 0 62px;
}

.ayu-news-slider .swiper-slide {
    width: min(560px, 68vw);
    opacity: .48;
    transition: opacity .35s ease;
}

.ayu-news-slider .swiper-slide-active {
    z-index: 3;
    opacity: 1;
}

.ayu-news-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(42, 141, 163, .12);
    border-radius: 26px;
    box-shadow: 0 13px 34px rgba(18, 56, 79, .1);
    transition: box-shadow .35s ease, transform .35s ease;
}

.ayu-news-slider .swiper-slide-active .ayu-news-card {
    box-shadow: 0 22px 48px rgba(18, 56, 79, .17);
    transform: translateY(-12px);
}

.ayu-news-image {
    position: relative;
    display: block;
    height: 310px;
    overflow: hidden;
    background: #e9f2f5;
}

.ayu-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.ayu-news-image-shade {
    position: absolute;
    inset: 0;
    background: rgba(4, 28, 48, .32);
    transition: background .35s ease;
}

.ayu-news-slider .swiper-slide-active .ayu-news-image-shade {
    background: linear-gradient(0deg, rgba(4, 28, 48, .14) 0%, rgba(4, 28, 48, 0) 45%);
}

.ayu-news-slider .swiper-slide-active .ayu-news-image:hover img {
    transform: scale(1.035);
}

.ayu-news-content {
    min-height: 172px;
    padding: 22px 26px 24px;
}

.ayu-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 14px;
    color: #607683;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.ayu-news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ayu-news-meta i {
    color: #2a8da3;
    font-size: 15px;
}

.ayu-news-card-title {
    display: -webkit-box;
    min-height: 54px;
    margin: 0 0 15px;
    overflow: hidden;
    color: #17394a;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ayu-news-card-title a,
.ayu-news-card-title a:hover {
    color: inherit;
}

.ayu-news-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e60024;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.ayu-news-more:hover {
    color: #bd001d;
}

.ayu-news-control {
    position: absolute;
    top: 44%;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    color: #23475b;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(42, 141, 163, .18);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(18, 56, 79, .14);
    transform: translateY(-50%);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.ayu-news-control:hover {
    color: #fff;
    background: #2a8da3;
    transform: translateY(-50%) scale(1.05);
}

.ayu-news-prev {
    left: 0;
}

.ayu-news-next {
    right: 0;
}

.ayu-news-pagination {
    position: absolute;
    right: 0;
    bottom: 16px !important;
    left: 0;
    z-index: 5;
    text-align: center;
}

.ayu-news-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 5px !important;
    background: #8ba4ae;
    opacity: .45;
    transition: width .2s ease, opacity .2s ease;
}

.ayu-news-pagination .swiper-pagination-bullet-active {
    width: 24px;
    background: #2a8da3;
    border-radius: 8px;
    opacity: 1;
}

.ayu-news-static .ayu-news-control,
.ayu-news-static .ayu-news-pagination {
    display: none;
}

.ayu-news-static .ayu-news-slider .swiper-slide {
    opacity: 1;
}

.ayu-news-view-all {
    display: flex;
    justify-content: center;
    margin-top: 3px;
}

.ayu-news-view-all a {
    display: inline-flex;
    min-height: auto;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    gap: 11px;
    color: #e60024;
    background: transparent;
    border-radius: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 800;
    box-shadow: none;
    transition: color .2s ease, transform .2s ease;
}

.ayu-news-view-all a:hover {
    color: #b9001c;
    background: transparent;
    box-shadow: none;
    transform: translateX(3px);
}

.ayu-announcements-section .ayu-legacy-announcements-view-all {
    display: none !important;
}

.ayu-announcements-section {
    background: linear-gradient(180deg, #fff 0%, #f9fcfd 100%) !important;
}

.ayu-announcements-section::before {
    content: none;
}

.ayu-announcements-view-all {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.ayu-announcements-view-all a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: auto;
    align-items: center;
    justify-content: center;
    padding: 6px 0;
    gap: 11px;
    color: #e60024;
    background: transparent;
    border-radius: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    font-weight: 800;
    box-shadow: none;
    cursor: pointer;
    pointer-events: auto;
    transition: color .2s ease, transform .2s ease;
}

.ayu-announcements-view-all a:hover {
    color: #b9001c;
    background: transparent;
    box-shadow: none;
    transform: translateX(3px);
}

/* Keep applications inside the Yasawi Media visual section. */
.ayu-media-section {
    position: relative;
    overflow: hidden;
    padding: 72px 0 !important;
    background: linear-gradient(115deg, #2a8da3 0%, #1379a8 55%, #075d91 100%) !important;
}

.ayu-media-section::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -120px;
    width: 460px;
    height: 460px;
    background: rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

.ayu-media-section > .container {
    position: relative;
    z-index: 1;
}

.ayu-media-section > .container > .row {
    --bs-gutter-x: 24px;
    align-items: stretch;
}

.ayu-media-main,
.ayu-media-gazette {
    display: flex;
    flex-direction: column;
}

.ayu-media-section .media-container {
    flex: 0 0 auto;
    height: 255px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 30px;
    box-shadow: 0 18px 44px rgba(3, 52, 81, .18);
}

.ayu-media-section .media-text h3 {
    font-family: "Manrope", "Segoe UI", sans-serif;
    letter-spacing: -.025em;
}

.ayu-media-section .view-all-media {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.4;
}

.ayu-media-section .view-all-media a {
    color: #fff;
}

.ayu-media-section .view-all-media a:hover {
    color: #dff8ff;
}

.ayu-media-section .youtube {
    margin-top: 8px !important;
}

.ayu-media-section .ayu-media-more-link {
    display: none;
}

.ayu-media-applications {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 150px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 0;
    padding: 1px 32px 4px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ayu-media-applications-copy h4 {
    margin: 0;
    max-width: 650px;
    color: #fff;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: clamp(18px, 1.45vw, 23px);
    font-weight: 750;
    letter-spacing: -.02em;
    line-height: 1.35;
}

.ayu-media-applications-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    margin-top: 18px;
    gap: 9px;
    white-space: nowrap;
    color: #fff;
    background: #e60024;
    border-radius: 13px;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(185, 0, 28, .2);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ayu-media-applications-link:hover {
    color: #fff;
    background: #c90020;
    box-shadow: 0 12px 26px rgba(185, 0, 28, .28);
    transform: translateY(-2px);
}

.ayu-media-section .yasawi-card {
    flex: 1 1 auto;
    height: 100%;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 30px;
    box-shadow: 0 18px 44px rgba(3, 52, 81, .18);
}

@media (max-width: 991px) {
    .ayu-media-section > .container > .row {
        row-gap: 24px;
    }

    .ayu-media-applications {
        flex: 0 0 auto;
    }
}

@media (max-width: 767px) {
    .ayu-media-section {
        padding: 55px 0 !important;
    }

    .ayu-media-section .media-container {
        height: auto;
        min-height: 235px;
        padding: 26px;
    }

    .ayu-media-applications {
        margin-top: 0;
        padding: 10px 26px 4px;
    }

    .ayu-media-applications-link {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .ayu-news-section {
        padding: 35px 0 70px;
    }

    .ayu-news-carousel {
        padding: 18px 12px 0;
    }

    .ayu-news-slider .swiper-slide {
        width: min(430px, 84vw);
    }

    .ayu-news-image {
        height: 240px;
    }

    .ayu-news-content {
        min-height: 164px;
        padding: 19px 20px 22px;
    }

    .ayu-news-card-title {
        font-size: 16px;
    }

    .ayu-news-control {
        top: 41%;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 575px) {
    .ayu-news-slider .swiper-slide {
        width: 88vw;
    }

    .ayu-news-image {
        height: 210px;
    }

    .ayu-news-control {
        width: 40px;
        height: 40px;
    }

    .ayu-news-prev {
        left: 4px;
    }

    .ayu-news-next {
        right: 4px;
    }
}

@media (max-width: 991px) {
    .ayu-home-hero .ayu-hero-frame {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4px), 40% calc(100% - 4px), 0 calc(100% - 18px));
    }

    .ayu-legacy-features .features-grid-wrap {
        margin-top: -48px;
        gap: 16px;
    }

    .ayu-legacy-features .features-box.features-style-3:nth-child(2),
    .ayu-legacy-features .features-box.features-style-3:nth-child(3) {
        top: 0;
    }

    .ayu-legacy-features .features-box.features-style-3 {
        min-height: 0;
        padding: 24px 20px;
        border-radius: 24px;
    }

    .ayu-legacy-features .features-box.features-style-3:first-child {
        padding-left: 20px;
    }
}

.ayu-home-hero .ayu-hero-controls .swiper-slide-controls {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 0;
    padding: 0;
    color: #0b2849;
    background: #fff;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 7px 22px rgba(0, 23, 51, .2);
    opacity: 1;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.ayu-home-hero .ayu-hero-controls .swiper-slide-controls:hover,
.ayu-home-hero .ayu-hero-controls .swiper-slide-controls:focus-visible {
    color: #fff;
    background: var(--ayu-hero-teal);
    transform: translateY(-2px);
}

.ayu-home-hero .ayu-quick-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 24px 0;
}

.ayu-home-hero .ayu-quick-card {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 34px;
    min-height: 120px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    padding: 18px 14px 18px 18px;
    color: #0b3159;
    border: 1px solid rgba(42, 141, 163, .15);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(30, 82, 110, .09);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ayu-home-hero .ayu-quick-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--ayu-card-accent, var(--ayu-hero-teal));
    opacity: 0;
    transition: opacity .22s ease;
}

.ayu-home-hero .ayu-quick-card:hover,
.ayu-home-hero .ayu-quick-card:focus-visible {
    color: #0b3159;
    border-color: rgba(42, 141, 163, .33);
    box-shadow: 0 15px 34px rgba(30, 82, 110, .15);
    transform: translateY(-4px);
}

.ayu-home-hero .ayu-quick-card:hover::before,
.ayu-home-hero .ayu-quick-card:focus-visible::before {
    opacity: 1;
}

.ayu-home-hero .ayu-quick-card-1 {
    --ayu-card-accent: #1268b3;
    background: linear-gradient(135deg, #eef8ff 0%, #e0f2ff 100%);
}

.ayu-home-hero .ayu-quick-card-2 {
    --ayu-card-accent: #078da0;
    background: linear-gradient(135deg, #effcff 0%, #def8fb 100%);
}

.ayu-home-hero .ayu-quick-card-3 {
    --ayu-card-accent: #5552b8;
    background: linear-gradient(135deg, #f5f4ff 0%, #e9e8ff 100%);
}

.ayu-home-hero .ayu-quick-card-4 {
    --ayu-card-accent: #8f7038;
    background: linear-gradient(135deg, #fffaf0 0%, #fff0ce 100%);
}

.ayu-home-hero .ayu-quick-card-5 {
    --ayu-card-accent: #1c70ba;
    background: linear-gradient(135deg, #f0f8ff 0%, #e1f0ff 100%);
}

.ayu-home-hero .ayu-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: var(--ayu-card-accent);
    background: rgba(255, 255, 255, .64);
    border-radius: 14px;
    font-size: 27px;
}

.ayu-home-hero .ayu-quick-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.ayu-home-hero .ayu-quick-copy strong {
    color: #0a315d;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

.ayu-home-hero .ayu-quick-copy small {
    color: #3f5871;
    font-size: 11px;
    line-height: 1.35;
}

.ayu-home-hero .ayu-quick-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #154b78;
    background: rgba(255, 255, 255, .82);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(30, 82, 110, .1);
}

@media (max-width: 1399px) {
    .ayu-home-hero .ayu-hero-slider,
    .ayu-home-hero .ayu-hero-slider .swiper-wrapper,
    .ayu-home-hero .ayu-hero-slider .swiper-slide {
        height: 550px;
    }

    .ayu-home-hero .ayu-quick-card {
        grid-template-columns: 46px minmax(0, 1fr) 28px;
        min-height: 112px;
        gap: 9px;
        padding: 15px 10px 15px 13px;
    }

    .ayu-home-hero .ayu-quick-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }

    .ayu-home-hero .ayu-quick-copy strong {
        font-size: 12px;
    }

    .ayu-home-hero .ayu-quick-copy small {
        font-size: 10px;
    }
}

@media (max-width: 1199px) {
    .ayu-home-hero .ayu-hero-content {
        width: min(570px, 53vw);
    }

    .ayu-home-hero .ayu-quick-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ayu-home-hero .ayu-quick-card {
        min-height: 105px;
    }
}

@media (max-width: 991px) {
    .ayu-home-hero {
        padding-top: 16px;
    }

    .ayu-home-hero .ayu-hero-slider,
    .ayu-home-hero .ayu-hero-slider .swiper-wrapper,
    .ayu-home-hero .ayu-hero-slider .swiper-slide {
        height: 480px;
    }

    .ayu-home-hero .ayu-hero-image {
        object-position: 67% center;
    }

    .ayu-home-hero .ayu-hero-overlay {
        background: linear-gradient(90deg, rgba(3, 34, 76, .98) 0%, rgba(3, 42, 88, .91) 48%, rgba(3, 48, 94, .36) 78%, rgba(3, 48, 94, .15) 100%);
    }

    .ayu-home-hero .ayu-hero-content {
        width: min(540px, 66vw);
    }

    .ayu-home-hero .ayu-hero-quote {
        margin-bottom: 18px;
    }

    .ayu-home-hero .ayu-hero-progress {
        width: 235px;
    }
}

@media (max-width: 767px) {
    .ayu-home-hero .ayu-hero-frame {
        border-radius: 15px;
    }

    .ayu-home-hero .ayu-hero-slider,
    .ayu-home-hero .ayu-hero-slider .swiper-wrapper,
    .ayu-home-hero .ayu-hero-slider .swiper-slide {
        height: 490px;
    }

    .ayu-home-hero .ayu-hero-image {
        object-position: 64% center;
    }

    .ayu-home-hero .ayu-hero-overlay {
        background: linear-gradient(90deg, rgba(3, 34, 76, .98) 0%, rgba(3, 42, 88, .94) 58%, rgba(3, 48, 94, .62) 100%);
    }

    .ayu-home-hero .ayu-hero-content {
        top: 45%;
        right: 25px;
        left: 25px;
        width: auto;
        transform: translateY(-50%);
    }

    .ayu-home-hero .ayu-hero-content h1,
    .ayu-home-hero .ayu-hero-title {
        max-width: 500px;
        font-size: clamp(36px, 9.2vw, 52px);
    }

    .ayu-home-hero .ayu-hero-content p {
        max-width: 430px;
        margin-top: 16px;
    }

    .ayu-home-hero .ayu-hero-progress {
        bottom: 28px;
        left: 25px;
        width: 180px;
    }

    .ayu-home-hero .ayu-hero-controls.hero-slider-bg-controls {
        right: 23px;
        bottom: 95px;
        gap: 8px;
    }

    .ayu-home-hero .ayu-hero-controls .swiper-slide-controls {
        width: 44px;
        height: 44px;
    }

    .ayu-home-hero .ayu-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 12px;
    }
}

@media (max-width: 575px) {
    .ayu-home-hero .ayu-hero-container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .ayu-home-hero .ayu-hero-slider,
    .ayu-home-hero .ayu-hero-slider .swiper-wrapper,
    .ayu-home-hero .ayu-hero-slider .swiper-slide {
        height: 465px;
    }

    .ayu-home-hero .ayu-hero-quote {
        max-width: 310px;
        margin-bottom: 15px;
    }

    .ayu-home-hero .ayu-hero-quote span {
        font-size: 12px;
    }

    .ayu-home-hero .ayu-hero-content h1,
    .ayu-home-hero .ayu-hero-title {
        max-width: 100%;
        font-size: clamp(30px, 9.3vw, 37px);
        letter-spacing: -.055em;
        overflow-wrap: anywhere;
    }

    .ayu-home-hero .ayu-hero-content p {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .ayu-home-hero .ayu-hero-cta {
        min-height: 46px;
        padding: 0 18px;
        font-size: 12px;
    }

    .ayu-home-hero .ayu-hero-progress {
        width: 128px;
        gap: 7px;
        font-size: 11px;
    }

    .ayu-home-hero .ayu-quick-links {
        grid-template-columns: 1fr;
    }

    .ayu-home-hero .ayu-quick-card {
        min-height: 91px;
    }

    .ayu-home-hero .ayu-hero-controls.hero-slider-bg-controls {
        right: 15px;
        width: 94px;
        justify-content: flex-end;
    }

    .ayu-home-hero .ayu-hero-controls .swiper-slide-controls {
        right: auto !important;
        left: auto !important;
        flex: 0 0 43px;
    }
}
