/**
 * Theme Name: Snack Theme
 * Template:   twentytwentyfour
 */

/* VARIABLES */
:root {
    --gray: #CDD1DE;
    --yellow: #FFD791;
	--orange: #d8613c;
    --brown-dark:#413620;
    --brown:#9C6615;
    --brown-light:#9F7833;

    --heading-font-family: "Bebas Neue", sans-serif;
    --body-text-font-family: "Manrope", sans-serif;
}

/* FONTS */
.bebas-neue-regular {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.manrope-400 {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--heading-font-family) !important;
    color: black !important;
}

h1, h2 {
    font-size: 4.5rem !important;
    line-height: 0.8 !important;
}

h3 {
	font-size: 3rem !important;
    line-height: 0.9 !important;
}

@media only screen and (max-width: 768px) {
  	h1, h2 {
		font-size: 3rem !important;
		line-height: 0.8 !important;
	}
	
	h3 {
		font-size: 2.5rem !important;
		line-height: 1 !important;
	}
}

h1 a,
h2 a,
h3 a,
h4 a {
	text-decoration: none !important;
	color: black;
}

p {
    font-family: var(--body-text-font-family);
}

a {
    color: black;
    text-decoration: none;
}
/* END TYPOGRAPHY */

/* WP OVERRIDES */
:where(.wp-site-blocks) > * {
	margin: 0 !important;
}

/* END WP OVERRIDES */

/* MAIN GENERAL */
main {
    background-color: white !important;
    color: black;
	min-height: 90vh;
}

.content-wrapper {
    background-color: white;
}

span.highlight {
    color: #d8613c;
}
/* END MAIN GENERAL */

/* HEADER */
header,
header > div,
header > div > div {
    background-color: var(--yellow) !important;
}

.header-wrapper {
	background-color: var(--yellow) !important;
	margin-bottom: -.25rem;
}

header a {
    font-family: var(--heading-font-family);
    font-size: 2rem;
    margin-bottom: -.5rem;
}

header a + a {
    margin-left: 1rem;
}

.wp-block-site-title a {
	font-family: var(--heading-font-family);
	margin-top: .25rem;
	display: block;
	font-size: 4.5rem;
	font-weight: 400;
	color: black;
    line-height: 0.7;
}

.slogan {
    margin-top: -.5rem;
    font-weight: 900;
    color: black;
    letter-spacing: -0.8px;
}

@media only screen and (max-width: 1200px) {
	.wp-block-site-title a {
		font-size: 3.5rem;
		margin-bottom: .5rem
	}
	
	.nav-row {
		align-self: center;
	}
	
	.wp-block-navigation__responsive-container-open svg {
		height: 3rem;
		width: 3rem;
	}
	
	.search-ico {
		margin-right: -.5rem;
		font-size: 1.5rem;
	}
}

@media only screen and (max-width: 400px) {
	.wp-block-site-title a {
		font-size: 3rem;
	}
	.slogan {
		font-size: 0.875rem;
	}
}

/* END HEADER */

/* FOOTER */
footer {
    background-color: var(--brown-dark);
    color: white;
}

footer h3 {
    color: white !important;
}

footer a {
	color: white;
	text-decoration: none;
}

footer a:hover {
	color: white;
	text-decoration: underline;
}

/* ARTICLE BLOCKS */
.articles-small,
.articles-big {
	img {
		width: 100%;
		height: 200px;
		object-fit: cover;
		border-radius: 0;
	}
}

.article-featured-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 0;
}

.articles-small .wp-blog-post + .wp-blog-post,
.articles-big .wp-blog-post + .wp-blog-post {
	margin-top: 5rem
}

.articles-big p {
	font-size: 1.125rem;
}

@media only screen and (max-width: 768px) {
	.articles-small,
	.articles-big {
		img {
			height: 120px;
		}
	}
	
	.articles-big p {
		font-size: 1rem;
	}
	
	.articles-small .columns-3 {
		display: block;
	}
	
	.article-featured-image img {
		height: 150px;
	}
}
/* END ARTICLE BLOCKS */

/* ARTICLE CONTENT */

.article-wrapper p{
	font-size: 1.125rem;
}

.article-wrapper .taxonomy-post_tag {
	pointer-events: all !important;
}

.article-content a {
	color: var(--orange);
}

.article-content img,
.article-content figure {
	max-width: 100%;
}
/* END ARTICLE CONTENT */




a.more-articles {
	text-decoration: none;
}

a.more-articles h3 {
	background: black;
	display: block;
	text-align: center;
	padding: 1.5rem;
	color: white !important;
	margin-bottom: 0;
}

/* TAGS */
.articles-tags-wrapper {
	position: relative;
	padding: 0 !important;
}

.articles-tags-wrapper .taxonomy-post_tag {
	pointer-events: none;
	margin: 0 !important;
	position: absolute;
	height: 200px;
	top: 0;
	z-index: 1;
	display: flex;
	align-items: end;
	width: 100%;
	flex-wrap: wrap;
	padding: .75rem;
}

.articles-tags-wrapper .wp-block-post-terms__separator {
	display: none;
}

.articles-tags-wrapper .taxonomy-post_tag a {
	color: white;
	display: block;
	background: black;
	text-transform: capitalize;
	padding: .125rem .5rem .25rem .5rem;
	text-decoration: none !important;
	font-size: 1.125rem;
}

.articles-tags-wrapper span + a {
	margin-left: .75rem;
}

.articles-tags-wrapper .taxonomy-post_tag a:before {
	content: "#";
}

.articles-tags-wrapper .taxonomy-post_tag > a:nth-child(n+4){
    display: none;
}

@media only screen and (max-width: 768px) {
	.articles-tags-wrapper .taxonomy-post_tag {
		height: 120px;
		padding: .5rem .75rem;
	}
	.articles-tags-wrapper a {
		font-size: 1rem !important;
	}
}
@media only screen and (min-width: 768px) {
	.articles-tags-wrapper.big a {
		font-size: 1.25rem;
	}
}
/* END TAGS */

/* POPULAR POSTS / RELATED POSTS */
.popular-posts h2 {
	margin-bottom: var(--wp--preset--spacing--10)
}

.popular-posts li a {
	color: black;
	text-decoration: none;
	border-left: 6px solid black;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
    background-color: var(--yellow);
    padding: .5rem;
    color: black;
	display: block;
}

.popular-posts ul {
	list-style-type: none;
	padding-left: 0;
}


.popular-posts li + li {
	margin-top: .75rem;
}


.popular-tags-wrapper div {
    background: black;
    
}

.popular-tags-wrapper p {
    margin-bottom: 0;
}

.popular-tags-wrapper > div + div {
    margin-top: .75rem;
}
/* END POPULAR POSTS / RELATED POSTS */

/* TAG LINKS */
.tag-links p,
.tag-links a {
	display: block;
	width: 100%;
}

.tag-links a {
	padding: .5rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.5px;
	background: black;
	text-decoration: none;
}

.tag-links p + p {
	margin-top: .75rem;
}
/* END TAG LINKS */

/* FORM */

button {
    background: black;
    color: white;
    padding: .5rem 1rem;
    border: 0;
	border-radius: 0 !important;
}

input,
textarea {
    border-radius: 0 !important;
}

label {
    font-size: 1.25rem;
    margin-bottom: .75rem;
}
/* END FORM */


/* COMMENT QUOTE BLOCK */
.quote {
    background: var(--yellow);
    padding: .5rem 1rem;
	font-size: 1.25rem;
	height: 100%;
    display: flex;
    flex-direction: column;
}

.comment-author-link {
	font-weight: 900;
}

.quote p {
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 500;
}

.quote p:has(.align-self-end) {
	text-align: right;
}

.quote-text {
    display: flex;
    flex-direction: column;
	height: 100%;
	justify-content: space-between;
}

.quote-text:last-child {
    align-self: end;
}

.comment-wrap {
	width: 100%;
	display: flex !important;
    flex-direction: column;
	justify-content: space-between;
}

.comment-wrap a {
	color: var(--orange);
	text-decoration: none;
	font-weight: 900;
}

.recent-comments-list>li {
	margin-bottom: 0;
	display: flex;
}

.recentcomments p:empty {
	display: none;
}
/* END COMMENT QUOTE BLOCK */

/* PAGINATION */
.wp-block-query-pagination a,
.wp-block-query-pagination span {
	display: inline-block;
	color: white;
	background: black;
	text-decoration: none;
	padding: .375rem .75rem;
}

.wp-block-query-pagination .page-numbers.dots {
	display: none;
}

@media only screen and (max-width: 768px) {
	.wp-block-query-pagination {
		gap: 0;
		margin-bottom: 1.5rem;
	}
}
/* END PAGINATION */

/* MISC */
.post-meta * {
	font-size: 1rem !important;
}

.post-meta a {
	color: var(--orange);
	font-weight: 500;
}

.wp-block-comment-author-name {
	font-size: 1.25rem;
}

.wp-block-comment-content {
	font-size: 1rem;
	margin-top: .5em;
	margin-bottom: .5rem;
}

.wp-block-comment-content p {
	margin-bottom: 0;
}

.wp-block-comment-content + div {
	margin-top: 0;
}

h2:has(+#respond) {
	display: none;
}

.wp-block-comment-template li + li {
	margin-top: 1.25rem;
}