/* Importing Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&family=Open+Sans:wght@300;400;600&display=swap');

/* General Body Styling */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Increased margins */
.container, .container-fluid {
    max-width: 90%;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #2e7d32; /* Green shade for optimism and modern feel */
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.3rem;
}

p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #555;
}

/* Lead Paragraph Styling */
p.lead {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
}

/* Smaller Text Block */
p.mt-4 {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

/* Header Section with Green Background */
.header-block {
    background-color: #e8f5e9;
    border-radius: 10px;
}

.logo-column {
    background-color: #008000;
}

.logo-background {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Logo - Adjusted Size */
.logo-adjustment {
    max-width: 100%;
    height: auto;
}

/* Cards (Consejo Members) */
.card {
    border: none;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #2e7d32;
    font-size: 1.2rem;
    text-align: center;
}

.card-text {
    font-family: 'Open Sans', sans-serif;
    color: #777;
    font-size: .8rem;
    text-align: center;
}

/* Square Image Styling */
.card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: #2e7d32;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    font-size: 1rem;
}

footer ul {
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

footer li {
    display: inline;
    margin: 0 20px;
}

footer a {
    color: #ffffff;
    font-size: 1.1rem;
    text-decoration: none;
}

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

.footer-text {
    color: #ffffff;
    font-size: 0.95rem;
}

/* Links */
a {
    color: #2e7d32;
}

a:hover {
    color: #43a047;
}

/* Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    header p.lead {
        font-size: 1.6rem;
    }

    header p.mt-4 {
        font-size: 1.1rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    p {
        font-size: 1.1rem;
    }


    /* Adjusted logo for smaller screens */
    .logo-adjustment {
        max-width: 300px;
    }
}


.lacandela-block {
    background-color: #fffbe6;
    border: 2px solid #fdd835;
    border-radius: 12px;
    padding: 20px;
}

.lacandela-block h3 {
    color: #f57f17; /* Mostaza intenso */
}

.candela-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.candela-post-title a {
    
    color: #f57f17;
    text-decoration: none;
}

.candela-post-title a:hover {
    text-decoration: underline;
}

.candela-post-description {
    font-size: 0.95rem;
    color: #555;
    margin-top: 5px;
}

  .green-ribbon {
    background-color: #2e7d32;
    height: 32px;
    width: 100%;
    display: flex
;
    align-items: center;
    justify-content: flex-start;
    padding-left: 16px;
}

.ribbon-image {
    height: 100%;
    margin-left: 0;
    padding-left: 0;
    display: block;

}

.ribbon-text {
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    text-decoration: none;
    margin-left: 10px;
}
