/* [natal_external_links] card layout — 3 per row, equal height */

.natal-external-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    direction: rtl;
    text-align: right;
}

.natal-external-links .dce-acf-repeater-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0 0 20px;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.natal-external-links a.dce-acf-repeater-item:hover {
    border-color: #cfd8e3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
}

.natal-external-links .dce-acf-repeater-item > img:first-child,
.natal-external-links .dce-acf-repeater-item > img.wp-post-image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0 0 14px;
    flex-shrink: 0;
}

.natal-external-links .natal-external-links__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 0.35em;
    margin: 0 20px;
    color: #9a9a9a;
    font-size: 18px;
    line-height: 1.5;
}

.natal-external-links .elementor-repeater-item-f9bf27c,
.natal-external-links .elementor-repeater-item-289b0e9 {
    display: inline;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.natal-external-links .elementor-repeater-item-f9bf27c + .elementor-repeater-item-289b0e9::before {
    content: none;
}

.natal-external-links .elementor-repeater-item-b86ce89 {
    margin: 12px 20px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #6e8460;
}

.natal-external-links .elementor-repeater-item-93d0147 {
    margin: 10px 20px 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: #444;
    flex: 1 1 auto;
}

@media screen and (max-width: 1024px) {
    .natal-external-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 765px) {
    .natal-external-links {
        grid-template-columns: 1fr;
    }

    .natal-external-links .elementor-repeater-item-b86ce89 {
        font-size: 22px;
    }

    .natal-external-links .elementor-repeater-item-93d0147 {
        font-size: 18px;
    }
}
