/* COP30-Brazil-Declaration.css - Animated and Responsive Styles */

/* Base Styles - Inherited from pfos-prohibition.css for consistency */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; /* Light blue background for a fresh look */
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2vw 3vw;
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.main-banner-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Blog Content Styling */
.blog-content {
    padding: 20px 0;
}

.blog-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #004d40; /* Dark Teal for a nature feel */
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 3px solid #74c5b5; /* Light Teal underline */
}

.intro-paragraph {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
    color: #555;
}

/* Animated Content Blocks */
.content-block {
    margin-bottom: 40px;
    padding: 25px;
    border-radius: 8px;
    background-color: #f9f9f9;
    border-left: 6px solid #2c5e2e; /* Stronger green accent */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    opacity: 0; /* Initial state for animation */
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #2c5e2e; /* Deep Green */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.content-block p {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

/* Icons and Lists */
.heading-icon-small {
    font-size: 20px;
    margin-right: 10px;
    color: #74c5b5; /* Light Teal icon color */
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
}

.custom-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 18px;
    color: #004d40; /* Dark Teal for list icons */
    transition: color 0.3s;
}

.custom-list li:hover i {
    color: #74c5b5;
}

.custom-list ol li i {
    color: #1f75cc; /* Blue for ordered list icons */
}

/* Reference Section */
.reference-section {
    border-left: 6px solid #1f75cc; /* Blue accent for reference */
    background-color: #f0f8ff;
}

.reference-section h2 {
    color: #1f75cc;
}

.reference-section a {
    color: #1f75cc;
    text-decoration: none;
    transition: color 0.3s;
}

.reference-section a:hover {
    color: #004d40;
    text-decoration: underline;
}

/* Animation Keyframes and Classes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Apply animations using data-attributes and JavaScript (or a more complex CSS approach) */
/* For a pure CSS approach, we'll use a simple fade-in on load for all blocks */
.content-block {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: var(--delay);
}

/* Setting delays for staggered effect */
.blog-content section:nth-child(2) { --delay: 0.2s; }
.blog-content section:nth-child(3) { --delay: 0.4s; }
.blog-content section:nth-child(4) { --delay: 0.6s; }
.blog-content section:nth-child(5) { --delay: 0.8s; }
.blog-content section:nth-child(6) { --delay: 1.0s; }
.blog-content section:nth-child(7) { --delay: 1.2s; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-container {
        padding: 15px;
    }
    .blog-content h1 {
        font-size: 30px;
    }
    .content-block h2 {
        font-size: 20px;
    }
    .content-block {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .blog-content h1 {
        font-size: 24px;
    }
    .intro-paragraph {
        font-size: 16px;
    }
    .content-block h2 {
        font-size: 18px;
    }
    .content-block p, .custom-list li {
        font-size: 14px;
    }
    .custom-list li i {
        font-size: 16px;
    }
}
