/* MyMounjaro.blog Redesign - Based on Design Proposal */
/* Version 5.0 - New Dark Cream Background */

/* 1. FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Crimson+Text:ital@1&display=swap');

/* 2. CSS VARIABLES (Color Palette & Typography) */
:root {
    /* Primary Palette */
    --warm-blue: #4A90E2;
    --soft-coral: #FF6B6B;
    --sage-green: #95B8A3;
    --warm-cream: #FFF8E7;
    --dark-cream: #FDF0D5; /* UPDATED to new darker cream */
    --charcoal-gray: #2C3E50;

    /* Fonts */
    --font-primary: 'Poppins', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --font-secondary: 'Crimson Text', serif;

    /* Layout */
    --border-radius: 12px;
    --card-shadow: 0 5px 20px rgba(44, 62, 80, 0.1);
    --transition-speed: 0.3s;
}

/* 3. GENERAL BODY & RESET STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--charcoal-gray);
    background-color: var(--warm-cream);
    background-image: none;
}

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

h1, h2, h3 {
    font-weight: 700;
    color: var(--charcoal-gray);
}

h1 { font-size: 2.8rem; margin-bottom: 0.2em; }
h2 { font-size: 2.2rem; margin-bottom: 1em; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.75em; color: var(--warm-blue); }

a {
    color: var(--warm-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--soft-coral);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* 4. NAVIGATION */
.nav {
    background: var(--dark-cream);
    padding: 15px 30px;
    border-radius: 50px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--charcoal-gray);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
}

.nav a:hover {
    background: var(--warm-cream);
    color: var(--charcoal-gray);
}

.nav a.active {
    background: var(--warm-blue);
    color: #FFFFFF;
}

/* 5. BREADCRUMBS */
.breadcrumbs {
    background: transparent;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* 6. HEADER & PAGE SECTIONS */
.page-header {
    text-align: center;
    margin-bottom: 50px;
    background: transparent;
    padding: 20px 0;
    box-shadow: none;
}

.page-header .subtitle {
    font-size: 1.3rem;
    color: #555;
}

.personal-intro, .story-preview {
    background: var(--dark-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    margin: 0 auto 20px auto; /* Closes top margin, keeps bottom margin */
    border-left: 5px solid var(--sage-green);
    font-size: 1.1rem;
    max-width: none; /* Extends the box width */
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.trust-badge {
    background: var(--sage-green);
    color: white; 
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* 7. CONTENT CARDS & LAYOUT */
.content-section, .full-width-section, .faq-section, .contact-section, .updates-section, .referral-info-section, .timeline-section, .progress-section, .experience-section, .lifestyle-section, .tips-section, .cta-section, .update-section {
    background: var(--dark-cream);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.cta-button, .submit-btn {
    background: var(--soft-coral);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    /* text-transform: uppercase; <-- This line has been DELETED */
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
}

.cta-button:hover, .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

.cta-button.secondary {
    background: var(--warm-blue);
    box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}
.cta-button.secondary:hover {
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}


/* 9. SPECIFIC SECTION STYLES - HOME */
.discount-amount {
    font-size: 3.5rem;
    color: var(--soft-coral);
    font-weight: 700;
    margin: 15px 0;
    text-align: center;
}

.benefits-list {
    list-style: disc;
    margin-bottom: 30px;
    padding-left: 25px;
}

.benefits-list li {
    margin-bottom: 12px;
    padding-left: 5px;
}

.benefits-list li::marker {
    color: var(--sage-green);
    font-size: 1.2em;
}

.important-notice {
    background: var(--warm-cream);
    border: 2px solid var(--soft-coral);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}
.important-notice h3 { color: var(--charcoal-gray); }
.important-notice p { color: var(--charcoal-gray); }


/* 10. SPECIFIC SECTION STYLES - FAQ & CONTACT (CLEANED & FINAL) */
.quick-link-card {
    background: var(--warm-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--charcoal-gray);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #E0E0E0;
}
.quick-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}
.quick-link-card h3 { color: var(--warm-blue); }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}
.faq-question {
    background: var(--dark-cream);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question:hover { background: var(--warm-cream); }
.faq-question h3 { margin: 0; font-size: 1.1rem; }
.faq-toggle { font-size: 1.5rem; font-weight: bold; color: var(--warm-blue); }
.faq-answer { display: none; padding: 20px; background: var(--dark-cream); border-top: 1px solid #e9ecef; }

.faq-item.active { border: 1px solid var(--warm-blue); }
.faq-item.active .faq-question { background: var(--warm-blue); }
.faq-item.active .faq-question h3,
.faq-item.active .faq-toggle { color: white; }

.contact-form, .update-signup {
    background: var(--warm-cream);
    padding: 30px;
    border-radius: var(--border-radius);
}
.form-group { margin-bottom: 20px; }
.form-group label { margin-bottom: 8px; font-weight: 600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--warm-blue);
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
}
.form-message div { padding: 15px; border-radius: 8px; margin-top: 20px; }
.success-message { background: var(--sage-green); color: white; }
.error-message { background: var(--soft-coral); color: white; }
.loading-message, .info-message { background: var(--warm-blue); color: white; }

.contact-info ul, .update-info ul, .update-schedule ul {
    list-style: disc;
    padding-left: 25px;
    margin: 20px 0;
}
.contact-info li, .update-info li, .update-schedule li {
    margin-bottom: 8px;
    padding-left: 5px;
}
.contact-info li::marker, .update-info li::marker, .update-schedule li::marker {
    color: var(--sage-green);
    font-size: 1.2em;
}

.referral-card {
    background: var(--dark-cream);
    border-radius: var(--border-radius);
    padding: 25px;
    border-top: 4px solid var(--warm-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.referral-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}
.referral-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.referral-card li {
    display: inline;
    line-height: 1.7;
}
.referral-card li::after {
    content: " • ";
    color: var(--sage-green);
    font-weight: bold;
    font-size: 0.9em;
    vertical-align: middle;
}
.referral-card li:last-child::after {
    content: "";
}
.referral-cta {
    text-align: center;
    background: var(--warm-cream);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
}
.referral-cta h3 { color: var(--warm-blue); }
.referral-cta .cta-button {
    background: var(--soft-coral);
    max-width: 350px;
    margin: 0 auto;
}

/* 11. SPECIFIC SECTION STYLES - JOURNEY */
.timeline-content { border-left-color: var(--warm-blue); }
.stat-card { border-left-color: var(--sage-green); }
.big-number { color: var(--sage-green); }
.tip-card.challenge { border-left-color: var(--soft-coral); background: #fff2f2; }
.tip-card.success { border-left-color: var(--sage-green); background: #f0f9f0;}

/* 12. FOOTER */
.footer {
    background: var(--charcoal-gray);
    color: #FFFFFF;
    padding: 40px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    text-align: center;
    margin-top: 40px;
}
.footer .disclaimer {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    font-size: 0.9rem;
}
.footer .disclaimer h3, .footer .disclaimer p {
    color: #FFFFFF;
}
.footer a {
    color: var(--warm-blue);
}
.footer a:hover {
    color: var(--soft-coral);
}
footer p {
    color: #ccc;
}

/* 13. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .main-content, .contact-content, .updates-content, .lifestyle-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    
    .nav ul {
        flex-direction: column;
        gap: 5px;
    }
    .nav {
        border-radius: var(--border-radius);
    }
}

/* 14. STATS BOXES - ADDED */
.stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: var(--warm-cream);
    flex: 1;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--soft-coral);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--charcoal-gray);
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
    }
}

/* 16. MY JOURNEY PAGE - LAYOUT ENHANCEMENTS */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.timeline:before {
    display: none;
}

.timeline-item {
    background: var(--dark-cream);
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    padding: 25px;
    padding-left: 80px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 25px;
    width: 45px;
    height: 45px;
    background: var(--warm-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 10px;
}

.progress-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.stat-card {
    background: var(--warm-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 250px;
    text-align: center;
    border-left: none;
    border-top: 4px solid var(--sage-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.experience-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.experience-card {
    background: var(--dark-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warm-blue);
}

.experience-card ul { list-style: none; padding: 0; }
.experience-card li { padding: 8px 0; }
.experience-card li:before { display: none; }

.cta-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

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

.referral-reminder {
    background: var(--warm-cream);
    border: 1px solid #E0E0E0;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    font-size: 0.95rem;
}

/* 17. NEW HOMEPAGE SECTIONS */

.about-me-content {
    line-height: 1.7; /* A little extra line height for readability */
}
.about-me-content::after {
    content: "";
    clear: both;
    display: table;
}

/* This is the main style for BOTH images */
/* --- About Me Card (Updated with Text Wrap) --- */

/* This container now has a clearfix to contain the floating images */
.about-me-content {
    line-height: 1.7; /* A little extra line height for readability */
}
.about-me-content::after {
    content: "";
    clear: both;
    display: table;
}

/* This is the main style for BOTH images */
.about-me-img {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius); /* RECOMMENDED: Rounded Rectangles */
    object-fit: cover;
    border: 3px solid var(--sage-green);
    margin-bottom: 10px; /* Space below the image if text wraps under it */
}

/* This floats the "before" image to the left */
.about-me-img-left {
    float: left;
    margin-right: 20px; /* Space between the image and the text */
}

/* This floats the "after" image to the right */
.about-me-img-right {
    float: right;
    margin-left: 20px; /* Space between the image and the text */
}

.about-me-content p {
    font-size: 1rem;
    text-align: left; /* Ensure text is left-aligned for wrapping */
    margin-bottom: 1em; /* Adds a nice space between paragraphs */
}

/* --- Bottom CTA Section --- */
.cta-bottom {
    text-align: center;
}

.cta-bottom h2 {
    font-size: 1.8rem; /* More normal size heading */
}

.cta-bottom p {
    max-width: 600px;
    margin: 0 auto 25px auto; /* Adds space below paragraph, before button */
}

.cta-disclaimer {
    background: var(--warm-cream);
    border: 1px solid #E0E0E0;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    /* max-width: 700px; <-- This line is DELETED to make the box wider */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-disclaimer h3 {
    font-size: 0.9rem;      /* Makes heading smaller */
    font-weight: 600;
    color: var(--charcoal-gray);
    margin-bottom: 10px;
}

/* This new rule makes the paragraph text smaller */
.cta-disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: none; /* This is the key: it overrides the 600px limit */
    margin: 0;       /* This removes the auto-margins that center the block */
}

.cta-bottom .cta-button {
    max-width: 250px;
    padding: 5px 15px;
    font-size: 0.9rem;
    margin: 0 auto;
}

/* 18. BLOG POST SPECIFIC STYLES */

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

.post-category {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}

.post-title {
    font-size: 2.5rem;
    color: var(--charcoal-gray);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.post-meta {
    color: #555;
    font-size: 1rem;
    margin-bottom: 10px;
}

.post-content {
    padding: 50px;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    padding: 30px;
    text-align: center;
}

.nav-link {
    display: inline-block;
    background: var(--warm-blue);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-link:hover {
    background: #2980b9;
}

.nav-link.back-to-blog {
    background: var(--sage-green);
}

.nav-link.back-to-blog:hover {
    background: #80a891;
}

.nav-prev { text-align: left; }
.nav-next { text-align: right; }

@media (max-width: 768px) {
    .post-title { font-size: 2rem; }
    .post-content { padding: 30px 25px; }
    .post-navigation { grid-template-columns: 1fr; gap: 15px; }
    .nav-prev, .nav-next { text-align: center; }
}

.post-header,
.post-content,
.post-navigation,
.comments-section {
    background: var(--dark-cream);
}

/* 19. COMMUNITY PAGE SPECIFIC STYLES */

.guidelines-section,
.share-section,
.posts-section,
.ask-john-section,
.success-highlight {
    background: var(--dark-cream);
}

/* This new rule ensures ALL cards on the page have consistent rounded corners */
.guidelines-section .guideline-card,
.posts-section .post-card,
.posts-section .post-response {
    border-radius: var(--border-radius);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

.guideline-card {
    background: var(--warm-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--warm-blue);
}
.guideline-card h3 { color: var(--charcoal-gray); margin-bottom: 15px; }
.guideline-card ul { list-style: none; padding: 0; }
.guideline-card li { padding: 5px 0; position: relative; padding-left: 20px; }
.guideline-card li:before { content: "•"; position: absolute; left: 0; color: var(--warm-blue); font-weight: bold; }

.moderation-note {
    background: var(--warm-cream);
    border: 1px solid #E0E0E0;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
}

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

.post-card {
    background: var(--warm-cream);
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}
.post-header h3 { color: var(--warm-blue); margin: 0; font-size: 1.2rem; }
.post-meta { color: #555; font-size: 0.9rem; }
.post-content { margin-bottom: 15px; line-height: 1.6; }

.post-response {
    background: var(--dark-cream);
    border-left: 4px solid var(--sage-green);
    padding: 15px;
    border-radius: 0 8px 8px 0;
}
.response-header { color: var(--sage-green); margin-bottom: 8px; font-weight: bold; }

.ask-john-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: center;
}

.ask-john-text ul { list-style: disc; padding-left: 25px; margin: 20px 0; }
.ask-john-text li { margin-bottom: 8px; padding-left: 5px; }
.ask-john-text li::marker { color: var(--sage-green); }
.ask-john-text .cta-button { max-width: 250px; }

.success-stats { display: flex; justify-content: space-around; margin: 30px 0; }
.success-stat { text-align: center; }
.success-stat .stat-number { color: var(--sage-green); }

@media (max-width: 768px) {
    .guidelines-grid, .ask-john-content { grid-template-columns: 1fr; gap: 20px; }
    .success-stats { flex-direction: column; gap: 20px; }
    .post-header { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* 20. BLOG LISTING PAGE STYLES (Corrected) */

/* This targets the header and category browser sections */
.blog-header,
.category-navigation {
    background: var(--dark-cream);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.blog-intro {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 15px auto 0 auto;
    line-height: 1.6;
}

.category-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: transform 0.3s ease;
}

.category-link:hover {
    transform: translateY(-2px);
}

.category-count {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin-left: 8px;
}

/* This targets the grid that holds all the post cards */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* This targets the individual post cards you see in the grid */
.blog-post-card {
    background: var(--warm-cream); /* Using the lighter cream for contrast */
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-post-card .post-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-post-card .post-excerpt {
    flex-grow: 1; /* Ensures the excerpt expands to fill space */
}

.blog-post-card .read-more {
    display: inline-block;
    background: var(--warm-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: 20px; /* Pushes the button to the bottom */
    align-self: flex-start; /* Aligns button to the left */
}

.blog-post-card .read-more:hover {
    background: #2980b9;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    background: var(--dark-cream);
    border-radius: 8px;
    text-decoration: none;
    color: var(--charcoal-gray);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--warm-blue);
    color: white;
}

.pagination .current {
    background: var(--warm-blue);
    color: white;
}
/* Blog Cards Styling */
.blog-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e8e8e8;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: auto;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-card-date {
    color: #888;
    font-size: 0.9rem;
}

.blog-card-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.blog-card-link:hover {
    background-color: #e74c3c;
    color: white;
}

.blog-card-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-card-loading {
    color: #888;
    font-size: 1.1rem;
}

/* Before & After Photos Section */
.before-after-section {
    background: var(--warm-cream);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: var(--border-radius);
    text-align: center;
}

.before-after-section h2 {
    color: var(--charcoal-gray);
    margin-bottom: 15px;
    font-size: 2.2em;
}

.photo-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.photo-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.photo-container {
    background: var(--dark-cream);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    flex: 1;
    max-width: 350px;
    min-width: 280px;
}

.photo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.15);
}

.before-after-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.photo-caption h3 {
    color: var(--charcoal-gray);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.photo-caption p {
    margin: 5px 0;
    color: #666;
}

.photo-note {
    background: var(--dark-cream);
    border: 1px solid var(--sage-green);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}