/* Basic styling for News and Publications template */
.news-publications-container {
    padding: 0;
}

.news-publications-page-banner {
    margin-bottom: 0;
}

.news-list-section {
    max-width: 1200px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item.no-link .news-link {
    cursor: default;
}

.news-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    overflow: hidden;
    margin: auto 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-item-inner {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.news-item-inner a {
    margin: auto 0;
}

.news-image {
    width: 250px;
    max-width: 250px;
    min-width: 250px;
    height: auto;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .news-item-inner {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        text-align: center;
    }
}

.news-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-title {
    font-size: 1.4em;
    margin: 0 0 12px 0;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

.news-format {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-bottom: 15px;
    width: fit-content;
}

.news-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.news-date {
    font-size: 0.9em;
    color: #999;
    font-weight: 500;
    margin-top: auto;
    margin-bottom: 15px;
}

.news-buttons-wrapper {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.news-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #E02B20;
    color: #fff;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.news-item:hover .news-button {
    background-color: #c01f15;
    transform: translateX(5px);
}

.news-item.no-link .news-button {
    display: none;
}

.social-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    color: #fff;
}

.youtube-btn {
    background-color: #FF0000;
}

.youtube-btn:hover {
    background-color: #cc0000;
}

.facebook-btn {
    background-color: #1877F2;
}

.facebook-btn:hover {
    background-color: #145dbf;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-btn:hover {
    background: linear-gradient(45deg, #d47b2a 0%, #c74f2a 25%, #b91e34 50%, #a91b52 75%, #9a126f 100%);
}

.linkedin-btn {
    background-color: #0A66C2;
}

.linkedin-btn:hover {
    background-color: #084f96;
}

.tiktok-btn {
    background-color: #000000;
}

.tiktok-btn:hover {
    background-color: #333333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-publications-page-banner {
        padding: 3rem 0 !important;
    }

    .news-image img {
        object-fit: unset;
        width: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2em;
    }
}