/* ============================================
   RENEWTRAK END-OF-POST CTA — [rn_end_cta]
   ============================================ */

.rn-endcta,
.rn-endcta * {
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    text-transform: none;
}

.rn-endcta {
    position: relative;
    overflow: hidden;
    clear: both;
    margin: 56px 0 16px;
    padding: 52px 48px 72px;
    border-radius: 16px;
    text-align: center;
    background:
        radial-gradient(40% 60% at 80% 30%, rgba(42, 188, 132, 0.2) 0%, rgba(42, 188, 132, 0) 60%),
        radial-gradient(90% 55% at 50% 128%, #1c403e 0%, #1c3539 50%, #181e2a 100%);
}

/* Swooshes run along the bottom, under the button */
.rn-endcta-swoosh {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    pointer-events: none;
    z-index: 0;
}

.rn-endcta-swoosh svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

.rn-endcta-swoosh path {
    stroke-opacity: 0.2;
}

.rn-endcta-swoosh path:nth-child(2) {
    stroke-opacity: 0.4;
}

.rn-endcta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 560px;
    margin: 0 auto;
}

.rn-endcta-nowrap {
    white-space: nowrap;
}

.rn-endcta-text {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-wrap: balance;
}

.rn-endcta a.rn-endcta-btn,
.rn-endcta a.rn-endcta-btn:visited {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 32px !important;
    border-radius: 999px !important;
    background: #2abc84 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.rn-endcta a.rn-endcta-btn:hover,
.rn-endcta a.rn-endcta-btn:focus-visible {
    background: #239e72 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.25);
}

.rn-endcta a.rn-endcta-btn:focus-visible {
    outline: 3px solid #67e7b6;
    outline-offset: 3px;
}

@media (max-width: 809px) {
    .rn-endcta {
        margin: 40px 0 8px;
        padding: 40px 24px 64px;
        border-radius: 12px;
    }

    .rn-endcta-text {
        font-size: 19px;
    }

    .rn-endcta a.rn-endcta-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rn-endcta a.rn-endcta-btn {
        transition: none;
    }

    .rn-endcta a.rn-endcta-btn:hover {
        transform: none;
    }
}
