/**
 * FerventWord Reading
 *
 * @package   ferventword-reading
 * @author    Jerry Simmons <jerry@ferventsolutions.com>
 * @copyright 2025 Jerry Simmons
 * @license   GPL-2.0+
 **/

/*** COLORS ********************************
 *          BOLD     LIGHT    BACKGROUND
 * White:   #F8F8F8  #FFFFFF
 * Red:     #7F1518  #EDDCDD  #f3e8e5
 * Orange:  #BD4B27  #F1D0C7  #F5E8E4
 * Yellow:  #D77C28  #F7E0C7  #f7f0e5
 * Green:   #2D5126  #E1E4DE
 * Blue:    #1F2655  #DEDFE7  #EBE8EC
 * Purple:  #522D55  #E5E0E6
 * Black:   #282528  #E0E0DF
 ***/

:root, *::before, *::after {
	color-scheme: light dark; /* both supported */
	--fw-background-white: light-dark( #FFFFFF, #282528 );
	--fw-background-gray: light-dark( #F8F8F8, #000000 );

	--fw-black: #282528;
	--fw-white: #F8F8F8;
	--fw-red: #7F1518;

	--fw-white-text: light-dark( #F8F8F8, #E0E0DF );
	--fw-black-text: light-dark( #282528, #E0E0DF );
	--bold: 800;
}
body.fwr, .et_pb_section {
	background-color: var(--fw-background-white);
	color: var(--fw-black-text);
}
body.fwr h1, body.fwr h2, body.fwr h3, body.fwr h4, body.fwr h5, body.fwr h6 {
	color: var(--fw-black-text);
}
body.fwr a {
	color: light-dark( var(--fw-red), #a06868 );
	letter-spacing: 3%;
}
@media( prefers-color-scheme: dark ) {
	body.fwr a {
		font-weight: 700;
	}

}

body.fwr #main-header {
	background-color: light-dark( var(--fw-white), #000 ) !important;
}
body.fwr #main-header #logo {
	background-color: var(--fw-white);
}
body.fwr #main-header li > a {
	color: var(--fw-black-text);
}


.ferventword_reading_schedules_wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
	.ferventword_reading_schedules_wrapper {
		display: grid;
		grid-template-columns: 1fr;
	}
}

.ferventword_reading_schedules_wrapper > div {
	margin: 10px;
	border: solid 1px var(--fw-black-text);
	padding: 10px;
}
.ferventword_reading_schedules_wrapper h2 {
	text-align: center;
}

.fwr_reading_time {
	font-size: 80%;
	text-align: center;

}

.fwr_today_year_wrapper {
	margin-bottom: 20px;
	background-color: var(--fw-white-text);
	padding: 30px;
	text-align: center;
}
.fwr_today_year_heading {
	text-transform: uppercase;
	font-size: 90%;
	font-weight: 600;
}

.fwr_today_passage {
	dpadding: 30px 10px;
	font-size: 150%;
	color: var(--fw-red) !important;
}
.fwr_today_passage a {
	color: var(--fw-red) !important;
}

#fwr_nav_back_wrapper {
	margin-top: 30px;
	border-top: solid 1px var(--fw-white-text);
	padding: 30px 10px;
	text-align: center;
}
#fwr_nav_back_wrapper a {
	display: inline-block;
	padding: 10px 20px;
	border: solid 2px var(--fw-black-text);
	color: var(--fw-black-text);
}


#fwr_nav_fwlinks_block {
	text-align: center;
	margin-top: 50px;
	padding: 50px;
	background-color: var(--fw-background-gray);
}
#fwr_nav_fwlinks_block h2 {
	margin-bottom: 20px;
}
#fwr_nav_fwlinks_wrapper {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	grid-gap: 40px;
}
#fwr_nav_fwlinks_wrapper p { padding: 0 !important; }
.fwr_nav_fwlink {
	padding: 10px 30px;
	border: solid 2px var(--fw-red);
	margin: 5px !important;
	color: light-dark( var(--fw-red), var(--fw-white) ) !important;
	background-color: light-dark( transparent, var(--fw-red) );
}


#ferventword_reading_subscribe_wrapper {
	margin-top: 50px;
	padding: 50px;
	background-color: #7F1518;
	text-align: center;
	color: #fff;
}
#ferventword_reading_subscribe_wrapper h2 {
	color: #fff;
}
#ferventword_reading_subscribe_wrapper a {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	border: solid 1px #fff;
	color: #fff;
	font-weight: 800;

}





@media (min-width:1080px) {
	#fwr_esv_passage_wrapper {
		column-count: 2;
		column-gap: 40px;
	}
	#fwr_esv_passage_wrapper .verse-num::before {
		white-space: pre;
		content: '\A';
	}
}


