.mq-latest-section {
    position: relative;
    padding: 5.5rem 1rem;
    overflow: hidden;
    border-top: 1px solid rgba(199, 170, 104, 0.16);
    border-bottom: 1px solid rgba(199, 170, 104, 0.16);
    background:
        radial-gradient(circle at 82% 8%, rgba(93, 10, 22, 0.2), transparent 36%),
        linear-gradient(180deg, #090a0e 0%, #0b0a0d 52%, #08090c 100%);
}

.mq-latest-section::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.18;
    pointer-events: none;
    background-image: linear-gradient(90deg, transparent 49.8%, rgba(199, 170, 104, 0.08) 50%, transparent 50.2%);
    background-size: 120px 100%;
}

.mq-latest-section__inner {
    position: relative;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.mq-latest-section__header {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

.mq-latest-section__eyebrow,
.mq-latest-panel__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    color: #c7aa68;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.mq-latest-section__eyebrow::before,
.mq-latest-panel__kicker::before {
    width: 28px;
    height: 1px;
    content: "";
    background: currentColor;
}

.mq-latest-section__header h2 {
    margin: 0;
    color: #f1ecdf;
    font-family: "Bodoni 72", Didot, "Hiragino Mincho ProN", serif;
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.035em;
}

.mq-latest-section__lead {
    max-width: 650px;
    margin: 0;
    color: #aaa59a;
    line-height: 1.9;
}

.mq-latest-stack {
    display: grid;
    gap: 2rem;
}

.mq-latest-panel {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border: 1px solid rgba(199, 170, 104, 0.2);
    border-radius: 5px;
    background: rgba(11, 12, 16, 0.9);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.25);
}

.mq-latest-panel--notice {
    border-color: rgba(142, 26, 45, 0.56);
    background: linear-gradient(135deg, rgba(52, 9, 18, 0.82), rgba(13, 13, 18, 0.94) 55%);
}

.mq-latest-panel__header {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1.8rem;
}

.mq-latest-panel__header h3 {
    margin: 0.35rem 0 0;
    color: #f4eee2;
    font-family: "Bodoni 72", Didot, "Hiragino Mincho ProN", serif;
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.mq-latest-panel__header > p {
    max-width: 620px;
    margin: 0;
    color: #aaa59a;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.mq-latest-panel__header code {
    color: #d8bd7d;
    font: inherit;
}

.mq-notice-feed,
.mq-x-feed {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.mq-notice-card,
.cnj-x-feed__card {
    display: grid;
    min-width: 0;
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(199, 170, 104, 0.2);
    border-radius: 4px;
    align-content: start;
    background: rgba(15, 16, 21, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.mq-notice-card {
    min-height: 245px;
    border-left: 3px solid #8e1a2d;
}

.mq-notice-card__status {
    justify-self: start;
    margin: 0 0 0.85rem;
    padding: 0.3rem 0.55rem;
    border: 1px solid rgba(216, 189, 125, 0.34);
    color: #e4ca8a;
    background: rgba(111, 17, 34, 0.26);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.mq-notice-card time {
    color: #8e8880;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.mq-notice-card h4 {
    margin: 0.75rem 0 0;
    color: #eee6d7;
    font-size: 1.06rem;
    line-height: 1.55;
}

.mq-notice-card h4 a {
    color: inherit;
    text-decoration: none;
}

.mq-notice-card > p:not(.mq-notice-card__status) {
    display: -webkit-box;
    margin: 0.85rem 0 0;
    overflow: hidden;
    color: #beb7aa;
    font-size: 0.86rem;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.cnj-x-feed__card {
    min-height: 310px;
}

.cnj-x-feed__meta {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.1rem 0.75rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cnj-x-feed__meta strong {
    min-width: 0;
    overflow: hidden;
    color: #ead9a4;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cnj-x-feed__meta span {
    grid-row: 2;
    color: #777d87;
    font-size: 0.72rem;
}

.cnj-x-feed__meta time {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    color: #85817a;
    font-size: 0.68rem;
    white-space: nowrap;
}

.cnj-x-feed__card > p {
    display: -webkit-box;
    margin: 1.05rem 0 0;
    overflow: hidden;
    color: #d5cec0;
    font-size: 0.86rem;
    line-height: 1.78;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
}

.cnj-x-feed__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    object-fit: cover;
    background: #08090c;
}

.mq-latest-link,
.cnj-x-feed__card > a,
.mq-latest-panel__more a,
.mq-feed-fallback a {
    color: #d8bd7d;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(216, 189, 125, 0.5);
    text-underline-offset: 4px;
}

.mq-latest-link,
.cnj-x-feed__card > a {
    justify-self: start;
    margin-top: auto;
    padding-top: 1.15rem;
}

.mq-feed-loading,
.mq-feed-fallback,
.cnj-x-feed__error {
    display: grid;
    min-height: 150px;
    margin: 0;
    padding: 1.5rem;
    border: 1px solid rgba(199, 170, 104, 0.2);
    border-radius: 4px;
    gap: 0.7rem;
    place-content: center;
    color: #9c9589;
    background: #0d1016;
    text-align: center;
}

.mq-feed-note {
    margin: 0.9rem 0 0;
    color: #746f68;
    font-size: 0.72rem;
    line-height: 1.65;
}

.mq-latest-panel__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

.mq-latest-panel__more a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

@media (min-width: 720px) {
    .mq-latest-section {
        padding: 7rem 1.5rem;
    }

    .mq-latest-section__header {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 1rem 4rem;
        align-items: end;
        margin-bottom: 4rem;
    }

    .mq-latest-section__eyebrow {
        grid-column: 1;
    }

    .mq-latest-section__header h2 {
        grid-row: 2;
        grid-column: 1;
    }

    .mq-latest-section__lead {
        grid-row: 1 / 3;
        grid-column: 2;
        align-self: end;
    }

    .mq-latest-panel {
        padding: 2rem;
    }

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

@media (min-width: 860px) {
    .mq-latest-panel__header {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
        gap: 1.5rem 2.5rem;
        align-items: end;
    }
}

@media (min-width: 720px) and (max-width: 1023px) {
    .mq-x-feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .mq-x-feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (max-width: 719px) {
    .cnj-x-feed__card {
        min-height: 270px;
    }

    .cnj-x-feed__card > p {
        -webkit-line-clamp: 5;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mq-latest-section *,
    .mq-latest-section *::before,
    .mq-latest-section *::after {
        scroll-behavior: auto !important;
    }
}
