@font-face {
    font-family: 'Platypi';
    src: url("../fonts/Platypi-VariableFont_wght-SHA0eqV.ttf") format('truetype');
    font-weight: 100 900;
}
@font-face {
    font-family: 'Sofia Sans';
    src: url("../fonts/SofiaSans-VariableFont_wght-BNnbxEX.ttf") format('truetype');
    font-weight: 100 900;
}

:root {
    /* Colors as provided from FIMA */
    --color-white: #FBF9F5;
    --color-blue: #18407E;
    --color-blue-light: #9095BE;
    --color-yellow: #FBBB21;
    --color-red: #D62725;

    --border-radius-main: 7px;

    --font-bold-weight-serif: 600;
    --font-bold-weight-sans-serif: 800;

    --padding-box: 30px;
    --padding-box-smaller: 25px;

    --gradient-overlay-blue: linear-gradient(to bottom, rgba(24, 64, 126, 0.1), rgba(24, 64, 126, 0.5));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    background-color: var(--color-white);
    color: #222;
    padding-top: 90px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.body--urbino-section {
    padding-top: 130px;
}

h1, h2, h3 {
    font-weight: var(--font-bold-weight-serif);
}

b, strong {
    font-weight: var(--font-bold-weight-sans-serif);
}

p, ul {
    line-height: 1.6rem;
    margin-bottom: 10px;
}

li {
    line-height: 1.4rem;
    margin-left: 25px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--color-blue);
    font-weight: var(--font-bold-weight-sans-serif);
}

.font-serif {
    font-family: 'Platypi', serif;
    font-weight: 600;
}

.font-serif::first-letter {
    color: var(--color-red);
}

h1 {
    font-size: 3rem;
    margin-top: 80px;
}

h2 {
    font-family: 'Sofia Sans', sans-serif;
    text-align: left;
    font-weight: var(--font-bold-weight-sans-serif);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.hover {
    transition: all 0.3s ease;
}
.hover:hover {
    transform: scale(1.05);
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--color-blue);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: var(--color-blue);
    color: var(--color-white);
}

.header__logo {
    height: 65px;
}

.header__nav {
    display: flex;
    gap: 30px;
    flex-direction: row;
    position: relative;
}

.header__nav-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: var(--color-white);
    transition: left 0.3s ease, width 0.3s ease, opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
}

.header__nav.has-indicator .header__nav-link--active {
    border-bottom-color: transparent;
}

.header__nav-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    padding: 35px 1px 35px 0;
    border-bottom: solid 3px transparent;
}

.footer__lang-switch {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.footer__lang-link {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.footer__lang-link:hover {
    opacity: 0.8;
}

.footer__lang-link--active {
    opacity: 1;
    font-weight: 700;
}

.header__nav-link::after {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.header__nav-link--active {
    border-bottom-color: var(--color-white);
    font-weight: 800;
}

.header__nav-link--no-border {
    border-bottom-color: transparent;
}

.header__menu-toggle {
    display: none;
}

.container {
    margin: 0 auto;
    width: 90%;
    max-width: 1224px;
}

.container--reduced {
    max-width: 800px;
}

.footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 50px 0;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer__columns {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.footer__column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer__column--right {
    text-align: right;
    gap: 10px;
}

.footer__column--right a:last-child {
    margin-top: auto;
}

.pre-footer {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.box {
    padding: var(--padding-box);
    border-radius: var(--border-radius-main);
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.box-title {
    font-weight: var(--font-bold-weight-sans-serif);
    font-size: 1.2rem;
    color: var(--color-blue);
    margin-bottom: 10px;
}

.follow-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.follow-box .follow-box__link:first-of-type {
    margin-top: auto;
}

.donate-box {
    padding: 0;
    flex: 2;
    background: linear-gradient(to bottom right, #FEF1CB, #FFFCF3);
    display: flex;
    flex-direction: column;
}

.donate-box__body {
    padding: var(--padding-box);
    padding-bottom: unset;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.news-box {
    background-color: var(--color-blue);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: hero-fade-up 0.5s ease-out both;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-main);
}

.news-box__inner {
    background: linear-gradient(to bottom, rgba(24, 64, 126, 0.1), rgba(24, 64, 126, 0.8));
    border-radius: var(--border-radius-main);
    padding: 20px;
    color: white;
}

.news-box__title {
    font-size: 1.1rem;
    font-weight: var(--font-bold-weight-sans-serif);
    margin-bottom: 10px;
}

.news-box__date {
    opacity: 0.7;
}

.follow-box__link {
    background-color: rgba(24, 64, 126, 0.1);
    border-radius: var(--border-radius-main);
    padding: 15px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
}

.follow-box__link-image {
    width: 25px;
}

.donate-box__angels {
    background-image: url("../images/donate-angels-qye8xAZ.webp");
    background-size: auto 100%;
    padding: var(--padding-box);
    margin-top: auto;
}

.btn {
    display: block;
    width: fit-content;
    padding: 15px 30px;
    border-radius: var(--border-radius-main);
    background-color: var(--color-yellow);
    color: white;
    box-shadow: 0 5px 15px rgba(214, 39, 37, 0.21);
    font-family: inherit;
    font-weight: var(--font-bold-weight-sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    border: none;
    cursor: pointer;
}

.btn--blue {
    background-color: var(--color-blue);
    box-shadow: 0 5px 15px rgba(24, 64, 126, 0.3);
}


.news-box__date-container {
    height: 90px;
    display: flex;
    justify-content: flex-end;
}

.news-box__month {
    text-transform: uppercase;
}

.news-box__date-box {
    background: white;
    border-radius: var(--border-radius-main);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 70px;
    height: 70px;
    color: var(--color-blue);
    font-weight: var(--font-bold-weight-sans-serif);
}

.news-box__day {
    font-size: 1.3rem;
}

.news-box__content {
    height: 80px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.uma-animate-entry .uma-header__link {
    animation: uma-link-in 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.uma-animate-entry .uma-header__link:nth-child(1) { animation-delay: 0.04s; }
.uma-animate-entry .uma-header__link:nth-child(2) { animation-delay: 0.10s; }
.uma-animate-entry .uma-header__link:nth-child(3) { animation-delay: 0.16s; }
.uma-animate-entry .uma-header__link:nth-child(4) { animation-delay: 0.22s; }
.uma-animate-entry .uma-header__link:nth-child(5) { animation-delay: 0.28s; }
.uma-animate-entry .uma-header__link:nth-child(6) { animation-delay: 0.34s; }

.uma-header {
    background-color: var(--color-yellow);
    color: var(--color-blue);
    padding: 0 20px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.uma-header__links {
    display: flex;
    gap: 40px;
    position: relative;
}

.uma-header__indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    background-color: var(--color-red);
    transition: left 0.3s ease, width 0.3s ease, opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
}

.uma-header__links.has-indicator .uma-header__link--active {
    border-bottom-color: transparent;
}

.uma-header__clip {
    width: 150px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom right, #FFCF5A, #FBBB21);
    position: absolute;
    top: 0;
    left: 1rem;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    box-shadow: 0 5px 15px rgba(214, 39, 37, 0.21);
}

.uma-header__logo {
    width: 100px;
}

.uma-header__link {
    padding: 18px 1px;
    font-family: 'Platypi', serif;
    font-weight: 600;
    font-size: .9rem;
    text-transform: lowercase;
    opacity: 0;
}

.uma-no-animate .uma-header__link {
    opacity: 1;
}

.uma-header__link::first-letter {
    color: var(--color-red);
}

.uma-header__link::after {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.uma-header__link--active {
    color: var(--color-red);
    border-bottom: solid 3px var(--color-red);
    font-weight: 700;
}

.uma-header__link--active::first-letter {
    color: var(--color-red);
}

.uma-header__menu-toggle {
    display: none;
}

.callout-uma {
    margin-top: -50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 70px;
}

.callout-uma__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.callout-uma__logo {
    height: 80px;
    margin: 40px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.callout-uma__date {
    text-align: center;
    font-weight: 800;
    color: var(--color-blue);
    font-size: 0.9rem;
}

.home-hero {
    height: 70vh;
    background: linear-gradient(to bottom, var(--color-blue), #0e336e);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    color: white;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
    z-index: -1;
}

@keyframes hero-filigrane-in {
    from {
        opacity: 0;
        transform: rotate(-28deg) scale(0.88);
    }
    to {
        opacity: 0.2;
        transform: rotate(-20deg) scale(1);
    }
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-hero__since {
    font-size: 1.5rem;
}

.home-hero__title {
    color: white;
    font-family: 'Platypi', serif;
    font-weight: normal;
    text-align: left;
    font-size: 4.6rem;
    margin-top: 0;
    width: 800px;
}

.home-hero__filigrane {
    height: 70vh;
    position: absolute;
    bottom: 0;
    right: 20%;
    margin-bottom: -100px;
    animation: hero-filigrane-in 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__filigrane,
    .uma-event-box,
    .news-box,
    .course-box {
        animation: none;
    }

    .home-hero__filigrane {
        opacity: 0.2;
        transform: rotate(-20deg);
    }
}

.title-with-action {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.title-with-action__action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.title-with-action__action-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-blue);
    white-space: nowrap;
}

.title-with-action__action-icon {
    width: 22px;
}

.partner-logos {
    background-color: var(--color-white);
    padding: 40px 0;
    position: relative;
}

.partner-logos::before,
.partner-logos::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 350px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos::before {
    left: 0;
    width: max(5%, calc((100% - 1224px) / 2));
    background: linear-gradient(to right, var(--color-white), transparent);
}

.partner-logos::after {
    right: 0;
    width: max(5%, calc((100% - 1224px) / 2));
    background: linear-gradient(to left, var(--color-white), transparent);
}

.partner-logos__logo {
    height: auto;
    width: auto;
    max-height: 65px;
    mix-blend-mode: multiply;
}

.partner-logos__logo--horizontal {
    max-height: 40px;
}

img[src*="ministerio-asuntos"] {
    max-height: 50px;
}

img[src*="comune-gradara"] {
    max-height: 70px;
}


.section-home {
    margin-bottom: 80px;
}

.splide__list {
    display: flex;
    align-items: center;
}

.uma-hero {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.uma-hero__video {
    height: 100%;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    opacity: 0;
}


.uma-hero__logo {
    width: 230px;
    margin-bottom: 30px;
}

.uma-welcome {
    padding: 50px;
    margin-top: -50px;
    display: flex;
    align-items: center;
    gap: 80px;
    min-height: 200px;
    background: linear-gradient(to bottom right, #D62725, #99110F);
    color: white;
    position: relative;
}

.uma-welcome__left {
    min-width: 320px;
}

.uma-welcome__title {
    text-align: left;
    padding: 0;
    margin: 0;
    font-size: 2.4rem;
    font-weight: normal;
    font-family: 'Platypi', serif;
    color: var(--color-white);
}


.uma-welcome__date {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: var(--font-bold-weight-sans-serif);
}

.uma-welcome__angels {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    opacity: 0.2;
}

.uma-activities {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.uma-activity {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.uma-activity__logo {
    height: 100px;
    margin: 20px;
}

.uma-activity p {
    flex: 1;
}

.btn--uma-activity {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 10px;
}

.text-from-admin {
    line-height: 1.6rem;
    text-align: left;
}

.text-from-admin p {
    margin: 0;
}

.text-from-admin .ql-align-center {
    text-align: center;
}

.text-from-admin .ql-align-right {
    text-align: right;
}

.text-from-admin .ql-align-justify {
    text-align: justify;
}

.text-from-admin--article {
    max-width: 700px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.text-from-admin--article .btn {
    margin-top: 40px;
}

.text-from-admin a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--color-blue);
    font-weight: 800;
}

.text-from-admin a.btn {
    color: white;
    text-decoration: none;
    font-weight: var(--font-bold-weight-sans-serif);
}

.text-from-admin h2 {
    margin-top: 40px;
    margin-bottom: unset;
    text-align: center;
}

.text-from-admin h3 {
    margin-bottom: 5px;
    margin-top: 5px;
    text-align: left;
}

.news-header__date-container {
    display: flex;
    justify-content: flex-end;
}

.donation-option {
    margin-top: 25px;
}

.donation-option__title {
    font-size: 1.3rem;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    margin-bottom: 10px;
}

.link-bold {
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    cursor: pointer;
}

.donation-trailing {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 40px;
}

.donate-5x1000 {
    margin-top: 40px;
}

.donate-5x1000__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin-bottom: 20px;
}

.donate-5x1000__label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.donate-5x1000__amount {
    font-size: 4rem;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    line-height: 1;
}

.donate-5x1000__amount span {
    color: var(--color-blue);
}

.donate-5x1000__org {
    font-size: 1.15rem;
    font-weight: var(--font-bold-weight-sans-serif);
    margin-top: 8px;
}

.donate-5x1000__cf {
    font-size: 1rem;
    color: #666;
}

.donate-5x1000__purpose {
    font-style: italic;
    color: #666;
    margin: 0;
    text-align: center;
}

.donate-body {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donate-body p {
    line-height: 1.7;
}

.donate-how-to {
    margin-top: 24px;
    padding: 20px;
    border-radius: var(--border-radius-main);
    background-color: rgba(0, 0, 0, 0.04);
    text-align: left;
}

.donate-how-to ol {
    margin-top: 12px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    line-height: 1.6;
}

.news-header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: var(--border-radius-main);
    background-color: var(--color-blue);
    margin-top: 40px;
}

.news-header__inner {
    border-radius: var(--border-radius-main);
    padding: 50px;
    background: var(--gradient-overlay-blue);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.news-header__title {
    margin: 0;
    text-align: left;
    color: white;
    font-size: 2.5rem;
    font-weight: var(--font-bold-weight-sans-serif);
    font-family: "Sofia Sans", sans-serif;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.courses-grid__track {
    display: contents;
}

.course-box {
    background: var(--color-blue);
    border-radius: var(--border-radius-main);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    animation: hero-fade-up 0.5s ease-out both;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.course-box__inner {
    height: 350px;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--border-radius-main);
    background: var(--gradient-overlay-blue);
}

.course-box__title {
    font-size: 1.2rem;
    font-weight: var(--font-bold-weight-sans-serif);
    margin-bottom: 5px;
}

.btn--course-box {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    margin-top: 10px;
}

.course-head-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 600px;
}

.course-head {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 200px;
    gap: 20px;
}

.course-infos {
    flex: 1;
    padding: var(--padding-box-smaller) var(--padding-box);
    display: flex;
    flex-direction: column;
}

.course-head__image {
    background-color: var(--color-blue);
    height: 200px;
    width: 200px;
    border-radius: var(--border-radius-main);
    background-size: cover;
    background-position: center;
}

.course-head__content {
    display: flex;
    flex-direction: column;
}

.course-enroll-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.course-head__title {
    font-size: 2.1rem;
    margin: 0 0 10px 0;
    font-family: 'Platypi', serif;
    text-align: left;
}

.course-head__subtitle {
    font-size: 1.2rem;
    color: var(--color-blue);
    margin-bottom: 10px;
}

.chip {
    padding: 10px 20px 8px;
    border-radius: 100px;
    color: white;
    background: black;
    text-transform: uppercase;
    font-weight: var(--font-bold-weight-sans-serif);
    width: fit-content;
}

.chip--soldout {
    background: var(--color-red);
}

.course-top {
    display: flex;
    gap: 30px;
}

.uma-logo-small {
    height: 100px;
    display: block;
    margin: 80px auto 60px;
}

.course-infos__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 10px 0;
    border-bottom: solid 2px rgba(144, 149, 190, 0.2);
    flex: 1;
}

.course-infos__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.course-infos__value {
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    text-align: right;
}

.box--with-margin-top {
    margin-top: 30px;
}

.box--with-margin-top > .btn {
    margin-top: 20px;
}

.chip--course-box {
    font-size: 0.7rem;
    padding: 5px 10px;
    background-color: rgba(144, 149, 190, 0.8);
    flex-shrink: 0;
    align-self: flex-end;
    border: solid 1px rgba(255, 255, 255, 0.2);
}

.chip--course-box-individual {
    background-color: rgba(24, 64, 126, 0.8);
}

.course-box__info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-email-row {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

/* Library */
.library-intro {
    margin-bottom: 40px;
    padding-top: 20px;
}

.library-intro p {
    margin-bottom: 12px;
}

.library-intro__decree {
    font-size: 0.85rem;
    font-style: italic;
}

.library-info-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.library-info-strip__block {
    border-radius: var(--border-radius-main);
}

.library-info-strip__block p {
    margin-top: 6px;
    font-size: 0.9rem;
}

.library-info-strip__title {
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    margin-bottom: 10px;
}

.library-info-strip__title--sub {
    margin-top: 14px;
}

.library-info-strip__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 3px 0;
}

.library-info-strip__notice {
    margin-top: 12px;
    font-size: 0.8rem;
}

.library-collections {
    margin-bottom: 50px;
}

.library-collections h2 {
    margin-bottom: 20px;
}

.library-collections h3 {
    font-size: 1rem;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
    margin-top: 24px;
    margin-bottom: 8px;
}

.library-collections__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.library-classification {
    margin-bottom: 50px;
}

.library-classification h2 {
    margin-bottom: 12px;
}

.library-classification p {
    margin-bottom: 16px;
    max-width: 780px;
}

.library-classification-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.library-classification-table th,
.library-classification-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-blue-light);
    vertical-align: top;
}

.library-classification-table th {
    font-weight: var(--font-bold-weight-sans-serif);
    background: var(--color-blue-light, #f0f4f8);
    color: white;
}

.library-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.uma-event-box {
    background-color: white;
    border-radius: var(--border-radius-main);
    animation: hero-fade-up 0.5s ease-out both;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.uma-event-box__image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-blue);
    border-top-left-radius: var(--border-radius-main);
    border-top-right-radius: var(--border-radius-main);
}

.uma-event-box__overlay {
    height: 260px;
    background: var(--gradient-overlay-blue);
    border-top-left-radius: var(--border-radius-main);
    border-top-right-radius: var(--border-radius-main);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

.uma-event-box__day-box, .uma-event-box__hour-box {
    width: 70px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    padding: 6px;
    margin-bottom: 8px;
    color: var(--color-blue);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.uma-event-box__dow {
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue-light);
}

.uma-event-box__dom {
    font-size: 1rem;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-red);
}

.uma-event-box__month {
    font-weight: var(--font-bold-weight-sans-serif);
}

.uma-event-box__hour-box {
    font-weight: var(--font-bold-weight-sans-serif);
    font-size: 0.9rem;
}

.uma-event-box__data {
    padding: var(--padding-box);
    color: var(--color-blue);
}

.uma-event-box__title {
    font-family: 'Platypi', serif;
    font-size: 1.7rem;
    margin-top: -10px;
    margin-bottom: 5px;
}

.uma-event-box__subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
}

.uma-event-box__location-short {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue-light);
    margin-bottom: 10px;
}

.btn--uma-event-box {
    width: 100%;
    text-align: center;
}

.event-detail-header {
    margin-top: 50px;
    border-radius: var(--border-radius-main);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-blue);
}

.event-detail-header__overlay {
    border-radius: var(--border-radius-main);
    padding: var(--padding-box);
    background: var(--gradient-overlay-blue);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    min-height: 400px;
}

.event-detail-header__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.event-detail-header__date-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.event-detail-header__title {
    color: white;
    font-weight: normal;
    text-align: left;
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: 'Platypi', serif;
}

.event-detail-header__subtitle {
    font-size: 1.2rem;
}

.btn--uma-event-ticket {
    margin-top: 15px;
}

.underlined-link {
    color: var(--color-blue);
    text-decoration: underline;
}

.h2--with-margin-top {
    margin-top: 50px;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.uma-hero__video {
    animation: fade-in 1.2s ease both;
}

.uma-hero__video::-webkit-media-controls-start-playback-button {
    display: none !important;
}


@keyframes slide-up {
    from {
        transform: translateY(50px);
    }
    to {
        transform: translateY(0);
    }
}



@keyframes fima-link-in {
    from {
        transform: translateY(8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes uma-link-in {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-in-right {
    from {
        transform: translateX(-16px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toggle-label--animate {
    animation: slide-in-right 0.3s ease forwards;
}

/* 404 ERROR PAGE */
.error-404 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px;
}

.error-404__staff {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    pointer-events: none;
    padding: 80px 0;
    opacity: 0.07;
}

.error-404__staff-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue);
}

.error-404__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.error-404__clef {
    font-size: 8rem;
    color: var(--color-blue);
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: -20px;
    left: calc(50% - 250px);
    pointer-events: none;
    user-select: none;
}

.error-404__code {
    font-family: 'Platypi', serif;
    font-size: 10rem;
    font-weight: 600;
    color: var(--color-blue);
    line-height: 1;
    letter-spacing: -0.02em;
}

.error-404__title {
    font-family: 'Platypi', serif;
    font-size: 2rem;
    color: var(--color-blue);
    margin: 0;
    font-weight: 400;
}

.error-404__description {
    color: #555;
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7rem;
    margin: 0;
}

.error-404__notes {
    font-size: 1.8rem;
    letter-spacing: 0.4rem;
    color: var(--color-blue-light);
    margin: 5px 0;
}

.error-404__btn {
    margin-top: 10px;
}

.recercare-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-blue);
    max-width: 800px;
    margin: auto;
    margin-bottom: 50px;
}

.recercare-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.recercare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.recercare-box {
    position: relative;
    border: solid 10px white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: white;
    aspect-ratio: 9 / 12;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
    overflow: hidden;
}

.recercare-box__cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.recercare-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 55%);
    z-index: 0;
}


.recercare-box__year {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: var(--font-bold-weight-sans-serif);
    color: white;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.recercare-box__edition {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    font-weight: var(--font-bold-weight-sans-serif);
    margin-bottom: 10px;
    color: white;
    opacity: 0.85;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.btn--recercare-open {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 0.9rem;
}

/* Recercare issue modal */
.recercare-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.recercare-modal[hidden] {
    display: none;
}

.recercare-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    animation: recercare-backdrop-in 0.25s ease both;
}

@keyframes recercare-backdrop-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.recercare-modal__content {
    position: relative;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: recercare-modal-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes recercare-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.recercare-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-blue);
}

.recercare-modal__title {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-blue);
}

.recercare-modal__meta {
    margin: 0 0 24px;
}

.recercare-modal__row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.recercare-modal__row[hidden] {
    display: none;
}

.recercare-modal__row dt {
    font-weight: var(--font-bold-weight-sans-serif);
    min-width: 80px;
    margin: 0;
}

.recercare-modal__row dd {
    margin: 0;
}

.recercare-modal__download {
    display: inline-block;
}

.recercare-modal__download[hidden] {
    display: none;
}



































/* ABOUT PAGE */
.about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--color-blue), #0e336e);
    color: var(--color-white);
    padding: 90px 0 110px;
}

.about-hero__inner {
    position: relative;
}

.about-hero__heading {
    margin: 0 0 40px;
    text-align: left;
    color: var(--color-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    animation: hero-fade-up 0.8s ease both;
}

.about-quote {
    position: relative;
}

.about-quote__text {
    position: relative;
}

.about-quote__text::before {
    content: '“';
    position: absolute;
    top: -38px;
    left: -55px;
    font-family: 'Platypi', serif;
    font-size: 7rem;
    line-height: 1;
    color: var(--color-white);
    opacity: 0.9;
    animation: hero-fade-up 0.9s 0.2s ease both;
}

.about-quote__text p {
    font-family: 'Platypi', serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.55;
    margin: 0;
    animation: hero-fade-up 1s 0.35s ease both;
}

.about-quote__ellipsis {
    color: var(--color-blue-light);
}

.about-quote__author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 40px;
    padding-left: 60px;
    position: relative;
    animation: hero-fade-up 1s 0.6s ease both;
}

.about-quote__author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 40px;
    height: 2px;
    background-color: var(--color-white);
}

.about-quote__author-name {
    font-weight: var(--font-bold-weight-sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-quote__author-role {
    color: var(--color-blue-light);
    font-size: 0.95rem;
}

.about-intro {
    margin-top: 90px;
}

.about-intro__text {
    font-size: 1.25rem;
    line-height: 1.85;
    margin: 0;
}

.about-intro__text::first-letter {
    float: left;
    font-family: 'Platypi', serif;
    font-weight: 600;
    font-size: 5.2rem;
    line-height: 0.8;
    color: var(--color-blue);
    margin: 8px 12px 0 0;
}

.about-intro__text b {
    color: var(--color-blue);
}

.about-timeline {
    margin-top: 100px;
}

.about-timeline__list {
    position: relative;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 30px 0 0;
}

.about-timeline__list::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-blue-light), var(--color-yellow));
}

.about-timeline__item {
    position: relative;
    margin: 0;
    padding-top: 45px;
    line-height: inherit;
}

.about-timeline__item::before {
    content: '';
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 3px solid var(--color-blue);
}

.about-timeline__item--today::before {
    background-color: var(--color-yellow);
    border-color: var(--color-yellow);
    animation: about-timeline-pulse 2.4s ease-out infinite;
}

@keyframes about-timeline-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 187, 33, 0.55);
    }
    70%, 100% {
        box-shadow: 0 0 0 14px rgba(251, 187, 33, 0);
    }
}

.about-timeline__year {
    font-family: 'Platypi', serif;
    font-weight: 600;
    font-size: 3.2rem;
    line-height: 1;
    color: var(--color-blue);
    margin-bottom: 14px;
}

.about-timeline__year::first-letter {
    color: var(--color-red);
}

.about-timeline__title {
    font-weight: var(--font-bold-weight-sans-serif);
    font-size: 1.1rem;
    color: var(--color-blue);
    margin-bottom: 8px;
}

.about-timeline__item p {
    color: #444;
}

.about-today {
    margin-top: 100px;
}

.about-today__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.about-today__grid > div {
    display: flex;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.about-card__kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
}

.about-card__title {
    font-size: 1.7rem;
    color: var(--color-blue);
    line-height: 1.2;
    margin-bottom: 6px;
}

.about-card__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    font-weight: var(--font-bold-weight-sans-serif);
    color: var(--color-blue);
}

.about-card__cta-icon {
    width: 18px;
    transition: transform 0.3s ease;
}

.about-card:hover .about-card__cta-icon {
    transform: translateX(5px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-ready [data-reveal] {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
        transition-delay: var(--reveal-delay, 0ms);
    }

    .reveal-ready [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero__heading,
    .about-quote__text::before,
    .about-quote__text p,
    .about-quote__author,
    .about-timeline__item--today::before {
        animation: none;
    }
}

/* RESPONSIVE MOBILE MEDIA QUERY */
@media (max-width: 800px) {

    body {
        padding-top: 90px;
    }


    .body--urbino-section {
        padding-top: 130px;
    }

    .callout-uma {
        flex-direction: column;
    }

    .callout-uma__logo {
        margin: 20px 0 10px 0;
    }

    .btn {
        font-size: 0.9rem;
    }

    .btn--small {
        padding: 12px 25px;
    }

    .btn--full {
        width: 100%;
        text-align: center;
    }

    .pre-footer {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }

    .footer__columns {
        flex-direction: column;
    }

    .footer__column--right {
        text-align: left;
    }

    .footer__column--right a:last-child {
        margin-top: 0;
    }

    .header {
        padding-right: 10px;
        position: relative;
    }

    .header__logo {
        margin: 20px 0 15px;
        height: 55px;
    }

    .header__menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: var(--font-bold-weight-sans-serif);
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 1rem;
        cursor: pointer;
        padding: 10px;
        position: relative;
        z-index: 10001;
    }

    .header__nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 50px 50px 0;
        background-color: var(--color-blue);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 10000;
    }

    .header__nav--open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header__nav--open .header__nav-link {
        animation: fima-link-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .header__nav--open .header__nav-link:nth-child(1) { animation-delay: 0.15s; }
    .header__nav--open .header__nav-link:nth-child(2) { animation-delay: 0.22s; }
    .header__nav--open .header__nav-link:nth-child(3) { animation-delay: 0.29s; }
    .header__nav--open .header__nav-link:nth-child(4) { animation-delay: 0.36s; }
    .header__nav--open .header__nav-link:nth-child(5) { animation-delay: 0.43s; }
    .header__nav--open .header__nav-link:nth-child(6) { animation-delay: 0.50s; }

    .header__nav-link {
        padding: 10px 0;
        border-bottom: none;
        font-size: 1.4rem;
        opacity: 0;
        display: block;
        width: 100%;
    }

    .header__nav-link--active {
        border-bottom: none;
        font-weight: 800;
    }

    .header__nav-indicator {
        display: none;
    }

    .home-hero__title {
        font-size: 2.8rem;
        width: 100%;
    }

    .home-hero__since {
        font-size: 1.3rem;
    }

    .home-hero {
        height: 60vh;
        padding-bottom: 50px;
    }

    .home-hero__filigrane {
        height: 60vh;
        right: 5%;
        margin-bottom: -70px;
    }

    .title-with-action {
        align-items: baseline;
    }

    .title-with-action__action-text {
        font-size: 0.9rem;
    }

    .title-with-action__action-icon {
        width: 20px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .courses-category-title {
        font-size: 1.5rem;
    }

    .section-home {
        margin-bottom: 50px;
    }

    .news-header__inner {
        padding: var(--padding-box);
    }

    .news-header__title {
        font-size: 1.7rem;
        margin-top: 10px;
    }

    .library-collections h2,
    .library-classification h2 {
        text-align: center;
    }

    .library-collections h3,
    .library-classification h3 {
        text-align: left;
    }

    .library-info-strip {
        display: flex;
        flex-direction: column;
    }

    .library-collections__grid {
        grid-template-columns: 1fr;
        gap: unset;
    }

    .library-bottom {
        grid-template-columns: 1fr;
    }

    .uma-header__menu-toggle-label {
        text-transform: lowercase;
        font-family: 'Platypi', serif;
        font-weight: var(--font-bold-weight-serif);
        margin-top: -3px;
    }

    .uma-header__menu-toggle-initial {
        color: var(--color-red);
    }

    .uma-header__menu-toggle {
        display: flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        color: var(--color-blue);
        font-family: 'Platypi', serif;
        font-weight: var(--font-bold-weight-serif);
        font-size: 0.9rem;
        cursor: pointer;
        padding: 10px;
    }

    .uma-menu-open .header {
        visibility: hidden;
    }


    .uma-header__menu-toggle {
        position: relative;
        z-index: 9999;
    }

    .uma-header__menu-icon {
        margin-bottom: -2px;
    }

    .uma-header__links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 50px 50px 0;
        background-color: var(--color-yellow);
        pointer-events: none;
        opacity: 0;
        transform: translateY(-30px);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9998;
    }

    .uma-header__links--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .uma-animate-entry .uma-header__link {
        animation: none;
    }

    .uma-header__links--open .uma-header__link {
        animation: uma-link-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .uma-header__links--open .uma-header__link:nth-child(1) { animation-delay: 0.06s; }
    .uma-header__links--open .uma-header__link:nth-child(2) { animation-delay: 0.12s; }
    .uma-header__links--open .uma-header__link:nth-child(3) { animation-delay: 0.18s; }
    .uma-header__links--open .uma-header__link:nth-child(4) { animation-delay: 0.24s; }
    .uma-header__links--open .uma-header__link:nth-child(5) { animation-delay: 0.30s; }
    .uma-header__links--open .uma-header__link:nth-child(6) { animation-delay: 0.36s; }

    .uma-header__link {
        padding: 10px 0;
        font-family: 'Platypi', serif;
        font-weight: 600;
        display: block;
        width: 100%;
        font-size: 1.4rem;
        opacity: 0;
    }

    .uma-header__link--active {
        border-bottom: none;
        color: var(--color-red);
        font-weight: 800;
    }

    .uma-header__indicator {
        display: none;
    }

    .contact-email-row {
        flex-direction: column;
        margin-top: 10px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .uma-header__clip {
        width: 118px;
        height: 78px;
        left: .6rem;
        z-index: 9997;
    }

    .uma-header__logo {
        width: 79px;
    }

    .uma-header {
        padding: 8px 10px;
    }

    .uma-hero, .uma-hero__video {
        height: 350px;
    }

    .uma-welcome {
        padding: var(--padding-box);
        flex-direction: column;
        gap: 30px;
        overflow: hidden;
    }

    .uma-welcome__left {
        min-width: auto;
    }

    .uma-welcome__title {
        font-size: 2rem;
        line-height: 2.4rem;
        margin-bottom: 20px;
    }

    .uma-activities {
        flex-direction: column;
    }

    .courses-grid {
        display: block;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 5vw;
        -webkit-overflow-scrolling: touch;
        padding-bottom: unset;
        margin-left: calc(50% - 50vw);
        width: 100vw;
        scrollbar-width: none;
    }

    .courses-grid::-webkit-scrollbar {
        display: none;
    }

    .courses-grid__track {
        display: flex;
        gap: 16px;
        padding-left: 5vw;
        padding-right: 0;
    }

    .courses-grid .course-box {
        flex: 0 0 80vw;
        scroll-snap-align: start;
        animation-name: fade-in;
    }

    .courses-grid__track::after {
        content: '';
        flex-shrink: 0;
        width: calc(5vw - 16px);
    }

    .course-top {
        flex-direction: column;
        gap: 30px;
    }

    .course-head__title {
        font-size: 1.5rem;
        text-align: left;
    }

    .course-head {
        grid-template-columns: 140px 1fr;
        grid-template-rows: auto;
    }

    .course-head__image {
        width: 140px;
        height: 140px;
    }


    h1 {
        font-size: 2rem;
        margin-top: 60px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .uma-event-box__overlay {
        height: 180px;
        padding: 12px;
    }

    .uma-event-box__day-box, .uma-event-box__hour-box {
        width: 52px;
        font-size: 0.72rem;
        padding: 4px;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .uma-event-box__title {
        font-size: 1.4rem;
    }

    .uma-event-box__location-short {
        font-size: 1rem;
    }

    .event-detail-header__overlay {
        min-height: 220px;
        padding: 15px;
    }

    .event-detail-header__title {
        font-size: 1.4rem;
        line-height: 1.8rem;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .event-detail-header__subtitle {
        font-size: 0.9rem;
    }

    .error-404__code {
        font-size: 7rem;
    }

    .error-404__clef {
        font-size: 6rem;
    }

    .partner-logos__logo {
        max-height: 55px;
    }

    .partner-logos__logo--horizontal {
        max-height: 30px;
    }

    img[src*="ministerio-asuntos"] {
        max-height: 42px;
    }

    img[src*="comune-gradara"] {
        max-height: 65px;
    }


    .partner-logos {
        padding: 30px 0;
    }

    .partner-logos::before,
    .partner-logos::after {
        width: 40px;
    }

    .uma-welcome__angels {
        width: 300%;
    }

    .uma-logo-small {
        height: 80px;
        margin: 70px auto 40px;
    }

    .follow-box__link {
        padding: 12px 15px;
    }

    .uma-hero__logo {
        width: 180px;
    }

    .uma-activity__logo {
        height: 90px;
    }

    .text-from-admin--article {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .text-from-admin--article .btn,
    .box--with-margin-top > .btn {
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    .news-grid {
        margin-top: 10px;
    }

    .news-box__inner {
        padding: 15px;
    }

    .news-box__date-container {
        height: 70px;
    }

    .news-box__date-box {
        width: 55px;
        height: 55px;
        font-size: 0.85rem;
        border-radius: 6px;
    }

    .news-box__day {
        font-size: 1.1rem;
    }

    .library-intro {
        padding-top: 0;
    }

    .callout-uma__date {
        margin-top: 10px;
        font-size: 1rem;
    }

    .paragraph {
        padding: 0 10px;
    }

    .course-infos__row {
        align-items: flex-start;
    }

    .recercare-actions {
        flex-direction: column;
        padding: 0 10px;
    }

    .recercare-actions > .btn {
        width: 100%;
        text-align: center;
    }

    .recercare-grid {
        padding: 0 10px;
    }

    .recercare-modal__download {
        display: block;
        width: 100%;
        text-align: center;
    }

    .btn--uma-activity {
        display: block;
        width: 100%;
        text-align: center;
    }

    .recercare-box {
        padding: 15px;
    }

    .recercare-box__year {
        font-size: 1.8rem;
    }

    .recercare-box__edition {
        font-size: 1.3rem;
    }

    .about-hero {
        padding: 60px 0 70px;
    }

    .about-hero__heading {
        margin-bottom: 30px;
    }

    .about-quote__text::before {
        position: static;
        display: block;
        height: 0.5em;
        font-size: 5rem;
    }

    .about-quote__text p {
        font-size: 1.1rem;
    }

    .about-quote__author {
        margin-top: 30px;
        padding-left: 50px;
    }

    .about-intro {
        margin-top: 60px;
    }

    .about-intro__text {
        font-size: 1.1rem;
    }

    .about-intro__text::first-letter {
        font-size: 4.4rem;
    }

    .about-timeline,
    .about-today {
        margin-top: 70px;
    }

    .about-timeline__list {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-left: 40px;
    }

    .about-timeline__list::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(to bottom, var(--color-blue-light), var(--color-yellow));
    }

    .about-timeline__item {
        padding-top: 0;
    }

    .about-timeline__item::before {
        top: 12px;
        left: -40px;
    }

    .about-timeline__year {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }

    .about-today__grid {
        grid-template-columns: 1fr;
    }

}
