/* ============================================
   PREMIUM NEWS PAGE - Only On Trip
   Modern, Clean, Magazine-Style Design
   ============================================ */

/* --- Variables via custom properties --- */
.premium-news {
    --news-primary: #e12d2d;
    --news-primary-dark: #c41e1e;
    --news-primary-light: rgba(225, 45, 45, 0.08);
    --news-dark: #1a1a2e;
    --news-gray-900: #1e293b;
    --news-gray-700: #334155;
    --news-gray-500: #64748b;
    --news-gray-300: #cbd5e1;
    --news-gray-100: #f1f5f9;
    --news-white: #ffffff;
    --news-radius: 16px;
    --news-radius-sm: 10px;
    --news-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.06);
    --news-shadow-hover: 0 4px 12px rgba(0,0,0,0.08), 0 12px 28px rgba(0,0,0,0.1);
    --news-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== HERO BANNER ===== */
.news-hero-banner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(15, 52, 96, 0.85) 100%);
    z-index: 1;
}

.news-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    text-align: center;
}

.news-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.news-hero-badge i {
    font-size: 14px;
    color: var(--news-primary);
}

.news-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.news-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 auto 24px;
    max-width: 500px;
    line-height: 1.6;
    font-weight: 400;
}

.news-breadcrumb {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.news-breadcrumb li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-breadcrumb li a:hover {
    color: #fff;
}

.news-breadcrumb li.active {
    color: var(--news-primary);
    font-size: 14px;
    font-weight: 500;
}

.news-breadcrumb li + li::before {
    content: '›';
    color: rgba(255, 255, 255, 0.35);
    font-size: 18px;
    margin-right: 4px;
}

/* ===== MAIN SECTION ===== */
.news-main-section {
    padding: 50px 0 80px;
    background: var(--news-gray-100);
    min-height: 60vh;
}

/* ===== FEATURED CARD ===== */
.news-featured-card {
    background: var(--news-white);
    border-radius: var(--news-radius);
    overflow: hidden;
    box-shadow: var(--news-shadow);
    margin-bottom: 36px;
    transition: var(--news-transition);
}

.news-featured-card:hover {
    box-shadow: var(--news-shadow-hover);
    transform: translateY(-3px);
}

.news-featured-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    height: 340px;
}

.news-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-featured-card:hover .news-featured-img {
    transform: scale(1.04);
}

.news-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.15) 100%);
    pointer-events: none;
}

.news-featured-body {
    padding: 28px 32px 32px;
}

.news-featured-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 10px 0 14px;
    color: var(--news-gray-900);
}

.news-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.news-featured-title a:hover {
    color: var(--news-primary);
}

.news-featured-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--news-gray-500);
    margin: 0 0 20px;
}

/* ===== CATEGORY PILL ===== */
.news-category-pill {
    display: inline-block;
    background: var(--news-primary);
    color: #fff !important;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--news-transition);
    position: relative;
    z-index: 2;
}

.news-category-pill:hover {
    background: var(--news-primary-dark);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ===== NEWS CARDS GRID ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--news-white);
    border-radius: var(--news-radius);
    overflow: hidden;
    box-shadow: var(--news-shadow);
    transition: var(--news-transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--news-shadow-hover);
    transform: translateY(-4px);
}

.news-card-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.news-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.12) 100%);
    pointer-events: none;
}

.news-card-img-wrap .news-category-pill {
    position: absolute;
    top: 14px;
    left: 14px;
}

.news-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--news-gray-900);
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.news-card-title a:hover {
    color: var(--news-primary);
}

.news-card-excerpt {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--news-gray-500);
    margin: 0 0 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== CARD META ===== */
.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--news-gray-100);
    margin-top: auto;
}

.news-meta-date {
    font-size: 13px;
    color: var(--news-gray-500);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-meta-date i {
    color: var(--news-gray-300);
    font-size: 13px;
}

.news-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--news-primary) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--news-transition);
}

.news-read-more:hover {
    color: var(--news-primary-dark) !important;
    gap: 10px;
}

.news-read-more i {
    font-size: 11px;
    transition: transform 0.3s;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* ===== EMPTY STATE ===== */
.news-empty-state {
    text-align: center;
    padding: 80px 30px;
    background: var(--news-white);
    border-radius: var(--news-radius);
    box-shadow: var(--news-shadow);
}

.news-empty-state i {
    font-size: 48px;
    color: var(--news-gray-300);
    margin-bottom: 20px;
    display: block;
}

.news-empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--news-gray-900);
    margin: 0 0 8px;
}

.news-empty-state p {
    font-size: 14px;
    color: var(--news-gray-500);
    margin: 0;
}

/* ===== PAGINATION ===== */
.news-pagination-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 28px;
    background: var(--news-white);
    border-radius: var(--news-radius);
    box-shadow: var(--news-shadow);
}

.news-pagination-info {
    font-size: 13px;
    color: var(--news-gray-500);
    font-weight: 500;
}

.news-pagination .pagination,
.news-pagination-wrap .pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-pagination .pagination .page-item .page-link,
.news-pagination-wrap .pagination .page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--news-gray-700);
    background: var(--news-gray-100);
    border: none;
    border-radius: var(--news-radius-sm);
    text-decoration: none;
    transition: var(--news-transition);
}

.news-pagination .pagination .page-item .page-link:hover,
.news-pagination-wrap .pagination .page-item .page-link:hover {
    background: var(--news-primary-light);
    color: var(--news-primary);
}

.news-pagination .pagination .page-item.active .page-link,
.news-pagination-wrap .pagination .page-item.active .page-link {
    background: var(--news-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(225, 45, 45, 0.3);
}

.news-pagination .pagination .page-item.disabled .page-link,
.news-pagination-wrap .pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

/* ===== SIDEBAR ===== */
.news-sidebar {
    position: sticky;
    top: 100px;
}

.news-sidebar-widget {
    background: var(--news-white);
    border-radius: var(--news-radius);
    padding: 28px;
    box-shadow: var(--news-shadow);
    margin-bottom: 28px;
    transition: var(--news-transition);
}

.news-sidebar-widget:hover {
    box-shadow: var(--news-shadow-hover);
}

.news-sidebar-title {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--news-gray-100);
    position: relative;
}

.news-sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--news-primary);
    border-radius: 2px;
}

.news-sidebar-title h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--news-gray-900);
    margin: 0;
    letter-spacing: -0.2px;
}

/* --- Search Widget --- */
.news-search-form {
    position: relative;
}

.news-search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--news-gray-100);
    border-radius: var(--news-radius-sm);
    padding: 4px 4px 4px 16px;
    border: 2px solid transparent;
    transition: var(--news-transition);
}

.news-search-input-wrap:focus-within {
    border-color: var(--news-primary);
    background: var(--news-white);
    box-shadow: 0 0 0 4px rgba(225, 45, 45, 0.08);
}

.news-search-icon {
    color: var(--news-gray-300);
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

.news-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--news-gray-900);
    outline: none;
    padding: 8px 0;
    font-family: inherit;
}

.news-search-input::placeholder {
    color: var(--news-gray-300);
}

.news-search-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: none;
    background: var(--news-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--news-transition);
    flex-shrink: 0;
}

.news-search-btn:hover {
    background: var(--news-primary-dark);
    transform: scale(1.05);
}

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

.news-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
    border-radius: var(--news-radius-sm);
    text-decoration: none !important;
    transition: var(--news-transition);
    margin: 0 -10px;
}

.news-recent-item:hover {
    background: var(--news-gray-100);
}

.news-recent-thumb {
    width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-recent-item:hover .news-recent-thumb img {
    transform: scale(1.1);
}

.news-recent-info {
    flex: 1;
    min-width: 0;
}

.news-recent-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--news-primary);
    display: block;
    margin-bottom: 4px;
}

.news-recent-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--news-gray-900);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.news-recent-item:hover .news-recent-title {
    color: var(--news-primary);
}

/* --- Category Widget --- */
.news-category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.news-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--news-radius-sm);
    text-decoration: none !important;
    transition: var(--news-transition);
    margin: 0 -6px;
}

.news-category-item:hover {
    background: var(--news-primary-light);
}

.news-category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--news-primary);
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--news-transition);
}

.news-category-item:hover .news-category-dot {
    opacity: 1;
    transform: scale(1.3);
}

.news-category-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--news-gray-700);
    transition: color 0.2s;
}

.news-category-item:hover .news-category-name {
    color: var(--news-primary);
}

.news-category-arrow {
    font-size: 10px;
    color: var(--news-gray-300);
    transition: var(--news-transition);
}

.news-category-item:hover .news-category-arrow {
    color: var(--news-primary);
    transform: translateX(3px);
}

/* --- Tag Cloud Widget --- */
.news-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--news-gray-700) !important;
    background: var(--news-gray-100);
    padding: 7px 16px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: capitalize;
    transition: var(--news-transition);
    border: 1px solid transparent;
}

.news-tag-pill:hover {
    background: var(--news-primary-light);
    color: var(--news-primary) !important;
    border-color: rgba(225, 45, 45, 0.15);
    transform: translateY(-2px);
}

/* --- Text Widget --- */
.news-text-widget {
    font-size: 14px;
    line-height: 1.7;
    color: var(--news-gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .news-hero-title {
        font-size: 34px;
    }

    .news-hero-content {
        padding: 40px 0;
    }

    .news-hero-banner {
        min-height: 260px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .news-featured-img-wrap {
        height: 260px;
    }

    .news-featured-body {
        padding: 22px 24px 26px;
    }

    .news-featured-title {
        font-size: 22px;
    }

    .news-main-section {
        padding: 30px 0 60px;
    }

    .news-sidebar {
        position: static;
        margin-top: 36px;
    }
}

@media (max-width: 767px) {
    .news-hero-title {
        font-size: 28px;
    }

    .news-hero-subtitle {
        font-size: 14px;
    }

    .news-hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .news-hero-content {
        padding: 30px 0;
    }

    .news-hero-banner {
        min-height: 220px;
    }

    .news-featured-img-wrap {
        height: 200px;
    }

    .news-featured-body {
        padding: 18px 18px 22px;
    }

    .news-featured-title {
        font-size: 20px;
    }

    .news-featured-excerpt {
        font-size: 14px;
    }

    .news-card-img-wrap {
        height: 180px;
    }

    .news-card-body {
        padding: 16px 18px 20px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .news-main-section {
        padding: 20px 0 50px;
    }

    .news-pagination-wrap {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .news-sidebar-widget {
        padding: 22px;
    }

    .news-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-hero-title {
        font-size: 24px;
    }

    .news-grid {
        gap: 18px;
    }

    .news-featured-img-wrap {
        height: 170px;
    }

    .news-card-img-wrap {
        height: 160px;
    }
}
