.home-publica {
    background: #f4f7fb;
    min-height: 300px;
}

.home-publica img {
    max-width: 100%;
}

.home-hero {
    background: #101826;
}

.home-hero .carousel-inner > .item {
    height: 375px; /* 25 % menos que los 500 px originales */
    overflow: hidden;
}

.home-hero .carousel-inner > .item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 18, 34, .88) 0%, rgba(7, 18, 34, .48) 52%, rgba(7, 18, 34, .12) 100%);
}

.home-hero .carousel-caption {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 8%;
    width: min(720px, 82%);
    padding: 0;
    text-align: left;
    transform: translateY(-50%);
    text-shadow: none;
}

.home-hero-kicker,
.home-section-kicker {
    display: block;
    margin-bottom: 7px;
    color: #2476d9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.home-hero-kicker {
    color: #79b8ff;
}

.home-hero h1,
.home-hero h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
}

.home-hero-subtitle {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.55;
}

.home-hero-actions {
    margin-top: 25px;
}

.home-hero-button {
    padding: 11px 20px;
    border: 2px solid #fff;
    border-radius: 7px;
    background: #fff;
    color: #142238;
    font-weight: 800;
    transition: background .2s ease, color .2s ease;
}

.home-hero-button:hover,
.home-hero-button:focus {
    background: transparent;
    color: #fff;
}

.home-hero .carousel-indicators {
    bottom: 22px;
}

.home-hero .carousel-indicators li,
.home-news-carousel .carousel-indicators li {
    width: 28px;
    height: 4px;
    margin: 0 3px;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .48);
}

.home-hero .carousel-indicators .active,
.home-news-carousel .carousel-indicators .active {
    background: #fff;
}

.home-hero .carousel-control,
.home-news-carousel .carousel-control {
    width: 7%;
    background: none;
    opacity: .8;
    text-shadow: none;
}

.home-carousel-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 36px;
    line-height: 1;
    transform: translate(-50%, -50%);
}

.home-container {
    padding-top: 42px;
    padding-bottom: 54px;
}

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

.home-section:last-child {
    margin-bottom: 0;
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.home-section-heading h2 {
    margin: 0;
    color: #182235;
    font-size: 30px;
    font-weight: 800;
}

.home-live-kicker {
    color: #e83d4e;
}

.home-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    border-radius: 17px;
    background: #e8f1fc;
    color: #195fae;
    font-weight: 800;
}

.home-news {
    padding: 24px;
    border: 1px solid rgba(24, 34, 53, .07);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(22, 34, 54, .16);
}

.home-news .home-section-heading {
    margin-bottom: 18px;
}

.home-news-carousel {
    overflow: hidden;
    border-radius: 16px;
    background: #101a2a;
    box-shadow: 0 10px 26px rgba(10, 20, 36, .18);
}

.home-news-item,
.home-news-row,
.home-news-image-column,
.home-news-content-column {
    min-height: 380px;
}

.home-news-row {
    margin: 0;
}

.home-news-image-column,
.home-news-content-column {
    padding: 0;
}

.home-news-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.home-news-content-column {
    display: flex;
    align-items: center;
}

.home-news-content {
    padding: 44px 52px;
    color: #fff;
}

.home-news-content time {
    color: #8dbdf4;
    font-size: 13px;
    font-weight: 700;
}

.home-news-content h3 {
    margin: 12px 0 15px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.home-news-content p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.home-news-carousel .carousel-indicators {
    right: 52px;
    bottom: 22px;
    left: auto;
    width: auto;
    margin: 0;
}

.home-news-carousel .left.carousel-control {
    left: 0;
}

.home-news-carousel .right.carousel-control {
    right: 0;
}

.home-event-card {
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e3e9f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(24, 34, 53, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 32px rgba(24, 34, 53, .11);
}

.home-event-card.is-live {
    border-top: 4px solid #e83d4e;
}

.home-event-row {
    display: flex;
    margin: 0;
}

.home-event-image-column,
.home-event-content-column {
    padding: 0;
}

.home-event-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 260px;
    padding: 18px;
    background: #fff;
}

.home-event-image-wrap img {
    display: block;
    width: 100%;
    height: 260px;
    min-height: 0;
    object-fit: contain;
    object-position: center;
}

.home-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 20px;
    background: #e83d4e;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(232, 61, 78, .3);
}

.home-live-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: home-live-pulse 1.2s infinite;
}

@keyframes home-live-pulse {
    50% { opacity: .35; }
}

.home-event-content {
    padding: 28px 32px;
}

.home-event-date {
    margin: 0 0 9px;
    color: #2476d9;
    font-size: 13px;
    font-weight: 800;
}

.home-event-content h3 {
    margin: 0 0 14px;
    color: #172237;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.home-event-description {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: #5c6678;
    font-size: 15px;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.home-event-actions {
    margin-top: 5px;
}

.home-btn-secondary,
.home-btn-live {
    border-radius: 7px;
    font-weight: 700;
}

.home-btn-secondary {
    border: 1px solid #2476d9;
    background: transparent;
    color: #2476d9;
}

.home-btn-secondary:hover,
.home-btn-secondary:focus {
    background: #2476d9;
    color: #fff;
}

.home-news-content .home-btn-secondary {
    border-color: rgba(255, 255, 255, .65);
    color: #fff;
}

.home-news-content .home-btn-secondary:hover,
.home-news-content .home-btn-secondary:focus {
    border-color: #fff;
    background: #fff;
    color: #101a2a;
}

.home-courts {
    margin-top: 23px;
    padding-top: 18px;
    border-top: 1px solid #e7ebf1;
}

.home-courts p {
    margin-bottom: 10px;
    color: #4d586a;
    font-size: 13px;
    font-weight: 700;
}

.home-court-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-btn-live {
    border: 0;
    background: #e83d4e;
    color: #fff;
}

.home-btn-live:hover,
.home-btn-live:focus {
    background: #ca2637;
    color: #fff;
}

.home-past-grid .home-event-card {
    min-height: 225px;
}

.home-past-grid .home-event-row {
    height: 100%;
}

.home-past-grid .home-event-image-wrap {
    min-height: 225px;
}

.home-past-grid .home-event-image-wrap img {
    height: 225px;
    min-height: 0;
}

.home-past-grid .home-event-content {
    padding: 22px 24px;
}

.home-past-grid .home-event-content h3 {
    font-size: 19px;
}

.home-past-grid .home-event-description {
    -webkit-line-clamp: 3;
}

@media (max-width: 767px) {
    .home-hero .carousel-inner > .item {
        height: 315px; /* 25 % menos que los 420 px originales */
    }

    .home-hero .carousel-caption {
        left: 24px;
        width: calc(100% - 48px);
    }

    .home-hero h1,
    .home-hero h2 {
        font-size: 36px;
    }

    .home-hero-subtitle {
        font-size: 16px;
    }

    .home-hero-actions {
        margin-top: 20px;
    }

    .home-container {
        padding-top: 30px;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }

    .home-news {
        padding: 16px;
        border-radius: 16px;
    }

    .home-news-item,
    .home-news-row,
    .home-news-image-column,
    .home-news-content-column {
        min-height: 0;
    }

    .home-news-item img {
        height: 250px;
    }

    .home-news-content {
        padding: 30px 28px 58px;
    }

    .home-news-content h3 {
        font-size: 25px;
    }

    .home-news-carousel .carousel-indicators {
        right: auto;
        left: 28px;
    }

    .home-event-row {
        display: block;
    }

    .home-event-image-wrap,
    .home-past-grid .home-event-image-wrap {
        min-height: 230px;
        max-height: none;
    }

    .home-event-image-wrap img,
    .home-past-grid .home-event-image-wrap img {
        height: 230px;
        min-height: 0;
        max-height: 230px;
        object-fit: contain;
    }

    .home-event-content {
        padding: 24px;
    }

    .home-event-content h3 {
        font-size: 21px;
    }
}
