body.path-frontpage #sidebar-second .view-content.row,
body.path-frontpage #sidebar-second .view .view-content {
  row-gap: 1.7rem;
}

body.path-frontpage .federal-news-item {
  margin-bottom: 0.95rem;
}

body.path-frontpage .federal-news-item > div,
body.path-frontpage .federal-news-item > article,
body.path-frontpage .federal-news-item > .views-fieldset,
body.path-frontpage .federal-news-item {
  display: block;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(45, 58, 53, 0.08);
  border-top: 4px solid #8aa989;
  background: linear-gradient(180deg, #fffefb 0%, #f8f3ea 100%);
  box-shadow: 0 14px 30px rgba(32, 26, 19, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.path-frontpage .federal-news-item:hover,
body.path-frontpage .federal-news-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(32, 26, 19, 0.1);
  border-color: rgba(106, 157, 132, 0.24);
}

body.path-frontpage .federal-news-item .views-field-created,
body.path-frontpage .federal-news-item .views-field-changed {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  color: #6a746f;
  background: rgba(121, 168, 143, 0.12);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.path-frontpage .federal-news-item .views-field-title,
body.path-frontpage .federal-news-item h2 {
  margin: 0;
  font-weight: 700;
}

body.path-frontpage .federal-news-item .views-field-title a,
body.path-frontpage .federal-news-item h2 a,
body.path-frontpage .federal-news-item .views-field-title {
  color: #22312d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  line-height: 1.3;
  text-decoration: none;
}

body.path-frontpage .federal-news-item .views-field-title a:hover,
body.path-frontpage .federal-news-item .views-field-title a:focus,
body.path-frontpage .federal-news-item h2 a:hover,
body.path-frontpage .federal-news-item h2 a:focus {
  color: #5d8f77;
}

body.path-frontpage #sidebar-second .block {
  border: 1px solid rgba(45, 58, 53, 0.08);
  background: linear-gradient(180deg, #fffefb 0%, #f8f3ea 100%);
  box-shadow: 0 18px 38px rgba(32, 26, 19, 0.07);
}

body.path-frontpage #sidebar-second .block h2 {
  margin-bottom: 1rem;
  border-bottom: 0;
  padding-bottom: 0;
  color: #22312d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.25;
  text-shadow: none;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row,
body.path-frontpage #sidebar-second .view .view-content > .views-row {
  display: flex;
  height: 100%;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row > div,
body.path-frontpage #sidebar-second .view-content.row > .views-row > article,
body.path-frontpage #sidebar-second .view-content.row > .views-row > .views-fieldset,
body.path-frontpage #sidebar-second .view .view-content > .views-row > div,
body.path-frontpage #sidebar-second .view .view-content > .views-row > article,
body.path-frontpage #sidebar-second .view .view-content > .views-row > .views-fieldset {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid rgba(45, 58, 53, 0.08);
  border-top: 4px solid #8aa989;
  background: linear-gradient(180deg, #fffefb 0%, #f8f3ea 100%);
  box-shadow: 0 18px 38px rgba(32, 26, 19, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row + .views-row,
body.path-frontpage #sidebar-second .view .view-content > .views-row + .views-row {
  margin-top: 0.9rem;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row:hover > div,
body.path-frontpage #sidebar-second .view-content.row > .views-row:hover > article,
body.path-frontpage #sidebar-second .view-content.row > .views-row:hover > .views-fieldset,
body.path-frontpage #sidebar-second .view-content.row > .views-row:focus-within > div,
body.path-frontpage #sidebar-second .view-content.row > .views-row:focus-within > article,
body.path-frontpage #sidebar-second .view-content.row > .views-row:focus-within > .views-fieldset,
body.path-frontpage #sidebar-second .view .view-content > .views-row:hover > div,
body.path-frontpage #sidebar-second .view .view-content > .views-row:hover > article,
body.path-frontpage #sidebar-second .view .view-content > .views-row:hover > .views-fieldset,
body.path-frontpage #sidebar-second .view .view-content > .views-row:focus-within > div,
body.path-frontpage #sidebar-second .view .view-content > .views-row:focus-within > article,
body.path-frontpage #sidebar-second .view .view-content > .views-row:focus-within > .views-fieldset {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(32, 26, 19, 0.12);
  border-color: rgba(106, 157, 132, 0.26);
}

body.path-frontpage #sidebar-second .view-content.row > .views-row h2,
body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-title,
body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-title a,
body.path-frontpage #sidebar-second .view .view-content > .views-row h2,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-title,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-title a {
  margin-top: 0;
  color: #21302c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.24;
  text-decoration: none;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-title,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-title {
  margin-bottom: 0.8rem;
  font-weight: 700;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-title a,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-title a {
  display: inline-block;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row p,
body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-body,
body.path-frontpage #sidebar-second .view-content.row > .views-row .field-content,
body.path-frontpage #sidebar-second .view .view-content > .views-row p,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-body,
body.path-frontpage #sidebar-second .view .view-content > .views-row .field-content {
  color: #44504c;
  font-size: 0.98rem;
  line-height: 1.72;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-created,
body.path-frontpage #sidebar-second .view-content.row > .views-row .views-field-changed,
body.path-frontpage #sidebar-second .view-content.row > .views-row .submitted,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-created,
body.path-frontpage #sidebar-second .view .view-content > .views-row .views-field-changed,
body.path-frontpage #sidebar-second .view .view-content > .views-row .submitted {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #6a746f;
  background: rgba(121, 168, 143, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.path-frontpage #sidebar-second .view-content.row > .views-row a,
body.path-frontpage #sidebar-second .view .view-content > .views-row a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

body.path-frontpage #sidebar-second .views-row .node--view-mode-teaser {
  height: 100%;
}

body.path-frontpage #sidebar-second .node--view-mode-teaser.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border: 1px solid rgba(45, 58, 53, 0.08);
  border-top: 4px solid #8aa989;
  background: linear-gradient(180deg, #fffefb 0%, #f8f3ea 100%);
  box-shadow: 0 18px 38px rgba(32, 26, 19, 0.07);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

body.path-frontpage #sidebar-second .node--view-mode-teaser.news-card.node--sticky {
  background-image: linear-gradient(180deg, #fffefb 0%, #f6efe3 100%);
}

body.path-frontpage #sidebar-second .node--view-mode-teaser.news-card:hover,
body.path-frontpage #sidebar-second .node--view-mode-teaser.news-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(32, 26, 19, 0.12);
  border-color: rgba(106, 157, 132, 0.26);
}

body.path-frontpage #sidebar-second .news-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #d8d1c5 0%, #efe7db 100%);
}

body.path-frontpage #sidebar-second .news-card__media img,
body.path-frontpage #sidebar-second .news-card__media picture,
body.path-frontpage #sidebar-second .news-card__media .media,
body.path-frontpage #sidebar-second .news-card__media .field,
body.path-frontpage #sidebar-second .news-card__media .field__item {
  width: 100%;
  height: 100%;
}

body.path-frontpage #sidebar-second .news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.path-frontpage #sidebar-second .news-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.2rem 1.3rem;
}

body.path-frontpage #sidebar-second .news-card__meta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #6a746f;
  background: rgba(121, 168, 143, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.path-frontpage #sidebar-second .news-card__meta::before {
  content: none;
}

body.path-frontpage #sidebar-second .news-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  line-height: 1.24;
}

body.path-frontpage #sidebar-second .news-card__title a {
  color: #21302c;
  text-decoration: none;
}

body.path-frontpage #sidebar-second .news-card__title a:hover,
body.path-frontpage #sidebar-second .news-card__title a:focus {
  color: #5d8f77;
}

body.path-frontpage #sidebar-second .news-card__content {
  flex: 1 1 auto;
  color: #44504c;
  font-size: 0.98rem;
  line-height: 1.72;
}

body.path-frontpage #sidebar-second .news-card__content::after {
  content: "";
  display: block;
  clear: both;
}

body.path-frontpage #sidebar-second .news-card__content .field,
body.path-frontpage #sidebar-second .news-card__content .field__item,
body.path-frontpage #sidebar-second .news-card__content p:last-child {
  margin-bottom: 0;
}

body.path-frontpage #sidebar-second .news-card__content p {
  margin-bottom: 0.9rem;
}

body.path-frontpage #sidebar-second .news-card__content img,
body.path-frontpage #sidebar-second .news-card__content picture,
body.path-frontpage #sidebar-second .news-card__content .align-left,
body.path-frontpage #sidebar-second .news-card__content .align-right,
body.path-frontpage #sidebar-second .news-card__content .align-center {
  display: block;
  float: none !important;
  max-width: 100%;
  height: auto;
  margin: 0 0 0.95rem;
}

body.path-frontpage #sidebar-second .news-card__links {
  margin-top: auto;
  padding-top: 0.25rem;
}

body.path-frontpage #sidebar-second .news-card__links .links-inline,
body.path-frontpage #sidebar-second .news-card__links ul.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.path-frontpage #sidebar-second .news-card__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(106, 157, 132, 0.18);
  color: #24312e;
  background: #f3eee4;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.path-frontpage #sidebar-second .news-card__links a:hover,
body.path-frontpage #sidebar-second .news-card__links a:focus {
  border-color: rgba(106, 157, 132, 0.48);
  color: #18312a;
  background: #edf4ef;
}

@media (max-width: 991.98px) {
  body.path-frontpage #sidebar-second .news-card__body {
    padding: 1rem 1rem 1.1rem;
  }

  body.path-frontpage #sidebar-second .news-card__title {
    font-size: 1.12rem;
  }
}
