/* Global Styles */
html,
body {
    font-size: 16px;
    color: var(--bs-primary);
    vertical-align: baseline;
    line-height: 26px;
    font-weight: 400;
    overflow-x: hidden;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
}

/* Spinner Styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner img {
    width: 100%;
    height: 100%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button Styles */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-anuncio {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    background: #13357b;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-anuncio:hover {
    box-shadow: inset 470px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    color: #000;
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/* Section Title Styles */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title::before,
.section-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--bs-primary) !important;
}

.section-title::before {
    right: 0;
    margin-right: -50px;
}

.section-title::after {
    left: 0;
    margin-left: -50px;
}

/* Topbar Styles */
.topbar {
    background-color: var(--bs-primary) !important;
    padding: 2px 10px 2px 20px;
    transition: 0.5s;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

.facebook-icon,
.youtube-icon {
    background-color: var(--bs-primary);
}

.facebook-icon i,
.youtube-icon i {
    color: #fff;
}

.facebook-icon:hover,
.youtube-icon:hover {
    background-color: white;
    border-color: #fff;
}

.facebook-icon:hover i {
    color: #1100ff;
}

.youtube-icon:hover i {
    color: #ff0000;
}

@media (max-width: 1200px) {
    .topbar {
        padding: 2px 5px;
    }
}

@media (max-width: 992px) {
    .topbar {
        padding: 2px 10px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 1200px) {

    html,
    body {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        font-size: 12px;
    }
}

/***** Navbar Styles ******/
/***** Navbar Styles ******/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding: 15px 15px;
    color: var(--bs-white) !important;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--bs-primary) !important;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
    font-size: 15px;
    font-weight: bold;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
    font-weight: bold;
}

.navbar-light .navbar-brand img {
    max-height: 40px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 37px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--bs-primary) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        bottom: -1px;
        left: 0;
        background: var(--bs-primary);
        transition: .5s;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        height: calc(100% + 1px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/* Media Queries Adaptadas */

@media (max-width: 300px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 11px;
        padding: 10px 10px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 35px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.8rem;
    }
}

@media (min-width: 301px) and (max-width: 576px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        padding: 12px 12px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 37px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.9rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
        padding: 13px 13px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 14px;
    }

    .navbar-light .navbar-brand img {
        max-height: 39px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
        padding: 14px 14px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 15px;
    }

    .navbar-light .navbar-brand img {
        max-height: 40px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1.1rem;
    }
}


/***** Navbar Styles End ******/

/**** Módulos Carreras Responsivo ****//* Global Styles */
html,
body {
    font-size: 16px;
    color: var(--bs-primary);
    vertical-align: baseline;
    line-height: 26px;
    font-weight: 400;
    overflow-x: hidden;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
}

/* Spinner Styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner img {
    width: 100%;
    height: 100%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button Styles */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-anuncio {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    background: #13357b;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-anuncio:hover {
    box-shadow: inset 470px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    color: #000;
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/* Section Title Styles */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title::before,
.section-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--bs-primary) !important;
}

.section-title::before {
    right: 0;
    margin-right: -50px;
}

.section-title::after {
    left: 0;
    margin-left: -50px;
}

/* Topbar Styles */
.topbar {
    background-color: var(--bs-primary) !important;
    padding: 2px 10px 2px 20px;
    transition: 0.5s;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

.facebook-icon,
.youtube-icon {
    background-color: var(--bs-primary);
}

.facebook-icon i,
.youtube-icon i {
    color: #fff;
}

.facebook-icon:hover,
.youtube-icon:hover {
    background-color: white;
    border-color: #fff;
}

.facebook-icon:hover i {
    color: #1100ff;
}

.youtube-icon:hover i {
    color: #ff0000;
}

@media (max-width: 1200px) {
    .topbar {
        padding: 2px 5px;
    }
}

@media (max-width: 992px) {
    .topbar {
        padding: 2px 10px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 1200px) {

    html,
    body {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        font-size: 12px;
    }
}

/***** Navbar Styles ******/
/***** Navbar Styles ******/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding: 15px 15px;
    color: var(--bs-white) !important;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--bs-primary) !important;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
    font-size: 15px;
    font-weight: bold;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
    font-weight: bold;
}

.navbar-light .navbar-brand img {
    max-height: 40px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 37px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--bs-primary) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        bottom: -1px;
        left: 0;
        background: var(--bs-primary);
        transition: .5s;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        height: calc(100% + 1px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/* Media Queries Adaptadas */

@media (max-width: 300px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 11px;
        padding: 10px 10px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 35px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.8rem;
    }
}

@media (min-width: 301px) and (max-width: 576px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        padding: 12px 12px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 37px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.9rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
        padding: 13px 13px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 14px;
    }

    .navbar-light .navbar-brand img {
        max-height: 39px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
        padding: 14px 14px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 15px;
    }

    .navbar-light .navbar-brand img {
        max-height: 40px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1.1rem;
    }
}

/***** Navbar Styles End ******/

/*** Single Page Hero Header End ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url(../img/Logo&Fondo/fondo-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

/*** Single Page Hero Header End ***/

/*** Boton Back to Top ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #13357b;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #fff;
    color: #13357b;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 18px;
    transition: color 0.3s;
}

.back-to-top:hover i {
    color: #13357b;
}

/*** Boton Back to Top End ***/

/***Informacion map***/
.sec-title h2 {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 15px;
}

.sec-title p {
  color: var(--bs-primary);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem); /* mínimo 0.9rem, escala con la pantalla, máximo 1.1rem */
  line-height: 1.5; /* mejora la lectura */
  text-align: justify; /* opcional, si quieres alineación elegante */
}


.sec-title ul {
    list-style: none;
    padding: 0;
}

.sec-title ul li {
    margin-top: 10px;
}

.sec-title ul li a {
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: bold;
    transition: color 0.3s;
}

.sec-title ul li a:hover {
    color: var(--bs-primary);
}

.title {
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--bs-primary);
}

.mobile-mb-50 {
    margin-bottom: 50px;
}

.mobile-mb-50 i {
    color: var(--bs-primary);
    margin-right: 10px;
}

iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rs-vertical-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sec-spacer {
    padding: 60px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4,
.col-lg-8 {
    padding: 0 15px;
}

@media (max-width: 768px) {

    .col-lg-4,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/***Informacion map End***/


/*** Img Icon ***/
.img-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}

.img-icon img {
    max-width: 50%;
    height: auto;
}

/*** Img Icon End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(19, 53, 123, .8), rgba(19, 53, 123, .8)), url(../img/Logo&Fondo/fondo.jpg);
    background-attachment: scroll;
    background-clip: initial;
    background-color: rgba(0, 0, 0, 0);
    background-origin: initial;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    max-height: 100%;
}

.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
    font-size: 14px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-white);
}

/*** Footer End ***/


/* Títulos */
h1 {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 2rem;
  color: #13357b;
}

/* Contenedor */
ul {
  --col-gap: 1.5rem;
  --row-gap: 1.5rem;
  --line-w: 0.25rem;
  display: grid;
  grid-template-columns: var(--line-w) 1fr;
  grid-auto-columns: max-content;
  column-gap: var(--col-gap);
  list-style: none;
  width: min(60rem, 95%);
  margin-inline: auto;
  padding: 0;
}

/* Línea central */
ul::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / span 20;
  background: rgb(225, 225, 225);
  border-radius: calc(var(--line-w) / 2);
}

/* Separación entre items */
ul li:not(:last-child) {
  margin-bottom: var(--row-gap);
}

/* Tarjetas */
ul li {
  grid-column: 2;
  --inlineP: 1rem;
  margin-inline: var(--inlineP);
  grid-row: span 2;
  display: grid;
  grid-template-rows: min-content min-content min-content;
}

/* Fecha */
ul li .date {
  --dateH: 2.5rem;
  height: var(--dateH);
  margin-inline: calc(var(--inlineP) * -1);

  text-align: center;
  background-color: #13357b;
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 700;

  display: grid;
  place-content: center;
  position: relative;
  border-radius: calc(var(--dateH) / 2) 0 0 calc(var(--dateH) / 2);
}

/* Flap */
ul li .date::before {
  content: "";
  width: var(--inlineP);
  aspect-ratio: 1;
  background: #13357b;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2) 100%, transparent);
  position: absolute;
  top: 100%;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Círculo de conexión */
ul li .date::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  aspect-ratio: 1;
  background: #fff;
  border: 0.25rem solid #13357b;
  border-radius: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  right: calc(100% + var(--col-gap) + var(--line-w) / 2);
}

/* Títulos y descripciones */
ul li .title,
ul li .descr {
  background: #fff;
  position: relative;
  padding-inline: 1rem;
  border-radius: 0.5rem;
}

ul li .title {
  overflow: hidden;
  padding-block: 1rem 0.5rem;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #13357b;
}

ul li .descr {
  padding-block-end: 1rem;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #444;
}

/* Sombras */
ul li .title::before,
ul li .descr::before {
  content: "";
  position: absolute;
  width: 85%;
  height: 0.4rem;
  background: rgba(0, 0, 0, 0.2);
  left: 50%;
  border-radius: 50%;
  filter: blur(3px);
  transform: translate(-50%, 50%);
}
ul li .title::before {
  bottom: calc(100% + 0.125rem);
}
ul li .descr::before {
  z-index: -1;
  bottom: 0.25rem;
}

/* Distribución en pantallas grandes */
@media (min-width: 768px) {
  ul {
    grid-template-columns: 1fr var(--line-w) 1fr;
  }
  ul::before {
    grid-column: 2;
  }
  ul li:nth-child(odd) {
    grid-column: 1;
  }
  ul li:nth-child(even) {
    grid-column: 3;
  }

  ul li:nth-child(2) {
    grid-row: 2/4;
  }

  ul li:nth-child(odd) .date::before {
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    left: 0;
  }

  ul li:nth-child(odd) .date::after {
    transform: translate(-50%, -50%);
    left: calc(100% + var(--col-gap) + var(--line-w) / 2);
  }

  ul li:nth-child(odd) .date {
    border-radius: 0 calc(var(--dateH) / 2) calc(var(--dateH) / 2) 0;
  }
}

/* Ajustes extra en móviles pequeños */
@media (max-width: 480px) {
  ul {
    --col-gap: 1rem;
    --row-gap: 1rem;
  }
  ul li .date {
    font-size: 0.85rem;
  }
  ul li .title {
    font-size: 1rem;
  }
  ul li .descr {
    font-size: 0.85rem;
  }
}
