/* === Page: News === */

/* === PAGE: NEWS === */
/* ===== FEATURED NEWS ===== */
.featured-section {
    background: var(--navy-deep);
    padding: 80px 6%;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.featured-main {
    position: relative;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.4s ease;
}

.featured-main:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.featured-image {
    height: 300px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,201,167,0.1) 0%, rgba(0,180,216,0.1) 100%);
}

.featured-image-placeholder {
    font-size: 48px;
    color: var(--teal);
    opacity: 0.3;
}

.featured-content {
    padding: 35px;
}

.news-category {
    display: inline-block;
    
    font-size: 10px;
    color: var(--teal);
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0,180,216,0.15);
    padding: 5px 12px;
    margin-bottom: 16px;
}

.featured-main h2 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.featured-main h2 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-main h2 a:hover {
    color: var(--teal);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.news-date {
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted);
    stroke-width: 1.5;
    fill: none;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Featured sidebar */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-small {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 25px;
    transition: all 0.3s ease;
    flex: 1;
}

.featured-small:hover {
    border-color: var(--teal);
    background: rgba(0,180,216,0.05);
}

.featured-small h3 {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.featured-small h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-small h3 a:hover {
    color: var(--teal);
}

/* ===== NEWS GRID ===== */
.news-section {
    background: var(--navy);
    padding: 48px 6% 80px;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    overflow: hidden;
}

.news-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.news-card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-deep) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.news-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,201,167,0.08) 0%, rgba(0,180,216,0.08) 100%);
}

.news-card-image-placeholder {
    font-size: 32px;
    color: var(--teal);
    opacity: 0.2;
}

.news-card-content {
    padding: 25px;
}

.news-card h3 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.news-card h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card h3 a:hover {
    color: var(--teal);
}

.news-card .news-excerpt {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== SIDEBAR ===== */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    padding: 30px;
}

.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h4 svg {
    width: 18px;
    height: 18px;
    stroke: var(--teal);
    stroke-width: 1.5;
    fill: none;
}

/* Tags */
.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    
    font-size: 11px;
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: rgba(0,201,167,0.1);
}

/* Categories */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item span {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.3s ease;
}

.category-item:hover span {
    color: var(--teal);
}

.category-count {
    
    font-size: 11px;
    color: var(--navy);
    background: var(--muted);
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-item:hover .category-count {
    background: var(--teal);
}

/* Recent posts */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recent-item {
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.recent-item-number {
    
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-light);
    -webkit-text-stroke: 1px var(--teal);
    line-height: 1;
    min-width: 30px;
}

.recent-item-content h5 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.recent-item:hover h5 {
    color: var(--teal);
}

.recent-item-date {
    font-size: 11px;
    color: var(--muted);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.pagination .active {
    color: var(--navy);
    background: var(--teal);
    border-color: var(--teal);
}

.pagination .dots {
    background: transparent;
    border: none;
    color: var(--muted);
}

.pagination .nav-arrow {
    width: auto;
    padding: 0 16px;
    gap: 6px;
}

.pagination .nav-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    background: linear-gradient(160deg, #0a1628 0%, #0e3630 50%, #0b2830 100%);
    padding: 80px 6%;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2,
.newsletter-content p {
    color: #fff;
}

.newsletter-content p {
    margin: 16px 0 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.newsletter-form button {
    padding: 16px 32px;
    background: var(--navy);
    color: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--navy-light);
}

/* ===== FOOTER ===== */
footer {
    background: var(--navy-deep);
    padding: 40px 6%;
}

.footer-simple {
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
.featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-sidebar {
        flex-direction: row;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-widget {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 5%;
    }
    
    .featured-sidebar {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

