/* ==========================================================================
   Selva Libre - additions to the mirrored Elementor styles.
   Only the form status messages; everything else is the original design.
   ========================================================================== */

.sl-form-msg {
    display: none;
    width: 100%;
    flex: 0 0 100%;
    margin: 12px 0 0;
    padding: 11px 15px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 15px;
    line-height: 1.45;
    font-family: inherit;
    text-align: left;
}

.sl-form-msg.is-ok,
.sl-form-msg.is-err,
.sl-form-msg.is-info {
    display: block;
}

.sl-form-msg.is-ok {
    background: #e8f5e9;
    border-color: #91c99a;
    color: #1b5e20;
}

.sl-form-msg.is-err {
    background: #fdecea;
    border-color: #e6a49e;
    color: #8c1d13;
}

.sl-form-msg.is-info {
    background: #eef3f8;
    border-color: #a9c2d8;
    color: #1e4b73;
}

/* The footer newsletter sits on a dark panel - keep the text legible there. */
footer .sl-form-msg,
.elementor-location-footer .sl-form-msg {
    background: rgba(255, 255, 255, .94);
}

/* Disabled submit button while a request is in flight. */
.elementor-form button[type="submit"][disabled],
form[data-sl-form] button[type="submit"][disabled],
form[data-sl-form] input[type="submit"][disabled] {
    opacity: .65;
    cursor: progress;
}

/* ==========================================================================
   Supporter Library (supporters.php)
   ========================================================================== */

.sl-supporters {
    --sl-green: #30845D;
    --sl-cream: #FBF6F0;
    --sl-ink:   #000;
    --sl-text:  #5F5F5F;
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    color: var(--sl-text);
    background: var(--sl-cream);
    padding: 0 0 70px;
}

.sl-supporters h1,
.sl-supporters h2,
.sl-supporters h3 {
    font-family: "Montserrat", system-ui, sans-serif;
    color: var(--sl-ink);
    margin: 0 0 14px;
}

/* The site header is a transparent overlay with a white logo and white nav.
   Every other page pulls its hero up underneath it with margin-top:-83px
   (-75px on mobile) - see .elementor-element-c389344 in post-953.css.
   Match that exactly, or the header vanishes against a pale background. */
.sl-sup-hero {
    position: relative;
    margin-top: -83px;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;          /* beats the per-element margin rules below */
    padding: 140px 60px 100px;
    text-align: center;
    background:
        linear-gradient(rgba(8, 20, 14, .58), rgba(8, 20, 14, .66)),
        url("wp-content/uploads/2025/10/rain-forest-1.jpg") center / cover no-repeat;
    color: rgba(255, 255, 255, .92);
    /* the angled cut the rest of the site uses between hero and content */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), 50% 100%, 0 calc(100% - 42px));
}

@media (max-width: 767px) {
    .sl-sup-hero {
        margin-top: -75px;
        min-height: 45vh;
        padding: 110px 34px 70px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 50% 100%, 0 calc(100% - 24px));
    }
}

.sl-sup-hero > * { max-width: 760px; }

.sl-sup-hero h1 {
    font-size: clamp(28px, 4.4vw, 44px);
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
}

.sl-sup-hero .sl-sup-lede { color: rgba(255, 255, 255, .88); }
.sl-sup-hero .sl-sup-eyebrow { color: #fff; }
.sl-sup-hero .sl-sup-lede code {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.sl-sup-eyebrow {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sl-green);
    margin: 0 0 14px;
}

.sl-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--sl-green);
    color: #fff;
    font-size: 11px;
    letter-spacing: .1em;
    vertical-align: middle;
}

.sl-sup-lede { font-size: 17px; line-height: 1.7; margin: 0 auto; max-width: 640px; }
.sl-sup-lede code {
    background: #fff; border: 1px solid #e4dcd2; border-radius: 4px;
    padding: 2px 6px; font-size: 14px; word-break: break-all;
}

.sl-sup-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

.sl-sup-section { max-width: 1080px; margin: 0 auto; padding: 34px 24px 0; }
.sl-sup-section h2 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 700; margin-bottom: 20px; }

.sl-sup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sl-card {
    background: #fff;
    border: 1px solid #ece4da;
    border-radius: 10px;
    padding: 24px 22px 26px;
    display: flex;
    flex-direction: column;
}
.sl-card h3 { font-size: 19px; font-weight: 600; }
.sl-card p  { font-size: 15px; line-height: 1.6; margin: 0 0 20px; flex: 1; }

.sl-card-tag {
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--sl-green); margin-bottom: 10px;
}

.sl-btn {
    display: inline-block;
    align-self: flex-start;
    padding: 11px 22px;
    border-radius: 4px;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: opacity .18s ease;
}
.sl-btn:hover { opacity: .85; text-decoration: none; }
.sl-btn-primary { background: var(--sl-green); color: #fff; }
.sl-btn-ghost   { background: transparent; color: var(--sl-ink); border: 1px solid #d6cec4; }
.sl-sup-hero .sl-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }

.sl-sup-foot {
    max-width: 1080px; margin: 46px auto 0; padding: 26px 24px 0;
    border-top: 1px solid #e8e0d6; font-size: 15px; text-align: center;
}
.sl-sup-foot a { color: var(--sl-green); }
.sl-sup-leave { font-size: 13.5px; opacity: .75; margin-top: 6px; }

/* Access note on the locked Supporter Library page, and the small
   "your access runs to…" line for signed-in supporters. */
.sl-note {
    background: #fff;
    border: 1px solid #ece4da;
    border-left: 4px solid var(--sl-green, #30845D);
    border-radius: 10px;
    padding: 24px 26px;
    max-width: 760px;
    margin: 0 auto;
}
.sl-note h2 { font-size: 19px; font-weight: 600; margin: 0 0 12px; }
.sl-note p  { font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.sl-note p:last-child { margin-bottom: 0; }
.sl-note a  { color: var(--sl-green, #30845D); }

.sl-sup-meta {
    margin: 18px auto 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .85);
}
.sl-sup-meta strong { color: #fff; }
.sl-sup-meta a { color: #fff; text-decoration: underline; }

/* The donate page note about which payment methods are automated. */
.sl-donate-note {
    max-width: 780px;
    margin: 26px auto 0;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #ece4da;
    border-left: 4px solid var(--sl-green, #30845D);
    border-radius: 9px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #5F5F5F;
}
.sl-donate-note strong { color: #111; }
.sl-donate-note a { color: #30845D; }
