/*
Theme Name: Vamonos juntas
Theme URI: https://vamonosjuntas.org
Author: @chinicuil
Author URI: https://vamonosjuntas.org
Description: Theme for vamonos juntas
Version: 1.11
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: puravar
*/

:root {
    --primary: #093020;
	--secondary: #f3c89b;
    --bg-secondary: #F6DEC5;
    --bg: #F4F0E5;
	--radius: 8px;
}

@font-face {
    font-family: 'OpenRunde';
	src: url('assets/fonts/OpenRunde-Regular.woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
	
@font-face {
	font-family: 'OpenRunde';
	src: url('assets/fonts/OpenRunde-Medium.woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'OpenRunde';
	src: url('assets/fonts/OpenRunde-Semibold.woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'OpenRunde';
	src: url('assets/fonts/OpenRunde-Bold.woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'OpenDyslexic';
	src: url('assets/fonts/OpenDyslexic-Regular.woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'OpenDyslexic';
	src: url('assets/fonts/OpenDyslexic-Italic.woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
    font-family: 'OpenDyslexic';
	src: url('assets/fonts/OpenDyslexic-Bold.woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
    font-family: 'OpenDyslexic';
	src: url('assets/fonts/OpenDyslexic-Bold-Italic.woff2');
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
/*-----------------------------------------------------------------------------------*/
/*Main*/
/*-----------------------------------------------------------------------------------*/
body {
	font-family: 'openrunde';
	background: var(--bg);
	padding: 1rem;
	margin: 0;
	color: var(--primary);
	font-size: 16px;
	line-height: 1.3;
}
ol, ul {
	padding-left: 40px;
	margin: 1em 0
}
hr {
	height: 1px;
	background: var(--primary);
	margin: 2rem 0;
	outline: 0;
	border: 0!important;
}
/*-----------------------------------------------------------------------------------*/
/*Fonts*/
/*-----------------------------------------------------------------------------------*/
h1, h2, h3 {
	font-weight: normal;
	margin-bottom: 1em;
}	
h1 {
	font-size: 36px;
}
h2 {
	font-size: 24px;
}
h3 {
	font-size: 20px;
}
p {
	margin: 1rem 0;
	line-height: 1.3;
}
a {
	color: var(--primary);
}
@media screen and (max-width: 780px) {
	.small {
		font-size: toRem(12)
	}
}
/*-----------------------------------------------------------------------------------*/
/*Buttons*/
/*-----------------------------------------------------------------------------------*/
.btn,
button {
    color: var(--bg);
	background: var(--primary);
	font-family: 'openrunde';
	border: none;
	padding: 1rem;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.1s ease-in-out;
	text-decoration: none;
	display: inline-block;
}
.btn:hover {
	background: color-mix(in srgb, var(--primary) 90%, transparent)
}	
.btn:active {
	transform: translateY(2px);
	background: color-mix(in srgb, var(--primary) 80%, transparent)
}
.btn {
	display: inline-block;
}

		
/*-----------------------------------------------------------------------------------*/
/*Grid*/
/*-----------------------------------------------------------------------------------*/	    
@media screen and (min-width: 780px) {
	.flex {
		display: flex;
	}
	.row {
		column-count: 2;
		column-gap: 1rem;
		column-rule: none;
	}
	.col_70 {
		width: 70%;
	}
	.col_60 {
		width: 60%;
	}
	.col_50 {
		width: 50%;
	}
	.col_40 {
		width: 40%;
	}
	.col_30 {
		width: 30%;
	}
	.col_20 {
		width: 20%;
	}
	.big_num {
		font-size: 1.4rem;
	}
	.instance_card {
		height: 380px;
		position: relative;
	}
	.instance_card .btn {
		position: absolute;
		bottom: 2rem;
		left: 2rem;
	}		
}
.container {
	max-width: 840px;
	margin: 0 auto
}
.container_big {
	max-width: 990px;
	margin: 0 auto
}
/*-----------------------------------------------------------------------------------*/
/*General Elements*/
/*-----------------------------------------------------------------------------------*/
/* 
  ***********************************************
    *Header*
  ***********************************************
*/
.main-header {
	margin: 4rem 0
}
.top-nav {
	position: absolute;
	top: 0.5rem;
	right: 1.5rem;
}
.main-nav .current-menu-item a {
	font-weight: 700;
}
.main-nav .brand--vj {
	display: block;
}
.btn-lang {
	padding: 0;
	background: var(--bg);
  	border: 1px solid var(--secondary);
  	color: var(--primary);
  	line-height: 1.2;
	list-style: none;
}
.btn-lang:hover {
	background: var(--secondary);
}
.btn-lang select {
	padding: 1rem;
	font-family: 'openrunde';
	background: none;
	border: 0;
	color: var(--primary);
}
.d-lg {
	background: var(--bg);
}

@media screen and (min-width: 780px) {
	.main-nav {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}
@media screen and (max-width: 780px) {
	.main-nav {
		text-align: center;
	}
	.main-nav .brand--vj {
		margin: 1rem 0 1rem;
	}
}
/* 
  ***********************************************
    *Footer*
  ***********************************************
*/

.footer_link {
	margin-top: 2rem
}


/*-----------------------------------------------------------------------------------*/
/*Components*/
/*-----------------------------------------------------------------------------------*/
.menu--vj ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
  	gap: 1.5rem;
  	justify-content: center;
}
.menu--vj a {
	text-decoration: none;
}

.card {
	border: 1px solid var(--primary);
	border-radius: var(--radius);
	padding: 2rem;
	margin-bottom: 1rem;
	break-inside: avoid-column;
}
.center {
	text-align: center
}
.sz-100 {
	width: 100%;
}
.mx-100px {
	max-width: 100px;
}

.separator {
	margin: 0.5rem 0
}

.spacer {
	margin: 4rem 0
}
	
.bg_secondary {
	background: var(--bg-secondary);
}
	
.card.bg_secondary {
	border: 0
}
.count_ball ol {
	list-style: none;
	counter-reset: item;
	padding-left: 0;
	margin-top: 3rem;
}
.count_ball li {
	counter-increment: item;
	margin-bottom: 1.5rem;
	padding-left: 3.5rem;
	position: relative;
}	
.count_ball li:before {
	left: -0.5rem;
	content: counter(item);
	border: 1px solid var(--primary);
	border-radius: 100%;
	color: var(--primary);
	text-align: center;
	line-height: 3rem;
	width: 3rem;
	height: 3rem;
	display: inline-block;
	position: absolute;
}
.reference_item {
	border-bottom: solid 1px var(--bg-secondary);
	padding-bottom: 5px;
	margin-bottom: 0.5rem;
}

/*-----------------------------------------------------------------------------------*/
/*Pages*/
/*-----------------------------------------------------------------------------------*/
.index_card {
	margin-bottom: 2rem;
}
.index_card	ul {
	margin-left: 1rem;
		padding-left: 0
}	
.index_card	li {
	margin-bottom: 1rem;
		padding-left: 0
}	

.btn--instance small {
	font-size: 0.7rem;
	align-items: center;
    display: flex;
    gap: .25rem;
}
.btn--instance svg {
	width: 1rem;
}

/* 
  ***********************************************
    *Parts articles & pages*
  ***********************************************
*/
.snippet--vj a {
	text-decoration: none;
}
.thumbnail--vj img {
	width: 100%;
	height: auto
}
.list-items--vj p {
    border-bottom: 1px solid var(--bg-secondary);
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}

/* 
  ***********************************************
    *Re-writes*
  ***********************************************
*/
.wp-block-latest-posts__list {
	font-size: 1.2rem;
}
.wp-block-latest-posts__list li {
	margin-bottom: 1rem
}