/*
 Theme Name:   Peace With Christ
 Theme URI:    https://fortcollinsco.church
 Description:  Peace With Christ theme
 Author:       Ellen Boeke
 Author URI:   https://fortcollinsco.church
 Template:     generatepress
 Version:      0.1
*/

/* Prevent orphan text */
p,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6,
.gb-button-text {
    text-wrap: pretty;
}

a {
	color: var(--navy);
}

.rank-math-breadcrumb a {
	color: white;
}

a:hover {
	color: var(--dark-gold);
}

.no-link-underline a {
	text-decoration: none;
}

.site-branding {
	width: 300px;
}

hr {
	width: 150px;
	margin-top: 10px;
    margin-bottom: 20px;
	    
}

.wp-block-separator {
	border-top: 3px solid;
}

/* Utility Classes */

.white-link a {
    color: white;
    text-decoration: none;
}

.sq-aspect-ratio img {
	aspect-ratio: 1/1;
	object-fit: cover;
	width:100%;
}

.full-width-container {
	margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
}

.no-underline .gb-text {
	text-decoration: none;
}

/* Buttons */

.pwc-btn {
	box-shadow: 0 2px 4px rgba(30, 58, 95, 0.2);
}

.welcome-here .pwc-btn:hover {
	background-color: white !important;
	color: var(--navy) !important;
}

/* Top Bar */
@media (max-width:1069px) {
	.top-bar {
		display: none;
	}
}

/* Header */
.site-logo,
.site-branding {
	z-index: 10;
}

@media (max-width: 1070px) and (min-width: 769px) {
    .site-logo, .site-branding {
        margin-bottom: 14px;
    }
}

/* Footer */
.generate-back-to-top {
	z-index:100;
}

/* Homepage */

.home-h1 {
    color: #c9a961;
    font-style: none;
    font-weight: 400;
    text-transform: uppercase;
    width: 55%;
}

.home-h1 .main-title {
    font-size: 65px;
    line-height: 72px;
    font-weight: 400;
    text-transform: uppercase;
}

.home-h1 .church-name,
.home-h1 .location {
    font-size: 24px;
    line-height: 30px;
    color: white;
}

.home-h1 .location {
    margin-top: -15px;
}



/* Masonry Gallery */

.masonry-gallery {
  column-count: 3;
  column-gap: 15px; /* This controls horizontal space between columns */
}

.masonry-gallery img {
  margin-bottom: 15px; /* This controls vertical space between images */
  break-inside: avoid;
  display: block;
}

.masonry-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* You are Welcome Here block */
a.welcome-here-btn:hover {
	background-color: white;
	color: var(--navy);
}


/* Sermons */

/* download Sermon button 
.audio-download-link a {
	border-radius: 0;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 18px;
    margin-top: 20px;
    padding: 0.7rem 1.7rem;
	background-color: var(--navy) !important;
}

.audio-download-link a:hover {
	background-color: var(--gold) !important;
}*/

.sermon-query-loop .looper > .gb-loop-item:nth-child(odd) {
    background-color: #f8f8f8;
}

.sermon-query-loop .looper > .gb-loop-item:nth-child(odd),
.sermon-archive-query-loop .gb-loop-item:nth-child(odd) {
    background-color: #f8f8f8;
}

/* Styling audio players to be more visible */
audio {
    background-color: black;
	width: 100%;
}

audio::-webkit-media-controls-panel {
    background-color: black;
}

audio::-webkit-media-controls-enclosure {
    background-color: black;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    filter: brightness(0) invert(1);
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: white;
    text-shadow: none;
}

audio::-webkit-media-controls-overflow-button {
    filter: brightness(0) invert(1);
}

/* Progress bar / timeline - make it white */
audio::-webkit-media-controls-timeline {
    filter: brightness(0) invert(1);
    background: rgba(255, 255, 255, 0);
}

/* The actual progress/buffered part */
audio::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background: white;
}


/* Sermon download button/text */
.sermon-download-btn .gb-text {
	text-shadow: 0.5px 0.5px 0.5px rgba(0, 0, 0, 0.1);
}

/* Footer */
a.footer-facebook .gb-button-text {
	text-decoration: underline;
	    margin-left: 5px;

}


/* Media Queries */

@media (min-width: 769px) {
    .main-navigation .menu>.menu-item>a::after {
        content: "";
        position: absolute;
        right: 0;
        left: 46px;
        bottom: 6px;
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);

        display: block;
        width: 0;
        height: 2px;

        background-color: #c9a961;
        transition: 0.3s width ease;
    }

    .main-navigation .menu>.menu-item.current-menu-item>a::after,
    .main-navigation .menu>.menu-item.current-menu-ancestor>a::after,
    .main-navigation .menu>.menu-item>a:hover::after {
        width: 50px;
    }

    .main-navigation .menu>.menu-item.current-menu-item.menu-item-130>a::after {
        width: 0;
    }

    .main-navigation .menu>.menu-item.menu-item-130>a:hover::after {
        width: 50px;
    }
}

@media (max-width: 768px) {
    .site-branding-container {
        width: 79%;
    }

    .site-branding {
        width: 100% !important;
    }

    .main-title {
        font-size: 22px;
    }
	
	.masonry-gallery {
    	column-count: 2;
  	}
}

@media (max-width: 480px) {
  .masonry-gallery {
    column-count: 1;
  }
}

/* background overlays on footer section */
@media (min-width:1025px) {
	.footer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: url(https://fortcollinsco.church/wp-content/uploads/2025/11/white-olive-branch-5-opacity.png) 95% 10%/150px no-repeat,url(https://fortcollinsco.church/wp-content/uploads/2025/11/white-dove-5-opacity.png) 2% 95%/250px no-repeat;
    pointer-events: none;
	z-index: 1;
}

.footer-container > * {
    position: relative;
    z-index: 0; 
}
}


/* RSS Feed Container Styling */
/*.wp-rss-aggregator {
  display: grid;
  gap: 24px;
}*/

/* Individual RSS Items */
/*.wprss-feed-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  transition: all 0.3s ease;
}

.wprss-feed-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}*/

/* RSS Item Title */
/*.wprss-feed-item h3,
.wprss-feed-item .wprss-item-title {
  font-size: 1.35em;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.wprss-feed-item a {
  color: var(--accent, #2563eb);
  text-decoration: none;
}

.wprss-feed-item a:hover {
  color: var(--accent-hover, #1d4ed8);
  text-decoration: underline;
}*/

/* RSS Item Meta (Date, Source) */
/*.wprss-item-meta,
.wprss-feed-item .wprss-item-date {
  color: #6b7280;
  font-size: 0.9em;
  margin-bottom: 12px;
}*/

/* RSS Item Description */
/*.wprss-item-description {
  color: #374151;
  line-height: 1.7;
  margin-top: 12px;
}*/

/* Responsive adjustments */
/*@media (max-width: 768px) {
  .wprss-feed-item {
    padding: 16px;
  }
  
  .wprss-feed-item h3 {
    font-size: 1.2em;
  }
}*/