/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Font smoothing for all custom font elements */
[data-font="PFHighwaySansPro-Bold"],
[data-font="PFHighwaySansPro-BoldItalic"],
.fronthead,
.frontheadmobile,
.frontheadblack,
.agametext,
.strikedjungle {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-synthesis: none;
}

/* Override Uncode's font settings to prevent faux bold artifacts */
/* TODO: Font weight issue - current font appears slimmer than before update */
[data-font="PFHighwaySansPro-Bold"],
[data-font="PFHighwaySansPro-BoldItalic"],
.font-960899 {
	font-family: 'PFHighwaySansPro-Bold' !important;
	font-weight: 800 !important;
}

/* Custom fonts - using only .ttf files that exist */
@font-face {
	font-family: 'PFAgoraSansPro-Bold';
	src: url('fonts/PFAgoraSansPro-Bold.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'PFAgoraSansPro-BoldItalic';
	src: url('fonts/PFAgoraSansPro-BoldItalic.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'PFAgoraSansPro-Italic';
	src: url('fonts/PFAgoraSansPro-Italic.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'PFAgoraSansPro-Regular';
	src: url('fonts/PFAgoraSansPro-Regular.ttf') format('truetype');
	font-display: swap;
}
@font-face {
	font-family: 'PFHighwaySansPro-Bold';
	src: url('fonts/PFHighwaySansPro-Bold.ttf') format('truetype');
	font-display: swap;
	font-weight: 100 900;
}
@font-face {
	font-family: 'PFHighwaySansPro-BoldItalic';
	src: url('fonts/PFHighwaySansPro-BoldItalic.ttf') format('truetype');
	font-display: swap;
}

.fronthead {
	line-height: 1.5;
	font-family: 'PFHighwaySansPro-BoldItalic';
}
.frontheadmobile {
	line-height: 1.5;
	font-family: 'PFHighwaySansPro-BoldItalic';
	font-size: 20px!important;
}

.agametext {
	line-height: 1.2;
	font-family: 'PFHighwaySansPro-BoldItalic';
	font-size: 56px!important;
}

.strikedjungle {
	font-family: 'PFHighwaySansPro-BoldItalic';
	text-decoration: line-through;
	text-decoration-color: #ff7964;
}
.frontheadblack {
	line-height: 1.5;
	font-family: 'PFHighwaySansPro-BoldItalic';
	color: #202629!important;
}
.grecaptcha-badge{
	visibility: collapse !important;
}

#moove_gdpr_cookie_info_bar * {
	box-sizing: border-box;
	font-weight: 100!important;
}

.hs-custom-style fieldset input:not([type="image"]):not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]), .hs-custom-style>div input:not([type="image"]):not([type="submit"]):not([type="button"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]) {
	background-color: white!important;
}

#hs-eu-cookie-confirmation {
	display: none!important;
}

/* Fix news grid image centering */
.t-background-cover {
	background-position: center center !important;
}

/* Specific fix for Velux news image */
.tmb-id-82778 .t-background-cover {
	background-position: center center !important;
	background-size: cover !important;
}
