.news-page,
.news-detail-page {
    background: #FFFFFF;
}

.news-hero-section {
    position: relative;
    height: 300px;
    min-height: 300px;
    margin-top: 68px;
    display: flex;
    align-items: center;
    padding: 53px 0;
    background:
        radial-gradient(circle at 84% 22%, rgba(30, 111, 255, 0.18), transparent 32%),
        radial-gradient(circle at 70% 86%, rgba(6, 182, 212, 0.14), transparent 28%),
        linear-gradient(135deg, #F8FBFF 0%, #EDF5FF 54%, #F7FAFF 100%);
    border-bottom: 1px solid rgba(30, 111, 255, 0.12);
    overflow: hidden;
}

.news-hero-section::before,
.news-hero-section::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(30, 111, 255, 0.12);
    border-radius: 50%;
}

.news-hero-section::before {
    width: 420px;
    height: 420px;
    right: -110px;
    top: -190px;
}

.news-hero-section::after {
    width: 260px;
    height: 260px;
    left: 46%;
    bottom: -210px;
}

.news-hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.news-hero-copy h1 {
    max-width: 960px;
    margin: 0 auto;
    color: var(--text-primary);
    font-size: 46px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.news-list-section {
    padding: 72px 0 100px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
}

.news-featured-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 370px;
    margin-bottom: 28px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.14);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 50px rgba(47, 83, 143, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.news-featured-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 111, 255, 0.42);
    box-shadow: var(--shadow-card-hover);
}

.news-featured-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 370px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(7, 31, 77, 0.98), rgba(20, 88, 205, 0.96)),
        #0A2E72;
}

.news-featured-visual::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    left: -86px;
    bottom: -120px;
    background: rgba(6, 182, 212, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.news-featured-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -60px;
    background: rgba(124, 58, 237, 0.2);
    border-radius: 50%;
    filter: blur(10px);
}

.news-featured-visual.has-thumbnail::before,
.news-featured-visual.has-thumbnail::after,
.news-card-visual.has-thumbnail::before,
.news-card-visual.has-thumbnail::after {
    display: none;
}

.news-featured-visual > img,
.news-card-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.news-featured-card:hover .news-featured-visual > img,
.news-card:hover .news-card-visual > img {
    transform: scale(1.035);
}

.news-featured-dashboard {
    position: relative;
    z-index: 1;
    width: min(78%, 420px);
    padding: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(2, 11, 32, 0.28);
    backdrop-filter: blur(16px);
    transform: rotate(-2.5deg);
}

.news-dashboard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.news-dashboard-dots {
    display: flex;
    gap: 6px;
}

.news-dashboard-dots i {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.48);
    border-radius: 50%;
}

.news-dashboard-head span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.news-dashboard-bars {
    display: grid;
    gap: 12px;
}

.news-dashboard-bar {
    height: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-full);
}

.news-dashboard-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #6FE6FF, #FFFFFF);
    border-radius: inherit;
}

.news-dashboard-bar:nth-child(1) span {
    width: 84%;
}

.news-dashboard-bar:nth-child(2) span {
    width: 62%;
}

.news-dashboard-bar:nth-child(3) span {
    width: 74%;
}

.news-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.news-dashboard-metrics i {
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.news-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 46px;
}

.news-card-meta,
.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.news-featured-body h3 {
    margin: 20px 0 16px;
    color: var(--text-primary);
    font-size: 30px;
    line-height: 1.38;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.news-pinned-label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    color: #FFFFFF;
    background: linear-gradient(135deg, #1E6FFF, #06B6D4);
    border-radius: var(--radius-full);
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 800;
}

.news-read-more::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-fast);
}

.news-featured-card:hover .news-read-more::after,
.news-card:hover .news-read-more::after {
    transform: translateX(4px) rotate(45deg);
}

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

.news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.news-card[hidden],
.news-featured-card[hidden] {
    display: none !important;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 111, 255, 0.38);
    box-shadow: var(--shadow-card-hover);
}

.news-card-visual {
    position: relative;
    min-height: 194px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #FFFFFF;
}

.news-card-visual::before,
.news-card-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.news-card-visual::before {
    width: 170px;
    height: 170px;
    right: -50px;
    top: -70px;
    background: rgba(255, 255, 255, 0.12);
}

.news-card-visual::after {
    width: 110px;
    height: 110px;
    left: -40px;
    bottom: -54px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-visual--invoice {
    background: linear-gradient(135deg, #0B4F9C, #1E8EDB);
}

.news-visual--shared {
    background: linear-gradient(135deg, #4338CA, #7C3AED);
}

.news-visual--ai {
    background: linear-gradient(135deg, #0F766E, #06B6D4);
}

.news-visual--data {
    background: linear-gradient(135deg, #123A73, #315FCE);
}

.news-visual--policy {
    background: linear-gradient(135deg, #6246A8, #4F46E5);
}

.news-card-visual svg {
    position: relative;
    z-index: 1;
    width: 88px;
    height: 88px;
    filter: drop-shadow(0 14px 20px rgba(3, 16, 48, 0.22));
}

.news-card-placeholder {
    position: relative;
    z-index: 1;
    width: min(64%, 180px);
    display: grid;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    box-shadow: 0 18px 34px rgba(3, 16, 48, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: rotate(-2deg);
}

.news-card-placeholder strong {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.14em;
}

.news-card-placeholder i {
    display: block;
    height: 8px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-full);
}

.news-card-placeholder i::after {
    content: "";
    display: block;
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, #A5F3FC, #FFFFFF);
    border-radius: inherit;
}

.news-card-placeholder i:nth-of-type(2)::after {
    width: 54%;
}

.news-card-placeholder i:nth-of-type(3)::after {
    width: 82%;
}

.news-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 22px 24px;
}

.news-card-body h3 {
    display: -webkit-box;
    min-height: 56px;
    overflow: hidden;
    margin: 16px 0 12px;
    color: var(--text-primary);
    font-size: 19px;
    line-height: 1.48;
    font-weight: 800;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 44px;
}

.news-pagination[hidden] {
    display: none !important;
}

.news-pagination button {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.16);
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    transition: all var(--transition-fast);
}

.news-pagination button:hover:not(:disabled),
.news-pagination button:focus-visible {
    color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.news-pagination button.active {
    color: #FFFFFF;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.news-pagination button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.news-detail-heading {
    width: 100%;
    margin-bottom: 42px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(30, 111, 255, 0.12);
}

.news-detail-heading h1 {
    width: 100%;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: clamp(34px, 3vw, 42px);
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.news-detail-meta {
    gap: 12px;
}

.news-article-section-wrap {
    margin-top: 68px;
    padding: 48px 0 90px;
    background: linear-gradient(180deg, #F5F8FD 0%, #FFFFFF 100%);
}

.news-article-layout {
    display: block;
    width: 100%;
}

.news-article-main {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 56px 68px 68px;
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(47, 83, 143, 0.08);
}

.news-article-section {
    scroll-margin-top: 96px;
}

.news-article-section + .news-article-section {
    margin-top: 48px;
}

.news-article-section h2,
.news-article-content h2 {
    position: relative;
    margin: 46px 0 22px;
    padding-left: 18px;
    color: var(--text-primary);
    font-size: 27px;
    line-height: 1.42;
    font-weight: 800;
}

.news-article-section h2::before,
.news-article-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 26px;
    background: var(--gradient-blue-cyan);
    border-radius: var(--radius-full);
}

.news-article-content > :first-child {
    margin-top: 0;
}

.news-article-content > :last-child {
    margin-bottom: 0;
}

.news-article-section p,
.news-article-content p {
    margin-bottom: 18px;
    color: #475569;
    font-size: 16px;
    line-height: 2;
}

.news-article-content > section,
.news-article-content > div {
    margin-bottom: 18px;
    color: #475569;
    font-size: 16px;
    line-height: 2;
}

.news-article-content h3 {
    margin: 34px 0 16px;
    color: var(--text-primary);
    font-size: 21px;
    line-height: 1.5;
    font-weight: 800;
}

.news-article-content h4 {
    margin: 28px 0 14px;
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
}

.news-article-content ul,
.news-article-content ol {
    margin: 0 0 22px;
    padding-left: 1.6em;
    color: #475569;
    font-size: 16px;
    line-height: 1.95;
}

.news-article-content li + li {
    margin-top: 8px;
}

.news-article-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.news-article-content strong {
    color: #243B5A;
}

.news-article-section blockquote,
.news-article-content blockquote {
    position: relative;
    margin: 28px 0;
    padding: 26px 30px 26px 58px;
    color: #173C70;
    background: linear-gradient(135deg, #EFF6FF, #F7FAFF);
    border: 1px solid rgba(30, 111, 255, 0.12);
    border-radius: var(--radius-md);
    font-size: 17px;
    line-height: 1.8;
    font-weight: 700;
}

.news-article-section blockquote::before,
.news-article-content blockquote::before {
    content: "“";
    position: absolute;
    left: 22px;
    top: 14px;
    color: rgba(30, 111, 255, 0.32);
    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 1;
}

.news-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: var(--radius-md);
}

.news-article-content figure {
    margin: 30px 0;
}

.news-article-content figure img {
    margin: 0 auto;
}

.news-article-content figcaption {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.news-article-content table {
    display: block;
    width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.news-article-content th,
.news-article-content td {
    min-width: 120px;
    padding: 13px 15px;
    border: 1px solid #DCE6F5;
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
}

.news-article-content th {
    color: var(--text-primary);
    background: #F3F7FD;
    font-weight: 800;
}

.news-article-content hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid #DCE6F5;
}

.news-content-empty {
    color: var(--text-muted);
    text-align: center;
}

.news-empty-state {
    padding: 72px 24px;
    color: var(--text-secondary);
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.12);
    border-radius: var(--radius-lg);
    text-align: center;
}

.news-empty-state strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 22px;
}

.news-empty-state p {
    font-size: 14px;
}

.article-navigation-section {
    padding: 74px 0 88px;
    background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
    border-top: 1px solid rgba(30, 111, 255, 0.08);
}

.article-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.article-navigation-link {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
    background: #FFFFFF;
    border: 1px solid rgba(30, 111, 255, 0.14);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.article-navigation-link:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-card-hover);
}

.article-navigation-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--color-primary);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.article-navigation-link--prev .article-navigation-label::before,
.article-navigation-link--next .article-navigation-label::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.article-navigation-link--prev .article-navigation-label::before {
    transform: rotate(-135deg);
}

.article-navigation-link--next {
    text-align: right;
}

.article-navigation-link--next .article-navigation-label {
    justify-content: flex-end;
}

.article-navigation-link--next .article-navigation-label::after {
    transform: rotate(45deg);
}

.article-navigation-link strong {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.55;
    font-weight: 800;
}

.article-navigation-link[aria-disabled="true"] {
    pointer-events: none;
    background: #F8FAFC;
    border-color: var(--border-light);
    box-shadow: none;
    opacity: 0.62;
}

.news-detail-cta {
    padding: 0 0 90px;
    background: #FFFFFF;
}

@media (max-width: 1199px) {
    .news-hero-copy h1,
    .news-detail-heading h1 {
        font-size: 38px;
    }

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

}

@media (max-width: 900px) {
    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-featured-visual {
        min-height: 310px;
    }

}

@media (max-width: 767px) {
    .news-hero-section {
        height: 300px;
        min-height: 300px;
        padding: 36px 0;
    }

    .news-hero-copy h1 {
        font-size: 28px;
        line-height: 1.35;
    }

    .news-detail-heading h1 {
        font-size: 26px;
        line-height: 1.35;
    }

    .news-list-section {
        padding: 48px 0 72px;
    }

    .news-featured-card {
        min-height: 0;
        margin-bottom: 20px;
    }

    .news-featured-visual {
        min-height: 230px;
    }

    .news-featured-body {
        padding: 26px 22px 28px;
    }

    .news-featured-body h3 {
        margin: 16px 0 12px;
        font-size: 23px;
    }

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

    .news-pagination {
        gap: 6px;
        margin-top: 36px;
    }

    .news-pagination button {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }

    .news-card-visual {
        min-height: 178px;
    }

    .news-article-section-wrap {
        padding: 24px 0 58px;
    }

    .news-article-main {
        padding: 34px 20px 42px;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(47, 83, 143, 0.07);
    }

    .news-detail-heading {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .news-article-section + .news-article-section {
        margin-top: 38px;
    }

    .news-article-section h2,
    .news-article-content h2 {
        margin-top: 38px;
        font-size: 23px;
    }

    .news-article-section p,
    .news-article-content p,
    .news-article-content ul,
    .news-article-content ol {
        font-size: 15px;
        line-height: 1.9;
    }

    .news-article-section blockquote,
    .news-article-content blockquote {
        padding: 22px 20px 22px 48px;
        font-size: 15px;
    }

    .article-navigation-section {
        padding: 56px 0 66px;
    }

    .article-navigation {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-navigation-link {
        min-height: 0;
        padding: 22px;
    }

    .article-navigation-link strong {
        font-size: 16px;
    }

    .news-detail-cta {
        padding-bottom: 68px;
    }
}
