/*
Theme Name: DCT Australia
Theme URI: https://dctaustralia.com.au
Author: Sprout
Author URI: https://sprout.com.au
Description: DCT Australia theme for Beaver Builder and Beaver Themer. Brand colours, Oswald and Public Sans, buttons, cards and section styles that Beaver Builder modules pick up automatically; header and footer that Themer can replace; templates for Projects, Vacancies and News. Use with the DCT Core plugin.
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.1
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dct-australia
*/

/* =========================================================
   1. Tokens and base
   ========================================================= */
:root {
	--dct-charcoal: #231F20;
	--dct-charcoal-soft: #2E2A28;
	--dct-gold: #EEB20E;
	--dct-gold-soft: #F6D46B;
	--dct-sand: #F7F4EF;
	--dct-stone: #EDE7DD;
	--dct-line: #E3DED3;
	--dct-grey: #6B655C;
	--dct-grey-light: #B7B0A4;
	--dct-ink-soft: #4A453E;
	--dct-radius: 10px;
	--dct-gutter: clamp(1rem, 4vw, 2.5rem);
	--dct-wide: 1280px;
	--dct-content: 760px;
	--dct-font-head: Oswald, 'Arial Narrow', Arial, sans-serif;
	--dct-font-body: 'Public Sans', Arial, sans-serif;
	--dct-section-y: clamp(3.5rem, 8vw, 6rem);
	--dct-section-y-tight: clamp(2rem, 4vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--dct-sand);
	color: var(--dct-charcoal);
	font-family: var(--dct-font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--dct-gold); outline-offset: 3px; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5, h6, .fl-heading {
	font-family: var(--dct-font-head);
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	color: inherit;
	margin: 0 0 0.75rem;
	overflow-wrap: normal;
	text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2.125rem, 3.8vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
h4 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.25; }
h5 { font-size: 1.0625rem; }
h6 { font-size: 0.875rem; letter-spacing: 0.08em; }

/* Size helpers: on a heading, or as a Beaver Builder module class */
.dct-h-medium, .dct-h-medium .fl-heading { font-size: 1.0625rem; line-height: 1.3; }
.dct-h-large, .dct-h-large .fl-heading { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.25; }
.dct-h-x-large, .dct-h-x-large .fl-heading { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.dct-h-xx-large, .dct-h-xx-large .fl-heading { font-size: clamp(2.125rem, 3.8vw, 3.5rem); }

.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;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	top: 8px; left: 8px; padding: 0.75rem 1rem; background: var(--dct-gold); color: var(--dct-charcoal);
}

/* =========================================================
   2. Layout
   ========================================================= */
.dct-wrap { width: 100%; max-width: calc(var(--dct-wide) + 2 * var(--dct-gutter)); margin: 0 auto; padding-inline: var(--dct-gutter); }
.dct-wrap--narrow { max-width: calc(960px + 2 * var(--dct-gutter)); }
.dct-measure { max-width: 46rem; }

/* Sections in the theme templates and in the fallback page content */
.dct-section:not(.fl-row) { padding-block: var(--dct-section-y); }
.dct-section--tight:not(.fl-row) { padding-block: var(--dct-section-y-tight); }
.dct-section--head:not(.fl-row) { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.dct-section--list:not(.fl-row) { padding-top: var(--dct-section-y-tight); }
.dct-section:not(.fl-row) > .dct-wrap > * + * { margin-top: 1.5rem; }
.dct-section:not(.fl-row) > .dct-wrap > :is(.dct-grid, .dct-cols, .dct-cards) { margin-top: 2rem; }

.dct-bg-charcoal:not(.fl-row) { background-color: var(--dct-charcoal); }
.dct-bg-charcoal-soft:not(.fl-row) { background-color: var(--dct-charcoal-soft); }
.dct-bg-gold:not(.fl-row) { background-color: var(--dct-gold); }
.dct-bg-stone:not(.fl-row) { background-color: var(--dct-stone); }
.dct-bg-sand:not(.fl-row) { background-color: var(--dct-sand); }
.dct-bg-white:not(.fl-row) { background-color: #fff; }

/* Text on dark rows. In Beaver Builder: Row > Advanced > Class "dct-dark". */
.dct-dark { color: #fff; }
.dct-dark .is-style-lead, .dct-dark .dct-lead-soft { color: #E7E4DF; }
.dct-dark .is-style-eyebrow { color: var(--dct-gold); }
.dct-dark .is-style-photo-note { color: var(--dct-grey-light); }
.dct-dark .dct-link-arrow { color: #fff; }
.dct-on-gold { color: var(--dct-charcoal); }

/* Fallback columns and grids (the same layout as the Beaver Builder rows) */
.dct-cols { display: flex; flex-wrap: wrap; gap: var(--dct-col-gap, 2rem); }
.dct-cols.dct-gap-lg { --dct-col-gap: clamp(2rem, 5vw, 4rem); }
.dct-cols--center { align-items: center; }
.dct-col { flex: 1 1 0; min-width: 0; }
.dct-col--center { align-self: center; }
.dct-col > * + * { margin-top: 1rem; }
@media (max-width: 781px) { .dct-cols { flex-direction: column; } .dct-col { flex: none !important; width: 100%; } }

.dct-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(var(--dct-min, 16rem), 100%), 1fr)); }
@media (min-width: 1000px) {
	.dct-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dct-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dct-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.dct-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.dct-flexrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; }
.dct-flexrow--start { justify-content: flex-start; align-items: center; }
.dct-stack > * + * { margin-top: 0.75rem; }
.dct-section-head h2, .dct-section-head h3 { margin: 0; }

/* =========================================================
   3. Beaver Builder integration
   Set Beaver Builder > Settings > Global Settings: Row Max Width 1280,
   Row Padding 0, Module Margins 12. Row padding and backgrounds are set
   on each row, so they stay editable in the builder.
   ========================================================= */
.fl-builder-content .fl-module-content { margin-top: 12px; margin-bottom: 12px; }
.fl-builder-content .fl-module-rich-text .fl-module-content > :last-child,
.fl-builder-content .fl-rich-text > :last-child { margin-bottom: 0; }
.fl-builder-content .fl-heading { margin: 0; }
.fl-row.dct-dark .fl-heading, .fl-row.dct-dark .fl-rich-text { color: inherit; }
.fl-row.dct-hero .fl-row-content-wrap { display: flex; align-items: flex-end; }
.fl-row.dct-hero .fl-row-content { width: 100%; }

/* Card columns: Column > Advanced > Class "is-style-card", "is-style-card-gold" or "is-style-card-dark" */
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content { margin: 10px; overflow: hidden; padding: 1.25rem; }
.fl-col.is-style-card > .fl-col-content { background: #fff; border: 1px solid var(--dct-line); border-radius: var(--dct-radius); box-shadow: 0 1px 2px rgba(35,31,32,.06), 0 8px 24px rgba(35,31,32,.06); }
.fl-col.is-style-card-gold > .fl-col-content { background: #fff; border: 1px solid var(--dct-line); border-top: 6px solid var(--dct-gold); border-radius: var(--dct-radius); }
.fl-col.is-style-card-dark > .fl-col-content { background: var(--dct-charcoal-soft); color: #F7F4EF; border-radius: var(--dct-radius); }
.fl-col.is-style-card-dark .fl-heading { color: #fff; }
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content > .fl-module:first-child > .fl-module-content { margin-top: 0; }
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content > .fl-module:last-child > .fl-module-content { margin-bottom: 0; }
/* A photo (Photo module or placeholder) as the first item in a card runs to the card edges */
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content > :is(.fl-module-html, .fl-module-photo):first-child > .fl-module-content { margin: -1.25rem -1.25rem 0.75rem; }
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content > :is(.fl-module-html, .fl-module-photo):first-child .is-style-photo-slot { border-radius: 0; }
.fl-col:is(.is-style-card, .is-style-card-gold, .is-style-card-dark) > .fl-col-content > .fl-module-photo:first-child img { border-radius: 0; display: block; width: 100%; }
.fl-col.dct-grid-cell > .fl-col-content { margin: 8px; }
.fl-col.dct-stat > .fl-col-content { border-left: 3px solid var(--dct-gold); padding-left: 1rem; margin-right: 1rem; }
@media (min-width: 769px) {
	.fl-col.dct-col-end > .fl-col-content { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; }
}
.fl-col.is-style-notice > .fl-col-content { background: var(--dct-stone); border-left: 6px solid var(--dct-gold); border-radius: 0 var(--dct-radius) var(--dct-radius) 0; padding: 0.75rem 1.5rem; }

/* =========================================================
   4. Components (used in builder modules and fallback content)
   ========================================================= */
.is-style-eyebrow { font-size: 0.8125rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dct-grey); margin-bottom: 0.5rem; }
.is-style-lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; }
.is-style-photo-note { font-size: 0.8125rem !important; font-style: italic; opacity: 0.8; }

/* Buttons: in a Text Editor module, give a link the class "dct-btn" (plus "dct-btn--outline" or "dct-btn--dark") */
.dct-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0; }
.dct-btn, a.dct-btn, .dct-form button, .dct-filter button, .wp-element-button {
	display: inline-block;
	font-family: var(--dct-font-body);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	text-decoration: none;
	text-align: center;
	padding: 0.85rem 1.4rem;
	border-radius: 6px;
	border: 2px solid var(--dct-gold);
	background: var(--dct-gold);
	color: var(--dct-charcoal);
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.dct-btn:hover, .dct-form button:hover, .dct-filter button:hover, .wp-element-button:hover { background: var(--dct-gold-soft); border-color: var(--dct-gold-soft); color: var(--dct-charcoal); }
.dct-btn--outline, a.dct-btn--outline { background: transparent; color: currentColor; border-color: currentColor; }
.dct-btn--outline:hover { background: rgba(238,178,14,.14); border-color: var(--dct-gold); color: inherit; }
.dct-btn--dark, a.dct-btn--dark { background: var(--dct-charcoal); border-color: var(--dct-charcoal); color: #fff; }
.dct-btn--dark:hover { background: #000; border-color: #000; color: #fff; }
.dct-link-arrow { font-weight: 700; text-decoration: underline; text-decoration-color: var(--dct-gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dct-link-arrow::after { content: " \2192"; }
.dct-link-arrow:hover { text-decoration-color: currentColor; }

/* Static cards in fallback content and the standard editor */
.is-style-card:not(.fl-col), .is-style-card-gold:not(.fl-col), .is-style-card-dark:not(.fl-col) { border-radius: var(--dct-radius); padding: 1.5rem; overflow: hidden; }
.is-style-card:not(.fl-col) { background: #fff; border: 1px solid var(--dct-line); box-shadow: 0 1px 2px rgba(35,31,32,.06), 0 8px 24px rgba(35,31,32,.06); }
.is-style-card-gold:not(.fl-col) { background: #fff; border: 1px solid var(--dct-line); border-top: 6px solid var(--dct-gold); }
.is-style-card-dark:not(.fl-col) { background: var(--dct-charcoal-soft); color: #F7F4EF; }
:is(.is-style-card, .is-style-card-gold, .is-style-card-dark):not(.fl-col) > * + * { margin-top: 0.75rem; }
:is(.is-style-card, .is-style-card-gold, .is-style-card-dark):not(.fl-col) > :is(h2, h3, h4) { margin-bottom: 0; }
:is(.is-style-card, .is-style-card-dark):not(.fl-col) > .is-style-photo-slot:first-child { margin: -1.5rem -1.5rem 1rem; border-radius: 0; }
.is-style-card-gold:not(.fl-col) > .is-style-photo-slot:first-child { margin: -1.5rem -1.5rem 1rem; border-radius: 0; }

.is-style-notice:not(.fl-col) { background: var(--dct-stone); border-left: 6px solid var(--dct-gold); padding: 1rem 1.5rem; border-radius: 0 var(--dct-radius) var(--dct-radius) 0; }
.dct-dark .is-style-notice { color: var(--dct-charcoal); }

/* Photo slots: striped placeholder until DCT photography is in. Replace with a Photo module. */
.is-style-photo-slot {
	background-color: var(--dct-charcoal-soft);
	background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px);
	border-radius: var(--dct-radius);
	color: var(--dct-grey-light);
	display: flex; align-items: flex-end; padding: 1rem;
}
.is-style-photo-slot p { margin: 0; font-size: 0.8125rem; font-style: italic; }
/* Hero rows waiting for a photo or video: stripes behind the text. Add the
   background photo/video in Row > Style > Background, then remove the class "dct-photo-bg". */
.dct-photo-bg, .dct-photo-bg > .fl-row-content-wrap { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px); }
.dct-ratio-43 { aspect-ratio: 4 / 3; }
.dct-ratio-45 { aspect-ratio: 4 / 5; }
.dct-ratio-169 { aspect-ratio: 16 / 9; }

/* Hero (fallback and theme templates) */
section.dct-hero { display: flex; align-items: flex-end; min-height: var(--dct-hero-h, 60vh); background-color: var(--dct-charcoal); background-size: cover; background-position: center; position: relative; }
section.dct-hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,31,32,.25), rgba(35,31,32,.85)); }
section.dct-hero > .dct-wrap { position: relative; }
.dct-hero h1, .dct-page-title { max-width: 18ch; margin-top: 0.25rem; }
.dct-section--head .dct-page-title { font-size: clamp(2.25rem, 4.5vw, 3.75rem); max-width: 22ch; }
.dct-hero .is-style-photo-note { max-width: 50rem; margin-top: 1.5rem; }
.dct-back { font-size: 0.875rem; }
.dct-back a, .dct-section--head .is-style-eyebrow a { color: inherit; }

/* Stats */
.dct-stat-number { font-family: var(--dct-font-head); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; line-height: 1; color: var(--dct-gold); margin: 0 0 0.5rem; text-transform: uppercase; }
.dct-stat-label { font-size: 0.95rem; margin: 0; }
.dct-stats .dct-col { border-left: 3px solid var(--dct-gold); padding-left: 1rem; }

/* Lists */
ul.is-style-ticks { list-style: none; padding-left: 0; margin: 0 0 1rem; }
ul.is-style-ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45rem; }
ul.is-style-ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; background: var(--dct-gold); border-radius: 2px; }
ul.is-style-inline-dots { list-style: none; padding-left: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
ul.is-style-inline-dots li { position: relative; }
ul.is-style-inline-dots li + li::before { content: "\00B7"; position: absolute; left: -0.8rem; color: var(--dct-gold); font-weight: 700; }

/* Timeline */
.is-style-timeline > * { position: relative; padding-left: 2rem; border-left: 3px solid var(--dct-line); padding-bottom: 1.5rem; margin: 0 !important; }
.is-style-timeline > *::before { content: ""; position: absolute; left: -9px; top: 0.35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--dct-gold); box-shadow: 0 0 0 4px var(--dct-sand); }
.is-style-timeline > *:last-child { border-left-color: transparent; padding-bottom: 0; }
.is-style-timeline h3 { font-size: clamp(1.125rem, 1.6vw, 1.375rem); margin: 0.25rem 0; }
.dct-year { font-family: var(--dct-font-head); font-size: 1.5rem; font-weight: 700; margin: 0 !important; }

.dct-step-number { font-family: var(--dct-font-head); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--dct-gold); margin: 0; }

.dct-logo-slot { border: 1px dashed var(--dct-grey-light); border-radius: 8px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.dct-logo-slot p { margin: 0; font-size: 0.8125rem; color: var(--dct-grey); }

blockquote, .wp-block-quote { margin: 0; border-left: 6px solid var(--dct-gold); padding-left: 1.5rem; font-family: var(--dct-font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; }
blockquote cite { display: block; font-size: 1rem; font-style: normal; margin-top: 0.75rem; }

.wp-block-table.is-style-facts table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-facts td { border: 0; border-bottom: 1px solid var(--dct-line); padding: 0.75rem 0.5rem 0.75rem 0; vertical-align: top; }
.wp-block-table.is-style-facts td:first-child { font-weight: 700; width: 34%; color: var(--dct-grey); text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.06em; }

/* Gold call-to-action band */
.dct-cta__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; }
.dct-cta h2 { margin: 0 0 0.5rem; }

/* =========================================================
   5. Header
   ========================================================= */
.dct-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .dct-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.dct-utility { background: var(--dct-charcoal-soft); color: var(--dct-grey-light); font-size: 0.8125rem; }
.dct-utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; flex-wrap: wrap; padding-block: 0.45rem; }
.dct-utility__tag { margin: 0; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dct-utility__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; }
.dct-utility__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.dct-utility a { text-decoration: none; }
.dct-utility a:hover { text-decoration: underline; color: #fff; }
.dct-utility__cap { color: var(--dct-gold); }

.dct-bar { background: var(--dct-charcoal); color: #fff; }
.dct-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.9rem; }
.dct-logo { display: block; flex: none; line-height: 0; }
.dct-logo img { display: block; }

.dct-nav { display: flex; align-items: center; gap: 1.75rem; }
.dct-nav__menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; font-size: 0.95rem; font-weight: 600; }
.dct-nav__menu > li { position: relative; }
.dct-nav__menu a { text-decoration: none; color: #fff; display: inline-block; padding-block: 0.4rem; }
.dct-nav__menu a:hover, .dct-nav__menu .current-menu-item > a, .dct-nav__menu .current-menu-ancestor > a, .dct-nav__menu [aria-current="page"] { color: var(--dct-gold); }
.dct-nav__menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 0.4em; height: 0.4em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 0.45em; }
.dct-nav__menu .sub-menu { list-style: none; margin: 0; padding: 0.5rem 0; position: absolute; left: -1rem; top: 100%; min-width: 290px; background: var(--dct-charcoal); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.dct-nav__menu .sub-menu a { display: block; padding: 0.5rem 1.1rem; font-weight: 500; }
.dct-nav__menu li:hover > .sub-menu, .dct-nav__menu li:focus-within > .sub-menu, .dct-nav__menu li.is-sub-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.dct-nav__quote { padding: 0.65rem 1.1rem; }
.dct-nav-toggle, .dct-sub-toggle { display: none; }

@media (max-width: 1100px) {
	.dct-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; color: #fff; cursor: pointer; }
	.dct-nav-toggle__bars, .dct-nav-toggle__bars::before, .dct-nav-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease; }
	.dct-nav-toggle__bars::before, .dct-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.dct-nav-toggle__bars::before { top: -7px; }
	.dct-nav-toggle__bars::after { top: 7px; }
	.dct-nav-toggle[aria-expanded="true"] .dct-nav-toggle__bars { background: transparent; }
	.dct-nav-toggle[aria-expanded="true"] .dct-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.dct-nav-toggle[aria-expanded="true"] .dct-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
	.dct-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dct-charcoal); padding: 1rem var(--dct-gutter) 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; max-height: calc(100vh - 120px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.1); }
	.dct-nav.is-open { display: flex; }
	.dct-bar { position: relative; }
	.dct-nav__menu { flex-direction: column; align-items: stretch; gap: 0; font-size: 1.0625rem; }
	.dct-nav__menu > li { border-bottom: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
	.dct-nav__menu a { padding-block: 0.8rem; }
	.dct-nav__menu .menu-item-has-children > a::after { display: none; }
	.dct-sub-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 0; color: #fff; cursor: pointer; }
	.dct-sub-toggle::before { content: ""; width: 0.55em; height: 0.55em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
	.dct-sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); }
	.dct-nav__menu .sub-menu { position: static; width: 100%; min-width: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 0.5rem 1rem; background: transparent; }
	.dct-nav__menu li.is-sub-open > .sub-menu { display: block; }
	.dct-nav__quote { align-self: flex-start; }
}
@media (max-width: 600px) {
	.dct-utility__tag { display: none; }
	.dct-utility__inner { justify-content: center; }
	.dct-site-header { position: relative; }
	.admin-bar .dct-site-header { top: 0; }
}

/* =========================================================
   6. Footer
   ========================================================= */
.dct-site-footer { background: var(--dct-charcoal); color: var(--dct-grey-light); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: 0.9375rem; }
.dct-site-footer a { color: #fff; text-decoration: none; }
.dct-site-footer a:hover { color: var(--dct-gold); text-decoration: underline; }
.dct-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .dct-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dct-footer__cols { grid-template-columns: 1fr; } }
.dct-footer__lines { margin: 1rem 0 0.75rem; font-family: var(--dct-font-head); font-size: 1.25rem; font-weight: 600; line-height: 1.25; text-transform: uppercase; color: #fff; }
.dct-footer__lines span { color: var(--dct-gold); }
.dct-footer__small { font-size: 0.875rem; }
.dct-footer__heading { font-size: 0.875rem; letter-spacing: 0.12em; color: var(--dct-gold); margin-bottom: 0.75rem; }
.dct-footer__menu { list-style: none; margin: 0; padding: 0; font-size: 0.875rem; }
.dct-footer__menu li { margin-bottom: 0.4rem; }
.dct-footer__label { margin: 1rem 0 0; font-weight: 700; color: #fff; font-size: 0.875rem; }
.dct-footer__col .dct-detail { font-size: 0.875rem; }
.dct-footer__social { margin-top: 1rem; font-size: 0.875rem; }
.dct-footer__ack { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--dct-charcoal-soft); font-size: 0.875rem; }
.dct-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1rem; font-size: 0.875rem; }
.dct-footer__base p { margin: 0; }
.dct-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

/* =========================================================
   7. Templates: news, projects, vacancies, prose
   ========================================================= */
.dct-pills { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dct-pills a { display: inline-block; padding: 0.45rem 0.95rem; border: 1px solid var(--dct-line); border-radius: 999px; background: #fff; text-decoration: none; font-size: 0.875rem; font-weight: 600; }
.dct-pills a:hover, .dct-pills a[aria-current="page"] { background: var(--dct-charcoal); color: #fff; border-color: var(--dct-charcoal); }
.dct-section--list .dct-filter { margin-bottom: 2rem; }

.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; }
.nav-links .page-numbers { padding: 0.45rem 0.85rem; border-radius: 4px; text-decoration: none; }
.nav-links .page-numbers.current { background: var(--dct-charcoal); color: #fff; }

/* Standard-editor content (news, projects, vacancies, legal pages) */
.dct-prose { padding: clamp(2.5rem, 5vw, 4rem) var(--dct-gutter); }
.dct-prose > * { max-width: var(--dct-content); margin-inline: auto; }
.dct-prose > .alignwide, .dct-prose--wide > .alignwide { max-width: var(--dct-wide); }
.dct-prose > .alignfull { max-width: none; margin-inline: calc(-1 * var(--dct-gutter)); }
.dct-prose > * + * { margin-top: 1.25rem; }
.dct-prose > :is(h2, h3) { margin-top: 2.25rem; }
.dct-prose--inline { padding: 0; }
.dct-prose--inline > * { max-width: none; }
.dct-feature-image { margin: 0 auto 2rem; max-width: var(--dct-wide); }
.dct-feature-image img { border-radius: var(--dct-radius); width: 100%; }
.dct-job-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .dct-job-layout { grid-template-columns: 1fr; } }
.dct-search-result { padding-block: 1rem; border-bottom: 1px solid var(--dct-line); }
.dct-search-result h2 { font-size: 1.375rem; margin-bottom: 0.25rem; }
.dct-search-result h2 a { text-decoration: none; }
.search-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; font: inherit; padding: 0.75rem 0.85rem; border: 1px solid #C9C2B6; border-radius: 6px; }
.search-form .search-submit { font: inherit; font-weight: 700; padding: 0.75rem 1.25rem; border-radius: 6px; border: 2px solid var(--dct-gold); background: var(--dct-gold); cursor: pointer; }

/* =========================================================
   8. Motion and print
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
	.fl-row-bg-video video, .dct-hero video { display: none; }
}
@media print {
	.dct-utility, .dct-nav, .dct-nav-toggle, .dct-footer__social { display: none !important; }
	.dct-site-header { position: static; }
}
