/*
Theme Name:   Moody Default Theme
Theme URI:    https://peacebuilders.net
Description:  Moody's Default Theme for WordPress, Child of Twenty Twenty-Five
Author:       Peace Builders
Author URI:   https://peacebuilders.net/
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  moody-default-theme
*/

@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");


.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium, .wp-core-ui div.wpforms-container select.wpforms-field-medium, .wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium {
max-width: 100%;
}
.wpforms-container {
 text-align: left;
}

h2.add_blue_bar {
  position: relative;
  padding-bottom: 1rem;
}

h2.add_blue_bar::after {
  content: '';
  display: block;
  margin-top: 1rem;
  height: 0.25rem;
  width: 86px;
  border-radius: 0.25rem;
  background-color: #0c4a6e;
}

.button_hover_1 li a, .button_hover_2 li a {
  display: block;
  padding: 0.40rem 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
}

.button_hover_1 li a:hover,
.button_hover_1 li a:focus {
  background: #0c4a6e;
  color: #ffffff!important; 
}

.button_hover_2 li a:hover,
.button_hover_2 li a:focus {
  background: #0369a1;
  color: #ffffff!important; 
}

/* Style the UL container like a flex button row */
.category-button-list.wp-block-categories-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

/* Hide category post counts if you don't want them */
.category-button-list li {
  margin: 0;
  padding: 0;
}

/* Turn each LI into a styled button */
.category-button-list li a {
  display: inline-block;
  padding: 1.25rem 1.25rem;
  background: var(--wp--preset--color--primary-blue);
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  transition: background 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Hover effect to match wp-block-button style */
.category-button-list li a:hover {
  background-color: var(--wp--preset--color--accent-blue);
}

.hover-swipe {
  position: relative;
  overflow: hidden;
}

.hover-swipe::before {
  content: "Go \f061";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;         
  font-size: 3rem;
  text-align: center;
  color: #ffffff;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12,74,110,0.74);
  transition: transform 0.6s ease;
  transform: translateY(100%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.hover-swipe:hover::before {
  transform: translateY(0);
}

.hover-swipe + .wp-block-group {
  position: relative;
  z-index: 2;
}
.wp-block-navigation.items-justified-right .wp-block-navigation__container .has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-right .wp-block-page-list>.has-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between .wp-block-page-list>.has-child:last-child .wp-block-navigation__submenu-container, .wp-block-navigation.items-justified-space-between>.wp-block-navigation__container>.has-child:last-child .wp-block-navigation__submenu-container {
	padding: 10px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	padding: 10px;
}


a img,
.wp-block-button,
button {
  transition: transform .3s ease;
}

a img:hover,
.wp-block-button:hover,
button:hover {
  transform: scale(1.05);
}


.now-playing-main-back img.wp-block-cover__image-background {
	left: -50%;
	z-index:-1;
	opacity: .5;
	filter: blur(4px);
}

img, figure img {
	border-radius: 12px;
}

/* album tool tip  styling */
.radio-song-0, .radio-song-1, .radio-song-2, .radio-song-3, .radio-song-4, .radio-song-5 {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Tooltip box */
.radio-song-0::after,
.radio-song-1::after,
.radio-song-2::after,
.radio-song-3::after,
.radio-song-4::after,
.radio-song-5::after {
  content: attr(data-song) "\A" attr(data-album) "\A" attr(data-artist);
  white-space: pre;
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 12px;
  color: #1a2a37;
  text-align: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Show on hover */
.radio-song-0:hover::after,
.radio-song-0:focus::after,
.radio-song-1:hover::after,
.radio-song-1:focus::after,
.radio-song-2:hover::after,
.radio-song-2:focus::after,
.radio-song-3:hover::after,
.radio-song-3:focus::after,
.radio-song-4:hover::after,
.radio-song-4:focus::after,
.radio-song-5:hover::after,
.radio-song-5:focus::after {
  opacity: 1;
}

/* SLIDER buttons */
.wp-block-cb-carousel-v2 .cb-button-next, .wp-block-cb-carousel-v2 .cb-button-prev {
	color: #ffffff;
	background-color: #d19000;
    padding: 2px;
	border-radius: 12px;
	transition: background .3s ease, transform .3s ease, opacity .3s ease;
	height: 60px;
	top: 40%;
	width: 60px;
	
}

.wp-block-cb-carousel-v2 .cb-button-next:hover {
	background: rgb(158,108.8612440191,0);
	transform: translate(10px,0);
}

.wp-block-cb-carousel-v2 .cb-button-prev:hover {
	background: rgb(158,108.8612440191,0);
	transform: translate(-10px,0);
}

/* This is the read more buttons */
.more_button .wp-block-post-excerpt__more-link {
	background-color: #003b5c!important;
	border-color: #003b5c;
	color: #fff;
	font-weight: 500;
	font-style: normal;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -.25px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 16px;
	background-color: transparent;
	border: 1px solid transparent;
	border-radius: 12px;
	transition: .3s ease background-color,.3s ease border-color,.3s ease color;
	border-radius: 12px;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	}
	.more_button .wp-block-post-excerpt__more-link:hover {
	background-color: #007396!important;
	border-color: #007396;
	color: #fff;
}

/* podcast player button styling */

button.sap-trigger.podcast_category {
	gap: 0px;
	height: 50px;
	width: 50px;
	justify-content: center;
	padding: 5px;
}

#pf-loading {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#pf-loading.active {
  opacity: 1;
  pointer-events: auto;
}

.pf-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: pf-spin 0.9s linear infinite;
}

@keyframes pf-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/*desktop logic */
@media screen and (min-width: 1020px){
	.hide_on_desktop {
		display: none!important;
	}
	.show_on_desktop {
		display: block!important;
	}
}

/* tablet logic */
@media screen and (min-width: 783px) and (max-width: 1020px){
	.hide_on_tablet {
		display: none!important;
	}
	.show_on_tablet {
		display: block!important;
	}
}

/* phone logic */
@media screen and (max-width: 782px){
	.push-first {
		order: 1;
	}
	.push-last {
		order: 2;
	}
	.hide_on_mobile {
		display: none!important;
	}
	.show_on_mobile {
		display: block!important;
	}
	.wp-container-core-group-is-layout-fed96033 {
		justify-content: center;
    }
	.now-playing-main-back img.wp-block-cover__image-background {
		left: 0%;
		top: -50%;
	}

	.wp-block-cb-carousel-v2 .cb-button-next, .wp-block-cb-carousel-v2 .cb-button-prev {
		height: 30px;
		width: 30px;
		top: 35%;
	}
	.wp-block-cb-carousel-v2 .cb-button-prev:after, .wp-block-cb-carousel-v2 .cb-button-next:after {
		font-size: 12px;
	}
}

