/* =========================================================
   IPK Global Consulting - News & Insights
   ========================================================= */

:root {
    --news-navy: #071a33;
    --news-blue: #0b5cab;
    --news-blue-light: #eaf4ff;
    --news-gold: #c89b3c;
    --news-text: #26364a;
    --news-muted: #68788d;
    --news-white: #ffffff;
    --news-border: rgba(11, 92, 171, .13);
    --news-shadow: 0 18px 55px rgba(7, 31, 59, .10);
}

.ipk-news-page {
    overflow: hidden;
    background: #fff;
    color: var(--news-text);
}

.news-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-space {
    padding: 92px 0;
}

/* HERO */
.news-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 84% 28%, rgba(48, 145, 255, .18), transparent 27%),
        radial-gradient(circle at 14% 82%, rgba(200, 155, 60, .12), transparent 25%),
        linear-gradient(135deg, #f7fbff 0%, #eef6ff 48%, #ffffff 100%);
}

.news-hero-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
    animation: newsFloat 9s ease-in-out infinite;
}

.news-hero-aura-one {
    width: 300px;
    height: 300px;
    right: -90px;
    top: 50px;
    background: rgba(36, 133, 234, .12);
}

.news-hero-aura-two {
    width: 210px;
    height: 210px;
    left: 42%;
    bottom: -110px;
    background: rgba(200, 155, 60, .13);
    animation-delay: -3s;
}

.news-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
    padding: 75px 0;
}

.news-hero-content {
    max-width: 730px;
}

.news-kicker,
.news-section-kicker {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--news-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.news-hero h1 {
    margin: 0 0 22px;
    color: var(--news-navy);
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.03;
    letter-spacing: -.045em;
}

.news-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--news-muted);
    font-size: 1.12rem;
    line-height: 1.8;
}

.news-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.news-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 23px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
    transition: .25s ease;
}

.news-btn span {
    font-size: 1.15rem;
    transition: transform .25s ease;
}

.news-btn:hover span {
    transform: translateX(4px);
}

.news-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0b5cab, #1976d2);
    box-shadow: 0 12px 30px rgba(11, 92, 171, .22);
}

.news-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.news-btn-outline {
    color: var(--news-navy);
    border: 1px solid rgba(7, 26, 51, .15);
    background: rgba(255,255,255,.72);
}

.news-btn-outline:hover {
    color: var(--news-blue);
    border-color: rgba(11,92,171,.35);
    transform: translateY(-2px);
}

/* HERO PANEL */
.news-hero-panel {
    position: relative;
    min-height: 350px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.68);
    box-shadow: 0 25px 70px rgba(13, 67, 119, .13);
    backdrop-filter: blur(16px);
}

.news-panel-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    right: -55px;
    top: -55px;
    border-radius: 50%;
    background: rgba(32, 133, 232, .15);
}

.news-panel-icon {
    position: relative;
    width: 58px;
    height: 58px;
    margin-bottom: 28px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--news-gold);
    background: #fff;
    box-shadow: 0 12px 35px rgba(7, 31, 59, .10);
    font-size: 1.7rem;
}

.news-hero-panel span {
    color: var(--news-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.news-hero-panel strong {
    margin: 13px 0 12px;
    color: var(--news-navy);
    font-size: 1.65rem;
    line-height: 1.3;
}

.news-hero-panel p {
    font-size: .98rem;
    line-height: 1.7;
}

/* INTRO */
.news-intro {
    background: #fff;
}

.news-two-column {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 85px;
    align-items: start;
}

.news-two-column h2,
.news-section-heading h2,
.news-topics h2,
.news-cta h2 {
    margin: 0;
    color: var(--news-navy);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.news-two-column p {
    margin: 0 0 18px;
    color: var(--news-muted);
    font-size: 1rem;
    line-height: 1.85;
}

/* NEWS GRID */
.news-list-section {
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
}

.news-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 45px;
    align-items: end;
    margin-bottom: 45px;
}

.news-section-heading > p {
    max-width: 400px;
    margin: 0 0 3px;
    color: var(--news-muted);
    line-height: 1.75;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    position: relative;
    min-height: 385px;
    padding: 29px;
    border: 1px solid var(--news-border);
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 40px rgba(7,31,59,.06);
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease, box-shadow .25s ease, border-color .25s ease;
    transition-delay: var(--delay);
}

.news-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-7px);
    border-color: rgba(11,92,171,.25);
    box-shadow: var(--news-shadow);
}

.news-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -65px;
    bottom: -65px;
    border-radius: 50%;
    background: rgba(11,92,171,.055);
}

.news-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.news-category {
    color: var(--news-blue);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-date {
    color: #8997a8;
    font-size: .75rem;
}

.news-card-number {
    margin: 31px 0 16px;
    color: rgba(11,92,171,.13);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: .8;
}

.news-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 15px;
    color: var(--news-navy);
    font-size: 1.28rem;
    line-height: 1.4;
}

.news-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 24px;
    color: var(--news-muted);
    font-size: .93rem;
    line-height: 1.75;
}

.news-read-more {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-blue);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
}

.news-read-more span {
    transition: transform .2s ease;
}

.news-read-more:hover {
    color: var(--news-navy);
}

.news-read-more:hover span {
    transform: translateX(4px);
}

/* TOPICS */
.news-topics {
    background: #fff;
}

.news-topics-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    padding: 65px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 25%),
        linear-gradient(135deg, #071a33, #0b4f8f);
    box-shadow: 0 25px 70px rgba(7,31,59,.14);
}

.news-topics-box .news-section-kicker {
    color: #dcb45f;
}

.news-topics h2 {
    color: #fff;
    margin-bottom: 18px;
}

.news-topics-content p {
    margin: 0;
    color: rgba(255,255,255,.75);
    line-height: 1.8;
}

.news-topic-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: center;
}

.news-topic-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 11px;
    background: rgba(255,255,255,.06);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    transition: .25s ease;
}

.news-topic-list a span {
    color: #dcb45f;
}

.news-topic-list a:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    transform: translateX(3px);
}

/* CTA */
.news-cta {
    padding-top: 15px;
    background: #fff;
}

.news-cta-box {
    text-align: center;
    padding: 75px 25px;
    border: 1px solid rgba(11,92,171,.12);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 0%, rgba(11,92,171,.09), transparent 42%),
        #f7fbff;
}

.news-cta-box h2 {
    max-width: 760px;
    margin: 0 auto 16px;
}

.news-cta-box p {
    max-width: 650px;
    margin: 0 auto 28px;
    color: var(--news-muted);
    line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .section-space {
        padding: 72px 0;
    }

    .news-hero-inner,
    .news-two-column,
    .news-topics-box {
        grid-template-columns: 1fr;
    }

    .news-hero-inner {
        gap: 45px;
    }

    .news-hero-panel {
        min-height: 290px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    .news-container {
        width: min(100% - 28px, 1180px);
    }

    .section-space {
        padding: 58px 0;
    }

    .news-hero {
        min-height: auto;
    }

    .news-hero-inner {
        padding: 58px 0 65px;
    }

    .news-hero h1 {
        font-size: 2.75rem;
    }

    .news-hero p {
        font-size: 1rem;
    }

    .news-hero-panel {
        padding: 32px;
        border-radius: 22px;
    }

    .news-two-column {
        gap: 30px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        min-height: auto;
    }

    .news-topics-box {
        padding: 38px 25px;
        border-radius: 22px;
        gap: 35px;
    }

    .news-topic-list {
        grid-template-columns: 1fr;
    }

    .news-cta-box {
        padding: 55px 20px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .news-hero h1 {
        font-size: 2.35rem;
    }

    .news-hero-actions {
        flex-direction: column;
    }

    .news-btn {
        width: 100%;
    }

    .news-card {
        padding: 24px;
    }

    .news-topics h2,
    .news-two-column h2,
    .news-section-heading h2,
    .news-cta h2 {
        font-size: 2rem;
    }
}

@keyframes newsFloat {
    0%, 100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(0,-16px,0); }
}

@media (prefers-reduced-motion: reduce) {
    .news-hero-aura,
    .news-card {
        animation: none;
        transition: none;
    }
}
