.footer_area {
	padding-top:  30px;
	color:  #9fb7db;
	background-color:#2d3e50;
	box-shadow: 0 50vh 0 50vh #2d3e50;
}

.footer-nav-link a:link {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-link a:visited  {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-link a:active {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-link a:hover {
	color: #c4d2e7;
	text-decoration: underline;
}
.footer-nav-item {
	color: #c4d2e7;
}
.footer-nav-item a:link {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-item a:visited  {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-item a:active {
	color: #c4d2e7;
	text-decoration: none;
}
.footer-nav-item a:hover {
	color: #7fd1de;
}
.footer_pristine_cms_copyright {
	color: #c4d2e7;
}
.footer_pristine_cms_copyright a:link {
	color: #c4d2e7;
	text-decoration: none;
}
.footer_pristine_cms_copyright a:visited  {
	color: #c4d2e7;
	text-decoration: none;
}
.footer_pristine_cms_copyright a:active {
	color: #c4d2e7;
	text-decoration: none;
}
.footer_pristine_cms_copyright a:hover {
	color: #7fd1de;
}
#pg-subscribe-bar{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  transform: translateY(110%);
  transition: transform .35s ease;
  background: rgba(10,10,10,.95);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.15);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
#pg-subscribe-bar.pg-show{ transform: translateY(0); }

.pg-subscribe-inner{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.pg-subscribe-text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}
.pg-subscribe-text span{ opacity: .85; font-size: .95rem; }

#pg-subscribe-form{ display:flex; gap:10px; align-items:center; }
#pg-email{
  width: min(320px, 55vw);
  padding: 9px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.07);
  color: #fff;
  outline: none;
}
#pg-email::placeholder{ color: rgba(255,255,255,.65); }

#pg-subscribe-form button{
  padding: 9px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}

#pg-subscribe-close{
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
}

.pg-sr-only{
  position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;
}
.pg-honeypot{
  position:absolute;
  left:-5000px;
}

/* --- Mobile fixes for bottom subscribe bar --- */
#pg-subscribe-bar{
  /* helps iOS Safari + notch devices */
  padding-bottom: env(safe-area-inset-bottom);
}

/* Let the row wrap on smaller screens */
.pg-subscribe-inner{
  flex-wrap: wrap;
}

/* Mobile layout: stack text + form, keep close button usable */
@media (max-width: 640px){
  #pg-subscribe-bar{
    /* slightly less “heavy” on mobile */
    border-top: 1px solid rgba(255,255,255,.18);
  }

  .pg-subscribe-inner{
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) 12px;
    max-width: 100%;
  }

  .pg-subscribe-text{
    width: 100%;
  }

  .pg-subscribe-text strong{
    font-size: 1rem;
  }

  .pg-subscribe-text span{
    font-size: .92rem;
    opacity: .85;
  }

  #pg-subscribe-form{
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  #pg-subscribe-form input{
    width: 100%;
    min-width: 0;
  }

  #pg-subscribe-form button{
    width: 100%;
  }

  /* Put the X in the top-right corner of the bar */
  #pg-subscribe-close{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  /* Give the close button space so it doesn't overlap text */
  .pg-subscribe-text{
    padding-right: 48px;
  }
}
/* === SermonAudio Footer Embed Fix === */

.sermonaudio-footer {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Browser (playlist) iframe */
.sermonaudio-footer iframe[src*="embed.sermonaudio.com/browser"] {
  display: block;
  width: 100%;
  height: 360px;      /* adjust if you want taller */
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: bottom;
}

/* Player wrapper */
.sermonaudio-footer .player-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  margin: 0;
}

/* Player iframe */
.sermonaudio-footer .player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  display: block;
}
a[href*="youtube.com"] svg {
  fill: currentColor;
}

a[href*="youtube.com"]:hover svg {
  fill: #ff0000;
}
a[href*="facebook.com"] svg {
  fill: currentColor;
}

a[href*="facebook.com"]:hover svg {
  fill: #1877f2;
}
a[href*="sermonaudio.com"] svg {
  fill: currentColor;
}

a[href*="sermonaudio.com"]:hover svg {
  fill: #1f4df1; /* SermonAudio blue */
}

a[href*="apple.com"] svg {
  fill: currentColor;
}
a[href*="apple.com"]:hover svg {
  fill: mediumpurple; /* SermonAudio blue */
}

a[href*="spotify.com"] svg {
  fill: currentColor;
}
a[href*="spotify.com"]:hover svg {
  fill: #1ED760; /* SermonAudio blue */
}

.apple-podcasts-link svg,
.spotify-link svg {
  fill: currentColor;
  transition: fill 0.2s ease;
}

/* Apple Podcasts purple */
.apple-podcasts-link:hover svg {
  fill: #007AFF;
}

/* Spotify green */
.spotify-link:hover svg {
  fill: #1ED760;
}
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 140%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform-origin: bottom center;
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.tooltip:hover::after,
.tooltip:hover::before,
.tooltip:focus-visible::after,
.tooltip:focus-visible::before {
  opacity: 1;
}
/* base icon link */
.icon-link{
  color: #000;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 5;
}

.icon-link svg{
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
  transition: fill .2s ease;
}

/* tooltip */
.icon-link[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;

  background: rgba(0,0,0,.9);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 99999;
}

.icon-link:hover::after,
.icon-link:focus-visible::after{
  opacity: 1;
  visibility: visible;
}
.podcast-badge {
  height: 40px;        /* visual baseline */
  width: auto;
  object-fit: contain;
}