/************************************************** UPCOMING, HIGHLIGHTS & RECAP ****************************************************/
/* =========================================
   FEATURES HERO
========================================= */

.features-hero{
    position:relative;
    width:100%;
    max-width:1000px;
    margin:0 auto;
    padding:35px 20px 5px;
    text-align:center;
    overflow:hidden;
}

.features-hero::before{
    content:"";
    position:absolute;
    width:420px;
    height:420px;
    top:-180px;
    left:50%;
    transform:translateX(-50%);
    background:radial-gradient(
        circle,
        rgba(106,13,173,.25),
        transparent 70%
    );
    pointer-events:none;
    z-index:0;
}

.features-badge,
.features-icon,
.features-title,
.features-tagline,
.features-nav{
    position:relative;
    z-index:1;
}

.features-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 18px;
    border:1px solid rgba(168,85,247,.35);
    border-radius:30px;
    background:rgba(106,13,173,.16);
    color:#b9a3ff;
    font-size:.8rem;
    font-weight:600;
    letter-spacing:1.5px;
    margin-bottom:18px;
}

.features-icon{
    font-size:38px;
    line-height:1;
    margin-bottom:8px;
    color:#FFD700;
    text-shadow:
        0 0 8px rgba(255,215,0,.35),
        0 0 20px rgba(168,85,247,.35);
}

.features-title{
    margin:5px 0 8px;
    font-size:3.2rem;
    line-height:1.15;
    font-weight:800;
    letter-spacing:1px;
    background:linear-gradient(
        100deg,
        #b88cff 0%,
        #6A0DAD 35%,
        #8b35d9 52%,
        #0FFF50 78%,
        #7CFF9A 100%
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}

.features-tagline{
    max-width:650px;
    margin:0 auto;
    color:rgba(255,255,255,.72);
    font-size:1.05rem;
    line-height:1.5;
}

.upcoming-container, .highlights-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Horizontal Card */
.upcoming-card, .highlights-card  {
    background: #111;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 15px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.upcoming-card:hover, .highlights-card:hover  {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
}

.upcoming-header, .highlights-header {
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;  
}

.upcoming-title, .highlights-title {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    color: #8A00C4;
    margin: 0;
    text-align: left;
}

.upcoming-date, .highlights-date  {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: #00c853;
    margin-top: 4px;
    text-align: right;
}

.upcoming-body, .highlights-body {
    gap: 25px; 
    display:flex;
    flex-direction:column;
    align-items:center;
}

.media-container{
    width:100%;
    max-width:300px;
    max-height:450px;
    overflow:hidden;
    border-radius:8px;
    margin:0 auto 20px;
    flex:none;
}

.media-slider {
    display: flex;
    flex-wrap: nowrap;
}

.media-slide{
    width:100%;
    display:none;
    justify-content:center;
    align-items:center;
}

.media-slide.active{
    display:flex;
}

.media-slide img,
.media-slide video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.25);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #FFD700;
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 4px;
    user-select: none;
    z-index: 10;
}

.prev { left: 3px; }
.next { right: 3px; }

.upcoming-content, .highlights-content {
    flex: 1;
    display: flex;
    align-items: center;
    text-align: justify;
}

.upcoming-description, .highlights-description {
    font-family: 'Fira Sans Condensed', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
}

.weekly-recap-section {
    margin-top: 20px;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1s ease-in-out;
}

.section-heading {
    font-size: 2em;
    text-align: center;
    color: #8A00C4;
    margin-bottom: 30px;
    font-family: "Fira Sans Condensed", sans-serif;
}

.recap-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    flex-direction: row;
}

.recap-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    padding: 15px;
    width: 350px;
    height: 350px;
    background-color: #222;
    border: 2px solid #8A00C4;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.recap-title {
    font-size: 1.2rem;
    color: #8A00C4;
    margin-bottom: 8px;
}

.recap-video {
    width: 100%;
    height: auto;
    max-height: 75%;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media screen and (min-width: 769px) and (max-width: 1370px) {   
    .upcoming-title, .highlights-title {
        font-size: 1.4rem;
        margin: 0;
    }
    
    .upcoming-date, .highlights-date {
        font-size: 1.4rem;
        margin: 0; 
    }

    .upcoming-body, .highlights-body {
        flex-direction: column;
        gap: 10px;
    }

    .media-container {
        width: 100%; 
        height: auto;
    }

    .media-slide img,
    .media-slide video {
        width: 100%;
        height: auto;
    }

    .upcoming-content, .highlights-content {
        width: 100%;
    }

    .upcoming-description, .highlights-description {
        font-size: 1.1rem;
    }

    .weekly-recap-section {
        margin-top: 10px;
        padding: 10px;
    }

    .section-heading {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .recap-cards {
        justify-content: center;
        gap: 8px;
    }

    .recap-card {
        width: 60%;
        max-width: 280px;
        height: 400px;
    }

    .recap-title {
        font-size: 1.2em;
        min-height: 2.5em;
        margin-bottom: 15px;
    }

    .recap-caption {
        font-size: 0.8em;
    }

    .recap-video {
        width: 100%;
        height: auto;
        margin-bottom: 5px !important;  
    }
}

/* Mobile Styles */
@media (max-width: 768px) {   
    .upcoming-title, .highlights-title {
        font-size: 0.7rem !important;
        margin: 0;
    }
    
    .upcoming-date, .highlights-date {
        font-size: 0.7rem !important;
        margin: 0; 
    }

    .upcoming-body, .highlights-body {
        flex-direction: column; 
        gap: 10px !important;
    }

    .media-container {
        width: 100%;
        height: auto;
    }

    .media-slide img,
    .media-slide video {
        width: 100%;
        height: auto;
    }

    .media-slide.active {
        display: block;
    }

    .media-slide img,
    .media-slide video {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .upcoming-content, .highlights-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: justify;
    }

    .upcoming-description, .highlights-description {
        font-size: 0.65rem; 
        line-height: 1.2;
    }

    .prev, .next {
        font-size: 1.5rem;
        padding: 4px 8px;
    }
    
    .weekly-recap-section {
        padding: 15px 5px;
        margin-top: 5px;
    }

    .section-heading {
        font-size: 1em;
        margin-bottom: 12px;
    }

    .recap-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .recap-card {
        width: 40%;
        height: 250px;
        padding: 5px;
    }

    .recap-title {
        font-size: 0.8em;
        min-height: 3.5em !important;
    }

    .recap-caption {
        font-size: 0.6em;
    }

    .recap-video {
        height: 200px;
    }
}


/************************************************* IN THE NEWS ***************************************************/

.inthenews-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.inthenews-card{
    background-color:#222;
    border:2px solid #a855f7;
    font-family:'Fira Sans Condensed', serif;
    border-radius:10px;
    width:340px;
    min-height:500px;
    padding:15px;
    margin-top:50px;
    text-align:center;
    box-shadow:0 4px 8px rgba(0,0,0,.5);
    transition:
        transform .3s,
        box-shadow .3s;
    z-index:10;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
}

.inthenews-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
}

.card-header{
    flex:0 0 100px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    margin:0 0 10px;
}

.card-header h2{
    font-size:1.3em;
    line-height:1.2;
    color:#3b9e3b;
    margin:0;
}

.card-header p{
    font-size:1em;
    color:#ccc;
    margin:8px 0 0;
}

.card-body{
    flex:1;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    min-height:0;
}

.card-body > img{
    width:100%;
    height:300px;
    object-fit:cover;
    object-position:top;
    border-radius:10px;
    flex-shrink:0;
}

.card-body img:hover {
    opacity: 0.8;
}

.read-more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:12px;
    padding:6px 14px;
    background:#6A0DAD;
    color:#fff;
    border-radius:20px;
    font-size:.8rem;
    font-weight:600;
    text-decoration:none;
    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.read-more:hover{
    background:#7b2cbf;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:
        0 4px 12px rgba(106,13,173,.35);
}

@media screen and (max-width: 768px) {
    .spanish-blogs {
        font-size: 0.8rem;
    }

    .inthenews-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between; 
        gap: 2px; 
    }

    .inthenews-card {
        width: 48%; 
        height: 200px;
        padding: 8px; 
        border-radius: 10px;
        box-sizing: border-box; 
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 8px;
        overflow: hidden;
    }

    .card-header{
        margin-bottom: 0;
    }

    .card-header .title {
        font-size: 0.8rem;
    }

    .card-header .date {
        font-size: 0.6rem;  
    }

    .card-body img {
        width: 100%;
        height: 100px; 
        object-fit:cover;
        object-position: center;
        border-radius: 5px;
        margin-top: 0;
    }
}

@media screen and (min-width: 769px) and (max-width: 1370px) {
    .features-hero{
        padding:25px 15px 20px;
        margin-bottom:25px;
    }

    .features-icon{
        font-size:32px;
    }

    .features-title{
        font-size:2.5rem;
    }

    .features-tagline{
        font-size:.95rem;
    }

    .features-nav{
        font-size:.65rem;
    }
    
    .spanish-blogs {
        font-size: 1.2rem;
    }

    .inthenews-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px; /* Adjusted gap for better spacing */
    }

    .inthenews-card {
        width: 48%; /* Adjusted width to fit better */
        height: 400px;
        padding: 8px; 
        border-radius: 10px;
        box-sizing: border-box; 
        display: flex;
        flex-direction: column;
        margin-top: 18px;
        overflow: hidden;
    }

    .card-header .title {
        font-size: 1.1rem; 
    }

    .card-header .date {
        font-size: 1rem;
    }

    .card-body img {
        width: 100%;
        height: 150px; 
        object-fit: cover; 
        object-position: top;
        border-radius: 5px; 
        margin-top: 0; 
    }
}

@media (max-width: 768px) {
    .features-hero{
        padding:18px 10px 18px;
        margin-bottom:20px;
    }

    .features-badge{
        font-size:.6rem;
        padding:5px 13px;
        margin-bottom:12px;
    }

    .features-icon{
        font-size:28px;
        margin-bottom:5px;
    }

    .features-title{
        font-size:1.8rem;
        margin:4px 0 6px;
    }

    .features-tagline{
        font-size:.8rem;
        line-height:1.35;
        max-width:320px;
    }

    .spanish-blogs {
        font-size: 0.9rem;
    }

    .inthenews-cards {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 2px !important; 
    }

    .inthenews-card {
        width: 48%; 
        height: 300px;
        padding: 8px; 
        border-radius: 10px;
        box-sizing: border-box; 
        display: flex;
        flex-direction: column;
        margin-top: 18px;
        overflow: hidden;
    }

    .card-header .title {
        font-size: 0.7rem !important; 
        min-height: 5em !important;  
    }

    .card-header .date {
        font-size: 0.7rem !important; 
    }

    .card-body img {
        width: 100%;
        height: 200px; 
        object-fit: cover; 
        object-position: top;
        border-radius: 5px; 
        margin-top: 10px;
        bottom: 0; 
    }
}