/**
 *  Theme Name: Brooklyn Farm Girl
 *  Theme URI: https://www.oncecoupled.com
 *
 *  Description: Custom Genesis child theme. Made with love!
 *  Tags: custom-made, genesis, child-theme
 *
 *  Author: Once Coupled
 *  Author URI: https://www.oncecoupled.com
 *
 *  Version: 1.0.0
 *  Template: genesis
 *  Template Version: 3.0.2
 *
 *  Text Domain: once-coupled-brooklyn-farm-girl
 *  License: All rights reserved.
 *
 *  Notes: this complements our `defaults` file and sets up
 *  a base for us by overwriting some fonts & colors #3
 */


/* ================================
[ Structure ]
================================ */

/* ---------- [ Table of Contents ] ---------- */

/**
 * Notes
 * - TOC (you are here)
 *
 * Elements
 * - Text
 * - Headings
 * - Links
 * - Forms
 *
 * Containers
 * - Content, Sidebar
 *
 * Navigation
 * - Toggles
 * - Generic Menu
 * - Pagination
 *
 * Sections
 * - Sidebar
 * - Footer
 *
 * Content
 * - Archive Description
 * - Comments
 * - Search
 */


/* ================================
[ Elements ]
================================ */

/* ---------- [ Text ] ---------- */

html {
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	line-height: 1.8;

	color: #000;
}

body {
	font-weight: 300;
}

/* ---------- [ Headings ] ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;

	margin: 8px 0 12px;
}

h1 {
	font-size: 30px;
}

h2 {
	font-size: 28px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

/* ---------- [ Links ] ---------- */

a {
	text-decoration: none;

	color: #000;
}

@media screen and (min-width: 1024px) {
	a:hover {
		opacity: 0.6;
	}
}

/* [ In-content Links ] */

.author-box a,
.comment-content a,
.error404 .entry-content a,
.singular .entry-content a:not([class^="wp-block"]) {
	color: #e6579b;
	border-bottom: 1px solid #e6579b;
}

.author-box a:hover,
.comment-content a:hover,
.error404 .entry-content a:hover,
.singular .entry-content a:not([class^="wp-block"]):hover {
	color: #ec82b5;
}

/* [ More Links ] */

.more-link-container {
	display: block;

	text-align: center;
}

/* ---------- [ Forms ] ---------- */

input,
select,
textarea {
	font-size: 10px;

	color: #000;
}

input,
textarea {
	border-color: #fff;
}

a.button,
.button,
input[type="button"],
input[type="submit"],
a.more-link,
.comment-reply a {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.075em;
	font-size: 10px;
	line-height: 1;

	display: inline-block;

	padding: 16px 20px 15px;

	color: #fff;
	background: #e75d9e;
}

input[type="submit"] {
	text-transform: lowercase;
}

@media screen and (min-width: 768px) {
	a.button,
	.button,
	input[type="button"],
	input[type="submit"],
	a.more-link,
	.comment-reply a {
		padding: 12px 20px 11px;
	}
}

@media screen and (min-width: 1024px) {
	a.button:hover,
	.button:hover,
	input[type="button"]:hover,
	input[type="submit"]:hover,
	a.more-link:hover,
	.comment-reply a:hover {
		opacity: 1;
		background: #e54993;
	}
}

.button a {
	color: #fff;
}

::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #000;
}

::-moz-placeholder {
	/* Firefox 19+ */
	color: #000;
}

:-ms-input-placeholder {
	/* IE 10+ */
	color: #000;
}

:-moz-placeholder {
	/* Firefox 18- */
	color: #000;
}

/* ================================
[ Containers ]
================================ */

/* ---------- [ Content, Sidebar ] ---------- */

.content-sidebar-wrap {
	margin: 16px auto;
}

@media screen and (min-width: 1024px) {
	.content-sidebar-wrap {
		margin-top: 32px;
	}
}

/* ================================
[ Navigation ]
================================ */

/* ---------- [ Toggles ] ---------- */

.generic-toggle,
.sub-menu-toggle {
	color: #000;
}

.sub-menu-toggle {
	font-size: 18px;
}

/* ---------- [ Generic Menu ] ---------- */

@media screen and (min-width: 1024px) {
	.menu .sub-menu {
		background: #000;
	}

	.menu .sub-menu .menu-item a {
		padding: 8px;

		color: #fff;
	}

	.menu .sub-menu .menu-item:hover > a {
		opacity: 1;
		color: #ec82b5;
		background: #ffe121;
	}
}

/* [ First sub-menu @todo ] */

@media screen and (min-width: 1024px) {
	.menu > .menu-item > .sub-menu {
		top: 44px; /* height of menu item + any psuedo-elements */
	}
}

/* [ Sub-menu Arrows ] */

@media screen and (min-width: 1024px) {
	.genesis-nav-menu > .menu-item > .sub-menu > li:first-of-type::before,
	.genesis-nav-menu > .menu-item > .sub-menu > li:first-of-type::after {
		position: absolute;
		z-index: 9;
		top: 0;
		left: 0;

		width: 50%;

		content: "";
		-webkit-transition: 400ms;
		        transition: 400ms;

		border-top: 8px solid #fff;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > li:first-of-type::before {
		border-right: 8px solid transparent;
	}

	.genesis-nav-menu > .menu-item > .sub-menu > li:first-of-type::after {
		right: 0;
		left: auto;

		border-left: 8px solid transparent; /* @todo improve placement of second and third (on the first item of the second) level menus */
	}
}

/* ---------- [ Pagination ] ---------- */

.pagination {
	font-weight: 700;
	font-size: 13px;
	line-height: 1;

	margin: 16px 0 0;
}

.pagination .icon-font {
	font-size: 80%;
}

/* [ Adjacent Entry Pagination ] */

.adjacent-entry-pagination {
	display: flex;

	margin: 4px -8px 16px;

	justify-content: space-between;
}

.adjacent-entry-pagination .pagination-previous,
.adjacent-entry-pagination .pagination-next {
	margin: 0 8px;

	text-align: center;

	flex: 0 1 calc(50% - 16px);
}

.adjacent-entry-pagination .pagination-previous a,
.adjacent-entry-pagination .pagination-next a {
	display: block;

	height: 100%;

	background: #f9f9f9;
}

@media screen and (min-width: 768px) {
	.adjacent-entry-pagination .pagination-previous a,
	.adjacent-entry-pagination .pagination-next a {
		display: flex;

		align-items: center;
	}
}

@media screen and (min-width: 1024px) {
	.adjacent-entry-pagination .pagination-previous a:hover,
	.adjacent-entry-pagination .pagination-next a:hover {
		opacity: 1;
		background: #e9e9e9;
	}
}

@media screen and (min-width: 768px) {
	.adjacent-entry-pagination .pagination-next a {
		flex-direction: row-reverse;
	}
}

.adjacent-entry-pagination .pagination-image {
	margin: 0;
}

@media screen and (min-width: 768px) {
	.adjacent-entry-pagination .pagination-image {
		flex: 0 0 112px;
	}

	.pagination-previous .pagination-image {
		margin-right: 12px;
	}

	.pagination-next .pagination-image {
		margin-left: 12px;
	}
}

.adjacent-entry-pagination .pagination-text-container {
	padding: 20px;
}

@media screen and (min-width: 768px) {
	.pagination-previous .pagination-text-container {
		padding-left: 0;
	}

	.pagination-next .pagination-text-container {
		padding-right: 0;
	}
}

.adjacent-entry-pagination .pagination-label {
	font-size: 18px;

	position: relative;

	display: inline-block;

	margin-top: 1.5em;
	margin-bottom: 8px;

	background-image: linear-gradient(180deg, transparent 0, #ffe121 0, #ffe121 0.3em, transparent 0.3em);
	background-repeat: no-repeat;
	background-position: 0 0.7em;
}

.adjacent-entry-pagination .pagination-label .icon-font {
	font-size: 1em;

	position: absolute;
	top: -1.5em;
	left: 50%;

	transform: translateX(-50%);
}

.adjacent-entry-pagination .pagination-title {
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4;
}

/* [ Archive Pagination ] */

.archive-pagination {
	font-size: 15px;

	width: 100%; /* flexbox fix */
	margin: 20px 0 0;
}

.archive-pagination a,
.archive-pagination .pagination-omission {
	line-height: 28px;

	width: 28px;
	height: 28px;

	border-radius: 28px;
}

@media screen and (min-width: 1024px) {
	.archive-pagination a:hover {
		opacity: 1;
		color: #fff;
		background: #e75d9e;
	}
}

.archive-pagination .active a {
	color: #fff;
	background: #e6579b;
}

.archive-pagination .pagination-previous a,
.archive-pagination .pagination-next a {
	position: relative;
	top: -0.2em;

	width: auto;

	border-radius: 0;
	background-image: linear-gradient(180deg, transparent 0, #e6579b 0, #e6579b 0.3em, transparent 0.3em);
	background-repeat: no-repeat;
	background-position: 0 1.6em;
}

@media screen and (min-width: 1024px) {
	.archive-pagination .pagination-previous a:hover,
	.archive-pagination .pagination-next a:hover {
		opacity: 1;
		color: #000;
		background-color: transparent;
		background-image: linear-gradient(180deg, transparent 0, #e75d9e 0, #e75d9e 0.3em, transparent 0.3em);
		background-position: 0 1.4em;
	}
}

.archive-pagination .icon-font {
	font-size: 120%;

	position: absolute;
	top: 0;
	right: -1.5em;
}

.archive-pagination .pagination-previous .icon-font {
	top: 0.15em;
	right: auto;
	left: -1.5em;
}

/* [ Comment Pagination ] */

.comments-pagination a {
	font-style: italic;

	display: inline-block;
}

.comments-pagination .pagination-previous .icon-font {
	margin-right: 0.5em;
	margin-left: -0.5em;
}

/* [ Entry Pagination ] */

.entry-pagination {
	text-transform: lowercase;

	margin-top: 20px;
}

.entry-pagination .post-page-numbers {
	line-height: 32px;

	display: inline-block;

	width: 32px;
	height: 32px;

	border-radius: 32px;
}

.content .entry-pagination.pagination .post-page-numbers {
	background: none;
}

.entry-pagination .post-page-numbers:first-child {
	margin-left: 4px;
}

.entry-pagination .post-page-numbers.current {
	line-height: 28px;

	border: 2px solid #ffe121;
}

@media screen and (min-width: 1024px) {
	.content .entry-pagination.pagination a.post-page-numbers:hover {
		background: #ffe121;
	}
}

/* ================================
[ Sections ]
================================ */

/* ---------- [ Sidebar ] ---------- */

.widget {
	margin-bottom: 24px;

	text-align: center;
}

/* ---------- [ Footer ] ---------- */

.site-credits-container {
	margin-top: -4px;
}

@media screen and (min-width: 1024px) {
	.site-credits-container {
		padding-bottom: 0;
	}
}

.site-credits-box {
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.2;

	bottom: 28px;

	color: #fff;
	background: #e6579b;
}

@media screen and (min-width: 1024px) {
	.site-credits-box {
		bottom: 24px;
	}
}

/* ================================
[ Content ]
================================ */


/* ---------- [ Archive Description ] ---------- */

.archive-description {
	width: 100%; /* flexbox fix */ /* technically not needed here, since we've moved this outside `content`, but better to keep around just in case */
}

/* ---------- [ Comments ] ---------- */

/* [ Comment Form ] */

.comment-respond {
	font-weight: 300;
	font-size: 14px;

	margin: 0 0 20px; /* best spacing for replying to comments @todo move to defaults? */
	padding: 32px 20px;

	text-align: center;

	border: 4px solid #707070;
}

@media screen and (min-width: 768px) {
	.comment-respond {
		position: relative;

		display: flex;
		flex-direction: column;

		margin-bottom: 48px;
		padding: 30px 18px 57px 40px;

		text-align: left;

		justify-content: left;
	}
}

.bypostauthor + .comment-respond {
	margin-top: 20px;
}

.comment-respond .comment-reply-title {
	text-transform: lowercase;
	font-size: 32px;
	line-height: 1;

	margin-bottom: 12px;

	color: #1a1818;
}

@media screen and (min-width: 768px) {
	.comment-respond .comment-reply-title {
		font-size: 42px;

		margin-bottom: 15px;
	}
}

.comment-reply-title a {
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 10px;

	display: inline-block;

	margin-top: -8px;
	padding: 8px 0;
}

.comment-respond p {
	line-height: 1.4;

	margin-bottom: 11px;
}

@media screen and (min-width: 768px) {
	.comment-respond p {
		margin-bottom: 10px;
	}
}

.comment-form-wprm-rating label {
	font-weight: 900;

	display: block;
}

@media screen and (min-width: 768px) {
	.comment-form-wprm-rating label {
		display: inline;
	}
}

@media screen and (min-width: 768px) {
	.comment-form-author,
	.comment-form-email {
		float: left;

		width: calc(50% - 3px);
	}

	.comment-form-email {
		float: right;
	}
}

.comment-form-comment,
.comment-form-author,
.comment-form-email {
	position: relative;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 16px;
	line-height: 1;

	position: absolute;
	top: 18px;
	left: 18px;

	display: block;
}

@media screen and (min-width: 768px) {
	.comment-form-comment label,
	.comment-form-author label,
	.comment-form-email label {
		font-size: 12px;
	}
}

.comment-form-comment label .required,
.comment-form-author label .required,
.comment-form-email label .required {
	display: none;
}

.comment-form-comment textarea,
.comment-form-author input,
.comment-form-email input {
	font-weight: 300;
	font-size: 15px;
	line-height: 1;

	display: block;

	min-height: 48px;
	padding: 12px 16px 12px 90px;

	background-color: #f4f2f0;
}

.comment-respond textarea {
	padding-top: 40px;
	padding-left: 16px;
}

@media screen and (min-width: 768px) {
	.comment-respond textarea {
		height: 101px;
	}

	.logged-in .comment-respond textarea {
		height: 101px;
	}
}

.wprm-rating-star.rated svg polygon {
	fill: #ec9b14 !important;
}

.comment-respond .form-submit input {
	font-size: 16px;

	width: 100%;

	border-radius: 0;
	background: #f05923;
}

@media screen and (min-width: 768px) {
	.comment-respond .form-submit {
		position: absolute;
		right: 29px;
		bottom: -39px;
	}

	.comment-respond .form-submit input {
		text-transform: lowercase;
		letter-spacing: 0;
		font-size: 14px;

		width: 81px;
		height: 81px;
		padding: 0;

		transform: rotate(12deg);

		border-radius: 81px;
	}
}

@media screen and (min-width: 1024px) {
	.comment-respond .form-submit input:hover {
		color: #fff;
		background: #ea480d;
	}
}

/* [ Cookie Consent ] */

p.comment-form-cookies-consent {
	font-weight: 300;
	font-size: 0.9em;

	margin: 0;

	text-align: left;
}

.comment-form-cookies-consent input {
	margin-top: 2px;
	margin-right: 8px;
}

.comment-form-cookies-consent label {
	/* display: inline-block; */
}

/* [ Discussion ] */

.entry-comments {
	font-size: 14px;

	margin: 0 0 24px;
}

.comment.bypostauthor > article {
	padding: 20px;

	background: #f4f2f0;
}

.comment.byuser .children .comment.byuser > article {
	padding: 20px;

	background: #f4f2f0;
}

.avatars-disabled .comment:not(.bypostauthor) > articles > .comment-header {
	margin-bottom: 0;
}

.comment-author {
	font-weight: 700;
	font-size: 16px;

	margin: 8px 0 0;
}

@media screen and (min-width: 768px) {
	.comment-author {
		font-size: 18px;
	}
}

.avatars-disabled .comment-header::before {
	content: none;
}

.avatars-disabled .bypostauthor > article .comment-header {
	margin-top: 12px;
	margin-bottom: 12px;
	padding-right: 0;
}

.avatars-disabled .bypostauthor > article .comment-header::before {
	display: none;
}

.wprm-rating-star svg {
	transform: rotate(-5deg);
}

.comment-time-link,
.comment-edit-link {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 10px;

	position: relative;
	top: -2px;

	color: #e6579b;
}

.comment-reply .comment-reply-link {
	text-transform: none;
	letter-spacing: 0;
	font-size: 12px;

	padding: 8px 12px;
}

.comment .children {
	margin-left: 45px;
}

.wprm-comment-rating {
	position: absolute;
	top: 16px;
	right: 0;
}

.bypostauthor .wprm-comment-rating {
	right: 20px;
}

/* ---------- [ Search ] ---------- */

.search-form {
	border-color: #a3a3a3;
}

.search-form input {
	font-weight: 700;
	letter-spacing: 0.025em;
	font-size: 14px;
	line-height: 40px;

	height: 40px;
	padding: 10px 16px 8px;
}

.search-form input,
.search-form input:hover {
	background: transparent;
}

.search-submit-icon {
	top: 1px;

	color: #000;
}

.search-form ::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #000;
}

.search-form ::-moz-placeholder {
	/* Firefox 19+ */
	color: #000;
}

.search-form :-ms-input-placeholder {
	/* IE 10+ */
	color: #000;
}

.search-form :-moz-placeholder {
	/* Firefox 18- */
	color: #000;
}

/* [ Site Header Search ] */

.site-header .search-form {
	position: relative;

	overflow: hidden;

	border: 1px solid #eee;
	border-radius: 40px;
}

.site-header .search-form input {
	line-height: 40px;

	width: calc(100% - 32px);
	height: 40px;
	padding-top: 8px;
}

.site-header .search-form .search-form-submit {
	width: 32px;
}

@media screen and (min-width: 1024px) {
	.site-header .search-form-submit:hover + * + .search-submit-icon {
		color: #777;
	}
}

.site-header .search-form ::-webkit-input-placeholder {
	/* Chrome/Opera/Safari */
	color: #000;
}

.site-header .search-form ::-moz-placeholder {
	/* Firefox 19+ */
	color: #000;
}

.site-header .search-form :-ms-input-placeholder {
	/* IE 10+ */
	color: #000;
}

.site-header .search-form :-moz-placeholder {
	/* Firefox 18- */
	color: #000;
}