.ap-n128-section {
    --n128-navy: #0b2f5b;
    --n128-blue: #0d74bd;
    --n128-sky: #22b4d6;
    --n128-teal: #0aa99b;
    --n128-amber: #f4b52c;
    --n128-text: #516b84;
    --n128-line: #dce9f2;
    background:
        radial-gradient(circle at 100% 0, rgba(34,180,214,.065), transparent 31%),
        linear-gradient(180deg,#ffffff 0%,#f8fcff 100%);
    overflow: hidden;
}

.ap-n128-shell {
    max-width: 1480px;
}

.ap-n128-react-root {
    min-height: 260px;
}

.ap-n128-loading {
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--n128-text);
}

.ap-n128-loading > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg,var(--n128-blue),var(--n128-teal));
}

.ap-n128-loading strong,
.ap-n128-loading small {
    display: block;
}

.ap-n128-loading small {
    margin-top: 3px;
}

.ap-n128-header {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: start;
    gap: 22px;
    margin-bottom: 16px;
}

.ap-n128-kicker {
    display: block;
    margin-bottom: 12px;
    color: #086397;
    font-size: .72rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ap-n128-title h2 {
    position: relative;
    margin: 0;
    max-width: 860px;
    color: #102f4e;
    font-size: clamp(2.15rem,4vw,4.25rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.045em;
}

.ap-n128-title h2::before {
    content: "";
    position: absolute;
    left: -18px;
    top: .68em;
    width: 8px;
    height: 34px;
    border-radius: 999px;
    background: linear-gradient(180deg,var(--n128-teal),#1595dc);
}

.ap-n128-title h2::after {
    content: "";
    display: block;
    width: 71%;
    height: 2px;
    margin-top: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg,rgba(10,169,155,.42),transparent);
}

.ap-n128-title p {
    margin: 12px 0 0;
    color: #647b91;
    font-size: 1rem;
    line-height: 1.45;
}

.ap-n128-handwritten {
    min-width: 210px;
    padding-top: 4px;
    color: #1680c4;
    font-family: "Segoe Print","Bradley Hand","Comic Sans MS",cursive;
    font-size: 1.25rem;
    line-height: 1.25;
    text-align: right;
    transform: rotate(-3deg);
}

.ap-n128-handwritten i {
    color: #8cc5e8;
}

.ap-n128-tools {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.ap-n128-categories {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 2px 1px 4px;
    scrollbar-width: none;
}

.ap-n128-categories::-webkit-scrollbar {
    display: none;
}

.ap-n128-category {
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px solid #d5e2ec;
    border-radius: 999px;
    color: #33526f;
    background: rgba(255,255,255,.88);
    font: inherit;
    font-size: .66rem;
    font-weight: 850;
    cursor: pointer;
    transition: .16s ease;
}

.ap-n128-category:hover,
.ap-n128-category:focus-visible {
    transform: translateY(-1px);
    border-color: #add0e7;
    outline: none;
}

.ap-n128-category.is-active {
    color: #fff;
    border-color: #147fc4;
    background: linear-gradient(135deg,#147fc4,#169bdb);
    box-shadow: 0 7px 16px rgba(20,127,196,.18);
}

.ap-n128-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.ap-n128-search {
    min-width: 250px;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d4e2ed;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 5px 14px rgba(15,23,42,.04);
}

.ap-n128-search > i {
    color: #315d80;
}

.ap-n128-search input {
    min-width: 0;
    flex: 1 1 auto;
    border: 0;
    outline: 0;
    color: #284965;
    background: transparent;
    font: inherit;
    font-size: .66rem;
}

.ap-n128-search button {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #647b91;
    background: #eef4f8;
    cursor: pointer;
}

.ap-n128-all-link {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 17px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg,#075e92,#087fbe);
    box-shadow: 0 8px 18px rgba(7,94,146,.17);
    font-size: .68rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.ap-n128-all-link i {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
}

.ap-n128-showcase {
    display: grid;
    grid-template-columns: minmax(0,2.05fr) minmax(330px,1fr);
    gap: 14px;
}

.ap-n128-hero-card,
.ap-n128-side-card {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    background: #0d2132;
    box-shadow: 0 15px 34px rgba(15,23,42,.11);
}

.ap-n128-hero-card {
    min-height: 520px;
}

.ap-n128-side-stack {
    display: grid;
    grid-template-rows: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.ap-n128-side-card {
    min-height: 252px;
}

.ap-n128-hero-media,
.ap-n128-side-media {
    position: absolute;
    inset: 0;
}

.ap-n128-hero-media img,
.ap-n128-side-media img,
.ap-n128-rail-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.ap-n128-hero-card:hover .ap-n128-hero-media img,
.ap-n128-side-card:hover .ap-n128-side-media img,
.ap-n128-rail-card:hover .ap-n128-rail-media img {
    transform: scale(1.025);
}

.ap-n128-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.7);
    background: linear-gradient(135deg,#17365d,#0f7d91);
    font-size: 3rem;
}

.ap-n128-hero-shade,
.ap-n128-side-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ap-n128-hero-shade {
    background:
        linear-gradient(90deg,rgba(4,18,31,.92) 0%,rgba(4,18,31,.52) 54%,rgba(4,18,31,.18) 100%),
        linear-gradient(180deg,transparent 43%,rgba(4,18,31,.58) 100%);
}

.ap-n128-side-shade {
    background: linear-gradient(180deg,rgba(6,21,34,.05) 20%,rgba(6,21,34,.92) 100%);
}

.ap-n128-hero-content,
.ap-n128-side-content {
    position: absolute;
    z-index: 2;
    color: #fff;
}

.ap-n128-hero-content {
    left: 34px;
    right: 30px;
    bottom: 32px;
    max-width: 82%;
}

.ap-n128-side-content {
    left: 19px;
    right: 18px;
    bottom: 17px;
}

.ap-n128-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 11px;
}

.ap-n128-meta > span,
.ap-n128-meta > time {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(30,41,59,.76);
    backdrop-filter: blur(8px);
    font-size: .52rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.ap-n128-meta .ap-n128-featured-pill {
    color: #17365d;
    background: var(--n128-amber);
}

.ap-n128-hero-content h3,
.ap-n128-side-content h3 {
    margin: 0;
}

.ap-n128-hero-content h3 {
    max-width: 900px;
    font-size: clamp(1.9rem,3.5vw,3.55rem);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.ap-n128-side-content h3 {
    max-width: 88%;
    font-size: 1.3rem;
    line-height: 1.02;
    font-weight: 900;
}

.ap-n128-hero-content h3 a,
.ap-n128-side-content h3 a {
    color: inherit;
    text-decoration: none;
}

.ap-n128-hero-content p {
    max-width: 720px;
    margin: 15px 0 17px;
    color: rgba(255,255,255,.88);
    font-size: .82rem;
    line-height: 1.4;
}

.ap-n128-read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
}

.ap-n128-arrow,
.ap-n128-side-arrow {
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--n128-teal);
}

.ap-n128-arrow {
    width: 35px;
    height: 35px;
}

.ap-n128-side-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    text-decoration: none;
}

.ap-n128-side-empty {
    min-height: 210px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 20px;
    border: 1px dashed #cbdce8;
    border-radius: 25px;
    color: #71879b;
    background: #f7fbfd;
    text-align: center;
}

.ap-n128-side-empty i {
    color: #1880bb;
    font-size: 1.6rem;
}

.ap-n128-more {
    margin-top: 20px;
}

.ap-n128-more > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
    padding: 0 12px;
}

.ap-n128-more h3 {
    margin: 0;
    color: var(--n128-navy);
    font-size: 1.25rem;
    font-weight: 900;
}

.ap-n128-more > header a {
    color: #0876ba;
    font-size: .65rem;
    font-weight: 900;
    text-decoration: none;
}

.ap-n128-rail-wrap {
    position: relative;
}

.ap-n128-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px,1fr);
    gap: 11px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 34px 8px;
    scrollbar-width: none;
}

.ap-n128-rail::-webkit-scrollbar {
    display: none;
}

.ap-n128-rail-card {
    overflow: hidden;
    min-height: 230px;
    scroll-snap-align: start;
    border: 1px solid #dde8f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15,23,42,.055);
}

.ap-n128-rail-media {
    display: block;
    height: 145px;
    overflow: hidden;
    background: #eef4f7;
}

.ap-n128-rail-content {
    position: relative;
    min-height: 87px;
    padding: 9px 42px 10px 11px;
}

.ap-n128-rail-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.ap-n128-rail-meta span,
.ap-n128-rail-meta time {
    color: #6d8297;
    font-size: .48rem;
    line-height: 1;
    font-weight: 850;
    text-transform: uppercase;
}

.ap-n128-rail-meta span {
    padding: 4px 6px;
    border-radius: 6px;
    color: #075f91;
    background: #e9f5fb;
}

.ap-n128-rail-card h4 {
    margin: 0;
    font-size: .66rem;
    line-height: 1.25;
    font-weight: 900;
}

.ap-n128-rail-card h4 a {
    color: #17365d;
    text-decoration: none;
}

.ap-n128-rail-arrow {
    position: absolute;
    right: 9px;
    bottom: 12px;
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid #d4e3ee;
    border-radius: 50%;
    color: #0f77ad;
    background: #f3f9fc;
    text-decoration: none;
}

.ap-n128-rail-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid #d5e4ee;
    border-radius: 50%;
    color: #0e6fa7;
    background: rgba(255,255,255,.97);
    box-shadow: 0 7px 16px rgba(15,23,42,.08);
    cursor: pointer;
}

.ap-n128-rail-control.is-prev {
    left: 0;
}

.ap-n128-rail-control.is-next {
    right: 0;
}

.ap-n128-empty {
    min-height: 300px;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 8px;
    border: 1px dashed #cddde8;
    border-radius: 22px;
    color: #71879b;
    background: #f8fbfd;
}

.ap-n128-empty i {
    color: #1484bd;
    font-size: 2rem;
}

.ap-n128-empty button {
    padding: 7px 12px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: #0e79b5;
    font: inherit;
    font-size: .66rem;
    font-weight: 900;
    cursor: pointer;
}

.ap-n128-footer {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    padding: 13px 14px 0;
    border-top: 1px solid #dce9f1;
    color: #55748f;
}

.ap-n128-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ap-n128-footer-brand > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #0876ba;
    background: #eaf6fb;
}

.ap-n128-footer-brand strong {
    font-size: .6rem;
}

.ap-n128-footer-values {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.ap-n128-footer-values span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .52rem;
}

.ap-n128-footer em {
    color: #2b8ec0;
    font-family: "Segoe Print","Bradley Hand","Comic Sans MS",cursive;
    font-size: .67rem;
}

@media (max-width: 991.98px) {
    .ap-n128-header {
        grid-template-columns: 1fr;
    }

    .ap-n128-handwritten {
        display: none;
    }

    .ap-n128-tools {
        grid-template-columns: 1fr;
    }

    .ap-n128-actions {
        justify-content: space-between;
    }

    .ap-n128-showcase {
        grid-template-columns: 1fr;
    }

    .ap-n128-side-stack {
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-template-rows: none;
    }

    .ap-n128-footer {
        grid-template-columns: 1fr auto;
    }

    .ap-n128-footer-values {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .ap-n128-title h2 {
        font-size: 2.15rem;
    }

    .ap-n128-title h2::before {
        left: -10px;
        width: 5px;
        height: 27px;
    }

    .ap-n128-title p {
        font-size: .8rem;
    }

    .ap-n128-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ap-n128-search {
        min-width: 0;
    }

    .ap-n128-all-link {
        justify-content: center;
    }

    .ap-n128-hero-card {
        min-height: 430px;
        border-radius: 19px;
    }

    .ap-n128-hero-content {
        left: 18px;
        right: 18px;
        bottom: 20px;
        max-width: none;
    }

    .ap-n128-hero-content h3 {
        font-size: 1.85rem;
    }

    .ap-n128-hero-content p {
        font-size: .7rem;
    }

    .ap-n128-side-stack {
        display: flex;
        overflow-x: auto;
        gap: 9px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .ap-n128-side-card {
        flex: 0 0 84%;
        min-height: 220px;
        scroll-snap-align: start;
        border-radius: 17px;
    }

    .ap-n128-more > header {
        align-items: flex-end;
    }

    .ap-n128-more h3 {
        font-size: 1rem;
    }

    .ap-n128-rail {
        grid-auto-columns: 72%;
        padding-inline: 4px;
    }

    .ap-n128-rail-control {
        display: none;
    }

    .ap-n128-footer {
        grid-template-columns: 1fr;
    }

    .ap-n128-footer em {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-n128-category,
    .ap-n128-hero-media img,
    .ap-n128-side-media img,
    .ap-n128-rail-media img {
        transition: none !important;
    }
}
