/*!
Theme Name: studio3
Theme URI: http://underscores.me/
Author: Fiorella Lavado
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: studio3creatives.com
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

studio3 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Media Queries general styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: .9rem;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * Remove the underline
 */

a:-webkit-any-link {
	text-decoration: none;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: .9rem;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

.contact-form span {
	font-weight: 300;
}

.contact-form .field-group {
	grid-column: span 6;
}

.field-group.grid {
	display: grid;
}

.field-group.grid-2 {
	column-gap: 4rem;
}

.field-group.grid-2 label {
	grid-row: 1;
}

.field-group.grid-2 input {
	grid-row: 2;
}
.error, .thanks{
	grid-column: span 6;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
/* Freight Big Pro Book */
@font-face {
	font-family: 'FreightBigPro';
	src: url('fonts/Freight-Big-Pro-Book-.otf') format('opentype');
	font-weight: normal;
	/* Book is usually the regular weight */
	font-style: normal;
	/* Ensure it's not italic */
}

/* Freight Big Pro Light */
@font-face {
	font-family: 'FreightBigPro';
	src: url('fonts/Freight-Big-Pro-Light.otf') format('opentype');
	font-weight: 300;
	/* Light weight */
	font-style: normal;
	/* Ensure it's not italic */
}

/* Freight Big Pro Light */
@font-face {
	font-family: 'FreightDispPro';
	src: url('fonts/Freight-Disp-Pro-Semibold-.otf') format('opentype');
	font-weight: 500;
	/* Light semi-bold */
	font-style: normal;
	/* Ensure it's not italic */
}

body,
button,
input,
select,
optgroup,
textarea,
label {
	color: #404040;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: .95rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin: 0;
	font-family: 'FreightDispPro', sans-serif;
	font-weight: 500;
	/* Semi-bold variant */
}

p {
	font-family: "Montserrat", sans-serif;
	margin-block: 0;
}

h2 {
	font-size: 1.6rem;
	line-height: normal;
	margin: 0;
}

h3 {
	font-size: 1.3rem;
	line-height: normal;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.quote,
.quote p,
.quote span {
	font-family: 'FreightBigPro', sans-serif;
	font-weight: 300;
	/* Light variant */
	font-size: 1.5rem;
	display: inline;
}

.name,
span.name {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	color: #616060;
	font-size: .9rem;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 6rem 0 2rem;
	grid-column: 1 / span 6;
	width: 100%;
}

@media only screen and (max-width: 768px) {
	hr {
		margin: 2rem 0;
	}
}
	ul,
	ol {
		margin: 0;
		padding: 0;
	}

	ul {
		list-style: disc;
	    list-style-position: inside;
	}

	ol {
		list-style: decimal;
	}

	li>ul,
	li>ol {
		margin-bottom: 0;
		margin-left: 1.5em;
	}

	dt {
		font-weight: 700;
	}

	dd {
		margin: 0 1.5em 1.5em;
	}

	/* Make sure embeds and iframes fit their containers. */
	embed,
	iframe,
	object {
		max-width: 100%;
	}

	img {
		height: auto;
		width: 100%;
	}

	figure {
		margin: 0;
	}

	table {
		margin: 0 0 1.5em;
		width: 100%;
	}

	.flex {
		display: flex;
	}

	/* Links
--------------------------------------------- */
	a {
		color: black;
	}

	a:visited {
		color: black;
	}

	a:hover,
	a:focus,
	a:active {
		color: #191970;
	}

	a:focus {
		outline: thin dotted;
	}

	a:hover,
	a:active {
		outline: 0;
	}

	/* Forms
--------------------------------------------- */
	button,
	input[type="button"],
	input[type="reset"],
	input[type="submit"] {
		border: 1px solid #00000030;
		border-radius: 0;
		background: white;
		line-height: 1;
		padding: .5rem 1rem;
		cursor: pointer;
	}

	button:hover,
	input[type="button"]:hover,
	input[type="reset"]:hover,
	input[type="submit"]:hover {
		border-color: #ccc;
	}

	button:active,
	button:focus,
	input[type="button"]:active,
	input[type="button"]:focus,
	input[type="reset"]:active,
	input[type="reset"]:focus,
	input[type="submit"]:active,
	input[type="submit"]:focus {
		border-color: #aaa #bbb #bbb;
	}

	input[type="text"],
	input[type="email"],
	input[type="url"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	input[type="tel"],
	input[type="range"],
	input[type="date"],
	input[type="month"],
	input[type="week"],
	input[type="time"],
	input[type="datetime"],
	input[type="datetime-local"],
	input[type="color"],
	textarea {
		color: #666;
		border: 1px solid #00000030;
		border-radius: 0;
		padding: 5px;
	}

	input[type="text"]:focus,
	input[type="email"]:focus,
	input[type="url"]:focus,
	input[type="password"]:focus,
	input[type="search"]:focus,
	input[type="number"]:focus,
	input[type="tel"]:focus,
	input[type="range"]:focus,
	input[type="date"]:focus,
	input[type="month"]:focus,
	input[type="week"]:focus,
	input[type="time"]:focus,
	input[type="datetime"]:focus,
	input[type="datetime-local"]:focus,
	input[type="color"]:focus,
	textarea:focus {
		color: #111;
	}

	select {
		border: 1px solid #00000030;
		padding: 5px 0;
	}

	textarea {
		width: 100%;
	}

	/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

	.container {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 1rem;
		padding: 4rem 6rem 0;
	}

	.container.full {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 1rem;
		padding-left: 0;
		padding-right: 0;
	}

	.full-width-image {
		grid-column: 1 /span 6;
	}

	.full-width-image img {
		width: 100%;
		height: auto;
		display: block;
		object-fit: cover;

	}

	/* Default to desktop image */
	.full-width-image .desktop-image {
		display: block;
	}

	/* Hide desktop image for mobile/portrait */
	.full-width-image .mobile-image {
		display: none;
	}

	/* For mobile or portrait devices, show mobile image */
	@media only screen and (max-width: 768px) {
		.full-width-image .desktop-image {
			display: none;
		}

		.full-width-image .mobile-image {
			display: block;
		}
	}

	/* all pages */

	.page-template-all p,
	.page-template-all h2 {
		grid-column: 1 / span 4;
	}

	@media (max-width: 900px) {

		.page-template-all p,
		.page-template-all h2 {
			grid-column: 1 / span 6;
		}
	}

	.entry-title {
		grid-column: 1 / 6;
	}

	.credits {
		grid-column: 1 / 4;
		font-size: .85rem;
		color: #828282;
		line-height: 1.5rem;
	}

	.entry-description {
		grid-column: 1 / 4;
		display: grid;
		gap: 1rem;
	}

	@media (max-width: 900px) {

		.entry-description,
		.credits {
			grid-column: span 6;
		}
	}

	.container.services {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		/* Three equal-width columns */
		gap: 1rem;
		/* Space between items */
		row-gap: 2rem;
	}

	.services figure {
		height: 20vw;
		margin: 0;
	}

	.services figure img {
		max-width: 100%;
		/* Make the image responsive */
		height: 100%;
		/* Maintain aspect ratio */
		object-fit: cover;
	}

	.services .grid-item {
		display: grid;
		grid-template-rows: auto auto 1fr;
		gap: 1rem;
	}



	.section-title {
		grid-column: span 6;
	}

	.section-text {
		grid-column: 1 /span 3;
		display: grid;
		gap: 1rem;
	}
	/* Responsive Design for Smaller Screens */
	@media (max-width: 900px) {
		.container.services {
			grid-template-columns: 1fr;
			/* Stack items in one column */
		}

		.services figure {
			height: 60vw;
			grid-row: 2;
		}
		.section-text {
			grid-column: span 6;
	}
}
	.testimonial .quote {
		grid-column: span 6;
	}

	.container.testimonial .quote {
		align-items: center;
		/* Align text vertically if required */
		gap: 0.5rem;
		/* Add space between the quote and the name */
	}

	.container.testimonial .quote .quote-content {
		font-family: 'YourQuoteFont', sans-serif;
		/* Font for the quote */
		font-size: 1.2rem;
		/* Adjust quote size */
		font-weight: bold;
	}

	.container.testimonial .quote .name {
		font-family: 'YourNameFont', sans-serif;
		/* Font for the name */
		font-size: 0.9rem;
		/* Adjust name size */
		white-space: nowrap;
		/* Prevent name wrapping */
	}

	.container.contact-form {
		margin-top: 4rem;
		padding-bottom: 4rem;
	}
	@media (max-width: 900px) {
		.container.contact-form {
			margin-top: 1rem;
			padding: 2rem 20px;
		}
	}

	.grey {
		background-color: #00000005;
	}

	.grid {
		display: grid;
	}

	.grid-2 {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	@media (max-width: 900px) {
		.grid-2 {
			grid-template-columns: repeat(1, 1fr);
			row-gap: 1rem;
		}
	}

	.contact-form input.cta {
		grid-column: 4 / span 3;
		align-self: end;
		justify-self: end
	}

	/* Header */


	.site-header {
		padding: 3rem 6rem 0;
	}

	.site-branding {
		z-index: 2000;
	}

	.site-branding img {
		height: 40px;
		width: auto;
		object-fit: contain;
		align-self: center;
	}

	@media (max-width: 900px) {
		.site-branding img {
			height: 30px;
		}
		.site-header{
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			background: white; /* Adjust as needed */
			transition: transform 0.3s ease-in-out;
			z-index: 900;
				}
			.site-header.hide {
				transform: translateY(-100%);
				}
	}

	/*Intro Text HOME*/

	/* Row 3: Intro Title */

	.intro-text h2 {
		grid-column: 1 / span 5;
		line-height: normal;
	}

	/* Row 4: Intro Text */
	.intro-text p {
		grid-column: 1 / span 3;
	}

	@media (max-width: 900px) {
		.intro-title {
			font-size: 1.5rem;
			grid-column: 1 / span 6;
			margin-bottom: 0;
		}

		.intro-text p {
			grid-column: span 6;
		}
	}

.affiliate-logos{
	grid-template-columns: auto auto 1fr;
	gap: 4rem;
}
.affiliate-logos img {
	height: 120px;
	object-fit: contain;
	max-width: unset;
}

@media (max-width: 900px) {
	.affiliate-logos{
		grid-template-columns: 106.8px 106.8px 1fr;
		gap: .5rem;
	}
	.affiliate-logos img {
		height: 100px;
	}
}

	/* Footer */

	.site-footer.container {
		width: 100%;
		font-size: .9rem;
		padding-bottom: 2rem;
		padding-top: 0;
	}

	@media (max-width: 900px) {
		.site-footer.container {
			padding-bottom: 1rem;
		}
	}

	.site-info {
		grid-column: span 6;
		/* Spans all 6 columns */
		text-align: center;
		display: grid;
		grid-template-columns: 1fr;
		/* Single column for stacking items */
		row-gap: .5rem;
		/* Space between rows */
	}

	/* Footer links */

	ul.site-info {
		list-style: none;
	}

	.footer-links {
		display: flex;
		justify-content: center;
		/* Center the T&C’s and Privacy links */
		gap: 0.5rem;
		/* Add spacing between links */
		font-size: 0.9rem;
		/* Optional: Adjust font size */
		color: #333;
	}

	.footer-links a {
		text-decoration: none;
		color: inherit;
	}

	/* Social icons container */
	.social {
		grid-column: span 6;
	}

	.studio {
		font-size: .7rem;
		color: #616060;
		justify-content: center;
		grid-column: span 6;
		display: grid;
		grid-template-columns: repeat(6, 1fr);
	}

	.studio span {
		justify-self: center;
		align-self: center;
		text-transform: capitalize;
		grid-column: 2 /span 4;
	}

	.studio svg {
		justify-self: right;
		align-self: center;
		grid-column-start: 6;
	}

	.social ul {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: row;
		justify-content: center;
		/* Ensure alignment */
		gap: 1rem;
	}

	.social img {
		height: 30px;
		object-fit: contain;
	}


	/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
	.glide-home {
		grid-column: span 6;
		height: 80vh;
	}

	.glide-home .glide__track,
	.glide-home .glide__slides,
	.glide-home .glide__slides li {
		height: 80vh;
	}

	.glide__slides li img {
		height: 100%;
		width: 100%;
		object-fit: cover;
	}

	.glide-testimonials {
		position: relative;
	}

	/* Specific styles for Glide testimonials */
	.glide-testimonials {
		grid-column: span 4;
	}

	@media (max-width: 900px) {
		.glide-testimonials {
			grid-column: span 6;
		}
	}

	.glightbox-clean .gslide-description{
		display: none;
	}
	.glightbox img {
		transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
	}
	/* Navigation
--------------------------------------------- */
	.main-navigation {
		width: 100%;
		position: relative;
		z-index: 999;
		grid-column-start: 6;
		text-align: center;
		display: grid;
		/* Ensure the parent is a grid container */
	}

	.navbar-toggle {
		font-size: 1.8rem;
		font-family: 'FreightBigPro', sans-serif;
		font-weight: 300;
		/* Light variant */
		color: #000;
		background: none;
		border: none;
		cursor: pointer;
		display: block;
		position: relative;
		z-index: 1000;
		width: 50px;
		height: 50px;
		padding: 10px;
		justify-self: end;
		/* Aligns the element to the right within its grid cell */
	}

	.navbar-toggle .hamburger,
	.navbar-toggle .hamburger::before,
	.navbar-toggle .hamburger::after {
		content: '';
		display: block;
		height: 2px;
		width: 40px;
		background-color: #000;
		position: absolute;
		transition: all 0.3s ease;
	}

	.navbar-toggle svg {
		position: absolute;
		bottom: 4px;
		right: -1px;
	}

	@media (max-width: 900px) {

		.navbar-toggle .hamburger,
		.navbar-toggle .hamburger::before,
		.navbar-toggle .hamburger::after {
			width: 35px;
		}

		.navbar-toggle svg {
			bottom: 17px;
		}
	}

	/* Position the hamburger */
	.navbar-toggle .hamburger {
		top: 50%;
		right: 0;
		transform: translateY(-50%);
	}

	@media (max-width: 900px) {
		.navbar-toggle .hamburger {
			top: 25%;
		}
	}

	.navbar-toggle .hamburger::before {
		top: -8px;
	}

	.navbar-toggle .hamburger::after {
		bottom: -8px;
	}

	/* Close Button */
	.navbar-toggle .close {
		display: none;
		font-size: 30px;
		color: #000;
		/* Make sure the color is visible */
		position: absolute;
		top: 10px;
		right: 10px;
		transition: opacity 0.3s ease;
	}

	/* When toggle is checked, hide hamburger and show close button */
	.toggle-checkbox:checked+.navbar-toggle .hamburger {
		background-color: white;
	}

	.toggle-checkbox:checked+.navbar-toggle .hamburger::before,
	.toggle-checkbox:checked+.navbar-toggle .hamburger::after {
		transform: rotate(45deg);
		background-color: #000;
	}

	.toggle-checkbox:checked+.navbar-toggle .hamburger::after {
		transform: rotate(-45deg);
		bottom: -1px;
	}

	.toggle-checkbox:checked+.navbar-toggle .hamburger::before {
		top: 0;
	}

	@media (max-width: 900px) {

		.toggle-checkbox:checked+.navbar-toggle .hamburger::before,
		.toggle-checkbox:checked+.navbar-toggle .hamburger::after {
			top: 0;
		}
	}

	.toggle-checkbox:checked+.navbar-toggle .close {
		display: inline-block;
		color: #000;
		/* Ensure close icon is visible */
	}

	/* Hide the toggle checkbox */
	.toggle-checkbox {
		display: none;
	}

	/* Fullscreen Navigation Menu */
	.nav-menu {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		color: #000;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		transform: translateY(-100%);
		transition: opacity 1s ease-in-out, transform 0.5s ease-in-out;
		z-index: 998;
		opacity: 0;
	}

	/* Smaller Screens */
	@media screen and (max-width: 900px) {
		.nav-menu {
			justify-content: center;
			padding-bottom: 0;
		}
	}


	.toggle-checkbox:checked~.nav-menu {
		transform: translateY(0);
		opacity: 1;
	}

	/* Navigation Links */
	.nav-menu li {
		list-style: none;
		margin: 20px 0;
		position: relative;
	}

	.nav-menu a {
		color: #000;
		text-decoration: none;
		font-size: 1.6rem;
		text-align: center;
		font-family: 'FreightBigPro', sans-serif;
		font-weight: normal;
		/* Medium variant */
	}

	.nav-menu li:hover a:after {
		content: "";
		position: absolute;
		bottom: 9px;
		border-radius: 50%;
		width: 10px;
		height: 10px;
		background-color: #000;
		margin-left: 5px;
	}

	/* Prevent Scrolling When Open */
	.toggle-checkbox:checked~.nav-menu {
		overflow-y: hidden;
	}

	/* Smooth Transition for Large Screens */
	@media screen and (min-width: 37.5em) {
		.nav-menu {
			flex-direction: column;
		}
	}


	.site-main .comment-navigation,
	.site-main .posts-navigation,
	.site-main .post-navigation {
		margin: 0 0 1.5em;
	}

	.comment-navigation .nav-links,
	.posts-navigation .nav-links,
	.post-navigation .nav-links {
		display: flex;
	}

	.comment-navigation .nav-previous,
	.posts-navigation .nav-previous,
	.post-navigation .nav-previous {
		flex: 1 0 50%;
	}

	.comment-navigation .nav-next,
	.posts-navigation .nav-next,
	.post-navigation .nav-next {
		text-align: end;
		flex: 1 0 50%;
	}

	/* Posts and pages
--------------------------------------------- */
	.sticky {
		display: block;
	}

	.post,
	.page {
		margin: 0 0 1.5em;
	}

	.updated:not(.published) {
		display: none;
	}

	.page-links {
		clear: both;
		margin: 0 0 1.5em;
	}

	.container.blog {
		row-gap: 2rem;
	}

	.blog article {
		grid-column: span 2;
		display: grid;
		row-gap: 1rem;
		align-content: start;
		font-size: 0.9rem;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: auto auto 1fr auto;
	}


	.blog article .entry-title a,
	.blog article .entry-title a:visited {
		font-size: 1.5rem;
		color: black;
		font-weight: normal;
	}

	.blog article a.post-thumbnail {
		position: relative;
		width: 100%;
		height: 20vw;
		overflow: hidden;
		display: block;
		opacity: 1;
		background-color: #eee;
		transition: all 0.5s ease;
	}

	.blog article:hover a.post-thumbnail {
		opacity: .5;
	}

	@media screen and (max-width: 900px) {
		.blog article {
			grid-column: span 6;
		}

		.blog article a.post-thumbnail {
			height: 60vw;
			grid-row: 2;
		}
	}

	.blog article img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		/* Ensures the image fills the container */
		display: block;
		/* Avoids extra inline spacing issues */
		grid-row: 1;
	}

	.blog article .entry-content {
		grid-row: 3;	
	}
	.blog article .entry-content a, .blog article .entry-content a:visited, .blog article .entry-content a:hover {
		color: #404040;
	}
	.blog article .sharing-box {
		grid-row: 4;
		/* Place the sharing box in the fourth row */
	}

	/* .blog .post-date{
	position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ffffff52;
    color: black;
	font-family: 'FreightBigPro';
	font-weight: 300;
	font-size: 1.2rem;
} */
	.blog .post-date {
		font-size: .85rem;
		color: #828282;
		grid-row: 3;
	}

	.single-blog {
		grid-auto-rows: auto ;
	}

	.single-blog .feature-1 {
		grid-column: 1 / span 3;
		grid-row: 1;
		height: calc(33vw - 8rem);
	}

	.single-blog .feature-2 {
		grid-column: 4 / span 2;
		grid-row: 1;
		height: calc(33vw - 8rem);
	}


	.single-blog img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.single-blog .page-title {
		grid-column: span 5;
		grid-row: 2;

	}

	.single-blog .text {
		grid-column: span 5;
		grid-row: 3;
		display: grid;
		row-gap: 1.2rem;
	}

	.single-blog p {
		font-size: .9rem;
	}

	.single-blog .sharing-box {
		grid-row: 4;
		grid-column: span 5;
	}

	.single-blog .portrait {
		grid-row: 5;
		padding: 4rem 0;
	}

	.single-blog .portrait img {
		height: calc(40vw + 1rem);
	}

	.single-blog .portrait.image-1 {
		grid-column: 1 / span 2;
	}

	.single-blog .portrait.image-2 {
		grid-column: 3 / span 2;
	}

	.single-blog .portrait.image-3 {
		grid-column: 5 / span 2;
	}

	.blog article .sharing-box,
	.single-blog .sharing-box {
		display: flex;
		align-items: center;
		line-height: 0;
		gap: .5rem;
	}

	.blog article .sharing-box img,
	.single-blog .sharing-box img {
		height: 20px;
		width: auto;
	}


	a.cta.back{
		grid-row: 6;
		grid-column: span 6;
		justify-self: end;
	}

	@media screen and (max-width: 900px) {
		.single-blog .feature-1, .single-blog .feature-2{
			height: 40vw;
		}
		.single-blog .feature-1{
			grid-column: 1 / span 4;
		}
		.single-blog .feature-2{
			grid-column: 5 / span 2;
		}
		.single-blog .text {
			grid-column: span 6;
		}
		.single-blog .portrait {
			padding: 1rem 0;

		}
		.single-blog .portrait.image-1{
			grid-column: 1 / span 6;
			grid-row: 5;
			margin-top: 2rem;
		}
		.single-blog .portrait.image-2 {
			grid-column: 1 / span 6;
			grid-row: 6;
		}
		.single-blog .portrait.image-3 {
			grid-column: 1 / span 6;
			grid-row: 7;
		}
		.single-blog .portrait img {
			height: calc(120vw + 1rem);
		}
		a.cta.back{
			grid-row: 8;
			grid-column: 1 / span 6;
		}
	}

	/* Comments
--------------------------------------------- */
	.comment-content a {
		word-wrap: break-word;
	}

	.bypostauthor {
		display: block;
	}

	/* Widgets
--------------------------------------------- */
	.widget {
		margin: 0 0 1.5em;
	}

	.widget select {
		max-width: 100%;
	}

	/* Media
--------------------------------------------- */
	.page-content .wp-smiley,
	.entry-content .wp-smiley,
	.comment-content .wp-smiley {
		border: none;
		margin-bottom: 0;
		margin-top: 0;
		padding: 0;
	}

	/* Make sure logo link wraps around logo image. */
	.custom-logo-link {
		display: inline-block;
	}

	/* Captions
--------------------------------------------- */
	.wp-caption {
		margin-bottom: 1.5em;
		max-width: 100%;
	}

	.wp-caption img[class*="wp-image-"] {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

	.wp-caption .wp-caption-text {
		margin: 0.8075em 0;
	}

	.wp-caption-text {
		text-align: center;
	}

	/* Galleries
--------------------------------------------- */
	.gallery {
		margin-bottom: 1.5em;
		display: grid;
		grid-gap: 1.5em;
	}

	.gallery-item {
		display: inline-block;
		text-align: center;
		width: 100%;
	}

	.gallery-columns-2 {
		grid-template-columns: repeat(2, 1fr);
	}

	.gallery-columns-3 {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-columns-4 {
		grid-template-columns: repeat(4, 1fr);
	}

	.gallery-columns-5 {
		grid-template-columns: repeat(5, 1fr);
	}

	.gallery-columns-6 {
		grid-template-columns: repeat(6, 1fr);
	}

	.gallery-columns-7 {
		grid-template-columns: repeat(7, 1fr);
	}

	.gallery-columns-8 {
		grid-template-columns: repeat(8, 1fr);
	}

	.gallery-columns-9 {
		grid-template-columns: repeat(9, 1fr);
	}

	.gallery-captionx {
		display: block;
	}

	/* Default (Desktop) Styles */
	.col-3-gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 20vw;
		gap: 1rem;
		overflow: hidden;
	}

	.col-3-gallery .grid-item {
		overflow: hidden;
		grid-row: span 2;

	}

	.col-3-gallery .grid-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	/* Mobile Styles */
	@media (max-width: 768px) {
		.col-3-gallery {
			grid-template-columns: 1fr;
			/* Single column for mobile */
			height: auto;
			/* Allow container height to grow with the images */
		}

		.col-3-gallery .grid-item {
			grid-row: span 6;
		}

	}

	.projects-archive {
		grid-auto-rows: 10vw;
	}

	.projects-archive .single-project {
		grid-column: span 2;
		grid-row: span 4;
		position: relative;
		overflow: hidden;
		width: 100%;
		height: 100%;
		display: grid;
		background-color: #eee;
	}
	@media (max-width: 768px) {
		.projects-archive .single-project {
			grid-column: span 3;
			grid-row: span 6;
		}
	}

	.projects-archive .single-project .text {
		width: 100%;
		height: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		z-index: 10;
		opacity: 0;
		transition: all 0.3s ease;
	}

	.projects-archive a.single-project .text h3,
	.projects-archive a.single-project:hover .text h3,
	.projects-archive a.single-project .text h4,
	.projects-archive a.single-project:hover .text h4 {
		color: #000;
		text-decoration: none;
		font-family: 'FreightBigPro';
		font-weight: normal;
	}

	.projects-archive .single-project img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: absolute;
		top: 0;
		left: 0;
		opacity: 1;
		background-color: #eee;
		transition: all 0.5s ease;
	}

	.projects-archive .single-project:hover .text {
		opacity: 1;
	}

	.projects-archive .single-project:hover img {
		opacity: .2;
	}


	.project-gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		grid-auto-rows: 20vw;
		/* Each row will have a height of 20vw */
		gap: 16px;
	}

	.project-gallery .grid-item {
		position: relative;
		overflow: hidden;
		width: 100%;
		height: 100%;
		display: grid;
		cursor: pointer;
	}

	.project-gallery .grid-item img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: absolute;
		top: 0;
		left: 0;
		background-color: #eee;
	}


	@media screen and (min-width: 901px) {
		.project-gallery .grid-item:nth-of-type(1) {
			grid-column: 1/span 1;
			grid-row: 1/span 2;
		}

		.project-gallery .grid-item:nth-of-type(2) {
			grid-column: 2/span 1;
			grid-row: 1/span 2;
		}

		.project-gallery .grid-item:nth-of-type(3) {
			grid-column: 3/span 1;
			grid-row: 1/span 1;
		}

		.project-gallery .grid-item:nth-of-type(4) {
			grid-column: 1/span 1;
			grid-row: 3/span 1;
		}

		.project-gallery .grid-item:nth-of-type(5) {
			grid-column: 2/span 1;
			grid-row: 3/span 2;
		}

		.project-gallery .grid-item:nth-of-type(6) {
			grid-column: 3/span 1;
			grid-row: 2/span 2;
		}

		.project-gallery .grid-item:nth-of-type(7) {
			grid-column: 1/span 1;
			grid-row: 4/span 2;
		}

		.project-gallery .grid-item:nth-of-type(8) {
			grid-column: 3/span 1;
			grid-row: 4/span 1;
		}

		.project-gallery .grid-item:nth-of-type(9) {
			grid-column: 3/span 1;
			grid-row: 5/span 1;
		}

		.project-gallery .grid-item:nth-of-type(10) {
			grid-column: 2/span 1;
			grid-row: 5/span 2;
		}

		.project-gallery .grid-item:nth-of-type(11) {
			grid-column: 1/span 1;
			grid-row: 6/span 2;
		}

		.project-gallery .grid-item:nth-of-type(12) {
			grid-column: 3/span 1;
			grid-row: 6/span 2;
		}

		.project-gallery .grid-item:nth-of-type(13) {
			grid-column: 2/span 1;
			grid-row: 7/span 2;
		}

		.project-gallery .grid-item:nth-of-type(14) {
			grid-column: 1/span 1;
			grid-row: 8/span 1;
		}

		.project-gallery .grid-item:nth-of-type(15) {
			grid-column: 3/span 1;
			grid-row: 8/span 2;
		}

		.project-gallery .grid-item:nth-of-type(16) {
			grid-column: 1/span 1;
			grid-row: 9/span 1;
		}

		.project-gallery .grid-item:nth-of-type(17) {
			grid-column: 2/span 1;
			grid-row: 9/span 2;
		}

		.project-gallery .grid-item:nth-of-type(18) {
			grid-column: 1/span 1;
			grid-row: 10/span 2;
		}

		.project-gallery .grid-item:nth-of-type(19) {
			grid-column: 3/span 1;
			grid-row: 10/span 1;
		}

		.project-gallery .grid-item:nth-of-type(20) {
			grid-column: 3/span 1;
			grid-row: 11/span 1;
		}

		.project-gallery .grid-item:nth-of-type(21) {
			grid-column: 2/span 1;
			grid-row: 11/span 2;
		}
	}

	.post-nav {
		grid-template-columns: repeat(2, 1fr);
	}

	.post-nav .prev-posts {
		grid-column-start: 1;
	}

	.post-nav .next-posts {
		grid-column-start: 2;
		text-align: right;
	}

	.post-nav a {
		color: #616060;
		text-decoration: none;
		font-size: .9rem;
	}

	.post-nav a:hover {
		border-bottom: 1px solid #616060;
	}

	@media (max-width: 900px) {
		.project-description {
			grid-column: 1 / 6;
		}

		.project-gallery {
			grid-template-columns: 1fr;
			/* Single-column layout */
			grid-auto-rows: auto;
			/* Row height adjusts to content */
		}

		.project-gallery .grid-item {
			grid-column: 1 / -1;
			/* Span full width */
			height: auto;
			/* Let the height adjust automatically */
		}

		.project-gallery .grid-item img {
			position: static;
			/* Reset absolute positioning */
			width: 100%;
			/* Full width */
			height: auto;
			/* Maintain aspect ratio */
			object-fit: contain;
			/* Ensures the full image is visible */
		}
	}

	/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

	/* Jetpack infinite scroll
--------------------------------------------- */

	/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
	.infinite-scroll .posts-navigation,
	.infinite-scroll.neverending .site-footer {
		display: none;
	}

	/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
	.infinity-end.neverending .site-footer {
		display: block;
	}

	/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

	/* Accessibility
--------------------------------------------- */

	/* Text meant only for screen readers. */
	.screen-reader-text {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute !important;
		width: 1px;
		word-wrap: normal !important;
	}

	.screen-reader-text:focus {
		background-color: #f1f1f1;
		border-radius: 3px;
		box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
		clip: auto !important;
		clip-path: none;
		color: #21759b;
		display: block;
		font-size: 0.875rem;
		font-weight: 700;
		height: auto;
		left: 5px;
		line-height: normal;
		padding: 15px 23px 14px;
		text-decoration: none;
		top: 5px;
		width: auto;
		z-index: 100000;
	}

	/* Do not show the outline on the skip link target. */
	#primary[tabindex="-1"]:focus {
		outline: 0;
	}

	/* Alignments
--------------------------------------------- */
	.alignleft {

		/*rtl:ignore*/
		float: left;

		/*rtl:ignore*/
		margin-right: 1.5em;
		margin-bottom: 1.5em;
	}

	.alignright {

		/*rtl:ignore*/
		float: right;

		/*rtl:ignore*/
		margin-left: 1.5em;
		margin-bottom: 1.5em;
	}

	.aligncenter {
		clear: both;
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 1.5em;
	}

	/* Screen sizes - paddings and containers */

	@media (min-width: 1440px) {
		.container {
			padding: 4rem 10rem 0;
		}

		.site-header {
			padding: 4rem 10rem 0;
		}
	}

	@media (max-width: 1052px) {
		.container {
			padding: 2rem 3rem 0;
		}

		.site-header {
			padding: 2rem 3rem 0;
		}
	}

	@media (max-width: 900px) {
		.container {
			padding: 20px 20px 1rem;
		}
		.site-header {
			padding: 20px 20px 0;
		}
		#primary.content-area, .project.container, #page.site{
			margin-top: calc(50px + 1rem);
		}
	}