/* =========================================
   HOS Homepage - Final Clean File
========================================= */

/* ===========================
   HOS School Branding Overrides
=========================== */
html.hos-school-active .header-menu,
html.hos-school-active .header-menu .top-menu,
html.hos-school-active .header-menu .header-menu-wrapper {
  background: var(--hos-primary, #2f5fa7) !important;
}

html.hos-school-active .header-menu .top-menu > li > a:hover,
html.hos-school-active .header-menu .top-menu > li.active > a {
  background: var(--hos-accent, #1d4ed8) !important;
}

html.hos-school-active .header-menu .drop-menu .title,
html.hos-school-active .header-menu .drop-menu {
  background: var(--hos-header-bg, var(--hos-primary, #2f5fa7)) !important;
}

html.hos-school-active .button-1,
html.hos-school-active .product-box-add-to-cart-button,
html.hos-school-active .product-add-to-cart-button,
html.hos-school-active .add-to-cart-button,
html.hos-school-active input[type="submit"].button-1 {
  background: var(--hos-primary, #2f5fa7) !important;
  border-color: var(--hos-primary, #2f5fa7) !important;
  color: #fff !important;
}

html.hos-school-active .button-1:hover,
html.hos-school-active .product-box-add-to-cart-button:hover,
html.hos-school-active .product-add-to-cart-button:hover,
html.hos-school-active .add-to-cart-button:hover {
  background: var(--hos-accent, #1d4ed8) !important;
  border-color: var(--hos-accent, #1d4ed8) !important;
}

html.hos-school-active .header-cart .cart-link,
html.hos-school-active .header-cart .ico-cart,
html.hos-school-active .responsive-nav-wrapper .cart-button a,
html.hos-school-active .responsive-nav-wrapper .cart-button {
  background: var(--hos-primary, #2f5fa7) !important;
}

html.hos-school-active .cart-qty {
  background: var(--hos-accent, #1d4ed8) !important;
}

/* =========================================
   Homepage Shell
========================================= */
.hos-homepage {
  background:
    linear-gradient(180deg, #0f172a 0, #13203a 240px, #f4f7fb 240px, #f4f7fb 100%);
}

.hos-homepage .page-body {
  position: relative;
}

.hos-homepage__heroShell {
  position: relative;
  z-index: 1;
}

.hos-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hos-home-section {
  margin: 0 0 34px;
}

.hos-home-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.hos-home-panel {
  border: 1px solid #e5eaf2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

/* =========================================
   Hero
========================================= */
.hos-hero {
  position: relative;
  overflow: visible;
  margin: 16px 0 18px;
  border-radius: 24px;
  min-height: 430px;
  background: #16345f;
}

.hos-hero--banner {
  min-height: 430px;
}

.hos-hero__media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url('/images/custom/help-our-school-hero-kids.png');
  background-size: cover;
  background-position: 72% 38%;
  transform: scale(1.01);
}

.hos-hero__overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      rgba(9, 24, 47, 0.82) 0%,
      rgba(9, 24, 47, 0.72) 26%,
      rgba(9, 24, 47, 0.40) 56%,
      rgba(9, 24, 47, 0.12) 100%
    );
}

.hos-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 320px;
  padding: 34px 40px 134px;
}

.hos-hero__content {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
  max-width: 760px;
  color: #fff;
}

.hos-hero__content--selected {
  max-width: 760px;
}

.hos-hero__contentInner {
  width: 100%;
  max-width: 640px;
}

.hos-hero__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hos-hero__title {
  margin: 0 0 14px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.04;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hos-hero__subtitle {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.hos-hero__actions {
  margin-top: 18px;
}

.hos-hero__actions .button-1 {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 800;
}

.hos-hero__searchWrap {
  position: relative;
  z-index: 6;
  max-width: 560px;
}

.hos-hero__searchBody {
  position: relative;
  z-index: 6;
  margin: 0;
}

.hos-hero__searchBody form,
.hos-hero__searchBody .search-box {
  margin: 0;
}

.hos-school-search {
  position: relative;
  z-index: 6;
  max-width: 100%;
}

.hos-school-search__input,
.hos-hero__searchBody input[type="text"],
.hos-hero__searchBody input[type="search"],
.hos-hero__searchBody .search-text {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.97);
  color: #172033;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
  font-size: 16px;
  box-sizing: border-box;
}

.hos-school-search__input:focus,
.hos-hero__searchBody input[type="text"]:focus,
.hos-hero__searchBody input[type="search"]:focus,
.hos-hero__searchBody .search-text:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.12);
}

.hos-hero__searchBody button,
.hos-hero__searchBody input[type="submit"] {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: #f28c28;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(242, 140, 40, 0.28);
}

.hos-hero__audience {
  margin-top: 22px;
}

.hos-hero__audienceLabel {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hos-hero__audienceGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hos-hero__audienceCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
  padding: 16px 16px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hos-hero__audienceCard:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hos-hero__audienceTitle {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}

.hos-hero__audienceText {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.hos-hero__impactBar {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 14px;
}

.hos-hero__impactItem {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  text-align: center;
}

.hos-hero__impactItem--primary {
  background: rgba(255, 255, 255, 0.98);
}

.hos-hero__impactValue {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
  font-weight: 800;
  color: #4e30a4;
}

.hos-hero__impactLabel {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #5b6478;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.upper-homepage-wrapper .hos-hero {
  margin-bottom: 18px;
}

/* =========================================
   Search Autocomplete
========================================= */
.hos-school-search__results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999;
  margin-top: 0;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  overflow: visible;
}

.hos-school-search__item {
  color: #444;
}

.ui-autocomplete {
  z-index: 10000 !important;
  background: #fff;
  color: #172033;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.ui-autocomplete .ui-menu-item,
.ui-autocomplete .ui-menu-item-wrapper {
  color: #172033 !important;
}

.ui-autocomplete .ui-menu-item-wrapper.ui-state-active,
.ui-autocomplete .ui-menu-item-wrapper:hover {
  background: #f3f6fb;
  color: #172033 !important;
}

.hos-school-search__results,
.hos-school-search__results * {
  color: #172033;
}

.hos-school-search__results a,
.hos-school-search__results .ui-menu-item,
.hos-school-search__results .ui-menu-item-wrapper,
.hos-school-search__results li,
.hos-school-search__results span,
.hos-school-search__results div {
  color: #172033 !important;
}

.hos-school-search__results a:hover,
.hos-school-search__results .ui-menu-item-wrapper:hover,
.hos-school-search__results .ui-state-active {
  color: #172033 !important;
  background: #f3f6fb;
}

/* =========================================
   Homepage Categories
========================================= */
.hos-home-cats {
  padding: 10px 0 8px;
}

.hos-home-cats__head {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.hos-home-cats__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2457c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hos-home-cats__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  color: #10213a;
}

.hos-home-cats__subtitle {
  margin: 0 auto;
  max-width: 92%;
  font-size: 16px;
  line-height: 1.7;
  color: #5f6f86;
}

.hos-home-cats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hos-home-cats__card {
  position: relative;
  display: block;
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hos-home-cats__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.hos-home-cats__imageWrap,
.hos-home-cats__imageWrap img {
  display: block;
  width: 100%;
  height: 100%;
}

.hos-home-cats__imageWrap {
  position: absolute;
  inset: 0;
}

.hos-home-cats__imageWrap img {
  object-fit: cover;
}

.hos-home-cats__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(9, 24, 47, 0.10) 0%,
      rgba(9, 24, 47, 0.22) 35%,
      rgba(9, 24, 47, 0.78) 100%
    );
}

.hos-home-cats__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
}

.hos-home-cats__label {
  display: block;
  color: #fff;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hos-home-cats__text {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.6;
}

.hos-home-cats__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hos-home-cats__card--school .hos-home-cats__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(9, 24, 47, 0.08) 0%,
      rgba(9, 24, 47, 0.20) 35%,
      rgba(16, 33, 58, 0.82) 100%
    );
}

.hos-home-cats__card--teacher .hos-home-cats__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(9, 24, 47, 0.08) 0%,
      rgba(9, 24, 47, 0.20) 35%,
      rgba(23, 50, 95, 0.84) 100%
    );
}

.hos-home-cats__card--bulk .hos-home-cats__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(9, 24, 47, 0.08) 0%,
      rgba(9, 24, 47, 0.20) 35%,
      rgba(29, 78, 216, 0.72) 100%
    );
}

.hos-home-cats__card--deals .hos-home-cats__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(9, 24, 47, 0.08) 0%,
      rgba(9, 24, 47, 0.20) 35%,
      rgba(21, 101, 192, 0.78) 100%
    );
}

/* =========================================
   Homepage Merch Section
========================================= */
.hos-home-merch {
  padding: 26px 24px 24px;
  border: 1px solid #e5eaf2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.hos-home-merch__head {
  margin-bottom: 18px;
}

.hos-home-merch__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2457c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hos-home-merch__title {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  color: #10213a;
}

.hos-home-merch__subtitle {
  margin: 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.65;
  color: #5f6f86;
}

.hos-home-merch__body {
  margin-top: 6px;
}

.hos-home-merch .title,
.hos-home-merch .spc-header,
.hos-home-merch .spc .title {
  display: none !important;
}

.hos-home-merch .product-grid,
.hos-home-merch .spc,
.hos-home-merch .spc-products {
  margin-top: 0 !important;
}

.hos-home-merch .item-grid {
  margin: 0 !important;
}

.hos-home-merch .item-box .product-item {
  height: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.hos-home-merch .item-box:hover .product-item {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.hos-home-merch .item-box .picture {
  margin-bottom: 14px;
  border-radius: 14px;
  background: #f8fafc;
  overflow: hidden;
}

.hos-home-merch .item-box .details {
  padding: 0 2px 4px;
}

.hos-home-merch .item-box .buttons {
  left: 14px;
  right: 14px;
}

/* =========================================
   How It Works
========================================= */
.hos-hiw {
  padding: 56px 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 24px;
}

.hos-hiw__head {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.hos-hiw__eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #2457c5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hos-hiw__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  color: #10213a;
  text-align: center;
}

.hos-hiw__subtitle {
  margin: 0 auto;
  max-width: 90%;
  font-size: 16px;
  line-height: 1.65;
  color: #5f6f86;
  text-align: center;
}

.hos-hiw__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.hos-hiw__card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e7edf6;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  text-align: left;
}

.hos-hiw__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
  border-color: #d7e4f6;
}

.hos-hiw__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #eff5ff 0%, #e6f0ff 100%);
  font-size: 28px;
  margin-bottom: 16px;
}

.hos-hiw__step {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2a66da;
  margin-bottom: 8px;
}

.hos-hiw__cardTitle {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  color: #10213a;
}

.hos-hiw__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #617086;
}

/* =========================================
   Schools Section
========================================= */
.hos-section {
  margin: 28px 0 36px;
  width: 100%;
}

.hos-sectionHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.hos-sectionHead h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.hos-sectionHead p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

.hos-miniLink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  border: 1px solid #2563eb;
  padding: 6px 12px;
  border-radius: 8px;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hos-miniLink:hover {
  background-color: #2563eb;
  color: #fff;
  text-decoration: none;
}

.page.home-page .hos-grid,
.center-1 .hos-grid,
.hos-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hos-schoolCard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  min-width: 0;
}

.hos-schoolCard:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  background: #fafafa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.hos-schoolLogo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

.hos-schoolMeta {
  flex: 1 1 auto;
  min-width: 0;
}

.hos-schoolName {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.hos-schoolLoc {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.4;
}

.hos-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hos-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.hos-partner {
  background: #dbeafe;
  color: #1d4ed8;
}

.hos-community {
  background: #f3f4f6;
  color: #374151;
}

.hos-grid--partners {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hos-schoolCard--partner {
  border-color: #dbeafe;
  background: #fff;
}

.hos-schoolCard--partner:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

/* =========================================
   Selected School Homepage
========================================= */
.hos-home-selected {
  margin: 0 0 34px;
  padding: 0 16px;
}

.hos-home-selected__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.hos-home-panel--selected-school,
.hos-home-panel--selected-categories,
.hos-home-panel--selected-bundles {
  margin-bottom: 22px;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1200px) {
  .hos-home-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hos-grid--partners {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .hos-hero {
    min-height: 520px;
  }

  .hos-hero__media {
    background-position: center;
  }

  .hos-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(9, 24, 47, 0.78) 0%,
        rgba(9, 24, 47, 0.68) 48%,
        rgba(9, 24, 47, 0.52) 100%
      );
  }

  .hos-hero__inner {
    min-height: auto;
    padding: 28px 28px 196px;
  }

  .hos-hero__content {
    max-width: none;
    text-align: center;
  }

  .hos-hero__contentInner {
    max-width: none;
  }

  .hos-hero__eyebrow {
    align-self: center;
  }

  .hos-hero__subtitle {
    max-width: none;
  }

  .hos-hero__searchWrap {
    margin: 0 auto;
  }

  .hos-hero__audienceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hos-hero__impactBar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .hos-hiw__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .page.home-page .hos-grid,
  .center-1 .hos-grid,
  .hos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .hos-homepage {
    background:
      linear-gradient(180deg, #0f172a 0, #13203a 180px, #f4f7fb 180px, #f4f7fb 100%);
  }

  .hos-home-panel,
  .hos-home-merch {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .hos-hero {
    min-height: auto;
    border-radius: 18px;
    overflow: hidden;
  }

  .hos-hero__inner {
    min-height: 0;
    padding: 24px 18px 24px;
  }

  .hos-hero__media {
    background-position: 72% 44%;
    transform: scale(1);
  }

  .hos-hero__title {
    font-size: 32px;
  }

  .hos-hero__subtitle {
    font-size: 15px;
  }

  .hos-hero__audienceGrid {
    grid-template-columns: 1fr;
  }

  .hos-hero__impactBar {
    position: static;
    margin: 0 18px 18px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hos-hero__impactItem {
    min-height: 68px;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .hos-hero__impactValue {
    font-size: 24px;
  }

  .hos-hero__impactLabel {
    font-size: 12px;
  }

  .hos-home-cats {
    padding: 4px 0 4px;
  }

  .hos-home-cats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hos-home-cats__card {
    min-height: 280px;
    border-radius: 20px;
  }

  .hos-home-cats__content {
    padding: 18px 18px 16px;
  }

  .hos-home-cats__label {
    font-size: 22px;
  }

  .hos-home-cats__text {
    font-size: 14px;
  }

  .hos-hiw {
    padding: 42px 18px;
    border-radius: 20px;
  }

  .hos-hiw__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }

  .hos-hiw__card {
    padding: 20px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    border-radius: 18px;
  }

  .hos-hiw__icon {
    margin: 0 auto 16px;
  }

  .hos-hiw__step {
    text-align: center;
  }

  .hos-hiw__cardTitle {
    font-size: 18px;
  }

  .hos-hiw__text {
    font-size: 13px;
  }

  .hos-home-selected {
    padding: 0 12px;
  }
}

@media (max-width: 640px) {
  .hos-sectionHead {
    flex-direction: column;
    align-items: flex-start;
  }

  .page.home-page .hos-grid,
  .center-1 .hos-grid,
  .hos-grid {
    grid-template-columns: 1fr !important;
  }

  .hos-container {
    width: min(100% - 20px, 1200px);
  }
}