/*
Theme Name: Sahifa Child
Theme URI: https://www.creekbank.net/
Description: Child theme for Sahifa — preserves Stormhill custom CSS across parent theme updates
Author: Stormhill Media
Template: sahifa
Version: 1.0.0
*/

/* ==========================================================================
   Custom additions restored from pre-5.8.6 style.css
   These were previously hand-edited directly into the Sahifa parent
   style.css and were wiped out by the 5.8.6 theme update. Moved here
   so future parent theme updates won't remove them again.
   ========================================================================== */

/* Deep Roots sidebar widget styling */

.widget-container .deep-roots-sidebar-wrap h3 {
	font-size: large;
	margin: 1rem auto .5rem;
	font-weight: 600;
}

.widget-container .deep-roots-sidebar-wrap .img-wrap {
	text-align: center;
	width: 100%;
}

/* Footer Widget Area — podcast / social links flex layout */

.footer-widgets-box {
	display: flex;
	flex-wrap: nowrap;
}

.footer-widgets-box .footer-widget {
	flex: 1;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-direction: column;
	text-align: right;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .podcast-item .podcast-link {
	padding: 10px 20px;
	font-size: medium;
	color: #fff !important;
	border-radius: 10px;
	width: 200px;
	display: block;
	text-align: center;
	margin: auto;
	white-space: nowrap;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .podcast-item .podcast-link img {
	max-width: 26px;
	margin-left: 7px;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .podcast-item .podcast-link.rss {
	background-color: #ff6400;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .podcast-item .podcast-link.amazon {
	background-color: #fec327;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .podcast-item .podcast-link.spotify {
	background-color: #04bd4a;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .socmed-item {
	white-space: nowrap;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .socmed-item label {
	margin-right: 6px;
}

.footer-widgets-box .footer-widget .footer-info-wrap .row .socmed-item img {
	max-width: 32px;
	width: 100%;
}

.footer-widgets-box .footer-widget .footer-info-wrap h3 {
	text-align: center;
	font-size: medium;
	margin-bottom: 2rem;
	font-weight: 600;
	text-transform: uppercase;
}

.footer-widgets-box .footer-widget .footer-info-wrap.third h3 {
	text-align: right !important;
}

/* Footer Widget Area — mobile responsive override (matches old 730px breakpoint) */

@media only screen and (max-width: 730px) {
	.footer-widgets-box {
		flex-wrap: wrap;
		flex-direction: column;
	}

	.footer-widgets-box .footer-widget {
		max-width: 400px;
		margin: auto;
	}
}
