/* ========================================
   MODERN NEWS PAGE 2025
   SEO & Mobile Optimized
   ======================================== */

/* Hero Section */
.modern-news-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    overflow: hidden;
}

.news-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Modern Breadcrumb */
.modern-breadcrumb {
    margin-bottom: 32px;
}

.modern-breadcrumb .breadcrumb {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid #e8eef5;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 0;
    gap: 4px;
}

.modern-breadcrumb .breadcrumb-item {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.modern-breadcrumb .breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: #ff5e15;
    background: rgba(255, 94, 21, 0.06);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: #002052;
    font-weight: 700;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 32, 82, 0.08) 0%, rgba(0, 32, 82, 0.04) 100%);
    border-radius: 8px;
}

.modern-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #cbd5e1;
    padding: 0 8px;
    font-size: 16px;
}

/* Hero Title */
.news-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.title-gradient {
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.title-navy {
    color: #002052;
    display: inline-block;
}

.news-hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Background Decoration */
.hero-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 94, 21, 0.08) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 32, 82, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

/* Search Section */
.modern-search-section {
    padding: 0 0 80px;
    background: #ffffff;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.search-box {
    max-width: 800px;
    margin: 0 auto;
}

.modern-search-form {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 18px;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    border: 2px solid #e8eef5;
    border-radius: 12px;
    font-size: 16px;
    color: #002052;
    background: #ffffff;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff5e15;
    box-shadow: 0 0 0 4px rgba(255, 94, 21, 0.1);
}

.search-input::placeholder {
    color: #94a3b8;
}

.clear-search {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 94, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5e15;
    text-decoration: none;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: #ff5e15;
    color: white;
}

.search-button {
    padding: 18px 36px;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.3);
}

.search-button:hover {
    gap: 14px;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.4);
}

.search-result-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 94, 21, 0.08);
    border-radius: 8px;
    color: #ff5e15;
    font-size: 14px;
    font-weight: 600;
}

/* News Grid */
.modern-news-grid {
    padding: 0 0 100px;
    background: #ffffff;
}

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

/* News Card */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e8eef5;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 32, 82, 0.12);
    border-color: #ff5e15;
}

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

/* News Card Image */
.news-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
    overflow: hidden;
    background: #f8f9fb;
}

.news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 82, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 94, 21, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* News Badge */
.news-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: #ff5e15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.4);
    z-index: 2;
}

/* News Card Content */
.news-card-content {
    padding: 28px 24px 24px;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.meta-item i {
    color: #ff5e15;
    font-size: 12px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 12px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title {
    color: #ff5e15;
}

.news-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px 0;
    min-height: 66px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Footer */
.news-footer {
    display: flex;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #e8eef5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff5e15;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.read-more i {
    font-size: 12px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 94, 21, 0.1) 0%, rgba(255, 94, 21, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.no-results-icon i {
    font-size: 48px;
    color: #ff5e15;
}

.no-results h3 {
    font-size: 28px;
    font-weight: 700;
    color: #002052;
    margin: 0 0 12px 0;
}

.no-results p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 32px 0;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    color: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.4);
    color: white;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .news-grid {
        gap: 28px;
    }
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .modern-news-hero {
        padding: 100px 0 60px;
    }
    
    .news-hero-title {
        font-size: 36px;
    }
    
    .news-hero-description {
        font-size: 16px;
    }
    
    .modern-search-section {
        padding: 0 0 60px;
    }
    
    .modern-search-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-button {
        width: 100%;
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-card-content {
        padding: 24px 20px 20px;
    }
    
    .news-title {
        font-size: 18px;
        min-height: auto;
    }
    
    .news-excerpt {
        font-size: 14px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .modern-news-hero {
        padding: 80px 0 40px;
    }
    
    .news-hero-title {
        font-size: 28px;
    }
    
    .news-hero-description {
        font-size: 15px;
    }
    
    .modern-breadcrumb .breadcrumb {
        padding: 12px 20px;
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .modern-breadcrumb .breadcrumb-item a,
    .modern-breadcrumb .breadcrumb-item.active {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .search-input {
        padding: 16px 20px 16px 48px;
        font-size: 15px;
    }
    
    .search-button {
        padding: 16px 28px;
        font-size: 15px;
    }
    
    .news-title {
        font-size: 17px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .read-more {
        font-size: 13px;
    }
}


/* ========================================
   HOMEPAGE BLOG SECTION
   ======================================== */

.blog-area {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
}

.blog-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 94, 21, 0.1);
    border-radius: 100px;
    margin-bottom: 20px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: #ff5e15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: #ff5e15;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: #002052;
    margin: 0;
}

.about-title h2 span {
    color: #ff5e15;
}

/* Blog Card */
.single-blog {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    border: 1px solid #e8eef5;
}

.single-blog:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(255, 94, 21, 0.15);
    border-color: #ff5e15;
}

.blog-thumb-link {
    display: block;
}

.blog-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 65%;
    overflow: hidden;
    background: #f8f9fb;
}

.blog-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-blog:hover .blog-thumb img {
    transform: scale(1.08);
}

.blog-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ff5e15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(255, 94, 21, 0.4);
    z-index: 2;
}

.b-content {
    padding: 28px 24px;
}

.b-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.b-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.b-meta i {
    color: #ff5e15;
    font-size: 13px;
}

.b-text {
    margin-bottom: 20px;
}

.b-text h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b-text h3 a {
    color: #002052;
    text-decoration: none;
    transition: color 0.3s ease;
}

.b-text h3 a:hover {
    color: #ff5e15;
}

.b-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff5e15;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.b-btn a:hover {
    gap: 12px;
    color: #002052;
}

.b-btn a i {
    font-size: 12px;
}

/* View All Button */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff5e15 0%, #ff8a4d 100%);
    color: white;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(255, 94, 21, 0.3);
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    gap: 16px;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 94, 21, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-area {
        padding: 60px 0;
    }
    
    .blog-title {
        margin-bottom: 40px;
    }
    
    .about-title h2 {
        font-size: 32px;
    }
    
    .single-blog {
        margin-bottom: 24px;
    }
    
    .b-content {
        padding: 24px 20px;
    }
    
    .b-text h3 {
        font-size: 18px;
        min-height: auto;
    }
}
