/*
Theme Name: DDG 2026
Author: the WordPress team
Author URI: https://wordpress.org
Description: DDG 2026 Wordpress Theme
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.5.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ddg_2026
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/* DDG start page */
:root {
	--ddg-blue: #b9d9f8;
	--ddg-blue-light: #eef6fd;
	--ddg-gold: #f8b916;
	--ddg-ink: #172536;
	--ddg-muted: #5c6874;
	--ddg-line: #b8c5d1;
}

html { scroll-behavior: smooth; }
body { color: var(--ddg-ink); }
.ddg-shell { box-sizing: border-box; margin-inline: auto; max-width: 1280px; width: min(1280px, calc(100vw - clamp(40px, 9vw, 140px))); }
.ddg-startpage { margin: 0; }
.wp-site-blocks > .ddg-startpage + .ddg-site-footer,
.wp-site-blocks > .ddg-startpage + .wp-block-template-part { margin-block-start: 0; }
:is(.ddg-startpage, .ddg-front-page-pattern) h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: .18em 0 .45em; }
:is(.ddg-startpage, .ddg-front-page-pattern) h3 { font-size: clamp(1.35rem, 2vw, 2rem); letter-spacing: -.035em; line-height: 1.1; }
:is(.ddg-startpage, .ddg-front-page-pattern) p { color: var(--ddg-muted); }
:is(.ddg-startpage, .ddg-front-page-pattern) a { text-underline-offset: .2em; }

/*
 * Core's flow layout adds block-gap as a top margin to every sibling after the
 * first. These components replace that flow with their own grid/flex gaps, so
 * retaining the generated margin offsets every card except the first one.
 */
.ddg-site-header__inner > *,
.ddg-section-heading > *,
.ddg-accordion > *,
.ddg-detail-copy > *,
.ddg-prizes > *,
.ddg-event-grid > *,
.ddg-training-intro > *,
.ddg-process__steps > *,
.ddg-training-content > *,
.ddg-membership > *,
.ddg-board__grid > *,
.ddg-board__contact > *,
.ddg-site-footer__inner > * {
	margin-block-start: 0 !important;
}

.ddg-site-header { background: rgba(255,255,255,.96); border-top: 3px solid var(--ddg-gold); border-bottom: 1px solid #dfe5ea; position: relative; z-index: 20; }
.ddg-site-header__inner { align-items: center; display: flex; gap: 34px; min-height: 82px; }
.ddg-site-header__logo { flex: 0 0 auto; margin: 0; }
.ddg-site-header__logo img { display: block; height: auto; width: 222px; }
.ddg-site-header__nav { align-items: center; display: flex; gap: clamp(16px, 2.4vw, 34px); margin-left: auto; }
.ddg-site-header__nav a, .ddg-site-footer a { color: var(--ddg-ink); font-size: .82rem; font-weight: 650; text-decoration: none; }
.ddg-site-header__nav a:hover { color: #52769a; }
.ddg-site-header .wp-block-buttons { flex: 0 0 auto; }
.ddg-mobile-menu { display: none; position: relative; }
.ddg-mobile-menu summary { cursor: pointer; font-size: .8rem; font-weight: 700; list-style: none; }
.ddg-mobile-menu summary::-webkit-details-marker { display: none; }
.ddg-mobile-menu summary:after { color: var(--ddg-gold); content: " +"; }
.ddg-mobile-menu[open] summary:after { content: " −"; }
.ddg-mobile-menu nav { background: #fff; border: 1px solid var(--ddg-line); display: grid; min-width: 190px; padding: 12px; position: absolute; right: 0; top: 30px; }
.ddg-mobile-menu nav a { color: var(--ddg-ink); font-size: .84rem; font-weight: 650; padding: 9px 8px; text-decoration: none; }
.ddg-button { align-items: center; background: var(--ddg-gold); border: 1px solid var(--ddg-gold); color: var(--ddg-ink); display: inline-flex; font-size: .88rem; font-weight: 750; gap: 18px; justify-content: center; padding: 16px 25px; text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.ddg-button:hover { background: var(--ddg-ink); border-color: var(--ddg-ink); color: #fff; transform: translateY(-2px); }
.ddg-button--small { background: transparent; padding: 11px 18px; white-space: nowrap; }
.ddg-button--small:hover { background: var(--ddg-gold); border-color: var(--ddg-gold); color: var(--ddg-ink); }
.ddg-button.wp-block-button { padding: 0; }
.ddg-button.wp-block-button > .wp-block-button__link { background: transparent; border: 0; border-radius: 0; color: inherit; font: inherit; padding: 16px 25px; }
.ddg-button--small.wp-block-button > .wp-block-button__link { padding: 11px 18px; }

.ddg-back-to-top {
	align-items: center;
	background: var(--ddg-ink);
	border: 1px solid var(--ddg-ink);
	bottom: max(24px, env(safe-area-inset-bottom));
	color: #fff;
	cursor: pointer;
	display: flex;
	font: 600 1.45rem/1 Manrope, sans-serif;
	height: 50px;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	right: max(24px, env(safe-area-inset-right));
	transform: translateY(12px);
	transition: background .2s, border-color .2s, color .2s, opacity .2s, transform .2s;
	width: 50px;
	z-index: 100;
}
.ddg-back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.ddg-back-to-top:hover { background: var(--ddg-gold); border-color: var(--ddg-gold); color: var(--ddg-ink); }
.ddg-back-to-top:focus-visible { outline: 3px solid var(--ddg-gold); outline-offset: 3px; }

.ddg-hero-wrap { margin-top: 0 !important; padding: 0 !important; }
.ddg-statement { background: #fee9b8; margin-block: clamp(90px, 13vw, 180px); padding: clamp(42px, 7vw, 88px); position: relative; }
.ddg-corner { display: block; height: 48px; left: -24px; margin: 0; position: absolute; top: calc(100% - 24px); width: 48px; }
.ddg-corner img { display: block; height: 100%; width: 100%; }
.ddg-statement h2 { max-width: 21ch; }
.ddg-statement > p:not(.ddg-kicker) { color: var(--ddg-ink); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 65ch; }

.ddg-section { padding-block: clamp(90px, 12vw, 160px); scroll-margin-top: 40px; }
.ddg-section--blue { background: var(--ddg-blue); }
.ddg-section-heading { align-items: end; display: grid; gap: clamp(40px, 9vw, 140px); grid-template-columns: 1fr 1fr; margin-bottom: clamp(48px, 7vw, 90px); }
.ddg-section-heading > p { color: var(--ddg-ink); font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.55; margin-bottom: .4em; }

.ddg-accordion { border-top: 1px solid rgba(23,37,54,.5); counter-reset: ddg-accordion; }
.ddg-accordion details { border-bottom: 1px solid rgba(23,37,54,.5); }
.ddg-accordion summary { align-items: center; counter-increment: ddg-accordion; cursor: pointer; display: grid; font-size: clamp(1.2rem, 2.1vw, 2rem); font-weight: 650; grid-template-columns: 70px 1fr 32px; list-style: none; padding: 25px 0; }
.ddg-accordion summary::-webkit-details-marker { display: none; }
.ddg-accordion summary:focus { outline: none; }
.ddg-accordion summary:focus-visible { box-shadow: inset 4px 0 0 var(--ddg-gold); padding-left: 16px; }
.ddg-accordion summary:before { color: #587899; content: counter(ddg-accordion, decimal-leading-zero); font-size: .72rem; letter-spacing: .08em; }
.ddg-accordion summary:after { content: "+"; font-size: 1.8rem; font-weight: 350; justify-self: end; }
.ddg-accordion details[open] summary:after { content: "−"; }
.ddg-detail-copy { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; max-width: 940px; padding: 4px 0 34px 70px; }
.ddg-detail-copy p { color: var(--ddg-ink); font-size: .95rem; line-height: 1.7; margin: 0; }
.ddg-prizes { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-block-start: clamp(60px, 7vw, 90px) !important; }
.ddg-prizes article { background: #fff; min-height: 320px; overflow: hidden; }
.ddg-prizes figure { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; position: relative; }
.ddg-prizes figure img { filter: grayscale(1); height: 100%; object-fit: cover; transition: filter .25s, transform .35s; width: 100%; }
.ddg-prizes article:hover figure img { filter: grayscale(.35); transform: scale(1.025); }
.ddg-prizes figure figcaption { background: rgba(255,255,255,.84); bottom: 12px; color: #53606d; font-size: .65rem; letter-spacing: .08em; margin: 0; padding: 6px 9px; position: absolute; right: 12px; text-transform: uppercase; }
.ddg-prizes__copy { padding: clamp(34px, 5vw, 64px); }
.ddg-prizes__number { color: var(--ddg-gold); font-size: .75rem; font-weight: 750; letter-spacing: .1em; }
.ddg-prizes p { font-size: .94rem; line-height: 1.7; }

.ddg-event-grid { border-left: 1px solid var(--ddg-line); border-top: 1px solid var(--ddg-line); display: grid; grid-template-columns: 1fr 1fr; }
.ddg-event-grid article { border-bottom: 1px solid var(--ddg-line); border-right: 1px solid var(--ddg-line); min-height: 330px; padding: clamp(34px, 5vw, 64px); transition: background .2s, transform .2s; }
.ddg-event-grid article:hover { background: var(--ddg-blue-light); }
.ddg-event-grid__image { aspect-ratio: 4 / 3; margin: 0 0 30px; overflow: hidden; }
.ddg-event-grid__image img { display: block; height: 100%; object-fit: cover; width: 100%; }
.ddg-event-grid p { font-size: .95rem; line-height: 1.7; }

.ddg-section--dark { background: var(--ddg-ink); color: #fff; }
.ddg-section--dark p { color: #bdc8d3; }
.ddg-section--dark .ddg-kicker { color: #94bfe8; }
.ddg-training-intro { display: grid; gap: 1px; grid-template-columns: 1fr 1fr; margin-bottom: 80px; }
.ddg-training-intro > div { background: #213246; padding: clamp(34px, 5vw, 64px); }
.ddg-training-intro p, .ddg-training-content p { font-size: .95rem; line-height: 1.72; }
.ddg-process { margin-block: 70px; }
.ddg-process__steps { display: grid; gap: 1px; grid-template-columns: repeat(4, 1fr); margin-top: 35px; }
.ddg-process__steps > div { background: #fff; color: var(--ddg-ink); min-height: 220px; padding: 28px; }
.ddg-process__icon { display: block; height: 48px; margin: 0 0 28px; width: 48px; }
.ddg-process__icon img { display: block; height: 48px; width: 48px; }
.ddg-process__steps h4 { font-size: 1.05rem; margin: 0 0 20px; }
.ddg-process__steps p { color: var(--ddg-muted); font-size: .8rem; line-height: 1.5; margin: 0; }
.ddg-training-content { border-top: 1px solid #536273; display: grid; grid-template-columns: repeat(3, 1fr); }
.ddg-training-content > div { border-right: 1px solid #536273; padding: 40px 36px 20px 0; }
.ddg-training-content > div + div { padding-left: 36px; }
.ddg-training-content > div:last-child { border-right: 0; }
.ddg-training-content a { color: #fff; }

.ddg-membership { background: #fee9b8; display: grid; gap: clamp(50px, 10vw, 150px); grid-template-columns: 1.2fr 1fr; margin-block: clamp(90px, 13vw, 170px); padding: clamp(45px, 7vw, 90px); }
.ddg-membership h2 { font-size: clamp(2.4rem, 4.3vw, 4.3rem); }
.ddg-membership__content { align-self: end; }
.ddg-membership__content > p { color: var(--ddg-ink); font-size: 1.05rem; line-height: 1.65; margin-bottom: 28px; }
.ddg-section--news { padding-bottom: 35px; }
.ddg-news-grid { box-sizing: border-box; margin: 0 auto clamp(90px, 12vw, 150px) !important; max-width: 1280px !important; width: calc(100% - clamp(40px, 9vw, 140px)); }
.ddg-news-grid .wp-block-post-template { gap: 35px; }
.ddg-news-grid .wp-block-post-template:has(> .wp-block-post:only-child) { grid-template-columns: minmax(0, 420px); justify-content: center; }
.ddg-news-grid .wp-block-post-template:has(> .wp-block-post:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.ddg-news-grid .wp-block-post-featured-image { background: var(--ddg-blue-light); margin-bottom: 22px; overflow: hidden; }
.ddg-news-grid .wp-block-post-featured-image img { filter: saturate(.55); transition: transform .35s; }
.ddg-news-grid .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.025); }
.ddg-news-grid .wp-block-post-date { color: #66809a; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.ddg-news-grid .wp-block-post-title { line-height: 1.2; margin-top: 10px; }
.ddg-news-grid .wp-block-post-excerpt { color: var(--ddg-muted); font-size: .88rem; line-height: 1.6; }

.ddg-board { background: var(--ddg-blue-light); }
.ddg-board__grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ddg-board-card { background: #fff; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.ddg-board-card > figure { aspect-ratio: 4 / 5; margin: 0; overflow: hidden; }
.ddg-board-card > figure img { display: block; filter: saturate(.7); height: 100%; object-fit: cover; transition: filter .25s, transform .35s; width: 100%; }
.ddg-board-card:hover > figure img { filter: saturate(1); transform: scale(1.018); }
.ddg-board-card__content { background: #fff; display: flex; flex: 1; flex-direction: column; padding: clamp(24px, 3vw, 38px); position: relative; z-index: 1; }
.ddg-board-card__role { color: #587899 !important; font-size: .68rem; font-weight: 750; letter-spacing: .09em; margin: 0 0 13px; text-transform: uppercase; }
.ddg-board-card h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); margin: 0 0 20px; }
.ddg-board-card__content > p:not(.ddg-board-card__role) { font-size: .88rem; line-height: 1.65; margin: 0 0 26px; }
.ddg-board-card__content > p:last-child { margin-top: auto; }
.ddg-board-card a { color: var(--ddg-ink); font-size: .72rem; overflow-wrap: anywhere; }
.ddg-board__contact { align-items: center; border-top: 1px solid var(--ddg-line); display: flex; justify-content: space-between; margin-top: clamp(38px, 5vw, 64px); padding-top: 28px; }
.ddg-board__contact p { color: var(--ddg-ink); margin: 0; }
.ddg-arrow-link { color: var(--ddg-ink); font-size: .82rem; font-weight: 700; text-decoration: none; }
.ddg-arrow-link span { color: var(--ddg-gold); margin-left: 8px; }

/* DDG board page pattern */
.wp-site-blocks > main:has(.ddg-board-page) { margin-top: 0 !important; }
.wp-site-blocks > main:has(.ddg-board-page) > .wp-block-group.alignfull { padding-bottom: 0 !important; padding-top: clamp(55px, 7vw, 100px) !important; }
.wp-site-blocks > main:has(.ddg-board-page) .wp-block-post-title { box-sizing: border-box; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .94; margin: 0 auto !important; max-width: 1280px !important; width: min(1280px, calc(100vw - clamp(40px, 9vw, 140px))); }
.wp-site-blocks > main:has(.ddg-board-page) .wp-block-post-content { margin-block-start: 0; }
.wp-site-blocks > main:has(.ddg-board-page) .ddg-board-page__hero { padding-top: clamp(26px, 3vw, 44px); }
.wp-site-blocks > main:has(.ddg-board-page) .ddg-board-page__intro h1 { display: none; }
.ddg-board-page { background: var(--ddg-blue-light); color: var(--ddg-ink); margin-block: 0; }
.ddg-board-page > * { margin-block-start: 0 !important; }
.ddg-board-page__hero { background: #fff; padding-block: clamp(70px, 10vw, 140px) clamp(55px, 8vw, 105px); }
.ddg-board-page__intro { display: block; }
.ddg-board-page__intro > *,
.ddg-board-page__profile > *,
.ddg-board-page__content > * { margin-block-start: 0 !important; }
.ddg-board-page .ddg-kicker { color: #587899; font-size: .72rem; font-weight: 750; letter-spacing: .11em; margin: 0 0 18px; text-transform: uppercase; }
.ddg-board-page__intro > p:not(.ddg-kicker) { color: var(--ddg-ink); font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important; line-height: 1.58; margin: 0; max-width: 58ch; }
.ddg-board-page__intro > .ddg-kicker,
.ddg-board-page__intro > .wp-block-group:has(> .ddg-kicker) { display: none; }
.ddg-board-page__group-photo { margin-block: clamp(40px, 5vw, 68px) 0 !important; overflow: hidden; }
.ddg-board-page__group-photo img { display: block; filter: saturate(.7); width: 100%; }
.ddg-board-page__profiles { padding-top: clamp(75px, 11vw, 145px); }
.ddg-board-page__list { display: grid; gap: clamp(28px, 4vw, 56px); }
.ddg-board-page__list > * { margin-block-start: 0 !important; }
.ddg-board-page__profile { background: #fff; display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); min-height: 520px; overflow: hidden; }
.ddg-board-page__profile > figure { height: 100%; margin: 0; min-height: 100%; overflow: hidden; }
.ddg-board-page__profile > figure img { display: block; filter: saturate(.72); height: 100%; object-fit: cover; transition: filter .25s, transform .35s; width: 100%; }
.ddg-board-page__profile:hover > figure img { filter: saturate(1); transform: scale(1.012); }
.ddg-board-page__profile--reverse { grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr); }
.ddg-board-page__profile--reverse > figure { grid-column: 2; grid-row: 1; }
.ddg-board-page__profile--reverse > .ddg-board-page__content { grid-column: 1; grid-row: 1; }
.ddg-board-page__content { align-content: center; display: grid; padding: clamp(36px, 6vw, 82px); }
.ddg-board-page__role { color: #587899 !important; font-size: .69rem !important; font-weight: 750; letter-spacing: .1em; margin: 0 0 14px; text-transform: uppercase; }
.ddg-board-page__content h2 { font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 650; letter-spacing: -.045em; line-height: 1; margin: 0 0 clamp(25px, 4vw, 42px); }
.ddg-board-page__content > p:not(.ddg-board-page__role):not(.ddg-board-page__email) { color: var(--ddg-muted); font-size: clamp(.92rem, 1.1vw, 1.04rem); line-height: 1.7; margin: 0 0 1.1em; max-width: 66ch; }
.ddg-board-page__email { border-top: 1px solid #d6dee5; margin: clamp(15px, 3vw, 28px) 0 0; padding-top: 20px; }
.ddg-board-page__email a { color: var(--ddg-ink); font-size: .78rem; font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.ddg-board-page__email a:hover { text-decoration: underline; }
.ddg-board-page__email span { color: #8d6500; margin-left: 8px; }
.ddg-board-page__contact { background: var(--ddg-blue-light); padding-bottom: clamp(75px, 11vw, 145px); }

/* DDG legal page pattern */
.wp-site-blocks > main:has(.ddg-legal-page) { margin-top: 0 !important; }
.wp-site-blocks > main:has(.ddg-legal-page) > .wp-block-group.alignfull { padding-bottom: 0 !important; padding-top: clamp(55px, 7vw, 100px) !important; }
.wp-site-blocks > main:has(.ddg-legal-page) .wp-block-post-title { border-top: 6px solid var(--ddg-gold); box-sizing: border-box; font-size: clamp(2.2rem, 6vw, 5.4rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: 0 auto !important; max-width: 780px !important; padding-top: clamp(22px, 4vw, 38px); width: calc(100% - clamp(32px, 8vw, 120px)); }
.wp-site-blocks > main:has(.ddg-legal-page) .wp-block-post-content { margin-block-start: 0; }
.wp-site-blocks > main:has(.ddg-legal-page) .ddg-legal-page__inner { border-top: 0; padding-top: 0; }
.ddg-legal-page { background: #fff; color: var(--ddg-ink); margin-block: 0; padding-block: clamp(64px, 9vw, 120px); }
.ddg-legal-page__inner { border-top: 6px solid var(--ddg-gold); box-sizing: border-box; margin-inline: auto; max-width: 780px; padding-top: clamp(22px, 4vw, 38px); width: calc(100% - clamp(32px, 8vw, 120px)); }
.ddg-legal-page__inner > * { margin-block-start: 0 !important; }
.ddg-legal-page h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.18; margin: clamp(52px, 7vw, 76px) 0 18px; }
.ddg-legal-page h2:first-child { margin-top: 0; }
.ddg-legal-page h3 { font-size: clamp(1.08rem, 1.7vw, 1.3rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.3; margin: 34px 0 12px; }
.ddg-legal-page p { color: var(--ddg-muted); font-size: clamp(.94rem, 1.15vw, 1.02rem); line-height: 1.75; margin: 0 0 1.15em; }
.ddg-legal-page a { color: var(--ddg-ink); overflow-wrap: anywhere; text-decoration-color: var(--ddg-gold); text-decoration-thickness: 2px !important; text-underline-offset: .22em; }
.ddg-legal-page a:hover { text-decoration-color: currentColor; }

/* DDG membership page pattern */
.wp-site-blocks > main:has(.ddg-member-page) { margin-top: 0 !important; }
.wp-site-blocks > main:has(.ddg-member-page) > .wp-block-group.alignfull { padding-bottom: 0 !important; padding-top: clamp(55px, 7vw, 100px) !important; }
.wp-site-blocks > main:has(.ddg-member-page) .wp-block-post-title { box-sizing: border-box; font-size: clamp(3rem, 6vw, 5.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .94; margin: 0 auto !important; max-width: 1280px !important; width: min(1280px, calc(100vw - clamp(40px, 9vw, 140px))); }
.wp-site-blocks > main:has(.ddg-member-page) .wp-block-post-content { margin-block-start: 0; }
.ddg-member-page { color: var(--ddg-ink); margin-block: 0; }
.ddg-member-page > *,
.ddg-member-page__intro > *,
.ddg-member-page__lead > *,
.ddg-member-page__eligibility > *,
.ddg-member-page__section-heading > *,
.ddg-member-page__section-heading > * > *,
.ddg-member-page__downloads-heading > *,
.ddg-member-page__download-grid > *,
.ddg-member-page__download-card > * { margin-block-start: 0 !important; }
.ddg-member-page .ddg-kicker { color: #587899; font-size: .72rem; font-weight: 750; letter-spacing: .11em; margin: 0 0 18px; text-transform: uppercase; }
.ddg-member-page__hero { background: #fff; padding-block: clamp(40px, 6vw, 78px) clamp(80px, 11vw, 145px); }
.ddg-member-page__intro { align-items: stretch; display: grid; gap: clamp(36px, 7vw, 100px); grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); }
.ddg-member-page__lead { align-content: start; display: grid; }
.ddg-member-page__lead > .has-large-font-size { color: var(--ddg-ink); font-size: clamp(1.2rem, 1.75vw, 1.55rem) !important; line-height: 1.5; margin: 0; max-width: 62ch; }
.ddg-member-page__lead > p:not(.ddg-kicker):not(.has-large-font-size) { color: var(--ddg-muted); font-size: clamp(.96rem, 1.1vw, 1.04rem); line-height: 1.72; margin: 24px 0 32px; max-width: 66ch; }
.ddg-member-page__eligibility { background: var(--ddg-blue-light); border-top: 6px solid var(--ddg-blue); padding: clamp(30px, 4vw, 50px); }
.ddg-member-page__eyebrow { color: #587899; font-size: .7rem; font-weight: 750; letter-spacing: .1em; margin: 0 0 35px; text-transform: uppercase; }
.ddg-member-page__eligibility h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); font-weight: 650; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 28px; }
.ddg-member-page__eligibility p:not(.ddg-member-page__eyebrow) { color: var(--ddg-muted); font-size: .92rem; line-height: 1.68; margin: 0 0 1.25em; }
.ddg-member-page__eligibility a { color: var(--ddg-ink); font-weight: 700; text-decoration-color: var(--ddg-gold); text-decoration-thickness: 2px !important; }
.ddg-member-page__application { background: var(--ddg-ink); color: #fff; padding-block: clamp(80px, 11vw, 145px); scroll-margin-top: 30px; }
.ddg-member-page__application .ddg-kicker { color: #94bfe8; }
.ddg-member-page__section-heading { align-items: end; display: grid; gap: clamp(36px, 8vw, 120px); grid-template-columns: 1fr 1fr; margin-bottom: clamp(42px, 6vw, 72px); }
.ddg-member-page__section-heading h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: 0; max-width: 10ch; }
.ddg-member-page__application-copy p { color: #bdc8d3; font-size: clamp(.94rem, 1.1vw, 1.04rem); line-height: 1.7; margin: 0 0 18px; max-width: 55ch; }
.ddg-member-page__application-copy a,
.ddg-member-page__form-note a { color: #fff; font-weight: 700; text-decoration-color: var(--ddg-gold); text-decoration-thickness: 2px !important; text-underline-offset: .22em; }
.ddg-member-page__form-frame { background: #fff; min-height: 1080px; overflow: hidden; }
.ddg-member-page__form-frame iframe { border: 0; display: block; height: 1080px; width: 100%; }
.ddg-member-page__form-note { color: #91a0ae; font-size: .76rem; line-height: 1.5; margin: 16px 0 0; }
.ddg-member-page__downloads { background: var(--ddg-blue-light); padding-block: clamp(80px, 11vw, 145px); }
.ddg-member-page__downloads-heading { margin-bottom: clamp(40px, 6vw, 70px); }
.ddg-member-page__downloads-heading h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 650; letter-spacing: -.055em; line-height: .98; margin: 0; }
.ddg-member-page__download-grid { border-left: 1px solid var(--ddg-line); border-top: 1px solid var(--ddg-line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ddg-member-page__download-card { background: #fff; border-bottom: 1px solid var(--ddg-line); border-right: 1px solid var(--ddg-line); min-height: 310px; padding: clamp(28px, 4vw, 48px); }
.ddg-member-page__download-number { color: #8d6500; font-size: .7rem; font-weight: 750; letter-spacing: .1em; margin: 0 0 clamp(46px, 6vw, 78px); }
.ddg-member-page__download-card h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 650; letter-spacing: -.035em; line-height: 1.15; margin: 0 0 26px; }
.ddg-member-page__download-card ul { list-style: none; margin: 0; padding: 0; }
.ddg-member-page__download-card li { border-top: 1px solid #d9e0e6; margin: 0; padding: 14px 0; }
.ddg-member-page__download-card a { color: var(--ddg-ink); display: flex; font-size: .875rem; font-weight: 700; gap: 12px; justify-content: space-between; text-decoration: none; }
.ddg-member-page__download-card a:hover { text-decoration: underline; }
.ddg-member-page__download-card a span { color: #8d6500; }

.ddg-site-footer { background: var(--ddg-gold); padding-top: 55px; }
.ddg-site-footer__inner { align-items: center; display: flex; justify-content: space-between; padding-bottom: 42px; }
.ddg-site-footer__inner img { height: auto; max-width: 300px; width: 34vw; }
.ddg-site-footer__logo { filter: brightness(0); }
.ddg-site-footer__links { display: flex; gap: 30px; }
.ddg-site-footer__meta { border-top: 1px solid rgba(23,37,54,.45); font-size: .68rem; padding-block: 22px; }
.ddg-site-footer__meta p { margin: 0; }

@media (max-width: 980px) {
	.ddg-site-header__nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.ddg-site-header__nav .wp-block-navigation__responsive-container-open { display: flex !important; }
	.ddg-site-header__inner { justify-content: space-between; }
	.ddg-section-heading, .ddg-membership { grid-template-columns: 1fr; }
	.ddg-section-heading { gap: 15px; }
	.ddg-process__steps { grid-template-columns: 1fr 1fr; }
	.ddg-board__grid { grid-template-columns: 1fr 1fr; }
	.ddg-training-content { grid-template-columns: 1fr; }
	.ddg-training-content > div, .ddg-training-content > div + div { border-bottom: 1px solid #536273; border-right: 0; padding: 30px 0; }
	.ddg-board-page__profile { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); }
	.ddg-board-page__profile--reverse { grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr); }
	.ddg-member-page__intro { grid-template-columns: 1fr; }
	.ddg-member-page__eligibility { max-width: 620px; }
	.ddg-member-page__download-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
	.ddg-shell { width: calc(100vw - 32px); }
	.ddg-back-to-top { bottom: max(16px, env(safe-area-inset-bottom)); right: max(16px, env(safe-area-inset-right)); }
	.wp-site-blocks > main:has(.ddg-board-page) .wp-block-post-title { width: calc(100vw - 32px); }
	.ddg-news-grid { width: calc(100% - 32px); }
	.ddg-site-header__inner { gap: 15px; min-height: 72px; }
	.ddg-site-header__logo img { width: 156px; }
	.ddg-button--small { font-size: .72rem; }
	.ddg-button--small.wp-block-button > .wp-block-button__link { padding: 9px 11px; }
	.ddg-statement { padding: 34px 25px; }
	.ddg-detail-copy { grid-template-columns: 1fr; padding-left: 0; }
	.ddg-prizes, .ddg-event-grid, .ddg-training-intro { grid-template-columns: 1fr; }
	.ddg-event-grid article { min-height: auto; }
	.ddg-process__steps { grid-template-columns: 1fr; }
	.ddg-process__steps > div { min-height: 110px; }
	.ddg-board__grid { grid-template-columns: 1fr; }
	.ddg-board__contact { align-items: flex-start; flex-direction: column; gap: 14px; }
	.ddg-site-footer__inner { align-items: flex-start; flex-direction: column; gap: 30px; }
	.ddg-site-footer__inner img { width: min(300px, 80vw); }
	.ddg-site-footer__links { flex-wrap: wrap; }
	.ddg-board-page__hero { padding-top: 60px; }
	.ddg-board-page__group-photo { aspect-ratio: 4 / 3 !important; }
	.ddg-board-page__profile { grid-template-columns: 1fr; min-height: 0; }
	.ddg-board-page__profile > figure,
	.ddg-board-page__profile--reverse > figure { grid-column: 1; grid-row: 1; }
	.ddg-board-page__profile > .ddg-board-page__content,
	.ddg-board-page__profile--reverse > .ddg-board-page__content { grid-column: 1; grid-row: 2; }
	.ddg-board-page__content { padding: 32px 24px 38px; }
	.wp-site-blocks > main:has(.ddg-member-page) .wp-block-post-title { width: calc(100vw - 32px); }
	.ddg-member-page__section-heading { align-items: start; grid-template-columns: 1fr; }
	.ddg-member-page__section-heading h2 { max-width: none; }
	.ddg-member-page__form-frame,
	.ddg-member-page__form-frame iframe { min-height: 1180px; }
	.ddg-member-page__form-frame iframe { height: 1180px; }
	.ddg-member-page__download-grid { grid-template-columns: 1fr; }
	.ddg-member-page__download-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ddg-button, .ddg-event-grid article, .ddg-news-grid img, .ddg-board-card > figure img, .ddg-board-page__profile > figure img { transition: none !important; }
}
