@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-Bold.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-Italic.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-Light.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-Medium.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-Regular.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('../assets/fonts/rubik/Rubik-SemiBold.woff2') format('woff2'),
        url('../assets/fonts/rubik/Rubik-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-Medium.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-Bold.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-Italic.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-Light.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-Regular.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/inter/Inter24pt-SemiBold.woff2') format('woff2'),
        url('../assets/fonts/inter/Inter24pt-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
html {
	scroll-behavior: smooth;
}
/* Add new variable rules to function.php file $token_descriptions */
:root {
	--orange: #ee7d00;
	--yellow: #f8b900;
	--lightgrey: #F5F5F5;
	--grey: #7c7c7b;
	--darkgrey: #595959;
	--black: #1C1C1C;
	--textcolour: var(--darkgrey);
	--primary: var(--orange);
	--secondary: var(--yellow);
	--gradient: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 55%);
	--general--content-spacing: 20px;
	--gradient-text: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 60%);
	--container: 1280px;
}

body {
	margin: 0;
	font-family: 'Inter';
	font-weight: 400;
	color: var(--textcolour);
}

/* container */
.container {
	width: 100%;
	max-width: var(--container);
	padding: 0 20px;
	margin: 0 auto;
}

/* headings */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: 2rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
	font-family: 'Rubik';
	color: var(--black);
	margin: 0 0 var(--general--content-spacing);
	font-weight: 400;
	line-height: 1.2;
	font-size: 2.375rem;
}

/* heading class variants */
.h1 {
	font-size: 3.5rem;
	font-weight: 400;
}
.h2 { font-size: 2.875rem; }                  /* 46px */
.h3 { font-size: 2.5rem; }                    /* 40px */
.h4 { font-size: 2.375rem; }                  /* 38px */
.h5 { font-size: 2rem; }                      /* 32px */
.h6 { font-size: 1.75rem; }                   /* 28px */

/* text defaults */
p,
li,
td,
th,
#s {
	font-size: 1rem; /* 16px */
	line-height: 1.6em;
	font-weight: 400;
	color: var(--textcolour);
}

p,
ul,
ol,
table,
.p,
blockquote{
	margin: 0 0 var(--general--content-spacing);
}

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

/* links */
a {
	color: var(--primary);
	text-decoration: none;
	transition: all .5s ease-in-out;
}

a:hover {
	color: var(--secondary);
}

/* blockquotes */

blockquote p,
.blockquote {
	font-weight: 600;
	font-size: 120%;
	line-height: 1.4;
}

blockquote p {
	margin: 0;
}

/* font size helper classes */
.font-xl { font-size: 1.375rem; line-height: 1.5em; }  /* 22px */
.font-l  { font-size: 1.25rem;  line-height: 1.55em; } /* 20px */
.font-m, .font-r  { font-size: 1rem; line-height: 1.6em; }  /* 16px */
.font-s  { font-size: 0.9375rem; line-height: 1.65em; } /* 15px */
.font-xs { font-size: 0.8125rem; line-height: 1.7em; }  /* 13px */

.weight-bold{font-weight: 700;}
.weight-semibold{font-weight: 600;}
.weight-medium{font-weight: 500;}
.weight-light{font-weight: 300;}

/* alignment helpers */
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }

/* colour helpers */
.text-gradient {
	background: var(--gradient-text);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.text-orange { color: var(--orange); }
.text-yellow { color: var(--yellow); }
.text-white, .text-white a { color: #fff; text-decoration: underline;  }
.text-lightgrey { color: var(--grey); }
.text-darkgrey { color: var(--darkgrey); }
.text-black { color: var(--black); }
.bg-gradient{
	background: var(--gradient);
}
.animated-underline-inner {
	position: relative;
	display: inline-block;
	width: fit-content;
	padding-bottom: 16px;
}

.animated-underline-text {
	display: inline;
}

.animated-underline-svg {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 23px;
	overflow: visible;
}

.animated-underline-path {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;

	opacity: 0;
	transition:
		stroke-dashoffset 1.2s ease,
		opacity 0.2s ease;
}

.underline-ready .animated-underline-path {
	opacity: 1;
}

.underline-visible .animated-underline-path {
	stroke-dashoffset: 0 !important;
}
/* images */
img {
	max-width: 100%;
	height: auto;
}

/* lists */
ul,
ol {
	padding-left: 20px;
	margin-top: -10px;
}

ul {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

ul ul,
ol ol,
ul ol,
ol ul {
	margin-bottom: 0;
	margin-top: 0;
}

/* tables */
table {
	width: 100%;
}

table th {
	background-color: var(--primary);
	color: #fff;
	font-weight: 600;
	text-align: left;
}

table th,
table td {
	padding: 5px;
	border: 1px solid #999;
}

table tr:nth-child(2n) {
	background-color: #eee;
}

/* search */
#searchform {
	margin-bottom: var(--general--content-spacing);
}

#searchform #s {
	border: 1px solid #333;
}

/* buttons */
.Button, .btn, .button, #searchsubmit, .nav-links .next.page-numbers, .nav-links .prev.page-numbers, .gform_button {
    background: var(--gradient);
    background-size: 200% 100%;          /* double width for sliding effect */
    background-position: left center;    /* start on the left */
    padding: 6px 25px 6px 15px;
    color: #000;
    font-weight: 400;
    display: inline-block;
    cursor: pointer;
    font-family: 'Rubik';
    transition: background-position .5s ease-in-out, color .5s ease-in-out;
    border: 0;
    font-size: 1rem;
    line-height: 1.6em;
    border-radius: 5px;
    position: relative;
}
.nav-links .prev.page-numbers{
	 padding: 6px 15px 6px 25px;
}
/* hover effect - slide the gradient */
.Button:hover,
.btn:hover,
.button:hover,
#searchsubmit:hover,
.BannerButtons .Button:hover, .nav-links .next.page-numbers:hover, .nav-links .prev.page-numbers:hover, .gform_button:hover {
    background-position: right center;   /* slide gradient to the right */
    color: #000;                         /* keep text black, adjust if needed */
}
.Button i, .btn i, .button i, .nav-links .next.page-numbers i, .gform_button i {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
}
.nav-links .prev.page-numbers i {
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%) rotate(180deg);
	font-size: 14px;
}
.Button.remove-chev, .btn.remove-chev, .button.remove-chev, #searchsubmit{
	padding: 6px 15px;
}





.Button.ButtonBorder, .BannerButtons .Button.ButtonBorder {
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(90deg, var(--orange) 0%, var(--yellow) 55%) border-box;

	border: 2px solid transparent;
}
.Button.ButtonBorder:hover {
	background: var(--yellow);
}

/*end*/

/* Menu */
nav ul.menu {
	display: flex;
	justify-content: space-between;
	column-gap: 10px;
	padding: 0;
	list-style-type: none;
	margin: 0;
}
nav ul.menu li {
	position: relative;
	padding: 5px 15px;
}

nav ul.sub-menu ul.sub-menu {
/*	right: -100%;*/
	top: 0;
}

/* End Menu */
#ContentWrap {
	padding: 50px 0;
}
/* Archive */
.archive-loop {
	display: grid;
	grid-template-columns: repeat(3,1fr);
	gap: 30px;
}
.ArticleImgWrap {
	display: block;
	width: 100%;
	height: 225px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}
.navigation.pagination {
	background-color: unset;
	text-align: center;
	margin-top: 30px;
	padding: 0;
}

/* End of Archive */




/* Device = Laptops, Desktops */
@media (min-width: 1025px) and (max-width: 1280px) {

}

/* Device = Tablets, Ipads (portrait) */
@media (min-width: 768px) and (max-width: 1024px) {
   .archive-loop {
		grid-template-columns: repeat(2,1fr);
	}
}

/* Device = Tablets, Ipads (landscape) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
	.archive-loop {
		grid-template-columns: repeat(2,1fr);
	}
}

/* Device = Low Resolution Tablets, Mobiles (Landscape) */
@media (min-width: 481px) and (max-width: 767px) {
	.archive-loop {
		grid-template-columns: repeat(1,1fr);
	}
}

/* Device = Most of the Smartphones Mobiles (Portrait) */
@media (min-width: 320px) and (max-width: 480px) {
	.archive-loop {
		grid-template-columns: repeat(1,1fr);
	}
}

