/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3rem;
    --title-color: rgb(112, 41, 99);
    --contrast-color: #fef4ea;
    --text-color: rgba(10, 10, 10, 0.8);
    --text-color-light: rgba(10, 10, 10, 0.7);
    --body-color: rgb(240, 240, 240);
    --white-color: #fff;

    /*========== Font and typography ==========*/
    --body-font: "Montserrat", sans-serif;
    --title-font: "Space Grotesk", sans-serif;
    --biggest-font-size: 2.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== Margines Bottom ==========*/
    --mb-0-25: 0.25rem;
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-25: 1.25rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;

    /*========== Hover overlay ==========*/
    --img-transition: 0.3s;
    --img-hidden: hidden;
    --img-scale: scale(1.1);
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 4rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
}


/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
}

h1,
h2,
h3 {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    font-family: var(--title-font);
}

h4,
h5,
h6 {
    color: var(--text-color-light);
}

p {
    line-height: 1.2rem;
}

img,
video {
    width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

main a:hover {
    text-decoration: underline;
}

button,
input {
    border: none;
    outline: none;
    border-radius: .2rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    padding: 1rem 2rem;
}

button {
    cursor: pointer;
}

input {
    outline: none;
}

.main {
    overflow-x: hidden;
}

/*=============== GOOGLE ICONS ===============*/

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

/*=============== UTILITY CSS CLASSES ===============*/
.section {
    padding: 1rem 0;
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    text-transform: capitalize;
    margin-bottom: var(--mb-2);
}

.container {
    max-width: 1140px;
    margin: 0 .5rem;
}

button {
    background-color: var(--text-color);
    color: var(--white-color);
}

.tag-pill {
    background-color: var(--text-color);
    color: var(--white-color);
    padding: .2rem .4rem;
    border-radius: .2rem;
    font-size: .75rem;
    display: inline-block;
    margin: .4rem 0;
}

@media screen and (min-width: calc(1140px + 2rem)) {
    .container {
        margin: 0 auto;
    }
}

/*=============== COMMON CSS CLASSES ===============*/

form {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: center;
    justify-content: center;
}

/*=============== HEADER ===============*/


.header {
    width: 100%;
    position: relative;
    background-color: transparent;
}

/*=============== NAV ===============*/
.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    padding: 2.5rem 0;
}

.nav__logo,
.nav__toggle {
    color: var(--title-color);
}

.nav__logo {
    font-weight: var(--font-semi-bold);
}

.nav__toggle {
    display: block;
    font-size: 1.4rem;
    cursor: pointer;
}

.nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 60%;
    height: 100%;
    box-shadow: var(--text-color-light) 0px 5px 15px;
    padding: 3rem;
    transition: 0.4s;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem;
}

.nav__link {
    font-size: var(--font-semi-bold);
    color: var(--text-color-light);
    text-transform: uppercase;
    font-weight: 600;
}

.nav__link:hover {
    color: var(--text-color);
}

.nav__close {
    position: absolute;
    top: 1.7rem;
    right: .8rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--title-color);
    z-index: var(--z-fixed);
}

.show-menu {
    right: 0;
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
    color: var(--title-color);
}

/* Active link */
.active-link {
    position: relative;
    color: var(--title-color);
}

.active-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--title-color);
    bottom: -0.75rem;
    left: 0;
}



@media screen and (min-width: 767px) {
    .nav__menu {
        position: relative;
        right: 0;
        box-shadow: none;
        background-color: transparent;
        width: auto;
        height: auto;
        padding: 0;
    }

    .nav__toggle {
        display: none;
    }

    .nav__list {
        flex-direction: row;
    }
	
	#nav-close {
       display: none;
    }
}

/*=============== FOOTER ===============*/

footer {
    background: linear-gradient(135deg, rgba(150, 136, 211, 1) 0%, rgba(112, 41, 99, 1) 100%);
    padding: 3rem 0;
    margin-top: 1.5rem
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-about-wrapper * {
    margin-bottom: .25rem;
}

.footer-article-link {
    margin: .5rem;
}

.copyright-text {
    text-align: center;
    padding-top: 2rem;
}

.copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

.footer-about-wrapper p {
	font-weight: bold
}

/*============================== NEWSLETTER ==============================*/

.newsletter {
    background: linear-gradient(135deg, rgba(112, 41, 99, 1) 0%, rgba(150, 136, 211, 1) 100%);
    padding: 2rem .5rem;
    margin: 2.5rem 0;
}

.newsletter-title {
    text-align: center;
    color: var(--text-color);
}

.newsletter .container {
    margin: 2rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.newsletter-disclaimer-wrapper p {
	font-size: var(--small-font-size);
	font-style: italic;
	font-weight: bold;
}

.sendfox-form {
	flex-wrap: wrap;
}

@media screen and (min-width: 767px) {

    .newsletter .container {
        margin: 2rem auto;
    }
}

/*============================== FRONT PAGE ==============================*/

.motto {
    background-color: var(--text-color);
    border-radius: .2rem;
    padding: 3rem;
    margin: 2rem .5rem;
    max-width: 1140px;
}

.motto h2 {
    color: var(--white-color);
    text-align: center;
}

@media screen and (min-width: calc(1140px + 2rem)) {
    .motto {
        margin: 2rem auto;
    }
}

.section-divider {
    display: block;
    margin-bottom: 1.5rem;
}

.section-divider::before {
    margin-bottom: .5rem;
    content: '';
    display: block;
    width: 30%;
    height: 2px;
    background-color: var(--title-color);
    opacity: 0.4;
}

.card {
    border: 1px solid rgba(10, 10, 10, 0.2);
    box-shadow: var(--text-color-light) 0px 5px 15px;
    padding: .5rem;
}

.card:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.card p {
	font-size: var(--smaller-font-size);
	font-weight: bold;
	color: var(--text-color-light)
}


.card .card-header {
	font-size: var(--normal-font-size);
	font-weight: bold;
	color: var(--text-color)
}
/*============================== HERO ==============================*/

.hero {
    display: flex;
    gap: 1rem;
    min-height: min(60vh, 30rem);
}

.hero-featured-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-featured-card {
    border: 1px solid rgba(10, 10, 10, 0.2);
    display: flex;
    flex-direction: column;
    /* background-color: var(--contrast-color); */
}

.hero-latest-wrapper,
.single-latest-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 30%;
    gap: .2rem;
}


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

    .hero-latest-wrapper,
    .single-latest-wrapper {
        display: none;
    }
}

.latest-card-image-wrapper,
.single-card-image-wrapper {
    max-width: 30%;
}

.hero-featured-text {
    padding: 0 .5rem;
}

.hero-featured-text * {
    margin: .3rem 0;
}

.image-wrapper {
    overflow: hidden;
}

.image-wrapper img {
    max-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.hero-latest-card,
.single-latest-card {
    display: flex;
    gap: .5rem;
}

@media screen and (min-width: 767px) {
    .hero-featured-container {
        flex-direction: row;
    }

    .hero-featured-card {
        flex-direction: row;
    }

    .hero-featured-text {
        max-width: 33%;
    }

    .hero-featured-image-wrapper {
        height: 100%;
    }

}

/*============================== TRENDING ==============================*/

.trending-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    row-gap: 2rem;
}

.trending-card-text * {
    margin: .1rem 0;
}

@media screen and (min-width: 767px) {
    .trending-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


/*============================== LATEST ==============================*/

.latest-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    row-gap: 2rem;
}

@media screen and (min-width: 767px) {
    .latest-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.latest-card {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: 1rem;
}

.latest-card::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    display: block;
    width: 70%;
    height: 1px;
    background-color: var(--title-color);
    opacity: 0.2;
}

.latest-wrapper .latest-card:last-of-type::after {
    display: none;
}

@media screen and (min-width: 767px) {
    .latest-wrapper .latest-card:nth-last-child(2)::after {
        display: none;
    }
}

button {
    background-color: var(--text-color);
    color: var(--white-color);
}

.section button {
    margin-top: 3rem;

}

.for-you-wrapper,
.for-your-home-wrapper,
.archive-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

@media screen and (min-width: 767px) {

    .for-you-wrapper,
    .for-your-home-wrapper,
    .archive-wrapper {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

/*============================== SINGLE POST ==============================*/

.single-post-container {
    display: flex;
    gap: 1rem;
}

.single-right {
    position: relative;
    display: none;
    padding: 5rem 0;
    width: 40%;
}

.single-latest-card-wrapper {
    position: sticky;
    top: 3rem;
}

.single-latest-card {
    margin-bottom: 1rem;
}

.post p {
    margin: 1rem 0;
    line-height: 1.5rem;
}

.post h2 {
	margin-top: 2rem;
	margin-bottom: 1.5rem;
}

.post h4,
.post h3 {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}


.post li {
    margin: 1rem;

}

.post ol {
    padding-left: 1rem;
    border: 1px solid var(--title-color);
}

.has-text-align-center {
	text-align: center
}

.flex-column-start {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
}

article .wp-block-columns-is-layout-flex {
	flex-wrap: wrap!important;
}

@media screen and (min-width: 767px) {
    .single-right {
        display: block;
    }
}

/*============================== 404 ==============================*/

.fourOFour {
    padding: 10rem;
    text-align: center;
}

.fourOFour * {
    margin: .5rem;
}