/* Artigos Relacionados Premium */
.arp-related {
    --arp-ink: #111827;
    --arp-muted: #64748b;
    --arp-accent: #f97316;
    --arp-accent-soft: #fb7185;
    --arp-blue: #2563eb;
    margin: 48px 0 20px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 3% 5%, rgba(251, 113, 133, .16), transparent 24%),
        radial-gradient(circle at 92% 12%, rgba(37, 99, 235, .16), transparent 27%),
        linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 15px 40px rgba(15, 23, 42, .09);
    font-family: inherit;
    box-sizing: border-box;
}

.arp-related *,
.arp-related *::before,
.arp-related *::after {
    box-sizing: border-box;
}

.arp-related__topline {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin: 0 0 22px;
}

.arp-related__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--arp-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.2;
    text-transform: uppercase;
}

.arp-related__title {
    margin: 0 !important;
    color: var(--arp-ink) !important;
    font-size: clamp(22px, 3vw, 31px) !important;
    font-weight: 850 !important;
    letter-spacing: -.045em !important;
    line-height: 1.07 !important;
}

.arp-related__spark {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    font-size: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--arp-accent), var(--arp-accent-soft));
    box-shadow: 0 10px 22px rgba(249, 115, 22, .28);
    transform: rotate(9deg);
}

.arp-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.arp-related__card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 20px rgba(15, 23, 42, .07);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.arp-related__card:hover {
    border-color: rgba(249, 115, 22, .45);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .14);
    transform: translateY(-6px);
}

.arp-related__image-link {
    position: relative;
    display: block;
    padding: 4px;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
    background: linear-gradient(115deg, #ff4d4d 0%, #fb923c 26%, #facc15 50%, #3b82f6 76%, #8b5cf6 100%);
    line-height: 0;
}

.arp-related__image-frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 13px 13px 8px 8px;
    background: linear-gradient(135deg, #172554, #2563eb 58%, #f97316);
}

.arp-related__image-frame::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 23, 42, .38));
}

.arp-related__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s ease, filter .38s ease;
}

.arp-related__card:hover .arp-related__image {
    filter: saturate(1.12) contrast(1.03);
    transform: scale(1.07);
}

.arp-related__image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #fff;
    font-size: 38px;
    background:
        radial-gradient(circle at 17% 18%, rgba(255,255,255,.45), transparent 17%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,.18), transparent 24%),
        linear-gradient(135deg, #172554, #2563eb 60%, #f97316);
}

.arp-related__badge {
    position: absolute;
    z-index: 2;
    top: 13px;
    left: 13px;
    padding: 7px 10px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    background: rgba(15, 23, 42, .72);
    box-shadow: 0 6px 14px rgba(15, 23, 42, .18);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(7px);
}

.arp-related__body {
    padding: 16px 16px 17px;
}

.arp-related__date {
    display: block;
    margin-bottom: 7px;
    color: var(--arp-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.arp-related__heading {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 13px !important;
    color: var(--arp-ink) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: -.027em !important;
    line-height: 1.18 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.arp-related__heading a {
    color: inherit !important;
    text-decoration: none !important;
}

.arp-related__heading a:hover {
    color: var(--arp-blue) !important;
}

.arp-related__link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--arp-blue) !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}

.arp-related__link span {
    font-size: 17px;
    line-height: .7;
    transition: transform .2s ease;
}

.arp-related__card:hover .arp-related__link span {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .arp-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .arp-related {
        margin-top: 34px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .arp-related__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .arp-related__card {
        display: grid;
        grid-template-columns: 42% 1fr;
        align-items: stretch;
    }

    .arp-related__image-link {
        min-height: 100%;
        padding: 3px;
        border-radius: 17px 0 0 17px;
    }

    .arp-related__image-frame {
        height: 100%;
        min-height: 145px;
        border-radius: 13px 7px 7px 13px;
        aspect-ratio: auto;
    }

    .arp-related__body {
        padding: 14px 13px;
    }

    .arp-related__heading {
        margin-bottom: 9px !important;
        font-size: 16px !important;
        -webkit-line-clamp: 3;
    }

    .arp-related__badge {
        top: 9px;
        left: 9px;
        padding: 6px 8px;
        font-size: 8px;
    }
}
