/* ============================================================
   Suran Help Center — full custom CSS
   ============================================================ */
/* ===== Landing hero + product cards ===== */
/* 1. ONE background photo across the whole hero + vertical centering */
main.article-overview-page.detail-layout {
  background:
    linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.3)),
    var(--theme-banner-image) center top / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80vh;
}
.banner {
  background: none !important;
}
/* 2. Remove search + intro + theme's content heading */
.banner search-bar { display: none !important; }
.drawer-search     { display: none !important; }
.intro             { display: none !important; }
.pages > h2        { display: none !important; }
/* 3. Hero heading */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  /* moved title down but kept close */
  padding: 3.5rem 1rem .25rem;
}
.banner::before {
  content: "Which product do you use?";
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.01em;
  text-shadow:
    0 2px 14px rgba(0,0,0,.45);
  font-family:
    'Roboto',
    sans-serif;
}
/* 4. Two columns */
main .pages .items.tiles {
  display: grid !important;
  grid-template-columns: repeat(2, 380px) !important;
  justify-content: center !important;
  gap: clamp(2.5rem, 16vw, 20rem) !important;
  margin: 0 auto !important;
  /* closer to heading */
  padding: .25rem 1rem 2rem !important;
}
main .pages .items.tiles > li {
  margin: 0 !important;
  list-style: none;
}
@media (max-width: 800px) {
  main.article-overview-page.detail-layout {
    min-height: 75vh;
  }
  .banner {
    padding:
      2rem 1rem .25rem;
  }
  main .pages .items.tiles {
    grid-template-columns:
      minmax(0, 300px) !important;
    gap:
      2.5rem !important;
    padding:
      .25rem 1rem 1.5rem !important;
  }
}
/* 5. The card */
.tile {
  position: relative;
  display: flex;
  width: 325px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 48px;
  box-shadow:
    0 22px 50px rgba(0,0,0,.4);
  transition:
    transform .15s ease,
    box-shadow .15s ease;
}
.tile:hover {
  transform:
    translateY(-5px);
  box-shadow:
    0 30px 60px rgba(0,0,0,.5);
}
.tile-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
/* 6. Gradient + logos */
main .items.tiles > li:nth-child(1) .tile {
  background:
    url("https://www.cdmplus.com/wp-content/uploads/2024/03/cdm-desktop.png")
    center 10% / 85% auto no-repeat,
    #f84368;
}
main .items.tiles > li:nth-child(2) .tile {
  background:
    url("https://www.cdmplus.com/wp-content/uploads/2024/03/essentials.png")
    center 10% / 85% auto no-repeat,
    #31cde0;
}
/* 7. Card text */
.tile-body {
  flex: 1;
  width: 100%;
  padding-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}
.tile-title {
  font-size: 0;
  margin: 0;
}
.tile-text {
  font-size: 0;
}
main .items.tiles > li:nth-child(1) .tile-text::after {
  content:
    "Full CDM+ Suite\A"
    "(Most Common)";
}
main .items.tiles > li:nth-child(2) .tile-text::after { content: "Fundraising & Donor\A" "Management Software"; }
.tile-text::after {
  display: block;
  color: #fff;
  max-width: 16rem;
  white-space: pre-line;
  font-family:
    "Roboto",
    system-ui,
    sans-serif;
  font-weight: 700;
  /* increased */
  font-size: 1.55rem;
  line-height: 1.3;
}
/* ===== "Get CDM+" desktop header dropdown ===== */
.header-links .get-cdm-item {
  position: relative;
}
.header-links .get-cdm-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3em;
}
.header-links .get-cdm-caret {
  font-size: .7em;
}
.header-links .get-cdm-menu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  z-index: 100;
  display: flex !important;
  flex-direction: column !important;
  width: 185px;
  margin: 0;
  padding: .4rem 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow:
    0 12px 30px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform:
    translateY(6px);
  transition:
    opacity .12s ease,
    transform .12s ease;
}
.header-links .get-cdm-menu > li {
  width: 100% !important;
  margin: 0 !important;
  order: 0 !important;
}
.header-links .get-cdm-item:hover .get-cdm-menu,
.header-links .get-cdm-item:focus-within .get-cdm-menu {
  opacity: 1;
  visibility: visible;
  transform:
    translateY(0);
}
.header-links .get-cdm-menu a,
.header-links .get-cdm-menu a:visited {
  display: block;
  width: 100%;
  padding: .5rem 1rem;
  white-space: normal;
  line-height: 1.3;
  color: #1a1a1a !important;
  font-weight: 600;
  text-decoration: none;
}
.header-links .get-cdm-menu a:hover {
  background:
    rgba(0,0,0,.06);
}
.header-links .get-cdm-item.get-cdm-closed .get-cdm-menu {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* ===== Mobile drawer ===== */
.drawer-links .get-cdm-details > summary {
  cursor: pointer;
  list-style: none;
}
.drawer-links .get-cdm-details > summary::after {
  content: "\25BE";
  float: right;
  font-size: .8em;
  transition:
    transform .15s ease;
}
.drawer-links .get-cdm-details[open] > summary::after {
  transform:
    rotate(180deg);
}
.drawer-links .get-cdm-submenu {
  list-style: none;
  margin:
    .25rem 0 .5rem;
  padding-left:
    1rem;
}
.drawer-links .get-cdm-submenu a,
.drawer-links .get-cdm-submenu a:visited {
  display: block;
  padding:
    .5rem 0;
  color:
    inherit !important;
}