:root {
    --primary-gold: #FFD700;
    --deep-gold: #B8860B;
    --light-gold: #FFF8DC;
    --accent-gold: #DAA520;
    --soft-blue: #4A90E2;
    --light-blue: #E8F4FD;
    --soft-green: #7ED321;
    --text-dark: #2C3E50;
    --text-light: #6C7B7F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.fixed-top {
    z-index: 1030;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-gold);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(218, 165, 32, 0.8) 50%, rgba(184, 134, 11, 0.8) 100%), url('https://res.cloudinary.com/dq72yceys/image/upload/v1760674347/heroimage_dmgu09.png') center/cover no-repeat;
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="ribbon" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M0,50 Q25,25 50,50 T100,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23ribbon)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-image {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    }
    100% {
        filter: drop-shadow(0 4px 12px rgba(255,215,0,0.4)) drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    }
}

/* About Page Enhancements */
.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="ribbon" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M0,50 Q25,25 50,50 T100,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></pattern></defs><rect width="100%" height="100%" fill="url(%23ribbon)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-badge {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-badge i {
    font-size: 2rem;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.quote-card {
    border: none;
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
}

.content-card {
    border: 1px solid #e9ecef;
    position: relative;
}

.content-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, var(--primary-gold), var(--accent-gold));
}

.section-icon {
    position: relative;
    overflow: hidden;
}

.section-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.challenge-item:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

.challenge-icon {
    position: relative;
    overflow: hidden;
}

.challenge-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: iconShimmer 2s ease-in-out infinite;
}

@keyframes iconShimmer {
    0% { opacity: 0; transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.highlight-box {
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: slideShine 3s ease-in-out infinite;
}

@keyframes slideShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.impact-visual {
    position: relative;
    overflow: hidden;
}

.impact-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: impactShimmer 4s ease-in-out infinite;
}

@keyframes impactShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.signature-card {
    border: none;
    position: relative;
}

.signature-icon i {
    animation: penFloat 3s ease-in-out infinite;
}

@keyframes penFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: ctaShine 4s ease-in-out infinite;
}

@keyframes ctaShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Community Forum Enhancements */
.stat-bubble {
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.stat-bubble:hover {
    transform: translateY(-3px);
}

.stat-bubble i {
    font-size: 1.5rem;
    display: block;
}

.welcome-card {
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: welcomeShine 4s ease-in-out infinite;
}

@keyframes welcomeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.welcome-avatar {
    position: relative;
    overflow: hidden;
}

.welcome-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: avatarShimmer 3s ease-in-out infinite;
}

@keyframes avatarShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.header-icon {
    position: relative;
    overflow: hidden;
}

.header-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: headerIconShimmer 2s ease-in-out infinite;
}

@keyframes headerIconShimmer {
    0% { opacity: 0; transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.guideline-item {
    transition: transform 0.3s ease;
}

.guideline-item:hover {
    transform: translateX(5px);
}

.guideline-check {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.guideline-check::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: checkShimmer 2s ease-in-out infinite;
}

@keyframes checkShimmer {
    0% { opacity: 0; transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.filter-section {
    position: relative;
}

.post-counter {
    position: relative;
    overflow: hidden;
}

.post-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: counterShine 3s ease-in-out infinite;
}

@keyframes counterShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.community-post {
    position: relative;
    overflow: hidden;
}

.community-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.community-post:hover::before {
    opacity: 1;
}

.author-avatar {
    position: relative;
    overflow: hidden;
}

.author-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: authorShimmer 2s ease-in-out infinite;
}

@keyframes authorShimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.modern-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.like-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    border: none !important;
}

.reply-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.reply-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.no-replies {
    position: relative;
    overflow: hidden;
}

.no-replies::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: noRepliesShine 4s ease-in-out infinite;
}

@keyframes noRepliesShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.category-badge {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: scale(1.05);
}

.reply-section {
    position: relative;
}

/* Custom Animations */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 12px 35px rgba(74, 144, 226, 0.5);
        transform: scale(1.05);
    }
}

@keyframes bounceFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--white), #F8F9FA);
    border: 2px solid var(--white);
    color: var(--deep-gold);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    background: var(--white);
    color: var(--deep-gold);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--deep-gold);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

/* Charity Cards */
.charity-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    border-top: 4px solid transparent;
    background-clip: padding-box;
}

.charity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--soft-blue), var(--soft-green));
    border-radius: 20px 20px 0 0;
}

.charity-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.charity-logo {
    text-align: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-gold);
    position: relative;
}

.charity-logo::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-gold), var(--soft-blue));
    border-radius: 1px;
}

.charity-logo-img {
    max-height: 80px;
    width: auto;
}

.charity-card .card-body {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.charity-card .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 4.2em; /* 3 lines * 1.4 line-height */
}

.charity-card .card-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.charity-card .card-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Impact Section */
.impact-section {
    padding: 100px 0;
}

.impact-stat {
    padding: 2.5rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.impact-stat:hover::before {
    left: 100%;
}

.impact-stat:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.impact-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #FFFFFF;
    font-size: 2.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.impact-stat:hover .impact-icon {
    transform: rotateY(360deg);
    background: rgba(255,255,255,0.3);
}

.impact-icon i {
    line-height: 1;
    text-align: center;
    display: block;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.impact-label {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.resource-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.resource-card .fas {
    color: var(--primary-gold);
}

/* For Charities Section */
.for-charities-section {
    background-color: var(--light-gray);
}

.collaboration-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--primary-gold), var(--deep-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2.5rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
    text-align: center;
}

/* Color Overrides */
.text-primary {
    color: var(--primary-gold) !important;
}

.text-success {
    color: var(--soft-green) !important;
}

.text-warning {
    color: var(--accent-gold) !important;
}

.btn-outline-primary {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline-primary:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-logo-image {
        max-width: 150px;
    }

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

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

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

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

/* Logo Preview */
.logo-preview {
    max-width: 150px;
    max-height: 150px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 10px;
    background: var(--white);
}

/* Community Page Styles */
.community-sidebar {
    position: sticky;
    top: 100px;
}

.community-post {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.community-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.community-post .card-header {
    background: linear-gradient(45deg, var(--light-gold), var(--light-blue));
    border-bottom: none;
    border-radius: 15px 15px 0 0;
}

.category-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.post-actions .btn {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.post-actions .btn:hover {
    transform: scale(1.05);
}

.nav-link.active {
    color: var(--primary-gold) !important;
    font-weight: 600;
}

/* Community Guidelines Card */
.card-header h6 {
    color: var(--text-dark);
    font-weight: 600;
}

/* Read-only form fields styling */
.form-control[readonly] {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
    color: #6c757d !important;
    cursor: not-allowed;
}

.form-control[readonly]:focus {
    background-color: #e9ecef !important;
    border-color: #ced4da !important;
    box-shadow: none !important;
}

/* RSS Post Cards - Enhanced Styling */
.rss-post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.rss-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.rss-post-card:hover::before {
    opacity: 1;
}

.rss-post-card .card-body {
    padding: 1.5rem;
    position: relative;
}

.rss-post-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rss-post-card .card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rss-post-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rss-post-card .btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rss-post-card .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* RSS Category Badges */
.bg-fundraising {
    background: linear-gradient(45deg, var(--soft-green), #5cb85c) !important;
    color: white !important;
}

.bg-charity {
    background: linear-gradient(45deg, var(--soft-blue), #337ab7) !important;
    color: white !important;
}

.bg-pediatric_cancer {
    background: linear-gradient(45deg, #e74c3c, #c0392b) !important;
    color: white !important;
}

/* RSS Source Attribution */
.rss-source {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.rss-source i {
    color: var(--primary-gold);
    margin-right: 0.5rem;
}

/* RSS Date Styling */
.rss-date {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* RSS Post Header */
.rss-post-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

/* Loading and Error States */
.rss-loading-spinner {
    color: var(--primary-gold);
}

.rss-no-posts {
    padding: 3rem 1rem;
    text-align: center;
}

.rss-no-posts i {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.rss-no-posts h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.rss-no-posts p {
    color: var(--text-light);
}

/* Organization Detail Page */
.org-detail-logo {
    max-height: 120px;
    width: auto;
    max-width: 200px;
}

.org-icon-large {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-gold), var(--accent-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.organization-logo {
    text-align: center;
}
