/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.fnews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.fnews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    
    border-radius: 10px;
    color: white;
}

.fnews-title {
    font-size: 2.5rem;
    font-weight: 700;
}
.fnews-page-h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.3;
}

/* News Grid */
.fnews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* News Card */
.fnews-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.fnews-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.fnews-card-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

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

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

.fnews-card-content {
    padding: 20px;
    flex: 1;
}

.fnews-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.3;
}
.fnews-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.fnews-card-title a:hover {
    color: #667eea;
}

.fnews-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.875rem;
    color: #666;
}

.fnews-author, .fnews-date {
    display: flex;
    align-items: center;
}

.fnews-card-summary {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fnews-read-more {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.fnews-read-more:hover {
    color: #764ba2;
}

/* Pagination */
.fnews-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.fnews-page-btn {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.fnews-page-btn:hover {
    background: #764ba2;
}

.fnews-page-numbers {
    display: flex;
    gap: 8px;
}

.fnews-page-num {
    padding: 8px 12px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #667eea;
    transition: all 0.3s ease;
}

.fnews-page-num:hover {
    background: #667eea;
    color: white;
}

.fnews-page-active {
    background: #667eea;
    color: white;
}

/* Article Page */
.fnews-article-header {
    margin-bottom: 30px;
}

.fnews-back-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    background: white;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.fnews-back-link:hover {
    background: #667eea;
    color: white;
}

.fnews-article {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fnews-article-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.fnews-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    color: #666;
}

.fnews-article-featured-img {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 30px;
}

.fnews-article-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fnews-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

/* Video Section */
.fnews-video-section {
    margin: 40px 0;
}

.fnews-section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.fnews-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.fnews-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Gallery Section */
.fnews-gallery-section {
    margin-top: 50px;
}

.fnews-gallery-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.fnews-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.fnews-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fnews-gallery-item:hover {
    transform: scale(1.03);
}

.fnews-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.fnews-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    font-size: 0.9rem;
}

/* Lightbox */
.fnews-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.fnews-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.fnews-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.fnews-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.fnews-lightbox-prev, .fnews-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    padding: 20px;
    user-select: none;
}

.fnews-lightbox-prev {
    left: 20px;
}

.fnews-lightbox-next {
    right: 20px;
}

.fnews-lightbox-caption {
    color: white;
    padding: 20px;
    font-size: 1.1rem;
}

/* Breadcrumb Navigation */
.fnews-breadcrumb {
    padding: 12px 0;
    margin-bottom: 16px;
}
.fnews-breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}
.fnews-breadcrumb-list li::after {
    content: '›';
    margin-left: 8px;
    color: #9ca3af;
}
.fnews-breadcrumb-list li:last-child::after {
    content: '';
}
.fnews-breadcrumb-list li:last-child {
    color: #374151;
    font-weight: 500;
}
.fnews-breadcrumb-list a {
    color: #667eea;
    text-decoration: none;
}
.fnews-breadcrumb-list a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* SEO Settings Section */
.fnews-seo-section {
    margin: 24px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
}
.fnews-seo-header {
    padding: 14px 20px;
    background: #f3f4f6;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fnews-seo-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #374151;
}
.fnews-seo-header small {
    color: #9ca3af;
    font-weight: 400;
}
.fnews-seo-fields {
    padding: 20px;
    transition: max-height 0.3s ease;
}
.fnews-seo-collapsed {
    display: none;
}
.fnews-char-count {
    float: right;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 400;
}

/* Google Search Preview */
.fnews-seo-preview {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}
.fnews-seo-preview h4 {
    margin: 0 0 10px 0;
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 600;
}
.fnews-seo-preview-box {
    padding: 16px;
    background: #fff;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}
.fnews-seo-preview-title {
    font-size: 1.125rem;
    color: #1a0dab;
    line-height: 1.3;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fnews-seo-preview-url {
    font-size: 0.8125rem;
    color: #006621;
    margin-bottom: 4px;
}
.fnews-seo-preview-desc {
    font-size: 0.8125rem;
    color: #545454;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* SEO Header Right (score badge) */
.fnews-seo-header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.fnews-seo-score-badge {
    background: #667eea;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Auto Generate Buttons */
.fnews-btn-autogen {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #667eea;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
    transition: all 0.2s;
}
.fnews-btn-autogen:hover {
    background: #667eea;
    color: #fff;
}
.fnews-seo-actions {
    margin-bottom: 20px;
    text-align: center;
}
.fnews-btn-autogen-all {
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.fnews-btn-autogen-all:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
}
.fnews-seo-actions small {
    display: block;
    margin-top: 6px;
    color: #9ca3af;
    font-size: 0.75rem;
}

/* SEO Score Panel */
.fnews-seo-score-panel {
    margin-bottom: 20px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}
.fnews-seo-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.875rem;
}
.fnews-seo-score-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}
.fnews-seo-score-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease, background 0.3s;
}
.fnews-seo-score-good { background: linear-gradient(90deg, #22c55e, #16a34a); }
.fnews-seo-score-ok { background: linear-gradient(90deg, #f59e0b, #d97706); }
.fnews-seo-score-poor { background: linear-gradient(90deg, #ef4444, #dc2626); }

/* SEO Tips */
.fnews-seo-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fnews-seo-tips li {
    padding: 4px 0 4px 20px;
    font-size: 0.8125rem;
    color: #6b7280;
    position: relative;
}
.fnews-seo-tips li::before {
    content: '\\26A0';
    position: absolute;
    left: 0;
    color: #f59e0b;
}
.fnews-seo-tips .fnews-seo-tip-good::before {
    content: '\\2705';
    color: #22c55e;
}

/* Admin Styles */
.fnews-admin-login {
    max-width: 400px;
    margin: 100px auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fnews-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.fnews-admin-actions {
    display: flex;
    gap: 10px;
}

.fnews-admin-table-wrapper {
    overflow-x: auto;
}

.fnews-admin-table {
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fnews-admin-table thead {
    background: #667eea;
    color: white;
}

.fnews-admin-table th,
.fnews-admin-table td {
    padding: 15px;
    text-align: left;
}

.fnews-admin-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.fnews-admin-table tbody tr:hover {
    background: #f9f9f9;
}

/* Forms */
.fnews-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fnews-form-group {
    margin-bottom: 20px;
}

.fnews-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.fnews-input,
.fnews-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.fnews-input:focus,
.fnews-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.fnews-textarea {
    resize: vertical;
    font-family: inherit;
}

.fnews-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Buttons */
.fnews-btn-primary,
.fnews-btn-secondary,
.fnews-btn-danger,
.fnews-btn-small {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.fnews-btn-primary {
    background: #667eea;
    color: white;
}

.fnews-btn-primary:hover {
    background: #764ba2;
}

.fnews-btn-secondary {
    background: #6c757d;
    color: white;
}

.fnews-btn-secondary:hover {
    background: #5a6268;
}

.fnews-btn-danger {
    background: #dc3545;
    color: white;
}

.fnews-btn-danger:hover {
    background: #c82333;
}

.fnews-btn-small {
    padding: 6px 12px;
    font-size: 0.875rem;
}

/* Alerts */
.fnews-alert-error,
.fnews-alert-success {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.fnews-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.fnews-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Status badges */
.fnews-status-published {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
}

.fnews-status-draft {
    background: #ffc107;
    color: #333;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
}

/* Existing gallery thumbnails */
.fnews-existing-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.fnews-gallery-thumb {
    text-align: center;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
}

.fnews-gallery-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 8px;
}

.fnews-gallery-thumb p {
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fnews-container {
        padding: 15px;
    }

    .fnews-title {
        font-size: 2rem;
    }

    .fnews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fnews-article {
        padding: 20px;
    }

    .fnews-article-title {
        font-size: 1.8rem;
    }

    .fnews-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .fnews-admin-header {
        flex-direction: column;
        gap: 15px;
    }

    .fnews-form-actions {
        flex-direction: column;
    }

    .fnews-lightbox-prev {
        left: 10px;
    }

    .fnews-lightbox-next {
        right: 10px;
    }
}
/* Add these new styles to your existing news-styles.css */

/* Article Page Layout with Sidebar */
.fnews-article-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.fnews-article-main {
    min-width: 0; /* Prevent grid overflow */
}

/* Right Sidebar for Other News */
.fnews-sidebar {
    position: sticky;
    top: 20px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fnews-sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

/* Sidebar News Cards */
.fnews-sidebar-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fnews-sidebar-card {
    display: flex;
    gap: 12px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: transform 0.2s ease;
}

.fnews-sidebar-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fnews-sidebar-card:hover {
    transform: translateX(-3px);
}

.fnews-sidebar-card-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

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

.fnews-sidebar-card:hover .fnews-sidebar-card-image img {
    transform: scale(1.1);
}

.fnews-sidebar-card-content {
    flex: 1;
    min-width: 0;
}

.fnews-sidebar-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.fnews-sidebar-card-title:hover {
    color: #667eea;
}

.fnews-sidebar-card-date {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 6px;
}

.fnews-sidebar-card-summary {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fnews-sidebar-view-all {
    display: block;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fnews-sidebar-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Enhanced Gallery Section */
.fnews-gallery-section {
    margin-top: 50px;
}

.fnews-gallery-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.fnews-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.fnews-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fnews-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.fnews-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.fnews-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px 10px 10px;
    font-size: 0.85rem;
    line-height: 1.3;
}

/* Video Section Enhancement */
.fnews-video-section {
    margin: 40px 0;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
}

.fnews-section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fnews-article-container {
        grid-template-columns: 1fr;
    }
    
    .fnews-sidebar {
        position: static;
        order: 2;
    }
    
    .fnews-article-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .fnews-sidebar {
        padding: 20px;
    }
    
    .fnews-sidebar-card {
        flex-direction: column;
    }
    
    .fnews-sidebar-card-image {
        width: 100%;
        height: 180px;
    }
    
    .fnews-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .fnews-gallery-item img {
        height: 150px;
    }
}

/* Add these styles to your news-styles.css file */


/* Search Styles */
.fnews-search-form {
    margin-top: 2rem;
    width: 100%;
}

.fnews-search-wrapper {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.fnews-search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border: 2px solid #788eba;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s ease;
    background-color: #fff;
}

.fnews-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.fnews-search-input::placeholder {
    color: #9ca3af;
}

.fnews-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fnews-search-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.fnews-search-btn:active {
    transform: translateY(0);
}

.fnews-search-icon {
    width: 18px;
    height: 18px;
}

/* Search Results Info */
.fnews-search-results-info {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1e40af;
    text-align: center;
    font-size: 0.95rem;
}

.fnews-clear-search {
    margin-left: 0.5rem;
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 500;
}

.fnews-clear-search:hover {
    color: #2563eb;
}

/* No Results State */
.fnews-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.fnews-no-results-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    opacity: 0.3;
}

.fnews-no-results h2 {
    font-size: 1.5rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.fnews-no-results p {
    font-size: 1rem;
    color: #6b7280;
}

.fnews-no-results a {
    color: #3b82f6;
    text-decoration: underline;
    font-weight: 500;
}

.fnews-no-results a:hover {
    color: #2563eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fnews-search-wrapper {
        flex-direction: column;
    }

    .fnews-search-btn {
        justify-content: center;
    }

    .fnews-search-results-info {
        font-size: 0.875rem;
    }
}

@media (max-width: 575px) {
    .fnews-container {
        padding: 10px;
    }

    .fnews-title {
        font-size: 1.6rem;
    }

    .fnews-grid {
        gap: 15px;
    }

    .fnews-card-content {
        padding: 12px;
    }

    .fnews-card-title {
        font-size: 1.1rem;
    }

    .fnews-card-image {
        height: 160px;
    }

    .fnews-article {
        padding: 15px;
    }

    .fnews-article-title {
        font-size: 1.3rem;
    }

    .fnews-article-meta {
        flex-direction: column;
        gap: 5px;
    }

    .fnews-section-title {
        font-size: 1.4rem;
    }

    .fnews-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }

    .fnews-gallery-item img {
        height: 120px;
    }

    .fnews-sidebar {
        padding: 15px;
    }

    .fnews-sidebar-title {
        font-size: 1.2rem;
    }

    .fnews-sidebar-card-image {
        height: 150px;
    }

    .fnews-pagination {
        gap: 5px;
    }

    .fnews-page-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .fnews-page-num {
        padding: 6px 8px;
        font-size: 0.85rem;
    }

    .fnews-lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }

    .fnews-lightbox-prev,
    .fnews-lightbox-next {
        font-size: 25px;
        padding: 10px;
    }

    .fnews-video-section {
        padding: 15px;
    }
}