/* AD - BILLBOARD */
.nw-ad-section {
    margin-top: -16px;
}

.nw-ad-billboard {
    position: relative;
    width: 100%;
    margin: 0;
    padding-left: 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.25);
    background: #f8fafc;
    box-shadow: 0 12px 32px rgba(15, 118, 110, 0.12);
}

.nw-ad-label {
    position: absolute;
    left: 4px;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    font-size: 11px;
    line-height: 1;
    color: #94a3b8;
    background: transparent;
    padding: 0;
    white-space: nowrap;
}

.nw-ad-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nw-ad-inner {
    position: relative;
    isolation: isolate;
    min-height: 150px;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: 210px 1fr auto;
    align-items: center;
    gap: 28px;
    color: #fff;
    overflow: hidden;

    background-image:
        linear-gradient(120deg, rgba(4, 78, 65, 0.94), rgba(15, 118, 110, 0.82), rgba(22, 163, 74, 0.70)),
        var(--nw-ad-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.nw-ad-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
        radial-gradient(circle at 15% 100%, rgba(45, 212, 191, 0.28), transparent 34%);
}

.nw-ad-inner::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -70px;
    width: 260px;
    height: 260px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
}

.nw-ad-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nw-ad-logo {
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.nw-ad-brand span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    opacity: 0.92;
}

.nw-ad-content h3 {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 850;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.nw-ad-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

.nw-ad-cta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #ffffff;
    color: #047857;
    font-size: 15px;
    font-weight: 850;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.nw-ad-link:hover .nw-ad-cta span {
    color: #065f46;
    transform: translateY(-1px);
}

@media (max-width: 991px) {
    .nw-ad-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px 22px;
        background-position: center right;
    }

    .nw-ad-logo {
        font-size: 28px;
    }

    .nw-ad-content h3 {
        font-size: 22px;
    }

    .nw-ad-content p {
        font-size: 14px;
    }

    .nw-ad-cta span {
        min-width: auto;
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .nw-ad-billboard {
        padding-left: 20px;
        border-radius: 12px;
    }

    .nw-ad-label {
        left: 3px;
        font-size: 10px;
    }

    .nw-ad-inner {
        min-height: 168px;
        padding: 22px 18px;
    }

    .nw-ad-logo {
        font-size: 25px;
    }

    .nw-ad-content h3 {
        font-size: 19px;
    }

    .nw-ad-content p {
        font-size: 13px;
    }
}
/* AD TOOL SPONSOR */
.nw-ad-billboard-tool {
    box-shadow: 0 10px 28px rgba(10, 80, 78, 0.14);
}

.nw-ad-inner-tool {
    min-height: 150px;

    background-image:
        linear-gradient(
            90deg,
            rgba(11, 111, 115, 0.94) 0%,
            rgba(20, 136, 138, 0.86) 38%,
            rgba(42, 162, 162, 0.58) 64%,
            rgba(79, 190, 142, 0.38) 100%
        ),
        var(--nw-ad-bg);

    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.nw-ad-kicker {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.88);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nw-ad-inner-tool .nw-ad-content h3 {
    font-size: 25px;
}

.nw-ad-inner-tool .nw-ad-content p {
    max-width: 760px;
    font-size: 15px;
}

@media (max-width: 991px) {
    .nw-ad-inner-tool {
        min-height: 170px;
        background-position: 72% center;
    }

    .nw-ad-inner-tool .nw-ad-content h3 {
        font-size: 21px;
    }
}

@media (max-width: 576px) {
    .nw-ad-inner-tool {
        min-height: 190px;
    }

    .nw-ad-kicker {
        font-size: 11px;
    }

    .nw-ad-inner-tool .nw-ad-content h3 {
        font-size: 19px;
    }
}
/* SIDEBAR ADS */
.nw-sidebar-ad {
    position: relative;
    margin: 18px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d1fae5;
    background: #f0fdf4;
}

.nw-sidebar-ad a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nw-sidebar-label {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10px;
    color: #64748b;
    background: rgba(255,255,255,0.9);
    padding: 2px 7px;
    border-radius: 999px;
}

.nw-sidebar-body {
    min-height: 250px;
    padding: 34px 22px 24px;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,255,255,0.22), transparent 30%),
        linear-gradient(145deg, #065f46, #0f766e 48%, #22c55e);
}

.nw-sidebar-kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.nw-sidebar-body h4 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 850;
}

.nw-sidebar-body p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.65;
    opacity: 0.95;
}

.nw-sidebar-button {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: #047857;
    font-size: 14px;
    font-weight: 800;
}

