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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.blog {
    padding: 0;
    margin-top: 0;
}

.blog .author-date {
    padding: 0 50px;
    margin-bottom: 2rem;
}

.header {
    position: relative;
    background-color: #E8F7F5;
    padding: 3rem 8rem;
    display: flex;
    align-items: center;
    gap: 6rem;
    min-height: 360px;
}

.header-content {
    flex: 1;
    max-width: 650px;
    padding-right: 2rem;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-label {
    font-size: 1rem;
    font-weight: 600;
    color: #40B3A2;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-align: left;
}

.header-image {
    flex: 0 0 45%;
    height: 300px;
}

.header-image img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.author-date {
    color: #666;
    width: 100%; /* Ensure it takes the full width of the header */
    margin: 0 auto; /* Remove any default margin */
    max-width: 1000px;
    align-content: center;
    text-align: center; /* Center the text horizontally */
    font-size: 1rem;
    padding-bottom: 20px;
    font-weight: 500;
}

.blog h1 {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
    max-width: 1000px;
    align-content: center;
    text-align: left;
    font-size: 2rem;
    padding-bottom: 20px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
}

.blog-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

.half-size {
    width: 50%;
}

.content {
    padding: 20px;
    padding-top: 40px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    font-size: 1.1rem;
    color: #666;
}

.content h1 {
    margin-bottom: 0.5rem;
    margin-top: 2rem;
    scroll-margin-top: 120px;
}

.content h1:first-of-type {
    margin-top: 0;
}

.content h1 + h2 {
    margin-top: 0.75rem;
}

.content h2 {
    color: #40B3A2;
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
    line-height: 1.3;
    scroll-margin-top: 120px;
}

.content h2 + p {
    margin-top: 0.3rem;
}

.content p {
    margin-bottom: 0.8rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.4;
}

.content p + h1 {
    margin-top: 2rem;
}

.content p + h2 {
    margin-top: 1.5rem;
}

.content ul {
    margin-left: 20px;
    list-style-type: disc;
    margin-bottom: 1.5rem;
}

.content ul li {
    margin-bottom: 0.75rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.content ul li::marker {
    color: #40B3A2;
}

.highlight {
    background-color: #E8F7F5;
    padding: 1.5rem;
    border-left: 5px solid #40B3A2;
    margin-bottom: 1.5rem;
    color: #666;
}

blockquote {
    border-left: 5px solid #40B3A2;
    margin: 1.5rem 0;
    padding: 1.5rem;
    position: relative;
}

blockquote p {
    display: inline;
    font-style: italic;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

blockquote footer {
    text-align: left;
    font-size: 0.9rem;
    color: #666;
    padding-top: 1rem;
    margin-left: 0;
}

blockquote footer a {
    color: #40B3A2;
    text-decoration: none;
}

blockquote footer a:hover {
    text-decoration: underline;
}

.report-line {
    display: inline;
}

.report-line .star {
    margin-left: 5px;
}

.content .report-link {
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    color: #666;
    text-align: left;
    display: flex;
    line-height: 1.2;
}

.content .report-link a {
    color: #40B3A2;
    text-decoration: none;
    margin-left: 0.3rem;
}

.content .report-link a:hover {
    text-decoration: underline;
}

/* Footer Styles */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding: 0 2rem;
}

.footer-column {
    text-align: left;
}

.footer-column h3 {
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

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

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #40B3A2;
}

.footer-column .address {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.speak-title {
    margin-bottom: 1.5rem;
}

.speak-link {
    color: #40B3A2;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.speak-link:hover {
    color: #359686;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.linkedin-link {
    color: #0077B5;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.linkedin-link:hover {
    color: #005582;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    margin-top: 4rem;
    padding: 1.5rem 2rem;
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-copyright a {
    color: #666;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-copyright a:hover {
    color: #40B3A2;
}

.green-bar {
    height: 4px;
    background-color: #40B3A2;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.source-separator {
    margin: 3rem 0 1.5rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
    width: 100%;
}

.sources-heading {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    padding: 0 50px;
    justify-content: space-between;
    position: relative;
}

.content {
    flex: 1;
    max-width: 700px;
    order: 1;
    padding-top: 2rem;
}

.table-of-contents {
    width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(64, 179, 162, 0.2);
    order: 2;
    margin-top: 2rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.table-of-contents h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul ul {
    padding-left: 1.5rem;
    margin-top: 0.75rem;
}

.table-of-contents li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.table-of-contents > ul > li > a {
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
}

.table-of-contents ul ul li {
    margin-bottom: 0.5rem;
    color: #666;
}

.table-of-contents a {
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.table-of-contents a:hover {
    color: #40B3A2;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
}

.read-time, .post-date {
    display: flex;
    align-items: center;
}

.read-time::before {
    content: "";
}

.post-date::before {
    content: "";
}

@media (max-width: 1024px) {
    .blog {
        margin-top: 4rem;
    }
    
    .header {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .header-content, .header-image {
        max-width: 100%;
        padding: 0 1rem;
        margin-right: 0;
    }

    .post-meta {
        flex-direction: row;
        gap: 1.5rem;
    }

    .table-of-contents {
        display: none;
    }
    
    .blog-layout {
        display: block;
        padding: 0 2rem;
    }
    
    .content {
        max-width: 100%;
    }

    .blog .author-date,
    .blog-layout {
        padding: 0 2rem;
    }
}

