@charset "UTF-8";

/***** Base & Core Layout Rules *****/
* {
  box-sizing: border-box;
}

html, body {
  background-color: #FFFFFF;
  color: #333333;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-top: 0;
  color: #111111;
}

h1 { font-size: 38px; font-weight: 700; margin-bottom: 4px; }
h2 { font-size: 22px; font-weight: 800; }
h3 { font-size: 18px; font-weight: 800; }

a {
  color: #666666 !important;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #000000 !important;
}

/* Forces the absolute highest parent template container to break open */
main, body > main, main#main-content, .main-layout {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Targets the specific parent element enclosing the hero component */
main > div:first-of-type, main > section:first-of-type {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/***** Fixed MoneyMatch Hero Area Settings (Full Screen Breakout) *****/
.hero, section.hero, .hero-section {
  background-image: url(/hc/theming_assets/01HZKS1EW44DV9T7DRKMBJ58FF) !important;
  background-size: 100% 100% !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  padding: 85px 20px 95px 20px !important;
  text-align: center;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto !important;
}

.hero h1 {
  color: #333333;
  font-size: 44px;
  margin-top: 15px;
  font-weight: 400 !important;

}

.hero p {
  font-size: 20px;
  color: #555555;
  margin-top: 5px;
  font-weight: 900 !important;

  margin-bottom: 20px;
}

/***** Fixed Search Bar Controls *****/
.search, .search-box, form[role="search"] {
  position: relative;
  max-width: 550px;
  margin: 20px auto 0 auto;
}

.hero input[type="search"], .hero input[type="text"], .search input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 10px 20px 10px 50px !important;
  font-size: 16px;
  border: none !important;
  border-radius: 26px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.06) !important;
  outline: none;
}

/* Restores Search icon styling if present */
.search::before, form[role="search"]::before {
  content: "🔍︎";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  color: #999999;
  z-index: 2;
}

/***** Section Headers *****/
.homepage-title, main h2, .explore-title, h2.explore-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin: 50px 0 35px 0;
  color: #222222;
}

/***** Fully Responsive Categories Grid *****/
.blocks-list, .category-grid, .promoted-articles ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 30px auto;
  padding: 0 20px;
  list-style: none;
  max-width: 1160px;
}

/* Category Grid Block Box Panels */
.blocks-item, .category-item, .blocks-list li {
  background: #F9F9F9;
  border: none;
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blocks-item:hover, .category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.05);
}

/* Circular Icon Adjustments */
.blocks-item img, .category-item img, .blocks-list img {
  max-width: 180px;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  display: inline-block;
}

.blocks-item-title, .category-item-title, .blocks-list li a {
  font-size: 18px;
  font-weight: 700;
  color: #333333 !important;
  margin-top: 10px;
  display: block;
}

/***** Header Logo Adjustments *****/
header.header, .nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #FFFFFF;
}

.logo img {
  max-height: 35px;
}

.login-btn, .button-secondary {
  border: 1px solid #333333;
  border-radius: 24px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: #333333 !important;
}

/***** Mobile Media Breakpoint Responsive Rules *****/
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .blocks-list { grid-template-columns: 1fr; gap: 20px; }
}

/* ========================================================
   FINAL PERFECT HERO AREA & SEARCH FIX
   ======================================================== */

/* 1. Force the banner section to go 100% full screen edge-to-edge */
.hero, section.hero, .section.hero {
  background-image: url(/hc/theming_assets/01HZKS1EW44DV9T7DRKMBJ58FF) !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  text-align: center !important;
  
  /* Absolute breakout values to shatter container walls */
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  
  /* Compresses the layout up so search sits cleanly above the fold */
  padding: 40px 0 60px 0 !important; 
}

/* Force Zendesk container wrappers to allow visual breakouts */
.sub-nav, main, .main-content {
  overflow: visible !important;
}

/* 2. Style the search container to match previous layout exactly */
.search, .search-box, form[role="search"], .search-full {
  max-width: 550px !important;
  margin: 15px auto 0 auto !important;
  position: relative !important;
}

/* 3. Style the input field (White background, light gray borders, proper height) */
.hero input[type="search"], 
.hero input[type="text"], 
.search input, 
input.search-full {
  background-color: #FFFFFF !important;
  border: 1px solid #D1D5DB !important; /* Proper gray outline like your previous screenshot */
  border-radius: 30px !important;       
  height: 46px !important;
  font-size: 15px !important;
  padding: 0 20px 0 45px !important;    
  color: #333333 !important;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
}

/* 4. Force the search icon to change from blue to gray */
.search::before, 
form[role="search"]::before, 
.search-box::before,
.search-full svg,
.search svg,
.search-box svg {
  color: #9CA3AF !important; /* Clean gray color for the magnifying glass */
  fill: #9CA3AF !important;  
}

/* Align native Zendesk search icons precisely inside the container bar */
.search-full svg, .search svg, .search-box svg {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
}
.hero input::placeholder, 
.hero input::-webkit-input-placeholder, 
.search input::placeholder, 
input.search-full::placeholder {
  font-weight: 400 !important;
  font-size: 17px !important;

}
