/* Blog Hero Section */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 95, 60, 0.8), rgba(15, 95, 60, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-yellow);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.blog-category-badge {
    background: var(--secondary-yellow);
    color: var(--orange-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
}

.blog-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Blog Content Section */
.blog-content-section {
    padding: 60px 0;
    background: white;
}

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

.blog-article {
    background: white;
    margin-bottom: 60px;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.article-meta-top {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-muted);
}

.meta-item-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item-top i {
    color: var(--primary-green);
}

.article-title-main {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Amiri', serif;
}

.article-title-main .highlight-green {
    color: var(--primary-green);
}

.article-title-main .highlight-orange {
    color: var(--secondary-yellow);
}

.article-excerpt {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 50px 0 25px 0;
    line-height: 1.3;
}

.article-body h2 .highlight-green {
    color: var(--primary-green);
}

.article-body h2 .highlight-orange {
    color: var(--secondary-yellow);
}

.article-body h3 {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 40px 0 20px 0;
}

.article-body p {
    margin-bottom: 25px;
}

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

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

.article-body blockquote {
    background: var(--bg-light);
    border-left: 5px solid var(--primary-green);
    margin: 40px 0;
    padding: 30px 40px;
    font-size: 20px;
    font-style: italic;
    border-radius: 0 15px 15px 0;
    position: relative;
}

.article-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: serif;
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Article Images */
.article-image {
    margin: 40px 0;
    text-align: center;
}

.article-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.article-image img:hover {
    transform: scale(1.02);
}

.article-image figcaption {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 15px;
    padding: 0 20px;
    line-height: 1.5;
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--bg-light);
}

.article-tags {
    margin-bottom: 40px;
}

.article-tags h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-green);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: var(--primary-green);
    color: white;
}

/* Author Section */
.author-section {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.author-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.author-title {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.social-link:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* Share Section */
.share-section {
    text-align: center;
    margin: 50px 0;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
}

.share-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.share-buttons-main {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.share-btn-main.facebook {
    background: #3b5998;
    color: white;
}

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

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

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

.share-btn-main:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

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

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

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

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    color: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0;
}

.newsletter-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form-main {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 50px;
    overflow: hidden;
    background: white;
}

.newsletter-form-main input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.newsletter-form-main button {
    background: var(--secondary-yellow);
    color: var(--orange-text);
    border: none;
    padding: 15px 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-main button:hover {
    background: var(--secondary-yellow-hover);
}

/* Related Articles Section */
.related-articles-section {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.related-articles-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.related-articles-section h2 .highlight-green {
    color: var(--primary-green);
}

.related-articles-section h2 .highlight-orange {
    color: var(--secondary-yellow);
}

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

.related-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

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

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

.related-card:hover .related-card-image img {
    transform: scale(1.1);
}

.related-card-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-green);
    color: white;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
    font-size: 12px;
}

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

.related-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 12px;
}

.related-card-category {
    background: rgba(15, 95, 60, 0.1);
    color: var(--primary-green);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.related-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.related-card-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.related-card-link:hover {
    color: var(--primary-green-hover);
    gap: 12px;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .blog-hero {
        height: 45vh;
        min-height: 380px;
    }
    
    .blog-container {
        padding: 0 20px;
    }
    
    .blog-title {
        font-size: 36px;
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .blog-actions {
        padding: 0 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .article-title-main {
        font-size: 32px;
    }
    
    .article-excerpt {
        font-size: 18px;
    }
    
    .article-body {
        font-size: 17px;
    }
    
    .article-body h2 {
        font-size: 28px;
    }
    
    .article-body h3 {
        font-size: 24px;
    }
    
    .newsletter-section {
        padding: 40px 30px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .share-buttons-main {
        gap: 12px;
    }
    
    .share-btn-main {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .article-image {
        margin: 30px 0;
    }
    
    .article-image img {
        border-radius: 12px;
    }
    
    .article-image figcaption {
        font-size: 13px;
        margin-top: 12px;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .blog-container {
        padding: 0 15px;
    }
    
    .blog-title {
        font-size: 28px;
        padding: 0 10px;
        line-height: 1.2;
    }
    
    .hero-content {
        padding: 0 5px;
    }
    
    .blog-actions {
        padding: 0 10px;
        margin-top: 20px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .share-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-right: 10px;
    }
    
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .article-title-main {
        font-size: 28px;
    }
    
    .article-excerpt {
        font-size: 18px;
    }
    
    .article-meta-top {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .article-body {
        font-size: 16px;
    }
    
    .article-body h2 {
        font-size: 26px;
    }
    
    .article-body h3 {
        font-size: 22px;
    }
    
    .article-body blockquote {
        padding: 20px 25px;
        font-size: 18px;
    }
    
    .author-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .author-avatar {
        margin-bottom: 20px;
    }
    
    .share-buttons-main {
        gap: 10px;
    }
    
    .share-btn-main {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .newsletter-form-main {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .newsletter-form-main input {
        border-radius: 15px 15px 0 0;
    }
    
    .newsletter-form-main button {
        border-radius: 0 0 15px 15px;
        padding: 18px 25px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .article-image {
        margin: 25px 0;
    }
    
    .article-image img {
        border-radius: 10px;
        max-height: 300px;
        object-fit: cover;
    }
    
    .article-image figcaption {
        font-size: 12px;
        margin-top: 10px;
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        height: auto;
        min-height: 400px;
        padding: 40px 0;
    }
    
    .blog-container {
        padding: 0 12px;
    }
    
    .blog-title {
        font-size: 24px;
        padding: 0 5px;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .blog-category-badge {
        padding: 6px 12px;
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .blog-actions {
        padding: 0 5px;
        margin-top: 15px;
    }
    
    .share-buttons {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }
    
    .share-label {
        font-size: 14px;
        margin-right: 8px;
        margin-bottom: 0;
    }
    
    .breadcrumb {
        font-size: 12px;
        margin-bottom: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-title-main {
        font-size: 24px;
    }
    
    .article-excerpt {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .article-meta-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .meta-item-top {
        font-size: 13px;
    }
    
    .article-body {
        font-size: 15px;
        line-height: 1.7;
    }
    
    .article-body h2 {
        font-size: 22px;
        margin: 40px 0 20px 0;
    }
    
    .article-body h3 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    
    .article-body p {
        margin-bottom: 20px;
    }
    
    .article-body blockquote {
        padding: 15px 20px;
        font-size: 16px;
        margin: 30px 0;
    }
    
    .article-body blockquote::before {
        font-size: 60px;
        top: -5px;
        left: 15px;
    }
    
    .article-body ul,
    .article-body ol {
        padding-left: 20px;
        margin: 20px 0;
    }
    
    .author-section,
    .newsletter-section {
        padding: 25px 15px;
        margin: 40px 0;
    }
    
    .author-content {
        gap: 15px;
    }
    
    .author-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .author-info h4 {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .author-title {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .author-bio {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .author-social {
        gap: 8px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .share-section {
        padding: 20px 10px;
        margin: 30px 0;
    }
    
    .share-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .share-buttons-main {
        gap: 8px;
        justify-content: center;
    }
    
    .share-btn-main {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .newsletter-section h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .newsletter-section p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .newsletter-form-main input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .newsletter-form-main button {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .article-tags {
        margin-bottom: 30px;
    }
    
    .article-tags h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .tags-list {
        gap: 8px;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .related-articles-section {
        padding: 40px 0;
    }
    
    .related-articles-container {
        padding: 0 10px;
    }
    
    .related-articles-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .related-card-content {
        padding: 20px 15px;
    }
    
    .related-card-title {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .related-card-excerpt {
        font-size: 13px;
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .related-card-link {
        font-size: 13px;
    }
    
    .related-card-image {
        height: 160px;
    }
    
    .related-card-date {
        padding: 6px;
        font-size: 11px;
        top: 10px;
        left: 10px;
    }
    
    .related-card-meta {
        margin-bottom: 12px;
    }
    
    .related-card-category {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .article-image {
        margin: 25px 0;
    }
    
    .article-image img {
        border-radius: 8px;
        max-height: 250px;
        object-fit: cover;
    }
    
    .article-image figcaption {
        font-size: 12px;
        margin-top: 10px;
        padding: 0 5px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .blog-hero {
        min-height: 380px;
        padding: 30px 0;
    }
    
    .blog-title {
        font-size: 20px;
        padding: 0;
    }
    
    .blog-container {
        padding: 0 10px;
    }
    
    .article-title-main {
        font-size: 20px;
    }
    
    .article-excerpt {
        font-size: 15px;
    }
    
    .article-body {
        font-size: 14px;
    }
    
    .article-body h2 {
        font-size: 20px;
    }
    
    .article-body h3 {
        font-size: 18px;
    }
    
    .share-btn-main {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .article-image {
        margin: 25px 0;
    }
    
    .article-image img {
        max-height: 200px;
        object-fit: cover;
    }
    
    .article-image figcaption {
        font-size: 12px;
        margin-top: 10px;
        padding: 0 5px;
    }
}
.article-featured-image img,
.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    margin: 20px 0;
}

.share-buttons {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    gap: 12px;
    flex-wrap: wrap; /* Ensures it wraps nicely on small screens */
    margin-top: 20px;
}

.share-label {
    font-weight: bold;
    margin-right: 8px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: white;
    background-color: #3b5998; /* fallback */
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Platform-specific colors */
.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.linkedin { background-color: #0077b5; }
.share-btn.whatsapp { background-color: #25d366; }

.share-btn:hover {
    opacity: 0.85;
}
