/**
 * Featured News Shortcode Styles
 * Matches the design from the provided screenshot
 */

.featured-news-container {
    width: 100%;
    max-width: 1216px;
    margin: 0 auto;
    margin-left: 0;
    padding: 40px 0px;
}

.featured-news-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    min-height: 400px;
}

/* Content Section - Left Side */
.featured-news-content {
    flex: 1;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Category Badge */
.featured-news-badge {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #1A1919;
    margin-bottom: 20px;
}

/* Main Title */
.featured-news-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
    color: #2D3748;
    margin: 0 0 20px 0;
    max-width: 100%;
}

/* Date */
.featured-news-date {
    font-size: 16px;
    line-height: 28px;;
    font-weight: 350;
    color: #1A1919;
    margin-bottom: 16px;
}

/* Excerpt */
.featured-news-excerpt {
    font-size: 16px;
    line-height: 24px;
    font-weight: 350;
    color: #1A1919;
    margin-bottom: 30px;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA Button */
.featured-news-button {
    display: inline-block;
    background-color: #00A479;
    color: white;
    font-size: 16px;
    font-weight: 400;
    padding: 11px 20px;
    line-height: 26px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.featured-news-button:hover {
    background-color: #00A479;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: white;
}

.featured-news-button:focus,
.featured-news-button:visited {
    color: white;
    text-decoration: none;
}

/* Image Section - Right Side */
.featured-news-image {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.featured-news-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    margin-top: 50px;
}

/* Placeholder for missing images */
.featured-news-placeholder {
    width: 100%;
    height: 300px;
    background-color: #F7FAFC;
    border: 2px dashed #E2E8F0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    font-size: 16px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .featured-news-wrapper {
        gap: 40px;
    }
    
    .featured-news-content {
        max-width: 55%;
    }
    
    .featured-news-image {
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    .featured-news-title {
        font-size: 40px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .featured-news-container {
        padding: 30px 16px;
    }
    
    .featured-news-wrapper {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
    
    .featured-news-content {
        max-width: 100%;
        order: 2;
    }
    
    .featured-news-image {
        flex: 1;
        max-width: 100%;
        order: 1;
    }
    
    .featured-news-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .featured-news-excerpt {
        font-size: 16px;
        margin-bottom: 24px;
        font-weight: 400;
    }
    
    .featured-news-button {
        padding: 14px 28px;
        font-size: 16px;
        width: auto;
        text-align: center;
        font-weight: 500;
    }
    
    .featured-news-img {
        max-height: 250px;
    }

    .featured-news-date {
        font-weight: 400;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .featured-news-container {
        padding: 20px 12px;
    }
    
    .featured-news-title {
        font-size: 28px;
    }
    
    .featured-news-badge {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .featured-news-button {
        width: 100%;
        text-align: center;
        justify-self: stretch;
    }
} 