/* Articles — extends landing visual language */

.articles-body .lp-nav a.is-active,
.articles-body .lp-nav-drop-trigger.is-active {
    color: var(--lp-ink);
    font-weight: 800;
}

.art-hero {
    position: relative;
    overflow: hidden;
    padding: 48px 0 0;
}
.art-hero-copy {
    position: relative;
    z-index: 1;
    max-width: min(100%, 720px);
    text-align: left;
}
.art-hero-copy h1,
.art-hero h1 {
    margin: 0;
    font-family: var(--lp-display);
    font-size: clamp(32px, 8vw, 64px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.055em;
    text-align: left;
    overflow-wrap: anywhere;
}
.art-hero h1 span,
.art-hero-copy h1 span { color: var(--lp-blue); }
.art-hero-lead {
    margin: 20px 0 0;
    max-width: 640px;
    color: var(--lp-muted);
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
}
.art-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    margin-bottom: 36px;
}
.art-hero-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    background: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 700;
}

/* Seamless left→right marquee under hero (two identical groups, -50%) */
.art-hero-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(17, 19, 24, 0.06);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.art-hero-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: artHeroMarquee 32s linear infinite;
}
.art-hero-marquee-group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 28px;
    padding-right: 28px;
    height: 52px;
}
.art-hero-marquee-group span {
    flex: 0 0 auto;
    white-space: nowrap;
    color: rgba(17, 19, 24, 0.16);
    font-family: var(--lp-display);
    font-size: clamp(22px, 3.4vw, 34px);
    font-weight: 700;
    letter-spacing: -.04em;
}
@keyframes artHeroMarquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

.art-list-section { padding-top: 28px; }
.art-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-bottom: 20px;
}
.art-search {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(100%, 420px);
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid rgba(17, 19, 24, 0.1);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    color: var(--lp-muted);
    box-shadow: 0 10px 28px rgba(24, 31, 46, 0.04);
}
.art-search:focus-within {
    border-color: rgba(49, 94, 251, 0.35);
    color: var(--lp-ink);
    box-shadow: 0 0 0 4px rgba(49, 94, 251, 0.1);
}
.art-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--lp-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}
.art-search input::placeholder { color: var(--lp-faint); font-weight: 550; }
.art-search-meta {
    margin: 0;
    color: var(--lp-faint);
    font-size: 12px;
    font-weight: 700;
}
.art-empty {
    margin: 28px 0 0;
    color: var(--lp-muted);
    font-size: 15px;
    font-weight: 650;
}
.art-grid {
    display: grid;
    gap: 16px;
}
.art-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,247,251,.9));
    box-shadow: 0 16px 40px rgba(24, 31, 46, 0.05);
    transition: transform .25s ease, box-shadow .25s ease;
}
.art-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(24, 31, 46, 0.08);
}
.art-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.art-card-label,
.art-card-time {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.art-card-label { color: var(--lp-blue); }
.art-card-time { color: var(--lp-faint); }
.art-card h2 {
    margin: 0;
    font-family: var(--lp-display);
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -.04em;
}
.art-card h2 a {
    color: inherit;
    text-decoration: none;
}
.art-card p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 15px;
    line-height: 1.65;
}
.art-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}
.art-card-foot time {
    color: var(--lp-faint);
    font-size: 12px;
    font-weight: 700;
}
.art-card-link {
    color: var(--lp-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

/* Article page */
.art-article-hero {
    position: relative;
    padding: 56px 0 28px;
    overflow: hidden;
}
.art-article-hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -160px;
    top: -220px;
    border-radius: 50%;
    background: rgba(49, 94, 251, 0.1);
    filter: blur(70px);
    pointer-events: none;
}
.art-article-hero-grid {
    position: relative;
    display: grid;
    gap: 24px;
}
.art-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--lp-faint);
    font-size: 12px;
    font-weight: 700;
}
.art-breadcrumbs a {
    color: var(--lp-muted);
    text-decoration: none;
}
.art-article-copy {
    max-width: min(100%, 760px);
}
.art-article-copy h1 {
    margin: 0;
    max-width: 760px;
    font-family: var(--lp-display);
    font-size: clamp(30px, 7vw, 52px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.05em;
    overflow-wrap: anywhere;
}
.art-article-lead {
    margin: 18px 0 0;
    max-width: 760px;
    color: var(--lp-muted);
    font-size: 18px;
    line-height: 1.72;
}
.art-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 18px;
    color: var(--lp-faint);
    font-size: 12px;
    font-weight: 700;
}
.art-motion-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}
.art-motion-words span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(49, 94, 251, 0.16);
    background: rgba(49, 94, 251, 0.07);
    color: #244bd7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.01em;
    animation: artWordFloat 4.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * .18s);
}
@keyframes artWordFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.art-pain-panel {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    background:
        linear-gradient(160deg, rgba(255,255,255,.96), rgba(240,242,248,.92));
    box-shadow: var(--lp-shadow);
    animation: artPanelIn .7s ease both;
}
.art-pain-label {
    margin-bottom: 12px;
    color: var(--lp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.art-pain-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.art-pain-panel li {
    position: relative;
    padding-left: 16px;
    color: var(--lp-ink);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.45;
}
.art-pain-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--lp-blue);
}
@keyframes artPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.art-layout {
    display: grid;
    gap: 28px;
    padding-bottom: 24px;
}
.art-content {
    display: grid;
    gap: 8px;
}
.art-section {
    padding: 8px 0 18px;
    border-bottom: 1px solid var(--lp-line-light);
}
.art-section:last-child { border-bottom: 0; }
.art-section h2 {
    margin: 0 0 14px;
    font-family: var(--lp-display);
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -.045em;
    line-height: 1.15;
}
.art-section p {
    margin: 0 0 14px;
    color: #3a4250;
    font-size: 17px;
    line-height: 1.78;
}
.art-section ul {
    margin: 0 0 12px;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}
.art-section li {
    color: #3a4250;
    font-size: 16px;
    line-height: 1.6;
}
.art-faq details {
    margin-bottom: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    background: #fff;
}
.art-faq summary {
    cursor: pointer;
    font-weight: 750;
    list-style: none;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq details p {
    margin: 10px 0 0;
    font-size: 15px;
}

.art-inline-cta {
    margin-top: 18px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(49, 94, 251, 0.16), transparent 55%),
        #151820;
    color: #fff;
}
.art-inline-cta .lp-kicker { color: rgba(255,255,255,.55); }
.art-inline-cta h2 {
    margin: 0 0 10px;
    font-family: var(--lp-display);
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -.045em;
}
.art-inline-cta p {
    margin: 0 0 18px;
    color: rgba(255,255,255,.72);
    max-width: 560px;
}

.art-side {
    display: grid;
    gap: 14px;
    align-content: start;
}
.art-side-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    background: rgba(255,255,255,.86);
}
.art-side-card strong {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.art-side-card ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.art-side-card li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    color: var(--lp-muted);
    font-size: 13px;
    line-height: 1.4;
}
.art-side-card li span {
    color: var(--lp-blue);
    font-weight: 800;
    font-size: 11px;
}
.art-related {
    display: grid;
    gap: 12px;
}
.art-related a {
    display: grid;
    gap: 4px;
    text-decoration: none;
    color: inherit;
}
.art-related a span {
    color: var(--lp-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.art-related a b {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 750;
}

@media (min-width: 760px) {
    .art-hero { padding: 64px 0 0; }
    .art-grid { grid-template-columns: repeat(2, 1fr); }
    .art-article-hero-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr);
        align-items: start;
    }
}
@media (min-width: 1080px) {
    .art-grid { grid-template-columns: repeat(3, 1fr); }
    .art-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 36px;
        align-items: start;
    }
    .art-side { position: sticky; top: 88px; }
}

@media (max-width: 759px) {
    .articles-body .lp-container {
        width: min(100% - 40px, var(--lp-container));
    }
    .art-list-section { padding-top: 18px; padding-bottom: 48px; }
    .art-toolbar { align-items: stretch; }
    .art-search { width: 100%; }
    .art-card { padding: 18px; border-radius: 18px; }
    .art-card h2 { font-size: 20px; }
    .case-mini-kpis { grid-template-columns: 1fr 1fr; }
    .art-article-hero { padding: 28px 0 16px; }
    .art-section h2 { font-size: 24px; }
    .art-section p { font-size: 16px; }
    .art-inline-cta { padding: 20px; }
    .art-pain-panel { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .art-hero-marquee-track,
    .art-motion-words span,
    .art-pain-panel,
    .art-card {
        animation: none !important;
        transition: none !important;
    }
}
