/* Professional Blog Design - Modern, Clean, and Elegant */

/* CSS Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

a {
    color: #3182ce;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #2c5282;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header - TechCrunch Inspired */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    display: none;
}

.search-form { display:flex; align-items:center; gap:0.5rem; }

.search-input { width: 520px; padding: 0.5rem 0; border: none; border-bottom: 2px solid #e2e8f0; border-radius: 0; background: transparent; color:#e2e8f0; }
.search-input::placeholder{ color:#cbd5e1; }

.search-input:focus { outline:none; border-color:#10b981; color: #1a202c; }
.search-input:not(:placeholder-shown) { color: #1a202c; }
.search-input:focus + .search-btn svg,
.search-input:not(:placeholder-shown) + .search-btn svg,
.search-open .search-btn svg,
.search-open #searchClose svg { fill: #1a202c; }

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
}

/* Show search when toggled */
.search-box.show { display: block; }

.admin-link, .logout-link, .login-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.admin-link:hover, .logout-link:hover, .login-link:hover {
    color: #3182ce;
    background: #f7fafc;
}

.main-nav { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:0; }

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    color: #1a202c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #3182ce;
}

.nav-topics {
    display: none;
}

.topic-link {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}
/* Nav actions */
.nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.icon-btn { background: none; border: none; color: #1a202c; cursor: pointer; padding: 6px; border-radius: 6px; }
.icon-btn:hover { background: #f1f5f9; }
.icon-btn span { display:block; width:18px; height:2px; background:#1a202c; margin:3px 0; }
.nav-sep { color:#cbd5e1; margin: 0 0.25rem; }

/* Search overlay behavior: when search is open, hide nav links */
.search-open .nav-links { display: none; }
    .search-open .search-box { 
        display: flex; 
        width: 100%; 
        justify-content: flex-end;
        align-items: center;
    }
.search-open #searchToggle { display: none; }
.search-open #searchClose { 
    display: inline-block; 
    margin-left: 0.5rem;
}

/* Mega menu */
.mega-menu { display:none; position: absolute; left:0; right:0; top:64px; background:#1f8a3b; color:#fff; padding:2rem 0; box-shadow:0 8px 24px rgba(0,0,0,0.15); z-index:999; }
.mega-menu.show { display:block; }
.mega-grid { display:grid; grid-template-columns: 1fr 1fr; gap:2rem; }
.mega-col h4 { font-size:1rem; font-weight:700; margin:0 0 1rem 0; }
.mega-col a { display:block; color:#e6ffed; text-decoration:none; padding:6px 0; }
.mega-col a:hover { color:#ffffff; text-decoration:underline; }

.topic-link:hover {
    color: #3182ce;
    background: #f7fafc;
}


.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #1e3a8a;
    transition: all 0.3s ease;
}

/* Desktop mega menu hamburger styling */
.icon-btn#megaToggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #1e3a8a;
    margin: 3px 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hide desktop mega toggle on mobile to avoid double hamburgers */
@media (max-width: 768px) {
    #megaToggle { display: none; }
}

/* Main Content Layout */
.main-content {
    min-height: calc(100vh - 200px);
}

/* TechCrunch-Inspired Layout - Based on Images */
.featured-section {
    background: #ffffff;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* main, secondary column, headlines */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-featured {
    grid-column: 1;
}

.featured-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.main-card {
    height: 400px;
}

.main-card .card-image {
    height: 100%;
    overflow: hidden;
}

.main-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #ffffff;
    padding: 2rem;
}

.card-overlay h1 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.5rem 0;
}

.card-overlay h1 a {
    color: #ffffff;
    text-decoration: none;
}

.card-overlay h1 a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.card-overlay h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.card-overlay h3 a {
    color: #ffffff;
    text-decoration: none;
}

.card-overlay h3 a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.card-meta {
    margin-bottom: 0.5rem;
}

.category-tag {
    background: rgba(255, 255, 255, 0.9);
    color: #1a202c;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-author {
    color: #ffffff;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.secondary-featured {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Featured Top Headlines column */
.featured-headlines {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    align-self: start;
}

.featured-headlines h3 {
    margin: 0 0 0.75rem 0;
}

.secondary-card {
    height: 190px;
}

.secondary-card .card-image {
    height: 100%;
    overflow: hidden;
}

.secondary-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secondary-card .card-overlay {
    padding: 1.5rem;
}

.secondary-card .card-overlay h3 {
    font-size: 1rem;
    margin: 0.25rem 0;
}

/* Latest News Section - TechCrunch Style */
.latest-news-section {
    background: #ffffff;
    padding: 3rem 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.see-more-btn {
    background: #ffffff;
    color: #3182ce;
    border: 2px solid #3182ce;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    background: #3182ce;
    color: #ffffff;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-meta {
    margin-bottom: 0.5rem;
}

.news-category {
    background: #3182ce;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.news-content h3 a {
    color: #1a202c;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #3182ce;
}

.news-author {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Sidebar - TechCrunch Style */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* Top Headlines Widget */
.top-headlines h3 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 700;
}

.headlines-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.headline-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.headline-number {
    background: #3182ce;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.headline-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.headline-content h4 a {
    color: #1a202c;
    text-decoration: none;
}

.headline-content h4 a:hover {
    color: #3182ce;
}

/* Most Popular Widget */
.most-popular h3 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 700;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.popular-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.25rem 0;
}

.popular-item h4 a {
    color: #1a202c;
    text-decoration: none;
}

.popular-item h4 a:hover {
    color: #3182ce;
}

.popular-meta {
    display: flex;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: #4a5568;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.2s ease;
}

.category-link:hover {
    color: #3182ce;
}

.category-count {
    background: #f1f5f9;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    background: #f1f5f9;
    color: #4a5568;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #3182ce;
    color: #ffffff;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.pagination-btn {
    background: #3182ce;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background 0.2s ease;
}

.pagination-btn:hover {
    background: #2c5282;
}

.pagination-info {
    color: #6b7280;
    font-weight: 500;
}

/* Additional Pages Styles */
.categories-page, .about-page, .contact-page {
    padding: 3rem 0;
    background: #f8fafc;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-top: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.about-section p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.feature-list li:last-child {
    border-bottom: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.6;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3182ce;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.involvement-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.involvement-link {
    color: #3182ce;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    transition: color 0.2s ease;
}

.involvement-link:hover {
    color: #2c5282;
}

/* Categories Page */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.category-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.category-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.category-header h3 a {
    color: #1a202c;
    text-decoration: none;
}

.category-header h3 a:hover {
    color: #3182ce;
}

.category-count {
    background: #3182ce;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-description {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-actions {
    margin-top: 1.5rem;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input[type="file"] {
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4a5568;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #2c5282;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.faq-item p {
    font-size: 0.875rem;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

/* Search Results */
.search-results {
    padding: 3rem 0;
    background: #f8fafc;
}

.search-form-container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 0.5rem;
}

.search-input-group .search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

.search-input-group .search-btn {
    background: #3182ce;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-input-group .search-btn:hover {
    background: #2c5282;
}

.search-info {
    color: #6b7280;
    font-size: 0.875rem;
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-result-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-result-item.featured-result {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.search-result-item:not(.featured-result) {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.result-image {
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.featured-result .result-image {
    height: 200px;
}

.search-result-item:not(.featured-result) .result-image {
    width: 120px;
    height: 80px;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-content {
    flex: 1;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.result-category {
    background: #3182ce;
    color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-date {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.result-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.featured-result .result-content h3 {
    font-size: 1.25rem;
}

.result-content h3 a {
    color: #1a202c;
    text-decoration: none;
}

.result-content h3 a:hover {
    color: #3182ce;
}

.result-content p {
    color: #4a5568;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.result-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.no-results, .no-categories, .error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.no-results h3, .no-categories h3, .error-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.no-results p, .no-categories p, .error-message p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.search-suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.search-suggestions h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 0.25rem 0;
    color: #4a5568;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border: 1px solid #c3e6cb;
}

.success-message h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
}

.success-message p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .headlines-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-item.featured-news {
        grid-template-columns: 1fr;
    }
    
    .secondary-card {
        flex-direction: column;
    }
    
    .secondary-card .card-image {
        width: 100%;
        height: 150px;
    }
    
    .search-input {
        width: 200px;
    }
    
    .nav-topics {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-item.featured-result {
        grid-template-columns: 1fr;
    }
    
    .search-input-group {
        flex-direction: column;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #3182ce;
    color: white;
}

.btn-primary:hover {
    background: #2c5282;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(49, 130, 206, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    margin: 3rem 0;
    align-items: start;
}

/* Featured Posts */
.featured-posts {
    margin-bottom: 4rem;
}

.featured-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.featured-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.featured-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.featured-post .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.featured-post:hover .post-image img {
    transform: scale(1.05);
}

.featured-post .post-content {
    padding: 1.5rem;
}

.featured-post .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #718096;
    flex-wrap: wrap;
}

.featured-post .post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post .reading-time {
    color: #718096;
    font-size: 0.875rem;
}

.featured-post h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-post h3 a {
    color: #1a202c;
    text-decoration: none;
}

.featured-post h3 a:hover {
    color: #3182ce;
}

.featured-post p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.featured-post .post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #718096;
}

/* Search and Filters */
.search-section {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid #e2e8f0;
}

.search-bar {
    margin-bottom: 1.5rem;
}

.search-bar form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
}

.search-bar input:focus {
    border-color: #3182ce;
}

.search-bar button {
    padding: 12px 20px;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #2c5282;
}

.filters {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.875rem;
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease;
    background: white;
    font-size: 0.875rem;
}

.filter-group select:focus {
    border-color: #3182ce;
}

/* Posts Grid */
.posts-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a202c;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.post-card .post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.post-card .post-content {
    padding: 1.5rem;
}

.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #718096;
    flex-wrap: wrap;
}

.post-card .post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card .reading-time {
    color: #718096;
    font-size: 0.875rem;
}

.post-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-card h3 a {
    color: #1a202c;
    text-decoration: none;
}

.post-card h3 a:hover {
    color: #3182ce;
}

.post-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag:hover {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #718096;
}

.read-more {
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2c5282;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
    background: #f7fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.sidebar-widget h3 {
    margin: 0 0 1.5rem 0;
    color: #1a202c;
    font-size: 1.25rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.75rem;
}

.popular-posts li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.popular-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-posts a {
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.popular-posts a:hover {
    color: #3182ce;
}

.popular-posts .views {
    font-size: 0.75rem;
    color: #718096;
}

.categories li {
    margin-bottom: 0.5rem;
}

.categories a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.categories a:hover {
    background: #f7fafc;
    border-color: #e2e8f0;
    color: #3182ce;
}

.categories .count {
    background: #e2e8f0;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud .tag {
    background: #f7fafc;
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.tag-cloud .tag:hover {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
    transform: translateY(-2px);
}

/* Single Post Styles */
.single-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.post-featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header {
    padding: 3rem 3rem 2rem 3rem;
    border-bottom: 1px solid #e2e8f0;
}

.post-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    line-height: 1.2;
}

.post-header .post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-header .post-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-header .reading-time,
.post-header .views {
    color: #718096;
    font-size: 0.875rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.post-content {
    padding: 3rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #1a202c;
    margin: 2.5rem 0 1.5rem 0;
}

.post-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content h4 {
    font-size: 1.25rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #4a5568;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.post-content blockquote {
    border-left: 4px solid #3182ce;
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4a5568;
    background: #f7fafc;
    padding: 1.5rem 2rem;
    border-radius: 8px;
}

.post-content code {
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e53e3e;
}

.post-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.post-content .youtube-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
}

.post-content .youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Social Sharing */
.social-sharing {
    margin: 2rem 0 0 0;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-sharing h4 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-left: 1rem;
    padding: 0.5rem 0;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: white;
    color: #4a5568;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn.x-twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

/* Category Pages */
.category-page {
    padding: 2rem 0;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.category-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* AI & ML Page */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.featured-article {
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.featured-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.featured-text h2 a {
    color: #1a202c;
    text-decoration: none;
}

.featured-text h2 a:hover {
    color: #3182ce;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-card.featured {
    border: 2px solid #3182ce;
}

.article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.article-content h3 a {
    color: #1a202c;
    text-decoration: none;
}

.article-content h3 a:hover {
    color: #3182ce;
}

.article-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Tech News Page */
.news-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3182ce;
}

.news-item.featured {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.breaking {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Cybersecurity Page */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.security-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #6b7280;
}

.security-card.priority {
    border-top-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.security-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.security-level .level {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.level.critical {
    background: #fef2f2;
    color: #dc2626;
}

.level.high {
    background: #fef3c7;
    color: #3182ce;
}

.level.medium {
    background: #d1fae5;
    color: #059669;
}

/* Startups Page */
.startup-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.startup-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.startup-card.featured-startup {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.startup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.startup-stage .stage {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stage.unicorn {
    background: #3182ce;
    color: white;
}

.stage.growth {
    background: #10b981;
    color: white;
}

.stage.early {
    background: #e5e7eb;
    color: #374151;
}

.startup-metrics {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    min-width: 80px;
}

.metric-label {
    font-size: 0.8rem;
    color: #6b7280;
}

.metric-value {
    font-weight: 600;
    color: #1a202c;
}

/* Apps Page */
.app-store {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.app-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}

.app-card.featured-app {
    border: 2px solid #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.app-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.app-info {
    flex: 1;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #3182ce;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.app-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.app-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Guides Page */
.learning-path {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-step {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.guide-step.current-step {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.step-content {
    flex: 1;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.step-difficulty .difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.beginner {
    background: #d1fae5;
    color: #059669;
}

.difficulty.intermediate {
    background: #fef3c7;
    color: #3182ce;
}

.difficulty.advanced {
    background: #fef2f2;
    color: #dc2626;
}

.step-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.step-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.step-progress {
    width: 100px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

/* Popular Posts Page */
.popular-page {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #3182ce 0%, #1e40af 100%);
    color: white;
    border-radius: 12px;
}

.trending-badge, .fresh-badge, .archive-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.popular-leaderboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.popular-item.top-three {
    border: 2px solid #3182ce;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.popular-rank {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #374151;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    position: relative;
}

.popular-rank .crown, .popular-rank .medal {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
}

.popular-content {
    flex: 1;
}

.popular-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.popular-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.popular-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Recent Posts Page */
.recent-page {
    padding: 2rem 0;
}

.recent-timeline {
    position: relative;
    padding-left: 2rem;
}

.recent-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-item.latest {
    border: 2px solid #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 1rem;
    height: 1rem;
    background: #3182ce;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #e5e7eb;
}

.timeline-item.latest .timeline-marker {
    background: #10b981;
    box-shadow: 0 0 0 3px #dcfce7;
}

.marker-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #10b981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-date {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    color: #6b7280;
}

.timeline-category .category-badge {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.timeline-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
}

.meta-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* All Posts Page */
.all-posts-page {
    padding: 2rem 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: #3182ce;
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-number:hover,
.pagination-number.active {
    background: #3182ce;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
    }
    
    .startup-showcase,
    .app-store,
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-step {
        flex-direction: column;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .popular-item,
    .timeline-item {
        flex-direction: column;
    }
    
    .popular-rank {
        align-self: flex-start;
    }
    
    .recent-timeline {
        padding-left: 1rem;
    }
    
    .timeline-marker {
        left: -1rem;
    }
}

/* Footer */
.site-footer {
    background: #ffffff;
    color: #2d3748;
    padding: 2rem 0;
    margin-top: 4rem;
}

.new-footer .footer-social-row{display:flex;justify-content:flex-end;align-items:center;padding:0.5rem 0 1rem;border-bottom:1px solid #e2e8f0;gap:1rem}
.new-footer .footer-social-icons{display:flex;gap:0.75rem;align-items:center}
.new-footer .footer-social-icons a{color:#4a5568;text-decoration:none;padding:0.5rem;border-radius:6px;transition:all 0.2s ease;display:flex;align-items:center;justify-content:center}
.new-footer .footer-social-icons a:hover{color:#3182ce;background:#f8fafc;transform:translateY(-1px)}
.new-footer .footer-grid{display:grid;grid-template-columns:auto repeat(3,1fr);gap:2rem;padding:1.5rem 0;align-items:start}
.new-footer .footer-col h5{margin:0 0 .75rem 0;color:#1a202c;font-weight:700;font-size:.95rem}
.new-footer .footer-col a{display:block;color:#4a5568;text-decoration:none;padding:.25rem 0}
.new-footer .footer-col a:hover{color:#3182ce}
.new-footer .footer-about{max-width:280px}
.new-footer .footer-about .footer-logo{margin-bottom:1rem}
.new-footer .footer-about .footer-logo img{max-width:120px;height:auto;filter:brightness(0.8)}
.new-footer .footer-about p{color:#4a5568;font-size:0.9rem;line-height:1.6;margin:0}
.new-footer .footer-bottom.new{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e2e8f0;padding-top:1rem}
.new-footer .footer-logo{height:22px;margin-right:8px}
.new-footer .footer-bottom-left{display:flex;align-items:center;gap:.75rem;color:#4a5568}
.new-footer .footer-bottom-links a{margin-left:1rem;color:#4a5568;text-decoration:none}
.new-footer .footer-bottom-links a:hover{color:#3182ce}

.site-footer h3 {
    color: white;
    margin-bottom: 1rem;
}

.site-footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #3182ce;
}

.site-footer .footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .post-header {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-content {
        padding: 2rem 1.5rem;
        font-size: 1rem;
    }
    
    .post-featured-image {
        height: 250px;
    }
    
    .sidebar {
        position: static;
    }
    
    .social-sharing .share-btn {
        display: block;
        margin: 0 0 8px 0;
        text-align: center;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3182ce;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #3182ce;
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Modern Category Page Styles */
.category-header-modern {
    position: relative;
    min-height: 400px;
    margin-bottom: 4rem;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
    z-index: 1;
}

.header-image {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 2rem;
}

.category-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-badge-modern svg {
    width: 16px;
    height: 16px;
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.post-count {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* Modern Articles List */
.articles-list-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-item-modern {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.article-item-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-image-modern {
    flex: 0 0 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.article-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
}

.article-content-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-date {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.article-content-modern h2 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-content-modern h2 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-content-modern h2 a:hover {
    color: #3182ce;
}

.article-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.article-meta-modern {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

.reading-time {
    font-weight: 500;
}

.views {
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-header-modern {
        min-height: 350px;
        padding: 1rem;
    }
    
    .header-image {
        position: relative;
        top: auto;
        right: auto;
        width: 150px;
        height: 120px;
        margin: 0 auto 1.5rem auto;
        align-self: center;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .category-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .article-item-modern {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .article-image-modern {
        flex: none;
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .category-header-modern {
        min-height: 300px;
    }
    
    .header-image {
        width: 120px;
        height: 100px;
    }
    
    .header-content h1 {
        font-size: 1.75rem;
    }
    
    .header-content p {
        font-size: 0.9rem;
    }
}

/* Modern Page Header Styles */
.page-header-modern {
    position: relative;
    min-height: 400px;
    margin-bottom: 4rem;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(49, 130, 206, 0.9) 0%, rgba(30, 64, 175, 0.8) 100%);
    z-index: 1;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.page-badge.trending {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.page-badge.fresh {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
}

.header-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

.header-stats span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Blog Posts Grid Layout */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    cursor: pointer;
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.author-name {
    font-weight: 500;
    color: #334155;
}

.separator {
    color: #94a3b8;
}

.publish-date {
    color: #64748b;
}

.blog-post-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
}

.blog-post-title a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    pointer-events: none;
}

.external-link-icon {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #94a3b8;
}

.blog-post-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    pointer-events: none;
}

/* Modern Popular Grid Styles */
.popular-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.popular-item-modern {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    cursor: pointer;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 100%;
}

.popular-item-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.popular-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.popular-rank-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.popular-rank-badge .crown,
.popular-rank-badge .medal {
    font-size: 0.875rem;
}

.popular-content-modern {
    padding: 1.5rem;
}

.popular-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
}

.views-count {
    font-weight: 500;
    color: #475569;
}

.publish-date {
    color: #94a3b8;
}

.popular-content-modern h3 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.popular-content-modern h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popular-content-modern h3 a:hover {
    color: #3182ce;
}

.popular-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.popular-category {
    margin-top: 1rem;
}

.category-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Special styling for top three */
.popular-item-modern.top-three {
    position: relative;
}

.popular-item-modern.top-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #eab308, #84cc16);
    z-index: 1;
}

.popular-item-modern:first-child::before {
    background: #f59e0b;
}

.popular-item-modern:nth-child(2)::before {
    background: #6b7280;
}

.popular-item-modern:nth-child(3)::before {
    background: #cd7f32;
}

/* Override old popular styles for modern grid */
.popular-grid-modern .popular-item-modern {
    display: block !important;
    gap: unset !important;
    padding: 0 !important;
    background: white !important;
    border-radius: 12px !important;
    border: 1px solid #f1f5f9 !important;
    transition: all 0.3s ease !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
}

.popular-grid-modern .popular-item-modern:hover {
    background: white !important;
    border-color: #f1f5f9 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.popular-grid-modern .popular-image {
    flex-shrink: unset !important;
    width: 100% !important;
    height: 200px !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    border: none !important;
    position: relative !important;
}

.popular-grid-modern .popular-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.popular-grid-modern .popular-item-modern:hover .popular-image img {
    transform: scale(1.05) !important;
}

.popular-grid-modern .popular-item-modern:first-child .popular-image,
.popular-grid-modern .popular-item-modern:nth-child(2) .popular-image,
.popular-grid-modern .popular-item-modern:nth-child(3) .popular-image {
    border-color: unset !important;
    box-shadow: none !important;
}

.popular-grid-modern .popular-rank-badge {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    color: #1e293b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    z-index: 2 !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .popular-grid-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .popular-content-modern {
        padding: 1.25rem;
    }
    
    .popular-grid-modern .popular-image {
        height: 180px !important;
    }
    
    .popular-grid-modern .popular-item-modern {
        margin-bottom: 1.5rem !important;
    }
}

/* Modern Categories Page Styles */
.page-header-simple {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header-simple h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem 0;
}

.page-header-simple p {
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.category-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.category-count-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #1a202c;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
}

.category-content h3 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-content h3 a:hover {
    color: #3182ce;
}

.category-description {
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.category-content .btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.category-content .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
}

/* Responsive Design for Categories */
@media (max-width: 768px) {
    .categories-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .page-header-simple h1 {
        font-size: 2rem;
    }
    
    .category-content {
        padding: 1.25rem;
    }
    
    .category-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .page-header-simple {
        padding: 1rem 0;
    }
    
    .page-header-simple h1 {
        font-size: 1.75rem;
    }
    
    .page-header-simple p {
        font-size: 1rem;
    }
    
    .category-content {
        padding: 1rem;
    }
    
    .category-image {
        height: 160px;
    }
}

/* Modern Most Popular Sidebar Styles */
.most-popular-modern {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.most-popular-modern h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    border-bottom: 2px solid #3182ce;
    padding-bottom: 0.5rem;
}

.popular-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.popular-item-modern:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.popular-image {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    position: relative;
}

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

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

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.popular-item-modern:first-child .popular-image {
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.popular-item-modern:nth-child(2) .popular-image {
    border-color: #6b7280;
    box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.2);
}

.popular-item-modern:nth-child(3) .popular-image {
    border-color: #cd7f32;
    box-shadow: 0 0 0 2px rgba(205, 127, 50, 0.2);
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.popular-content h4 a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popular-content h4 a:hover {
    color: #3182ce;
}

.popular-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.views-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.views-count svg {
    color: #3182ce;
}

.publish-date {
    font-weight: 500;
}

/* Legal Pages Styles */
.legal-page {
    padding: 4rem 0;
    background: #f8fafc;
    min-height: 80vh;
}

.legal-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    border-bottom: 2px solid #3182ce;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #374151;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.legal-section p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 1rem 0;
}

.legal-section ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    color: #4b5563;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.legal-section a {
    color: #3182ce;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    color: #1e40af;
    text-decoration: underline;
}

/* Clickable Cards - Remove Underlines and Make Cards Clickable */
.featured-card,
.news-item,
.popular-item-modern,
.category-card,
.post-card,
.article-card,
.security-card,
.startup-card,
.app-card,
.category-card-modern {
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-card:hover,
.news-item:hover,
.popular-item-modern:hover,
.category-card:hover,
.post-card:hover,
.article-card:hover,
.security-card:hover,
.startup-card:hover,
.app-card:hover,
.category-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Remove underlines from all links inside cards */
.featured-card a,
.news-item a,
.popular-item-modern a,
.category-card a,
.post-card a,
.article-card a,
.security-card a,
.startup-card a,
.app-card a,
.category-card-modern a {
    text-decoration: none !important;
}

.featured-card a:hover,
.news-item a:hover,
.popular-item-modern a:hover,
.category-card a:hover,
.post-card a:hover,
.article-card a:hover,
.security-card a:hover,
.startup-card a:hover,
.app-card a:hover,
.category-card-modern a:hover {
    text-decoration: none !important;
}

/* Ensure card content doesn't interfere with click events */
.featured-card *,
.news-item *,
.popular-item-modern *,
.category-card *,
.post-card *,
.article-card *,
.security-card *,
.startup-card *,
.app-card *,
.category-card-modern * {
    pointer-events: none;
}

.featured-card a,
.news-item a,
.popular-item-modern a,
.category-card a,
.post-card a,
.article-card a,
.security-card a,
.startup-card a,
.app-card a,
.category-card-modern a {
    pointer-events: auto;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .main-featured {
        grid-column: 1 / -1;
    }
    
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header-modern {
        min-height: 350px;
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .header-stats span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post-content {
        padding: 1.25rem;
    }
    
    .blog-post-title {
        font-size: 1.125rem;
    }

    /* Header Mobile */
    .site-header .container {
        padding: 1rem;
    }
    
    .header-top {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
        justify-content: right;
    }
    
    .main-nav {
        width: auto;
        position: relative;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: white;
        border: none;
        border-radius: 0;
        box-shadow: none;
        z-index: 1000;
        padding: 4rem 1rem 1rem 1rem;
        gap: 1rem;
        overflow-y: auto;
    }
    
    .nav-links.mobile-menu-open {
        display: flex;
    }
    
    .nav-links .nav-link {
        font-size: 1.2rem;
        font-weight: 600;
        padding: 1rem;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }
    
    .nav-links .nav-link:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
        background: #1e3a8a;
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    
    .mobile-menu-close:hover {
        background: #1d4ed8;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }
    
    .nav-link:hover {
        background-color: #f7fafc;
    }
    
    .nav-sep {
        display: none;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: auto;
        justify-content: flex-end;
    }
    
    /* Mobile search layout - show all icons in order: search icon | cross | hamburger */
    .search-open .header-actions {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .search-open .search-box {
        flex: 1;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    .search-open .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .search-open .mobile-menu-close {
        display: none;
    }
    
    /* Mobile search layout: Search Input | Search Button | Cross Icon (hamburger hidden) */
    .search-open #searchToggle {
        display: none;
    }
    
    .search-open #searchClose {
        display: inline-block;
        order: 3;
        margin-left: 0;
        position: relative;
        z-index: 1;
    }
    
    .search-open .mobile-menu-toggle {
        display: none;
    }
    
    /* Ensure proper spacing between icons */
    .search-open .header-actions > * {
        margin-right: 0.5rem;
    }
    
    .search-open .header-actions > *:last-child {
        margin-right: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide logo when search is open */
    .search-open .logo {
        display: none;
    }
    
    
    /* Search Mobile - Use regular search bar */
    .search-box {
        position: static;
        opacity: 1;
        visibility: visible;
        background: none;
        padding: 0;
        width: auto;
    }
    
    .search-form {
        display: flex;
        width: auto;
        justify-content: flex-end;
    }
    
    /* Mobile search form alignment - full width */
    .search-open .search-form {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 1rem;
        order: 1;
        flex: 1;
        max-width: 100%;
    }
    
    .search-open .search-input {
        flex: 1;
        width: 100%;
        margin: 0;
        border: none;
        border-bottom: 2px solid #10b981;
        background: transparent;
        padding: 0.5rem 0;
        font-size: 1rem;
        color: #000000;
    }
    
    .search-open .search-input::placeholder {
        color: #9ca3af;
        font-style: italic;
    }
    
    .search-open .search-input:focus {
        outline: none;
        border-bottom-color: #059669;
        color: #1a202c;
    }
    
    .search-open .search-input:not(:placeholder-shown) {
        color: #1a202c;
    }
    
    .search-open .search-btn {
        order: 2;
        margin-left: 0.5rem;
        margin-right: 1rem;
        background: none;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
    }
    
    .search-input {
        width: 200px;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    /* Mobile search input styling */
    .search-open .search-input {
        width: 100%;
        max-width: none;
    }
    
    /* Content Mobile */
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .main-featured,
    .secondary-featured,
    .top-headlines-sidebar {
        grid-column: 1;
    }
    
    .featured-card {
        margin-bottom: 1rem;
    }
    
    .card-overlay h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .card-overlay h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    /* Latest News Mobile */
    .latest-news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        padding: 1rem;
    }
    
    .news-card h3 {
        font-size: 1.1rem;
        line-height: 1.4;
    }
    
    /* Sidebar Mobile */
    .sidebar {
        margin-top: 2rem;
    }
    
    .sidebar-widget {
        margin-bottom: 1.5rem;
    }
    
    /* Footer Mobile */
    .new-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .new-footer .footer-social-row {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .new-footer .footer-about {
        max-width: none;
        text-align: center;
        order: -1;
    }
    
    .new-footer .footer-about .footer-logo {
        justify-content: center;
    }
    
    .new-footer .footer-bottom.new {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .new-footer .footer-bottom-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .new-footer .footer-bottom-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .new-footer .footer-bottom-links a {
        margin: 0;
    }
    
    /* Mega Menu Mobile */
    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 1rem;
    }
    
    .mega-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mega-col h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .mega-col a {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .site-header .container {
        padding: 0.75rem;
    }
    
    .logo img {
        height: 24px;
    }
    
    .card-overlay h1 {
        font-size: 1.25rem;
    }
    
    .card-overlay h3 {
        font-size: 1.1rem;
    }
    
    .news-card h3 {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .new-footer .footer-col h5 {
        font-size: 0.9rem;
    }
    
    .new-footer .footer-col a {
        font-size: 0.85rem;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .new-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .featured-grid {
        gap: 2rem;
    }
    
    .latest-news-grid {
        gap: 1.5rem;
    }
}
