/* Newsroom: keep this layout separate from the homepage news block. */
.newsroom { --news-border: #dce5ee; --news-tint: #f2f5f9; --news-orange: #c74305; padding-top: 0; padding-bottom: 0; color: var(--c-navy-dark); }
.newsroom-banner { padding-block: clamp(1.55rem, 2.8vw, 2.35rem); background: linear-gradient(90deg, #08243c 3%, rgba(8,36,60,.92) 32%, rgba(8,36,60,.3) 58%, transparent 80%), url("../img/newsroom-banner.webp") right 54% / cover no-repeat, #08243c; color: #fff; }
.newsroom-banner__copy { max-width: 38rem; padding-left: 1rem; border-left: 4px solid #ff711c; }
.newsroom-banner h1 { margin: 0; color: #fff; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; text-wrap: pretty; overflow-wrap: anywhere; }
.newsroom-banner p { margin: .45rem 0 0; max-width: 33rem; color: #f1f5fb; line-height: 1.55; }
.newsroom-crumbs { background: #edf2f7; }
.newsroom-crumbs .breadcrumb { margin: 0; padding-block: .6rem; }
.newsroom-crumbs .breadcrumb [aria-current] { color: var(--c-navy-dark); font-weight: 750; }
.newsroom-content { padding-block: 1.2rem 1.75rem; }

.newsroom-tabs { margin-bottom: 1.5rem; overflow: auto; padding: 2px 2px 4px; scrollbar-width: thin; }
.newsroom-tabs ul { display: inline-flex; align-items: stretch; list-style: none; padding: 0; margin: 0; border: 1px solid var(--news-border); border-radius: 10px; background: var(--news-tint); white-space: nowrap; }
.newsroom-tabs li + li { border-left: 1px solid var(--news-border); }
.newsroom-tabs a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 45px; padding: .45rem clamp(.8rem, 1.6vw, 1.35rem); color: inherit; border-radius: 7px; font-size: .9rem; font-weight: 750; text-decoration: none; }
.newsroom-tabs a .icon { width: 20px; height: 20px; }
.newsroom-tabs a:hover { background: #e5edf5; }
.newsroom-tabs a[aria-current] { background: var(--news-orange); color: #fff; }

.newsroom-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, 26%); grid-template-areas: "articles search" "articles sidebar"; grid-template-rows: auto 1fr; gap: .8rem clamp(1rem, 2vw, 1.65rem); align-items: start; }
.newsroom-articles { grid-area: articles; min-width: 0; }
.newsroom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 1.5vw, 1.35rem); }
.newsroom-post { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--news-border); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 5px rgb(9 34 59 / .05); }
.newsroom-post__media { position: relative; background: var(--news-tint); }
.newsroom-post__media > a:first-child { display: grid; place-items: center; aspect-ratio: 2.05; overflow: hidden; }
.newsroom-post__media img, .newsroom-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.newsroom-post:hover img, .newsroom-related a:hover img { transform: scale(1.04); }
.newsroom-post__media .icon { color: var(--c-muted); width: 32px; height: 32px; }
.newsroom-post__tag { position: absolute; left: .7rem; bottom: .4rem; z-index: 1; max-width: calc(100% - 1.4rem); padding: .23rem .65rem; border-radius: 20px; background: var(--news-orange); color: #fff; font-size: .72rem; font-weight: 750; text-decoration: none; }
.newsroom-post__tag:hover { background: #a43505; color: #fff; }
.newsroom-post__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: .65rem .8rem .8rem; }
.newsroom-post h2 { margin: 0 0 .55rem; color: var(--c-navy-dark); font-size: clamp(.95rem, 1.17vw, 1.1rem); line-height: 1.3; text-wrap: pretty; overflow-wrap: anywhere; }
.newsroom-post h2 a, .newsroom-panel a:not(.newsroom-button) { color: inherit; text-decoration: none; }
.newsroom-post h2 a:hover, .newsroom-panel a:not(.newsroom-button):hover { color: var(--news-orange); }
.newsroom-post time, .newsroom-related time { display: flex; align-items: center; gap: .35rem; font-size: .75rem; color: #43586d; }
.newsroom-post time { margin-top: auto; }
.newsroom-post time .icon, .newsroom-related time .icon { width: 14px; height: 14px; }
.newsroom-post--lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1rem, 1.8vw, 1.5rem); align-items: center; margin-bottom: 1.4rem; border: 0; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.newsroom-post--lead .newsroom-post__media { overflow: hidden; border-radius: 10px; }
.newsroom-post--lead .newsroom-post__tag { top: .7rem; bottom: auto; }
.newsroom-post--lead .newsroom-post__copy { padding: 0; }
.newsroom-post--lead h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.17; }
.newsroom-post--lead p { margin: .65rem 0 .9rem; color: #243c53; line-height: 1.55; font-size: .95rem; }
.newsroom-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 40px; padding: .5rem 1.12rem; border-radius: 24px; background: linear-gradient(110deg, #bb3a03, #cb4707); color: #fff; font-size: .88rem; font-weight: 750; text-decoration: none; text-align: center; }
.newsroom-button:hover { background: #9e3104; color: #fff; }
.newsroom-button .icon { flex: none; width: 16px; height: 16px; }

.newsroom-sidebar { grid-area: sidebar; display: grid; gap: .8rem; min-width: 0; }
.newsroom-search { grid-area: search; display: flex; min-width: 0; border: 1px solid #cad8e8; border-radius: 9px; background: #fff; }
.newsroom-search input[type="search"] { flex: 1; min-width: 0; width: 100%; margin: 0; padding: .55rem .75rem; border: 0; border-radius: 9px 0 0 9px; background: transparent; font-size: .9rem; }
.newsroom-search button { display: grid; place-items: center; flex: 0 0 48px; min-height: 44px; border: 0; border-radius: 8px; background: var(--news-orange); color: #fff; cursor: pointer; }
.newsroom-search button:hover { background: #a43505; }
.newsroom-search .icon { width: 20px; height: 20px; }
.newsroom-panel { border: 1px solid var(--news-border); border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 5px rgb(9 34 59 / .05); }
.newsroom-panel h2 { display: flex; align-items: center; gap: .6rem; margin: 0; padding: .58rem .85rem; background: var(--news-tint); color: var(--c-navy-dark); font-size: 1.08rem; line-height: 1.2; }
.newsroom-panel h2 .icon, .newsroom-guide > .icon { width: 22px; height: 22px; flex: none; color: var(--news-orange); }
.newsroom-panel ul { list-style: none; padding: .35rem .85rem; margin: 0; }
.newsroom-panel li + li { border-top: 1px solid var(--news-border); }
.newsroom-categories a { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; align-items: center; gap: .35rem; padding-block: .45rem; font-size: .88rem; }
.newsroom-categories a[aria-current] { color: var(--news-orange); font-weight: 750; }
.newsroom-categories a .icon { width: 13px; height: 13px; color: var(--news-orange); }
.newsroom-categories small { color: #43586d; font-size: .76rem; }
.newsroom-related a { display: grid; grid-template-columns: minmax(64px, 32%) minmax(0, 1fr); gap: .6rem; align-items: start; padding-block: .5rem; }
.newsroom-related__image { display: block; overflow: hidden; border-radius: 5px; aspect-ratio: 1.52; background: var(--news-tint); }
.newsroom-related strong { display: block; margin-bottom: .25rem; font-size: .82rem; line-height: 1.3; }
.newsroom-follow { padding: .85rem; background: var(--news-tint); }
.newsroom-follow h2 { padding: 0; background: none; }
.newsroom-follow p { margin: .5rem 0 .75rem; font-size: .85rem; line-height: 1.5; }
.newsroom-follow .newsroom-button { width: 100%; }
.newsroom-follow .newsroom-button:disabled { border: 0; background: #dce5ee; color: #41586f; cursor: default; }
.newsroom .pagination .nav-links { margin-top: 1rem; gap: .4rem; }
.newsroom .pagination .page-numbers { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; padding: .3rem .5rem; border-radius: 6px; }
.newsroom .pagination .page-numbers.current { border-color: var(--news-orange); background: var(--news-orange); }
.newsroom .pagination .icon { width: 16px; height: 16px; }
.newsroom-empty { margin: 0; padding: 1.4rem; border-radius: 8px; background: var(--news-tint); }

.newsroom-guide { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .85rem; margin-top: 1.5rem; padding: 1rem 1.15rem; border-radius: 10px; background: var(--news-tint); }
.newsroom-guide > .icon { width: 29px; height: 29px; }
.newsroom-guide h2 { margin: 0; color: var(--c-navy-dark); font-size: 1.18rem; }
.newsroom-guide p { margin: .3rem 0 0; font-size: .9rem; line-height: 1.55; }
.newsroom-guide summary { display: inline-flex; align-items: center; gap: .35rem; margin-top: .65rem; padding: .38rem .9rem; border: 1px solid var(--news-orange); border-radius: 20px; cursor: pointer; color: var(--c-navy-dark); font-size: .82rem; font-weight: 750; }
.newsroom-guide summary::-webkit-details-marker { display: none; }
.newsroom-guide summary .icon { width: 15px; height: 15px; color: var(--news-orange); }
.newsroom-guide details[open] summary .icon { rotate: 180deg; }
.newsroom :is(a, button, input, summary):focus-visible, .newsroom-cta a:focus-visible { outline: 2px solid #0875b8; outline-offset: 2px; }

.newsroom-cta { padding-block: 1.4rem; background: linear-gradient(90deg, rgba(8,35,60,.38) 0%, #08233c 24%, #102e4c 100%), url("../img/home/editorial/sol-uon-ong.webp") left 52% / cover no-repeat, #08233c; }
.newsroom-cta .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-left: max(var(--gutter), 12vw); }
.newsroom-cta h2 { margin: 0; color: #fff; font-size: clamp(1.18rem, 2vw, 1.6rem); }
.newsroom-cta p { margin: .25rem 0 0; color: #e0eaf4; font-size: .9rem; }
.newsroom-cta__actions { display: flex; flex-wrap: wrap; gap: .65rem; flex-shrink: 0; }
.newsroom-button--outline { border: 1px solid #bdcfe4; background: transparent; }
.newsroom-button--outline:hover { background: #1d4264; }
.site-footer--newsroom .footer-body { background: var(--c-navy-dark); }

@media (min-width: 900px) {
	.newsroom-guide { padding-right: 14rem; }
	.newsroom-guide summary { position: absolute; top: 50%; right: 1.25rem; margin: 0; transform: translateY(-50%); }
}
@media (max-width: 1039px) {
	.newsroom-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsroom-post--lead { grid-template-columns: 1fr; gap: .75rem; }
}
@media (max-width: 767px) {
	.newsroom-banner { background-image: linear-gradient(90deg, #08243c 12%, rgba(8,36,60,.91) 62%, rgba(8,36,60,.66)), url("../img/newsroom-banner.webp"); }
	.newsroom-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "search" "articles" "sidebar"; gap: 1rem; }
	.newsroom-cta .container { align-items: flex-start; flex-direction: column; padding-left: var(--gutter); }
	.newsroom-cta { background-image: linear-gradient(90deg, #08233c 24%, #102e4c); }
}
@media (max-width: 479px) {
	.newsroom-grid { grid-template-columns: 1fr; }
	.newsroom-post__media > a:first-child { aspect-ratio: 1.85; }
	.newsroom-guide { padding: .85rem; gap: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
	.newsroom-post img, .newsroom-related img { transition: none; }
	.newsroom-post:hover img, .newsroom-related a:hover img { transform: none; }
}

/* Filtering keeps the shell in place and preserves access to all tabs. */
.newsroom-feedback { margin-block: .3rem; color: #43586d; font-size: .8rem; min-height: 1.25rem; }
.newsroom-feedback:empty { display: none; }
.newsroom.is-filtering .newsroom-articles { opacity: .55; transition: opacity .15s; }
@media(prefers-reduced-motion:reduce) { .newsroom.is-filtering .newsroom-articles { transition: none; } }
