/* HTNS v235 — Home color parity with Upcoming Events.
 * Color-only pass: preserve all Home geometry and behavior while making the
 * Home cards use the same premium cool-blue / white effect as event cards.
 */

html.htns-theme-v234 #mainApp #view-home .hero.assignment-hero,
html.htns-theme-v234 #mainApp #view-home .home-next-sermon-ref .home-sermon-card,
html.htns-theme-v234 #mainApp #view-home .home-next-worship-ref .home-worship-card,
html.htns-theme-v234 #mainApp #view-home .home-bottom-ref .home-next-event-ref,
html.htns-theme-v234 #mainApp #view-home .home-bottom-ref .home-next-event-main,
html.htns-theme-v234 #mainApp #view-home .home-team-card,
html.htns-theme-v234 #mainApp #view-home .home-quick,
html.htns-theme-v234 #mainApp #view-home .mini-tile{
  background:linear-gradient(100deg,#ffffff 0%,#f8fbfe 70%,#edf5fa 100%) !important;
  background-image:linear-gradient(100deg,#ffffff 0%,#f8fbfe 70%,#edf5fa 100%) !important;
  color:#15385d !important;
  border-color:#a9bfd1 !important;
  box-shadow:none !important;
}

/* Remove legacy warm/gold side accents on the four highlighted Home cards. */
html.htns-theme-v234 #mainApp #view-home .hero.assignment-hero::before,
html.htns-theme-v234 #mainApp #view-home .home-next-sermon-ref .home-sermon-card::before,
html.htns-theme-v234 #mainApp #view-home .home-next-worship-ref .home-worship-card::before,
html.htns-theme-v234 #mainApp #view-home .home-bottom-ref .home-next-event-ref::before,
html.htns-theme-v234 #mainApp #view-home .home-bottom-ref .home-next-event-main::before{
  background:#8fb2c8 !important;
  background-image:none !important;
  box-shadow:none !important;
  opacity:.55 !important;
}

/* Match the event-page date tile effect. */
html.htns-theme-v234 #mainApp #view-home .assignment-hero-icon,
html.htns-theme-v234 #mainApp #view-home .home-sermon-date,
html.htns-theme-v234 #mainApp #view-home .home-worship-date,
html.htns-theme-v234 #mainApp #view-home .home-event-date,
html.htns-theme-v234 #mainApp #view-home .event-chip.home-event-date,
html.htns-theme-v234 #mainApp #view-home .sunday-hero-icon,
html.htns-theme-v234 #mainApp #view-home .home-team-icon,
html.htns-theme-v234 #mainApp #view-home .home-team-role-icon,
html.htns-theme-v234 #mainApp #view-home .home-quick .qi{
  background:linear-gradient(180deg,#ffffff 0%,#eef5fa 100%) !important;
  background-image:linear-gradient(180deg,#ffffff 0%,#eef5fa 100%) !important;
  color:#15385d !important;
  border-color:#a9bfd1 !important;
  box-shadow:none !important;
}

html.htns-theme-v234 #mainApp #view-home .home-sermon-date small,
html.htns-theme-v234 #mainApp #view-home .home-worship-date small,
html.htns-theme-v234 #mainApp #view-home .home-event-date small,
html.htns-theme-v234 #mainApp #view-home .event-chip.home-event-date small{
  color:#4b82a8 !important;
}
html.htns-theme-v234 #mainApp #view-home .home-sermon-date b,
html.htns-theme-v234 #mainApp #view-home .home-worship-date b,
html.htns-theme-v234 #mainApp #view-home .home-event-date b,
html.htns-theme-v234 #mainApp #view-home .event-chip.home-event-date b{
  color:#123b67 !important;
}

/* Home labels and secondary copy should use cool event-like blue-gray tones. */
html.htns-theme-v234 #mainApp #view-home .assignment-hero .kicker,
html.htns-theme-v234 #mainApp #view-home .home-card-kicker,
html.htns-theme-v234 #mainApp #view-home .home-sermon-kicker,
html.htns-theme-v234 #mainApp #view-home .home-worship-kicker,
html.htns-theme-v234 #mainApp #view-home .home-event-kicker{
  color:#58748a !important;
  text-shadow:none !important;
}
html.htns-theme-v234 #mainApp #view-home .assignment-hero h3,
html.htns-theme-v234 #mainApp #view-home .home-sermon-pastor b,
html.htns-theme-v234 #mainApp #view-home .home-sermon-support b,
html.htns-theme-v234 #mainApp #view-home .home-worship-song-list,
html.htns-theme-v234 #mainApp #view-home .home-event-title,
html.htns-theme-v234 #mainApp #view-home .home-team-title,
html.htns-theme-v234 #mainApp #view-home .home-section-title{
  color:#123b67 !important;
  text-shadow:none !important;
}
html.htns-theme-v234 #mainApp #view-home .assignment-hero .meta,
html.htns-theme-v234 #mainApp #view-home .home-event-copy .muted,
html.htns-theme-v234 #mainApp #view-home .home-team-count{
  color:#71879a !important;
}

/* Same pale-blue badge language as Upcoming Events. */
html.htns-theme-v234 #mainApp #view-home .home-event-church-only-badge,
html.htns-theme-v234 #mainApp #view-home .home-team-live,
html.htns-theme-v234 #mainApp #view-home .my-schedule-role,
html.htns-theme-v234 #mainApp #view-home .badge,
html.htns-theme-v234 #mainApp #view-home .pill{
  background:#edf4fa !important;
  background-image:none !important;
  color:#15385d !important;
  border-color:#bfd2e1 !important;
  box-shadow:none !important;
}

/* Sunday Team date and disclosure controls match event controls. */
html.htns-theme-v234 #mainApp #view-home .home-team-date,
html.htns-theme-v234 #mainApp #view-home .home-team-chevron{
  background:#f7fbfe !important;
  background-image:none !important;
  color:#15385d !important;
  border-color:#bfd2e1 !important;
  box-shadow:none !important;
}
html.htns-theme-v234 #mainApp #view-home .home-team-card-head{
  background:transparent !important;
  background-image:none !important;
  border-color:#dbe6ee !important;
  box-shadow:none !important;
}

/* Keep members/expanded rows in the same quiet cool-blue family. */
html.htns-theme-v234 #mainApp #view-home .home-team-member,
html.htns-theme-v234 #mainApp #view-home .home-team-member.mine,
html.htns-theme-v234 #mainApp #view-home .home-team-person-chip,
html.htns-theme-v234 #mainApp #view-home .home-singers-inline-card,
html.htns-theme-v234 #mainApp #view-home .home-team-open-row,
html.htns-theme-v234 #mainApp #view-home .home-team-empty{
  background:#f8fbfe !important;
  background-image:none !important;
  color:#15385d !important;
  border-color:#d3e0eb !important;
  box-shadow:none !important;
}

/* View My Schedule and Quick Actions use the same flat event-page control tone. */
html.htns-theme-v234 #mainApp #view-home .assignment-hero .actions .btn,
html.htns-theme-v234 #mainApp #view-home .home-quick{
  background:#f8fbfe !important;
  background-image:none !important;
  color:#15385d !important;
  border-color:#a9bfd1 !important;
  box-shadow:none !important;
  text-shadow:none !important;
}
html.htns-theme-v234 #mainApp #view-home .assignment-hero .actions .btn:active,
html.htns-theme-v234 #mainApp #view-home .home-quick:active{
  background:#eaf2f9 !important;
  box-shadow:none !important;
  transform:none !important;
}

/* Coordinated dark-mode color parity without geometry changes. */
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .hero.assignment-hero,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-sermon-card,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-worship-card,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-next-event-ref,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-next-event-main,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-team-card,
html.htns-theme-v234[data-theme="dark"] #mainApp #view-home .home-quick{
  background:linear-gradient(100deg,#173448 0%,#19384c 72%,#1e4156 100%) !important;
  border-color:#4f7588 !important;
  color:#e6f1f6 !important;
}
