/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Recent News Events Shortcode Styles */
.eutelsat-news-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eutelsat-container {
    margin: 0 auto;
    width: 100%;
}

.eutelsat-section-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.eutelsat-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.eutelsat-blog-card {
    border-radius: 0 20px 0 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.eutelsat-blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #ddd, #eee);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.eutelsat-blog-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.eutelsat-blog-image:not(:has(img))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(240, 240, 240, 0.8) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(240, 240, 240, 0.8) 75%),
        linear-gradient(45deg, 
        rgba(240, 240, 240, 0.8) 25%, 
        transparent 25%, 
        transparent 75%, 
        rgba(240, 240, 240, 0.8) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.eutelsat-blog-content {
    padding: 30px 20px 30px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid black;
}

.eutelsat-blog-tag {
    display: inline-block;
    color: #172B4D;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.eutelsat-blog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #172B4D;
    margin-bottom: 16px;
    line-height: 1.3;
}

.eutelsat-blog-description {
    color: #172B4D;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.eutelsat-learn-more-btn {
    background: #172B4D;
    color: white !important;
    border: none;
    padding: 12px 38px;
    border-top-right-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    align-self: flex-start;
    margin-top: auto;
}

.eutelsat-learn-more-btn:hover {
    background: #34495e;
    transform: translateX(2px);
    color: white !important;
}

.eutelsat-learn-more-btn:hover::after {
    transform: translateX(4px);
}

.eutelsat-learn-more-text {
    font-family: var(--e-global-typography-a654d2e-font-family), Sans-serif;
    padding-right: 20px;
}
.eutelsat-learn-more-icon {
   width: 10px; 
   display: flex;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .eutelsat-news-section {
        padding: 60px 20px;
    }

    .eutelsat-section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .eutelsat-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .eutelsat-blog-content {
        padding: 24px;
    }

    .eutelsat-blog-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .eutelsat-section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .eutelsat-blog-content {
        padding: 20px;
    }
}