/*
==================================================================
Theme Name: Gomez Pastor
Version: 2.0
Author: Neobrand Estrategia
Author URI: https://neobrand.com
==================================================================
*/
:root {
	--fontTitle: 'Playfair Display', regular;
	--fontGeneral: 'Karla', regular;
	--grey: #F7F7F7;
	--darkgrey: #707070;
	--white: #ffffff;
	--black: #000000;
}

::-moz-selection {
	color: var(--white);
	background: var(--darkgrey);
}

::selection {
	color: var(--white);
	background: var(--darkgrey);
}

/* General */
html,
body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: var(--fontGeneral);
}

body {
	width: 100%;
	float: left;
	transition: all 520ms ease;
	pointer-events: all;
}

body.noscroll {
	overflow: hidden;
}

body.overlay main {
	overflow: hidden;
	filter: opacity(25%) grayscale(1);
	pointer-events: none;
}

body.noscroll header{
	background-color: var(--white);
}

body.noscroll header nav a[role=logo] img{
	filter: invert(0);
}
body.noscroll header nav #mobile i{
	filter: invert(1);	
}

main {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	float: left;
}

main figure {
	margin: 0;
}

h2,
h3,
h4,
h5 {
	font-family: var(--fontTitle);
	margin: 0;
	font-size: 39px;
	font-weight: 700;
}

h3 {
	line-height: 1.4;
	font-weight: 700;
}

h4 {
	font-size: 30px;
	color: var(--white);
	font-weight: 700;
}

h6 {
	font-size: 18px;
	line-height: 25px;
	text-transform: uppercase;
	font-weight: 800;
	font-family: var(--fontGeneral);
	margin: 0 0 33px 0;
}

h1 {
	font-size: 73px;
	line-height: 1.2;
	font-family: var(--fontTitle);
	margin: 0;
	font-weight: 600;
}

p {
	width: 100%;
	margin: 0 0 20px 0;
	font-size: 17px;
	font-family: var(--fontGeneral);
	line-height: 1.3;
	color: var(--darkgrey);
}

* > p:last-child {
	margin-bottom: 0;
}

a {
	text-decoration: none;
	font-family: var(--fontGeneral);
}

header {
	width: 100%;
	height: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
	float: left;
	position: sticky;
	top: 0;
	z-index: 10;
	transition: background 180ms ease;
}

body.noscroll header.scrolled nav #mobile i {
	filter: invert(0);
}

header nav {
	width: 100%;
	max-width: 1520px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#header nav .logo-white {
	display: none;
}

header .menu-main-container{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

header nav [role="logo"] img{
	width: 200px;
}

header nav > div:first-child {
	display: flex;
}

header nav > div:first-child .menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 40px 0;
}

header nav > div:first-child .menu li {
	position: relative;
}

header nav > div:first-child .menu li.current a::after,
header nav > div:first-child .menu li a::after {
	content: '';
	width: 100%;
	height: 2px;
	background-color: var(--black);
	transform: translateX(-50%);
	transition: all 280ms ease;
	position: absolute;
	left: 50%;
	bottom: -8px;
}

header nav > div:first-child .menu li a::after {
	width: 0;
}

header nav > div:first-child .menu li:last-child {
	display: none;
}

header nav > div:first-child .menu li a {
	font-size: 18px;
	font-weight: bolder;
	color: var(--black);
	position: relative;
}

nav > div:first-child .menu li a:hover::after {
	width: 100%;
}

header nav > div:nth-child(2) {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

header nav > div.askDate a.date {
	color: white;
	float: right;
	padding: 10px 25px;
	font-size: 15px;
	border-radius: 50px;
	border: 2px solid var(--white);
	width: fit-content;
	font-weight: 600;
	position: relative;
	transition: color .5s ease, background-color .5s ease;
}

.noscroll header nav > div.askDate a.date{
	color: black;
	border: 2px solid black;
}

header nav > div.askDate a.date:hover {
	color: var(--black);
	background-color: var(--white);
}

header nav .askDate > div:first-child {
	padding: 10px 0;
}

header nav .askDate div:first-child a {
	color: var(--white);
	font-size: 15px;
	transition: color 280ms ease;
}

.noscroll header nav .askDate div:first-child a{
	color: black;
}

header nav .askDate div:first-child a:hover {
	color: var(--black);
}

header nav .askDate div:first-child a:last-child {
	margin-left: 15px;
}

header nav .askDate div:first-child a:last-child svg {
	transform: rotate(110deg);
}

header nav .askDate div:first-child a {
	display: flex;
	flex-direction: row;
	gap: 5px;
}

header nav .askDate > div:first-child > div {
	display: flex;
}

header.scrolled {
	background-color: white;
	box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}

header.scrolled #contact-header {
	color: var(--black);
}

header.scrolled nav .askDate div a {
	color: var(--black);
}

header.scrolled nav > div.askDate a.date {
	color: var(--black);
	border: 2px solid var(--black)
}

header.scrolled nav > div.askDate a.date:hover {
	background-color: var(--black);
	color: var(--white);
}

input[type="date"]::-webkit-calendar-picker-indicator {
	background-color: var(--darkgrey);
}

.form-header {
	width: 45%;
	height: 100%;
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	z-index: 10;
	background-color: var(--black);
	color: var(--white);
	display: flex;
	padding-top: 90px;
	align-items: center;
	flex-direction: column;
	opacity: 0;
	pointer-events: none;
	transition: all 0ms ease;
	overflow-y: auto;
	overflow-x: hidden;
}

.form-header.active {
	opacity: 1;
	transform: translateX(0);
	pointer-events: all;
}

.form-header > div {
	width: 75%;
	position: relative;
	margin: auto;
}

.form-header > .close {
	position: absolute;
	right: 20px;
	top: 20px;
	text-align: end;
	cursor: pointer;
}

.form-header > div > div:first-child {
	position: absolute;
	top: -130px;
	right: 0;
	cursor: pointer;
}

.form-header > .close svg {
	transition: transform .5s ease;
}

.form-header > .close:hover svg {
	transform: scale(1.2);
}

#header button {
	display: none;
}

.archive header #mobile {
	color: var(--black);
}

.form-header h2 {
	font-size: 57px;
	font-weight: bolder;
	margin-bottom: 30px;
	width: 60%;
}

.form-header p {
	font-size: 20px;
	margin-bottom: 60px;
}

.form-header .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	gap: 25px;
	margin-bottom: 20px;
}

.form-header .wpcf7-form input[type="submit"] {
	height: fit-content;
}

.wpcf7-form .wpcf7-form-control-wrap {
	align-self: flex-start;
}

.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	height: 42px;
	background-color: transparent;
	border: none;
	border-bottom: 2px solid var(--darkgrey);
	color: var(--grey);
	padding: 0;
	font-size: 21px;
}

.wpcf7-form select:focus {
	color: var(--darkgrey);
}

.wpcf7-form textarea {
	width: 100%;
	height: 42px;
	resize: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form select::placeholder,
.wpcf7-form textarea::placeholder {
	color: var(--white);
}

.wpcf7-acceptance {
	color: white;
	font-size: 17px;
}

.wpcf7-acceptance a {
	color: white;
	text-decoration: underline;
}

.wpcf7-acceptance label {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 5px;
}

.block .wpcf7-list-item {
	margin: 0;
}

.wpcf7-acceptance input {
	height: auto;
	width: auto;
	opacity: 0;
	position: absolute;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
}

form .block .acceptance label {
	width: auto;
	cursor: pointer;
	float: left;
	position: relative;
}

form .block .wpcf7-acceptance label::before {
	content: '';
	width: 16px;
	height: 16px;
	border: 1px solid var(--white);
	border-radius: 5px;
	float: left;
}

form .block .wpcf7-acceptance label::after {
	content: '';
	width: 14px;
	height: 14px;
	background-color: var(--white);
	border-radius: 5px;
	transform: scale(0);
	opacity: 0;
	transition: all 320ms ease;
	position: absolute;
	top: -1px;
	left: 2px;
}

form .block .wpcf7-acceptance label.checked::after {
	opacity: 1;
	transform: scale(1);
}

.form-header .wpcf7-form input[type=submit] {
	border: 2px solid var(--white);
	border-radius: 50px;
	padding: 15px 50px;
	font-size: 20px;
	width: fit-content;
	cursor: pointer;
	float: left;
}

.wpcf7-form {
	position: relative;
}

.wpcf7-form .wpcf7-submit {
	width: 120px;
	border: 2px solid var(--white);
	border-radius: 50px;
	font-size: 20px;
	justify-self: flex-end;
	cursor: pointer;
}

.wpcf7-form .wpcf7-spinner {
    width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	background-color: rgb(0 0 0 / 80%);
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}

.wpcf7-form .wpcf7-spinner::before {
	top: auto;
	left: auto;
}

.wpcf7-response-output {
	color: var(--white) !important;
	border-color: var(--white) !important;
	font-family: var(--fontGeneral);
	float: left !important;
}

main #banner {
	min-height: 100vh;
	max-width: 1520px;
	width: 100%;
	display: flex;
	margin-top: -100px;
	padding-top: 100px;
}

main #banner > div {
	width: 55%;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

main #banner > figure {
	width: 45%;
	position: absolute;
	height: 100vh;
	top: 0;
	right: 0;
}

main #banner div > p {
	width: 65%;
	font-size: 23px;
}

main #banner > figure img {
	object-fit: cover;
}

main #banner > div h1 {
	width: 70%;
	margin-bottom: 30px;
}

main #banner > div figure {
	width: 75%;
	position: relative;
}

main #banner > div i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 45px;
}

main #values,
main #whyUs,
main #smile,
main #specialist,
main #collaboration,
main #booking,
main #ourTeam,
main #infoContact,
main #gallery,
main #works,
main #content,
main #specs,
.post main #hero,
.regular #content {
	width: 100%;
	max-width: 1360px;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 150px;
	gap: 70px;
}

.regular #content.legals {
	margin-top: 30px;
	gap: 40px;
}

main #values > article:first-child {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}

main #values > article:first-child div:first-child,
main #whyUs article div:first-child,
main #smile article div:first-child {
	padding-left: 40px;
}

main #smile article div:first-child {
	padding-top: 50px;
}

main #values > article:first-child p {
	font-size: 25px;
	line-height: 1.2;
}

main #values > article:nth-child(2),main #ourTeam article {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	row-gap: 36px;
	column-gap: 40px;
}

main #values > article:nth-child(2)>div,main #ourTeam article div {
	position: relative;
	overflow: hidden;
}

main #ourTeam article > div.has_cv {
	cursor: pointer;
}

main #values > article:nth-child(2)>div a,main #ourTeam article > div a {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

main #values > article:nth-child(2)>div figure{
	height: 100%;
}

main #values > article:nth-child(2)>div figure img{
	object-fit: cover;
}


main #ourTeam figure > i {
	color: white;
	font-size: 22px;
	position: absolute;
	right: 20px;
	top: 20px;
	z-index: 11;
}

main #ourTeam article > div.has_cv.active i {
	display: none;
}

main #ourTeam figure figcaption {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 40px;
	z-index: 1;
}

main #ourTeam figure figcaption p {
	margin: 10px 0 0;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
}

main #ourTeam > article figure::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgb(0, 0, 0) -10%, rgba(0, 0, 0, 0) 36%);
}

main #ourTeam > article > div.active figure img {
	filter: blur(12px);
}

main #ourTeam > article > div.active figcaption {
	opacity: 0;
}

main #ourTeam > article .cv {
	position: absolute;
	top: 0;
	left: 0;
	padding: 30px;
	overflow-y: auto;
	pointer-events: none;
	width: 100%;
	height: 100%;
	z-index: 3;
	opacity: 0;
	transition: all .28s ease;
	background-color: rgba(255, 255, 255, 0.8);
}

main #ourTeam > article > div.active .cv {
	opacity: 1;
	pointer-events: all;
}

main #ourTeam > article .cv h5 {
	font-size: 30px;
	margin-bottom: 10px;
}

main #ourTeam > article .cv p {
	color: var(--black);
}

main #ourTeam > article .cv p:last-child {
	margin-bottom: 20px;
}

main #values > article:nth-child(2) > div figure::before,
main #banner > figure::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgb(0 0 0 / 50%) 0 10%, transparent 60% 0%)
}

main #banner > figure::before {
	z-index: 1;
	background: linear-gradient(180deg, rgb(0 0 0 / 50%) 0 10%, transparent 60% 0%)
}

main #values > article:nth-child(2)>div figure,
main #lastNews div article:nth-child(2) .news figure,main #news div:first-child article figure img,main #ourTeam article > div figure img {
	transition: transform .5s ease-in-out;
}

main #values > article:nth-child(2)>div:hover figure,
main #lastNews div article:nth-child(2) .news:hover figure,main #news div:first-child article figure:hover img,main #ourTeam article > div.has_cv figure:hover img {
	transform: scale(1.1);
}

main #values article h3 {
	font-size: 30px;
	font-weight: 600;
	color: var(--white);
	position: absolute;
	top: 0;
	left: 0;
	padding: 40px;
}

main #whyUs article,
main #smile > article:first-child {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 80px;
	align-items: flex-end;
}

main #smile > article:first-child {
	align-items: flex-start;
}

main #whyUs article p,
main #specialist > article > div span,
main #collaboration > article > div span,
main #specs article h4 {
	font-size: 18px;
	line-height: 1.3;
	color: var(--darkgrey);
	font-weight: 700;
	text-transform: uppercase;
	font-family: var(--fontGeneral);
}

main #whyUs article h3,
main #collaboration article h3 {
	padding: 5px 0 30px;
}

main #whyUs article .experience > p > i {
	height: 50px;
	width: 50px;
}

main #whyUs article .experience > p {
	background-color: var(--grey);
	font-size: 22px;
	color: var(--black);
	padding: 20px 25px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
}

main #smile article div:first-child p,
main #collaboration p {
	font-size: 25px;
}

main #smile > article:first-child h3 {
	padding-bottom: 30px;
}

main #lastNews {
	width: 100%;
	background-color: var(--darkgrey);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 0;
	margin-top: 150px;
}

main #lastNews > div {
	width: 100%;
	max-width: 1360px;
	display: grid;
	grid-template-columns: 1fr 2.5fr;
	gap: 80px;
}

main #lastNews div article:first-child {
	display: flex;
	justify-content: center;
	flex-direction: column;
	padding-left: 40px;
	gap: 20px;
}

main #lastNews div article:nth-child(2) {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 80px;
}

main #lastNews div article:nth-child(2) .news {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

main #lastNews div article h3 {
	color: var(--white);
}

main #lastNews div article .news a:nth-child(2) {
	text-decoration: none !important;
}

main #lastNews div article .news h4 {
	font-size: 26px;
	line-height: 1.3;
}

main #lastNews div article p {
	color: var(--white);
	font-size: 22px;
	line-height: 1.4;
}

main #lastNews div article:nth-child(2) .news p {
	font-size: 17px;
	line-height: 1.3;
}

main #lastNews div article:nth-child(2) .news a {
	color: var(--white);
	text-decoration: underline;
	transition: color .2s ease;
	width: fit-content;
	font-size: 17px;
	overflow: hidden;
}

main #lastNews div article:nth-child(2) .news a:hover {
	color: var(--black);
}

.button,
.whiteButton {
	color: var(--white);
	border-radius: 50px;
	border: 2px solid var(--white);
	padding: 12px 40px;
	width: fit-content;
	font-size: 20px;
	font-weight: 600;
	overflow: hidden;
	position: relative;
	transition: color .5s ease, background-color .5s ease;
	z-index: 1;
}

.button:hover {
	background-color: var(--black);
	color: white !important;
}

.whiteButton:hover {
	background-color: var(--white);
	color: black !important;
}

main #reviews {
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 80px 0 70px;
	background-color: black;
	margin-top: 150px;
	overflow: hidden;
}

main #reviews div.carrusel_reviews .review .quote i {
	background: url('images/comillas.svg');
	width: 50px;
	height: 50px;
	background-position: top left;
	background-size: 40px 40px;
	background-repeat: no-repeat;
	float: left;
}

main #reviews span,
main #reviews p,
main #reviews i {
	color: white;
}

main #reviews .owl-item > div {
	display: grid;
	grid-template-columns: 50px 1fr;
	align-items: baseline;
	padding: 0 20px;
	column-gap: 20px;
}

main #reviews .owl-item > div i {
	background: url('images/comillas.svg');
	width: 40px;
	height: 40px;
	background-position: top left;
	background-size: 40px 40px;
	background-repeat: no-repeat;
	float: left;
}

main #reviews .owl-item > div p {
	font-size: 25px;
	font-family: var(--fontGeneral);
}

main #reviews .owl-item > div span {
	font-size: 20px;
	font-family: var(--fontTitle);
}

.owl-nav.disabled + .owl-dots {
	margin-top: 50px;
}

.owl-dots {
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}

.owl-dots .owl-dot {
	display: inline-block;
}

.owl-dots .owl-dot span {
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: #ffffff;
	opacity: 0.25;
	display: block;
	-webkit-backface-visibility: visible;
	transition: opacity 200ms ease;
	border-radius: 30px;
}

.owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
	opacity: 1;
}

.owl-carousel.owl-drag .owl-item {
	opacity: 0.3;
}

.owl-carousel.owl-drag .owl-item.center {
	opacity: 1;
}

main #specialist > article > div {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 0 0 30px 40px;
}

main #specialist > article ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 30px 100px;
	background-color: var(--darkgrey);
	border-radius: 5px;
	column-gap: 40px;
}

main #specialist > article ul li {
	color: var(--white);
	padding: 30px 0;
	border-bottom: 1px solid var(--grey);
}

main #specialist > article ul li a {
	padding: 20px 0;
	color: var(--grey);
	font-size: 25px;
	font-weight: 600;
	transition: all 0.3s ease-in;
	border-radius: 5px;
	display: flex;
	align-content: flex-start;
	gap: 5px;
}

main #specialist ul li a:hover {
	padding-left: 10px;
	color: var(--darkgrey);
	background-color: var(--grey);
}

main #specialist ul li:nth-child(3n+1):nth-last-child(-n+3),
main #specialist ul li:nth-child(3n+1):nth-last-child(-n+3) ~ li {
	border-bottom: none;
}

main #collaboration article {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 80px;
}

main #collaboration article > div:first-child {
	padding-left: 40px;
}

main #collaboration article div:nth-child(2) {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

main #collaboration article div:nth-child(2) a {
	padding: 20px;
	background-color: var(--grey);
}

main #collaboration article div:nth-child(2) a:hover figure img {
	filter: grayscale(0);
}

main #collaboration article div:nth-child(2) figure img {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	transition: filter .4s ease;
}

main #booking article {
	background-color: var(--black);
	width: 100%;
	max-width: 1360px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	padding: 100px;
	border-radius: 5px;
}

main #booking article h3 {
	color: white;
	padding-bottom: 30px;
}

main #booking article p {
	font-size: 21px;
	width: 80%;
	color: var(--white);
}

main #booking form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: center;
}

main #booking form .tratamiento,
main #booking form .textarea-347,
.form-header .wpcf7-form .tratamiento,
.form-header .wpcf7-form .textarea-347,
.wpcf7 form .wpcf7-response-output,
.form-header .wpcf7-form .policy,
main #booking form .policy {
	grid-column: 1 / -1;
}

.form-header .wpcf7-form .policy i,
main #booking form .policy i,
.form-header .wpcf7-form .policy span,
main #booking form .policy span {
	color: white;
	font-size: 17px;
}

.form-header .wpcf7-form .policy  p,
main #booking form .policy  p {
	font-size: 16px;
	width: 100%;
	margin-top: 10px;
	display: none;
	margin-bottom: 0;
}

.form-header .wpcf7-form .policy .showinfo {
	cursor: pointer;
}

.form-header .wpcf7-form .wpcf7-spinner {
	position: absolute;
	bottom: 0;
	left: 0;
}

/* Especialidades */
main #works article {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
	gap: 40px;
}

main #works article div {
	padding: 40px 40px;
	background-color: var(--darkgrey);
	border-radius: 5px;
}

main #works article div.fade{
	transition: all 320ms ease;
}

main #works article div.fade:hover{
	opacity: 1;
}

main #works article div.active{
	background-color: #000;
	animation-name: pop;
	animation-duration: 1200ms;
	animation-timing-function: cubic-bezier(.74, 0, .24, .99);
}


@keyframes pop {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}

}



main #works article div h3 {
	color: var(--white);
	font-size: 25px;
	line-height: 1.2;
	margin-bottom: 20px;
}

main #works article div p {
	color: var(--white);
	margin-bottom: 6px;
}

main #specs > div {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

main #specs .experience {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 35px;
	column-gap: 40px;
}

main #specs .experience > div {
	background-color: var(--grey);
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	padding: 20px 25px;
}

main #specs article > div > div:first-child {
	padding: 0 0 40px 40px;
}

main #specs .experience > div > div {
	padding: 25px 0;
}

main #specs .experience h5 {
	font-size: 22px;
	font-family: var(--fontGeneral);
	padding-bottom: 10px;
}

main #specs .experience figure {
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

main #specs .experience figure img {
	width: 50px;
	height: 50px;
}

main #gallery article:nth-child(2) {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, 1fr) 1.4fr;
	grid-template-rows: repeat(3, 240px) 350px;
	gap: 20px;
}

main #gallery article:first-child {
	width: 100%;
}

main #gallery article:nth-child(2) figure:first-child {
	grid-row: span 2;
	grid-column: span 2;
}

main #gallery article:nth-child(2) figure:nth-child(3) {
	grid-row: span 2;
}

main #gallery article:nth-child(2) figure:nth-child(7) {
	grid-column: span 2;
}

main #gallery article:first-child figure img,
main #gallery article:nth-child(2) figure img {
	object-fit: cover;
}

/* Blog */
main #news {
	display: grid;
	grid-template-columns: 3fr 1.3fr;
	max-width: 1360px;
	gap: 30px;
}

main .paged {
	margin-bottom: 150px;
}

main #news div:first-child {
	display: flex;
	flex-direction: column;
}

main #news div:first-child article {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 100px;
}

main #news div:first-child article > figure {
	overflow: hidden;
}

main #news div:first-child article > a {
	text-decoration: underline;
	color: var(--darkgrey);
	transition: color 280ms ease;
}

main #news div:first-child article > a:hover {
	color: black;
}

main #news div:first-child article > div > h3 a {
	line-height: 1.3;
	font-family: var(--fontTitle);
	margin: 0;
	font-size: 39px;
	color: var(--black);
	transition: color 280ms ease;
}

main #news div:nth-child(2) .mostRead a:hover h3 {
	color: var(--black)
}

main #news div:first-child article > div > div {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	flex-direction: row;
	gap: 20px;
}

main #news article > div > div a,
.post #hero .info a {
	border-radius: 50px;
	background-color: var(--darkgrey);
	padding: 10px 35px;
	color: var(--white);
	transition: all 280ms ease;
}

.post #hero .info a:hover {
	background-color: black;
}

main #news article > div > div a:hover {
	color: var(--black);
}

main #news div:first-child article > div i,
main #news div:first-child article > div span {
	margin-right: 5px;
	color: var(--darkgrey);
	font-size: 18px;
}

main #news div:first-child article > div p {
	margin-top: 10px;
	font-size: 19px;
}

main #news > div:nth-child(2) {
	position: sticky;
	top: 120px;
	background-color: var(--darkgrey);
	padding: 50px 40px;
	height: fit-content;
	border-radius: 5px;
}

main #news div:nth-child(2) h2 {
	margin-bottom: 25px;
	color: var(--white);
	font-weight: 500;
}

main #news div:nth-child(2) .mostRead {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

main #news div:nth-child(2) .mostRead > div::after {
	display: block;
	content: '';
	background-color: var(--white);
	width: 100%;
	height: 2px;
	margin-top: 20px;
}

main #news div:nth-child(2) .mostRead h3 {
	font-size: 20px;
	font-family: var(--fontGeneral);
	line-height: 1.2;
	color: var(--white);
	font-weight: 400;
	transition: color 280ms ease;
}

main #news div:nth-child(2) .mostRead p {
	color: var(--grey);
	font-size: 15px;
	margin-top: 10px;
}

main #news .pagination > div {
	flex-direction: row;
	gap: 10px;
}

main #news .pagination .current,
main #news .pagination a {
	border-radius: 3px;
	border: 2px solid var(--black);
	font-size: 18px;
	font-family: var(--fontGeneral);
	font-weight: 500;
	width: 35px;
	padding: 5px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--black);
	color: var(--white);
}

main #news .pagination a {
	background-color: var(--white);
	color: var(--black);
	font-family: var(--fontGeneral);
}

main #news .pagination .dots {
	display: flex;
	align-items: flex-end;
}

main #content {
	gap: 0;
	align-items: flex-start;
	margin-top: 100px;
}

main #content h4,
.post main #hero h4 {
	color: var(--black);
	margin-bottom: 20px;
}

main #content p {
	font-size: 18px;
}

/* Single */
.archive header nav .askDate div:first-child a,
.post header nav .askDate div:first-child a {
	color: var(--black);
}

.archive header nav > div.askDate a.date,
.post header nav > div.askDate a.date {
	color: var(--black);
	border: 2px solid var(--black);
}

.archive header nav > div.askDate a.date:hover,
.post header nav > div.askDate a.date:hover {
	background-color: black;
	color: white;
}

.archive main {
	margin-top: 20px;
}

.archive header nav #mobile,
.post  header #mobile {
	color: var(--black);
}

.post main #content {
	width: 100%;
	max-width: 920px;
	float: left;
	margin-top: 50px;
	display: block;
}

.post #hero > div {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 40px;
}

.post #hero > div > div:first-child {
	width: 100%;
	height: fit-content;
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
    top: 120px;
}
.post #hero > div > div:first-child .share {
	padding: 20px 20px 18px 20px;
	font-size: 26px;
	background-color: var(--grey);
	text-align: center;
}

.post #hero > div > div:first-child .share > * {
	display: inline-block;
	transition: all 280ms ease;
}

.post #hero > div > div:first-child .share span {
	margin: 0 10px;
	color: var(--darkghrey);
}

.post #hero > div > div:first-child .share a {
	width: 0;
	color: #000;
	opacity: 0;
}

.post #hero > div > div:first-child .share:hover a {
	width: 26px;
	margin: 0 10px;
	opacity: 1;
}

.post #hero > div h1 {
	margin-top: -12px;
	line-height: 1.2;
	font-size: 42px;
	float: left;
}

.post #hero .info {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.post #hero .info span {
	margin-right: 5px;
	color: var(--darkgrey);
	font-size: 18px;
	font-family: var(--fontGeneral);
}

.post main #banner figure img {
	height: 100%;
}

.regular main #content p,
.regular main #hero p,
.post main #content p,
.post main #hero p {
	font-size: 19px;
}

.post main #content figure.is-type-video {
	text-align: center;
}

.regular main #content ul:not(.blocks-gallery-grid),
.regular main #hero ul:not(.blocks-gallery-grid),
.post main #content ul:not(.blocks-gallery-grid),
.post main #hero ul:not(.blocks-gallery-grid) {
	margin: 0 0 20px 20px;
}

.regular main ol {
	margin-left: 30px;
}

.regular main ol li {
	list-style: inherit;
}

.regular main #content ul:not(.blocks-gallery-grid) li,
.regular main #hero ul:not(.blocks-gallery-grid) li,
.post main #content ul:not(.blocks-gallery-grid) li,
.post main #hero ul:not(.blocks-gallery-grid) li {
	margin-left: 20px;
	font-size: 19px;
	line-height: 1.4;
	font-family: var(--fontGeneral);
	color: var(--darkgrey);
	list-style: circle;
}

.regular main #content ul:not(.blocks-gallery-grid) li {
	margin-left: 0;
}

.regular main #content h1,
.post main #content h1 {
	font-size: 50px;
	margin-bottom: 10px;
	word-break: break-all;
}

.regular main #content h2,
.post main #content h2 {
	font-size: 45px;
	margin-bottom: 10px;
}

.regular main #content h3,
.post main #content h3 {
	font-size: 40px;
	margin-bottom: 10px;
}

.regular main #content h4,
.post main #content h4 {
	font-size: 35px;
	margin-bottom: 10px;
}

.regular main #content h5,
.post main #content h5 {
	font-size: 25px;
	margin-bottom: 15px;
}

.regular main #content a {
	color: var(--name);
	font-weight: 200;
}

.regular main #content a {
	color: var(--name);
	font-weight: 200;
	transition: all 280ms ease;
}

.regular main #content a:hover {
	color: black;
}

.post main #content .blocks-gallery-grid {
	margin: 0;
}

.post #related {
	width: 100%;
	max-width: 1360px;
	margin-top: 150px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 500px;
	gap: 20px;
}

.post #related figure {
	height: 100%;
}

.post #related img {
	object-fit: cover;
}

.post #related {
	display: flex;
	flex-direction: column;
}

.post #related > div {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
	grid-template-rows: 500px;
	grid-auto-rows: 500px;
	gap: 40px;
}

.post #related > div > .related_new {
	overflow: hidden;
	position: relative;
}

.post #related > div > .related_new::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(0deg, rgb(0, 0, 0) -10%, rgba(0, 0, 0, 0) 56%);
}

.post #related > div > .related_new a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
}

.post #related > div > .related_new > div {
	position: absolute;
	bottom: 0px;
	left: 0;
	padding: 0 20px 30px;
	display: flex;
	flex-direction: column;
	gap: 0px;
	z-index: 2;
	transition: all 280ms ease;
}

.post #related > div > .related_new  > div p {
	color: var(--grey);
	overflow: hidden;
	max-height: 0;
	transition: all 280ms ease;
}

.post #related > div > .related_new:hover > div p {
	max-height: 100px;
	margin-top: 20px;
}

.post #related > div > .related_new:hover div {
	bottom: 0px;
}

.post main #hero {
	margin-top: 20px;
}

.wp-embed-aspect-16-9 > div {
	width: 100%;
	aspect-ratio: 16/9;
	position: relative;
}

.wp-embed-aspect-16-9 > div iframe {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

/* Footer */
footer {
	margin-top: 150px;
	background-color: var(--black);
	width: 100%;
	display: flex;
	align-items: center;
	flex-direction: column;
	float: left;
}

footer > div {
	max-width: 1360px;
	width: 100%;
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 20px;
	padding: 40px 0 40px 40px;
}

footer > div figure {
	margin: 0;
}

footer > div > div:not(:first-child) {
	padding-top: 33px;
}

footer > div figure > a > img {
	width: 260px;
	height: auto;
	margin-bottom: 30px;
	filter: invert(1);
}

footer h4{
	color: var(--white);
}

footer > div .aboutFooter {
	float: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

footer > div > div:not(:first-child) ul li {
	font-family: var(--fontGeneral);
}

footer > div .aboutFooter a {
	font-size: 16px;
	margin: 5px 0;
	color: var(--white);
	font-weight: 700;
}

footer > div .aboutFooter a span {
	font-weight: 400;
	color: #d4d4d4;
	padding: 0 5px;
	transition: color 280ms ease;
}

footer > div > div:nth-child(2) ul {
	width: 100%;
	margin-top: 24px;
	display: inline-grid;
	grid-template-rows: repeat(2, auto);
	grid-auto-flow: column;
	column-gap: 50px;
}

footer > div > div:nth-child(2) ul li,
footer > div > div:nth-child(3) ul li,
footer > div > div:nth-child(4) ul li {
	padding: 10px 0;
}

footer > div > div:nth-child(2) ul li a,
footer > div > div:nth-child(3) ul li,
footer > div > div:nth-child(4) ul li {
	font-size: 16px;
	color: #d4d4d4;
	transition: color 280ms ease;
	cursor: pointer;
}
footer > div .aboutFooter a span:hover,
footer > div > div:nth-child(2) ul li a:hover,
footer > div > div:nth-child(3) ul li:hover,
footer > div > div:nth-child(4) ul li:hover {
	color: var(--white);
}

footer .social {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 30px 0 30px 40px;
	position: relative;
}

footer .social::before {
	content: '';
	background-color: #bfbfbf;
	width: calc(100% - 40px);
	height: 2px;
	display: inline-block;
	position: absolute;
	top: 0;
}

footer .social > div:last-child {
	height: 18px;
	padding-top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

footer .social > div:last-child a {
	color: var(--black);
	margin: 0 10px;
	filter: invert(1);
}

footer .social > div:first-child p {
	font-size: 14px;
	color: #fff;
}

footer .social > div:first-child p a {
	color: white;
}

footer .social > div:first-child p a::before {
	content: ' – ';
}

footer .network {
	display: flex;
	gap: 20px;
	margin-top: 10px;
}

footer .network i{
	font-size: 21px;
}

footer #neobrand {
	width: 10.53px;
	margin: 0;
	overflow: hidden;
	transition: all 280ms ease;
	float: right;
	position: relative;
	top: 2px;
}

footer #neobrand img {
	width: auto;
	height: 18px;
	float: left;
}

/* Misc */

.grecaptcha-badge {
	display: none;
}