/*
Theme Name: Global Direct Media
Theme URI: https://www.globaldirectmediainc.com/
Author: Global Direct Media Inc
Author URI: https://www.globaldirectmediainc.com/
Description: A fast, accessible classic theme for Global Direct Media Inc, a Dubai-based digital media and advertising company. One-page front page (Hero, About, Expertise, Careers, Contact), matching page templates, Customizer-editable copy, built-in contact and careers forms, and lightweight SEO that steps aside when an SEO plugin is active. Colours are taken from the company logo.
Version: 1.0.3
Requires at least: 4.7
Tested up to: 6.8
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: globaldirect
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready, threaded-comments, blog
*/

/*
 * Palette (from the logo)
 *   Brand red     #e01e21   (logo sphere)
 *   Deep red      #9a1a18   (sphere shadow)
 *   Ink / black   #0e0e10   (logo wordmark)
 *   Body text     #26272b
 *   Muted text    #55565b
 *   Light grey bg #f5f5f6
 *   Border        #e2e2e6
 *
 * Contents
 *   1. Reset & base       6. Sections
 *   2. Typography         7. Cards, panels, lists
 *   3. Layout helpers     8. Forms
 *   4. Buttons & links    9. Blog, comments, widgets
 *   5. Header & nav      10. Footer, WP core classes, a11y, print
 */

/* 1. Reset & base ------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	background: #fff;
	color: #26272b;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	border: 0;
	vertical-align: middle;
}

figure {
	margin: 0 0 1.5em;
}

address {
	font-style: normal;
}

hr {
	border: 0;
	border-top: 1px solid #e2e2e6;
	margin: 2.5em 0;
}

main:focus {
	outline: 0;
}

/* 2. Typography --------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: #0e0e10;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

h1 {
	font-size: 2.25rem;
}

h2 {
	font-size: 1.875rem;
}

h3 {
	font-size: 1.25rem;
	letter-spacing: -0.01em;
}

h4 {
	font-size: 1.125rem;
}

p,
ul,
ol,
dl,
blockquote,
table,
pre {
	margin: 0 0 1.25em;
}

blockquote {
	padding: 0.25em 0 0.25em 1.25em;
	border-left: 4px solid #e01e21;
	color: #0e0e10;
	font-size: 1.125rem;
	font-style: italic;
}

code,
kbd,
pre {
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 0.9em;
}

pre {
	overflow: auto;
	padding: 1em;
	background: #f5f5f6;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th,
td {
	padding: 0.6em 0.75em;
	border: 1px solid #e2e2e6;
	text-align: left;
}

.kicker {
	display: inline-block;
	margin: 0 0 0.9em;
	padding-left: 34px;
	position: relative;
	color: #c4161a;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.kicker::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.72em;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: #e01e21;
}

.kicker--light {
	color: #ff8a8c;
}

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

.section-title {
	max-width: 22ch;
	font-size: 1.875rem;
}

.section-title--small {
	max-width: none;
	font-size: 1.5rem;
}

.section-intro,
.page-lead {
	max-width: 62ch;
	color: #55565b;
	font-size: 1.125rem;
}

/* 3. Layout helpers ----------------------------------------------------- */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container--narrow {
	max-width: 820px;
}

.section {
	padding: 56px 0;
}

.section-header {
	margin-bottom: 36px;
}

.layout-main {
	min-width: 0;
}

.layout-side {
	margin-top: 48px;
}

/* 4. Buttons & links ---------------------------------------------------- */
a {
	color: #c4161a;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: #9a1a18;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid #e01e21;
	outline-offset: 2px;
}

.button,
button,
input[type="submit"],
input[type="button"] {
	display: inline-block;
	padding: 0.85em 1.6em;
	border: 2px solid #e01e21;
	border-radius: 999px;
	background: #e01e21;
	color: #fff;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
	border-color: #9a1a18;
	background: #9a1a18;
	color: #fff;
}

.button:active,
button:active {
	transform: translateY(1px);
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	background: transparent;
	color: #fff;
}

.button--ghost:hover {
	border-color: #fff;
	background: #fff;
	color: #0e0e10;
}

.button--light {
	border-color: #fff;
	background: #fff;
	color: #9a1a18;
}

.button--light:hover {
	border-color: #0e0e10;
	background: #0e0e10;
	color: #fff;
}

.text-link {
	display: inline-flex;
	align-items: center;
	color: #c4161a;
	font-weight: 700;
	text-decoration: none;
}

.text-link .icon {
	width: 20px;
	height: 20px;
	margin-left: 6px;
	transition: transform 0.2s;
}

.text-link:hover .icon {
	transform: translateX(4px);
}

.text-link--small {
	margin-top: 6px;
	font-size: 0.9375rem;
}

/* 5. Header & navigation ------------------------------------------------ */
.skip-link:focus {
	position: fixed;
	z-index: 1000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: #0e0e10;
	color: #fff;
	font-weight: 700;
}

.site-header {
	position: relative;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid #e2e2e6;
}

.header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
}

.site-branding {
	flex: 0 1 auto;
	padding: 12px 0;
}

.custom-logo-link {
	display: block;
}

.custom-logo {
	width: auto;
	max-width: 190px;
	max-height: 48px;
}

.primary-nav {
	display: flex;
	align-items: center;
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border: 1px solid #e2e2e6;
	border-radius: 8px;
	background: #fff;
	color: #0e0e10;
	font-size: 0.9375rem;
}

.menu-toggle:hover {
	border-color: #0e0e10;
	background: #fff;
	color: #0e0e10;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after,
.menu-toggle__bars span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.menu-toggle__bars {
	position: relative;
	margin-right: 10px;
	background: transparent;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	transition: transform 0.2s, top 0.2s;
}

.menu-toggle__bars::before {
	top: -6px;
}

.menu-toggle__bars::after {
	top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Without JS the toggle is useless, so hide it and show the menu. */
.no-js .menu-toggle {
	display: none;
}

.primary-nav .menu,
.primary-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav .menu a {
	display: block;
	padding: 12px 4px;
	color: #0e0e10;
	font-weight: 600;
	text-decoration: none;
}

.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .menu a[aria-current="page"] {
	color: #c4161a;
}

.header-cta {
	display: none;
}

/* Mobile menu: a full-width panel under the header bar. */
@media (max-width: 959px) {
	.primary-nav {
		position: static;
	}

	.js .primary-nav .menu {
		display: none;
	}

	.no-js .primary-nav {
		flex-basis: 100%;
	}

	.js .primary-nav.is-open .menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		max-height: calc(100vh - 72px);
		overflow-y: auto;
		padding: 8px 20px 20px;
		background: #fff;
		border-bottom: 1px solid #e2e2e6;
		box-shadow: 0 16px 30px rgba(14, 14, 16, 0.12);
	}

	.primary-nav .menu > li {
		border-bottom: 1px solid #efeff2;
	}

	.primary-nav .menu > li:last-child {
		border-bottom: 0;
	}

	.primary-nav .sub-menu {
		padding-left: 16px;
	}

	.primary-nav .sub-menu a {
		font-weight: 500;
	}
}

/* 6. Sections ----------------------------------------------------------- */
.hero,
.page-banner {
	position: relative;
	overflow: hidden;
	background-color: #0e0e10;
	background-image: radial-gradient(circle at 85% 20%, rgba(224, 30, 33, 0.45) 0, rgba(224, 30, 33, 0) 45%), radial-gradient(circle at 0 100%, rgba(154, 26, 24, 0.35) 0, rgba(154, 26, 24, 0) 40%);
	color: #d9d9de;
}

.hero {
	padding: 56px 0 40px;
}

.hero-title {
	max-width: 15ch;
	color: #fff;
	font-size: 2.5rem;
	line-height: 1.06;
	letter-spacing: -0.03em;
}

.hero-text {
	max-width: 54ch;
	color: #c9c9cf;
	font-size: 1.125rem;
}

.hero-actions {
	margin: 28px 0 0;
}

.hero-actions .button {
	margin: 0 10px 10px 0;
}

.hero-art {
	max-width: 260px;
	margin: 16px auto 0;
}

.hero-svg {
	display: block;
	width: 100%;
	height: auto;
}

.hero-arrows path {
	stroke-dasharray: 420;
	stroke-dashoffset: 0;
	animation: gdm-draw 1.4s ease-out both;
}

.hero-arrows path:nth-child(2) {
	animation-delay: 0.15s;
}

.hero-arrows path:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes gdm-draw {
	from {
		stroke-dashoffset: 420;
	}
	to {
		stroke-dashoffset: 0;
	}
}

.page-banner {
	padding: 48px 0;
}

.page-banner .page-title {
	max-width: 24ch;
	margin: 0;
	color: #fff;
	font-size: 2.125rem;
}

.page-banner .page-lead,
.page-banner .entry-meta,
.page-banner .breadcrumbs {
	margin: 14px 0 0;
	color: #c9c9cf;
}

.page-banner .breadcrumbs {
	margin: 0 0 12px;
	font-size: 0.875rem;
}

.page-banner a {
	color: #fff;
}

.section--about .about-body {
	color: #3a3b40;
	font-size: 1.125rem;
}

.section--expertise {
	background: #f5f5f6;
}

.section--why {
	background: #9a1a18;
	background-image: linear-gradient(120deg, #e01e21 0%, #9a1a18 100%);
	color: #fff;
}

.section--why .section-title {
	margin-bottom: 28px;
	color: #fff;
}

.section--careers {
	background: #0e0e10;
	color: #c9c9cf;
}

.section--careers .section-title,
.section--careers .roles-title {
	color: #fff;
}

.section--careers .kicker {
	color: #ff8a8c;
}

.section--careers a:not(.button) {
	color: #ff8a8c;
}

.section--contact {
	background: #f5f5f6;
}

.cta-band {
	padding: 48px 0;
	background: #9a1a18;
	background-image: linear-gradient(120deg, #e01e21 0%, #9a1a18 100%);
	color: #fff;
}

.cta-title {
	max-width: 24ch;
	margin-bottom: 20px;
	color: #fff;
	font-size: 1.625rem;
}

/* 7. Cards, panels, lists ----------------------------------------------- */
.cards,
.why-list,
.roles,
.contact-list,
.social-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

/*
 * Guard: some plugins/page-builder templates ship site-wide rules such as
 * "ul li { display: inline; float: left; margin-left: 25px }". Reset the
 * theme's own list items so they can't be floated or pushed sideways.
 */
.primary-nav li,
.cards > li,
.roles li,
.comment-list li,
.entry-content li,
.widget li {
	display: block;
}

.primary-nav li,
.cards > li,
.roles li,
.why-list > li,
.contact-list li,
.social-links li,
.comment-list li,
.entry-content li,
.widget li {
	float: none;
	margin-left: 0;
}

.entry-content li,
.widget li {
	display: list-item;
}

.cards {
	display: grid;
	grid-gap: 20px;
}

.card {
	position: relative;
	padding: 28px 24px;
	overflow: hidden;
	border: 1px solid #e2e2e6;
	border-radius: 16px;
	background: #fff;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e01e21, #9a1a18);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s;
}

.card:hover {
	border-color: transparent;
	box-shadow: 0 18px 40px rgba(14, 14, 16, 0.1);
	transform: translateY(-4px);
}

.card:hover::before {
	transform: scaleX(1);
}

.card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
	border-radius: 50%;
	background: #fdecec;
	color: #e01e21;
}

.card-icon .icon {
	width: 28px;
	height: 28px;
}

.card-num {
	position: absolute;
	top: 24px;
	right: 24px;
	color: #e2e2e6;
	font-size: 1.5rem;
	font-weight: 800;
}

.card-title {
	margin-bottom: 10px;
}

.card-text {
	margin: 0;
	color: #55565b;
	font-size: 1rem;
}

.why-list {
	display: grid;
	grid-gap: 24px;
}

.why-item {
	display: flex;
	align-items: flex-start;
}

.why-item .icon {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin: 2px 16px 0 0;
}

.why-item h3 {
	margin-bottom: 6px;
	color: #fff;
	font-size: 1.125rem;
}

.why-item p {
	margin: 0;
	color: #fff;
	font-size: 1rem;
}

.panel {
	padding: 28px 22px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(14, 14, 16, 0.08);
	color: #26272b;
}

.panel-title {
	margin-bottom: 18px;
	font-size: 1.375rem;
}

.careers-form,
.contact-form {
	margin-top: 36px;
}

.roles-title {
	margin-top: 28px;
	font-size: 1.125rem;
}

.roles li {
	position: relative;
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	font-weight: 600;
}

.roles li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-radius: 50%;
	background: #e01e21;
	box-shadow: 0 0 0 4px rgba(224, 30, 33, 0.25);
}

.contact-list li {
	display: flex;
	align-items: flex-start;
	padding: 18px 0;
	border-bottom: 1px solid #e2e2e6;
}

.contact-list li > div {
	min-width: 0;
}

.contact-list li:last-child {
	border-bottom: 0;
}

.contact-icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-right: 16px;
	border-radius: 12px;
	background: #e01e21;
	color: #fff;
}

.contact-icon .icon {
	width: 22px;
	height: 22px;
}

.contact-label {
	display: block;
	color: #55565b;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.contact-list a {
	display: inline-block;
	padding: 2px 0;
	color: #0e0e10;
	font-weight: 600;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.contact-list .text-link {
	color: #c4161a;
}

/* 8. Forms -------------------------------------------------------------- */
label {
	display: block;
	margin-bottom: 6px;
	color: #0e0e10;
	font-size: 0.9375rem;
	font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
	display: block;
	width: 100%;
	padding: 0.75em 0.9em;
	border: 1px solid #c8c8cf;
	border-radius: 10px;
	background: #fff;
	color: #0e0e10;
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

select {
	padding-right: 2.5em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230e0e10' stroke-width='2'/%3E%3C/svg%3E");
	background-position: right 1em center;
	background-repeat: no-repeat;
}

textarea {
	min-height: 140px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: #e01e21;
	box-shadow: 0 0 0 3px rgba(224, 30, 33, 0.18);
	outline: 0;
}

.gdm-form .field {
	margin-bottom: 16px;
}

.form-row {
	display: block;
}

.req {
	color: #c4161a;
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	margin: 8px 0 0;
}

.form-actions .button {
	margin: 0 14px 8px 0;
}

.form-hint {
	display: inline-block;
	color: #55565b;
	font-size: 0.875rem;
}

.form-notice {
	margin-bottom: 18px;
	padding: 12px 16px;
	border-radius: 10px;
	font-weight: 600;
}

.form-notice--success {
	background: #e8f6ee;
	color: #11512d;
}

.form-notice--error {
	background: #fdecec;
	color: #8a1214;
}

.search-form {
	display: flex;
	max-width: 520px;
	margin-bottom: 1.5em;
}

.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	border-radius: 10px 0 0 10px;
}

.search-form .button {
	border-radius: 0 10px 10px 0;
}

/* 9. Blog, comments, widgets -------------------------------------------- */
.post-grid {
	display: grid;
	grid-gap: 24px;
}

.post-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e2e2e6;
	border-radius: 16px;
	background: #fff;
}

.post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__body {
	padding: 22px;
}

.post-card__title {
	font-size: 1.1875rem;
}

.post-card__title a {
	color: #0e0e10;
	text-decoration: none;
}

.post-card__title a:hover {
	color: #c4161a;
}

.post-card__excerpt p {
	margin: 0;
	color: #55565b;
	font-size: 0.975rem;
}

.entry-meta {
	margin: 0 0 8px;
	color: #55565b;
	font-size: 0.875rem;
}

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

.entry-content h2 {
	margin-top: 1.6em;
}

.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content a {
	color: #c4161a;
	text-decoration: underline;
}

.entry-content b,
.entry-content strong {
	color: #0e0e10;
	font-weight: 700;
}

/*
 * Page-builder (Elementor) content inside theme pages: drop the builder's own
 * widths, padding, fonts and grey text so it reads like the rest of the theme.
 */
.entry-content .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: none;
}

.entry-content .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
	padding: 0;
}

.entry-content .elementor-widget:not(:last-child) {
	margin-bottom: 1.25em;
}

.entry-content .elementor-widget-text-editor {
	color: #26272b;
	font-family: inherit;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.75;
}

.entry-content .elementor-widget-heading .elementor-heading-title {
	color: #0e0e10;
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -0.02em;
}

/* Text pasted from other websites often carries its own fonts and colours. */
.entry-content [style*="font-family"] {
	font-family: inherit !important;
}

.entry-content [style*="color"]:not(.has-text-color):not(.has-background) {
	color: inherit !important;
}

/* Legal pages (Privacy Policy, Terms). */
.page-banner--legal .entry-meta {
	margin-top: 12px;
	font-size: 0.9375rem;
}

.entry-content--legal {
	font-size: 1.0625rem;
}

.entry-content--legal h2,
.entry-content--legal h3 {
	margin: 2em 0 0.6em;
	padding-top: 1.2em;
	border-top: 1px solid #e2e2e6;
	font-size: 1.25rem;
}

.entry-content--legal .elementor-widget-container > h3:first-of-type,
.entry-content--legal > h2:first-child,
.entry-content--legal > h3:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.entry-content--legal b,
.entry-content--legal strong {
	font-size: 1.0625em;
}

.entry-content--legal p {
	margin-bottom: 1.1em;
}

.page-thumb,
.post-thumb img {
	width: 100%;
	margin-bottom: 28px;
	border-radius: 16px;
}

.entry-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid #e2e2e6;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.post-navigation .nav-links > div {
	max-width: 48%;
}

.nav-label {
	display: block;
	color: #55565b;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	justify-content: flex-start;
}

.pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	margin: 0 6px 6px 0;
	padding: 10px 14px;
	border: 1px solid #e2e2e6;
	border-radius: 10px;
	color: #0e0e10;
	text-align: center;
	text-decoration: none;
}

.pagination .page-numbers.current,
.pagination a.page-numbers:hover {
	border-color: #e01e21;
	background: #e01e21;
	color: #fff;
}

.widget {
	margin-bottom: 36px;
}

.widget-title {
	margin-bottom: 14px;
	font-size: 1.125rem;
}

.widget ul {
	padding-left: 1.1em;
}

.comments-area {
	margin-top: 48px;
}

.comment-list {
	padding-left: 0;
	list-style: none;
}

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	margin-bottom: 20px;
	padding: 18px;
	border: 1px solid #e2e2e6;
	border-radius: 12px;
}

.comment-meta .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.comment-form p {
	margin-bottom: 14px;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}

/* 10. Footer ------------------------------------------------------------ */
.site-footer {
	background: #0b0b0c;
	color: #b9bac0;
	font-size: 0.975rem;
}

.footer-grid {
	display: grid;
	grid-gap: 36px;
	padding-top: 56px;
	padding-bottom: 40px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 18px;
	padding: 10px 14px;
	border-radius: 12px;
	background: #fff;
}

.footer-logo img {
	width: auto;
	max-width: 180px;
	max-height: 44px;
}

.footer-title {
	margin-bottom: 16px;
	color: #fff;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer a {
	color: #e6e6ea;
	text-decoration: none;
}

.site-footer a:hover {
	color: #ff8a8c;
	text-decoration: underline;
}

.site-footer a:focus-visible,
.section--careers a:focus-visible,
.section--why a:focus-visible,
.hero a:focus-visible,
.page-banner a:focus-visible,
.cta-band a:focus-visible {
	outline-color: #fff;
}

.gdm-address strong {
	color: #fff;
}

.contact-list .gdm-address {
	color: #26272b;
}

.contact-list .gdm-address strong {
	color: #0e0e10;
}

.social-links li {
	display: inline-block;
	margin: 0 14px 8px 0;
}

.footer-widgets .widget-title,
.footer-widgets .footer-title {
	color: #fff;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.875rem;
}

.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 18px;
}

.footer-bottom p {
	margin: 0 16px 0 0;
}

/* Back-to-top: round brand-red button with an up arrow. */
.site-footer .back-to-top {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #e01e21;
	background-image: linear-gradient(135deg, #ff4245 0%, #e01e21 45%, #9a1a18 100%);
	box-shadow: 0 8px 22px rgba(224, 30, 33, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	color: #fff;
	text-decoration: none;
	transition: transform 0.25s, box-shadow 0.25s;
}

.site-footer .back-to-top::after {
	content: "";
	position: absolute;
	top: -5px;
	right: -5px;
	bottom: -5px;
	left: -5px;
	border: 1px solid rgba(224, 30, 33, 0.45);
	border-radius: 50%;
	transition: transform 0.25s, opacity 0.25s;
}

.site-footer .back-to-top .icon {
	width: 22px;
	height: 22px;
	stroke-width: 2.4;
}

.site-footer .back-to-top:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(224, 30, 33, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Kept separate: older Safari drops a whole rule that contains :focus-visible. */
.site-footer .back-to-top:focus-visible {
	color: #fff;
	transform: translateY(-3px);
}

.site-footer .back-to-top:hover::after {
	opacity: 0;
	transform: scale(1.25);
}

.site-footer .back-to-top:hover .icon {
	animation: gdm-nudge-up 0.6s ease;
}

@keyframes gdm-nudge-up {
	0%,
	100% {
		transform: translateY(0);
	}
	45% {
		transform: translateY(-4px);
	}
}

/* WordPress core classes. */
.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignwide,
.alignfull {
	clear: both;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.gallery-caption,
figcaption {
	margin-top: 8px;
	color: #55565b;
	font-size: 0.875rem;
}

.gallery {
	display: grid;
	grid-gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.sticky .post-card__title::before {
	content: "\2605\00a0";
	color: #e01e21;
}

.bypostauthor > .comment-body {
	border-color: #e01e21;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
	word-wrap: normal !important;
}

/* Responsive: small tablets and up ------------------------------------- */
@media (min-width: 600px) {
	.container {
		padding-left: 32px;
		padding-right: 32px;
	}

	.header-cta {
		display: inline-block;
		margin-left: 16px;
		padding: 0.7em 1.3em;
	}

	.header-inner {
		flex-wrap: nowrap;
	}

	.primary-nav {
		margin-left: auto;
	}

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

	.form-row--half {
		display: grid;
		grid-gap: 0 16px;
		grid-template-columns: 1fr 1fr;
	}

	.panel {
		padding: 36px 32px;
	}

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

	/* Address block sits in the footer's right-hand corner. */
	.footer-visit {
		justify-self: end;
		margin-left: auto;
		text-align: right;
	}

	.footer-grid--widgets .footer-visit {
		justify-self: auto;
		margin-left: 0;
		text-align: left;
	}

	.hero-title {
		font-size: 3rem;
	}

	.hero-art {
		max-width: 340px;
	}

	.section-title {
		font-size: 2.25rem;
	}

	.custom-logo {
		max-width: 220px;
		max-height: 56px;
	}
}

/* Tablets landscape and desktops ---------------------------------------- */
@media (min-width: 960px) {
	body {
		font-size: 1.125rem;
	}

	html {
		scroll-padding-top: 24px;
	}

	.section {
		padding: 96px 0;
	}

	.menu-toggle {
		display: none;
	}

	.primary-nav .menu {
		display: flex;
		align-items: center;
	}

	.primary-nav .menu > li {
		position: relative;
		margin: 0 4px;
	}

	.primary-nav .menu > li > a {
		position: relative;
		padding: 24px 12px;
		font-size: 1rem;
	}

	.primary-nav .menu > li > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 16px;
		height: 2px;
		background: #e01e21;
		transform: scaleX(0);
		transition: transform 0.2s;
	}

	.primary-nav .menu > li > a:hover::after,
	.primary-nav .menu > .current-menu-item > a::after,
	.primary-nav .menu > li > a[aria-current="page"]::after {
		transform: scaleX(1);
	}

	/* Dropdowns: open on hover and on keyboard focus. */
	.primary-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 10;
		min-width: 220px;
		padding: 8px 0;
		border: 1px solid #e2e2e6;
		border-radius: 12px;
		background: #fff;
		box-shadow: 0 18px 40px rgba(14, 14, 16, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}

	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu,
	.primary-nav li.focus > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav .sub-menu a {
		padding: 10px 18px;
		font-size: 0.9375rem;
		font-weight: 500;
	}

	.hero {
		padding: 96px 0 88px;
	}

	.hero-inner {
		display: grid;
		grid-gap: 48px;
		grid-template-columns: 1.15fr 0.85fr;
		align-items: center;
	}

	.hero-title {
		font-size: 4rem;
	}

	.hero-text {
		font-size: 1.25rem;
	}

	.hero-art {
		max-width: 480px;
		margin: 0;
	}

	.page-banner {
		padding: 80px 0 72px;
	}

	.page-banner .page-title {
		font-size: 3rem;
	}

	.about-grid,
	.careers-grid,
	.contact-grid {
		display: grid;
		grid-gap: 64px;
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.careers-form,
	.contact-form {
		margin-top: 0;
	}

	.section-title {
		font-size: 2.75rem;
	}

	.section-title--small {
		font-size: 1.75rem;
	}

	.section-header {
		margin-bottom: 52px;
	}

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

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

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

	.no-sidebar .post-grid--two {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.why-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-gap: 40px;
	}

	.section--why {
		padding: 72px 0;
	}

	.layout {
		display: grid;
		grid-gap: 56px;
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.no-sidebar .layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.layout-side {
		margin-top: 0;
	}

	.cta-band {
		padding: 64px 0;
	}

	.cta-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.cta-title {
		margin: 0 32px 0 0;
		font-size: 2rem;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		padding-top: 72px;
	}

	.footer-grid--widgets {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
	}

}

/* Motion & print ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header,
	.site-footer,
	.hero-art,
	.gdm-form,
	.cta-band {
		display: none;
	}

	body {
		color: #000;
	}

	.hero,
	.page-banner,
	.section--careers,
	.section--why {
		background: none;
		color: #000;
	}
}
