/* News rows inherit the editor-managed global palette and site typography. */
.vn-newsflash {
  background: #f4f4f0;
  border-bottom: 1px solid #e1e3dd;
  color: #202522;
}

.vn-newsflash__inner {
  display: grid;
  gap: 8px;
  padding-block: 12px;
}

.vn-newsflash .vn-newsflash__row {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e1e3dd;
  border-radius: 4px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 2px 5px rgb(14 48 37 / 4%);
}

.vn-newsflash__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: 35%;
  padding: 12px 18px;
  background: var(--vn-shell-interactive, #1d5140);
  color: var(--vn-shell-light, #fff);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.vn-newsflash__title {
  align-self: center;
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.vn-newsflash__arrow {
  align-self: center;
  padding-right: 18px;
  color: var(--vn-shell-interactive, #1d5140);
  font-size: 24px;
  line-height: 1;
}

.vn-newsflash__row:hover {
  color: inherit;
}

.vn-newsflash__row:hover .vn-newsflash__title {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vn-newsflash__row:focus-visible {
  outline: 3px solid var(--vn-shell-interactive, #1d5140);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .vn-newsflash__inner { gap: 6px; padding-block: 8px; }
  .vn-newsflash__label { padding: 10px 12px; font-size: 12px; }
  .vn-newsflash__title { padding: 10px 12px; font-size: 14px; }
  .vn-newsflash__arrow { padding-right: 12px; font-size: 20px; }
}

/* Start page: the news form a band along the bottom of the full-bleed hero (vn_newsflash_hero_block). */
.vn-startsida .vn-startsida__hero.has-vn-newsflash { flex-direction: column; align-items: stretch; justify-content: space-between; }
.vn-startsida .vn-startsida__hero.has-vn-newsflash .wp-block-cover__inner-container { margin: auto 0; }
.vn-newsflash--hero {
  position: relative;
  z-index: 2;
  width: 100%;
  border-top: 1px solid rgb(255 255 255 / 16%);
  border-bottom: 0;
  background: rgb(8 34 25 / 80%);
  color: #fff;
}
.vn-newsflash--hero .vn-newsflash__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
}
.vn-newsflash--hero .vn-newsflash__row {
  flex: 1 1 320px;
  align-items: center;
  min-height: 60px;
  padding-right: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}
.vn-newsflash--hero .vn-newsflash__row + .vn-newsflash__row { padding-left: 32px; border-left: 1px solid rgb(255 255 255 / 16%); }
.vn-newsflash--hero .vn-newsflash__label { max-width: none; padding: 0 16px 0 0; background: transparent; color: #d6e8b8; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; }
.vn-newsflash--hero .vn-newsflash__title { padding: 18px 12px 18px 0; font-size: 16px; }
.vn-newsflash--hero .vn-newsflash__arrow { padding-right: 0; color: #d6e8b8; font-size: 22px; }
.vn-newsflash--hero .vn-newsflash__row:hover { color: #fff; }
.vn-newsflash--hero .vn-newsflash__row:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
@media (max-width: 767px) {
  .vn-newsflash--hero .vn-newsflash__row { flex-basis: 100%; min-height: 52px; padding-right: 0; }
  .vn-newsflash--hero .vn-newsflash__row + .vn-newsflash__row { padding-left: 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 16%); }
  .vn-newsflash--hero .vn-newsflash__label { padding: 0 12px 0 0; font-size: 11px; }
  .vn-newsflash--hero .vn-newsflash__title { padding: 14px 10px 14px 0; font-size: 15px; }
}
@media (max-width: 640px) {
  /* vn-premium.css narrows the page gutter to 20px here. */
  .vn-newsflash--hero .vn-newsflash__inner { padding: 0 20px; }
}
