/* Noticias – Fundación Despierta | Diseño predeterminado basado en referencia */
.fdn-news,
.fdn-news * { box-sizing: border-box; }

.fdn-news {
    --fd-cream: #FBF8F2;
    --fd-deep: #073E4E;
    --fd-teal: #008A8B;
    --fd-teal-light: #B8DEDB;
    --fd-gold: #E7A11D;
    --fd-body: #252B35;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--fd-cream);
    padding: 43px 0 91px;
    font-family: "Montserrat", Arial, sans-serif;
    isolation: isolate;
}

.fdn-news__inner {
    position: relative;
    z-index: 5;
    width: calc(100% - 176px);
    max-width: 1496px;
    margin: 0 auto;
}

.fdn-news__header { margin: 0; }

.fdn-news__eyebrow {
    display: flex;
    align-items: center;
    gap: 35px;
    width: 680px;
    max-width: 100%;
    margin-bottom: 13px;
}

.fdn-news__eyebrow-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}

.fdn-news__eyebrow .fdn-sprout {
    display: block;
    width: 62px;
    height: 62px;
}

.fdn-sprout path { fill: #E19A22; }

.fdn-news__eyebrow-text {
    color: #E19A22;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.fdn-news__dotted-line {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 120px;
    transform: translateY(1px);
    overflow: hidden;
}
.fdn-news__dotted-line span {
    flex: 0 0 4px;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #3AA0A3;
}

.fdn-news__title {
    margin: 0;
    color: #073E4E;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 70px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -1.7px;
    text-align: left;
}

.fdn-news__description {
    max-width: 610px;
    margin-top: 18px;
    color: #202A37;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 22px;
    line-height: 1.34;
    font-weight: 400;
    letter-spacing: -0.4px;
    text-align: left;
}

.fdn-news__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 29px;
    align-items: stretch;
}

.fdn-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

.fdn-news-card__image {
    display: block;
    width: 100%;
    height: 230px;
    flex: 0 0 auto;
    overflow: hidden;
    background: #e8e1d7;
}

.fdn-news-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.002);
}

.fdn-news-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 28px 24px;
}

.fdn-news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fdn-news-card__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 114px;
    min-height: 28px;
    padding: 4px 16px 5px;
    border-radius: 999px;
    background: #D7EEEE;
    color: #075466;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.fdn-news-card__date {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #333842;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.fdn-calendar {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

.fdn-news-card__title {
    margin: 0;
    color: #073E4E;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 29px;
    line-height: 1.03;
    font-weight: 700;
    letter-spacing: -0.55px;
}
.fdn-news-card__title a { color: inherit; text-decoration: none; }

.fdn-news-card__excerpt {
    margin-top: 13px;
    color: #30333A;
    font-size: 15px;
    line-height: 1.42;
    font-weight: 400;
    letter-spacing: -0.15px;
}

.fdn-news-card__readmore {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 22px;
    color: #006A72;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
}

.fdn-arrow {
    width: 32px;
    height: 16px;
    transition: transform .2s ease;
}
.fdn-news-card__readmore:hover .fdn-arrow { transform: translateX(4px); }

.fdn-news__button-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 29px;
}

.fdn-news__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    width: 320px;
    min-height: 54px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #E7A11D;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: transform .2s ease, filter .2s ease;
}
.fdn-news__button:hover { color: #fff; filter: brightness(.97); transform: translateY(-1px); }
.fdn-button-arrow { width: 36px; height: 17px; }

.fdn-dot-pattern {
    position: absolute;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 5px);
    gap: 15px 17px;
    pointer-events: none;
}
.fdn-dot-pattern i {
    display: block;
    width: 5px;
    height: 5px;
    background: #3AA0A3;
    border-radius: 50%;
}
.fdn-dot-pattern--top { top: 219px; right: 32px; }
.fdn-dot-pattern--bottom { left: 24px; bottom: 18px; }

.fdn-news__waves {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 170px;
    pointer-events: none;
}
.fdn-wave--light { fill: #B8DEDB; }
.fdn-wave--dark { fill: #008A8B; }

.fdn-orange-shape {
    position: absolute;
    z-index: 3;
    width: 245px;
    height: 240px;
    right: -52px;
    bottom: -92px;
    background: #E7A11D;
    border-radius: 60% 43% 0 0 / 44% 56% 0 0;
    transform: rotate(-7deg);
    box-shadow: none;
    pointer-events: none;
}
.fdn-orange-sprout {
    position: absolute;
    width: 74px;
    height: 74px;
    left: 63px;
    top: 82px;
    transform: rotate(7deg);
}
.fdn-orange-sprout path { fill: #fff; }

.fdn-curve-line {
    position: absolute;
    z-index: 4;
    width: 305px;
    height: 190px;
    right: -60px;
    bottom: 72px;
    border: 2px solid #55C5C9;
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 54% 46% 47% 53%;
    transform: rotate(-14deg);
    pointer-events: none;
}
.fdn-curve-line::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 130px;
    right: 35px;
    top: 87px;
    border: 2px solid #55C5C9;
    border-right-color: transparent;
    border-top-color: transparent;
    border-radius: 50%;
    transform: rotate(11deg);
}

@media (max-width: 1200px) {
    .fdn-news__inner { width: calc(100% - 96px); }
    .fdn-news__title { font-size: 58px; }
    .fdn-news__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .fdn-news {
        padding: 42px 0 110px;
    }

    .fdn-news__inner {
        width: calc(100% - 48px);
        max-width: 700px;
    }

    .fdn-news__header { text-align: center; }

    .fdn-news__eyebrow {
        width: 100%;
        max-width: 470px;
        margin: 0 auto 25px;
        flex-direction: column;
        gap: 14px;
    }

    .fdn-news__eyebrow-left {
        gap: 14px;
        justify-content: center;
    }

    .fdn-news__eyebrow .fdn-sprout {
        width: 50px;
        height: 50px;
    }

    .fdn-news__eyebrow-text {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .fdn-news__dotted-line {
        width: 100%;
        flex: none;
        justify-content: center;
        gap: 10px;
        height: 4px;
        overflow: hidden;
    }
    .fdn-news__dotted-line span {
        flex-basis: 4px;
        width: 4px;
        height: 4px;
    }

    .fdn-news__title {
        max-width: 650px;
        margin: 0 auto;
        font-size: 58px;
        line-height: 1.02;
        letter-spacing: -1.5px;
        text-align: center;
    }

    .fdn-news__description {
        max-width: 650px;
        margin: 23px auto 0;
        font-size: 23px;
        line-height: 1.38;
        letter-spacing: -0.45px;
        text-align: center;
    }

    .fdn-news__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
        max-width: 630px;
        margin: 31px auto 0;
    }

    .fdn-news-card { border-radius: 18px; }
    .fdn-news-card__image { height: 240px; }
    .fdn-news-card__content { padding: 20px 28px 27px; }
    .fdn-news-card__meta { margin-bottom: 19px; }
    .fdn-news-card__category {
        min-width: 101px;
        min-height: 34px;
        padding: 5px 18px;
        font-size: 18px;
    }
    .fdn-news-card__date {
        gap: 9px;
        font-size: 18px;
    }
    .fdn-calendar { width: 19px; height: 19px; flex-basis: 19px; }
    .fdn-news-card__title {
        font-size: 32px;
        line-height: 1.05;
        letter-spacing: -0.45px;
    }
    .fdn-news-card__excerpt {
        margin-top: 14px;
        font-size: 20px;
        line-height: 1.38;
        letter-spacing: -0.3px;
    }
    .fdn-news-card__readmore {
        gap: 22px;
        padding-top: 25px;
        font-size: 20px;
    }
    .fdn-news-card__readmore .fdn-arrow { width: 39px; height: 18px; }

    .fdn-news__button-wrap {
        justify-content: center;
        width: 100%;
        max-width: 480px;
        margin: 31px auto 0;
    }
    .fdn-news__button {
        width: 100%;
        min-height: 68px;
        gap: 24px;
        padding: 12px 28px;
        font-size: 23px;
    }
    .fdn-button-arrow { width: 42px; height: 19px; }

    .fdn-dot-pattern {
        grid-template-columns: repeat(4, 4px);
        gap: 12px 16px;
    }
    .fdn-dot-pattern i { width: 4px; height: 4px; }
    .fdn-dot-pattern--top { top: 29px; right: 29px; }
    .fdn-dot-pattern--bottom { left: 14px; bottom: 131px; }

    .fdn-news__waves {
        height: 120px;
    }

    .fdn-orange-shape {
        width: 255px;
        height: 248px;
        right: -104px;
        bottom: -83px;
        border-radius: 58% 48% 0 0 / 44% 60% 0 0;
        transform: rotate(-10deg);
    }
    .fdn-orange-sprout {
        width: 69px;
        height: 69px;
        left: 54px;
        top: 69px;
        transform: rotate(10deg);
    }
    .fdn-curve-line {
        width: 265px;
        height: 178px;
        right: -49px;
        bottom: 52px;
    }

    .fdn-mobile-count-1 .fdn-news-card:nth-child(n+2),
    .fdn-mobile-count-2 .fdn-news-card:nth-child(n+3),
    .fdn-mobile-count-3 .fdn-news-card:nth-child(n+4) { display: none; }
}

@media (max-width: 560px) {
    .fdn-news__inner { width: calc(100% - 36px); }
    .fdn-news__title { font-size: clamp(42px, 11.7vw, 56px); }
    .fdn-news__description { font-size: clamp(17px, 5vw, 22px); }
    .fdn-news-card__image { height: clamp(180px, 51vw, 230px); }
    .fdn-news-card__content { padding-left: 20px; padding-right: 20px; }
    .fdn-news-card__category { font-size: 15px; min-height: 31px; }
    .fdn-news-card__date { font-size: 15px; }
    .fdn-news-card__title { font-size: clamp(27px, 7.2vw, 32px); }
    .fdn-news-card__excerpt { font-size: clamp(16px, 4.7vw, 20px); }
    .fdn-news-card__readmore { font-size: 17px; }
    .fdn-news__button { font-size: clamp(17px, 5vw, 22px); }
}
