.home-news-section {
    padding: clamp(68px, 8vw, 108px) 0;
    background: #f4f8f7;
}

.home-news-heading,
.news-page-header .site-container {
    max-width: 760px;
}

.home-news-heading { margin-inline-start: auto; margin-bottom: 27px; text-align: start; }
.home-news-heading h2,
.news-page-header h1 { margin-top: 9px; color: #102c27; font-size: 3.15rem; line-height: 1.18; }
.home-news-heading p,
.news-page-header p { margin-top: 11px; color: #64746f; font-size: 1rem; line-height: 1.8; }

.home-news-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .86fr); grid-template-rows: repeat(2, 270px); gap: 18px; }
.home-news-grid.is-single { width: min(100%, 920px); display: block; margin-inline: auto; }
.home-news-grid.is-single .home-news-card { height: clamp(330px, 34vw, 390px); grid-row: auto; }
.home-news-grid.is-pair .home-news-card:not(.is-lead) { grid-row: 1 / 3; }
.home-news-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(15,76,92,.15); border-radius: 8px; background: #0a343f; box-shadow: 0 18px 46px rgba(15,35,49,.12); }
.home-news-card.is-lead { grid-row: 1 / 3; }
.home-news-card > a { width: 100%; height: 100%; display: block; }
.home-news-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .9s cubic-bezier(.2,.75,.25,1), filter .7s ease; }
.home-news-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,26,33,.02) 20%, rgba(4,26,33,.86) 100%); transition: background .45s ease; }
.home-news-content { position: absolute; inset-inline: 0; inset-block-end: 0; display: grid; gap: 9px; padding: 22px; color: #fff; transform: translateY(26px); transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.home-news-card.is-lead .home-news-content { padding: clamp(24px, 4vw, 42px); }
.home-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .76rem; }
.home-news-meta strong { padding: 5px 10px; border-radius: 999px; background: #e9b52f; color: #182814; font-size: .72rem; }
.home-news-meta time { color: rgba(255,255,255,.84); font-family: Inter, sans-serif; font-weight: 700; }
.home-news-title { display: -webkit-box; overflow: hidden; font-size: 1.23rem; font-weight: 800; line-height: 1.38; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-news-card.is-lead .home-news-title { max-width: 720px; font-size: 2.75rem; line-height: 1.24; }
.home-news-excerpt { display: -webkit-box; overflow: hidden; max-width: 710px; color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.7; opacity: 0; transition: opacity .4s ease; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-news-card.is-lead .home-news-excerpt { font-size: .94rem; }
.home-news-read { display: inline-flex; align-items: center; gap: 7px; color: #f5cd64; font-size: .78rem; font-weight: 800; opacity: 0; transition: opacity .4s ease, transform .4s ease; }
.home-news-grid.is-single .home-news-content { max-width: 760px; padding: clamp(22px, 3vw, 32px); transform: none; }
.home-news-grid.is-single .home-news-title { max-width: 680px; font-size: clamp(1.65rem, 2.5vw, 2.2rem); line-height: 1.3; }
.home-news-grid.is-single .home-news-excerpt { max-width: 660px; font-size: .9rem; opacity: 1; }
.home-news-grid.is-single .home-news-read { opacity: 1; }
.home-news-read .ui-icon,
.home-news-all .ui-icon { width: 17px; height: 17px; }
.home-news-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.home-news-card:hover .home-news-shade { background: linear-gradient(180deg, rgba(4,26,33,.08), rgba(4,26,33,.92)); }
.home-news-card:hover .home-news-content { transform: none; }
.home-news-card:hover .home-news-excerpt,
.home-news-card:hover .home-news-read { opacity: 1; }
.home-news-all { display: grid; grid-template-columns: minmax(28px, 150px) auto minmax(28px, 150px); align-items: center; justify-content: center; gap: 16px; margin-top: 30px; }
.home-news-all::before,
.home-news-all::after { content: ""; height: 1px; background: linear-gradient(90deg, transparent, rgba(8,116,86,.35)); }
.home-news-all::after { transform: scaleX(-1); }
.home-news-all a { position: relative; min-height: 54px; display: inline-flex; align-items: center; gap: 12px; overflow: hidden; padding: 7px 8px 7px 19px; border: 1px solid rgba(8,116,86,.34); border-radius: 8px; background: #fff; color: #075d47; font-weight: 800; box-shadow: 0 14px 34px rgba(15,35,49,.11); transition: transform .35s cubic-bezier(.2,.75,.25,1), color .3s ease, background .3s ease, border-color .3s ease, box-shadow .35s ease; }
.home-news-all a::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: #e9b52f; transition: width .3s ease; }
.home-news-all-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: #087456; color: #fff; transition: color .3s ease, background .3s ease, transform .35s ease; }
.home-news-all-icon .ui-icon { width: 18px; height: 18px; }
.home-news-all a:hover { transform: translateY(-4px); border-color: #087456; background: #075d47; color: #fff; box-shadow: 0 20px 42px rgba(8,116,86,.2); }
.home-news-all a:hover::before { width: 7px; }
.home-news-all a:hover .home-news-all-icon { transform: translateX(3px); background: #e9b52f; color: #173029; }
[dir="rtl"] .home-news-all a { padding: 7px 19px 7px 8px; }
[dir="rtl"] .home-news-all-icon { transform: scaleX(-1); }
[dir="rtl"] .home-news-all a:hover .home-news-all-icon { transform: scaleX(-1) translateX(3px); }
.home-news-empty { min-height: 210px; display: grid; place-content: center; justify-items: center; gap: 11px; padding: 26px; border: 1px dashed #b9cfca; border-radius: 8px; background: rgba(255,255,255,.7); color: #687a74; text-align: center; }
.home-news-empty .ui-icon { width: 42px; height: 42px; color: #087456; }

.news-page-header { padding: clamp(72px, 9vw, 118px) 0 58px; border-bottom: 1px solid #dce8e5; background: #f4f8f7; }
.news-page-header .site-container { margin-inline: auto; text-align: center; }
.news-page-header p { margin-inline: auto; }
.news-archive-section { padding: 56px 0 90px; background: #fff; }
.news-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news-archive-card { min-width: 0; overflow: hidden; border: 1px solid #dce8e5; border-radius: 8px; background: #fff; box-shadow: 0 12px 34px rgba(15,35,49,.07); transition: transform .4s cubic-bezier(.2,.75,.25,1), box-shadow .4s ease, border-color .4s ease; }
.news-archive-card:hover { transform: translateY(-7px); border-color: rgba(0,167,165,.45); box-shadow: 0 24px 54px rgba(15,35,49,.13); }
.news-archive-media { position: relative; aspect-ratio: 16 / 10; display: block; overflow: hidden; background: #eaf1f0; }
.news-archive-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.news-archive-card:hover .news-archive-media img { transform: scale(1.045); }
.news-archive-media > span { position: absolute; inset-inline-start: 13px; inset-block-end: 13px; padding: 5px 10px; border-radius: 999px; background: #e9b52f; color: #182814; font-size: .7rem; font-weight: 800; }
.news-archive-body { display: grid; gap: 10px; padding: 19px; }
.news-archive-body time { display: flex; align-items: center; gap: 6px; color: #71807b; font-family: Inter, sans-serif; font-size: .72rem; }
.news-archive-body time .ui-icon { width: 16px; height: 16px; }
.news-archive-body h2 { font-size: 1.12rem; line-height: 1.5; }
.news-archive-body h2 a { color: #123930; }
.news-archive-body p { display: -webkit-box; overflow: hidden; color: #667771; font-size: .85rem; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.news-archive-read { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 3px; color: #087456; font-size: .78rem; font-weight: 800; }
.news-archive-read .ui-icon { width: 16px; height: 16px; transition: transform .25s ease; }
.news-archive-read:hover .ui-icon { transform: translateX(4px); }
[dir="rtl"] .news-archive-read:hover .ui-icon { transform: translateX(-4px); }
.news-public-empty { grid-column: 1 / -1; display: grid; justify-items: center; gap: 10px; padding: 50px 20px; border: 1px dashed #b9cfca; border-radius: 8px; color: #687a74; text-align: center; }
.news-public-empty .ui-icon { width: 40px; height: 40px; color: #087456; }
.news-public-pagination { margin-top: 30px; }
.news-public-pagination nav { display: flex; justify-content: center; }
.news-public-pagination .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.news-public-pagination .page-link { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 6px 10px; border: 1px solid #d4e3df; border-radius: 6px; background: #fff; color: #285148; font-size: .78rem; font-weight: 700; text-decoration: none; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.news-public-pagination .page-item.active .page-link { border-color: #087456; background: #087456; color: #fff; }
.news-public-pagination .page-item:not(.active):not(.disabled) .page-link:hover { border-color: #00a7a5; color: #087456; }
.news-public-pagination .page-item.disabled .page-link { color: #9aa8a3; pointer-events: none; }

.news-detail-header { padding: clamp(66px, 8vw, 105px) 0 48px; background: #f4f8f7; }
.news-detail-header .site-container { max-width: 930px; }
.news-detail-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 26px; color: #087456; font-size: .8rem; font-weight: 800; }
.news-detail-back .ui-icon { width: 17px; height: 17px; }
[dir="ltr"] .news-detail-back .ui-icon { transform: rotate(180deg); }
.news-detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #6a7b75; font-size: .78rem; }
.news-detail-meta strong { padding: 5px 10px; border-radius: 999px; background: #e9b52f; color: #182814; }
.news-detail-header h1 { max-width: 920px; margin-top: 16px; color: #102c27; font-size: 4rem; line-height: 1.18; }
.news-detail-header p { max-width: 830px; margin-top: 18px; color: #5d7069; font-size: 1.2rem; line-height: 1.85; }
.news-detail-layout { max-width: 1080px; padding-top: 42px; padding-bottom: 76px; }
.news-detail-image { overflow: hidden; margin: 0; border-radius: 8px; background: #eaf1f0; box-shadow: 0 22px 56px rgba(15,35,49,.12); }
.news-detail-image img { width: 100%; max-height: 680px; display: block; object-fit: cover; }
.news-detail-body { max-width: 850px; margin: 42px auto 0; color: #304740; font-size: 1.02rem; line-height: 2.05; white-space: pre-line; }
.news-related-section { padding: 58px 0 84px; border-top: 1px solid #dce8e5; background: #f7faf9; }
.news-related-section h2 { margin-bottom: 22px; color: #102c27; font-size: 1.65rem; }
.news-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-related-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid #dce8e5; border-radius: 8px; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.news-related-card:hover { transform: translateY(-4px); box-shadow: 0 15px 34px rgba(15,35,49,.1); }
.news-related-card img { width: 112px; aspect-ratio: 4 / 3; display: block; object-fit: cover; border-radius: 6px; }
.news-related-card span { min-width: 0; }
.news-related-card time { display: block; margin-bottom: 5px; color: #71807b; font-size: .68rem; }
.news-related-card strong { display: -webkit-box; overflow: hidden; color: #183d34; font-size: .85rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

@media (max-width: 980px) {
    .news-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .home-news-heading h2,
    .news-page-header h1 { font-size: 2.2rem; }
    .home-news-grid,
    .home-news-grid.is-single { grid-template-columns: 1fr; grid-template-rows: none; }
    .home-news-grid.is-single .home-news-card { height: auto; min-height: 360px; }
    .home-news-grid .home-news-card,
    .home-news-grid.is-pair .home-news-card:not(.is-lead) { min-height: 360px; grid-row: auto; }
    .home-news-content { transform: none; }
    .home-news-card.is-lead .home-news-title { font-size: 2rem; }
    .home-news-excerpt,
    .home-news-read { opacity: 1; }
    .news-archive-grid { grid-template-columns: 1fr; }
    .news-detail-header h1 { font-size: 2.5rem; }
    .news-detail-header p { font-size: 1rem; }
}
@media (max-width: 520px) {
    .home-news-section { padding: 62px 0; }
    .home-news-grid .home-news-card,
    .home-news-grid.is-pair .home-news-card:not(.is-lead) { min-height: 330px; }
    .home-news-content,
    .home-news-card.is-lead .home-news-content { padding: 18px; }
    .home-news-card.is-lead .home-news-title { font-size: 1.55rem; }
    .news-related-card { grid-template-columns: 88px minmax(0, 1fr); }
    .news-related-card img { width: 88px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-news-card img,
    .home-news-content,
    .home-news-excerpt,
    .home-news-read,
    .news-archive-card,
    .news-archive-media img,
    .news-related-card { transition: none; }
}
