/* Neth News — Budget 2026 section. Scoped to .nn-budget to avoid theme collisions. */
.nn-budget, .nn-budget * { box-sizing: border-box; }
.nn-budget {
  --nn-red: #cf0909; --nn-ink: #171717; --nn-muted: #747474;
  --nn-border: #e6e6e6;
  font-family: "Noto Sans Sinhala", "Iskoola Pota", "Arial", sans-serif;
  color: var(--nn-ink); width: 100%; max-width: 1200px; margin: 22px auto;
}
.nn-budget a { color: inherit; text-decoration: none; }
.nn-budget a:focus-visible { outline: 3px solid var(--nn-red); outline-offset: 3px; }
.nn-budget__head {
  min-height: 76px; display: flex; gap: 16px; align-items: center; padding: 12px 20px 12px 145px;
  border-top: 1px solid #f7e1e1; border-bottom: 1px solid #f0dddd;
  background: linear-gradient(95deg, rgba(255,255,255,.25),#fff7f7 29%,#fff0f0 100%),
              url('../images/budget-header.jpg') left center / 145px auto no-repeat;
}
.nn-budget__label { flex-shrink: 0; padding: 9px 13px 7px; background: var(--nn-red); color: #fff;
  font: 700 12px/1.2 Arial,sans-serif; letter-spacing: .03em; text-transform: uppercase;    margin-left: 4px;
  clip-path: polygon(8px 0,100% 0,94% 100%,0 100%); padding-left: 20px; }
.nn-budget__divider { height: 30px; width: 2px; background: var(--nn-red); flex-shrink: 0; }
.nn-budget__heading { margin: 0; font-size: 23px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.nn-budget__heading-en { font: 700 16px/1.2 Arial,sans-serif; color: #666; padding-left: 15px;
  margin-left: 12px; border-left: 1px solid #aaa; white-space: nowrap; }
.nn-budget__all { font-size: 15px; font-weight: 750; color: var(--nn-red) !important; margin-left: auto;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.nn-budget__all:hover, .nn-budget__title a:hover { color: #a50000; }
.nn-budget__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 16px; padding: 16px 0 0; }
.nn-budget__item { display: flex; gap: 14px; align-items: center; min-width: 0; padding: 10px 12px;
  border: 1px solid var(--nn-border); border-left: 4px solid var(--nn-red);
  border-radius: 9px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.045);
  transition: border-color .2s ease, box-shadow .2s ease; }
.nn-budget__item:hover { border-color: #edb4b4; box-shadow: 0 5px 16px rgba(0,0,0,.07); }
.nn-budget__thumb {    display: block;
    width: 126px !important;
    height: 80px !important;
    min-width: 126px;
    flex: 0 0 126px;
    overflow: hidden;
    border-radius: 6px;}
.nn-budget__thumb img,
.nn-budget__thumb .nn-budget__image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    image-rendering: auto;
}
.nn-budget__content { min-width: 0; flex: 1; }
.nn-budget__title { font-size: 12px; font-weight: normal; line-height: 1.65; margin: 0 0 7px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.nn-budget__time { display: flex; gap: 5px; align-items: center; font-size: 12px; color: var(--nn-muted); font-weight: 400; }
.nn-budget__clock { width: 14px; height: 14px; flex: 0 0 14px; }
@media (max-width: 900px) {
 .nn-budget__head { flex-wrap: wrap; padding-left: 118px; background-size: 118px auto; }
 .nn-budget__heading { font-size: 20px; } .nn-budget__heading-en { font-size: 14px; }
 .nn-budget__thumb { flex-basis: 104px; width:104px; height: 78px; }
 .nn-budget__item { gap: 10px; padding: 8px; } .nn-budget__title { font-size: 14px; }
}
@media (max-width: 680px) {
 .nn-budget { margin: 14px auto; }
 .nn-budget__head { gap: 9px; padding: 12px; background: linear-gradient(90deg,#fff,#fff0f0); min-height: 60px; }
 .nn-budget__label { font-size: 10px; padding: 8px 12px 7px 16px; }
 .nn-budget__divider, .nn-budget__heading-en { display: none; }
 .nn-budget__heading { font-size: 19px; }
 .nn-budget__all { font-size: 12px; }
 .nn-budget__grid { grid-template-columns: 1fr; gap: 8px; padding-top: 12px; }
 .nn-budget__item { min-height: 96px; }
 .nn-budget__thumb { flex: 0 0 115px; width:115px; height:78px; }
 .nn-budget__title { font-size: 14px; }
}
@media (max-width: 375px) {
 .nn-budget__head { gap: 7px; } .nn-budget__heading { font-size: 17px; }
 .nn-budget__label { font-size: 9px; } .nn-budget__all { font-size: 11px; }
 .nn-budget__thumb { flex-basis: 95px; width:95px; height:72px; }
}
