/**
 * Base theme styles
 * Core front-end styles for non-block elements including typography, forms, and layout
 *
 * @package A Southern Soul 2025
 * @author Townhouse
 * @since 1.0.0
 */

/* Defaults 
---------------------------------------------------------------------------- */

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	overflow-x: hidden;
}

:focus:not(:focus-visible) {
	outline: none
}

:focus-visible {
	outline-style: dashed;
	outline-color: var(--wp--preset--color--contrast);
	outline-width: 1px;
}

/* Forms & Buttons 
---------------------------------------------------------------------------- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--borderline);
	border-radius: var(--wp--preset--border-radius--none);
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--medium);
	padding: var(--wp--preset--spacing--xx-small);
	width: 100%;
}

textarea {
	line-height: var(--wp--custom--line-height--body);
}

input:focus,
textarea:focus {
	border: 1px solid transparent;
	outline: 1px dashed var(--wp--preset--color--contrast);
	outline-offset: -1px;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.sc-button {
	-webkit-appearance: none;
	background-color: var(--wp--preset--color--hyperlink);
	border: 1px solid;
	border-radius: var(--wp--preset--border-radius--small);
	color: var(--wp--preset--color--base);
	cursor: pointer;
	font-size: var(--wp--preset--font-size--xx-small);
	font-weight: var(--wp--custom--font-weight--semi-bold);
	line-height: 1;
	padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--medium);
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: auto;
}

.button,
.sc-button {
	display: inline-block;
}

button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.sc-button:hover,
.sc-button:focus {
	background-color: var(--wp--preset--color--hyperlink);
	border: 1px solid;
	color: var(--wp--preset--color--base);
	opacity: 0.8;
	text-decoration: none;
}

input[type="button"]:focus-visible,
input[type="reset"]:focus-visible,
input[type="submit"]:focus-visible {
	outline: 1px dashed var(--wp--preset--color--hyperlink);
	outline-offset: 1px;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
	display: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

::placeholder {
	color: var(--wp--preset--color--contrast-muted);
	opacity: 1;
}

/* Links
--------------------------------------------- */

a {
	text-decoration: underline;
}

a:focus,
a:hover {
	opacity: 0.85;
	text-decoration: underline;
}

/* Lists
--------------------------------------------- */

.entry-comments ol,
.entry-comments ul,
nav ul,
section:not(.entry-content) ol,
section:not(.entry-content) ul {
	margin: 0;
	padding: 0;
}

li {
	list-style-type: none;
}

.entry-content ol>li {
	list-style-type: decimal;
	margin-bottom: 8px;
}

.entry-content ul>li {
	list-style-type: disc;
	margin-bottom: 8px;
}

.entry-content ol ul>li,
.entry-content ul ul>li {
	list-style-type: circle;
}

.entry-content ol ol,
.entry-content ul ul {
	margin-bottom: 0;
	margin-top: 0;
}

/* Objects & Images 
---------------------------------------------------------------------------- */

.wp-block-site-logo a {
	display: block;
}

figure {
	margin: 0;
}

embed,
iframe,
img,
object,
video,
.wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: top;
}

.avatar {
    border-radius: 50%;
    height: 36px;
    margin-right: 0.55rem;
    width: 36px;
}

a img:focus,
a img:hover {
	opacity: 0.8;
}

.is-style-hidden-image {
    display: none !important;
  }

/* Paragraphs
--------------------------------------------- */

p {
	margin-bottom: 1.25em;
	padding: 0;
}

/* Screen Reader Text
--------------------------------------------- */

.screen-reader-shortcut,
.screen-reader-text,
.screen-reader-text span {
	background-color: var(--wp--preset--color--base) !important;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
	color: var(--wp--preset--color--contrast) !important;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    white-space: nowrap;
    word-wrap: normal !important;

}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
    background: var(--wp--preset--color--base);
    border-radius: var(--wp--preset--border-radius--small);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--wp--preset--color--contrast);
    display: block;
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Typography 
---------------------------------------------------------------------------- */

b, strong {
	font-weight: var(--wp--custom--font-weight--semi-bold);
}

em, i {
	font-style: italic;
}

small {
	font-size: var(--wp--preset--font-size--small);
}

/* Structure and Layout
---------------------------------------------------------------------------- */

/* Site Container
--------------------------------------------- */

.site-container {
	word-wrap: break-word;
}

/* Site Content
--------------------------------------------- */

.site-content {
	clear: both;
	margin: 0 auto;
	max-width: 100%;
	overflow: hidden;
	padding: 30px 20px 40px;
}

.content-area {
    max-width: var(--wp--style--global--wide-size);
    margin: 0 auto;
}

.content-sidebar .content-area {
    display: grid;
    grid-template-columns: 1fr var(--wp--custom--layout--sidebar);
    gap: var(--wp--custom--layout--gap);
}

.content-sidebar .content-area > * {
    min-width: 0;
}

.content {
    margin: 0 auto;
    max-width: var(--wp--style--global--content-size);
}

.first-block-align-full.full-width-content .site-content {
	padding-top: 0;
}

.last-block-align-full.full-width-content .site-content {
	padding-bottom: 0;
}

.wp-block-query ul>li {
	display: flex;
}

@media (max-width: 767px) {

    .content {
        max-width: 100%;
    }

}

@media (max-width: 1023px) {

    .content-sidebar .content-area {
        grid-template-columns: 1fr;
    }
    
}

@media (min-width: 1024px) {

    .content-sidebar .content {
        margin: 0;
    }

}

@media (min-width: 1240px) {

    .site-content {
        padding-top: 40px;
    }

}

/* Site Header
---------------------------------------------------------------------------- */

.site-header {
	align-items: center;
	background-color: var(--wp--preset--color--neutral-light);
	display: flex;
	min-height: 60px;
	padding: 10px 0;
	position: relative;
	z-index: 100;
}

.site-header .wrap {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
    gap: 20px;
	justify-content: space-between;
	margin: 0 auto;
	min-height: 40px;
	position: relative;
    width: 100%;
}

@media (min-width: 360px) {

    .site-header {
        padding: 10px 5px;
    }

}

@media (min-width: 431px) {

    .site-header {
        padding: 10px;
    }
    
}

@media (min-width: 1024px) {

	.site-header {
		min-height: 82px;
		padding: 20px;
	}
}

/* Site Logo & Title
--------------------------------------------- */

.site-logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.site-logo img {
    display: block;
    padding-bottom: 5px;
    width: 200px;
}

.site-title {
    font-size: var(--wp--preset--font-size--medium-large);
    font-weight: var(--wp--custom--font-weight--bold);
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 100;
}

a.site-title {
    color: var(--wp--preset--color--contrast);
    text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
    opacity: 0.85;
}

@media (min-width: 360px) {

    .site-logo img {
        width: 210px;
    }

}

@media (min-width: 390px) {

    .site-logo img {
        width: 220px;
    }

}

@media (min-width: 1024px) {

    .site-header .wrap {
        align-items: center;
        gap: 20px;
    }

    a.site-logo {
        display: flex;
        align-items: center;
    }

}

/* Header Navigation
---------------------------------------------------------------------------- */

.header-menu {
	clear: both;
	display: flex;
	line-height: 1;
    margin: 0;
    padding: 0;
	width: 100%;
}

.header-menu .menu-item {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
    gap: 0 10px;
	position: relative;
}

.header-menu a {
	color: var(--wp--preset--color--contrast);
	display: inline-block;
	font-weight: var(--wp--custom--font-weight--medium);
    letter-spacing: 0.085em;
	outline-offset: -1px;
	text-decoration: none;
    text-transform: uppercase;
}

.header-menu a:focus,
.header-menu a:hover,
.header-menu .sub-menu .current-menu-item>a:focus,
.header-menu .sub-menu .current-menu-item>a:hover {
	opacity: 1;
	color: var(--wp--preset--color--hyperlink);
}

.header-menu .sub-menu,
.header-menu .sub-menu a {
	width: 100%;
}

.header-menu .sub-menu {
	display: none;
	margin: 0;
	opacity: 1;
	padding: 0;
	position: static;
	width: 100%;
	z-index: 99;
}

.header-menu .sub-menu a {
	display: inline-block;
	font-weight: var(--wp--custom--font-weight--medium);
    letter-spacing: 0;
	position: relative;
    text-transform: none;
	width: auto;
	word-wrap: break-word;
}

.header-menu .menu-item:focus,
.header-menu .menu-item:hover {
	position: relative;
}

.header-menu .menu-item:hover>.sub-menu {
	display: block;
	left: auto;
	opacity: 1;
}

/* Mobile Menu
--------------------------------------------- */

@media (max-width: 1023px) {
    
    .header-nav {
        background-color: var(--wp--preset--color--neutral-light);
        display: none;
        height: calc(100vh - var(--site-header-bottom, 60px) + 1px);
        left: 0;
        padding: 1em 15px;
        position: fixed;
        right: 0;
        top: calc(var(--site-header-bottom, 60px) - 1px);
        width: 100%;
        z-index: 99;
    }

    .header-menu {
        flex-direction: column;
        height: 100%;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        width: 100%;
    }

    .header-menu .sub-menu {
        max-height: none;
        overflow: visible;
        position: relative;
    }

    .header-menu a {
        font-size: var(--wp--preset--font-size--xx-small);
        padding: 14px 0;
	}

	.header-menu .sub-menu a {
        font-size: var(--wp--preset--font-size--small);
		margin: 0 0 0 10px;
	}

    .header-menu .sub-menu .sub-menu a {
        margin: 0 0 0 20px;
    }

	.header-menu .sub-menu .sub-menu .sub-menu a {
        margin: 0 0 0 30px;
    }

    .header-menu .menu-item:hover > .sub-menu {
        display: none;
    }

    .menu-toggle,
    .search-toggle,
    .sub-menu-toggle {
        background-color: transparent;
        border-radius: 50%;
        border-width: 0;
        box-shadow: none !important;
        display: block;
        overflow: hidden;
        text-align: center;
        visibility: visible;
        margin: 0;
        padding: 10px;
        position: relative;
        top: 0;
        z-index: 1000;
    }

    .menu-toggle:focus,
    .menu-toggle:hover,
    .search-toggle:focus,
    .search-toggle:hover,
    .sub-menu-toggle:focus,
    .sub-menu-toggle:hover {
        background-color: transparent;
        border-width: 0;
    }

    .menu-toggle::before,
    .search-toggle::before,
    .menu-toggle.activated::before,
    .search-toggle.activated::before {
        background-position: center;
        background-repeat: no-repeat;
        content: ' ';
        float: right;
        height: 20px;
        width: 20px;
    }

    .menu-toggle::before {
        background-image: url('../icons/menu.svg');
        background-size: 20px 20px;
    }

    .search-toggle::before {
        background-image: url('../icons/search.svg');
        background-size: 18px 18px;
        padding: 1px;
    }

    .menu-toggle.activated::before,
    .search-toggle.activated::before {
        background-image: url('../icons/close.svg');
        background-size: 16px 16px;
        padding: 2px;
    }

    .sub-menu-toggle {
        -webkit-appearance: none;
        align-items: center;
        background: none;
        border: none;
        display: flex;
        float: right;
        padding: 10px;
        position: relative;
        z-index: 100;
    }

    .sub-menu-toggle::before {
        border-top: 1px solid;
        border-right: 1px solid;
        color: var(--wp--preset--color--contrast);
        content: '';
        display: inline-block;
        height: 8px;
        margin-top: -4px;
        width: 8px;
        transform: rotate(135deg);
        transition: transform 0.3s ease;
    }

    .sub-menu-toggle.activated::before {
        margin-top: 6px;
        transform: rotate(-45deg);
    }

    .menu-item-has-children > .sub-menu-toggle {
        height: 30px;
        justify-content: center;
        width: 30px;
    }

}

/* Mobile Search
--------------------------------------------- */

@media (max-width: 1023px) {

    .mobile-search {
        background-color: var(--wp--preset--color--neutral-light);
        display: none;
        height: calc(100vh - var(--site-header-bottom, 60px) + 1px);
        left: 0;
        padding: 90px 15px 0;
        position: fixed;
        right: 0;
        top: calc(var(--site-header-bottom, 60px) - 1px);
        width: 100%;
        z-index: 99;
    }

    .mobile-search.activated {
        display: block;
        opacity: 1;
    }

    .mobile-search .search-form {
        margin: 0;
        max-width: 100%;
    }

    .mobile-search .search-field {
        background-color: var(--wp--preset--color--base);
        width: 100%;
    }

}

@media (min-width: 1024px) {

    .mobile-search,
    .mobile-search.activated {
        display: none;
    }

}

/* Desktop Menu
--------------------------------------------- */

@media (min-width: 1024px) {

	.js .header-menu {
		display: block;
	}

    .header-nav {
        width: auto;
    }

	.header-menu {
		clear: none;
		padding: 0;
		width: auto;
	}

	.header-menu .menu-item {
        display: inline-block;
    }

    .header-menu .menu-item:focus,
    .header-menu .menu-item:hover {
        position: relative;
    }

	.header-menu a {
        font-size: var(--wp--preset--font-size--xxx-small);
		padding: 12px 16px;
	}

	.header-menu .sub-menu a {
        font-size: var(--wp--preset--font-size--x-small);
		margin: 0;
		padding: 12px 16px;
	}

    .header-menu .sub-menu li:first-child a {
        padding-top: 16px;
    }

    .header-menu .sub-menu li:last-child a {
        padding-bottom: 18px;
    }

	.header-menu .menu-item.menu-item-has-children > a > span {
        display: flex;
        align-items: center;
    }

	.header-menu .menu-item.menu-item-has-children > a > span::after {
		border-top: 1px solid;
		border-right: 1px solid;
		content: "";
		height: 6px;
		margin: -4px -3px 0 8px;
		-webkit-transform: rotate(135deg);
		transform: rotate(135deg);
		width: 6px;
	}

	.header-menu .sub-menu .menu-item.menu-item-has-children > a > span {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}

	.header-menu .sub-menu .menu-item.menu-item-has-children > a > span::after {
        transform: rotate(135deg);
    }

	.header-menu .sub-menu .menu-item.menu-item-has-children:hover > a > span::after,
	.header-menu .sub-menu .menu-item.menu-item-has-children:focus-within > a > span::after {
		transform: rotate(45deg);
	}

	.header-menu .sub-menu,
    .header-menu .sub-menu a,
    .header-menu .sub-menu .menu-item {
        width: 210px;
    }

    .header-menu .sub-menu {
        background-color: var(--wp--preset--color--base);
        border: 1px solid var(--wp--preset--color--borderline);
        border-radius: var(--wp--preset--border-radius--small);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
        opacity: 0;
        padding: 0;
        position: absolute;
        width: 210px;
    }

    .header-menu .sub-menu a,
    .header-menu .sub-menu .menu-item {
        width: 208px;
    }

    .header-menu .sub-menu .sub-menu {
        margin: -45px 0 0 205px;
    }

    .header-menu .sub-menu a:focus,
    .header-menu .sub-menu a:hover,
    .header-menu .sub-menu .current-menu-item > a:focus,
    .header-menu .sub-menu .current-menu-item > a:hover {
        background-color: var(--wp--preset--color--base-shade);
        box-shadow: none;
    }

    .header-menu .sub-menu li:first-child a {
        border-top-left-radius: var(--wp--preset--border-radius--small);
        border-top-right-radius: var(--wp--preset--border-radius--small);
    }

    .header-menu .sub-menu li:last-child a {
        border-bottom-left-radius: var(--wp--preset--border-radius--small);
        border-bottom-right-radius: var(--wp--preset--border-radius--small);
    }

    .menu-toggle,
    .search-toggle,
    .sub-menu-toggle {
        display: none;
        visibility: hidden;
    }

    .header-menu .menu-item-has-children:focus-within > .sub-menu {
        display: block;
        left: auto;
        opacity: 1;
    }

}

@media (min-width: 1160px) {

	.header-menu .header-nav .menu-item:not(:last-of-type) {
		margin: 0 20px 0 0;
	}

}

/* Desktop Search
--------------------------------------------- */

.desktop-search {
    display: none;
}

.shortcode-search .search-form {
    margin: 0;
    max-width: 100%;
    text-align: center;
}

.shortcode-search .search-form .search-field {
    font-size: var(--wp--preset--font-size--small);
    height: 46px;
    padding-left: 35px;
    padding-right: 35px;
    text-align: center;
}

.shortcode-search .search-submit {
    background-size: 16px 16px;
    height: 46px;
    width: 46px;
}

.has-brand-background-color .shortcode-search .search-form .search-field {
    border-color: var(--wp--preset--color--base);
}

@media (min-width: 1024px) {

    .desktop-search {
        display: block;
        width: 154px;
    }

    .desktop-search .search-form {
        position: relative;
    }

    .desktop-search .search-field {
        background-color: var(--wp--preset--color--base);
        border: 1px solid var(--wp--preset--color--borderline);
        border-radius: var(--wp--preset--border-radius--small);
        font-size: var(--wp--preset--font-size--xxx-small);
        height: 42px;
        padding: 8px 40px 8px 12px;
        width: 100%;
    }

    .desktop-search .search-submit {
        height: 42px;
        position: absolute;
        right: 0;
        top: 0;
        width: 42px;
    }

    /* Hide mobile search elements on desktop */
    .search-toggle,
    .mobile-search {
        display: none;
    }
    
}

@media (min-width: 1240px) {

    .desktop-search {
        width: 200px;
    }

}

/* Search Forms
--------------------------------------------- */

.search-form {
    max-width: 300px;
    overflow: visible;
    position: relative;
}

.search-field {
    -webkit-appearance: none;
    font-size: var(--wp--preset--font-size--x-small);
    height: 42px;
    padding-right: 50px;
    width: 100%;
    border: 1px solid var(--wp--preset--color--borderline);
    border-radius: var(--wp--preset--border-radius--small);
}

.search-submit {
    background: transparent;
    background-image: url('../icons/search.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 15px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    height: 42px;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
}

.search-submit svg {
    display: none;
}

.search-submit:hover,
.search-submit:focus {
    background-color: transparent;
    opacity: 0.8;
}

/* After Post
--------------------------------------------- */

.block-area-after-post {
    margin-top: 2.5em;
}

/* Sidebar
--------------------------------------------- */

.sidebar {
    margin: 0 auto;
    max-width: var(--wp--style--global--content-size);
}

@media (min-width: 1024px) and (max-width: 1160px) {

    .sidebar {
        max-width: 300px;
    }

}

/* Site Footer
--------------------------------------------- */

.footer-credits {
    padding: 40px 20px;
}

.footer-credits .wrap,
.footer-credits .copyright {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-size: var(--wp--preset--font-size--xxx-small);
    gap: var(--wp--preset--spacing--xx-small);
    justify-content: center;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--wp--preset--spacing--xx-small);
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 0;
}

.footer-links .separator {
    margin-right: 0.3em;
}

@media (max-width: 600px) {

    .footer-credits .wrap {
        flex-direction: column;
        text-align: center;
        gap: 6px 12px;
    }
    
    .footer-links {
        justify-content: center;
    }

    .footer-links li:first-child .separator {
        display: none;
    }

}

/* Archives
---------------------------------------------------------------------------- */

.archive .content {
    max-width: 800px;
}

.archive-header {
    background-color: var(--wp--preset--color--neutral-light);
    margin-bottom: 0;
    padding: 10px 20px 30px;
}

.archive-header__inner {
    margin: 0 auto;
    max-width: var(--wp--style--global--wide-size);
}

.archive-header-grid {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.archive .archive-header-latest article img {
    aspect-ratio: 16 / 9;
    border: 4px solid var(--wp--preset--color--base);
    box-shadow: var(--wp--preset--shadow--medium);
    object-fit: cover;
}

.archive .archive-header-latest .entry-image {
    position: relative;
}

.archive .archive-header-latest .entry-image::before {
    background-color: rgba(248, 211, 115, 0.75);
    color: var(--wp--preset--color--contrast);
    content: 'Latest';
    font-size: 13px;
    font-weight: var(--wp--custom--font-weight--medium);
    left: 4px;
    letter-spacing: 0.085em;
    padding: 0.35em 0.75em 0.3em;
    position: absolute;
    text-transform: uppercase;
    top: 4px;
    z-index: 1;
}

.archive .archive-header-latest article .entry-title {
    font-size: var(--wp--preset--font-size--large);
}

.archive-title {
    font-size: var(--wp--preset--font-size--xx-large);
    margin-bottom: 0.5rem;
}

.archive-description {
    font-size: var(--wp--preset--font-size--x-small);
}

.archive-description p {
    margin-bottom: var(--wp--preset--spacing--x-small);
}

.archive .section-title {
    font-size: var(--wp--preset--font-size--large);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    margin-bottom: var(--wp--preset--spacing--medium);
    text-align: center;
}

@media (min-width: 768px) {

    .archive-header-grid {
        display: flex;
        flex-direction: row;
        gap: 1.5em;
        width: 100%;
        box-sizing: border-box;
    }

    .archive-header-content {
        flex: 0 0 calc(55% - 0.75em);
        max-width: calc(55% - 0.75em);
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
    }

    .archive-header-latest {
        flex: 0 0 calc(45% - 0.75em);
        max-width: calc(45% - 0.75em);
        box-sizing: border-box;
        min-width: 0;
        overflow: hidden;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .archive-header-latest img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .archive-header-latest .entry-title {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

}

@media (max-width: 767px) {

    .archive-header-grid {
        grid-template-columns: 1fr;
    }

}

@media (min-width: 1024px) {

    .archive-header {
        padding: 20px 20px 40px;
    }

    .archive-header-grid {
        gap: 3em;
    }

    .archive-header-content {
        flex: 0 0 calc(55% - 1.5em);
        max-width: calc(55% - 1.5em);
    }
    
    .archive-header-latest {
        flex: 0 0 calc(45% - 1.5em);
        max-width: calc(45% - 1.5em);
    }

    .archive-title {
        font-size: var(--wp--preset--font-size--xxx-large);
    }

    .archive-description {
        font-size: var(--wp--preset--font-size--medium-smaller);
    }

    .archive .archive-header-latest article img {
        aspect-ratio: 4 / 3;
    }

}

@media (min-width: 1240px) {

    .archive-header {
        padding: 30px 20px 50px;
    }

}

.search .archive-title {
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--font-weight--regular);
}

.archive-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--wp--preset--spacing--x-small);
    margin-bottom: var(--wp--preset--spacing--x-large);
}

.archive-posts.featured {
    margin-bottom: var(--wp--preset--spacing--large);
}

.archive-posts.featured.single-post {
    grid-template-columns: 1fr;
}

.archive-posts.featured.single-post .entry-title {
    font-size: var(--wp--preset--font-size--large);
}

.archive-posts.featured.two-columns {
    grid-template-columns: 1fr 1fr;
}

.archive-posts.featured.three-columns {
    grid-template-columns: 1fr 1fr;
}

.archive-posts.featured.three-columns article:first-child {
    grid-column: 1 / span 2;
}

.archive-posts.featured.three-columns article:first-child .entry-title {
    font-size: var(--wp--preset--font-size--large);
}

.archive article {
    background-color: var(--wp--preset--color--neutral-light);
    display: flex;
    margin-bottom: 0;
}

.archive .archive-posts .entry-wrap {
    padding: 0 0.5em 0.65em;
}

.archive .recipe-total-time {
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--xxxx-small);
    margin-top: 0.4em;
}

.archive .entry-title {
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    margin-bottom: 0;
    text-align: center;
}

.archive .entry-link {
	color: var(--wp--preset--color--contrast);
	text-decoration: none !important;
}

.archive .entry-link:focus,
.archive .entry-link:hover {
    opacity: 1;
}

.archive .entry-link:focus .entry-title,
.archive .entry-link:hover .entry-title {
	color: var(--wp--preset--color--hyperlink);
    opacity: 1;
}

.archive .archive-posts .entry-content,
.archive .archive-header-latest .entry-content {
    display: none;
}

.archive article img {
    aspect-ratio: 3 / 2;
    display: block;
    margin-bottom: var(--wp--preset--spacing--xx-small);
    object-fit: cover;
}

.archive .entry-404-search {
    margin-bottom: 4em;
}

.archive-filters {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.archive-filter {
    flex: 1;
    width: 100%;
}

.archive-filter:only-child {
    flex: 0 0 calc(50% - 0.5rem);
    width: auto;
}

.archive-index {
    display: grid;
    gap: var(--wp--preset--spacing--medium-large) var(--wp--preset--spacing--medium);
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    margin-bottom: var(--wp--preset--spacing--large);
}

.archive-index-item {
    text-align: center;
}

.archive-term-link {
    color: inherit;
    display: block;
    opacity: 1 !important;
    text-decoration: none !important;
}

.archive-term-link:focus .archive-term-title,
.archive-term-link:hover .archive-term-title {
    color: var(--wp--preset--color--hyperlink);
    opacity: 1;
    text-decoration: none !important;
}

.archive-term-image {
    border-radius: 50%;
    display: block;
    height: auto;
    margin: 0 auto 0.4em;
    max-width: 125px;
    width: 100%;
}

.archive-term-title {
    font-size: var(--wp--preset--font-size--xxx-small);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    line-height: var(--wp--custom--line-height--heading);
    margin: 0;
}

.recipe-index {
    background-color: var(--wp--preset--color--neutral-dark);
    margin: 0;
    padding: 1.5em 10px 0.5em;
    text-align: center;
}

.recipe-index p.is-style-kicker {
    margin-bottom: var(--wp--preset--spacing--medium);
}

.recipe-section.by-course {
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-sections-wrapper {
    max-width: 1024px;
    margin: 0 auto;
}

.recipe-section.by-course .archive-index {
    display: grid;
    gap: var(--wp--preset--spacing--medium);
    grid-template-columns: repeat(3, minmax(100px, 120px)) !important;
    justify-content: center;
    margin: 0 auto var(--wp--preset--spacing--x-large);
}

.recipe-sections-wrapper .archive-index {
    display: grid;
    gap: var(--wp--preset--spacing--medium);
    grid-template-columns: repeat(3, minmax(100px, 120px)) !important;
    justify-content: center;
}

.recipe-index-columns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--large) var(--wp--preset--spacing--xx-large);
    justify-content: center;
}

.recipe-index-columns div {
    flex-basis: 100%;
    max-width: 470px;
}

.recipe-index .archive-index {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
}

@media (max-width: 359px) {

    .archive-filters {
        flex-direction: column;
    }

}

@media (min-width: 360px) {
    
    .archive .entry-title {
        font-size: var(--wp--preset--font-size--medium-small);
    }

}

@media (min-width: 375px) {

    .recipe-index .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }

}

@media (min-width: 390px) {
    
    .archive .entry-title {
        font-size: var(--wp--preset--font-size--medium);
    }

}

@media (min-width: 440px) {

    .archive-posts.featured.single-post .entry-link,
    .archive-posts.featured.three-columns article:first-child .entry-link {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 1em;
    }

    .archive-posts.featured.single-post img {
        margin-bottom: 0;
    }

}

@media (min-width: 440px) and (max-width: 780px) {

    .archive-posts.featured.three-columns article:first-child img {
        margin-bottom: 0;
    }

}

@media (min-width: 500px) {

    .recipe-index .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(100px, 140px)) !important;
    }

    .recipe-sections-wrapper .archive-index {
        grid-template-columns: repeat(3, minmax(100px, 120px)) !important;
    }

}

@media (min-width: 625px) {

    .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

}

@media (min-width: 678px) {

    .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

}

@media (min-width: 768px) {

    .archive.full-width-content .content {
        max-width: 100%;
        width: 100%;
    }

    .archive-posts {
        grid-gap: var(--wp--preset--spacing--small);
    }

    .archive-posts.featured.single-post .entry-title {
        font-size: var(--wp--preset--font-size--xx-large);
    }

    .recipe-section.by-course .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    }

    .recipe-sections-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--wp--preset--spacing--large);
    }

    .recipe-sections-wrapper .archive-index {
        grid-template-columns: repeat(3, minmax(100px, 120px)) !important;
        justify-content: center;
    }

}

@media (min-width: 781px) {

    .archive-posts,
    .archive-posts.featured.three-columns {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .archive-posts.featured.two-columns .entry-title {
        font-size: var(--wp--preset--font-size--medium);
    }

    .archive-posts.featured.three-columns article:first-child {
        grid-column: auto;
    }

    .archive-posts.featured.three-columns article:first-child .entry-link {
        display: block;
    }

    .archive-posts.featured.three-columns article:first-child .entry-title {
        font-size: var(--wp--preset--font-size--medium-smaller);
    }
    
    
}

@media (min-width: 1024px) {

    .archive .entry-title {
        font-size: var(--wp--preset--font-size--medium-small);
    }

    .search .archive-header .search-form {
        display: none;
    }

    .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .recipe-section.by-course .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)) !important;
    }

}

@media (min-width: 1042px) {

    .recipe-section.by-course .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
    }

}

@media (min-width: 1143px) {

    .recipe-section.by-course .archive-index {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)) !important;
    }

}

@media (min-width: 1200px) {

    .archive .entry-title {
        font-size: var(--wp--preset--font-size--medium);
    }

}

/* Pagination
--------------------------------------------- */

.pagination {
    clear: both;
}

.pagination div,
.pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 0 1em;
    padding: 0;
}

.pagination div {
    margin-top: 0;
}

.comments-pagination div {
    margin: 1.875em auto 2.5em;
}

.pagination ul li {
    margin: 0 var(--wp--preset--spacing--xx-small) var(--wp--preset--spacing--small) 0;
}

.adjacent-entry-pagination {
    margin-bottom: 0;
}

.pagination a {
    align-items: center;
    background-color: var(--wp--preset--color--neutral-light);
    border-radius: 50%;
    display: flex;
    font-size: var(--wp--preset--font-size--xx-small);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    height: 32px;
    justify-content: center;
    text-decoration: none;
    width: 32px;
}

.pagination li.active a {
    background-color: var(--wp--preset--color--brand);
    color: var(--wp--preset--color--base);
}

.pagination-previous a,
.pagination-next a {
    display: flex;
    align-items: center;
}

.pagination-previous img,
.pagination-next img {
    width: 16px;
    height: 16px;
}

.pagination-omission {
    color: var(--wp--preset--color--contrast-muted);
    padding: 0.3125em 0.625em;
}

.comments-pagination a {
    padding: 0.5625em 0.75em;
}

.comment-navigation {
    margin: 2.5em 0 1em;
}

.comment-navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.comment-navigation .nav-links a {
    background-color: var(--wp--preset--color--hyperlink);
    border: 1px solid;
    border-radius: var(--wp--preset--border-radius--small);
    font-size: var(--wp--preset--font-size--xxx-small);
    padding: 0.5em 0.75em;
    text-decoration: none !important;
}

/* Content Area
---------------------------------------------------------------------------- */

/* Single Post Header & Entry Meta
--------------------------------------------- */

.entry-header {
    margin-bottom: 1em;
}

.single .entry-header {
    background-color: var(--wp--preset--color--neutral-light);
    margin-bottom: 0;
    padding: 10px 20px;
}

.single .entry-header-inner {
    margin: 0 auto;
    max-width: var(--wp--style--global--wide-size);
}

.single .entry-title {
    margin-bottom: 0;
}

.single .featured-image img {
    aspect-ratio: 16 / 9;
    border: 4px solid var(--wp--preset--color--base);
    box-shadow: var(--wp--preset--shadow--medium);
    object-fit: cover;
}

.entry-header-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5em;
}

.entry-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recipe-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0 0 10px;
    padding: 0;
    width: 100%;
}

.single.adthrive-cat-meal-planning .recipe-meta {
    display: none;
}

@media (min-width: 768px) {

    .recipe-meta {
        margin: 0;
    }
    
}

@media (min-width: 1240px) {

    .recipe-meta {
        gap: 1.25rem 1.5rem;
        margin: 0.5em 0 0;
    }

}

.recipe-rating,
.recipe-comments-link,
.recipe-total-time,
.recipe-snippet {
    align-items: center;
    display: flex;
}

.recipe-rating {
    font-size: var(--wp--preset--font-size--xx-small);
}

.wprm-recipe-rating {
    margin-bottom: -1px;
}

.wprm-recipe-rating .wprm-recipe-rating-details {
    color: var(--wp--preset--color--contrast-muted);
    display: inline-block;
    margin-left: 10px;
}

.home .wprm-recipe-rating {
    display: none;
}

.recipe-comments-link {
    font-size: var(--wp--preset--font-size--xxx-small);
}

.recipe-comments-link a {
    color: var(--wp--preset--color--brand);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    text-decoration: none;
}

.recipe-comments-link a:hover {
    text-decoration: underline;
}

.recipe-snippet {
    margin-top: 0.5rem;
    width: 100%;
}

@media (min-width: 768px) {

    .single .entry-header {
        padding: 20px 20px 30px;
    }

    .single .featured-image img {
        aspect-ratio: 1 / 1;
    }

    .entry-header-grid {
        flex-direction: row;
        align-items: center;
    }

}

@media (min-width: 1024px) {

    .single .entry-header {
        padding: 20px 20px 40px;
    }

    .single .featured-image img {
        aspect-ratio: 3 / 2;
    }

}

@media (min-width: 1240px) {

    .single .entry-header {
        padding: 30px 20px 50px;
    }

    .entry-header-grid {
        gap: 3em;
    }

    .single .entry-title {
        font-size: var(--wp--preset--font-size--xxxx-large);
        line-height: var(--wp--custom--line-height--small);
        max-width: 728px;
    }

    .single .featured-image {
        flex: 0 0 45%;
    }

    .single .featured-image img {
        aspect-ratio: 4 / 3;
    }

}

.breadcrumb a {
    color: var(--wp--preset--color--contrast-muted);
    text-decoration: none;
}

.breadcrumb span span:not(:last-child) {
    display: none;
}

.entry-excerpt {
    color: var(--wp--preset--color--contrast-muted);
    font-size: var(--wp--preset--font-size--small);
    font-style: italic;
    line-height: var(--wp--custom--line-height--medium);
    margin-bottom: 0.75em;
    margin-top: -0.25em;
}

.entry-byline {
    color: var(--wp--preset--color--contrast-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    font-size: var(--wp--preset--font-size--xx-small);
}

@media (min-width: 768px) {

    .entry-byline {
        margin: 1rem 0 1.5rem;
    }

}

.entry-author-link {
    align-items: center;
    color: var(--wp--preset--color--brand);
    display: flex;
    text-decoration: none;
}

span.entry-author-prefix {
    margin-right: 0.2em;
}

.entry-author-name {
    font-weight: var(--wp--custom--font-weight--semi-bold);
}

.entry-date {
    font-style: italic;
}

/* Single Post Content
--------------------------------------------- */

.single .entry-content > *:not(.wprm-recipe-container):first-of-type img:first-of-type,
.single .entry-content > img:first-of-type {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button {
    background-color: rgba(248, 211, 115, 0.8);
    border-radius: 0 !important;
    bottom: 0 !important;
    height: 50px !important;
    left: 0 !important;
    top: unset !important;
    width: 100% !important;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper:hover .dpsp-pin-it-button,
.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button:hover {
    background-color: rgba(248, 211, 115, 1) !important;
    opacity: 1 !important;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button {
    display: block !important;;
    visibility: visible !important;
    width: 100% !important;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button .dpsp-network-icon svg {
    fill: var(--wp--preset--color--contrast) !important;
    height: 24px !important;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button .dpsp-network-icon {
    align-items: center;
    display: flex;
    gap: 5px;
    height: 50px !important;
    justify-content: center;
    width: 100% !important;
}

.single .entry-content figure:first-of-type .dpsp-pin-it-wrapper .dpsp-pin-it-button .dpsp-network-icon::after {
    color: var(--wp--preset--color--contrast);
    content: "Save This for Later";
    font-family: var(--wp--preset--font-family--body);
    font-size: var(--wp--preset--font-size--xx-small);
    font-weight: var(--wp--custom--font-weight--semi-bold);
}

.affiliate-disclaimer {
	font-size: var(--wp--preset--font-size--xxx-small);
	font-style: italic;
	margin: 1.5em auto 0.5em;
    text-align: center;
}

.affiliate-disclaimer a {
  text-decoration: underline;
}

/* Comments
--------------------------------------------- */

.entry-comments {
	font-size: var(--wp--preset--font-size--medium-smaller);
    margin-top: 2.75em;
}

.comment-respond {
    padding: var(--wp--preset--spacing--medium-large);
    padding-top: calc(var(--wp--preset--spacing--medium-large)* 0.8);
}

.entry-comments article {
    padding: var(--wp--preset--spacing--small);
    padding-top: calc(var(--wp--preset--spacing--small)* 0.8);
}

@media (min-width: 768px) {

    .entry-comments article {
        padding: var(--wp--preset--spacing--medium);
        padding-top: calc(var(--wp--preset--spacing--medium)* 0.8);
    }

}

.comment-author .says,
.entry-pings,
.entry-pings .reply {
	display: none;
}

.comment-reply-title {
	font-size: var(--wp--preset--font-size--large);
}

.comments-title {
    font-size: var(--wp--preset--font-size--medium-large);
    margin-bottom: 0;
}

#cancel-comment-reply-link {
	display: block;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--regular);
	line-height: var(--wp--custom--line-height--body);
	margin-top: var(--wp--preset--spacing--xx-small);
}

#cancel-comment-reply-link::before {
	content: "";
	background-image: url('../icons/close.svg');
	background-size: 10px 10px;
	display: inline-block;
	height: 10px;
	width: 10px;
	margin-right: 5px;
	background-position: center;
	background-repeat: no-repeat;
}

.comment-respond {
	background-color: var(--wp--preset--color--brand-light);
    border-radius: var(--wp--preset--border-radius--none);
	clear: both;
	margin: 0 0 3em;
}

li.comment .comment-respond {
	margin-bottom: 2em;
	margin-top: 2em;
}

.comment-respond,
.comment-body .reply {
	font-size: var(--wp--preset--font-size--xx-small);
}

.comment-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
}

.comment-respond p {
	margin-bottom: 0;
}

p.comment-form-comment,
p.comment-form-author,
p.comment-form-email {
	flex-basis: 100%;
}

.comment-form-comment textarea {
	max-height: 100px;
}

p.comment-form-comment-subscribe input {
    margin-right: 0.25em;
}

p.comment-form-comment-subscribe label {
    font-size: var(--wp--preset--font-size--xxx-small);
    font-weight: var(--wp--custom--font-weight--regular);
}

.comment-list li {
	padding: 1em 0 0 1em;
	position: relative;
}

.comment-body .reply a::before {
    background-image: url('../icons/reply.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 5px;
    width: 12px;
}

.comment-list .depth-1 {
	margin-bottom: 10px;
	padding-left: 0;
}

.comment-meta {
    align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--xx-small);
	justify-content: space-between;
	margin-bottom: var(--wp--preset--spacing--x-small);
}

.comment-author {
    align-items: center;
    display: flex;
}

.comment-author .fn {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: var(--wp--custom--font-weight--semi-bold);
}

.comment-metadata {
    font-size: var(--wp--preset--font-size--xxx-small);
}

.comment-metadata a {
	text-decoration: none;
}

.comment-content {
	clear: both;
}

.comment-content ul>li {
	list-style-type: disc;
}

.comment-respond label {
	display: block;
	font-weight: var(--wp--custom--font-weight--semi-bold);
	margin-bottom: 0.25em;
}

.comment-form-cookies-consent label {
	display: inline;
	padding-left: 0.25em;
}

.entry-comments article {
	border: 1px solid var(--wp--preset--color--borderline);
	border-radius: var(--wp--preset--border-radius--none);
}

.comment-list li.bypostauthor>article {
	border: 1px solid var(--wp--preset--color--accent);
	box-shadow: 0 0 20px rgb(0 0 0 / 7%);
}

p.comment-form-subscriptions {
	margin-left: -0.3em;
}

p.form-submit {
	width: 100%;
}

@media (min-width: 600px) {

	p.comment-form-author,
	p.comment-form-email {
		flex-basis: 48.7%;
	}

}

/* Home Page
---------------------------------------------------------------------------- */

.entry-content .wp-block-query .wp-block-post-template-is-layout-grid {
    gap: var(--wp--preset--spacing--x-small);
}

@media (min-width: 768px) {

    .entry-content .wp-block-query .wp-block-post-template-is-layout-grid {
        gap: var(--wp--preset--spacing--small);
    }

}

/* Plugin Styles
---------------------------------------------------------------------------- */

/* AdThrive / Raptive
--------------------------------------------- */

html .entry-content .adthrive-collapse-player {
    border-bottom: 0 !important;
    border-top: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

html .entry-content .adthrive {
	margin: 2em 0 !important;
}

html .entry-content .tasty-recipe-video-embed .adthrive {
	margin: 0 !important;
}

html .entry-content h3.adthrive-player-title {
    display: none !important;
}

html .adthrive-ccpa-link, 
html .adthrive-ccpa-link span, 
html .adthrive-footer-message span, 
html .adthrive-privacy-preferences a {
    color: var(--wp--preset--color--contrast-muted) !important;
}

/* Comment Reply Email Notification
--------------------------------------------- */

input#cren_subscribe_to_comment,
input#cren_gdpr {
	margin-right: 0.5em;
}

.comment-form-email-consent,
.comment-form-gdpr-consent {
	align-items: baseline;
	display: flex;
}

.comment-form-email-consent label,
.comment-form-gdpr-consent label {
	font-weight: var(--wp--custom--font-weight--regular);
}

.comment-form-email-consent .form-check-input,
.comment-form-gdpr-consent .form-check-input {
	padding: 4px;
}

/* Easy Table of Contents
--------------------------------------------- */

div#ez-toc-container {
    background: var(--wp--preset--color--neutral-light);
    border: 0;
	border-radius: var(--wp--preset--border-radius--none);
    box-shadow: none;
	margin-bottom: var(--wp--preset--spacing--medium-larger);
	padding: var(--wp--preset--spacing--small);
	padding-top: calc(var(--wp--preset--spacing--small) * 0.8);
}

div#ez-toc-container p.ez-toc-title {
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--xxx-small);
	font-weight: var(--wp--custom--font-weight--medium);
	letter-spacing: 0.085em;
	line-height: var(--wp--custom--line-height--body);
	margin-bottom: var(--wp--preset--spacing--x-small);
	text-transform: uppercase;
}

div#ez-toc-container ul {
    margin: 3px 0;
}

div#ez-toc-container ul li {
    font-size: var(--wp--preset--font-size--small);
    padding: 3px 0;
}

a.ez-toc-view-toggle {
    color: var(--wp--preset--color--contrast-muted) !important;
    font-size: var(--wp--preset--font-size--xxx-small);
    text-decoration: underline !important;
}

/* Kit
--------------------------------------------- */

/* .formkit-form * {
    font-family: var(--wp--preset--font-family--body) !important;
} */

.formkit-form [data-style="clean"] {
    padding: 0 !important;
    padding-top: 0 !important;
}

.formkit-form [data-style="minimal"] {
    padding: var(--wp--preset--spacing--medium) !important;
    padding-top: calc(var(--wp--preset--spacing--small)* 0.8) !important;
    padding-bottom: calc(var(--wp--preset--spacing--small)* 0.8) !important;
}

.formkit-form p {
    color: var(--wp--preset--color--contrast) !important;
    margin-bottom: 0.5em !important;
}

.formkit-form h2 {
    color: var(--wp--preset--color--brand) !important;
    font-size: 1.1em !important;
    margin: 0.5em 0 -0.25em !important;
}

.formkit-close {
    background: var(--wp--preset--color--contrast) !important;
}

.opt-in-form {
	min-height: 160px !important;
}

@media (min-width: 768px) {

    .formkit-form [data-style="minimal"] {
        padding: var(--wp--preset--spacing--xx-large) !important;
        padding-top: calc(var(--wp--preset--spacing--medium)* 0.8) !important;
        padding-bottom: calc(var(--wp--preset--spacing--small)* 0.8) !important;
    }

    .formkit-form h2 {
        font-size: 2em !important;
        margin: 0.5em 0 !important;
    }

}

.formkit-form .formkit-input {
    line-height: 1.3 !important;
    text-align: center !important;
}

.formkit-form .formkit-field {
    margin-bottom: 0.25em !important;
}

.formkit-form .formkit-submit > span {
    font-weight: var(--wp--custom--font-weight--semi-bold) !important;
    line-height: 1.4 !important;
}

.block-area-sidebar .formkit-form,
.block-area-after-post .formkit-form {
    min-height: 160px !important;
}

.formkit-fields .formkit-submit {
    font-size: 14px !important;
}

#savetherecipe .formkit-form {
    max-width: 100% !important;
}

#savetherecipe .formkit-form h2, 
#savetherecipe .formkit-form p {
    text-align: center;
}

#savetherecipe .formkit-form h2 {
    color: var(--wp--preset--color--contrast) !important;
    font-family: var(--wp--preset--font-family--heading) !important;
    font-size: var(--wp--preset--font-size--x-large) !important;
    margin: 0 0 0.5em !important;
}

#savetherecipe .formkit-form p {
    font-size: var(--wp--preset--font-size--xx-small) !important;
    margin-bottom: -5px !important;
}

/* Simple Banner
--------------------------------------------- */

@media (max-width: 440px) {

    .simple-banner .simple-banner-text {
        font-size: 0.8rem !important;
        padding: 10px;
    }

}

/* Tasty Roundup
--------------------------------------------- */

.tasty-roundups-legacy .tasty-roundups-legacy-item {
    align-items: center;
}

.tasty-roundups-legacy .tasty-roundups-legacy-item .tasty-roundups-legacy-image-container img {
    aspect-ratio: 16 / 9 !important;
}

.tasty-roundups-legacy .tasty-roundups-legacy-item .tasty-roundups-legacy-content-container h2 {
    font-size: var(--wp--preset--font-size--large) !important;
    margin: 0 0 10px !important;
}

.tasty-roundups-legacy .tasty-roundups-legacy-item .tasty-roundups-legacy-content-container p.tasty-roundups-legacy-description {
    font-size: var(--wp--preset--font-size--x-small) !important;
}

html a.tasty-roundups-legacy-button {
    font-size: var(--wp--preset--font-size--xxx-small);
    font-weight: var(--wp--custom--font-weight--semi-bold);
}

@media (min-width: 768px) {

    .tasty-roundups-legacy .tasty-roundups-legacy-item .tasty-roundups-legacy-image-container img {
        aspect-ratio: 4 / 5 !important;
    }

}

/* WP Recipe Maker
--------------------------------------------- */

/* Recipe Snippet Buttons */

.wprm-recipe-snippet a.wprm-recipe-link {
    font-weight: var(--wp--custom--font-weight--semi-bold);
    text-decoration: none !important;
}

/* Comment Star Ratings */

.wprm-user-rating-summary {
    font-size: var(--wp--preset--font-size--small);
    justify-content: center;
    margin-bottom: var(--wp--preset--spacing--medium);
}

.comment-form-wprm-rating {
    margin: 0;
    width: 100%;
}

.comment-content .wprm-comment-rating {
    margin: -0.75em 0 0.4em;
}

/* Recipe Collections
--------------------------------------------- */

.wprmprc-container-header-action.wprmprc-container-header-action-save.wprmprc-button {
    display: none !important;
}

.wprmprc-collection-description {
    font-size: var(--wp--preset--font-size--small) !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-container-header-container {
	margin-bottom: 30px !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-container-header {
	font-size: var(--wp--preset--font-size--x-large) !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-container-header .wprmprc-container-header-name {
    color: var(--wp--preset--color--brand) !important;
    font-family: var(--wp--preset--font-family--heading) !important;
    font-weight: var(--wp--custom--font-weight--semi-bold) !important;
    line-height: var(--wp--custom--line-height-heading) !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection .wprmprc-collection-action-header, 
.wprm-recipe-collections-layout-grid .wprmprc-collection .wprmprc-collection-column-header {
	border-bottom: 1px solid var(--wp--preset--color--accent) !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection {
    margin: -10px !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection .wprmprc-collection-column-width {
    margin: 10px !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection-item {
	background-color: var(--wp--preset--color--neutral-light) !important;
    border: 0 !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection-item .wprmprc-collection-item-main .wprmprc-collection-item-details .wprmprc-collection-item-meta {
	padding: 11px 9px !important;
	text-align: center !important;
}

.wprmprc-collection-item-name {
	font-size: var(--wp--preset--font-size--medium-small) !important;
	font-weight: var(--wp--custom--font-weight--semi-bold) !important;
	line-height: 1.25 !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection-item .wprmprc-collection-item-servings {
	background-color: var(--wp--preset--color--neutral-light) !important;
	border-top: 1px solid var(--wp--preset--color--borderline) !important;
    padding: 0.3em 0 !important;
}

.wprm-recipe-collections-layout-grid .wprmprc-collection-column-width {
    width: calc(50% - 20px) !important;
}

/* Yoast FAQ
--------------------------------------------- */

.schema-faq.wp-block-yoast-faq-block {
    margin: 1em 0 0;
}

.schema-faq .schema-faq-section {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--wp--preset--color--borderline) !important;
    margin-bottom: 1em !important;
    padding-bottom: 0.75em;
}

.schema-faq .schema-faq-section:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.schema-faq .schema-faq-question {
    font-size: var(--wp--preset--font-size--medium);
    font-weight: var(--wp--custom--font-weight--semi-bold);
    text-decoration: none;
    margin: 0;
    padding: 0 45px 0 0 !important;
    line-height: 1.4;
    cursor: pointer;
    position: relative;
    user-select: none;
    display: block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-decoration: none !important;
}

.schema-faq .schema-faq-question:after {
    content: "+";
    position: absolute;
    top: 0;
    right: 15px;
    text-align: center;
    font-weight: 700;
    color: #000;
    font-size: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.schema-faq .schema-faq-question.faq-q-open {
    border-bottom: 0;
}

.schema-faq .schema-faq-question.faq-q-open:after {
    content: "-";
}

.schema-faq p.schema-faq-answer {
    border-bottom: 0;
    font-size: var(--wp--preset--font-size--medium-smaller);
    line-height: var(--wp--custom--line-height--body);
    margin: 0;
    padding: 0 0 10px 0 !important;
    display: block;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s, padding 0.3s;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.schema-faq p.schema-faq-answer.faq-a-open {
    opacity: 1;
    visibility: visible;
    padding: var(--wp--preset--spacing--small);
    padding-top: 0.5em !important;
}

/* Other Custom Styles
--------------------------------------------- */

.page-id-174383 div#simple-banner,
.page-id-174386 div#simple-banner,
.page-id-134313 div#simple-banner,
.page-id-131312 div#simple-banner {
    display: none;
}


/* Other Media Queries
---------------------------------------------------------------------------- */

@media (max-width: 359px) {

    .archive-header,
    .footer-credits,
    .site-content,
    .single .entry-header,
	.topbar {
		padding-left: 10px;
		padding-right: 10px;
	}

}

@media (min-width: 360px) and (max-width: 430px) {

	.archive-header,
    .footer-credits,
    .site-content,
    .single .entry-header,
	.topbar {
		padding-left: 15px;
		padding-right: 15px;
	}

}

@media (min-width: 360px) {}

@media (min-width: 375px) {}

@media (min-width: 411px) {}

@media (min-width: 600px) {}

@media (max-width: 767px) {}

@media (min-width: 768px) {}

@media (max-width: 1023px) {}

@media (min-width: 1024px) {

	.site-header .wrap,
	.topbar .wrap {
		max-width: 1200px;
	}

}

@media (min-width: 1160px) {}

@media (min-width: 1600px) {}

/* Print Styles
---------------------------------------------------------------------------- */

@media print {

	*,
	*::before,
	*::after {
		background: transparent !important;
		box-shadow: none !important;
		color: var(--wp--preset--color--contrast) !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]::after {
		content: " (" attr(href) ")";
	}

	abbr[title]::after {
		content: " (" attr(title) ")";
	}

	a[href^="javascript:"]::after,
	a[href^="#"]::after,
	.site-title>a::after {
		content: "";
	}

	thead {
		display: table-header-group;
	}

	img,
	tr {
		page-break-inside: avoid;
	}

	img {
		max-width: 100% !important;
	}

	@page {
		margin: 2cm 0.5cm;
	}

	p,
	h2,
	h3 {
		orphans: 3;
		widows: 3;
	}

	blockquote,
	pre {
		border: 1px solid #999;
		page-break-inside: avoid;
	}

	.content,
	.content-sidebar {
		width: 100%;
	}

	button,
	input,
	select,
	textarea,
	.breadcrumb,
	.comment-edit-link,
	.comment-form,
	.comment-list .reply a,
	.comment-reply-title,
	.edit-link,
	.entry-comments-link,
	.entry-footer,
	.genesis-box,
	.header-widget-area,
	.hidden-print,
	.home-top,
	.header-menu,
	.nav-secondary,
	.post-edit-link,
	.sidebar {
		display: none !important;
	}

	.title-area {
		text-align: center;
		width: 100%;
	}

	.site-title>a {
		margin: 0;
		text-decoration: none;
		text-indent: 0;
	}

	.site-inner {
		padding-top: 0;
		position: relative;
	}

	.author-box {
		margin-bottom: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		orphans: 3;
		page-break-after: avoid;
		page-break-inside: avoid;
		widows: 3;
	}


	img {
		page-break-after: avoid;
		page-break-inside: avoid;
	}

	blockquote,
	pre,
	table {
		page-break-inside: avoid;
	}

	dl,
	ol,
	ul {
		page-break-before: avoid;
	}

}