@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');

:root {
    --primary-teal: #085a66;
    --pahal-orange: #f47c20;
    --bg-faded: #f4f7f6;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --shadow-premium: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-page-wrapper {
    background: var(--bg-faded);
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    padding-bottom: 80px;
}

/* --- PREMIUM HERO --- */
.forum-hero {
    background: linear-gradient(135deg, var(--primary-teal), #0a7a8a);
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.premium-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.premium-subtitle {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-divider {
    width: 80px;
    height: 5px;
    background: var(--pahal-orange);
    margin: 30px auto 0;
    border-radius: 10px;
}

/* --- LAYOUT GRID --- */
.blog-main-layout {
    max-width: 1300px;
    margin: -60px auto 0;
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* --- FEED & CARDS --- */
.blog-feed {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-premium);
}

.section-title {
    font-size: 1.8rem;
    color: var(--primary-teal);
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.blog-card-premium {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.blog-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(8, 90, 102, 0.1);
    border-color: var(--primary-teal);
}

/* ADJUSTED POST NUMBER STYLE */
.post-number {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pahal-orange); /* Changed from faded teal to orange to make it stand out */
    opacity: 0.6;
}

.post-title a {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-teal);
    text-decoration: none;
    transition: 0.3s;
}

.post-title a:hover { color: var(--pahal-orange); }

.post-meta-strip {
    margin: 15px 0;
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pahal-orange);
}

.post-excerpt {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-teal);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.read-more-btn:hover {
    background: var(--pahal-orange);
    box-shadow: 0 10px 20px rgba(244, 124, 32, 0.3);
}

/* --- SIDEBAR --- */
.sidebar-sticky {
    position: sticky;
    top: 30px;
}

/* --- FIXED SIDEBAR TITLE --- */
.sidebar-title {
    font-size: 1.8rem; /* Slightly larger for better visibility */
    color: #ffffff; /* Ensuring it uses your brand teal */
    margin-bottom: 30px;
    text-align: center; /* This centers the text */
    font-weight: 800; /* Extra bold to stand out */
    text-transform: uppercase; /* Makes it look more professional */
    letter-spacing: 1px;
    border-bottom: 3px solid var(--pahal-orange); /* Adds a decorative line under the title */
    padding-bottom: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.impact-card-fancy {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: 0.3s;
}

.impact-card-fancy:hover {
    border-left: 5px solid var(--pahal-orange);
    transform: translateX(5px);
}

.impact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(8, 90, 102, 0.1);
    color: var(--primary-teal);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.impact-info h3 { font-size: 1.1rem; margin-bottom: 5px; color: var(--primary-teal); }
.impact-info p { font-size: 0.9rem; color: #666; line-height: 1.5; }

.badge-stat {
    display: inline-block;
    margin-top: 10px;
    background: rgba(244, 124, 32, 0.1);
    color: var(--pahal-orange);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
}

.impact-quote {
    background: linear-gradient(135deg, var(--primary-teal), var(--pahal-orange));
    padding: 40px;
    border-radius: 25px;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(244, 124, 32, 0.3);
}

.quote-icon {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 15px;
}

/* --- PAGINATION --- */
.modern-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pag-btn {
    background: var(--primary-teal);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.pag-btn.disabled { background: #ccc; cursor: not-allowed; }
.pag-btn:hover:not(.disabled) { background: var(--pahal-orange); }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .blog-main-layout { grid-template-columns: 1fr; margin-top: 20px; }
    .premium-title { font-size: 2.5rem; }
}