@font-face {
    font-family: "DelaGothicOne";
    src: url("../fonts/DelaGothicOne-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "MiSans-Regular";
    src: url("../fonts/MiSans-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "MiSans-Bold";
    src: url("../donate/fonts/MiSans-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "NotoSerifCJKsc-Bold";
    src: url("../fonts/NotoSerifCJKsc-Bold.otf") format("opentype");
    font-display: swap;
}

.news-landing {
    --news-bg: #070a14;
    --news-panel: rgba(20, 24, 36, 0.9);
    --news-border: rgba(69, 83, 113, 0.55);
    --news-gold: #20d4f8;
    --news-gold-2: #8a6e2f;
    --news-text: #d8e4f2;
    --news-muted: #97a6bd;
    position: relative;
    min-height: 100vh;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 120px 0 90px;
    background: radial-gradient(circle at 50% 20%, rgba(22, 100, 127, 0.16), rgba(5, 5, 16, 0.96) 62%), var(--news-bg);
    color: var(--news-text);
    font-family: "MiSans-Regular", "Segoe UI", Tahoma, sans-serif;
    overflow: hidden;
}

.news-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 0.8px, transparent 0.8px);
    background-size: 4px 4px;
    opacity: 0.08;
    pointer-events: none;
}

.news-landing #particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.news-landing .news-shell {
    position: relative;
    z-index: 1;
    width: min(1400px, calc(100% - 28px));
    margin: 0 auto;
}

.news-landing .news-header {
    text-align: center;
    margin-bottom: 42px;
}

.news-landing .news-header-decoration {
    width: min(620px, 80%);
    height: 2px;
    margin: 0 auto 20px;
    background: linear-gradient(90deg, transparent, var(--news-gold), transparent);
    position: relative;
}

.news-landing .news-header-decoration::before {
    content: "+";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--news-gold);
    font-size: 18px;
    background: var(--news-bg);
    padding: 0 12px;
    line-height: 1;
}

.news-main-title {
    font-family: "DelaGothicOne", "Segoe UI", Tahoma, sans-serif;
    font-size: clamp(42px, 5vw, 84px);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: transparent;
    -webkit-text-stroke: 2px #16647f;
    background: linear-gradient(180deg, #ffffff 20%, #16647f 60%, #20d4f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px #20d4f8;
}

.news-main-title::after {
    content: attr(data-title);
    position: absolute;
    inset: 0;
    color: transparent;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: newsTitleShimmer 3s infinite linear;
    pointer-events: none;
}

.news-landing .news-subtitle {
    font-family: "NotoSerifCJKsc-Bold", "Times New Roman", serif;
    margin-top: 8px;
    font-size: clamp(14px, 1.4vw, 20px);
    color: var(--news-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.news-landing .news-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 30px;
}

.news-landing .news-feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-landing .news-card {
    border: 1px solid var(--news-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(22, 27, 39, 0.95), rgba(13, 17, 27, 0.95));
    padding: 20px;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.news-landing .news-detail-thumb {
    min-height: 260px;
}

.news-landing .news-detail-title {
    font-size: clamp(28px, 3vw, 50px);
    margin-bottom: 0;
}

.news-landing .news-detail-content {
    border-top: 1px solid rgba(69, 83, 113, 0.45);
    margin-top: 8px;
    padding-top: 16px;
    color: #c5d3e9;
    line-height: 1.7;
    font-size: 16px;
}

.news-landing .news-detail-content p,
.news-landing .news-detail-content ul,
.news-landing .news-detail-content ol,
.news-landing .news-detail-content blockquote {
    margin-bottom: 14px;
}

.news-landing .news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-landing .news-detail-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
}

.news-landing .news-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 168, 255, 0.45);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.56);
}

.news-landing .news-thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(72, 85, 112, 0.6);
    min-height: 190px;
}

.news-landing .news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-landing .news-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.news-landing .news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.news-landing .news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid;
    font-family: "MiSans-Bold", "Segoe UI", Tahoma, sans-serif;
    font-size: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
}

.news-landing .news-tag--evento {
    border-color: rgba(175, 57, 203, 0.8);
    background: linear-gradient(135deg, #74228f, #aa2fb5);
}

.news-landing .news-tag--atualizacao {
    border-color: rgba(40, 173, 255, 0.8);
    background: linear-gradient(135deg, #1a5acc, #20a7f9);
}

.news-landing .news-tag--comunicado {
    border-color: rgba(255, 191, 72, 0.8);
    background: linear-gradient(135deg, #9a6a16, #c48a2d);
}

.news-landing .news-tag--promocao {
    border-color: rgba(82, 214, 128, 0.8);
    background: linear-gradient(135deg, #2f8f52, #47ba75);
}

.news-landing .news-tag--outros {
    border-color: rgba(128, 142, 168, 0.8);
    background: linear-gradient(135deg, #49576f, #687b98);
}

.news-landing .news-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--news-muted);
    font-size: 13px;
}

.news-landing .news-card-title {
    font-family: "NotoSerifCJKsc-Bold", "Times New Roman", serif;
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.25;
    margin-bottom: 10px;
}

.news-landing .news-card-title a {
    color: #f2f7ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-landing .news-card-title a:hover {
    color: #7dd3ff;
}

.news-landing .news-card-excerpt {
    color: #acbad1;
    line-height: 1.6;
    font-size: 16px;
}

.news-landing .news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(32, 212, 248, 0.45);
    background: rgba(15, 29, 44, 0.75);
    color: #c8f4ff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
    font-family: "MiSans-Bold", "Segoe UI", Tahoma, sans-serif;
    width: fit-content;
    transition: all 0.2s ease;
}

.news-landing .news-read-more:hover {
    color: #fff;
    border-color: #20d4f8;
    box-shadow: 0 0 14px rgba(32, 212, 248, 0.28);
}

.news-landing .news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-landing .news-widget {
    border: 1px solid var(--news-border);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(23, 28, 40, 0.95), rgba(15, 18, 28, 0.95));
    padding: 24px;
}

.news-landing .news-widget-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #eef4ff;
    font-family: "DelaGothicOne", "Segoe UI", Tahoma, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(69, 83, 113, 0.45);
}

.news-landing .news-widget-title i {
    color: #7dd3ff;
    font-size: 18px;
}

.news-landing .news-search-form {
    display: grid;
    grid-template-columns: 1fr 48px;
    gap: 8px;
}

.news-landing .news-search-input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid rgba(69, 83, 113, 0.55);
    background: rgba(8, 12, 20, 0.9);
    color: #dde8fa;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.news-landing .news-search-input:focus {
    border-color: #20d4f8;
    box-shadow: 0 0 0 2px rgba(32, 212, 248, 0.18);
}

.news-landing .news-search-btn {
    min-height: 46px;
    border-radius: 8px;
    border: 1px solid rgba(32, 212, 248, 0.55);
    background: rgba(22, 100, 127, 0.5);
    color: #c8f4ff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-landing .news-search-btn:hover {
    border-color: #20d4f8;
    color: #fff;
}

.news-landing .news-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-landing .news-categories li {
    border-bottom: 1px dashed rgba(69, 83, 113, 0.5);
}

.news-landing .news-categories li:last-child {
    border-bottom: none;
}

.news-landing .news-category-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #c7d5ea;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-landing .news-category-link:hover,
.news-landing .news-category-link.is-active {
    color: #7dd3ff;
}

.news-landing .news-cat-count {
    min-height: 24px;
    min-width: 30px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(69, 83, 113, 0.65);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #90a4c5;
}

.news-landing .news-category-link.is-active .news-cat-count {
    border-color: rgba(32, 212, 248, 0.65);
    color: #c8f4ff;
}

.news-landing .news-recent-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(69, 83, 113, 0.45);
}

.news-landing .news-recent-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-landing .news-recent-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(69, 83, 113, 0.6);
}

.news-landing .news-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-landing .news-recent-title {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.35;
}

.news-landing .news-recent-title a {
    color: #d8e4f2;
    text-decoration: none;
}

.news-landing .news-recent-title a:hover {
    color: #7dd3ff;
}

.news-landing .news-recent-date {
    color: #8fa1bd;
    font-size: 12px;
}

.news-landing .news-empty {
    min-height: 280px;
    border: 1px dashed rgba(69, 83, 113, 0.6);
    border-radius: 12px;
    background: rgba(16, 21, 33, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #9fb1cb;
    font-size: 20px;
    padding: 20px;
}

.news-landing .news-title-break {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

@keyframes newsTitleShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@media (max-width: 1199px) {
    .news-landing {
        padding-top: 105px;
    }

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

    .news-landing .news-thumb {
        min-height: 220px;
    }

    .news-landing .news-detail-thumb {
        min-height: 230px;
    }

    .news-landing .news-card-title {
        font-size: 28px;
    }
}

@media (max-width: 991px) {
    .news-landing .news-content-grid {
        grid-template-columns: 1fr;
    }

    .news-landing .news-sidebar {
        order: -1;
    }
}

@media (max-width: 575px) {
    .news-landing {
        padding-top: 90px;
    }

    .news-landing .news-shell {
        width: calc(100% - 14px);
    }

    .news-main-title {
        letter-spacing: 1px;
    }

    .news-landing .news-card {
        padding: 14px;
    }

    .news-landing .news-thumb {
        min-height: 180px;
    }

    .news-landing .news-detail-thumb {
        min-height: 180px;
    }

    .news-landing .news-card-title {
        font-size: 22px;
    }

    .news-landing .news-card-excerpt {
        font-size: 14px;
    }
}
