*, span, p {
  font-family: Poppins, sans-serif !important;
}
.mobile {
  display: none;
}
.page-media-pack .nav-login {
  z-index: 990;
}

.container-wrapper-new {
   margin-inline: auto !important;
   max-width: var(--brand-layout-width);
}

.back-to-top {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
}

.btn-group {
  position: relative;
  padding-bottom: 18px;
}

.button-group-decal {
  position: absolute;
  bottom: 69px;
  right: 24px;
}

/* floating header */

#custom-float-navigation {
  overflow: hidden;
  transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: fixed;
  top: -91px;
  width: 100%;
  z-index: 9999;
  background-color: var(--black);
}

#custom-float-navigation.show {
  top: 0;
}

/* #brochureEmbedModal is an earlier sibling at the same z-index, so this bar
   would paint on top of the modal's scrim. modal.js puts .modal-show on
   <body> while a modal is open, so slide the bar away for that.
   translateY(-100%) rather than reusing top:-91px because the bar is a
   different height on mobile - a percentage hides it whatever its height. */
body.modal-show #custom-float-navigation {
  transform: translateY(-100%);
  pointer-events: none;
}

.float-header .site-logo {
  height: 48px;
  width: auto;
}
.custom-float-container {
  padding: 24px 0px;
  background-color: var(--black)
}

.float-header {
  max-width: 1192px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.float-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

/* end floating header */

.font-medium {
  font-weight: 400;
}
.margin-bottom-0 {
  margin-bottom: 0px;
}

.margin-bottom-24 {
  margin-bottom: 24px;
}


.banner-container .post-title {
  width: min(772px, 100%);
}
.banner-container .post-title .text-primary-coral-gradient {
  padding-bottom: 18px;
}

.banner-content h1 {
  margin-bottom: 0;
  position: relative;
  /* font-size: 87px; */
  font-size: 75px;
  line-height: 70px;
}

.banner-content h1:after {
    content: url("/assets/img/asterisk-white.svg");
    position: absolute;
    top: -40px;
    left: 412px;
}
.banner-content h1 span {
  margin-bottom: -10px;
  font-size: 65px;
}
.banner-content > div:last-of-type {
  display: flex;
  align-items: flex-end;
  /* Keep the CTAs on one line: let the title shrink rather than the
     "Download media guide" / "Book a call" buttons wrapping. */
  flex-shrink: 0;
}
.bg-position-bottom-right {
  background-color: var(--black);
  background-image: url("/assets/img/eclipse-banner-top-right.svg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}
.text-asterisk-white:before {
  display: none;
  content: url("/assets/img/asterisk-white-2.svg");
  position: absolute;
  top: -45px;
  right: -49px;
}

.graph-section {
  background-color: var(--black);
}

.graph-section .container{
  max-width: 1192px;
  margin: auto;
  padding: 80px 0;
}

.graph-section .header{
  display: flex;
  justify-content: space-between;
  gap: 126px;
  /* margin-bottom: 24px; */
  padding-bottom: 24px;
  border-bottom: 1px solid var(--coral);
}

.graph-section .header p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--white);
}

.graph-section .header h3 {
  width: 480px;
  margin-bottom: 0;
  margin-top: 0;
  color: var(--white);
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 58px;
  letter-spacing: -2.24px;
}

.graph-section .header > div {
  width: 587px;
}

.graph-section .counter-inner-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 45px;
}

.courses-counter-box {
  padding: 0;
}

.graph-container {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
}

.courses-counter-box p {
  color: var(--white);
}

#chartSection {
  width: 55%;
  box-shadow: 0px 4px 10px 0px #0000001A;
  padding: 32px 32px 64px 32px;
  background-color: var(--white);
  border-radius: 12px;
}

#chartSection h5 {
  margin-top: 0;
}

.line-group {
  display: flex;
  gap: 48px;
  height: 204px;
  align-items: flex-end;
}

.line-item {
  width: 80px;
  text-align:center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.line-item small {
  position: absolute;
  width: 100px;
  left: -10px;
  bottom: -24px;
  font-family: Poppins, sans-serif;
  font-size: 10px;
  font-weight: 300;
  line-height: 14px;
}

.line-item .two-line {
  bottom: -40px;
}

.graph-content {
  width: auto;
  /* padding: 24px 32px; */
}

.graph-content small {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: left;
  margin-bottom: 8px;
}

.graph-content h4:not(:last-of-type) {
  margin-bottom: 48px;
}

.line-bar {
  width: 100%;
  display: block;
  background-color: #65C9BD;
  border-radius: 6px;
  height: 0;
  transition: height 1s ease-in-out;
}

.awards-container .media-pack-content-wrap  {
  padding: 48px 0;
  display: flex;
  gap: 137.33px;
  max-width: 1192px;
  margin: auto;
  align-items: center;
}

.logo-partners .media-pack-content-wrap {
  padding-top: 48px;
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo-partners .group-logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.awards-container .content-wrap div:first-of-type {
  width: 32%;
}

.awards-container h3 {
  margin: 0;
  color: var(--black);
  position: relative;
}

.awards-container h3:after {
  content: url(/assets/img/vector-arrow-right.svg);
  position: absolute;
  top: calc(50% - 10px);
  right: -110px;
  filter: invert(1);
}

/* .content-wrap {
  max-width: 1192px;
  margin: auto;
} */

.courses-counter {
  font-size: 56px;
  line-height: 58px;
  font-weight: 400;
  color: transparent;
}

.audience-detail {
  margin-top: 48px;
}

.audience-detail h4 {
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--white);
}

.audience-card-container {
  display: flex;
  gap: 16px;
}

.audience-card-container .audience-card {
  background-color: #171E1D;
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  gap: 16px;
  width: 100%;
  align-items: center;
}

.audience-card-container .audience-card p {
  margin-bottom: 8px;
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--white);
}

.audience-card-container .audience-card h4 {
  margin: 0;
  color: var(--coral);
  width: 100%;
}

.our-media-section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

.our-media-section .content-wrap {
  max-width: 1192px;
  margin: auto;
}

.our-media-section .content-wrap h3 {
  margin-top: 0;
  margin-bottom: 40px;
}

.our-media-section .title-with-filter {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
}

.our-media-section .title-with-filter:after {
  content: '';
  background-image: url('/assets/img/media-pack-arrow.svg');
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 130px;
  height: 130px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.our-media-section .title-with-filter h3 {
  margin-bottom: 20px;
  margin-top: 0px;
  position: relative;
}
.our-media-section .title-with-filter h3:after {
  content: '';
  background-image: url('/assets/img/heading-line.svg?v=1332');
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  width: 130px;
  height: 17px;
  position: absolute;
  bottom: -20px;
}


.our-media-section .title-with-filter h3 span {
  margin-bottom: -10px;
}

.our-media-section .media-filter {
  padding-bottom: 24px;
  align-items: flex-start;
  background: var(--white);
  display: flex;
  padding-top: 24px;
  min-height: 91px;
  flex-direction: column;
  gap: 24px;
  max-width: 350px;
  min-width: 350px;
  padding-right: 24px;
  /* Sticky sidebar: the filters stay in view while the results column scrolls.
     top clears #custom-float-navigation, which is fixed and ~91px tall once it
     slides in. align-self stops the flex row stretching the sidebar to full
     height, which would leave it nothing to stick against. Below 1024px this
     sidebar is display:none and the dropdown sheet takes over. */
  position: sticky;
  top: 90px;
  align-self: flex-start;
  max-height: calc(100vh - 139px);
  overflow-y: auto;
  margin-right: 1px;
}
#media-filter-dropdown {
  display: none;
}

.media-pack-content-wrap {
  max-width: 1192px;
  margin: 0 auto;
}

.our-media-section .media-pack-main-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  border-top: 1px solid #AEAEAE;
}

.media-filter p {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.media-filter .media-filter-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.media-filter .media-filter-tags.hidden {
  display: none;
}

.media-filter .media-filter-tag {
  padding: 9.5px 12px;
  border: 1px solid #6C6C6C;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  border-radius: 40px;
  display: flex;
  align-items: center;
}

.media-filter .media-filter-tag:hover {
  border: 1px solid var(--coral);
  color: var(--coral);
}
.media-result-container{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.media-result-container .media-category.close {
  display: none;
}

.media-category.hidden {
  display: none;
}

.media-result-container .media-card.hidden {
  display: none;
}

.media-result-container .media-card{
  display: flex;
  gap: 24px;
  padding: 40px;
  box-shadow: 0px 4px 10px 0px #0000001A;
  border-radius: 12px;
  
  flex-wrap: wrap;
  flex-direction: row;
}
.media-category {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.media-result-container .media-card {
    /* margin-bottom: 40px; */
}

.media-result-container {
  padding-top: 24px;
  padding-left: 24px;
  border-left: 1px solid #aeaeae;
  margin-left: -1px;
}

.media-result-container .media-category h3 {
  margin-top: 0px;
}
.media-result-container .media-card.single-column {
  display: block;
}

.media-result-container .media-card h4, .media-result-container .media-card h5 {
  margin-top: 0;
  margin-bottom: 16px;
}


.media-result-container .media-card .left-content {
  flex: 1;
  border-right: 1px solid #d4d4d4;
  padding-right: 40px;
}

.media-result-container .media-card .right-content {
  flex: 1;
}

.media-result-container .media-card .disclaimer-message {
  width: 100%;
  font-weight: 400;
}

.media-result-container .media-card .right-content ul {
  margin-bottom: 16px;
}

.media-card ul {
  padding-left: 0;
  flex: 1;
  margin-bottom: 0;
  width: 100%;
}

.media-card ul li {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.exclusive-star {
  height: 24px;
  margin-left: 10px;
  /* tailwind preflight makes every img display:block, which drops the star
     onto its own line under the label */
  display: inline-block;
  vertical-align: middle;
}

.examples-heading {
  font-size: 20px;
  font-weight: 500;
  line-height: 32px;
}

.media-card ul li:before {
  content: url(/assets/img/bullet-point.svg);
  flex-shrink: 0;
  position: relative;
  top: 3px;
}
.media-card ul li.x-bullet:before {
  content: url(/assets/img/x-bullet-point.svg?v=123233);
}


.media-result-container h3 span {
  display: inline;
}

.media-card .images-list {
  display: grid;
  grid-template-columns: repeat(2, 150px);
  gap: 16px;
}
.image-box {
  color: var(--black);
}

.image-box img {
  width: 150px;
  height: 148px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  object-position: center;
}

.media-filter-tag:hover .fa-times:before {
  content: url(/assets/img/close-coral.svg) !important;
}

.media-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  margin-top: 32px;
}
.media-table p {
  margin: 0;
  font-size: 16px;
}

.media-table-row {
  display: flex;
  padding: 16px 40px;
  gap: 16px;
}

.media-table-row:not(.heading):nth-child(odd) {
  background-color: #f5f3ed;
}

.media-table-row.heading {
  font-weight: bold;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
}
.media-table-row.heading p {
  font-weight: bold;
}

.media-table-cell {
  flex: 1;
}

.media-table-cell:first-child {
  flex: 0 0 30%;
}

.media-table-cell:first-child p {
  font-weight: bold;
}

.media-table-cell:last-child {
  flex: 0 0 70%;
}

.media-table-cell ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown-name {
  font-size: 14px;
}

/* Dropdown button styling */
.dropdown-btn-custom {
  background: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 8px 18px;
  width: 100%;
  border-radius: 5px;
  background-color: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.dropdown-btn-custom span {
  font-size: 14px;
  color: var(--black);
}
.dropdown-btn-custom .dropdown-icon {
  width: 18px;
  height: 18px;
}

.dropdown-menu-container {
  position: absolute;
  top: 120%;
  right: 0;
}

/* Dropdown menu */
.dropdown-menu-custom {
  display: none;
  width: max-content;
  min-width: 250px;
  background-color: #F9F8F5;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
  overflow-y: auto;
  padding: 24px 24px 14px;
}
.dropdown-menu-custom.no-padding {
  padding: 0px;
}

.dropdown-menu-custom .list-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-menu-custom.no-padding .list-container {
  gap: 0px;
}

.dropdown-menu-custom input[type="checkbox"] {
  margin-right: 8px;
}
.dropdown-menu-custom {
  display: none;
}
/* Show the dropdown menu when open */
.dropdown.open .dropdown-menu-custom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
}
.dropdown.open .dropdown-menu-custom label {
  font-size: 16px;
}


/* Mobile filter sheet chrome (see .dropdown-menu-custom in the <=1000px block) */
.filter-sheet-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.filter-sheet-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
}

.filter-sheet-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.filter-sheet-close img {
  width: 14px;
  height: 14px;
}

.filter-sheet-selected {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}

.filter-sheet-selected p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

/* .media-filter-tag styling is scoped to the desktop sidebar, so the sheet
   needs its own copy */
.dropdown-menu-custom .media-filter-tags-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.dropdown-menu-custom .media-filter-tags-mobile.hidden {
  display: none;
}

.dropdown-menu-custom .media-filter-tag {
  padding: 9.5px 12px;
  border: 1px solid #6C6C6C;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-menu-custom .no-tags-message {
  font-size: 14px;
  font-weight: 300;
  color: var(--black-2);
  margin-bottom: 0;
}

/* push the accordion caret to the far edge of the sheet */
.dropdown-menu-custom .parent-label:after {
  margin-left: auto;
}

/* Clear sits below the scrolling options list */
.dropdown-menu-custom .clear-all {
  flex: 0 0 auto;
  justify-content: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #d4d4d4;
}

.checkbox-filter {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  white-space: nowrap;
  align-items: center;
  display: flex;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.checkbox-custom {
  border: 1px solid var(--black);
  width: 18px;
  height: 18px;
  margin-top: 0;
  border-radius: 5px;
  position: relative;
  background-color: transparent;
}

.checkbox-custom:after {
  content: "";
  position: absolute;
  inset: 14% 33%;
  width: 5px;
  height: 9px;
  border: solid #F9F8F5;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}


.event-type-list.list-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.checkbox-custom-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.parent-label {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 100%;
}

.parent-label p {
  font-weight: 500;
  margin-bottom: 0;
}

.parent-label:after {
  content: url('/assets/img/media-pack/carret-down.svg');
}

.parent-label.open:after {
  content: url('/assets/img/media-pack/carret-up.svg');
}

.checkbox-custom-input:checked ~ .checkbox-custom {
  background-color: var(--black);
  background: var(--black);
}

.checkbox-child-container {
  margin-left: 16px;
  height: 0px;
  display: none;
}

.checkbox-child-container.open {
  margin-left: 16px;
  height: auto;
  display: block;
}

.child-checkbox-filter {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  white-space: nowrap;
  align-items: center;
  display: flex;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  padding: 8px 0px;
}

.child-checkbox-custom {
  border: 1px solid var(--black);
  width: 18px;
  height: 18px;
  margin-top: 0;
  border-radius: 5px;
  position: relative;
  background-color: transparent;
}

.child-checkbox-custom:after {
  content: "";
  position: absolute;
  inset: 14% 33%;
  width: 5px;
  height: 9px;
  border: solid #F9F8F5;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}

.child-checkbox-custom-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.child-checkbox-custom-input:checked ~ .child-checkbox-custom {
  background-color: var(--black);
  background: var(--black);
}


.clear-all {
  grid-column-gap: .1rem;
  grid-row-gap: .1rem;
  white-space: nowrap;
  align-items: center;
  text-decoration: none;
  transition: all .28s;
  display: flex;
  color: var(--black-2)
}

/* awards logo grid */
.awards-logo-grid {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  flex-wrap: wrap;
  width: 700px;
  justify-content: center;
}

.graph-image {
    width: 100%;
    /* background: #fff; */
    border-radius: 22px;
}

.partners-logo-item {
  height: 48px;
  width: auto;
}
.partners-logo-item.totango-logo {
  width: 180px;
}
.partners-logo-item.klue-logo {
  height: 35px;
}


.graph-image-container {
  width: 55%;
}

.media-category h3, .media-category > p {
  margin-bottom: 0;
}
.media-category h4 {
  margin: 0;
}
ul {
  padding-right: 0;
}
.btn.btn-outline-white:hover {
  background: transparent;
  border: 1px solid var(--coral);
  color: var(--coral);
}
.media-pack-content-wrap .container {
  all: unset;
}
.banner-container, .media-pack-content-wrap, .banner-content, .logo-partners .media-pack-content-wrap, .our-media-section {
  padding: unset;
}
.banner-content {
  padding: unset !important;
}

/* ==========================================================================
   Modal - #brochureEmbedModal
   Extracted from assets/css/modal-override.css and assets/css/modal.css.
   Only the rules this page's single modal actually uses are kept; the
   .x-modal, .form-modal, instructor-profile and fade-animation rules in
   those files target markup this page does not render.
   ========================================================================== */

/* modal.css set this to 10 !important and modal-override.css to 998;
   the !important one always won, so the two collapse to one rule. */
body.modal-show .nav-wrapper {
  z-index: 10 !important;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  box-sizing: border-box;
  padding: 40px 16px;
  /* modal.js opens this with display:flex, and .modal is a full-viewport box.
     Without an alignment the default align-items:stretch makes .modal-content
     fill the whole height - its inline height:auto is what lets stretch apply,
     so it cannot hug the form on its own. The actual centring is done by
     margin:auto on .modal-content; see the note there. */
  align-items: center;
}

/* Covers the copy HubSpot injects into the embedded form. */
.modal p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

.modal-content {
  position: relative;
  top: 0;
  background-color: #fff;
  padding: 80px;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  /* auto on all four sides centres the box in both axes. Preferred over
     align-items:center alone because when the form is taller than the
     viewport an auto margin collapses instead of pushing the top of the box
     out of .modal's scroll area, where it could not be scrolled back to. */
  margin: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  row-gap: 40px;
  column-gap: 24px;
}

.modal-close {
  position: absolute;
  top: 29px;
  right: 27px;
  cursor: pointer;
}

.modal-close:before {
  content: url("/assets/img/close.svg?v=123422");
}

/* ==========================================================================
   Media queries - widest breakpoint first, so narrower ones override
   ========================================================================== */

@media screen and (max-width: 1366px) {
  .media-pack-content-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 601px) and (max-width: 1200px) {
  /* Modal */
  .modal-content {
    top: 0;
    padding: 70px 48px;
  }
}

@media screen and (max-width: 1024px) {
   .parent-label:after {
      margin-right: 5px;
   }
  .media-pack-content-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  .awards-container .media-pack-content-wrap {
    padding: 48px 32px;
  }

  #chartSection {
    width: 50%;
  }
  .awards-logo-grid {
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px 24px;
  }
  .awards-container .media-pack-content-wrap {
    align-items: center;
  }

  .media-card .images-list {
    grid-template-columns: repeat(2, 1fr);  
  }

  .media-result-container .media-card .left-content { 
    width: 40%;
  }
  .image-box img {
    width: 100%;
    height: auto;
  }
  .graph-section .header {
    gap: 24px;
    flex-direction: column;
  }
  
  .graph-container {
    flex-direction: column;
    gap: 24px;
  }
  .media-card .images-list {
    grid-template-columns: repeat(3, 1fr);  
  }
  .graph-image-container {
    width: 75%;
  }
  .image-box img {
    width: 100%;
    height: 160px;
  }
  .awards-container .media-pack-content-wrap {
    flex-direction: column;
  }

  .media-result-container .media-card {
      padding: 24px;
      flex-direction: column;
  }

  .media-result-container .media-card .left-content {
    border-right: none;
    border-bottom: 1px solid #d4d4d4;
    padding-right: 0px;
    width: 100%;
  }

  .media-result-container .media-card .right-content {
      width: 100%;
  }
  .awards-logo-grid {
    width: 100%;
    padding: 0px;
    gap: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .awards-container .media-pack-content-wrap {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .awards-container h3:after {
    display: none;    
  }

  .banner-content {
    display: flex;
    padding: 80px 0px;
    gap: 24px;
    flex-direction: column;
  }
  .media-card .images-list {
    grid-template-columns: repeat(3, 1fr);  
  }

  .awards-container h3:after {
    display: none;
  }
  .group-logo-grid.six-per-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    overflow: hidden;
  }
  .partners-logo-item {
    height: 35px;
    /* width: 40%; */
  }

  .our-media-section .title-with-filter h3 {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .our-media-section .media-filter {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    display: none;
  }
  .text-asterisk-white:before {
    display: none;
  }

  .graph-image-container {
    width: 100%;
  }
  .media-table {
    padding-top: 24px;
      border-top: 1px solid #d4d4d4;
  }
  .media-table-row {
      padding: 16px;
      flex-direction: column;
      gap: 8px;
  }
  .media-table-row.heading {
    display: none;
  }
  /* Filter options open as a bottom sheet: full-viewport scrim + panel that
     slides up from the bottom edge */
  .dropdown .dropdown-menu-container {
    position: fixed;
    inset: 0;
    width: 100%;
    display: block;
    background: transparent;
    z-index: 1000;
    /* hidden instantly on open, only after the slide-out on close */
    visibility: hidden;
    pointer-events: none;
    transition: background 0.3s ease-in-out, visibility 0s linear 0.3s;
  }
  .dropdown.open .dropdown-menu-container {
    visibility: visible;
    pointer-events: auto;
    background: #0000004d;
    transition: background 0.3s ease-in-out, visibility 0s;
  }
  .dropdown .dropdown-menu-custom {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    padding: 24px 24px max(24px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
  }
  .dropdown.open .dropdown-menu-custom {
    transform: translateY(0);
  }

  /* The sheet body scrolls in two bounded regions, so the header, the
     "Selected filters" label and the Clear button stay put.
     overscroll-behavior stops a flick at either end scrolling the page
     behind the scrim. */

  /* Selected tags: with every filter on this is ~26 pills, far taller than
     the sheet, so it has to be able to shrink (flex-shrink + min-height:0)
     and scroll rather than push the options list out of the sheet. */
  .dropdown .dropdown-menu-custom .media-filter-tags-mobile {
    flex: 0 1 auto;
    min-height: 0;
    max-height: 35%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .dropdown .dropdown-menu-custom .event-type-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .button-group-decal {
    display: none;
  }

  .float-cta .btn {
      padding:6px 10px;
      font-size: 12px;
      line-height: 20px;
  }
  .float-cta {
    gap: 9px;
  }
  .float-header .site-logo {
    height: 27px;
  }
  .bg-position-bottom-right {
    background-position: bottom right;
    background-size: cover;
  }
  .graph-section .header > div {
    width: 100%;
  }
  .examples-heading {
    margin-top: 0px;
  }
  .media-result-container {
    border: none;
    padding-left: 0px;
  }

  .our-media-section .media-pack-main-content {
    flex-direction: column;
  }

  #media-filter-dropdown {
    display: flex;
  }

  .our-media-section .title-with-filter:after {
    display: none;
  }
  .our-media-section .title-with-filter {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 24px;
  }
  /* the flex gap owns the spacing, so drop the heading's own mb-6! */
  .our-media-section .title-with-filter h3 {
    margin-bottom: 0 !important;
  }
  .our-media-section .title-with-filter #media-filter-dropdown {
    width: 100%;
  }
}

@media all and (max-width: 820px) {
   .banner-content h1:after {
      top: -20px;
      left: 230px;
   }
  /* Modal */
  .modal-content {
    width: 95%;
    padding: 70px 48px;
    gap: 60px;
    top: 0;
  }
}

@media all and (max-width: 768px) {
  /* Modal */
  /* margin-bottom:0 used to sit here. It was a no-op against the old
     margin:0 auto, but would now cancel the vertical centring and pin the
     box to the bottom of the scrim, so it is gone. */
  .modal-content {
    top: 0;
    width: 90%;
    padding: 72px 32px 32px 32px;
    gap: 60px;
    display: block;
  }
}

@media (max-width: 600px) {
  .h-119 {
    width: 100%;
    height: auto !important;
    max-height: 119px;
    max-width: fit-content;
    object-fit: contain !important; /* helps images behave */
  }
  .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .small-h119 {
    width: 119px;
    max-width: 119px;
  }

  .graph-section .counter-inner-container {
    row-gap: 25px !important;
  }
}

@media screen and (max-width: 500px) {
    /* Override the global style.css rule */
    body {
        overflow-x: clip !important;
    }
    .logo-partners .media-pack-content-wrap {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    .our-media-section {
        padding: 56px 0; 
    }
    .media-result-container .media-card {
        /* margin-bottom: 24px; */
    }
  
  .graph-section .header h3 {
    font-size: 42px;
    line-height: 42px;
  }

  .media-card .images-list {
    grid-template-columns: repeat(2, 1fr);  
  }

  .graph-section .counter-inner-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .courses-counter-box {
    width: 70%;
    margin: 0 auto;
  }

  .float-header .site-logo {
      height: 27px;
      width: 27px;
      object-fit: cover;
      object-position: left;
  }

  .image-box img {
    width: 100%;
    height: 100px;
  }

  .mobile {
    display: block;
  }
  .desktop {
    display: none;
  }

  .banner-content h1 {
    font-size: 56px;
    line-height: 54px;
  }

  .banner-content h1 span {
    font-size: 53px;
  }

  .banner-content, .graph-section .container {
  padding: 56px 0 !important;
  }
}

/* Stack each media card (examples above, inclusions below) when the results column
   itself is narrow, not just the window. Same rules as the <=1024px block, keyed to
   the container. */
.media-result-container {
  container-type: inline-size;
  /* inline-size containment stops it sizing from its content, so size it from the
     row instead: the space left beside the filters, or the full width once stacked. */
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@container (max-width: 680px) {
  .media-result-container .media-card {
    padding: 24px;
    flex-direction: column;
  }
  .media-result-container .media-card .left-content {
    border-right: none;
    border-bottom: 1px solid #d4d4d4;
    padding-right: 0px;
    width: 100%;
  }
  .media-result-container .media-card .right-content {
    width: 100%;
  }
  .media-card .images-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .image-box img {
    width: 100%;
    height: 160px;
  }
}

/* Narrower still: two example images per row, as the <=500px block does. */
@container (max-width: 500px) {
  .media-card .images-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
