/* Combined CSS for all pages - Deduplicated */

:root {
    --burgundy: #800020;
    --deep-burgundy: #5a0017;
    --cream: #f9f5f0;
    --off-white: #fefaf5;
    --terracotta: #e2725b;
    --soft-terracotta: #e9967a;
    --sage: #9caf88;
    --dark-text: #333333;
    --light-text: #666666;
    --border-color: rgba(128, 0, 32, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Navigation - Common for all pages */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--burgundy);
    text-decoration: none;
}

.logo span {
    color: var(--terracotta);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-links a.active {
    color: var(--burgundy);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--burgundy);
    bottom: -5px;
    left: 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

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

.cta-button {
    background-color: var(--burgundy);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--deep-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--burgundy);
    cursor: pointer;
}

/* Section Common Styles */
.section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== HOMEPAGE SPECIFIC ========== */

/* SECTION 1: Enhanced Hero Section - Fixed Image */
.hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    position: relative;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.15) 0%, rgba(233, 150, 122, 0.1) 100%);
    z-index: -2;
}

.hero-main-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    border-radius: 0 0 0 120px;
    box-shadow: var(--shadow-lg);
}

.hero-main-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--terracotta) 100%);
    opacity: 0.3;
    border-radius: 0 0 0 120px;
    z-index: 0;
}

.hero-main-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0 0 0 120px;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    color: var(--deep-burgundy);
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 400;
    line-height: 1.6;
}
.hero-title-anchor{
    text-decoration: none;
    color: var(--deep-burgundy);
}
.hero-title-anchor:hover {
    color: var(--terracotta);
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--burgundy);
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.hero-secondary-image {
    position: absolute;
    bottom: -60px;
    left: 40%;
    width: 300px;
    height: 200px;
    background-image: url('https://images.unsplash.com/photo-1529254479751-fbacb4c7a587?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    transform: rotate(-3deg);
    border: 8px solid white;
}

.search-container {
    display: flex;
    background-color: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: var(--shadow);
    max-width: 450px;
    flex-grow: 1;
}

.search-container input {
    border: none;
    padding: 18px 25px;
    flex-grow: 1;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    font-family: 'Inter', sans-serif;
}

.search-container button {
    background-color: var(--terracotta);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.search-container button:hover {
    background-color: var(--soft-terracotta);
    transform: scale(1.05);
}

/* SECTION 2: Category Navigation */
.categories-section {
    background-color: var(--cream);
    padding: 80px 0;
}

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

.category-card {
    background-color: white;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--burgundy);
}

.category-card.active {
    background-color: var(--burgundy);
    color: white;
}

.category-card.active h4 {
    color: white;
}

.category-card.active .category-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--burgundy);
    font-size: 28px;
}

.category-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--deep-burgundy);
}

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

/* SECTION 3: Featured Editorial */
.featured-editorial {
    background-color: white;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.editorial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editorial-image-16-9 {
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

.editorial-content {
    padding: 30px;
    background-color: var(--cream);
    border-radius: 0 0 15px 15px;
    flex-grow: 1;
}

.editorial-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
}

.editorial-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.editorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

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

/* SECTION 4: Relationship Psychology */
.psychology-section {
    background-color: var(--cream);
}

.psychology-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.psychology-image-16-9 {
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.psychology-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--deep-burgundy);
}

.psychology-content p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.psychology-points {
    margin: 30px 0;
}

.psychology-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.psychology-point i {
    color: var(--terracotta);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 3px;
}

/* SECTION 5: Success Stories */
.stories-section {
    background-color: white;
}

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

.story-card {
    background-color: var(--cream);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-image-16-9 {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.story-content {
    padding: 25px;
}

.story-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--deep-burgundy);
}

.story-content p {
    color: var(--light-text);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.story-author {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--terracotta);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.author-info h5 {
    font-size: 0.95rem;
    color: var(--dark-text);
}

.author-info p {
    font-size: 0.8rem;
    color: var(--light-text);
    margin: 0;
}

/* SECTION 6: Tools & Resources */
.tools-section {
    background-color: var(--cream);
}

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

.tool-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--burgundy);
    font-size: 28px;
}

.tool-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
}

.tool-card p {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* SECTION 7: Trending Topics */
.topics-section {
    background-color: white;
}

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

.topic-item {
    background-color: var(--cream);
    padding: 25px;
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.topic-item:hover {
    background-color: rgba(128, 0, 32, 0.05);
    transform: translateX(5px);
}

.topic-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--deep-burgundy);
}

.topic-item p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.topic-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--light-text);
}

.topic-stats i {
    margin-right: 5px;
}

/* SECTION 8: Latest Articles with Sidebar */
.articles-section {
    background-color: var(--cream);
}

.articles-container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: var(--transition);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-image-16-9 {
    flex: 0 0 300px;
    background-size: cover;
    background-position: center;
}

.article-content {
    padding: 30px;
    flex-grow: 1;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
}

.article-content p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.article-meta {
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.article-category {
    color: var(--burgundy);
    font-weight: 600;
}

/* Sidebar */
.sidebar {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--deep-burgundy);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(128, 0, 32, 0.1);
}
.sidebar-widget {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}
.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--deep-burgundy);
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(128, 0, 32, 0.1);
}
.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-list a {
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.sidebar-list a:hover {
    color: var(--burgundy);
    padding-left: 5px;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-sidebar {
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tag-sidebar:hover {
    background-color: var(--burgundy);
    color: white;
}

/* ========== CATEGORY PAGE SPECIFIC ========== */

/* Category Page Hero */
.category-hero {
    padding-top: 180px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1) 0%, rgba(233, 150, 122, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1518568814500-bf0f8d125f46?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    border-radius: 0 0 0 80px;
}

.category-header {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--burgundy);
    font-size: 32px;
}

.category-header h1 {
    font-size: 3.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 20px;
    line-height: 1.1;
}

.category-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 600px;
}

.category-meta {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
}

.meta-item i {
    color: var(--terracotta);
}
    a.full-body-link {
       text-decoration: none !important;
    }

/* Category Content */
.category-content {
    padding: 80px 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

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

.article-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.article-image-16-9 {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--burgundy);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 15px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
    line-height: 1.3;
}

.article-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-meta {
    justify-content: space-between;
    align-items: center;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.author-info h5 {
    font-size: 0.9rem;
    color: var(--dark-text);
}

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

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 50px 0;
}

.load-more-btn {
    background-color: var(--burgundy);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background-color: var(--deep-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128, 0, 32, 0.2);
}

.load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.load-more-btn.loading i {
    animation: spin 1s linear infinite;
}

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

/* Category Sidebar */
.category-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

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

.related-categories li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.related-categories li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-categories a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.related-categories a:hover {
    color: var(--burgundy);
    transform: translateX(5px);
}

.category-icon-small {
    width: 40px;
    height: 40px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 16px;
}

/* Popular Articles */
.popular-articles {
    list-style: none;
}

.popular-articles li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

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

.popular-articles a {
    display: block;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.popular-articles a:hover {
    color: var(--burgundy);
}

.popular-articles h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.popular-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Category Filter */
.category-filter {
    background-color: var(--cream);
    padding: 40px 0;
    border-top: 1px solid rgba(128, 0, 32, 0.05);
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.filter-tag {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: white;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-tag.active, .filter-tag:hover {
    background-color: var(--burgundy);
    color: white;
    border-color: var(--burgundy);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-options select {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background-color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-text);
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 4rem;
    color: var(--terracotta);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
}

.empty-state p {
    color: var(--light-text);
    max-width: 500px;
    margin: 0 auto 30px;
}

/* ========== ARTICLE PAGE SPECIFIC ========== */

/* Article Hero */
.article-hero {
    padding-top: 180px;
    padding-bottom: 60px;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.05) 0%, rgba(233, 150, 122, 0.03) 100%);
    z-index: 0;
}

.article-header {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.article-header h1 {
    font-size: 3.2rem;
    color: var(--deep-burgundy);
    margin-bottom: 25px;
    line-height: 1.1;
}

.article-excerpt {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 700px;
    line-height: 1.6;
}

.article-meta {
    align-items: center;
    gap: 30px;
}

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

.author-avatar-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

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

.article-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--terracotta);
}

/* Article Content Layout */
.article-content-section {
    padding: 60px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
}

/* Article Main Content */
.article-main {
    background-color: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.featured-image {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    margin-bottom: 40px;
    position: relative;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 20px;
    font-size: 0.9rem;
    border-radius: 0 0 15px 15px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    color: var(--deep-burgundy);
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(128, 0, 32, 0.1);
}

.article-body h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--deep-burgundy);
}

.article-body p {
    margin-bottom: 25px;
    color: var(--dark-text);
}

.article-body ul, .article-body ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

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

.highlight-box {
    background-color: rgba(128, 0, 32, 0.05);
    border-left: 4px solid var(--burgundy);
    padding: 25px;
    border-radius: 0 10px 10px 0;
    margin: 35px 0;
}

.highlight-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--deep-burgundy);
}

.pull-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--burgundy);
    border-left: 4px solid var(--terracotta);
    padding-left: 25px;
    margin: 40px 0 40px 20px;
    line-height: 1.5;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Table of Contents */
.toc {
    list-style: none;
    position: sticky;
    top: 120px;
}

.toc li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

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

.toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.toc a:hover {
    color: var(--burgundy);
    transform: translateX(5px);
}

.toc-number {
    width: 30px;
    height: 30px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Share Widget */
.share-widget .share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

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

.share-facebook { background-color: #3b5998; }
.share-twitter { background-color: #1da1f2; }
.share-pinterest { background-color: #bd081c; }
.share-linkedin { background-color: #0077b5; }
.share-copy { background-color: var(--burgundy); }

/* Related Articles Sidebar */
.related-articles-sidebar {
    list-style: none;
}

.related-articles-sidebar li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.related-articles-sidebar li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-articles-sidebar a {
    display: block;
    color: var(--dark-text);
    text-decoration: none;
    transition: var(--transition);
}

.related-articles-sidebar a:hover {
    color: var(--burgundy);
}

.related-articles-sidebar h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(128, 0, 32, 0.1);
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 12px 25px;
    border-radius: 50px;
    color: var(--dark-text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.action-button:hover {
    background-color: rgba(128, 0, 32, 0.05);
    border-color: var(--burgundy);
    color: var(--burgundy);
}

.action-button.active {
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    border-color: var(--burgundy);
}

/* Article Navigation */
.article-navigation {
    background-color: var(--cream);
    padding: 60px 0;
    border-top: 1px solid rgba(128, 0, 32, 0.05);
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.nav-links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: white;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.nav-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.nav-link.prev {
    text-align: left;
}

.nav-link.next {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
    font-size: 1.2rem;
}

.nav-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--deep-burgundy);
}

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

/* Related Articles Section */
.related-articles-section {
    padding: 80px 0;
    background-color: var(--cream);
}

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

.related-article-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

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

.related-article-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--burgundy);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.related-article-content {
    padding: 25px;
}

.related-article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
    line-height: 1.3;
}

.related-article-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 0, 32, 0.1);
}

.related-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.related-author-info h5 {
    font-size: 0.9rem;
    color: var(--dark-text);
}

.related-article-date {
    color: var(--light-text);
    font-size: 0.85rem;
}

/* Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(128, 0, 32, 0.1);
    z-index: 1001;
}

.reading-progress-bar {
    height: 100%;
    background-color: var(--burgundy);
    width: 0%;
    transition: width 0.3s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--burgundy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--deep-burgundy);
    transform: translateY(-5px);
}

/* ========== PAGE (ABOUT) SPECIFIC ========== */

/* About Hero Section */
.about-hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1) 0%, rgba(233, 150, 122, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1545235617-9465d2a55698?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2080&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 0 100px;
    opacity: 0.8;
}

.about-header {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.about-header h1 {
    font-size: 3.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 25px;
    line-height: 1.1;
}

.about-header p {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.mission-statement {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-top: 50px;
    max-width: 800px;
}

.mission-statement h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--deep-burgundy);
}

.mission-statement p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
}

/* Story Section */
.story-section {
    background-color: var(--cream);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image {
    height: 500px;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.story-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--deep-burgundy);
}

.story-content p {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-highlights {
    margin: 40px 0;
}

.story-highlight {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.story-highlight i {
    color: var(--terracotta);
    margin-right: 15px;
    font-size: 1.3rem;
    margin-top: 5px;
}

/* Values Section */
.values-section {
    background-color: white;
}

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

.value-card {
    background-color: var(--cream);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--burgundy);
    font-size: 32px;
}

.value-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--deep-burgundy);
}

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

/* Team Section */
.team-section {
    background-color: var(--cream);
}

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

.team-member {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.member-image {
    height: 300px;
    background-size: cover;
    background-position: center;
}

.member-content {
    padding: 30px;
}

.member-content h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--deep-burgundy);
}

.member-role {
    color: var(--terracotta);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.member-bio {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.expertise-tag {
    background-color: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Approach Section */
.approach-section {
    background-color: white;
}

.approach-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.approach-card {
    background-color: var(--cream);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.approach-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--deep-burgundy);
}

.approach-list {
    list-style: none;
    margin-top: 30px;
}

.approach-list li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.05);
}

.approach-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.approach-list h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--deep-burgundy);
}

.approach-list p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Impact Section */
.impact-section {
    background-color: var(--cream);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.impact-stat {
    background-color: white;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.impact-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--burgundy);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.impact-label {
    color: var(--light-text);
    font-size: 1rem;
    font-weight: 500;
}

.testimonials {
    margin-top: 80px;
}

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

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: rgba(128, 0, 32, 0.1);
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-text);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.testimonial-info h5 {
    font-size: 1.1rem;
    color: var(--dark-text);
}

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

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--deep-burgundy) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    background-color: white;
    color: var(--burgundy);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button-secondary:hover {
    background-color: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ========== COMMON FOOTER ========== */

/* Footer */
footer {
    background-color: var(--deep-burgundy);
    color: white;
    padding: 70px 0 30px;
}

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

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--terracotta);
    bottom: -10px;
    left: 0;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .psychology-container,
    .story-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .psychology-image-16-9 {
        height: 350px;
    }
    
    .articles-container,
    .category-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-image-16-9 {
        flex: 0 0 250px;
    }
    
    .sidebar,
    .category-sidebar,
    .article-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .hero-secondary-image {
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
    }
    
    .editorial-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header h1,
    .about-header h1 {
        font-size: 2.8rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .article-header h1 {
        font-size: 2.5rem;
    }
    
    .featured-image {
        height: 350px;
    }
    
    .nav-links-container {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .about-hero-bg {
        width: 100%;
        border-radius: 0;
        opacity: 0.3;
    }
    
    .approach-container {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .hero-content h1,
    .category-header h1,
    .article-header h1,
    .about-header h1 {
        font-size: 2.5rem;
    }
    
    .hero-main-image {
        width: 100%;
        border-radius: 0;
        opacity: 0.3;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .hero-secondary-image {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-hero,
    .article-hero,
    .about-hero {
        padding-top: 150px;
        padding-bottom: 60px;
    }
    
    .article-hero {
        padding-bottom: 40px;
    }
    
    .category-header h1,
    .article-header h1,
    .about-header h1 {
        font-size: 2.3rem;
    }
    
    .category-meta,
    .article-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .articles-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-main {
        padding: 30px;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .cta-button,
    .cta-buttons .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .mission-statement {
        padding: 30px;
    }
    
    .story-image {
        height: 400px;
    }
    
    .about-header p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1,
    .category-header h1,
    .article-header h1,
    .about-header h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-header h1,
    .article-header h1,
    .about-header h1 {
        font-size: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .category-header p {
        font-size: 1.1rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
    
    .values-grid,
    .team-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-number {
        font-size: 2.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .approach-card {
        padding: 30px;
    }
}

