/* Upcoming Releases frontend views. Scoped to the shortcode so admin cards stay unchanged. */
#main_sort_div {
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid #d6ded6;
  border-radius: 14px;
  background: #f4f7f2;
}
#main_sort_div .sortRel label { color: #344b43; font-weight: 700; }
#main_sort_div #sort-options { min-height: 38px; padding: 6px 30px 6px 10px; border: 1px solid #cbd9cd; border-radius: 9px; background: #fff; color: #152b23; }
#main_sort_div .view_style_icons { align-items: center; gap: 8px; }
#main_sort_div .icon-container { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid #cbd9cd; border-radius: 9px; background: #fff; color: #315b45; cursor: pointer; }
#main_sort_div .icon-container:hover { background: #e2eee4; }
#main_sort_div .icon-container:focus-visible { outline: 2px solid #167347; outline-offset: 2px; }
#main_sort_div .icon-container svg { width: 19px; }

.main_wrapper_rel_list.nr-release-grid { gap: 16px !important; }
.main_wrapper_rel_list.nr-release-grid .rel_product {
  box-sizing: border-box;
  min-width: 0;
  margin: 0 !important;
  padding: 18px !important;
  overflow: hidden;
  border: 1px solid #e6e8ee !important;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%) !important;
  box-shadow: 0 12px 28px rgba(17, 17, 17, .05) !important;
  transition: box-shadow .18s ease, transform .18s ease;
}
.main_wrapper_rel_list.nr-release-grid .rel_product:hover { transform: translateY(-3px); border-color: #d8dbe2 !important; box-shadow: 0 20px 36px rgba(17, 17, 17, .09) !important; }
.main_wrapper_rel_list.nr-release-grid .ot_sec { min-width: 0; }
.main_wrapper_rel_list.nr-release-grid .image_section { min-width: 0; }
.main_wrapper_rel_list.nr-release-grid .image_section > a { display: block; }
.main_wrapper_rel_list.nr-release-grid .image_section img { display: block; width: 100%; height: auto; max-height: 300px; border-radius: 14px; object-fit: contain; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section { min-width: 0; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section .product_name { height: auto; min-height: 0; color: #101418; font-size: .98rem; font-weight: 800; line-height: 1.32; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section .product_price { color: #0f1720; font-size: 1rem; font-weight: 800; }
.main_wrapper_rel_list.nr-release-grid .count_display_cat { color: #50645a; font-size: 13px; }
.main_wrapper_rel_list.nr-release-grid .count_display_cat a { color: #167347; }
.main_wrapper_rel_list.nr-release-grid .nr-product-title-link { color: inherit; text-decoration: none; }
.main_wrapper_rel_list.nr-release-grid .nr-product-title-link:hover { color: #167347; text-decoration: underline; text-underline-offset: 3px; }
.main_wrapper_rel_list.nr-release-grid .nr-product-title-link:focus-visible,
.main_wrapper_rel_list.nr-release-grid .nr-product-link:focus-visible,
.main_wrapper_rel_list.nr-release-grid .nr-category-pill:focus-visible { outline: 2px solid #167347; outline-offset: 3px; }
.main_wrapper_rel_list.nr-release-grid #ct_shw { display: none !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .content_rel .count_display_cat,
.second .main_wrapper_rel_list.nr-release-grid--large .content_rel .count_display_cat { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; width: 100% !important; margin: 5px 0 0 !important; padding: 0 !important; }
.main_wrapper_rel_list.nr-release-grid .nr-category-label { margin-right: 3px; color: #607168; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.main_wrapper_rel_list.nr-release-grid .count_display_cat a.nr-category-pill { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid #cfe1d2; border-radius: 999px; background: #eef6ee; color: #176842; font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.main_wrapper_rel_list.nr-release-grid .count_display_cat a.nr-category-pill:hover { border-color: #91c5a1; background: #dff0e3; }
.main_wrapper_rel_list.nr-release-grid .nr-product-link { display: none; }
.main_wrapper_rel_list.nr-release-grid .nr-product-link--mobile-row { display: none !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .nr-product-link,
.second .main_wrapper_rel_list.nr-release-grid--large .nr-product-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: max-content; min-height: 38px; margin: 14px 0 0; padding: 8px 13px; border: 1px solid #167347; border-radius: 10px; background: #167347; color: #fff; font-size: 13px; font-weight: 800; line-height: 1; text-decoration: none; }
.first .main_wrapper_rel_list.nr-release-grid--large .nr-product-link:hover,
.second .main_wrapper_rel_list.nr-release-grid--large .nr-product-link:hover { background: #115b38; color: #fff; }
.first .main_wrapper_rel_list.nr-release-grid--large .image_section .nr-product-link--image { display: none; }
.main_wrapper_rel_list.nr-release-grid .image_section .nr-product-link--image { display: none !important; }
.main_wrapper_rel_list.nr-release-grid .schedule_time_p { margin: 0; color: #50645a; font-size: 13px; line-height: 1.5; }
.main_wrapper_rel_list.nr-release-grid .schedule_time_p b { margin-right: 4px; color: #152b23; }
.main_wrapper_rel_list.nr-release-grid .product_desc { margin: 12px 0 0; color: #50645a; }

/* Show one flight-number format per view. */
.main_wrapper_rel_list.nr-release-grid .number-line { display: none !important; }
.main_wrapper_rel_list.nr-release-grid--small .image_section table,
.second .main_wrapper_rel_list.nr-release-grid--large .image_section table,
.third .main_wrapper_rel_list.nr-release-grid--large .image_section table { display: none !important; }
.main_wrapper_rel_list.nr-release-grid--small .number-line,
.second .main_wrapper_rel_list.nr-release-grid--large .number-line,
.third .main_wrapper_rel_list.nr-release-grid--large .number-line { display: flex !important; }
.main_wrapper_rel_list.nr-release-grid--small .image_section .number-line,
.second .main_wrapper_rel_list.nr-release-grid--large .image_section .number-line,
.third .main_wrapper_rel_list.nr-release-grid--large .image_section .number-line {
  box-sizing: border-box;
  width: 100% !important;
  height: 16px;
  margin: 0 !important;
  padding: 0;
  border-top: 1px solid #171717;
}
.main_wrapper_rel_list.nr-release-grid--small .number-line .tick:before,
.second .main_wrapper_rel_list.nr-release-grid--large .number-line .tick:before,
.third .main_wrapper_rel_list.nr-release-grid--large .number-line .tick:before { font-size: 14px; font-weight: 600; color: #171717; }
/* Match archive cards: one short excerpt, no category or second excerpt row. */
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_shortdec.pr_abv,
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv,
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv {
  display: -webkit-box !important;
  width: 100% !important;
  max-height: 4.2em;
  margin: 8px 0 0;
  padding: 0;
  overflow: hidden;
  color: #787676;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.main_wrapper_rel_list.nr-release-grid .product_shortdec.pr_abv p { margin: 0; line-height: inherit; }
.main_wrapper_rel_list.nr-release-grid--small .product_shortdec.pro_abv_date,
.second .main_wrapper_rel_list.nr-release-grid--large .product_shortdec.pro_abv_date,
.third .main_wrapper_rel_list.nr-release-grid--large .product_shortdec.pro_abv_date,
.second .main_wrapper_rel_list.nr-release-grid--large .count_display_cat,
.second .main_wrapper_rel_list.nr-release-grid--large .product_name.PRO_HIDE { display: none !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .content_rel .product_name { display: block !important; width: auto !important; }

/* The large view keeps the colored four-number profile. */
.first .main_wrapper_rel_list.nr-release-grid--large .image_section table { display: table !important; width: 100% !important; margin: 8px 0 0 !important; border: 0; border-collapse: separate; border-spacing: 5px 8px; background: transparent; }
.first .main_wrapper_rel_list.nr-release-grid--large tr.number-divs { display: table-row !important; width: auto !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-divs td { box-sizing: border-box; width: 25% !important; height: auto !important; padding: 9px 4px !important; border: 0; border-radius: 10px; color: #14213d; font-size: 18px; font-weight: 800; line-height: 1.15; text-align: center; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-label span { display: inline-block; padding: 0; color: #344b43; font-size: 10px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-divs .green { background: #bef3ae !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-divs .orange { background: #ffd16f !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-divs .blue { background: #a9ccef !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .number-divs .yellow { background: #fff79a !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .stability-label { display: table-cell !important; box-sizing: border-box; width: auto !important; padding: 9px 10px !important; border: 0; border-radius: 10px; background: #bce6c2 !important; color: #21482b; font-size: 13px; font-weight: 700; text-align: center; }
.first .main_wrapper_rel_list.nr-release-grid--large .stability-label[data-stability="very-overstable"] { background: #f1baba !important; color: #4a2222; }
.first .main_wrapper_rel_list.nr-release-grid--large .stability-label[data-stability="overstable"] { background: #f0c99f !important; color: #573619; }
.first .main_wrapper_rel_list.nr-release-grid--large .stability-label[data-stability="understable"] { background: #cdb5e9 !important; color: #4a3266; }
.first .main_wrapper_rel_list.nr-release-grid--large .stability-label[data-stability="very-understable"] { background: #aacde9 !important; color: #224561; }

/* Countdown shared by every card format. */
.main_wrapper_rel_list.nr-release-grid .countdown_main,
.first .main_wrapper_rel_list.nr-release-grid .countdown_main,
.second .main_wrapper_rel_list.nr-release-grid .countdown_main { height: auto !important; min-height: 0; margin: 12px 0; align-items: flex-start; justify-content: flex-start; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown,
.first .main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown,
.second .main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown,
.third .main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown { box-sizing: border-box; width: max-content; max-width: 100%; margin: 0 !important; padding: 8px !important; border: 1px solid #d6ded6 !important; border-radius: 13px; background: #edf3ec !important; box-shadow: none !important; }
.main_wrapper_rel_list.nr-release-grid .countdown > div { gap: 5px; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown .cot_da { margin: 0; padding: 0; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown .cot_da div,
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid .rel_content_section .countdown .cot_da div { box-sizing: border-box; min-width: 38px; padding: 9px 6px !important; border-radius: 8px; background: #167347 !important; color: #fff; font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.main_wrapper_rel_list.nr-release-grid .rel_content_section p.txt_dhms { margin: 5px 0 0; color: #50645a; font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* Large, row, and compact layouts retain their distinct density. */
.first .main_wrapper_rel_list.nr-release-grid--large .ot_sec { display: grid !important; grid-template-columns: minmax(230px, 340px) minmax(0, 1fr); gap: 24px; width: 100%; align-items: start; }
.first .main_wrapper_rel_list.nr-release-grid--large .image_section img { max-width: 100% !important; max-height: 300px; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { width: auto !important; padding-left: 0 !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .content_rel { gap: 8px; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_name { font-size: clamp(19px, 2vw, 24px); line-height: 1.2; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv { color: #607168; font-size: 14px; line-height: 1.45; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_price { font-size: 19px; }
.main_wrapper_rel_list.nr-release-grid .nr-release-date { display: none; }
.first .main_wrapper_rel_list.nr-release-grid--large .countdown_main,
.second .main_wrapper_rel_list.nr-release-grid--large .countdown_main { box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; margin: 16px 0 0 !important; padding: 9px 11px !important; border: 1px solid #d6ded6; border-radius: 13px; background: #f4f7f2; }
.first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown,
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown { padding: 0 !important; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; margin: 0 !important; }
.first .main_wrapper_rel_list.nr-release-grid--large .nr-release-date,
.second .main_wrapper_rel_list.nr-release-grid--large .nr-release-date { display: block; width: 100%; margin: 9px 0 0 !important; padding: 8px 0 0; border-top: 1px solid #d6ded6; color: #40574b; font-size: 12px; line-height: 1.35; }
.first .main_wrapper_rel_list.nr-release-grid--large .nr-release-date b,
.second .main_wrapper_rel_list.nr-release-grid--large .nr-release-date b { margin-right: 5px; color: #152b23; font-weight: 800; }
.second .main_wrapper_rel_list.nr-release-grid--large .ot_sec { display: grid !important; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr); gap: 18px; width: 100%; align-items: start; }
.second .main_wrapper_rel_list.nr-release-grid--large .image_section { display: block !important; width: 100%; }
.second .main_wrapper_rel_list.nr-release-grid--large .image_section img { max-width: 100% !important; width: 100%; height: auto !important; max-height: 190px; aspect-ratio: 1 / 1; }
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { display: flex !important; flex-direction: column; width: auto !important; padding-left: 0 !important; align-items: flex-start; }
.second .main_wrapper_rel_list.nr-release-grid--large .countdown_main { margin: 10px 0 0 !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .nr-product-link { display: none !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .image_section .nr-product-link--image { box-sizing: border-box; display: flex !important; justify-content: center; width: 100%; min-height: 38px; margin: 10px 0 0; }
.second .main_wrapper_rel_list.nr-release-grid--large .est_time { display: none !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .product_name { width: auto !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .content_rel { align-items: stretch !important; gap: 4px !important; }
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv { text-align: left; }
.second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_price { margin-top: 8px; text-align: left; }
.third .main_wrapper_rel_list.nr-release-grid--large { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_product { width: auto !important; padding: 11px !important; }
.third .main_wrapper_rel_list.nr-release-grid--large .ot_sec { display: flex !important; flex-direction: column; width: 100%; height: 100%; }
.third .main_wrapper_rel_list.nr-release-grid--large .image_section { display: block !important; width: 100% !important; }
.third .main_wrapper_rel_list.nr-release-grid--large .image_section img { width: 100%; max-width: 100% !important; height: auto !important; max-height: none; aspect-ratio: 1 / 1; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { display: flex; flex: 1; flex-direction: column; width: 100% !important; padding: 0 !important; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_product .rel_content_section .content_rel { flex: 1; justify-content: flex-start !important; gap: 4px !important; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_name { width: auto !important; height: auto !important; min-height: 2.64em; margin: 8px 0 0 !important; font-size: .98rem; font-weight: 800; line-height: 1.32; text-align: center; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv { text-align: center; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_price { margin-top: auto; text-align: center; }
.third .main_wrapper_rel_list.nr-release-grid--large .countdown_main { justify-content: center; }

/* The archive's small shortcode uses the original compact number line. */
.main_wrapper_rel_list.nr-release-grid--small { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.main_wrapper_rel_list.nr-release-grid--small .rel_product { width: auto !important; padding: 11px !important; }
.main_wrapper_rel_list.nr-release-grid--small .ot_sec { display: flex !important; flex-direction: column; width: 100%; height: 100%; }
.main_wrapper_rel_list.nr-release-grid--small .image_section { display: block !important; width: 100% !important; }
.main_wrapper_rel_list.nr-release-grid--small .image_section img { width: 100%; max-width: 100% !important; height: auto !important; max-height: none; aspect-ratio: 1 / 1; }
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section { display: flex; flex: 1; flex-direction: column; width: 100% !important; padding: 0 !important; }
.main_wrapper_rel_list.nr-release-grid--small .rel_product .rel_content_section .content_rel { flex: 1; justify-content: flex-start !important; gap: 4px !important; }
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_name { height: auto !important; min-height: 2.64em; margin: 8px 0 0 !important; font-size: .98rem; font-weight: 800; line-height: 1.32; text-align: center; }
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_shortdec.pr_abv { text-align: center; }
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_price { margin-top: auto; text-align: center; }
.main_wrapper_rel_list.nr-release-grid--small .countdown_main { justify-content: center; }

/* Product-page style details inside the large view. */
.main_wrapper_rel_list.nr-release-grid .nr-guide { box-sizing: border-box; width: 100%; margin: 18px 0 0; padding: 20px; border: 1px solid #d6ded6; border-radius: 18px; background: #fff; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__heading { margin-bottom: 16px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__heading small,
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel small { color: #53665b; font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__heading h3 { margin: 3px 0 0; color: #132019; font-size: clamp(20px, 2.3vw, 27px); line-height: 1.2; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__heading h3 span { color: #53665b; font-size: .72em; font-weight: 500; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel { box-sizing: border-box; display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #d6ded6; border-radius: 16px; background: #f4f7f2; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel h4 { margin: 0; color: #132019; font-size: 17px; line-height: 1.2; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; margin-bottom: 12px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel-heading a { color: #146e48; font-size: 11px; font-weight: 800; text-decoration: none; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel-heading a:hover { text-decoration: underline; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel-heading img { width: 76px; height: auto; max-height: 36px; object-fit: contain; }
.main_wrapper_rel_list.nr-release-grid .nr-guide .chart-wrapper { box-sizing: border-box; width: 100% !important; height: 320px !important; min-width: 0; margin: 0; border-radius: 12px; overflow: hidden; background: #f4f7f2 !important; }
.main_wrapper_rel_list.nr-release-grid .nr-flight-svg { display: block; width: 100%; height: 100%; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-bg { fill: #f4f7f2; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-grid { stroke: rgba(18, 48, 33, .16); stroke-width: 1; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-center { stroke: rgba(18, 48, 33, .12); stroke-dasharray: 6 9; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-label { fill: #314a3a; font: 700 28px Inter, Roboto, sans-serif; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-path-halo { stroke: #e6ad31; stroke-width: 9; stroke-linecap: round; opacity: .14; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-path { stroke: #e6ad31; stroke-width: 4.5; stroke-linecap: round; }
.main_wrapper_rel_list.nr-release-grid .nr-chart-end { fill: #e6ad31; stroke: #fff; stroke-width: 2; }
.main_wrapper_rel_list.nr-release-grid .nr-flight-svg--animating .nr-chart-path,
.main_wrapper_rel_list.nr-release-grid .nr-flight-svg--animating .nr-chart-path-halo { stroke-dasharray: 1; stroke-dashoffset: 1; animation: nr-path-draw 1.25s cubic-bezier(.22,.72,.24,1) forwards; }
@keyframes nr-path-draw { to { stroke-dashoffset: 0; } }
.main_wrapper_rel_list.nr-release-grid .nr-guide__specs { display: grid; margin: 0; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__specs > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 43px; padding: 7px 0; border-bottom: 1px solid #d6ded6; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__specs > div:last-child { border-bottom: 0; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__specs dt { color: #53665b; font-size: 12px; font-weight: 700; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__specs dd { margin: 0; color: #132019; font-size: 13px; font-weight: 800; text-align: right; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__panel--numbers > h4 { margin: 3px 0 16px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__numbers > div { min-width: 0; padding: 10px 12px; border: 1px solid #d6ded6; border-radius: 10px; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__number--speed { background: #bef3ae; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__number--glide { background: #ffd16f; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__number--turn { background: #a9ccef; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__number--fade { background: #fff79a; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__numbers dt { color: #53665b; font-size: 11px; font-weight: 700; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__numbers dd { margin: 2px 0 0; color: #132019; font-size: 22px; font-weight: 800; line-height: 1; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__stability { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-bottom: 14px; padding: 9px 12px; border-radius: 10px; background: #bce6c2; color: #21482b; font-size: 14px; font-weight: 800; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__stability[data-stability="very-overstable"] { background: #f1baba; color: #4a2222; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__stability[data-stability="overstable"] { background: #f0c99f; color: #573619; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__stability[data-stability="understable"] { background: #cdb5e9; color: #4a3266; }
.main_wrapper_rel_list.nr-release-grid .nr-guide__stability[data-stability="very-understable"] { background: #aacde9; color: #224561; }
.main_wrapper_rel_list.nr-release-grid a.nr-guide__shop.button { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: auto 0 0; padding: 12px 14px; border: 0; border-radius: 10px; background: #187447 !important; color: #fff !important; font-size: 13px; font-weight: 800; text-decoration: none; }
.main_wrapper_rel_list.nr-release-grid a.nr-guide__shop.button:hover { background: #125b38 !important; }

@media (max-width: 950px) {
  .third .main_wrapper_rel_list.nr-release-grid--large,
  .main_wrapper_rel_list.nr-release-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main_wrapper_rel_list.nr-release-grid .nr-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main_wrapper_rel_list.nr-release-grid .nr-guide__panel--numbers { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { display: flex !important; flex-direction: column; align-items: flex-start; gap: 0; }
  .second .main_wrapper_rel_list.nr-release-grid--large .countdown_main { margin: 12px 0 0 !important; }
}
@media (max-width: 640px) {
  .first .main_wrapper_rel_list.nr-release-grid--large .ot_sec,
  .second .main_wrapper_rel_list.nr-release-grid--large .ot_sec { display: block !important; }
  .first .main_wrapper_rel_list.nr-release-grid--large .image_section,
  .second .main_wrapper_rel_list.nr-release-grid--large .image_section { width: 100% !important; }
  .first .main_wrapper_rel_list.nr-release-grid--large .image_section img,
  .second .main_wrapper_rel_list.nr-release-grid--large .image_section img { max-width: 100% !important; max-height: 240px; }
  .first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section,
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { width: 100% !important; padding: 14px 0 0 !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_name { width: auto !important; }
  .main_wrapper_rel_list.nr-release-grid .nr-guide__grid { grid-template-columns: minmax(0, 1fr); }
  .main_wrapper_rel_list.nr-release-grid .nr-guide__panel--numbers { grid-column: auto; }
  .main_wrapper_rel_list.nr-release-grid .nr-guide { padding: 14px; }
  #main_sort_div { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .third .main_wrapper_rel_list.nr-release-grid--large,
  .main_wrapper_rel_list.nr-release-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px !important; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_product,
  .main_wrapper_rel_list.nr-release-grid--small .rel_product { padding: 8px !important; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .countdown { box-sizing: border-box; width: 100% !important; padding: 6px !important; }
  .third .main_wrapper_rel_list.nr-release-grid--large .countdown > div,
  .main_wrapper_rel_list.nr-release-grid--small .countdown > div { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .third .main_wrapper_rel_list.nr-release-grid--large .countdown_main,
  .main_wrapper_rel_list.nr-release-grid--small .countdown_main { width: 100%; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .countdown .cot_da { min-width: 0; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da div,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .countdown .cot_da div,
  .msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .countdown .cot_da div { min-width: 0; width: 100%; padding: 7px 3px !important; font-size: 16px; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section p.txt_dhms,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section p.txt_dhms { margin-top: 3px; font-size: 10px; letter-spacing: 0; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_name,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_name { font-size: 14px; }
  .third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .product_shortdec.pr_abv,
  .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_shortdec.pr_abv { font-size: 12px; }
  .main_wrapper_rel_list.nr-release-grid--small .image_section .nr-product-link--image,
  .third .main_wrapper_rel_list.nr-release-grid--large .image_section .nr-product-link--image { display: none !important; }
  .first .main_wrapper_rel_list.nr-release-grid--large .image_section img { max-height: 320px; }
  .first .main_wrapper_rel_list.nr-release-grid--large .countdown_main,
  .first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown { width: 100% !important; }
  .first .main_wrapper_rel_list.nr-release-grid--large .countdown > div { justify-content: space-between; width: 100%; }
  .first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da { flex: 1; min-width: 0; }
  .first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da div { width: 100%; }
  .first .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .nr-product-link { box-sizing: border-box; display: flex; justify-content: center; width: 100% !important; min-height: 44px; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_product > .product_name.PRO_HIDE { display: block !important; width: 100% !important; margin: 0 0 12px !important; font-size: 18px; line-height: 1.25; }
  .second .main_wrapper_rel_list.nr-release-grid--large .ot_sec { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
  .second .main_wrapper_rel_list.nr-release-grid--large .image_section { grid-column: 1; grid-row: 1; min-width: 0; }
  .second .main_wrapper_rel_list.nr-release-grid--large .image_section img { max-height: none; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section { display: contents !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .content_rel { grid-column: 2; grid-row: 1; min-width: 0; align-items: flex-start !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .content_rel .product_name { display: none !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .content_rel .count_display_cat { margin-top: 8px !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .countdown_main { grid-column: 1 / -1; grid-row: 2; width: 100%; margin: 0 !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown { width: 100% !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .countdown > div { justify-content: space-between; width: 100%; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da { flex: 1; min-width: 0; }
  .second .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da div { width: 100%; }
  .second .main_wrapper_rel_list.nr-release-grid--large .image_section .nr-product-link--image { display: none !important; }
  .second .main_wrapper_rel_list.nr-release-grid--large .nr-product-link--mobile-row { box-sizing: border-box; display: flex !important; justify-content: center; width: 100%; min-height: 44px; margin: 12px 0 0; }
  #main_sort_div { display: flex !important; flex-wrap: nowrap; gap: 8px; padding: 8px; }
  #main_sort_div .sortRel { display: flex; align-items: center; flex: 1 1 auto; gap: 5px; min-width: 0; width: auto !important; }
  #main_sort_div .sortRel label { flex: 0 0 auto; font-size: 12px; white-space: nowrap; }
  #main_sort_div #sort-options { box-sizing: border-box; flex: 1 1 auto; min-width: 0; width: 100%; padding: 6px 16px 6px 6px; font-size: 12px; }
  #main_sort_div .view_style_icons { flex: 0 0 auto; justify-content: flex-end; gap: 4px; width: auto; }
  #main_sort_div .icon-container { width: 34px; height: 34px; }
  .main_wrapper_rel_list.nr-release-grid .nr-guide .chart-wrapper { height: 260px !important; }
}
@media (max-width: 350px) {
  #main_sort_div .icon-container { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .main_wrapper_rel_list.nr-release-grid .rel_product { transition: none; }
}

/* Fill the Upcoming Releases countdown panel on every card. */
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .rel_content_section .countdown {
    width: 100% !important;
}
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .countdown > div {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
}
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .countdown .cot_da {
    min-width: 0;
}
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .countdown .cot_da div {
    min-width: 0 !important;
    width: 100%;
}

/* Fill Upcoming Releases compact tiles with the countdown. */
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown { width: 100% !important; }
.third .main_wrapper_rel_list.nr-release-grid--large .countdown > div { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; width: 100%; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da { min-width: 0; }
.third .main_wrapper_rel_list.nr-release-grid--large .rel_content_section .countdown .cot_da div { min-width: 0; width: 100%; padding: 9px 3px !important; }
@media (max-width: 480px) {
  .third .main_wrapper_rel_list.nr-release-grid--large .countdown > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Align archive release titles and separate their category pills. */
.main_wrapper_rel_list.nr-release-grid--small .rel_content_section .product_name { box-sizing: border-box; width: 100% !important; }
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .count_display_cat { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; box-sizing: border-box; width: 100% !important; margin: 8px 0 0 !important; padding: 0 !important; }

.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .rel_product > .product_name.PRO_HIDE { display: none !important; }
.msdg-upcoming-releases .main_wrapper_rel_list.nr-release-grid--small .content_rel > .product_name { display: block !important; }
