.news-hero {
  background: var(--latvia-navy-dark);
  padding: 8rem clamp(1.5rem, 5vw, 4rem) 4rem;
}
.news-hero__inner { max-width: 80rem; margin-inline: auto; }
.news-hero .public-section-label { margin-bottom: 1rem; }
.news-hero h1 { color: white; font-size: 2.25rem; line-height: 1.1; font-weight: 700; margin-bottom: .75rem; }
.news-hero h1 + p { color: rgba(255, 255, 255, .65); }
.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 80rem;
  margin-inline: auto;
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}
.news-main { flex: 1; min-width: 0; }
.news-filters { display: flex; gap: .5rem; margin-bottom: 2rem; }
.news-filters a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .375rem 1rem;
  border: 1px solid var(--latvia-border);
  color: var(--latvia-text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color 200ms, color 200ms, border-color 200ms;
}
.news-filters a[aria-current], .news-filters a:hover {
  background: var(--latvia-navy);
  color: white;
  border-color: var(--latvia-navy);
}
.news-layout a:focus-visible { outline: 2px solid var(--latvia-navy); outline-offset: 4px; }
.news-featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--latvia-border);
  background: var(--latvia-surface);
  margin-bottom: 2rem;
}
.news-image { position: relative; overflow: hidden; background: var(--latvia-surface-secondary); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms; }
.news-image img[hidden] { display: none; }
.news-image:has(img[hidden])::after {
  content: "Attēls nav pieejams";
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  padding: .5rem;
  color: var(--latvia-text-muted);
  font-size: .75rem;
  text-align: center;
}
.news-featured__image { min-height: 17.5rem; }
.news-featured__image img { position: absolute; inset: 0; }
.news-featured__image:hover img, .news-row:hover img { transform: scale(1.05); }
.news-featured__content { display: flex; flex-direction: column; justify-content: center; padding: 1.75rem; min-width: 0; }
.news-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .75rem; margin-bottom: 1rem; color: var(--latvia-text-muted); }
.news-category { color: #8b6010; font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.news-featured h2 { font-size: 1.5rem; line-height: 1.375; font-weight: 700; margin-bottom: 1rem; overflow-wrap: anywhere; }
.news-featured__content > p { font-size: .875rem; line-height: 1.625; color: var(--latvia-text-body); margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.news-read { display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; font-size: .875rem; font-weight: 600; color: var(--latvia-navy); min-height: 2.75rem; }
.news-read:hover { text-decoration: underline; text-underline-offset: .2em; }
.news-articles:first-child { border-top: 1px solid var(--latvia-border); }
.news-row { display: flex; align-items: flex-start; gap: 1.25rem; padding-block: 1.5rem; border-bottom: 1px solid var(--latvia-border); }
.news-row > time { width: 5rem; flex: none; font-size: .75rem; padding-top: .125rem; color: var(--latvia-text-muted); }
.news-row__content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.news-row .news-category { margin-bottom: .375rem; }
.news-row h2 { font-size: 1.125rem; font-weight: 600; line-height: 1.5; margin-bottom: .375rem; }
.news-row h2 a:hover, .news-recent__article a:hover { color: var(--latvia-navy); text-decoration: underline; text-underline-offset: .2em; }
.news-row__excerpt { font-size: .875rem; line-height: 1.625; color: var(--latvia-text-muted); }
.news-row__image { display: none; width: 7.5rem; height: 5rem; flex: none; }
.news-more { margin-top: 2rem; text-align: center; }
.news-more a { display: inline-block; padding: .75rem 2rem; border: 1px solid var(--latvia-navy); color: var(--latvia-navy); font-size: .875rem; font-weight: 500; transition: background-color 200ms, color 200ms; }
.news-more a:hover { background: var(--latvia-navy); color: white; }
.news-more a[aria-disabled="true"] { opacity: .65; cursor: wait; }
.news-status { margin-top: 1rem; font-size: .875rem; color: var(--latvia-text-body); text-align: center; }
.news-status:empty { margin: 0; }
.news-sidebar { display: none; width: 18rem; flex: none; position: sticky; top: 6rem; }
.news-join { background: var(--latvia-navy-dark); margin-bottom: 1.5rem; overflow: hidden; }
.news-join__image { position: relative; height: 7rem; }
.news-join__image img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.news-join__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent, var(--latvia-navy-dark)); }
.news-join__content { padding: 1.25rem; }
.news-join h2 { color: white; font-size: 1.125rem; font-weight: 700; margin-bottom: .25rem; }
.news-join p { color: rgba(255, 255, 255, .65); font-size: .75rem; line-height: 1.625; margin-bottom: 1rem; }
.news-join a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1rem; background: var(--latvia-gold); color: var(--latvia-navy-dark); font-size: .75rem; font-weight: 600; }
.news-join a:hover { filter: brightness(.9); }
.news-join a:focus-visible { outline-color: var(--latvia-gold); }
.news-recent { padding: 1.25rem; background: var(--latvia-surface); border: 1px solid var(--latvia-border); }
.news-recent h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.news-recent__article { padding-block: .75rem; overflow-wrap: anywhere; }
.news-recent__article + .news-recent__article { border-top: 1px solid var(--latvia-border); }
.news-recent__article time { display: block; font-size: .75rem; margin-bottom: .125rem; color: var(--latvia-text-muted); }
.news-recent__article a { font-size: .875rem; font-weight: 500; line-height: 1.375; }
.news-recent__all { display: flex; align-items: center; gap: .375rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--latvia-border); color: #8b6010; font-size: .875rem; font-weight: 600; min-height: 2.75rem; }
@media (min-width: 640px) {
  .news-row__image { display: block; }
}
@media (min-width: 768px) {
  .news-hero h1 { font-size: 3rem; }
  .news-featured { flex-direction: row; }
  .news-featured__image { width: 50%; flex: none; }
  .news-featured__content { padding: 2.5rem; }
  .news-featured h2 { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .news-sidebar { display: block; }
}
@media (max-width: 359px) {
  .news-row { gap: .75rem; }
  .news-row > time { width: 4.5rem; }
  .news-filters a { padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .news-layout *, .news-layout *::after { transition: none !important; }
  .news-image img { transform: none !important; }
}
