/* Founder block compartido: landing principal, categorias y temas publicos */
.founder-story-section {
    padding: clamp(3.25rem, 6vw, 5rem) 0 !important;
}

.founder-story-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,252,250,0.98) 100%);
    border: 1px solid rgba(26,92,79,0.12);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(26,92,79,0.08);
    padding: clamp(1.25rem, 2.5vw, 2.05rem);
    color: #21463f;
}

.founder-story-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(1.45rem, 3.2vw, 2.75rem);
    align-items: start;
}

.founder-story-media,
.founder-story-body {
    display: flex;
    flex-direction: column;
}

.founder-story-media {
    gap: 0.7rem;
}

.founder-story-body {
    gap: 0.9rem;
    font-size: 1rem;
    line-height: 1.72;
    color: #365851;
    padding-top: 0.15rem;
}

.founder-story-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.76rem;
    letter-spacing: 0;
    text-transform: uppercase;
    font-weight: 700;
    color: #4a796f;
    margin-bottom: 0;
}

.founder-story-title {
    font-size: clamp(1.14rem, 1.7vw, 1.42rem);
    line-height: 1.24;
    color: #163e37;
    margin: 0;
    max-width: 36rem;
}

.founder-story-lead {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #45665f;
    max-width: 42rem;
    margin: 0;
}

.founder-story-slider {
    position: relative;
    width: min(100%, 23rem);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 18px;
    background: #eaf4ef;
    border: 1px solid rgba(26,92,79,0.12);
    box-shadow: 0 16px 32px rgba(28,72,63,0.12);
    isolation: isolate;
}

.founder-story-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 900ms ease, transform 1200ms ease;
}

.founder-story-slider img.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.founder-story-photo-caption {
    color: #5f7a74;
    font-size: 0.82rem;
    line-height: 1.45;
    margin: -0.2rem 0 0;
    max-width: 23rem;
}

.founder-story-body p {
    margin: 0;
}

.founder-story-principle {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.58rem 0.82rem;
    border-radius: 14px;
    background: rgba(26,92,79,0.07);
    border: 1px solid rgba(26,92,79,0.12);
    color: #1a5c4f;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0.05rem 0 0.1rem;
}

.founder-story-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.1rem 0 0.05rem;
}

.founder-story-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.46rem 0.78rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(26,92,79,0.14);
    color: #1a5c4f;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26,92,79,0.05);
}

.founder-story-links a:hover {
    background: #f8fcfa;
    color: #134a3f;
}

.founder-story-signoff {
    color: #163e37;
    font-weight: 700;
    margin-top: 0.15rem !important;
}

@media (prefers-reduced-motion: reduce) {
    .founder-story-slider img {
        transition: none;
        transform: none;
    }
}

@media (max-width: 767px) {
    .founder-story-section {
        padding-top: 2.85rem !important;
        padding-bottom: 2.85rem !important;
    }

    .founder-story-card {
        padding: 1.2rem 1rem 1.25rem;
        border-radius: 20px;
    }

    .founder-story-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .founder-story-slider {
        width: min(100%, 21rem);
    }

    .founder-story-body {
        order: 2;
        font-size: 0.95rem;
        line-height: 1.68;
    }

    .founder-story-media {
        order: 1;
    }

    .founder-story-lead {
        font-size: 0.96rem;
    }
}

@media (max-width: 575px) {
    .founder-story-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
