/* Grady's Decision Joomla 6 finishing styles — 2026-08-07 */
.sp-retina-logo,
img[class*="sp-retina-logo"] {
  display: none !important;
}

.sppb-slideshow-fullwidth-item .sppb-slide-item-bg,
.sppb-addon-sp-slider .sppb-slide-item-bg {
  background-color: rgba(3, 37, 57, 0.58) !important;
  background-blend-mode: multiply;
}

.sppb-slideshow-fullwidth-item-text,
.sppb-slideshow-fullwidth-item-text h1,
.sppb-slideshow-fullwidth-item-text h2,
.sppb-slideshow-fullwidth-item-text p {
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.92);
}

.sppb-slideshow-fullwidth-item-text h1,
.sppb-slideshow-fullwidth-item-text h2 {
  font-size: clamp(3rem, 6vw, 6.75rem) !important;
  line-height: 1.02 !important;
  max-width: 1100px;
}

.sppb-slideshow-fullwidth-item-text p {
  font-size: clamp(1.1rem, 1.7vw, 1.55rem) !important;
  line-height: 1.4 !important;
  max-width: 950px;
  font-weight: 600;
}

.sppb-slideshow-fullwidth-item-text .sppb-btn {
  text-shadow: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
}

#sp-bottom1 img,
#sp-bottom1 .sppb-img-responsive {
  width: 150px;
  height: auto;
}

@media (max-width: 767px) {
  .sppb-slideshow-fullwidth-item-text h1,
  .sppb-slideshow-fullwidth-item-text h2 {
    font-size: clamp(2.35rem, 13vw, 4rem) !important;
  }

  .sppb-slideshow-fullwidth-item-text {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* Sticky navigation: high contrast over slideshow imagery */
#sp-header.menu-fixed {
  background: #06344d !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .32);
}
#sp-header.menu-fixed .sp-megamenu-parent > li > a,
#sp-header.menu-fixed .sp-megamenu-parent > li > span,
#sp-header.menu-fixed .sp-menu-item > a {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
#sp-header.menu-fixed .sp-megamenu-parent > li.active > a,
#sp-header.menu-fixed .sp-megamenu-parent > li:hover > a,
#sp-header.menu-fixed .sp-megamenu-parent > li > a:focus {
  color: #52d7ff !important;
}
#sp-header.menu-fixed .sp-dropdown-inner {
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
}
#sp-header.menu-fixed .sp-dropdown-inner a {
  color: #06344d !important;
  text-shadow: none;
}
#sp-header.menu-fixed .sp-dropdown-inner a:hover,
#sp-header.menu-fixed .sp-dropdown-inner .active > a {
  color: #008fbe !important;
}

/* Replace missing Hope demo imagery with Grady's Decision photography */
.sp-page-title {
  background-image: linear-gradient(rgba(4, 35, 53, .48), rgba(4, 35, 53, .48)), url('../../../images/gradysdecision/subnavigation-bg2.jpg') !important;
  background-size: cover !important;
  background-position: center 46% !important;
}
.sp-page-title h1,
.sp-page-title h2,
.sp-page-title .sp-page-title-heading {
  color: #ffffff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
}
.hope-become-a-volunteer {
  background-image: linear-gradient(rgba(3, 37, 57, .64), rgba(3, 37, 57, .64)), url('../../../images/gradysdecision/GD-slide2.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}
.hope-become-a-volunteer,
.hope-become-a-volunteer h1,
.hope-become-a-volunteer h2,
.hope-become-a-volunteer h3,
.hope-become-a-volunteer p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .72);
}

/* Native Joomla article presentation */
.com-content-article .article-details,
.view-article .article-details {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 28px 90px;
}
.com-content-article .article-details h2,
.view-article .article-details h2 {
  color: #06344d;
  margin-top: 2rem;
}
.com-content-article .lead,
.view-article .lead {
  color: #596875;
  font-size: 1.25rem;
  line-height: 1.65;
}
.com-content-article blockquote,
.view-article blockquote {
  border-left: 5px solid #0098c9;
  background: #f2f8fb;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.com-content-article blockquote footer,
.view-article blockquote footer {
  color: #06344d;
  font-weight: 700;
}
.gd-event-card {
  border: 1px solid #d9e5ea;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  box-shadow: 0 8px 24px rgba(3, 37, 57, .08);
}
.gd-event-status,
.gd-role {
  color: #008fbe;
  font-weight: 800;
  letter-spacing: .02em;
}
.gd-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 2rem;
}
.gd-board-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 20px;
  background: #f5f9fb;
  border-radius: 12px;
  border-top: 4px solid #0098c9;
}
.gd-board-card img {
  width: 160px;
  height: 205px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}
.gd-board-card h3 {
  color: #06344d;
  margin: 0 0 .25rem;
}
.gd-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.gd-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #06344d;
  border-radius: 10px;
}
.gd-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.gd-poem {
  max-width: 620px;
  padding: 30px;
  background: #f2f8fb;
  border-left: 5px solid #0098c9;
}

@media (max-width: 900px) {
  .gd-board-grid,
  .gd-video-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .gd-board-card {
    grid-template-columns: 1fr;
  }
  .gd-board-card img {
    width: 100%;
    height: 320px;
  }
}


/* Native Joomla article hero and content card */
.view-article .item.item-page > .page-header {
  width: 100vw;
  max-width: none !important;
  min-height: 340px;
  margin: 0 0 0 calc(50% - 50vw) !important;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(4, 35, 53, .48), rgba(4, 35, 53, .48)), url('../../../images/gradysdecision/subnavigation-bg2.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
}
.view-article .item.item-page > .page-header h1 {
  color: #ffffff !important;
  font-size: clamp(3rem, 6vw, 6rem) !important;
  line-height: 1 !important;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .84);
}
.view-article .item.item-page > .article-info-wrap {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 42px 30px 65px;
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(3, 37, 57, .08);
}
.view-article .article-info-wrap .entry-header {
  display: none;
}
.view-article .article-info-wrap h2 {
  color: #06344d;
  margin-top: 2rem;
}
.view-article .article-info-wrap .lead {
  color: #596875;
  font-size: 1.25rem;
  line-height: 1.65;
}


/* CODEX: legacy homepage parity */
.gd-tagline-graphic {
  display: block;
  width: min(390px, 72vw);
  height: auto;
  margin: 0 0 20px;
  padding: 9px 14px;
  border-radius: 5px;
  background: rgba(255,255,255,.93);
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.35));
}
.gd-section-heading .sppb-addon-content { max-width: 760px; margin: 0 auto; }
.gd-home-media .sppb-column { height: 100%; }
.gd-home-media .sppb-addon-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7,47,74,.14);
}
.gd-home-video .sppb-embed-responsive,
.gd-home-video iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7,47,74,.18);
}
.gd-home-counters .sppb-animated-number,
.gd-home-counters .sppb-addon-title,
.gd-home-counters .sppb-addon-content { color: #fff !important; }
.gd-home-counters .sppb-animated-number { text-shadow: 0 2px 5px rgba(0,0,0,.35); }
.gd-home-events .sppb-addon-upcoming-events { margin-bottom: 28px; }
.gd-home-events .sppb-addon-upcoming-events img { border-radius: 6px; }
.gd-news-card {
  padding: 24px;
  border-left: 4px solid #079aca;
  background: #fff;
  box-shadow: 0 8px 25px rgba(7,47,74,.08);
}
.gd-home-testimonials .sppb-column { height: 100%; }
.gd-testimonial-card {
  height: 100%;
  padding: 28px;
  border-top: 4px solid #079aca;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(7,47,74,.10);
}
.gd-testimonial-card blockquote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #4f6070;
  font-size: 17px;
  line-height: 1.7;
}
.gd-story-link { font-weight: 700; }
.gd-sponsor-list .sppb-client-wrap {
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gd-sponsor-list img {
  width: auto !important;
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}
.gd-site-copyright {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  font-size: 14px;
  opacity: .9;
}
@media (max-width: 767px) {
  .gd-tagline-graphic { width: min(300px, 78vw); }
  .gd-home-media .sppb-column,
  .gd-home-testimonials .sppb-column { margin-bottom: 28px; }
  .gd-testimonial-card { height: auto; }
  .gd-home-counters .sppb-column { margin-bottom: 30px; }
}


/* CODEX: homepage parity refinements */
.gd-home-events .sppb-column {
  background: transparent !important;
  background-image: none !important;
}
.gd-home-events .sppb-col-md-4 > .sppb-column {
  padding: 28px !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 9px 28px rgba(7,47,74,.10);
}
.gd-date-tba { font-size: .62em; }
.gd-latest-news,
.gd-latest-news h3,
.gd-latest-news p,
.gd-news-card,
.gd-news-card h3,
.gd-news-card p { color: #35495a !important; }
.gd-testimonial-heading .sppb-addon-content { color: #536576 !important; }


/* CODEX: homepage parity refinements v2 */
.sppb-slideshow-full-sub-title img.gd-tagline-graphic,
img.gd-tagline-graphic {
  width: 370px !important;
  max-width: 72vw !important;
  height: auto !important;
}
.gd-home-events .sppb-column {
  background: transparent !important;
  background-image: none !important;
}
.gd-home-events .sppb-col-md-4 > .sppb-column {
  padding: 28px !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 9px 28px rgba(7,47,74,.10);
}
.gd-date-tba { font-size: .62em; }
.gd-latest-news,
.gd-latest-news h3,
.gd-latest-news p,
.gd-news-card,
.gd-news-card h3,
.gd-news-card p { color: #35495a !important; }
.gd-testimonial-heading .sppb-addon-content { color: #536576 !important; }
@media (max-width: 767px) {
  .sppb-slideshow-full-sub-title img.gd-tagline-graphic,
  img.gd-tagline-graphic { width: 285px !important; max-width: 78vw !important; }
}


/* CODEX: branded native footer */
#sp-bottom {
  padding: 0 !important;
  background: #072f4a !important;
  color: #dce8ef;
}
#sp-bottom > .container { max-width: 1200px; }
#sp-bottom1,
#sp-bottom1 .sp-module { width: 100%; margin: 0; }
.gd-footer-main,
.gd-footer-copyright-row { background: #072f4a !important; }
.gd-footer-main h3 {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: 23px;
}
.gd-footer-main p { color: #dce8ef !important; line-height: 1.7; }
.gd-footer-main a { color: #49c4e8 !important; }
.gd-footer-logo img { width: 210px !important; max-width: 100%; height: auto; }
.gd-site-copyright {
  margin-top: 0;
  color: #b9cbd6 !important;
  border-top-color: rgba(255,255,255,.18);
}
.gd-site-copyright p { color: #b9cbd6 !important; }
@media (max-width: 767px) {
  .gd-footer-main .sppb-column { margin-bottom: 28px; }
  .gd-footer-main,
  .gd-footer-copyright-row { text-align: center; }
  .gd-footer-about,
  .gd-footer-contact { text-align: center !important; }
}


/* CODEX: homepage parity refinements v3 */
.sppb-slideshow-full-sub-title img.gd-tagline-graphic,
img.gd-tagline-graphic {
  width: 370px !important;
  max-width: 72vw !important;
  height: auto !important;
}
.gd-home-events .sppb-column {
  background: transparent !important;
  background-image: none !important;
}
.gd-home-events .sppb-col-md-4 > .sppb-column {
  padding: 28px !important;
  border-radius: 6px;
  background: #fff !important;
  box-shadow: 0 9px 28px rgba(7,47,74,.10);
}
.gd-date-tba { font-size: .62em; }
.gd-home-events .sppb-addon-upcoming-events h4 a {
  color: #072f4a;
  text-decoration: none;
}
.gd-home-events .sppb-addon-upcoming-events h4 a:hover { color: #079aca; }
.gd-latest-news,
.gd-latest-news h3,
.gd-latest-news p,
.gd-news-card,
.gd-news-card h3,
.gd-news-card p { color: #35495a !important; }
.gd-testimonial-heading .sppb-addon-content { color: #536576 !important; }
@media (max-width: 767px) {
  .sppb-slideshow-full-sub-title img.gd-tagline-graphic,
  img.gd-tagline-graphic { width: 285px !important; max-width: 78vw !important; }
}

/* CODEX: sponsor carousel, exact legacy events, and inside headers */
#sp-page-title .sp-page-title {
  background-image: url("../../../images/gradysdecision/subnavigation-bg2.jpg") !important;
  background-color: rgba(4, 35, 53, .48) !important;
  background-blend-mode: multiply;
  background-position: center center !important;
  background-size: cover !important;
}
#sp-page-title .sp-page-title h2 {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .72);
}
.gd-home-events .event-image {
  display: none !important;
}
.gd-home-events .upcoming-events-details-top-wrapper,
.gd-home-events .event-address {
  width: 100% !important;
}
.gd-home-events .sppb-addon-upcoming-events {
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(7, 47, 74, .10);
}
.gd-home-events .sppb-addon-upcoming-events .sppb-addon-content {
  display: flex;
  align-items: stretch;
}
.gd-home-events .upcoming-events-date {
  min-width: 100px;
  padding: 24px 14px !important;
  background: #072f4a;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}
.gd-home-events .upcoming-events-date .major-color {
  color: #20b9e8 !important;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}
.gd-home-events .upcoming-events-details {
  padding: 23px 26px !important;
}
.gd-home-events .upcoming-events-details-bottom-wrapper p {
  margin-bottom: 10px;
}
.gd-event-readmore {
  color: #079aca;
  font-weight: 700;
  text-decoration: none;
}
.gd-event-readmore:hover { color: #072f4a; }
.gd-news-card h3 a { color: #072f4a; }
.gd-legacy-news-date { margin-top: 18px; font-size: 14px; font-weight: 700; }
.gd-sponsor-carousel {
  overflow: hidden;
  padding: 6px 54px;
}
.gd-sponsor-carousel .sppb-carousel-extended-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 156px !important;
  padding: 10px 16px;
  border: 1px solid #e0e8ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(7, 47, 74, .08);
}
.gd-sponsor-carousel .sppb-carousel-extended-item img {
  width: 100% !important;
  max-width: 432px !important;
  height: auto !important;
  max-height: 132px !important;
  object-fit: contain !important;
}
.gd-sponsor-carousel .sppb-carousel-extended-content-wrap {
  display: none !important;
}
.gd-sponsor-carousel .sppb-carousel-extended-nav-control .nav-control {
  box-shadow: 0 4px 14px rgba(7, 47, 74, .14);
}
@media (max-width: 767px) {
  .gd-home-events .sppb-addon-upcoming-events .sppb-addon-content { display: block; }
  .gd-home-events .upcoming-events-date { width: 100%; min-width: 0; }
  .gd-sponsor-carousel { padding-right: 42px; padding-left: 42px; }
}
/* END CODEX: sponsor carousel, exact legacy events, and inside headers */

/* CODEX: exact legacy News & Events content */
.gd-exact-legacy-content .gd-events-group-title {
  margin: 64px 0 18px;
  color: #079aca;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.gd-exact-legacy-content .gd-events-group-title:first-child { margin-top: 0; }
.gd-exact-legacy-event {
  overflow: auto;
  padding: 30px 0 40px;
  border-bottom: 1px solid #dfe7ec;
}
.gd-exact-legacy-event h3 {
  margin: 0 0 24px;
  color: #072f4a;
  font-size: 30px;
  line-height: 1.2;
}
.gd-exact-legacy-event h1,
.gd-exact-legacy-event h2 {
  color: #072f4a;
  font-size: 30px;
  line-height: 1.2;
}
.gd-exact-legacy-event .gd-event-detail-image {
  float: right;
  width: min(42%, 420px);
  height: auto;
  margin: 0 0 24px 32px;
  border-radius: 7px;
  box-shadow: 0 8px 28px rgba(7, 47, 74, .13);
}
.gd-exact-legacy-event a { font-weight: 700; }
@media (max-width: 767px) {
  .gd-exact-legacy-event .gd-event-detail-image {
    float: none;
    width: 100%;
    max-width: 500px;
    margin: 0 0 24px;
  }
}
/* END CODEX: exact legacy News & Events content */

/* CODEX: testimonial title leading */
.gd-testimonial-card .sppb-addon-title {
  line-height: 1.16 !important;
}
/* END CODEX: testimonial title leading */

/* CODEX: embedded Get Help form */
.gd-get-help-form-section .sppb-row-container {
  max-width: 1180px;
}
.gd-get-help-form-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}
.gd-get-help-form-heading .sppb-addon-content {
  color: #526576;
  font-size: 18px;
  line-height: 1.65;
}
.gd-get-help-iframe-wrap {
  overflow: hidden;
  width: 100%;
  min-height: 2800px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(7, 47, 74, .12);
}
.gd-get-help-iframe {
  display: block;
  width: 100%;
  min-height: 2800px;
  border: 0;
  background: #fff;
}
.gd-get-help-form-fallback {
  margin: 16px 0 0;
  color: #526576;
  text-align: center;
  font-size: 14px;
}
.gd-get-help-form-fallback a {
  color: #079aca;
  font-weight: 700;
}
@media (max-width: 767px) {
  .gd-get-help-form-section { padding: 58px 0 68px !important; }
  .gd-get-help-form-heading .sppb-addon-title { font-size: 34px !important; line-height: 1.2 !important; }
  .gd-get-help-iframe-wrap,
  .gd-get-help-iframe { min-height: 2800px; }
}
/* END CODEX: embedded Get Help form */

/* CODEX: footer social links */
.gd-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.gd-footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.gd-footer-social a:hover,
.gd-footer-social a:focus {
  border-color: #49c4e8;
  background: #079aca;
  color: #fff !important;
  transform: translateY(-1px);
}
.gd-footer-social i { font-size: 18px; }
@media (max-width: 767px) {
  .gd-footer-social { justify-content: center; }
}
/* END CODEX: footer social links */

/* BEGIN CODEX: native form styling */
.gd-form-page .sppb-row-container,
.volunteer-contact-form .sppb-row-container,
.contact-form-section .sppb-row-container {
  max-width: 980px;
}
.gd-native-form .sppb-form-group { margin-bottom: 18px; }
.gd-native-form label {
  display: block;
  margin-bottom: 7px;
  color: #072f4a;
  font-weight: 700;
}
.gd-native-form .sppb-form-control {
  width: 100%;
  min-height: 48px;
  border: 1px solid #b9c8d2;
  border-radius: 6px;
  background: #fff;
  color: #263f50;
  box-shadow: none;
}
.gd-native-form textarea.sppb-form-control { min-height: 155px; }
.gd-native-form .sppb-form-control:focus {
  border-color: #079aca;
  box-shadow: 0 0 0 3px rgba(7, 154, 202, .16);
  outline: 0;
}
.gd-native-form .sppb-form-builder-btn { margin-top: 8px; }
.gd-native-form .sppb-form-builder-btn .sppb-btn {
  min-height: 48px;
  font-weight: 700;
}
.gd-native-form .sppb-form-check { margin: 14px 0; }
.gd-native-form .sppb-form-check a { color: #079aca; font-weight: 700; }
.gd-form-intro { margin-bottom: 28px; }
.gd-form-intro .sppb-addon-content { color: #526576; font-size: 18px; line-height: 1.65; }
/* END CODEX: native form styling */


/* Hide Hope's malformed desktop-logo output on mobile. */
@media (max-width: 991.98px) {
  #sp-header img[class*="sp-default-logod-none"] {
    display: none !important;
  }
}
