/*
Theme Name: zh5
Theme URI: http://zenhabits.net/theme/
Author: Leo Babauta
Author URI: http://leobabauta.com
Description: A minimalist, content-focused theme.
Version: 4
License: Uncopyrighted
License URI: http://zenhabits.net/open-source-blogging-feel-free-to-steal-my-content/

This theme is uncopyrighted.
Do whatever you'd like with it.
*/

/* 
Reset Stylesheet
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

.header-nav .menu {
    margin-top: 0px; /* Adjust the value as needed */
    margin-bottom: 5px;
    display: flex;
    list-style-type: none;
    padding: 0;
}

.header-nav .menu-item {
    margin-right: 15px;
}


body {
	line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

nav ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid #d3d3d3; /* Light grey underline */
    transition: border-color 0.6s ease, color 0.6s ease; /* Smooth transition for underline and color */
}

/* change colors to suit your needs */
ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

/* change colors to suit your needs */
mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title],
dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* change border color to suit your needs */
hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input,
select {
	vertical-align: middle;
}

/* end css reset */



/* font import from Adobe - currently loaded in header.html */

/* @import url("https://use.typekit.net/abd7hms.css"); */

#wp-admin-bar-updates {
	display: none
}


/* ==========================
    GLOBAL STYLES
   ========================== */

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: nunito-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	background-color: #ffffff;
	color: #333;
	font-size: 18px;
	line-height: 1.25em;
	font-weight: 300;
}

/* Paragraph Styling */
p {
    line-height: 1.5em; /* Consistent line height */
    margin-bottom: 1em; /* Space below paragraphs */
}

/* List styling for default lists (applies to blog posts) */
ul,
ol {
    line-height: 1.5em; /* Sets consistent line height for lists */
}

ul,
ol {
    padding-left: 25px; /* Indentation for lists */
    list-style-position: outside; /* Positions bullet/number outside */
    margin-bottom: 1.7em; /* Space below the entire list */
}

ul li,
ol li {
    margin-bottom: -0.2em; /* Space between list items */
    padding-left: 5px; /* Space between bullet/number and text */
}


/* Page-specific list styling */

.page p strong,
.page ul li strong,
.page ol li strong {
    font-weight: 500; /* Applies medium weight to bold elements in lists and paragraphs */
}

.page ul,
.page ol {
    line-height: 1.5em; /* Sets consistent line height for lists */
    padding-left: 30px; /* Indentation for lists */
    list-style-position: outside; /* Positions bullet/number outside */
    margin-bottom: 1.2em; /* Space below the entire list */
}

.page ul li,
.page ol li {
    margin-bottom: 0.2em; /* Space between list items */
    padding-left: 5px; /* Space between bullet/number and text */
}


/* Other Styles */

p.inactive {
	color: #aaa;
}

a:link,
a:visited {
    color: #333; /* Default link color */
    border-bottom: 2px solid #d3d3d3; /* Light grey underline */
}

a:hover {
    color: #333; /* Keeps the text color consistent */
    border-bottom: 2px solid #666666; /* Black underline on hover */
}


/* heading styles */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 300;
	text-align: center;
	line-height: 1.25;
}

h2 {
	font-size: 2em;
	margin: 2.5em 0 1.25em 0;
	text-align: center;
}

h2 a {
    border-bottom: none !important; /* Removes underline or border */
    color: inherit; /* Keeps the default color */
    transition: color 0.8s ease; /* Adds a smooth transition on hover */
}

h2 a:hover {
    color: #b0b0b0; /* Change to a lighter color on hover */
    text-decoration: none;
}


.join-cta h2, .subscribe-cta {
	font-weight: 400;
}

/* subtitles */
h3 {
	font-size: 1.5em;
        line-height: 1.35em;
	margin: 1.5em 0 1em 0;
	text-align: center;
}

h4 {
	font-size: 1em;
}

/* used for "edit" link only visible to site owner/writers */
h5 {
	margin: 2.5em 0;
}

/* author credits */
h6 {
	font-size: 1.15em;
	line-height: 1.3em;
	margin: 1.1em 0 1.2em 0;
	letter-spacing: .1em;
	text-align: center;
	-webkit-opacity: 0.30;
	-moz-opacity: 0.30;
	opacity: 0.30;
	-webkit-transition: opacity 3s linear;
	-moz-transition: opacity 3s linear;
	-ms-transition: opacity 3s linear;
	-o-transition: opacity 3s linear;
	transition: opacity 3s linear;
}

/* fades author credit back in on hover */
h6:hover {
	-webkit-opacity: 1;
	-moz-opacity: 1;
	opacity: 1;
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-ms-transition: all 2s ease;
	-o-transition: all 2s ease;
	transition: all 2s ease;
}

h6 strong {
	font-weight: 400;
}

img,
a img {
    border: 0 !important;
    border-bottom: none !important;
    padding: 0 !important; /* Adjust padding as needed */
}

/* Styles specifically for images within .image-link */
.image-link {
    display: inline-block; /* Limits the clickable area to the image */
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important; /* Removes underline */
}

/* Ensures no extra styling on the image itself */
.image-link img {
    padding: 0 !important;
    margin: 0 !important;
    transition: filter 0.5s ease; /* Smooth transition for the hover effect */
}

/* Darken effect on hover */
.image-link:hover img {
    filter: brightness(0.6); /* Darkens the image on hover */
}


/* container for body */
.container {
	overflow: hidden;
	max-width: 32em;
	margin: 0 auto;
	padding: 0 2.5em;
}

/* wider container for header and footer elements */
.wide-container {
	max-width: 70em;
	margin: 0 auto;
	padding: 0 2.5em;
	overflow: hidden;
}


/* Header and navigation */

header {
	border-bottom: 1px solid #f5f5f5;
	text-transform: none;
}

header .wide-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 10px 25px 0; /* Adjust padding to control edge spacing */
}

/* Control width and spacing of title, nav, and byline */

header .title {
    flex-basis: 10%; /* Allocate space on the left */
    text-align: center; /* Align "zen habits" to the left */
}

header .header-nav {
    flex-basis: 100%; /* Center portion for the nav menu */
    text-align: center;
    margin-left: 0px; /* Shift menu slightly to the right */
    margin-top: 2px;
}

header .byline {
    flex-basis: 10%; /* Allocate space on the right */
    text-align: center; /* Align "breathe" to the right */
}



/* Center the navigation menu items */
header .header-nav .menu {
    display: inline-flex;
    gap: 20px; /* Adjust spacing between navigation items */
}

/* Individual menu items */
header .header-nav .menu li {
    display: inline;
}

/* Menu link styles with smooth transition */
header .header-nav .menu li a {
    color: #848484; /* Default link color */
    text-decoration: none;
    border-bottom: none;
    transition: color 0.6s ease;
}

header .header-nav .menu li a:hover {
    color: #333; /* Darker color on hover */
}


/* Default style for "zen habits" (dark) and "breathe" (light) */

header .title h1 a {
    color: #333; /* Dark color for "zen habits" */
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevent wrapping */
    transition: color 0.7s ease;
}


header .byline h1 a {
    color: #aaa; /* Light color for "breathe" */
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap; /* Prevent wrapping */
    transition: color 0.7s ease;
}


/* Hover styles for "zen habits" and "breathe" */
header .title h1 a:hover {
    color: #aaa; /* Turn "zen habits" light on hover */
}

header .byline h1 a:hover {
    color: #333; /* Turn "breathe" dark on hover */
}




/* footer product cards and links */
footer {
	text-align: center;
	background-color: #f5f5f5;
	padding: 2.5em 0;
}

footer h1 {
	font-size: 1.5em;
}

footer h1.grey {
	color: #aaa;
}

footer h2 {
	font-size: 1em;
}

footer a {
    border-bottom: none !important; /* Removes bottom border for all footer links */
    color: inherit; /* Keeps color consistent */
}

footer a:hover {
    border-bottom: none; /* Ensures no bottom border on hover */
    color: #b0b0b0; /* Optional color change on hover */
}



footer .product-cards {
	padding: 2.5em 0;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: nowrap;
}

footer a .product-card {
	background: #fff;
	padding: 45px 30px;
	-webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	min-height: 8em;
	min-width: 16em;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

footer a:hover .product-card {
	-webkit-box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
	-moz-box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
	box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
}

footer .product-card>p {
	margin-bottom: 0px;
}

footer>.wide-container>.join-cta {
    text-align: center;
}

footer>.wide-container>.join-cta, .subscribe-cta {
	margin-bottom: 8em;
}

footer>.wide-container>.join-cta h2, .subscribe-cta h2 {
	margin: 0;
	padding-bottom: .5em;
}

footer>.wide-container>.join-cta>ul {
    margin: 0 auto;
    padding: 0;
    text-align: center;
    display: inline-block; /* Keeps it centered while maintaining inline styling */
}

footer>.wide-container>.join-cta>ul li {
	display: inline;
	padding: 0 20px;
}

footer>.wide-container>.join-cta>ul li a {
	color: #777;
	text-transform: lowercase;
}

footer nav.footer-menu a,
footer nav.footer-menu a:visited {
	color: #aaa;
	text-transform: lowercase;
}

footer nav.footer-menu a:hover {
	color: #333;
}

footer nav.footer-menu li {
	margin-bottom: 0;
}

p.search-title {
	text-align: center;
	font-weight: 400;
}

form input.input-box {
	width: 94%;
	height: 30px;
	font-size: 18px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}

form input.input-box:hover {
	border: 1px solid #aaa;
}

form input.input-box:focus {
	outline: none;
	border: 1px solid #333;
}


/* subscribe box at bottom */
.flex-container{
    display: flex;
    flex-flow: row wrap;
	justify-content: space-around;
	background-color: #ffffff;
	max-width: 1300px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	margin-top: 20px;
	text-align: center;
}

.flex-item{
	width: 100%;
	margin: auto;
}

.flex-item h1{
	font-size: 22px;
	font-weight: 700;
	line-height: 27px;
	margin-right: 5px;
}

.flex-item h2{
	font-size: 18px;
	font-weight: 400;
	line-height: 20px;
	margin-right: 5px;
}

.flex-item h4 b{
	font-size: 16px;
	font-weight: 700;
	line-height: 21px;
	margin-right: 5px;
}

.flex-item img{
	margin: auto;
}



/* Active Campaign Form Styling */

.form-inline {  
  display: inline-block;
  flex-flow: row wrap;
  align-items: center;
  box-sizing: border-box;
  margin: 15px auto 5px auto;
}

.form-inline label {
  margin: 5px 10px 5px 0;
}

.form-inline input {
  vertical-align: middle;
  margin: 5px 10px 5px 0;
  background-color: #fff;
	
  -webkit-box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
  -moz-box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
  box-shadow: 0 30px 50px 0 rgba(0, 0, 0, 0.10);
	
	
	padding: 11px;
	height: auto;
	border: #fff 1px solid;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	color: #000 !important;
	font-size: 16px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}

.form-inline button {
  background-color: rgb(94, 95, 94);
  cursor: pointer;
	
	-webkit-appearance: none;
	cursor: pointer;
	font-size: 16px;
	text-align: center;
	border: 0 !important;
	-moz-border-radius: 4px !important;
	-webkit-border-radius: 4px !important;
	border-radius: 4px !important;
	color: #fff !important;
	padding: 11px !important;
	-webkit-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-moz-box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.10);
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}

.form-inline button:hover {
  background-color: royalblue;
}

@media (max-width: 800px) {
  .form-inline input {
    margin: 10px 0;
  }
  
  .form-inline {
    flex-direction: column;
    align-items: stretch;
  }
}




/* archive page */

.results {
	margin-bottom: 5em;
}

.year h2 {
	margin-bottom: 0;
}

.day p,
.month h4 {
	font-weight: 400;
}

.month h4 {
	margin: 2em 0 1em 0;
}

.day p,
.post-title p {
	margin-bottom: 0;
}

.day p {
	padding-right: 60px;
}

.day-title {
	display: flex;
	align-items: flex-start;
	border-bottom: 1px solid #eee;
	padding: 10px 0;
}

/* post styles */

.post h4 {
	margin-bottom: 3.5em;
	font-size: 14px;
	color: #aaa;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 400;
}

.post h4 a,
.post h4 a:visited {
	color: #aaa;
	border-bottom: #fff;
}

.post h4 a:hover {
	color: #333;
}

.post strong {
	font-weight: 400;
}

.post a:link,
.post a:visited {
	text-decoration: none;
	color: #333;
	border-bottom: 2px solid #e2e2e2;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}

.post a:hover {
	border-color: #666666;
}

.post ul {
	list-style-type: disc;
	padding: .1em .0 0 1.1em;
	margin-top: .5em;
}

.post ol {
	list-style-type: decimal;
	padding: .1em 0 0 1.2em;
	margin-top: .5em;
}

.post blockquote {
    border-left: 2px solid #e2e2e2;
    margin: 2.5em 0;
    padding: .8em 1.5em .2em 1.5em;
    font-style: italic; /* Ensure font style matches if needed */
    color: #555; /* Adjust color if required */
}

.post blockquote cite {
	color: #aaa;
	font-style: none;
}

/* line at bottom of post */
.home_bottom {
	border-bottom: 1px solid #f5f5f5;
	font-size: 2em;
	line-height: 2.5em;
	color: #aaa;
}

/* previous & next posts at bottom */
.navigation {
    margin: 3.5em 0 3em 0;
    display: flex;
    flex-direction: row;
}

.navigation p {
    color: #aaa;
}

.navigation p.previous-post {
    width: 50%;
    font-size: 0.9em;
    font-weight: 400;
    padding-right: 25px;
}

.navigation p.next-post {
    width: 50%;
    font-size: 0.9em;
    font-weight: 400;
    text-align: right;
    padding-left: 25px;
}


/* subscription */
.subscribe p {
	text-transform: uppercase;
	color: #666;
	font-size: 1em;
	letter-spacing: .2em;
	font-weight: bold;
	line-height: 2em;
	margin-top: 2em;
	margin-bottom: 2em;
}

/* "see all posts" at bottom of home page */
.all_posts h3 {
	margin: 2.5em 0;
}

.all_posts h3 a,
.all_posts h3 a:visited {
	color: #aaa;
}

.all_posts h3 a:hover {
	color: #333;
}

/* footer text */
.footer p {
	font-size: .8em;
	letter-spacing: .2em;
	text-transform: lowercase;
	padding: 0;
	margin: 0;
	margin-left: 0;
	padding-left: 0;
}

.footer a {
	color: #666
}

/* for landing page */
.page-template-landingpage .container {
	max-width: 50em !important;
}

/* for archives page */
#arc {
	overflow: hidden;
	margin: 0 1em 2em .4em;
}

/* comments styling - not in use on site as comments disabled */

ol.commentlist {
	margin: 10px 0 20px 0;
}

.commentlist .comment-body {
	padding: 30px;
	background: #f5f5f5;
	border: solid thin #f5f5f5;
	margin: 10px 0;
	position: relative;
}

.comment-body a.comment-reply-link {
	position: absolute;
	top: 30px;
	right: 30px;
	color: #333;
}

ol.commentlist li {
	list-style: none;
}

ol.commentlist img.avatar {
	padding: 10px;
	background: #fff;
	border: 1px solid #aaa;
	float: left;
	display: block;
	margin: 0px 15px 5px 0px;
	width: 30px;
	height: 30px;
}

ol.commentlist .comment-author {
	line-height: 25px;
}

.comment-body cite.fn {
	font-style: normal;
}

.commentmetadata a {
	margin: 0;
	font-size: 14px;
	color: #aaa;
}

.comment-body p {
	margin: 5px;
}

.comment-body .comment-author.vcard {
	margin: 0;
}

#respond form {
	padding: 30px;
	background: #f5f5f5;
	border: solid thin #f5f5f5;
	margin: 10px 0 5em 0;
	text-align: center;
}

#respond form p.form-submit {
	margin-bottom: 0;
}

#respond form label {
	display: block;
}

#respond textarea {
	width: 90%;
	height: 60px;
	font-size: 18px;
	padding: 10px 15px;
	border: 1px solid #aaa;
	-webkit-transition: all .3s linear;
	-moz-transition: all .3s linear;
	-ms-transition: all .3s linear;
	-o-transition: all .3s linear;
	transition: all .3s linear;
}





/* for iPad-sized devices */
@media only screen and (max-device-width: 1024px) {

	.wide-container {
		max-width: 70em;
		margin: 0 auto;
		padding: 0 1.5em;
		overflow: hidden;
	}

	header .header-nav .menu li {
		display: inline;
		padding: 0 10px;
	}

	footer .product-cards {
		flex-wrap: wrap;
	}

	footer a .product-card {
		min-height: 6em;
		min-width: 32em;
		flex-direction: column;
		margin-bottom: 1em;
	}
	.flex-item{
		width: 100%;
		margin: auto;
	}
}

/* for narrower browsers */
@media screen and (max-width: 800px) {

	.wide-container,
	.container {
		max-width: 70em;
		margin: 0 auto;
		padding: 0 1.5em;
		overflow: hidden;
	}

	footer a .product-card {
		min-width: 14em;
	}

	h2,
	h3,
	h3,
	h5,
	h6,
	.month h4,
	p.search-title {
		text-align: left;
	}

	h2 {
		font-size: 2em;
		margin: 2em 0 1em 0;
	}

	.join-cta h2 {
		text-align:center;
	}
	.flex-item{
		width: 100%;
		margin: auto;
	}
}

/* for iPhone-sized devices */
@media only screen and (max-device-width: 480px) {
	/* .container { width: 100% } */
	h2, h3, h3, h5, h6, .month h4, p.search-title {
		text-align:center;
	}
	header .wide-container .byline {
		display:none;
	}
	header .wide-container {
		flex-wrap: wrap;
	}
	header .wide-container .title {
		width: 100%;
	}
	header .wide-container .header-nav {
		width: 100%;
	}
	header .title h1 {
		text-align: center;
	}
	header .header-nav .menu li {
   		display: inline;
  		padding: 0 5px;
	}
	.flex-item{
		width: 100%;
		margin: auto;
	}
}

@media print {
	body {
		font-family: Helvetica, sans-serif;
		font-size: 14px;
		background: white;
		color: black;
		margin: 10;
		width: auto;
	}

	.container,
	.wide-container {
		display: block;
	}

	header .header-nav,
	.all_posts,
	.subscribe,
	footer {
		display: none;
	}
}

.main-container {
    max-width: 600px; /* Adjust this width to match your design */
    margin: 0 auto 100px; /* Center the container */
    padding: 0 20px; /* Add padding for readability */
}

.simple-container {
    max-width: 800px;
    margin: 0 auto 100px; /* Center the container */
    padding: 0 20px; /* Add padding for readability */
}

.page-content img {
    display: block;
    margin: 20px auto;
    max-width: 100%; /* Ensure images fit within the container */
}


blockquote,
.post blockquote {
    font-style: italic;
    color: #555;
    border-left: 2px solid #ddd;
    padding-top: 15px;
    padding-bottom: 3px;
    padding-left: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
}

.page-content blockquote p {
    line-height: 1.6em;
    font-style: italic;
    color: #555;
}

/* Targeting the custom class for the books page */

.books-page p {
    margin-bottom: 2em; /* More space after paragraphs */
}

.books-page ol li {
    margin-bottom: 24px; /* More space between list items */
}



/* ==========================
   Homepage Styles 
   ========================== */

.latest-post h4 {
	margin-bottom: 3.5em;
	font-size: 14px;
	color: #aaa;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 400;
}


/* ==========================
   Subheading Styles 
   ========================== */

.subheading-text {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 25px;
}

.subheading1 {
    font-size: 1.2em;
    color: #333;
    text-align: left;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 10px;
}

.subheading2 {
    font-size: 1.1em;
    color: #555;
    text-align: left;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}


/* ==========================
   Personalized Buttons Styling
   ========================== */

.custom-button-1,
.custom-button-left,
.custom-button-pp:link, .custom-button-pp:visited, .custom-button-pp:focus, .custom-button-pp:active,
.custom-button-pu:link, .custom-button-pu:visited, .custom-button-pu:focus, .custom-button-pu:active,
.custom-button-ztd:link, .custom-button-ztd:visited, .custom-button-ztd:focus, .custom-button-ztd:active,
.custom-button-3p:link, .custom-button-3p:visited, .custom-button-3p:focus, .custom-button-3p:active { /* Added custom-button-3p */
    display: inline-block;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    margin: 5px;
    transition: box-shadow 0.4s ease, background-color 0.4s ease, color 0.8s; /* Apply smooth transition */
    font-family: inherit;
    white-space: normal; /* Allows text wrapping */
}

/* Common hover effect for all buttons */
.custom-button-pp:hover,
.custom-button-pu:hover,
.custom-button-1:hover,
.custom-button-left:hover,
.custom-button-ztd:hover,
.custom-button-3p:hover { /* Added custom-button-3p */
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
}

/* Unique styles for each button */

.custom-button-1, .custom-button-left {
    padding: 15px 30px 13px 30px;
    background-color: #32373c;
    color: white !important;
    font-size: 20px;
}

.custom-button-left {
    text-align: left !important; /* Forces left alignment */
    margin: 5px 0; /* Adjusts spacing */
}

.custom-button-1:hover, .custom-button-left:hover {
    background-color: #484b4f; /* Lighter color on hover */
}

/* Button styling for .custom-button-pp */
.custom-button-pp:link, .custom-button-pp:visited, .custom-button-pp:focus, .custom-button-pp:active {
    background-color: white;
    color: #262626;
    border: 2px solid #262626;
    padding: 15px 20px 13px 20px;
    font-size: 17px;
    font-weight: 500;
    max-width: 220px;
}

/* Button styling for .custom-button-pu */
.custom-button-pu:link, .custom-button-pu:visited, .custom-button-pu:focus, .custom-button-pu:active {
    background-color: white;
    color: #262626;
    border: 2px solid #262626;
    padding: 15px 20px 13px 20px;
    font-size: 17px;
    font-weight: 500;
    width: 250px;
    max-width: 300px;
}

/* Button styling for .custom-button-ztd */
.custom-button-ztd:link, .custom-button-ztd:visited, .custom-button-ztd:focus, .custom-button-ztd:active {
    background-color: #262626;
    color: white;
    border: 2px solid #262626;
    padding: 19px 50px 17px 50px;
    font-size: 23px;
    font-weight: 600;
    max-width: 300px;
    transition: background-color 0.8s, color 0.8s, box-shadow 0.8s; /* Slower transition */
}

.custom-button-ztd:hover {
    background-color: white;
    color: #262626;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); /* Shadow effect on hover */
}

/* Button styling for .custom-button-3p */
.custom-button-3p:link, .custom-button-3p:visited, .custom-button-3p:focus, .custom-button-3p:active {
    background-color: #0C3141;
    color: white;
    border: 2px solid #0C3141;
    padding: 15px 50px;
    font-size: 21px;
    font-weight: normal;
    letter-spacing: 0.6px;
    transition: background-color 0.8s, color 0.8s, box-shadow 0.8s; /* Slower transition */
}

.custom-button-3p:hover {
    background-color: white;
    color: #0C3141;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2); /* Shadow effect on hover */
}


/* Container styling for horizontal alignment */
.button-container {
    display: flex;
    justify-content: center; /* Centers the buttons */
    flex-wrap: wrap; /* Allows wrapping to next line if needed */
    gap: 10px; /* Adds spacing between buttons */
}



/* ==========================
   Custom Separator Styling
   ========================== */

/* Dotted Separator Style */
.separator-dotted {
    border: none;
    border-top: 3px dotted #717171; /* Dotted line, adjust color as needed */
    width: 30%; /* Adjust width as necessary */
    margin: 25px auto; /* Center and add spacing */
    opacity: 0.8; /* Set opacity to achieve a lighter look */
}



/* ==========================
   Kit Pop-Up Forms Styling
   ========================== */

 /* Targeting the modal when it is active */
    .seva-modal[data-active="true"], .formkit-modal[data-active="true"] {
        max-width: 460px; /* Set the maximum width you desire */
        width: 100%; /* Ensure it takes up 100% of the container width */
        opacity: 1; /* Ensure it's fully visible */
        margin-top: 0; /* Adjust top margin if necessary */
    }
    
    .seva-modal[data-active="false"], .formkit-modal[data-active="false"] {
        max-width: 460px; /* Set the maximum width you desire */
        width: 100%; /* Ensure it takes up 100% of the container width */
        opacity: 1; /* Ensure it's fully visible */
        margin-top: 0; /* Adjust top margin if necessary */
    }



/* ==========================
   FLA Box Styling (Fearless Living Academy Promo Box)
   ========================== */

.fr-view .content-box {
    background-color: #f8f8f8;
    padding: 15px 35px 30px 35px;
    border-radius: 8px;
    margin: 40px auto;
    width: 85%;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.9s ease;
    text-align: center;
}

.fr-view .content-box:hover {
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.2);
}

.fr-view .content-box h2 {
    font-size: 23px;
    font-family: "Assistant", sans-serif;
    color: #262626;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
}

.fr-view .content-box p {
    font-size: 19px;
    font-family: "Calibri", sans-serif;
    color: #262626;
    margin-bottom: 10px;
    line-height: 1.4;
}

.fr-view .content-box .fla-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #262626;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border-bottom: none;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background-color 0.7s, color 0.7s, box-shadow 0.5s;
    text-align: center;
    margin: 15px auto 20px;
}

.fr-view .content-box .fla-button:hover {
    background-color: white;
    color: #B80B04;
    border-bottom: none;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.fr-view .content-box .fire-icon {
    width: 40px;
    height: auto;
    margin: 20px auto -5px;
}


/* ==========================
   RESPONSIVE MENU FOR SMALL SCREENS
   ========================== */

@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex; /* Ensure it's displayed */
        flex-direction: column; /* Stacks the lines vertically */
        gap: 5px; /* Space between lines */
        cursor: pointer; /* Pointer cursor for clickability */
        z-index: 1100; /* Ensure it stays on top */
    }

    .hamburger-menu span {
        background-color: #333;
        height: 3px;
        width: 25px;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .header-nav {
        display: none; /* Hidden by default */
        align-items: center; /* Center items horizontally */
        justify-content: center; /* Center container vertically */
        background-color: #f2f2f2;
        position: absolute;
        width: 47%;
        top: 70px; /* Adjust below the hamburger icon */
        left: 50%; /* Position the menu from the center */
        transform: translateX(-50%); /* Center horizontally */
        padding: 10px; /* Reduce padding inside the container */
        z-index: 1000; /* Ensure it's behind the hamburger */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .header-nav.active {
        display: flex !important; /* Display menu when active */
    }

    .header-nav ul {
        list-style: none; /* Remove bullets */
        display: flex; /* Ensure flexbox is applied */
        flex-direction: column; /* Stack items vertically */
        margin: 0px; /* Remove outer margin */
        padding: 0px; /* Remove outer padding */
        width: 90%; /* Fit the container width */
        text-align: center; /* Center items */
        gap: 0px !important;
    }

    .header-nav ul li {
        margin: 5px 0; /* Slightly reduce space between items */
        width: 100%; /* Make items fit container width */
        padding: 5px 0 5px 0;
        margin: 5px 0 5px 0;
        gap: 0px !important;
    }

    .header-nav ul li a {
        display: block; /* Ensure links occupy full width */
        text-decoration: none;
        color: #333;
        padding: 8px 0; /* Reduce padding around text */
        font-size: 1.1rem; /* Adjust font size if necessary */
        letter-spacing: 1px;
        gap: 0px !important;
    }

    .header-nav ul li a:hover {
        background-color: #eaeaea; /* Optional hover effect */
    }


/* Header adjustments for smaller screens */

@media screen and (max-width: 768px) {
    header .title h1 a {
        font-size: 1.2rem;
	margin-left: 1rem;
        text-align: center; /* Center-align for smaller screens */
    }

    header .byline h1 a {
        font-size: 1.2rem;
        text-align: center; /* Center-align for smaller screens */
    }
}

