.news_modern_page {
  color: #1f2823;
  padding-bottom: 80px;
}

.container:has(.news_modern_page) .bx-breadcrumb {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(37, 51, 43, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(28, 35, 31, 0.06);
  overflow: hidden;
}

.container:has(.news_modern_page) .bx-breadcrumb-item-current span {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news_hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 0 !important;
}

.news_hero_content,
.news_hero_panel,
.news_card,
.news_detail_wrapper {
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 14px 40px rgba(28, 35, 31, 0.07);
}

.news_hero_content {
  min-height: 232px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(120deg, rgba(65, 67, 85, 0.88), rgba(65, 67, 85, 0.42)),
    url("/local/templates/.default/img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.news_eyebrow,
.news_section_label,
.news_hero_panel span,
.news_card_meta span {
  display: inline-flex;
  width: fit-content;
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news_hero_content .news_eyebrow {
  color: #f3d2a5;
  margin-bottom: 16px;
}

.news_section_label,
.news_card_meta span {
  color: #971520;
}

.news_hero_content h1 {
  margin: 0;
  color: #f9faf5;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.news_hero_content p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(249, 250, 245, 0.88);
  font-size: 17px;
  line-height: 1.45;
}

.news_hero_panel {
  min-height: 232px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #414355;
  color: #fff;
}

.news_hero_panel span {
  color: rgba(255, 255, 255, 0.72);
}

.news_hero_panel strong {
  margin-top: 14px;
  color: #f3d2a5;
  font: 800 34px/1.05 "Manrope", sans-serif;
  letter-spacing: 0;
}

.news_hero_panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
}

.news_list_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}

.news_list_header h2,
.news_detail_content h2 {
  margin: 8px 0 0;
  color: #1f2823;
  font-size: clamp(32px, 3.2vw, 38px);
  line-height: 1;
  letter-spacing: 0;
}

.news_list_header p {
  margin: 0;
  color: rgba(31, 40, 35, 0.68);
  font-size: 15px;
  line-height: 1.45;
  text-align: right;
}

.news_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news_list.stocking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media screen and (max-width: 1250px) {
  .news_list.stocking {
    display: grid;
    grid-template-columns: 100%;
  }
}

.news_modern_page .hint img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1em 0;
}

.news_card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.news_card:hover {
  border-color: rgba(37, 51, 43, 0.16);
  box-shadow: 0 20px 46px rgba(28, 35, 31, 0.12);
}

.news_list.stocking .news_card {
  flex-direction: row;
}

.news_list.stocking .news_card_media {
  background-color: #fff;
}

.news_list.stocking .news_card img {
  aspect-ratio: 225/300;
  object-fit: contain;
  border-radius: 8px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 680px) {
  .news_list.stocking .news_card {
    flex-direction: column;
  }
}

.news_card_featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.78fr);
}

.news_card_featured .news_card_media  {
  aspect-ratio: unset;
}

.news_card_featured .news_card_media img {
  object-fit: cover;
  max-height: unset;
}

.news_card_media {
  display: block;
  overflow: hidden;
  background: #414355;
  aspect-ratio: 16 / 10;
}

.news_card_media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
}

.news_card:hover .news_card_media img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

.news_card_body {
  padding: 20px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.news_card_featured .news_card_body {
  justify-content: flex-end;
  background: #414355;
}

.news_card_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.news_card_meta time {
  color: rgba(31, 40, 35, 0.62);
  font: 700 13px/1 "Manrope", sans-serif;
}

.news_card_featured .news_card_meta time {
  color: rgba(255, 255, 255, 0.64);
}

.news_card_featured .news_card_meta span {
  color: #f3d2a5;
}

.news_card_body h3 {
  margin: 0;
  color: #1f2823;
  font-size: clamp(23px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: 0;
}

.news_card_featured h3 {
  color: #f9faf5;
  font-size: clamp(32px, 3vw, 36px);
}

.news_card_text {
  margin-top: 12px;
  margin-bottom: 16px;
  color: rgba(31, 40, 35, 0.72);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}

.news_card_featured .news_card_text {
  color: rgba(255, 255, 255, 0.76);
  -webkit-line-clamp: 7;
}

.news_card_text p {
  margin: 0 0 10px;
  color: inherit;
}

.news_card_body .btn_main {
  width: fit-content;
  margin-top: auto;
  border-radius: 8px;
}

.news_card_body .btn_main:focus-visible,
.news_card_media:focus-visible,
.news_detail_footer .btn_main:focus-visible {
  outline: 3px solid rgba(151, 21, 32, 0.22);
  outline-offset: 3px;
}

.news_detail_wrapper {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  padding: clamp(20px, 3vw, 34px);
  align-items: start;
}

.news_detail_media {
  overflow: hidden;
  border-radius: 8px;
  background: #414355;
}

.news_detail_media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.news_detail_content {
  min-width: 0;
}

.news_detail_content .hint {
  margin: 18px 0 0;
}

.news_detail_content .hint p,
.news_detail_content .hint li {
  color: rgba(31, 40, 35, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.news_detail_footer {
  margin-top: 22px;
}

.news_detail_footer .btn_main {
  border-radius: 8px;
}

@media screen and (max-width: 1180px) {
  .news_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news_card_featured {
    grid-column: span 2;
  }
}

@media screen and (max-width: 900px) {

  .news_hero,
  .news_detail_wrapper {
    grid-template-columns: 1fr;
  }

  .news_hero_panel {
    min-height: 176px;
  }

  .news_card_featured {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 680px) {
  .container:has(.news_modern_page) .bx-breadcrumb {
    display: flex;
    width: 100%;
    padding: 8px 12px;
    overflow: hidden;
  }

  .container:has(.news_modern_page) .bx-breadcrumb-item {
    min-width: 0;
  }

  .container:has(.news_modern_page) .bx-breadcrumb-item:not(:first-child):not(.bx-breadcrumb-item-current) {
    display: none;
  }

  .container:has(.news_modern_page) .bx-breadcrumb-item a span,
  .container:has(.news_modern_page) .bx-breadcrumb-item-current span {
    display: inline-block;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
  }

  .container:has(.news_modern_page) .bx-breadcrumb-item-current span {
    max-width: 160px;
  }

  .news_modern_page {
    padding-bottom: 48px;
  }

  .news_hero {
    margin-top: 20px;
    gap: 14px;
  }

  .news_hero_content,
  .news_hero_panel {
    padding: 20px;
  }

  .news_hero_content {
    min-height: 210px;
    background-position: 56% center;
  }

  .news_hero_panel {
    min-height: 168px;
  }

  .news_hero_content .news_eyebrow {
    margin-bottom: 12px;
  }

  .news_hero_content h1,
  .news_hero_panel strong {
    font-size: 42px;
  }

  .news_hero_content p {
    font-size: 16px;
  }

  .news_list_header {
    display: block;
  }

  .news_list_header h2,
  .news_detail_content h2 {
    font-size: 32px;
  }

  .news_list_header p {
    margin-top: 10px;
    text-align: left;
  }

  .news_list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news_card_featured {
    grid-column: span 1;
  }

  .news_card_media {
    aspect-ratio: 4 / 3;
  }

  .news_card_body {
    padding: 18px;
  }

  .news_card_featured h3,
  .news_card_body h3 {
    font-size: 22px;
  }

  .news_card_text,
  .news_card_featured .news_card_text {
    -webkit-line-clamp: 5;
  }

  .news_detail_wrapper {
    padding: 18px;
  }
}
