/*
Theme Name: Lori Patton 2025
Template: genesis
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

body {
	padding: 0;
	margin: 0;
	font-family: Roboto, sans-serif !important;
}

a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
	
}

h1, h2, h3, h4, h5, h6 {
	font-family: Kameron, Serif;
	font-weight: 500;
	color: #925114;
}

h1 {
	font-size: 48px;

}

h2 {
	font-size: 42px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 32px;
}

h5 {
	font-size: 28px;
}

h6 {
	font-size: 24px;
}

p {
	font-size: 20px;
	color: #333;
	line-height: 1.65;
}

blockquote {
	background: #ececec;
	border: 1px solid #333;
	padding: 20px 30px;
	margin: 0;
}

a {
	color: #925114;
}

.more-link {
	display: block;
}

/* general */

.button {
	display: block;
	background-color: #046E3A;
	padding: 9.5px 48px;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
}

.button:hover {
	background-color: #925114;
}

p.entry-meta {
	font-size: 16px;
}

/* header */

.site-header {
	height: 133px;
	display: flex;
	padding: 20px 0;
}

.site-header .wrap {
	height: 133px;
	display: flex;
	flex-direction: row;
	margin: 0 auto;
	padding: 0 80px;
	justify-content: space-between;
	width: 1200px;
}

.site-header .wrap .title-area {
	height: 133px;
}

.site-header .wrap .title-area .site-title {
	padding: 0;
	margin: 0;
}

.site-header .widget-wrap a {
	font-size: 20px;
}

.header-image .site-title {
	width: 400;
	height: 133px;
}

.header-image .site-title > a {
    background: url(images/logo.png) no-repeat left;
    background-size: 100%;
    float: left;
    aspect-ratio: 400 / 133;
    padding: 0;
    width: 100%;
    height: 100%;
	color: transparent;
}

p.site-description {
	display: none;
}

.site-header .wrap {
	display: flex;
	flex-direction: row;
	padding: 0 80px;
	justify-content: space-between;
}

.site-header .wrap .widget-area {
	display: flex;
}

.site-header .wrap .widget-area section {
	display: flex;
}

.site-header .wrap .widget-area section .widget-wrap {
	margin: auto;
}

.rws-header-area {
	background: #aee19f;
	background-image: url(images/background-pattern.png);
	width: 100%;
	height: 20.8vw;
	max-height: 310px;
	display: flex;
}

.rws-header-area-image {
	background: url(images/header.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: none;
    width: 80%;
	max-width: 1200px;
	margin: auto auto;
    resize: both;
	height: 20.8vw;
	max-height: 310px;
	display: flex;
}

.rws-header-area-image .wrap {
	margin: auto 80px auto auto;
}

.rws-header-area-image .wrap p {
	width: 480px;
	font-size: 28px;
	font-family: Kameron, Serif;
	font-weight: 500;
	line-height: 1.25;
}

/* navigation */

.nav-primary {
	background-color: #046E3A;
	width: 100%;
}

.genesis-nav-menu {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 0 60px;
	max-width: 1200px;
	width: 80%;
	margin: 0 auto;
	padding: 0;
}

.genesis-nav-menu.menu-primary {
	padding: 0;
}

.genesis-nav-menu .menu-item {
	display: block;
	height: 59px;
	display: flex;
}

.genesis-nav-menu .menu-item:hover {
	background-color: #925114;
}

.genesis-nav-menu .menu-item a {
	text-decoration: none;
	padding: 20px;
	margin: auto 0;
}

.genesis-nav-menu .menu-item span {
	color: #fff;
}

/* mobile menu */

.wprmenu_bar {
    background-color: #046E3A !important;
}

#mg-wprm-wrap {
    background-color: #046E3A !important;
}

#mg-wprm-wrap li.current-menu-item > a {
    background: #925114 !important;
}

#mg-wprm-wrap ul#wprmenu_menu_ul li.menu-item a:hover {
    background: #925114 !important;
}

/* content */

.site-inner {
	width: 100%;
	display: flex;
}

.content-sidebar-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0 40px 0;
	display: flex;
	flex-direction: row;
	gap: 80px;
}

.full-width-content .content-sidebar-wrap {
	max-width: 960px;
}

.content-sidebar-wrap .content {
	width: 760px;
}

.full-width-content .content-sidebar-wrap .content {
	width: 960px;
}

.content-sidebar-wrap .sidebar {
	width: 360px;
}

.entry-content ul,
.entry-content ol {
	font-size: 18px;
	line-height: 1.65;
	margin-bottom: 24px;
	margin-left: 0px;
}

.entry-content ol > li {
	list-style-type: decimal;
}

.entry-content ul > li {
	left: 15px;
	padding-right: 15px;
	position: relative;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
}

.widget ul {
	list-style-type: none;
}

/* sidebar */

.sidebar .widget-wrap .widget-title {
	background-color: #046e3a;
	padding: 12px 24px;
	color: #fff;
	margin: 24px 0;
}

.widget_recent_entries ul,
.widget_categories ul {
	padding: 0;
}

.widget_recent_entries ul li,
.widget_categories ul li {
	font-size: 16px;
	line-height: 1.3;
	padding: 6px 12px;
}

.widget_recent_entries ul li a,
.widget_categories ul li a {
	color: #925114;
	text-decoration: none;
	width: 100%;
	font-size: 20px;
}

.widget_recent_entries ul li a:hover,
.widget_categories ul li a:hover {
	font-weight: 600;
}

.widget_categories ul li.cat-item-1 {
	display: none;
}

/* blog post */

.entry-title-link {
	text-decoration: none;
}

.entry {
	border-bottom: solid 2px #046E3A;
}

.entry:last-of-type {
	border-bottom: none;
}

.rws-read-more-button {
	margin-top: 20px;
	margin-bottom: 40px;
	width: 180px;
	text-align: center;
}

/* blog pagination */

.archive-pagination {
	display: flex;
}

.archive-pagination ul {
	display: flex;
	flex-direction: row;
	gap: 5px;
	list-style-type: none;
	padding: 0;
	margin: 60px auto 0 auto;
}

.archive-pagination ul li {
	background-color: #046E3A;
	border-radius: 5px;
	padding: 8px 0px;
}

.archive-pagination ul li.active,
.archive-pagination ul li:hover {
	background-color: #925114;
}

.archive-pagination ul li a {
	color: #fff;
	text-decoration: none;
	padding: 8px 12px;
}

/* contact form */

.gform_wrapper {
	width: 800px;
	margin: auto;
}

.gform-theme--foundation .gform_fields {
    grid-row-gap: 10px !important;
    row-gap: 10px !important;
}

.rws-form-wrap {
    background: #aee19f;
	background-image: url(images/background-pattern.png);
    padding: 24px;
}

.rws-form-wrap h2 {
    color: #fff;
    text-align: center;
    margin: 0px;
    padding: 24px;
}

.rws-form-wrap .gform_button {
	width: 200px !important;
	background-color: #046E3A !important;
	margin: 0 auto !important;
}

.rws-form-wrap .gform_button:hover {
	background-color: #925114 !important;
}

/* footer */

.site-footer {
	width: 100%;
	background-color: #046E3A;
	color: #fff;
	display: flex;
}

.site-footer a {
	color: #fff;
}

.site-footer i {
	padding: 10px;
}

.site-footer .wrap {
	padding: 30px 80px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;
}

.site-footer .wrap p {
	color: #fff;
	min-width: 120px;
}

@media only screen and (max-width: 1280px) {
	.content-sidebar-wrap,
	.full-width-content .content-sidebar-wrap {
		width: 960px;
		flex-direction: column;
		gap: 60px;
	}

	.content-sidebar-wrap .content,
	.full-width-content .content-sidebar-wrap .content {
		width: 960px;
	}

	.content-sidebar-wrap .sidebar {
		width: 960px;
	}
}

@media only screen and (max-width: 1080px) {

	.content-sidebar-wrap,
	.full-width-content .content-sidebar-wrap {
		width: 80%;
	}

	.content-sidebar-wrap .content,
	.full-width-content .content-sidebar-wrap .content {
		width: 100%;
	}

	.content-sidebar-wrap .sidebar {
		width: 100%;
	}

	.rws-header-area-image .wrap p {
		width: 320px;
		font-size: 20px;
		line-height: 1;
	}

	.gform_wrapper {
		width: 640px;
	}

	.genesis-nav-menu {
		width: 100%;
	}

	.genesis-nav-menu .menu-item a {
		text-decoration: none;
		padding: 20px 10px;
		margin: auto 0;
	}

}

@media only screen and (max-width: 800px) {

	.rws-header-area-image .wrap p {
		width: 240px;
		font-size: 16px;
	}

	.gform_wrapper {
		width: 80%;
	}

	.header-image .site-title {
		width: 300px;
	}

}

@media only screen and (max-width: 768px) {
	
	.nav-primary .wrap {
		display: none;
	}

	.rws-header-area-image {
		width: 100%;
	}

	.rws-header-area-image .wrap {
		margin-right: 40px;
	}

	.rws-header-area-image .wrap p {
		width: 240px;
		font-size: 15px;
	}

	.site-header .wrap {
		flex-direction: column;
		align-items: center;
		height: auto;
		padding: 0;
		padding-bottom: 30px;
	}

	.site-header {
		height: auto;
	}

}