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

:root {
    --primary-green: #2ecc71;
    --primary-blue: #3498db;
    --dark-bg: #0f1419;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --accent-purple: #667eea;
    --accent-teal: #00d4aa;
    --border-color: #e0e0e0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --accent-gradient: linear-gradient(135deg,#7ee787,#3ec1ff);
    --card-glow: 0 18px 40px rgba(46,204,113,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(46,204,113,0.03), transparent 10%),
                radial-gradient(1000px 400px at 90% 90%, rgba(52,152,219,0.02), transparent 12%),
                var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

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

.container-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.container-blog {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* Header & Navbar */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1.2rem 0;
    background: linear-gradient(90deg,#ffffff, #f8fffb);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 8px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.logo i {
    background: rgba(46,204,113,0.12);
    color: var(--primary-green);
    padding: 8px;
    border-radius: 50%;
    font-size: 1.1rem;
    box-shadow: 0 6px 18px rgba(46,204,113,0.06);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    background: linear-gradient(135deg, rgba(46,204,113,0.12), rgba(52,152,219,0.12));
    transform: translateY(-2px);
}

.search-bar {
    display: flex;
    background: var(--light-bg);
    border-radius: 25px;
    padding: 8px 15px;
    gap: 10px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 180px;
    font-size: 0.9rem;
}

.search-bar button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar button:hover {
    color: var(--primary-green);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(52, 152, 219, 0.15) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(46,204,113,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="white"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 750px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 16px 45px;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.4);
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background: white;
}

.categories h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-green);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.2);
}

.category-card:hover::before {
    left: 0;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.post-count {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Blog Main Section */
.blog-main {
    padding: 100px 0;
    background: var(--light-bg);
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    border-color: transparent;
}

/* Featured Article */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
    align-items: center;
}

.featured-image {
    height: 400px;
    min-height: 300px;
}

.featured-content {
    padding: 40px;
}

.featured-content h2 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 20px 0;
    line-height: 1.8;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    font-size: 0.95rem;
}

.author-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-stats {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
}

.read-more-btn:hover {
    transform: translateX(5px);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.2,.9,.2,1), box-shadow .45s;
    position: relative;
}

.article-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    mix-blend-mode: screen;
}

.article-card:hover {
    transform: translateY(-12px) rotate(-0.3deg);
    box-shadow: var(--card-glow);
}

.article-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform .6s cubic-bezier(.2,.9,.2,1), filter .4s;
    filter: saturate(0.98) contrast(1.02);
}

.article-card:hover .article-image {
    transform: scale(1.06) rotate(-0.6deg);
    filter: saturate(1.06) contrast(1.06);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Subtle ribbon for category */
.article-content .category-badge {
    margin-top: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transform: translateY(0);
    transition: transform .28s, box-shadow .28s;
}

.article-card:hover .article-content .category-badge {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.article-card .article-excerpt {
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.author-info-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.author-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta-small {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.article-meta-small span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.read-more {
    display: inline-block;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    margin-top: 15px;
}

.read-more:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 50px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    font-weight: 500;
}

.page-link:hover,
.page-link.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    border-color: transparent;
}

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

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 15px;
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.newsletter-form button {
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
    cursor: pointer;
    transition: var(--transition);
}

.popular-post:hover {
    background: #f0f0f0;
    padding-left: 15px;
}

.popular-post strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.post-views {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Categories List */
.categories-list {
    list-style: none;
}

.categories-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.categories-list span {
    background: var(--light-bg);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Authors */
.authors-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.author-box {
    text-align: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: var(--transition);
}

.author-box:hover {
    background: #f0f0f0;
}

.author-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.author-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.author-box p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: linear-gradient(180deg,#0f1419 0%, #0c1114 100%);
    color: white;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Breadcrumb */
.breadcrumb {
    background: #f5f5f5;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Contact Page */
.contact-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-section h2,
.contact-info-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.contact-form select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.contact-info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    transition: var(--transition);
}

.contact-info-box:hover {
    box-shadow: var(--shadow-sm);
}

.contact-info-box i {
    font-size: 2rem;
    color: var(--primary-green);
    min-width: 50px;
    text-align: center;
}

.contact-info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info-box p {
    color: var(--text-light);
}

.contact-info-box a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.social-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.social-widget h3 {
    margin-bottom: 15px;
}

.social-links-contact {
    display: flex;
    gap: 12px;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.social-links-contact a:hover {
    background: var(--primary-green);
    color: white;
}

/* About Page */
.about-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.about-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.about-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-section {
    margin: 80px 0;
}

.team-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.member-image {
    height: 200px;
    overflow: hidden;
}

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

.team-member h3 {
    font-size: 1.3rem;
    margin: 20px 15px 5px;
}

.member-role {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.member-bio {
    color: var(--text-light);
    padding: 0 15px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.member-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    transition: var(--transition);
}

.member-social a:hover {
    background: var(--primary-green);
    color: white;
}

.about-features {
    background: white;
    padding: 60px;
    border-radius: 12px;
    margin-top: 60px;
}

.about-features h2 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Article Page */
.article-page {
    padding: 60px 0;
    background: var(--light-bg);
}

.container-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content-full {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-header h1 {
    font-size: 2.8rem;
    margin: 20px 0;
    color: var(--text-dark);
    line-height: 1.3;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.article-meta-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.author-box-full {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-full {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box-full strong {
    display: block;
    font-size: 1rem;
}

.author-box-full p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-hero-image {
    height: 400px;
    border-radius: 12px;
    margin: 40px 0;
    background-size: cover;
    background-position: center;
}

.table-of-contents {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--primary-green);
}

.table-of-contents h3 {
    margin-bottom: 15px;
}

.table-of-contents ul {
    list-style: none;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

.table-of-contents a:hover {
    text-decoration: underline;
}

.article-body {
    line-height: 1.9;
    margin: 40px 0;
}

.article-body h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-green);
    padding: 20px;
    margin: 30px 0;
    background: var(--light-bg);
    border-radius: 8px;
}

.article-body blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 10px;
}

.article-body blockquote footer {
    font-size: 0.9rem;
    color: var(--text-light);
}

.article-tips {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    padding: 25px;
    margin: 40px 0;
}

.article-tips h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 40px 0;
}

.article-tags a {
    display: inline-block;
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-green);
    font-size: 0.9rem;
    transition: var(--transition);
    border-radius: 999px;
    padding: 7px 12px;
    transition: transform .2s, background .2s, color .2s;
}

.article-tags a:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-4px);
}

.share-section {
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.share-section h3 {
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.related-articles {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.related-articles h3 {
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.related-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.related-card h4 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
}

.related-card p {
    padding: 0 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.related-card a {
    display: block;
    padding: 15px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.related-card a:hover {
    color: var(--primary-blue);
}

.comments-section {
    padding: 40px 0;
}

.comments-section h3 {
    margin-bottom: 30px;
}

.comments-list {
    margin-bottom: 40px;
}

.comment {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
    margin-bottom: 20px;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-header strong {
    display: block;
}

.comment-header span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-text {
    margin-bottom: 12px;
    line-height: 1.6;
}

.comment-actions {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
}

.comment-actions a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-actions a:hover {
    color: var(--primary-blue);
}

.comment-form {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
}

.comment-form h4 {
    margin-bottom: 20px;
}

/* Category Page */
.category-header {
    padding-bottom: 0;
}

.category-banner {
    height: 250px;
    margin-bottom: 40px;
}

.category-title {
    text-align: center;
    margin-bottom: 50px;
}

.category-title i {
    font-size: 4rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-title h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.category-page {
    padding: 50px 0 80px;
    background: var(--light-bg);
}

.category-intro {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-light);
    border-left: 4px solid var(--primary-green);
}

/* Legal Page */
.legal-page {
    padding: 80px 0;
    background: var(--light-bg);
}

.legal-page h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.legal-date {
    color: var(--text-light);
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    line-height: 1.9;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-dark);
}

.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-content ul {
    margin: 20px 0 20px 30px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .container-blog {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-column: 1;
    }

    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .article-content-full {
        padding: 30px;
    }

    .legal-content {
        padding: 30px;
    }

    /* NAV / MENU mejorado */
    .nav-toggle { display: inline-flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        right: 20px;
        background: white;
        flex-direction: column;
        gap: 0;
        width: 220px;
        padding: 12px;
        border-radius: 10px;
        box-shadow: var(--shadow-sm);
        transform-origin: top right;
        display: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links li a { display: block; padding: 12px; }
}

@media (max-width: 768px) {
    .container-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .search-bar {
        display: none;
    }

    .nav-links {
        gap: 1.5rem;
        order: 2;
        width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .categories h2,
    .blog-header h2,
    .contact h2 {
        font-size: 2rem;
    }

    .featured-article {
        padding: 25px;
    }

    .featured-content {
        padding: 0;
    }

    .featured-content h2 {
        font-size: 1.6rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-buttons {
        width: 100%;
    }

    .article-header h1 {
        font-size: 2rem;
    }

    .article-hero-image {
        height: 250px;
    }

    .article-meta-full {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .about-features {
        padding: 30px 20px;
    }

    .table-of-contents {
        padding: 20px;
    }
}

/* Mejoras específicas */
.navbar {
    /* ...existing code... */
    background: linear-gradient(90deg,#ffffff, #f8fffb);
    border-bottom: 1px solid var(--border-color);
}

/* Breadcrumb hidden on mobile */
@media (max-width: 768px) {
    .breadcrumb { display: none; }
}

/* Category badge moved to bottom inside article-content */
.article-content .category-badge {
    position: static;
    display: inline-block;
    margin-top: 14px;
}

/* TOC collapsed/expanded */
.table-of-contents .toc-toggle {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: 600;
}

.table-of-contents .toc-list {
    margin-top: 12px;
}

/* Search results overlay */
#search-results-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

#search-results {
    background: white;
    width: min(920px, 95%);
    max-height: 80vh;
    overflow: auto;
    border-radius: 12px;
    padding: 20px;
}

/* Reading progress bar */
#reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	height: 4px;
	width: 0%;
	background: linear-gradient(90deg,#8ee99b,#44d9ff);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	z-index: 9999;
	transition: width 0.15s linear;
}

/* Fancy CTA buttons */
.cta-button, .read-more-btn {
	transition: transform .25s, box-shadow .25s;
}
.cta-button:hover, .read-more-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 18px 40px rgba(46,204,113,0.12);
}