/**
* Theme Name: Goya Child Theme
* Description: This is a child theme of Goya, created by Hellcoders.
* Author: <a href="https://hellcoders.com">Hellcoders</a>
* Template: goya
* Version: 1.0.8.27
*/

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@300;400;600&display=swap');

html:root {
	--text: #262424;

	--brand-1: #DAA520;
	--brand-2: #B2871A;
	--brand-3: #FAF8F5;
	--brand-4: #D1B56C;
	--brand-5: #FAFAFA;

	--white: #FFFFFF;
	--black: #29363C;
	--transp: rgba(0, 0, 0, 0);
	
	--main-font: 'Geologica', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	--text-h1: 42px;
	--text-h2: 33px;
	--text-h3: 26px;
	--text-h4: 20px;
	--text-base: 16px;
	--text-small: 13px;
	
	--video-max-size: 600px;
}

*, html, body, h1, h2, h3 h4, h5, h6 {
  scroll-behavior: smooth;
  font-family: $mainFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fonts */
body, 
body *:not(.fa):not(.fab):not(.fas):not(.far):not(.fal):not(.fad):not(.ab-icon) {
    font-family: var(--main-font) !important;
	font-weight: 300;
}
body.wp-admin, 
body.wp-admin *,
.editor-styles-wrapper, .editor-styles-wrapper * {
    font-family: inherit !important;
}
strong, .bold {
	font-weight: bold !important;
}

/* Headings */
.app-h1, .app-h1 h1, .app-h1 h2, .app-h1 h3, .app-h1 h4, .app-h1 h5, .app-h1 h6 {
    font-size: var(--text-h1);
	font-weight: 600 !important;
}
.app-h2, .app-h2 h1, .app-h2 h2, .app-h2 h3, .app-h2 h4, .app-h2 h5, .app-h2 h6 {
    font-size: var(--text-h2);
	font-weight: 600 !important;
}
.app-h3, .app-h3 h1, .app-h3 h2, .app-h3 h3, .app-h3 h4, .app-h3 h5, .app-h3 h6 {
    font-size: var(--text-h3);
	font-weight: 400 !important;
}
.app-h4, .app-h4 h1, .app-h4 h2, .app-h4 h3, .app-h4 h4, .app-h4 h5, .app-h4 h6 {
    font-size: var(--text-h4);
	font-weight: 400 !important;
}

/* Default text entries */
blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft,
blockquote.alignright,
.wp-caption.alignright,
img.alignright,
h1, h2, h3, h4, h5,
p, pre, address, figure,
.wp-caption,
.wp-block-categories {
	margin-bottom: 1rem;	
}

/* Header */
header#header, 
header.site-header {
	position: sticky !important;
} 

.header-spacer {
	display: none !important;
}

/* Footer */
footer .footer-widgets {
	text-align: center !important;
}

/* Sidebar */
.side-panel-content.side-panel-mobile .et-mobile-text {
	margin-top: 1rem;
}

/* Buttons */
a.btn-brand,
div.btn-brand a.vc_general.vc_btn3, 
#contact form input[type="submit"] {
	border-radius: 42px;
	padding: 10px 30px 12px;
	color: var(--white) !important;
	background-image: unset !important;
	background-color: var(--brand-1) !important;
	transition: all 300ms;
}
a.btn-brand:hover, 
a.btn-brand:focus, 
a.btn-brand:active,
div.btn-brand a.vc_general.vc_btn3:hover,
div.btn-brand a.vc_general.vc_btn3:focus, 
div.btn-brand a.vc_general.vc_btn3:active,
#contact form input[type="submit"]:hover,
#contact form input[type="submit"]:focus,
#contact form input[type="submit"]:active {
	background-color: var(--brand-2) !important;
	
}
a.btn-cta,
div.btn-cta a.vc_general.vc_btn3 {
	font-size: var(--text-h4);
	font-weight: 400;
}
#contact form input[type="submit"] {
	font-weight: 400;
}

/* Contact */
#contact form {
	max-width: 600px;
	margin: 0 auto;
}
#contact form nf-fields-wrap {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    #contact form nf-fields-wrap {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
    }
    #contact form nf-fields-wrap > :nth-child(3) {
        grid-column: span 2;
    }
}
.nf-field-container,
.floating-labels .form-row.float-label,
.floating-labels .nf-field .field-wrap.float-label {
	margin: 0 auto !important;
}
.nf-before-form-content {
	margin-bottom: 1rem;
}
#contact form nf-fields-wrap input:not([type="submit"]) {
	background-color: var(--brand-5);
}
#contact form nf-fields-wrap textarea {
	background-color: var(--brand-5);
	resize: none !important;
}