/*
Theme Name: GD Studio
Theme URI: https://glenatduxbury.com/
Author: Migration Team
Description: Lightweight modern theme for Glenat Duxbury modernization.
Version: 1.0.0
Text Domain: gd-studio
*/

:root {
	--gd-bg: #ffffff;
	--gd-surface: #ffffff;
	--gd-text: #353535;
	--gd-heading: #111111;
	--gd-muted: #8d8d8d;
	--gd-accent: #b501b8;
	--gd-border: #e4e4e4;
	--gd-wrap: 1140px;
	--gd-font-body: "Crimson Text", Georgia, serif;
	--gd-font-ui: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--gd-text-strong: #333333;
	--gd-text-soft: #4b4b4b;
	--gd-divider: #d2d2d2;
	--gd-card-border: #efefef;
	--gd-neutral-300: #bfbfbf;
	--gd-neutral-350: #c7c7c7;
	--gd-social-bg: #464646;
	--gd-gold: #af9f66;
	--gd-nav-color: #908377;
	--gd-nav-letter-spacing: 1px;
	--gd-shadow-elevated: 0 12px 28px rgba(0, 0, 0, 0.08);
	--gd-overlay-dark: rgba(0, 0, 0, 0.26);
	--gd-overlay-clear: rgba(255, 255, 255, 0);
	--gd-overlay-hover: rgba(255, 255, 255, 0.92);
	--gd-overlay-touch: rgba(255, 255, 255, 0.88);
	--gd-overlay-reveal: rgba(255, 255, 255, 0.94);
	--gd-overlay-intro: rgba(255, 255, 255, 0.95);
	--gd-size-title-lg: 28px;
	--gd-size-title-md: 24px;
	--gd-size-display: 30px;
	--gd-size-lead: 22px;
	--gd-size-copy-lg: 18px;
	--gd-size-copy-md: 17px;
	--gd-size-copy-sm: 16px;
	--gd-on-dark: #ffffff;
	--gd-surface-muted: #f3f3f3;
	--gd-radius-pill: 999px;
}

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

html {
	font-size: 16px;
}

body {
	margin: 0;
	background: var(--gd-bg);
	color: var(--gd-text);
	font-family: var(--gd-font-body);
	line-height: 1.7;
}

a {
	color: inherit;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.screen-reader-text:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 8px;
	padding: 8px 12px;
	background: #111;
	color: #fff;
	z-index: 100000;
}

.gd-wrap {
	width: min(var(--gd-wrap), calc(100% - 40px));
	margin: 0 auto;
}

.gd-header {
	padding: 24px 0 18px;
	background: transparent;
}

.gd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.gd-brand {
	flex: 0 0 auto;
}

.gd-brand__link {
	display: inline-block;
	line-height: 0;
}

.gd-brand__logo {
	display: block;
	width: clamp(180px, 20vw, 255px);
}

.gd-brand__name {
	margin: 0;
	font-family: var(--gd-font-ui);
	font-size: 1.45rem;
	letter-spacing: 0.05em;
}

.gd-brand__name a {
	text-decoration: none;
}

.gd-nav-toggle {
	display: none;
}

.gd-nav-trigger {
	display: none;
}

.gd-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gd-nav .menu-item {
	list-style: none;
}

.gd-nav a {
	display: inline-block;
	padding: 10px 14px;
	font-family: "Poppins", "Open Sans", "Arial", sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--gd-nav-letter-spacing);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--gd-nav-color);
	transition: color 180ms ease;
}

.gd-nav a:hover,
.gd-nav a:focus-visible,
.gd-nav .current-menu-item > a,
.gd-nav .current_page_item > a,
.gd-nav .current-menu-ancestor > a {
	color: var(--gd-accent);
}

.gd-main {
	padding-bottom: 42px;
}

.gd-content {
	padding: 0;
}

.gd-main--page .gd-content,
.gd-main--single .gd-content,
.gd-main--archive .gd-content {
	padding: 8px 0 22px;
}

.gd-content > :first-child {
	margin-top: 0;
}

.gd-content > :last-child {
	margin-bottom: 0;
}

.gd-content p,
.gd-content li {
	font-size: 1.2rem;
}

.gd-content h1,
.gd-content h2,
.gd-content h3,
.gd-content h4,
.gd-content h5,
.gd-content h6 {
	margin: 0 0 0.65em;
	color: var(--gd-heading);
	font-family: var(--gd-font-body);
	font-weight: 400;
	line-height: 1.2;
}

.gd-content ul,
.gd-content ol {
	padding-left: 1.4em;
}

.gd-content .wp-block-group,
.gd-content .wp-block-columns {
	margin-top: 0;
	margin-bottom: 1.2em;
}

.gd-content .wp-block-shortcode {
	margin-top: 0;
	margin-bottom: 1.2em;
}

.gd-portfolio-single {
	background: transparent;
}

.gd-portfolio-single__header {
	margin-bottom: 24px;
}

.gd-portfolio-single__title {
	margin: 0;
	font-size: clamp(30px, 4vw, 54px);
	letter-spacing: 0.02em;
}

.gd-portfolio-single__media {
	margin: 0 0 30px;
}

.gd-portfolio-single__media img {
	display: block;
	width: 100%;
	height: auto;
}

.gd-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gd-archive-card {
	display: block;
	padding: 12px;
	border: 1px solid var(--gd-border);
	background: var(--gd-surface);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.gd-archive-card:hover,
.gd-archive-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

.gd-archive-card__title {
	margin: 12px 0 0;
	font-size: 1.5rem;
}

.gd-footer {
	padding: 20px 0;
	background: #3d3d3d;
	color: #e7e7e7;
}

.gd-footer__widgets {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.gd-footer .widget {
	margin: 0;
}

.gd-footer .widget h2,
.gd-footer .widget h3,
.gd-footer .widget h4,
.gd-footer .widget h5,
.gd-footer .widget h6 {
	margin: 0 0 10px;
	color: #f1f1f1;
	font-family: var(--gd-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gd-footer .textwidget p,
.gd-footer .textwidget li,
.gd-footer a {
	color: #d0d0d0;
	font-family: var(--gd-font-body);
	font-size: 17px;
	text-decoration: none;
}

.gd-footer a:hover,
.gd-footer a:focus-visible {
	color: #fff;
}

.gd-footer .gd-footer-socials__link {
	background: #595959;
}

.gd-footer .gd-footer-socials__link:hover,
.gd-footer .gd-footer-socials__link:focus-visible {
	background: #af9f66;
}

.font-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-family: var(--gd-font-ui);
	font-style: normal;
	font-weight: 600;
	line-height: 1;
}

.font-icon::before {
	content: "•";
}

.icon-social_facebook::before {
	content: "f";
}

.icon-social_twitter::before {
	content: "x";
}

.icon-social_instagram::before {
	content: "ig";
	font-size: 0.62em;
}

.icon-social_linkedin_square::before {
	content: "in";
	font-size: 0.66em;
}

.icon-email::before {
	content: "✉";
	font-size: 0.84em;
}

.icon-icon_phone::before {
	content: "☎";
	font-size: 0.88em;
}

.icon-icon_pin::before {
	content: "⌖";
	font-size: 0.9em;
}

.gd-slider {
	overflow: visible;
}

.gd-slider__viewport {
	min-height: clamp(380px, 49vw, 640px);
	background: #fff;
}

.gd-slider__arrow {
	width: 56px;
	height: 56px;
	background: rgba(70, 70, 70, 0.62);
}

.gd-slider__arrow:hover {
	background: rgba(70, 70, 70, 0.9);
}

.gd-slider__arrow--prev {
	left: -28px;
}

.gd-slider__arrow--next {
	right: -28px;
}

@media (max-width: 960px) {
	.gd-header__inner {
		flex-wrap: wrap;
		position: relative;
	}

	.gd-brand {
		padding-right: 84px;
	}

	.gd-nav-trigger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 64px;
		height: 34px;
		padding: 0 10px;
		margin-left: 0;
		border-radius: 6px;
		border: 0;
		background: #2f2f2f;
		color: #fff;
		position: absolute;
		top: 10px;
		right: 0;
		cursor: pointer;
	}

	.gd-nav-trigger::before {
		content: "Menu";
		font-family: var(--gd-font-ui);
		font-size: 10px;
		font-weight: 500;
		letter-spacing: 0.12em;
		text-transform: uppercase;
		color: #fff;
	}

	.gd-nav {
		display: block;
		flex: 1 1 100%;
		margin-top: 8px;
		padding: 0;
		background: transparent;
		border: 0;
	}

	.gd-nav .menu {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}

	.gd-nav a {
		padding: 6px 8px;
		font-size: 11px;
		letter-spacing: 0.08em;
	}

	.gd-nav-toggle,
	.gd-nav-trigger {
		display: none !important;
	}


	.gd-slider__arrow {
		width: 44px;
		height: 44px;
	}

	.gd-slider__arrow--prev {
		left: 8px;
	}

	.gd-slider__arrow--next {
		right: 8px;
	}
}

@media (max-width: 1024px) {
	.gd-two-column-page__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.gd-two-column-page__panel--left,
	.gd-two-column-page__panel--right {
		padding-left: 0;
		padding-right: 0;
	}

	.gd-credential-grid,
	.gd-contact-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gd-portfolio-items--three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	.gd-wrap {
		width: min(var(--gd-wrap), calc(100% - 26px));
	}

	.gd-content p,
	.gd-content li {
		font-size: 1.04rem;
	}

	.gd-footer__widgets {
		grid-template-columns: 1fr;
	}

	.gd-archive-grid {
		grid-template-columns: 1fr;
	}

	.gd-portfolio-grid,
	.gd-portfolio-items--two,
	.gd-portfolio-items--three,
	.gd-contact-cards,
	.gd-credential-grid {
		grid-template-columns: 1fr;
	}

	.gd-contact-map iframe {
		height: 260px;
	}

	.gd-profile__heading {
		flex-wrap: wrap;
	}
}
