/* =========================================
   NEWS DETAILS HERO TITLE
========================================= */

.news-detail-title{
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: 1.05;
    max-width: 1000px;
    margin-inline: auto;
    word-break: break-word;
}
/* =========================================
   NEWS DETAILS HERO TITLE
========================================= */

.news-detail-title{
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: 1.05;
    max-width: 1000px;
    margin-inline: auto;
    word-break: break-word;
}

@media (max-width: 768px){

    .news-detail-title{
        font-size: clamp(2rem, 9vw, 3.5rem);
        line-height: 1.1;
    }

}

/* =========================================
   ABOUT TIMELINE
========================================= */

.timeline-modern {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-modern::before {
    content: '';
    position: absolute;
    left: 90px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 142, 128, 0.15);
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-year {
    min-width: 90px;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -17px;
    top: 14px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
}

.timeline-content {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    flex: 1;
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {

    .timeline-modern::before {
        left: 18px;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-year {
        min-width: 36px;
        font-size: 1.2rem;
    }

    .timeline-year::after {
        right: -12px;
        top: 7px;
    }

    .timeline-content {
        padding: 1rem;
    }
}


/* =========================================================
   ELDOHUB PARTNERS
========================================================= */

.eldohub-partners-wrap {
    width: 100%;
}

.eldohub-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.eldohub-partner-card {
    min-height: 150px;
    padding: 1.5rem;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border: 1px solid rgba(0, 72, 58, 0.1);
    border-radius: 16px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.eldohub-partner-card:hover {
    transform: translateY(-4px);

    border-color: rgba(216, 178, 54, 0.5);

    box-shadow:
        0 14px 32px rgba(23, 51, 45, 0.1);
}


/* =========================================================
   PARTNER LINK
========================================================= */

.eldohub-partner-link {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}


/* =========================================================
   PARTNER LOGO
========================================================= */

.eldohub-partner-card img {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;
    max-height: 85px;

    object-fit: contain;

    transition: transform 0.25s ease;
}

.eldohub-partner-card:hover img {
    transform: scale(1.03);
}


/* =========================================================
   PARTNER WITHOUT LOGO
========================================================= */

.eldohub-partner-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0.75rem;

    text-align: center;

    color: #667570;
}

.eldohub-partner-placeholder i {
    font-size: 2rem;
    color: var(--primary);
}

.eldohub-partner-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}


/* =========================================================
   MOBILE SWIPE HINT
========================================================= */

.eldohub-partners-swipe-hint {
    display: none;

    margin-top: 1rem;

    align-items: center;
    justify-content: center;

    gap: 0.5rem;

    color: #667570;
    font-size: 0.85rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .eldohub-partners-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .eldohub-partners-wrap {
        overflow-x: auto;

        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;

        margin-left: -0.75rem;
        margin-right: -0.75rem;

        padding: 0 0.75rem 0.75rem;
    }

    .eldohub-partners-wrap::-webkit-scrollbar {
        display: none;
    }

    .eldohub-partners-grid {
        display: flex;

        width: max-content;

        gap: 1rem;
    }

    .eldohub-partner-card {
        flex: 0 0 180px;

        width: 180px;
        min-height: 125px;

        padding: 1.25rem;
    }

    .eldohub-partner-card img {
        max-height: 70px;
    }

    .eldohub-partners-swipe-hint {
        display: flex;
    }

}
