/* mod_profe_articles – styles */

.profe-articles .article-grid {
    display: grid;
    gap: 20px;
}

.profe-articles .article-card {
    background: var(--white, #fff);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(0,174,239,.08);
    box-shadow: 0 18px 50px rgba(26,42,108,.10);
    transition: transform .24s ease, box-shadow .24s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profe-articles .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 65px rgba(26,42,108,.16);
}

.profe-articles .article-card__image {
    height: 220px;
    overflow: hidden;
}

.profe-articles .article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.profe-articles .article-card:hover img {
    transform: scale(1.05);
}

.profe-articles .article-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.profe-articles .article-card__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 12px;
}

.profe-articles .article-card__meta small {
    color: var(--muted, #6B7280);
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-left: auto;
}

.profe-articles .article-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.28;
    color: var(--brand-dark, #1A2A6C);
}

.profe-articles .article-card p {
    margin: 0 0 16px;
    color: var(--muted, #6B7280);
    font-size: 15px;
    flex: 1;
}

.profe-articles .article-card a {
    color: var(--brand-light, #00AEEF);
    font-weight: 800;
    text-decoration: none;
    margin-top: auto;
}

.profe-articles .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 8px 12px;
    border-radius: 999px;
}

.profe-articles .badge--yellow { background: rgba(247,183,49,.16); color: #a66e00; }
.profe-articles .badge--blue   { background: rgba(0,174,239,.12); color: #00AEEF; }
.profe-articles .badge--navy   { background: rgba(26,42,108,.10); color: #1A2A6C; }

/* Slider */
.profe-slider {
    position: relative;
    overflow: visible;
}

.profe-slider__track {
    overflow: hidden;
    border-radius: 26px;
}

.profe-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,174,239,.12);
    background: var(--white, #fff);
    box-shadow: 0 8px 24px rgba(26,42,108,.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark, #1A2A6C);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.profe-slider__arrow:hover {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(26,42,108,.18);
    background: var(--brand-light-soft, #E8F8FF);
}

.profe-slider__arrow--prev { left: -24px; }
.profe-slider__arrow--next { right: -24px; }

.profe-slider__arrow:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.profe-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
}

.profe-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--line, #E5E7EB);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}

.profe-slider__dot.is-active {
    background: var(--brand-light, #00AEEF);
    transform: scale(1.25);
}

/* Responsive */
@media (max-width: 1180px) {
    .profe-slider__arrow--prev { left: -16px; }
    .profe-slider__arrow--next { right: -16px; }
}

@media (max-width: 767px) {
    .profe-articles .article-grid {
        grid-template-columns: 1fr !important;
    }
    .profe-slider__arrow--prev { left: 8px; }
    .profe-slider__arrow--next { right: 8px; }
    .profe-slider__arrow {
        width: 40px;
        height: 40px;
    }
}
