/*!
Theme Name: Madtanterne
Theme URI: http://underscores.me/
Author: Jep Japitana
Author URI: https://jep.ponetzgraphics.com
Description: This theme is generated through Madtanterne.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: madtanterne
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Madtanterne is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/*--------------------------------------------------------------
# Default
--------------------------------------------------------------*/
* {
	box-sizing: border-box;
}
body {
	margin: 0;
	font-family: "Rubik", sans-serif;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
a {
	color: #f8560e;
	text-decoration: none;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
.site-main {
	padding: 100px 25px;
}
.single-post .site-main {
	padding: 0;
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/
button,
input[type="submit"] {
	font-family: "Rubik", sans-serif;
}
.container {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}
.container-flex {
	display: flex;
}
figure.wp-caption,
figure.wp-caption img,
.size-featured-image {
	width: 100% !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
	padding: 25px;
	background-color: #f2f2f2;
	border-bottom: 5px solid #f8560e;
}
.header .container-flex {
	justify-content: space-between;
	align-items: center;
}
.header__logo {
	max-width: 170px;
}
.header__main-menu-list {
	list-style: none;
	display: flex;
	gap: 60px;
}
.header__main-menu-list li a {
	color: #f8560e;
	text-decoration: none;
	font-size: 20px;
	display: block;
	line-height: 1em;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
}
.header__main-menu-list li a:hover {
	color: #000000;
}
.menu-toggle {
	display: none;
	color: #000000;
	border: 0 none;
	background: transparent;
	padding: 0;
	font-size: 40px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.subfooter__img {
	background: transparent url("assets/img/footer-img.webp") no-repeat scroll 0 0 / cover;
	height: 425px;
}
.footer {
	background-color: #f8560e;
	padding: 15px 25px;
}
.footer__copyright {
	margin: 0;
	text-align: center;
	color: #ffffff;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.single-post__featured-img {
	background: #000000 no-repeat scroll 0 0 / cover;
	padding: 70px 25px;
	position: relative;
	min-height: 400px;
	display: flex;
	align-items: flex-end;
}
.single-post__featured-img::before {
	content: "";
	background-color: rgba(0, 0, 0, 0.5);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
.single-post__title {
	margin: 0;
	padding: 40px 0;
	position: relative;
	color: #ffffff;
	font-size: 50px;
	line-height: 1.2em;
	font-family: "Barlow", sans-serif;
}
.single-post__main-content {
	padding: 100px 25px;
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
.recipe-post__content {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 50px;
}
.recipe-post__item {
	background: #000000;
	min-height: 350px;
	position: relative;
	overflow: hidden;
}
.recipe-post__item .recipe-post__featured-img img {
	-webkit-transition: all 2s ease 0s;
	-moz-transition: all 2s ease 0s;
	transition: all 2s ease 0s;
}
.recipe-post__item:hover .recipe-post__featured-img img {
	transform: scale(1.2);
}
.recipe-post__link {
	padding: 20px;
	display: flex;
	height: 100%;
	align-items: flex-end;
	position: relative;
}
.recipe-post__link::before {
	content: "";
	background-color: rgba(0, 0, 0, 0.2);
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.recipe-post__link:hover::before {
	content: "";
	background-color: rgba(0, 0, 0, 0.4);
}
.recipe-post__bg-img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	top: 0;
	left: 0;
	z-index: 0;
}
.recipe-post__title {
	color: #ffffff;
	font-family: "Barlow", sans-serif;
	position: relative;
	font-size: 24px;
	line-height: 1.2em;
	margin: 0;
	font-weight: 600;
	z-index: 10;
}
.recipe-post__category {
	position: relative;
	color: #ffffff;
	z-index: 10;
	text-transform: uppercase;
	margin-top: 5px;
	display: block;
}
.recipe-post__content .no-data {
	display: block;
	text-align: center;
	color: #f8560e;
	font-size: 24px;
}
#load-more {
	background-color: transparent;
	border: 1px solid #f8560e;
	color: #f8560e;
	display: block;
	margin: 0 auto;
	font-size: 18px;
	text-transform: uppercase;
	padding: 10px 30px;
	cursor: pointer;
	-webkit-transition: all 0.3s ease 0s;
	-moz-transition: all 0.3s ease 0s;
	transition: all 0.3s ease 0s;
	border-radius: 100px;
}
#load-more:hover {
	 background-color: #f8560e;
	 color: #ffffff;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.single-post__main-content .container {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}
.single-post__main {
	width: 100%;
	max-width: 980px;
}
.breadcrumbs-main,
.breadcrumbs-category {
	color: #000000;
}
.breadcrumbs-current {
	font-weight: 700;
}
.single-post__sidebar {
	width: 100%;
	max-width: 350px;
}
.single-post-widget {
	margin-bottom: 50px;
}
.single-post-widget:last-child {
	margin-bottom: 0;
}
.single-post__h2,
.single-post-widget h2 {
	margin: 0 0 30px;
	font-size: 20px;
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 20px;
	position: relative;
}
.single-post__h2::before, 
.single-post-widget h2::before {
	content: "";
    background-color: #f8560e;
    width: 100%;
    max-width: 50px;
    height: 4px;
    position: absolute;
    bottom: -2px;
}
.post-tags,
.archives,
.category-list,
.bookmarks {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.single-post__tags a,
.archives li a,
.category-list li a,
.bookmarks li a {
	border: 1px solid #e1e1e1;
	padding: 10px 25px;
	color: #000000;
	border-radius: 100px;
	display: inline-block;
	-webkit-transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
}
.single-post__tags a:hover,
.archives li a:hover,
.category-list li a:hover,
.bookmarks li a:hover {
	background-color: #000000;
	color: #ffffff;
}
.single-post__recipe-main-wrapper,
.single-post__comment-block,
.single-post__about-the-author,
.single-post__related-posts {
	background-color: #fcf9f5;
	padding: 40px;
	margin-bottom: 40px;
}
.breadcrumbs {
	margin-bottom: 30px;
}
.single-post__featured-img-main {
	width: 100%;
	background: #000000 no-repeat scroll center center / cover;
	height: 364px;
	margin-bottom: 40px;
}
#recipe-info {
	display: flex;
	gap: 20px;
	border-bottom: 1px solid #ebebeb;
	padding-bottom: 25px;
	margin-bottom: 25px;
}
.recipe-info__servings,
.recipe-info__cooking-time {
	display: flex;
	gap: 10px;
	max-width: 170px;
	width: 100%;
}	
.recipe-info__icon,
.recipe-info__cooking-time-icon {
	max-width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 100%;
	width: 100%;
	justify-content: center;
}
.recipe-info__title {
	display: block;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 5px;
}
.recipe-info__servimgs {
	display: block;
	font-size: 13px;
}
.recipe-info__ingredients-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.recipe-info__ingredients-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}
.recipe-info__ingredients-list li:last-child {
	margin-bottom: 0;
}
.recipe-info__ingredients-list li::before {
	content: "\f00c";
	font-style: normal;
  font-weight: 900;
	font-family: 'Font Awesome 6 Free';
	position: absolute;
	left: 0;
	top: 2px;
}
.archives li a {
	color: #000000;
}
.wp-caption-text {
	display: block;
	text-align: center;
	margin-top: 10px;
	font-weight: 600;
}
.related-posts {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
}
.related-posts__item {
	width: 100%;
	max-width: 170px;
}
.related-posts__thumb {
	margin-bottom: 15px;
}
.related-posts__title {
	color: #000000;
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 600;
	min-height: 40px;
}
.post-item-category {
	display: block;
	font-size: 14px;
	min-height: 45px;
}
.post-item-meta a {
	color: #f8560e;
	font-weight: 600;
}
.post-item-date {
	display: block;
	color: #000000;
	font-size: 14px;
}
.single-post__author-info {
	display: flex;
	gap: 10px;
	align-items: center;
}
.single-post__author-avatar {
	max-width: 75px;
	width: 100%;
	height: 75px;
	border-radius: 100%;
	overflow: hidden;
}
.single-post__author-text p {
	margin: 0;
}

/*--------------------------------------------------------------
# Archive
--------------------------------------------------------------*/
body.archive .container {
	display: flex;
	justify-content: space-between;
	gap: 30px;
}
body.archive .archive__content {
	width: 100%;
	max-width: 980px;
}
body.archive .archive__sidebar {
	width: 100%;
	max-width: 350px;
}
.posted-on .updated {
	display: none;
}
.archive__item {
	display: flex;
	align-items: flex-start;
	gap: 25px;
	margin-bottom: 20px;
}
.archive__img-thumb {
	width: 100%;
	max-width: 307px;
	height: 200px;
	position: relative;
}
.archive__img {
	background: #000000 no-repeat scroll center center / cover;
	width: 100%;
	height: 100%;
	position: absolute;
}
.archive__details {
	width: 100%;
	max-width: 650px;
}
.archive__title {
	margin: 0 0 20px;
}
.archive__excerpt {
	margin: 0 0 25px;
}
.archive__link {
	display: inline-block;
	border: 1px solid #f8560e;
	border-radius: 20px;
	padding: 10px 25px;
}
.archive__link:hover {
	background-color: #f8560e;
	color: #ffffff;
}