/* Festive interior pages. Every rule is scoped to the New Year stage. */
body[data-season="newyear"] {
  --festive-red: #b82032;
  --festive-forest: #103e32;
  --festive-gold: #e8c46b;
  --festive-cream: #fff9ec;
}
body[data-season="newyear"] :is(.inner-heading, .pagehead) {
  position: relative;
  isolation: isolate;
  border: 1px solid #e8c46b;
  border-radius: 22px;
  background: #103e32;
  color: #fff9ec;
  box-shadow: 0 10px 28px #103e3212;
}
body[data-season="newyear"] .inner-heading {
  border-left: 8px solid #b82032;
  padding: 38px 42px;
}
body[data-season="newyear"] .inner-heading::before {
  background: linear-gradient(110deg, #103e32 12%, #174d3d 72%, #7b2432);
}
body[data-season="newyear"] .inner-heading::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  inset: 16px 16px auto auto;
  border-top: 2px solid #e8c46b;
  border-right: 2px solid #e8c46b;
  color: inherit;
  pointer-events: none;
}
body[data-season="newyear"] :is(.inner-heading, .pagehead) .eyebrow {
  color: #f4d98d;
}
body[data-season="newyear"] .pagehead {
  margin: 24px 0 28px;
  padding: 44px 34px;
  overflow: hidden;
  background: linear-gradient(120deg, #103e32 0%, #18503d 67%, #922332 100%);
}
body[data-season="newyear"] .pagehead::before,
body[data-season="newyear"] .pagehead::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 68px;
  height: 68px;
  pointer-events: none;
  opacity: .8;
}
body[data-season="newyear"] .pagehead::before {
  left: 17px;
  top: 17px;
  border-left: 2px solid #e8c46b;
  border-top: 2px solid #e8c46b;
}
body[data-season="newyear"] .pagehead::after {
  right: 17px;
  bottom: 17px;
  border-right: 2px solid #e8c46b;
  border-bottom: 2px solid #e8c46b;
}
body[data-season="newyear"] .pagehead h1 {
  color: #fff9ec;
  text-wrap: balance;
}
body[data-season="newyear"] .pagehead p {
  color: #f5ebd5;
}
body[data-season="newyear"] .pagehead:has(+ .tabs) {
  padding: 58px 44px;
  border-top: 8px solid #b82032;
  background:
    radial-gradient(circle at 14% 22%, #e8c46b30 0 2px, transparent 3px),
    radial-gradient(circle at 84% 74%, #e8c46b44 0 3px, transparent 4px),
    radial-gradient(ellipse at 100% 0, #b8203270, transparent 48%),
    linear-gradient(120deg, #103e32, #1c5942);
  background-size: 80px 84px, 118px 104px, auto, auto;
}
body[data-season="newyear"] .pagehead:has(+ .tabs) h1 {
  font-size: clamp(37px, 5vw, 58px);
}
body[data-season="newyear"] .tabs a {
  border: 1px solid #b82032;
  background: #fff9ec;
  color: #8b1828;
  font-weight: bold;
  box-shadow: 0 3px 0 #e8c46b;
}
body[data-season="newyear"] .tabs a:hover,
body[data-season="newyear"] .tabs a:focus-visible {
  background: #b82032;
  color: #fff;
}
body[data-season="newyear"] .article-content {
  border-color: #e5ce9c;
  border-top: 5px solid #b82032;
  background: #fffdf8;
  box-shadow: 0 7px 24px #103e320a;
  color: #253c33;
}
body[data-season="newyear"] .article-content :is(h1, h2, h3) {
  color: #103e32;
}
body[data-season="newyear"] .article-content h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid #e5ce9c;
}
body[data-season="newyear"] :is(.article-content, .card, .archive-card, .vacancy-card) a {
  color: #981b2b;
}
body[data-season="newyear"] .article-content :is(th, .service-note) {
  background: #fff1d7;
  color: #103e32;
}
body[data-season="newyear"] .article-content :is(td, th) {
  border-color: #decba8;
}
body[data-season="newyear"] .article-content blockquote,
body[data-season="newyear"] .yearnote {
  border-left: 4px solid #b82032;
  background: #fff5e3;
  color: #425849;
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
}
body[data-season="newyear"] :is(.material-grid, .sitemap-grid) a {
  background: #fff9ec;
  border-color: #e5ce9c;
  color: #103e32;
}
body[data-season="newyear"] :is(.material-grid, .sitemap-grid) a:hover {
  background: #fff0d4;
  border-color: #b82032;
}
body[data-season="newyear"] :is(.cards, .news-grid, .archive-grid, .vacancy-grid) {
  align-items: start;
}
body[data-season="newyear"] :is(.card, .news_list_item, .archive-card, .vacancy-card, .review article) {
  position: relative;
  min-width: 0;
  border: 1px solid #e0c99a;
  border-top: 4px solid #b82032;
  border-radius: 15px;
  background: linear-gradient(135deg, #fffdf8 65%, #fff1d9);
  box-shadow: 0 5px 18px #103e320d;
  color: #253c33;
}
body[data-season="newyear"] :is(.card, .news_list_item, .archive-card, .vacancy-card, .review article)::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 20px;
  height: 20px;
  border-right: 2px solid #c59c48;
  border-bottom: 2px solid #c59c48;
  pointer-events: none;
}
body[data-season="newyear"] :is(.card, .news_list_item, .archive-card, .vacancy-card) img {
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}
body[data-season="newyear"] :is(.card, .news_list_item, .archive-card, .vacancy-card) :is(h2, h3) {
  color: #103e32;
}
body[data-season="newyear"] :is(.card p, .empty p, .news_list_item p, .vacancy-card small, .archive-card .files_count, .archive-card .image_date) {
  color: #52644e;
}
body[data-season="newyear"] .empty .icon {
  color: #b82032;
}
body[data-season="newyear"] .status {
  background: #fff0cf;
  color: #6c471d;
  border: 1px solid #e4c57d;
}
body[data-season="newyear"] .sectionhead h2 {
  color: #103e32;
}
body[data-season="newyear"] .sectionhead .eyebrow,
body[data-season="newyear"] .tag {
  color: #a31c2e;
}
body[data-season="newyear"] .survey {
  border: 1px solid #e0c99a;
  border-top: 6px solid #b82032;
  background: #fffdf8;
  box-shadow: 0 9px 28px #103e3210;
}
body[data-season="newyear"] .survey :is(label, legend) {
  color: #103e32;
}
body[data-season="newyear"] .survey :is(input[type="text"], textarea),
body[data-season="newyear"] .review select {
  border: 1px solid #b3bda9;
  background: #fff;
  color: #253c33;
  border-radius: 8px;
}
body[data-season="newyear"] .review select {
  max-width: 100%;
  padding: 8px 12px;
  font: inherit;
}
body[data-season="newyear"] .survey :is(input, textarea):focus-visible,
body[data-season="newyear"] .review select:focus-visible {
  outline: 3px solid #c89b3d;
  outline-offset: 3px;
  border-color: #103e32;
}
body[data-season="newyear"] .survey fieldset {
  padding: 18px 20px;
  border: 1px solid #e0c99a;
  border-radius: 12px;
  background: #fff8e9;
  min-width: 0;
}
body[data-season="newyear"] .survey legend {
  padding: 0 8px;
}
body[data-season="newyear"] .survey input[type="checkbox"] {
  accent-color: #b82032;
}
body[data-season="newyear"] :is(.survey .notice, .review .quiet) {
  border: 1px solid #e3ca92;
  background: #fff2d7;
  color: #4b5b40;
}
body[data-season="newyear"] :is(.survey, .review) .hint {
  color: #52644e;
}
body[data-season="newyear"] :is(.survey .btn, .review .btn, .review button, .quiet .btn) {
  border: 1px solid #981b2b;
  background: #b82032;
  color: #fff;
  box-shadow: 0 3px 0 #891323;
  text-decoration: none;
}
body[data-season="newyear"] :is(.survey .btn, .review .btn, .review button, .quiet .btn):hover {
  background: #97182a;
}
body[data-season="newyear"] .review button:disabled {
  background: #e8e5dc;
  border-color: #b9b8ac;
  color: #575b50;
  opacity: 1;
  box-shadow: none;
}
body[data-season="newyear"] .quiet {
  border: 1px solid #e0c99a;
  border-left: 7px solid #b82032;
  background: #fff2d7;
  color: #103e32;
}
body[data-season="newyear"] .quiet p {
  color: #50624b;
}
body[data-season="newyear"] .quiet .btn {
  white-space: normal;
  text-align: center;
}
body[data-season="newyear"] .foot {
  position: relative;
  border-top: 8px solid #b82032;
  background: #103e32;
  color: #fff9ec;
  box-shadow: inset 0 2px #e8c46b;
}
body[data-season="newyear"] .foot strong {
  color: #f3d789;
}
body[data-season="newyear"] .foot a {
  color: #fff9ec;
  text-underline-offset: 4px;
}
body[data-season="newyear"] :is(.article-content, .pagehead, .tabs, .survey, .review, .quiet, .foot) :is(a, button):focus-visible {
  outline: 3px solid #b28123;
  outline-offset: 4px;
}
body[data-season="newyear"].accessible :is(.article-content, .card, .news_list_item, .archive-card, .vacancy-card, .survey, .review article, .quiet, .yearnote, .status, .notice, .material-grid a, .sitemap-grid a) {
  background: #fff;
  color: #000;
  border-color: #222;
  box-shadow: none;
}
body[data-season="newyear"].accessible :is(.inner-heading, .pagehead, .foot) {
  background: #103e32;
  color: #fff;
}
body[data-season="newyear"].accessible :is(.inner-heading, .pagehead)::before {
  background: #103e32;
}
body[data-season="newyear"].accessible :is(.article-content, .card, .news_list_item, .archive-card, .vacancy-card, .survey, .review article, .quiet) :is(p, label, legend, h1, h2, h3, small, .hint, .tag, .eyebrow) {
  color: #000;
}
body[data-season="newyear"].accessible :is(.article-content, .card, .archive-card, .vacancy-card, .quiet) a:not(.btn) {
  color: #003b6f;
  text-decoration: underline;
}
body[data-season="newyear"].accessible :is(.card, .news_list_item, .archive-card, .vacancy-card, .review article)::after,
body[data-season="newyear"].accessible .pagehead::after {
  display: none;
}
@media (max-width: 700px) {
  body[data-season="newyear"] .inner-heading {
    padding: 29px 22px;
    border-left-width: 5px;
  }
  body[data-season="newyear"] .inner-heading::after {
    width: 30px;
    height: 30px;
    inset: 10px 10px auto auto;
  }
  body[data-season="newyear"] .pagehead,
  body[data-season="newyear"] .pagehead:has(+ .tabs) {
    padding: 37px 22px;
    border-radius: 16px;
  }
  body[data-season="newyear"] .pagehead::before,
  body[data-season="newyear"] .pagehead::after {
    width: 30px;
    height: 30px;
    inset: 9px auto auto 9px;
  }
  body[data-season="newyear"] .pagehead::after {
    inset: auto 9px 9px auto;
  }
  body[data-season="newyear"] .pagehead p {
    font-size: 14px;
  }
  body[data-season="newyear"] .tabs {
    gap: 9px;
  }
  body[data-season="newyear"] .tabs a {
    padding: 9px 13px;
  }
  body[data-season="newyear"] .survey {
    padding: 22px 18px;
  }
  body[data-season="newyear"] .survey fieldset {
    padding: 14px 12px;
  }
  body[data-season="newyear"] .quiet {
    border-left-width: 5px;
    padding: 24px 20px;
  }
  body[data-season="newyear"] .review .quiet {
    display: block;
  }
  body[data-season="newyear"] .review .quiet button {
    margin-top: 18px;
    max-width: 100%;
  }
  body[data-season="newyear"] .foot .wrap {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-season="newyear"] :is(.inner-heading, .pagehead, .article-content, .card, .news_list_item, .archive-card, .vacancy-card, .survey, .review, .quiet, .foot),
  body[data-season="newyear"] :is(.inner-heading, .pagehead, .card, .news_list_item, .archive-card, .vacancy-card, .review article)::after,
  body[data-season="newyear"] .pagehead::before {
    animation: none !important;
    transition: none !important;
  }
}
