/* Newsroom: preserve uploaded visual assets without hard-cropping them. */
.mbx-newsroom {
    --mbx-news-ink: #0f172a;
    --mbx-news-muted: #64748b;
    --mbx-news-line: #e2e8f0;
    --mbx-news-surface: #f8fafc;
    --mbx-news-accent: #f09005;
    background: linear-gradient(180deg, #fff 0%, #fff 38%, #f8fafc 100%);
    color: var(--mbx-news-ink);
    overflow: clip;
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.mbx-news-shell {
    width: min(100% - 2rem, 80rem);
    margin-inline: auto;
}

.mbx-news-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--mbx-news-line);
    padding: clamp(9rem, 14vw, 12rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.mbx-news-hero::before,
.mbx-news-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.mbx-news-hero::before {
    width: min(44rem, 80vw);
    aspect-ratio: 1;
    top: -26rem;
    left: 50%;
    border-radius: 999px;
    background: radial-gradient(circle, rgb(240 144 5 / 0.14), rgb(240 144 5 / 0));
    transform: translateX(-50%);
}

.mbx-news-hero::after {
    width: 9rem;
    height: 1px;
    bottom: 0;
    left: 50%;
    background: var(--mbx-news-accent);
    transform: translateX(-50%);
}

.mbx-news-hero__inner {
    position: relative;
    text-align: center;
}

.mbx-news-kicker,
.mbx-news-section-label,
.mbx-news-meta {
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.mbx-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    margin: 0;
    color: #9a5b00;
}

.mbx-news-kicker__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--mbx-news-accent);
    box-shadow: 0 0 0 0.25rem rgb(240 144 5 / 0.14);
}

.mbx-news-title {
    max-width: 50rem;
    margin: 1rem auto 0;
    color: var(--mbx-news-ink);
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 0.98;
}

.mbx-news-intro {
    max-width: 38rem;
    margin: 1.5rem auto 0;
    color: var(--mbx-news-muted);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 400;
    line-height: 1.7;
}

.mbx-news-featured-section {
    padding-top: clamp(2.5rem, 5vw, 5rem);
}

.mbx-news-featured {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(0.875rem, 1.8vw, 1.5rem);
    border: 1px solid var(--mbx-news-line);
    border-radius: clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    box-shadow: 0 1.5rem 4rem rgb(15 23 42 / 0.06);
}

.mbx-news-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: var(--mbx-news-surface);
}

.mbx-news-featured__media {
    min-height: clamp(16rem, 31vw, 30rem);
    border-radius: clamp(1rem, 2.2vw, 1.75rem);
}

.mbx-news-media__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 400ms ease;
}

.mbx-news-featured__media:hover .mbx-news-media__image,
.mbx-news-card__media:hover .mbx-news-media__image {
    transform: scale(1.015);
}

.mbx-news-media__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #94a3b8;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.mbx-news-featured__content {
    padding: clamp(0.25rem, 1vw, 1.25rem) clamp(0.25rem, 1vw, 1.25rem) clamp(0.5rem, 1vw, 1.25rem);
}

.mbx-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.mbx-news-meta__label {
    color: #9a5b00;
}

.mbx-news-meta time::before {
    display: inline-block;
    width: 0.25rem;
    height: 0.25rem;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: #cbd5e1;
    content: "";
    vertical-align: middle;
}

.mbx-news-featured__title,
.mbx-news-card__title,
.mbx-news-listing__heading h2,
.mbx-news-empty h2 {
    margin: 0;
    color: var(--mbx-news-ink);
    letter-spacing: -0.045em;
}

.mbx-news-featured__title {
    margin-top: 1.25rem;
    font-size: clamp(2rem, 3.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.04;
}

.mbx-news-featured__title a,
.mbx-news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.mbx-news-featured__title a:hover,
.mbx-news-featured__title a:focus-visible,
.mbx-news-card__title a:hover,
.mbx-news-card__title a:focus-visible {
    color: #9a5b00;
}

.mbx-news-featured__excerpt,
.mbx-news-card__excerpt,
.mbx-news-listing__heading > p,
.mbx-news-empty p {
    color: var(--mbx-news-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.mbx-news-featured__excerpt {
    margin: 1.25rem 0 0;
}

.mbx-news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.75rem;
    color: #9a5b00;
    font-size: 0.8125rem;
    font-weight: 800;
    text-decoration: none;
}

.mbx-news-link::after {
    width: 2.25rem;
    height: 2px;
    background: var(--mbx-news-accent);
    content: "";
    transition: width 180ms ease;
}

.mbx-news-link:hover::after,
.mbx-news-link:focus-visible::after {
    width: 3rem;
}

.mbx-news-listing {
    padding-top: clamp(4rem, 8vw, 7rem);
}

.mbx-news-listing__heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--mbx-news-line);
}

.mbx-news-section-label {
    margin: 0 0 0.625rem;
    color: #9a5b00;
}

.mbx-news-listing__heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.08;
}

.mbx-news-listing__heading > p {
    max-width: 24rem;
    margin: 0;
    text-align: right;
}

.mbx-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.mbx-news-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--mbx-news-line);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 0.75rem 2rem rgb(15 23 42 / 0.035);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mbx-news-card:hover {
    border-color: rgb(240 144 5 / 0.5);
    box-shadow: 0 1.25rem 2.75rem rgb(15 23 42 / 0.09);
    transform: translateY(-0.25rem);
}

.mbx-news-card__media {
    aspect-ratio: 8 / 5;
    border-width: 0 0 1px;
    border-radius: 0;
}

.mbx-news-card__content {
    position: relative;
    display: flex;
    min-height: 100%;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.75rem;
}

.mbx-news-card__title {
    margin-top: 1rem;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.mbx-news-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 1rem 0 2.5rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mbx-news-card__link {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #64748b;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mbx-news-card:hover .mbx-news-card__link,
.mbx-news-card__link:focus-visible {
    border-color: var(--mbx-news-accent);
    background: var(--mbx-news-accent);
    color: #fff;
}

.mbx-news-pagination {
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.mbx-news-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mbx-news-pagination .page-numbers a,
.mbx-news-pagination .page-numbers .current {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid var(--mbx-news-line);
    border-radius: 0.625rem;
    background: #fff;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 800;
    text-decoration: none;
}

.mbx-news-pagination .page-numbers .current,
.mbx-news-pagination .page-numbers a:hover,
.mbx-news-pagination .page-numbers a:focus-visible {
    border-color: var(--mbx-news-accent);
    background: var(--mbx-news-accent);
    color: #fff;
}

.mbx-news-empty-section {
    padding-top: 4rem;
}

.mbx-news-empty {
    max-width: 38rem;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--mbx-news-line);
    border-radius: 1.5rem;
    background: #fff;
    color: #94a3b8;
    text-align: center;
}

.mbx-news-empty h2 {
    margin-top: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.mbx-news-empty p {
    margin: 0.75rem 0 0;
}

/* Dedicated News detail: editorial hierarchy and an image that is never cropped. */
.mbx-news-detail {
    background: linear-gradient(180deg, #fff 0%, #fff 52%, #f8fafc 100%);
    color: var(--mbx-news-ink);
    padding-bottom: clamp(4rem, 8vw, 8rem);
}

.mbx-news-detail__masthead {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--mbx-news-line);
    padding: clamp(8.5rem, 13vw, 11.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.mbx-news-detail__masthead::before {
    position: absolute;
    top: -19rem;
    right: max(-15rem, calc((100vw - 80rem) / 2 - 12rem));
    width: 36rem;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(240 144 5 / 0.12), rgb(240 144 5 / 0));
    content: "";
    pointer-events: none;
}

.mbx-news-detail__masthead .mbx-news-shell {
    position: relative;
}

.mbx-news-detail__back,
.mbx-news-detail__aside a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: #9a5b00;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.mbx-news-detail__back {
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgb(240 144 5 / 0.42);
}

.mbx-news-detail__back:hover,
.mbx-news-detail__back:focus-visible,
.mbx-news-detail__aside a:hover,
.mbx-news-detail__aside a:focus-visible {
    color: #c2700a;
}

.mbx-news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: #64748b;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.mbx-news-detail__meta > * + *::before {
    display: inline-block;
    width: 0.25rem;
    height: 0.25rem;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: #cbd5e1;
    content: "";
    vertical-align: middle;
}

.mbx-news-detail__category {
    color: #9a5b00;
}

.mbx-news-detail__title {
    max-width: 60rem;
    margin: 1.25rem 0 0;
    color: var(--mbx-news-ink);
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.01;
}

.mbx-news-detail__excerpt {
    max-width: 46rem;
    margin: 1.5rem 0 0;
    color: var(--mbx-news-muted);
    font-size: clamp(1rem, 1.65vw, 1.1875rem);
    line-height: 1.72;
}

.mbx-news-detail__visual {
    padding-top: clamp(1.5rem, 3vw, 2.75rem);
}

.mbx-news-detail-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--mbx-news-line);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    background: var(--mbx-news-surface);
    box-shadow: 0 1.25rem 3.5rem rgb(15 23 42 / 0.08);
    padding: clamp(0.25rem, 0.75vw, 0.75rem);
    margin: 0;
}

.mbx-news-detail-media__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.mbx-news-detail-media__empty {
    display: flex;
    min-height: 18rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mbx-news-detail__body {
    padding-top: clamp(3.5rem, 7vw, 7rem);
}

.mbx-news-detail__layout {
    display: grid;
    grid-template-columns: minmax(10rem, 12.5rem) minmax(0, 46rem);
    gap: clamp(2rem, 7vw, 8rem);
    align-items: start;
    justify-content: center;
}

.mbx-news-detail__aside {
    position: sticky;
    top: 7.5rem;
    display: grid;
    gap: 1.5rem;
    padding-top: 0.25rem;
    color: #475569;
}

.mbx-news-detail__aside > div {
    padding-top: 1.25rem;
    border-top: 1px solid var(--mbx-news-line);
}

.mbx-news-detail__aside p,
.mbx-news-detail__author p,
.mbx-news-detail__tags > p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.mbx-news-detail__aside time {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.mbx-news-detail__aside time strong {
    color: var(--mbx-news-ink);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 1;
}

.mbx-news-detail__aside time span,
.mbx-news-detail__aside > div > span {
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 700;
}

.mbx-news-detail__aside > div > span {
    display: block;
    margin-top: 0.5rem;
}

.mbx-news-detail__article {
    min-width: 0;
}

.mbx-news-detail__rule {
    width: 100%;
    height: 1px;
    margin: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--mbx-news-line);
}

.mbx-news-detail__tags {
    display: flex;
    gap: 1.25rem;
    align-items: start;
}

.mbx-news-detail__tags > p {
    min-width: 2.5rem;
    padding-top: 0.5rem;
}

.mbx-news-detail__tags > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.mbx-news-detail__tags a,
.mbx-news-detail__tags span {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    border: 1px solid var(--mbx-news-line);
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
}

.mbx-news-detail__tags a:hover,
.mbx-news-detail__tags a:focus-visible {
    border-color: rgb(240 144 5 / 0.55);
    color: #9a5b00;
}

.mbx-news-detail__author {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding: 1.5rem;
    border: 1px solid var(--mbx-news-line);
    border-radius: 1.25rem;
    background: #fff;
}

.mbx-news-detail__author-mark {
    display: grid;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    font-size: 1.125rem;
    font-weight: 800;
}

.mbx-news-detail__author h2 {
    margin: 0.35rem 0;
    color: var(--mbx-news-ink);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.mbx-news-detail__author span {
    color: var(--mbx-news-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

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

    .mbx-news-featured__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

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

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

    .mbx-news-detail__aside {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .mbx-news-shell {
        width: min(100% - 1.5rem, 80rem);
    }

    .mbx-news-hero {
        padding-top: 8.5rem;
    }

    .mbx-news-listing__heading {
        display: block;
    }

    .mbx-news-listing__heading > p {
        margin-top: 1rem;
        text-align: left;
    }

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

    .mbx-news-featured__content {
        padding: 0.5rem 0.25rem 0.25rem;
    }

    .mbx-news-detail__masthead {
        padding-top: 8rem;
    }

    .mbx-news-detail__meta {
        gap: 0.5rem;
    }

    .mbx-news-detail__meta > * + *::before {
        margin-right: 0.5rem;
    }

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

    .mbx-news-detail__aside a {
        grid-column: 1 / -1;
        padding-top: 0.5rem;
    }

    .mbx-news-detail__tags {
        display: block;
    }

    .mbx-news-detail__tags > div {
        margin-top: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mbx-news-media__image,
    .mbx-news-card,
    .mbx-news-card__link,
    .mbx-news-link::after {
        transition: none;
    }
}
