/* resource-article-style.css */

body.page-resource-article {
    background-color: #faf9f8; /* Consistent light background */
    font-family: var(--font-primary, 'Poppins', sans-serif);
    color: var(--color-dark-text, #333);
    line-height: 1.7;
}

.resource-article-main {
    padding: 40px 0; /* Add padding top and bottom for the main content area */
}

.article-container {
    max-width: 900px; /* Comfortable reading width */
    margin: 0 auto;
    background-color: var(--color-white, #fff);
    padding: 0px;  
    border-radius: var(--border-radius, 15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 25px;
    font-size: 0.9rem;
}
.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
}
.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: var(--color-light-text);
}
.breadcrumbs a {
    color: var(--color-primary-blue);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span[aria-current="page"] {
    color: var(--color-dark-text);
    font-weight: 500;
}

.article-header  {
    position: static;
    margin-bottom: 30px;
    box-shadow: none;
    padding: 20px;
}

.article-header h1 {
    font-size: 2.2rem; /* Slightly smaller than homepage H1 */
    color: var(--color-dark-text);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-intro {
    font-size: 1.1rem;
    color: var(--color-light-text);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400; /* Lighter than headings */
}

.article-header-doodle {
    display: block;
    margin: 10px auto 40px auto; /* Centered doodle */
    max-width: 80px; /* Adjust size as needed */
    opacity: 0.8;
}

.article-content { 
    padding-right: 30px;
    padding-left: 30px;
}

.article-content h2 {
    font-size: 1.6rem;
    color: var(--color-primary-blue); /* Using a theme color for subheadings */
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-accent-yellow, #FFEB3B); /* Playful underline */
    display: inline-block; /* So border only spans text width */
}



.article-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--color-light-text);
}

.article-content ul { /* If you use bullet points from the original text */
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    margin-bottom: 20px;
}
.article-content ul li {
    padding-left: 30px; /* Space for custom bullet/icon */
    position: relative;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--color-light-text);
}
.article-content ul li::before {
    content: '☀️'; /* Sun emoji or an SVG icon */
    position: absolute;
    left: 0;
    top: 0; /* Adjust vertical alignment if needed */
    color: var(--color-accent-orange); /* Example color */
    font-size: 1.2rem;
}

/* Styling for content blocks with icons */
.content-block {
    margin-bottom: 30px;
    position: relative;
    padding-left: 70px; /* Space for the icon */
}

.doodle-icon-wrapper {
    position: absolute;
    left: 0;
    top: 0px; /* Align with start of H2 or paragraph */
    width: 50px; /* Container for icon */
    height: 50px;
    background-color: #f0f4f8; /* Light, soft background for icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.content-block-icon {
    max-width: 60%; /* Icon size within the circle */
    max-height: 60%;
}


.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
.article-footer p {
    font-style: italic;
    color: var(--color-light-text);
    margin-bottom: 30px;
    font-size: 0.95rem;
    margin-left: 20px;
    margin-right: 20px;
}

/* Button Style (if not already in main style.css or needs override) */
.btn.btn-outline-blue {
    background-color: transparent;
    color: var(--color-primary-blue);
    border: 2px solid var(--color-primary-blue);
    padding: 12px 30px;
}
.btn.btn-outline-blue:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-container {
        padding: 30px 25px;
    }
    .article-header h1 {
        font-size: 1.9rem;
    }
    .article-intro {
        font-size: 1rem;
    }
    .article-content h2 {
        font-size: 1.4rem;
    }
    .content-block {
        padding-left: 0; /* Stack icon above text on mobile */
        padding-top: 70px; /* Space for icon */
    }
    .doodle-icon-wrapper {
        left: 50%; /* Center the icon */
        transform: translateX(-50%);
        top: 0;
    }
}

@media (max-width: 480px) {
    .article-container {
        padding: 25px 15px;
    }
    .breadcrumbs {
        font-size: 0.8rem;
    }
    .article-header h1 {
        font-size: 1.7rem;
    }
}