/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
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;
}

/* ===== Official Classic AGD header (compact structure) ===== */
:root {
	--agd-pattern-color: #f3a8b0;
	--agd-symbol-color: #f3a8b0;
	--agd-dot-distance: 6px;
	--agd-header-height: 84px;
	--agd-page-top-gap: 18px;
}

/* Logged-in frontend: sit fixed AGD chrome below WordPress admin bar (#wpadminbar). */
body.admin-bar .agd-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .agd-header {
		top: 46px;
	}
}

body.admin-bar .agd-page,
body.admin-bar .agd-home-page,
body.admin-bar .agd-about-page,
body.admin-bar .agd-links-page,
body.admin-bar .agd-single-project {
	padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap) + 32px);
}

body.admin-bar .agd-page.agd-section-page {
	padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap) + 32px) !important;
}

@media (max-width: 782px) {
	body.admin-bar .agd-page,
	body.admin-bar .agd-home-page,
	body.admin-bar .agd-about-page,
	body.admin-bar .agd-links-page,
	body.admin-bar .agd-single-project {
		padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap) + 46px);
	}

	body.admin-bar .agd-page.agd-section-page {
		padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap) + 46px) !important;
	}
}

.agd-header {
	height: 84px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	background: #fff;
	border-bottom: none;
	box-shadow: none !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	overflow: hidden;
	isolation: isolate;
	backdrop-filter: blur(0px);
}

.agd-header-inner {
	width: 100%;
	height: 84px;
	margin: 0;
}

/* Mobile header chrome (shown below desktop breakpoint via media query) */
.agd-mobile-bar,
.agd-mobile-mini-row,
.agd-mobile-menu {
	display: none;
}

header.agd-header,
.agd-header,
.agd-header-inner {
	border-top: 0 !important;
}

.agd-main-row {
	height: 66px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.agd-brand {
	flex: 0 0 130px;
	width: 130px;
	height: 66px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 14px 8px 0 8px;
	box-sizing: border-box;
	color: #000;
	text-decoration: none;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -1.2px;
	background: #fff;
	background-image: none;
}

.agd-brand,
.agd-brand a,
.agd-brand-title {
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
}

.agd-brand.is-active {
	background-color: #fff;
	background-image: radial-gradient(
		circle at center,
		var(--agd-pattern-color, #f3a8b0) 0,
		var(--agd-pattern-color, #f3a8b0) 0.975px,
		transparent 1.1px
	);
	background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75);
	background-position: center;
}

.agd-nav {
	height: 66px;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	margin-left: 0;
}

.agd-symbol,
.agd-nav,
.agd-main-row {
	background: #fff !important;
	background-image: none !important;
}

.agd-nav-item {
	display: block;
	flex: 0 0 auto;
	width: 190px;
	height: 66px;
	box-sizing: border-box;
	padding: 18px 8px 0 8px;
	text-decoration: none;
	color: var(--agd-symbol-color, #f3a8b0);
	background: #fff !important;
	background-image: none !important;
}

.agd-nav-item:hover,
.agd-nav-item.is-active,
.agd-nav-item.current-menu-item,
.agd-nav-item[aria-current="page"] {
	color: #000;
	background-color: #fff !important;
	background-image: radial-gradient(
		circle at center,
		var(--agd-pattern-color, #f3a8b0) 0,
		var(--agd-pattern-color, #f3a8b0) 0.975px,
		transparent 1.1px
	) !important;
	background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75) !important;
	background-position: center !important;
}

.agd-nav-item:hover .agd-nav-title,
.agd-nav-item:hover .agd-nav-subtitle,
.agd-nav-item.is-active .agd-nav-title,
.agd-nav-item.is-active .agd-nav-subtitle,
.agd-nav-item.current-menu-item .agd-nav-title,
.agd-nav-item.current-menu-item .agd-nav-subtitle,
.agd-nav-item[aria-current="page"] .agd-nav-title,
.agd-nav-item[aria-current="page"] .agd-nav-subtitle {
	color: #000 !important;
}

.agd-nav-item:hover *,
.agd-nav-item.is-active *,
.agd-nav-item.current-menu-item *,
.agd-nav-item[aria-current="page"] * {
	color: #000 !important;
}

/* Nav links: no default click outline; keyboard gets subtle ring via :focus-visible below */
.agd-nav-item:focus,
.agd-nav-item:active,
.agd-nav-item:focus-visible,
.agd-nav-item a:focus,
.agd-nav-item a:active,
.agd-nav-item a:focus-visible {
	outline: none;
	box-shadow: none;
}

.agd-brand:focus,
.agd-brand:active,
.agd-brand:focus-visible {
	outline: none;
	box-shadow: none;
}

.agd-nav-item:focus-visible,
.agd-brand:focus-visible {
	outline: 1px solid var(--agd-symbol-color, #f3a8b0);
	outline-offset: -1px;
}

.agd-nav-title {
	display: block;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.agd-nav-subtitle {
	display: block;
	margin-top: 6px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.agd-symbol {
	margin-left: auto;
	flex: 0 0 auto;
	flex-shrink: 0;
	width: auto;
	min-width: 0;
	max-width: min(240px, 38vw);
	height: 66px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 0 0 0 8px;
	color: var(--agd-symbol-color, #f3a8b0);
	background: #fff;
}

.agd-symbol-mark {
	font-size: 31px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -2px;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.agd-symbol-copy {
	font-size: 10px;
	font-weight: 700;
	color: var(--agd-symbol-color, #f3a8b0);
	text-align: right;
	white-space: nowrap;
	display: flex;
	align-items: center;
	line-height: 1;
	flex: 0 0 auto;
}

.agd-symbol img,
.agd-symbol-logo-image {
	display: block;
	max-width: 100px;
	max-height: 48px;
	width: auto;
	height: auto;
	object-fit: contain;
	flex: 0 0 auto;
}

.agd-symbol-fallback {
	display: block;
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -2px;
	color: var(--agd-symbol-color, #f3a8b0);
	text-align: center;
	flex: 0 0 auto;
}

.agd-bottom-row {
	height: 18px;
	display: flex;
	align-items: flex-start;
}

.agd-mini-nav {
	flex: 0 0 auto;
	height: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 2px;
	margin-bottom: 2px;
	padding-left: 8px;
	box-sizing: border-box;
	white-space: nowrap;
	overflow: hidden;
}

.agd-mini-nav a {
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
	text-decoration: none;
	display: block;
	white-space: nowrap;
}

.agd-mini-main,
.agd-mini-random {
	font-size: 14px;
	line-height: 14px;
	font-weight: 700;
	display: block;
	white-space: nowrap;
}

.agd-mini-main {
	color: #000;
	font-weight: 700;
	min-width: 0;
	flex-shrink: 1;
	overflow: hidden;
	text-overflow: ellipsis;
}

.agd-mini-random {
	color: var(--agd-symbol-color, #f3a8b0);
}

/* Section archive sort (Newest / Oldest): active = black pill + pink text */
.agd-mini-nav a.is-selected,
.agd-mini-nav a[aria-current="true"] {
	background: #000;
	color: var(--agd-symbol-color, #f3a8b0) !important;
	padding: 0 4px;
	box-sizing: border-box;
}

.agd-mini-nav a:not(.is-selected):not([aria-current="true"]) {
	background: transparent;
}

.agd-bottom-dots {
	flex: 1;
	height: 10px;
	margin-top: 4px;
	margin-left: 6px;
	background-color: #fff !important;
	background-image: radial-gradient(
		circle at center,
		var(--agd-pattern-color, #f3a8b0) 0,
		var(--agd-pattern-color, #f3a8b0) 0.975px,
		transparent 1.1px
	) !important;
	background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75) !important;
	background-position: center !important;
}

@media (min-width: 1440px) {
	.agd-header-inner {
		display: block;
	}

	.agd-mobile-bar,
	.agd-mobile-menu {
		display: none !important;
	}

	.agd-main-row {
		display: flex;
		align-items: flex-start;
		gap: 6px;
	}

	.agd-brand {
		flex: 0 0 130px;
	}

	.agd-nav {
		display: flex;
		gap: 6px;
		flex: 0 0 auto;
	}

	.agd-nav .agd-nav-title {
		font-size: 22px;
		line-height: 1;
		font-weight: 700;
		white-space: nowrap;
	}

	.agd-nav .agd-nav-subtitle {
		font-size: 14px;
		line-height: 1;
		font-weight: 700;
		margin-top: 4px;
		white-space: nowrap;
	}

	.agd-nav .agd-nav-item {
		flex: 0 0 196px;
		width: 196px;
		height: 66px;
		box-sizing: border-box;
		padding: 14px 8px 0 8px;
	}

	.agd-symbol {
		margin-left: auto;
		flex: 0 0 auto;
		width: auto;
		min-width: 0;
		max-width: min(260px, 40vw);
		flex-shrink: 0;
	}
}

@media (max-width: 1399px) {
	.agd-symbol {
		flex: 0 0 auto;
		width: auto;
		max-width: min(240px, 42vw);
	}
}

@media (max-width: 1439px) {
	.agd-header {
		height: auto;
		min-height: 56px;
		overflow: visible;
		background-color: #fff;
		background-image: radial-gradient(
			circle at center,
			var(--agd-pattern-color, #f3a8b0) 0,
			var(--agd-pattern-color, #f3a8b0) 0.975px,
			transparent 1.1px
		);
		background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75);
		background-position: center;
	}

	.agd-header-inner {
		display: none !important;
	}

	.agd-mobile-bar {
		display: flex !important;
		height: 56px;
		align-items: center;
		justify-content: space-between;
		padding: 0 12px;
		box-sizing: border-box;
		background: transparent;
	}

	.agd-mobile-brand {
		color: #000;
		font-size: 22px;
		font-weight: 900;
		line-height: 1;
		white-space: nowrap;
		text-decoration: none;
		overflow: hidden;
		text-overflow: ellipsis;
		min-width: 0;
		flex: 1;
		margin-right: 12px;
	}

	.agd-mobile-toggle {
		flex-shrink: 0;
		width: 34px;
		height: 28px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		padding: 4px 0;
		border: 0;
		background: transparent;
		cursor: pointer;
		box-sizing: border-box;
	}

	.agd-mobile-toggle span {
		display: block;
		height: 3px;
		background: #000;
		border-radius: 1px;
	}

	.agd-mobile-toggle:focus,
	.agd-mobile-toggle:active {
		outline: none;
		box-shadow: none;
	}

	.agd-mobile-toggle:focus-visible {
		outline: 1px solid var(--agd-symbol-color, #f3a8b0);
		outline-offset: 2px;
	}

	.agd-mobile-menu {
		display: none;
		flex-direction: column;
		gap: 6px;
		padding: 6px 0;
		width: 100%;
		background: #fff;
		box-sizing: border-box;
	}

	.agd-mobile-menu.is-open {
		display: flex;
	}

	.agd-mobile-mini-row {
		display: flex;
		align-items: center;
		width: 100%;
		height: 18px;
		padding: 0 8px 0 8px;
		box-sizing: border-box;
		background: #fff;
		overflow: hidden;
		gap: 6px;
	}

	.agd-mobile-mini-row .agd-mini-nav {
		display: flex;
		align-items: center;
		gap: 8px;
		flex: 0 0 auto;
		height: 14px;
		white-space: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.agd-mobile-mini-row .agd-mini-nav::-webkit-scrollbar {
		display: none;
	}

	.agd-mobile-mini-row .agd-mini-main,
	.agd-mobile-mini-row .agd-mini-random {
		font-size: 14px;
		line-height: 14px;
		font-weight: 700;
		text-decoration: none;
		white-space: nowrap;
	}

	.agd-mobile-mini-row .agd-mini-main {
		color: #000;
	}

	.agd-mobile-mini-row .agd-mini-random {
		color: var(--agd-symbol-color, #f3a8b0);
	}

	.agd-mobile-mini-row .agd-mini-random.is-selected,
	.agd-mobile-mini-row .agd-mini-random[aria-current="true"] {
		background: #000;
		color: var(--agd-symbol-color, #f3a8b0);
		padding: 0 4px;
	}

	.agd-mobile-mini-row .agd-bottom-dots {
		flex: 1 1 auto;
		height: 10px;
		margin-left: 6px;
		background-color: #fff;
		background-image: radial-gradient(
			circle at center,
			var(--agd-pattern-color, #f3a8b0) 0,
			var(--agd-pattern-color, #f3a8b0) 0.975px,
			transparent 1.1px
		);
		background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75);
	}

	.agd-mobile-copyright {
		flex: 0 0 auto;
		font-size: 9px;
		line-height: 1;
		font-weight: 700;
		color: var(--agd-symbol-color, #f3a8b0);
		text-align: right;
		white-space: nowrap;
		display: flex;
		align-items: center;
		max-width: none;
	}

	.agd-mobile-menu .agd-nav-item {
		width: 100%;
		flex: 0 0 auto;
		min-width: 0;
		height: auto;
		margin: 0;
		padding: 14px 12px;
		box-sizing: border-box;
		background-color: #fff !important;
		background-image: none !important;
		color: var(--agd-symbol-color, #f3a8b0);
		text-decoration: none;
	}

	.agd-mobile-menu .agd-nav-title {
		font-size: 18px;
		color: inherit;
	}

	.agd-mobile-menu .agd-nav-subtitle {
		font-size: 11px;
		margin-top: 6px;
		color: inherit;
	}

	.agd-mobile-menu .agd-nav-item.is-active,
	.agd-mobile-menu .agd-nav-item.current-menu-item,
	.agd-mobile-menu .agd-nav-item[aria-current="page"],
	.agd-mobile-menu .agd-nav-item:hover {
		color: #000 !important;
		background-color: #fff !important;
		background-image: radial-gradient(
			circle at center,
			var(--agd-pattern-color, #f3a8b0) 0,
			var(--agd-pattern-color, #f3a8b0) 0.975px,
			transparent 1.1px
		) !important;
		background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75) !important;
		background-position: center !important;
	}

	.agd-mobile-menu .agd-nav-item.is-active .agd-nav-title,
	.agd-mobile-menu .agd-nav-item.is-active .agd-nav-subtitle,
	.agd-mobile-menu .agd-nav-item.current-menu-item .agd-nav-title,
	.agd-mobile-menu .agd-nav-item.current-menu-item .agd-nav-subtitle,
	.agd-mobile-menu .agd-nav-item[aria-current="page"] .agd-nav-title,
	.agd-mobile-menu .agd-nav-item[aria-current="page"] .agd-nav-subtitle,
	.agd-mobile-menu .agd-nav-item:hover .agd-nav-title,
	.agd-mobile-menu .agd-nav-item:hover .agd-nav-subtitle {
		color: #000 !important;
	}
}

html,
body {
	margin: 0;
	padding: 0;
	background: #fff;
}

.agd-page {
	width: 100%;
	margin: 0;
	padding: 0;
	padding-top: 84px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}

.agd-links-page,
.agd-about-page,
.agd-single-project,
.agd-home-page {
	padding-top: 84px;
	box-sizing: border-box;
}

.agd-about-page,
.agd-links-page {
	margin-top: 0 !important;
	padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap)) !important;
}

.agd-single-project {
	margin-top: 0 !important;
	padding-top: calc(var(--agd-header-height) + var(--agd-page-top-gap)) !important;
	box-sizing: border-box;
}

.agd-site-wrap {
	margin-left: 0;
	margin-right: auto;
}

@media (min-width: 768px) {
	.agd-site-wrap {
		width: 97%;
		margin-left: 0;
		margin-right: auto;
	}

	.agd-header {
		width: 97%;
	}
}

/* Copyright moved into header; right gutter markup removed — hide if it reappears. */
.agd-right-gap,
.agd-right-meta {
	display: none !important;
}

.agd-section-page {
	padding-top: 0;
}

.agd-project-grid {
	display: block;
	column-count: 3;
	column-gap: 6px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* Front page only: space below header mini-row before the project grid. */
.home .agd-home-page .agd-project-grid {
	margin-top: 18px;
}

.agd-project-card {
	display: block;
	width: 100%;
	position: relative;
	break-inside: avoid;
	margin: 0 0 6px 0;
	padding: 0;
	line-height: 0;
	text-decoration: none;
}

.agd-project-card img {
	display: block;
	width: 100%;
	height: auto;
}

.agd-project-card .agd-project-placeholder,
.project-card__image-wrap .agd-project-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	width: 100%;
	font-size: 12px;
	line-height: 1.4;
	color: #666;
	background: #f0f0f0;
	box-sizing: border-box;
}

.agd-project-hover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;

	display: inline-flex;
	align-items: stretch;
	width: max-content;
	max-width: 80%;

	box-sizing: border-box;
	overflow: hidden;

	opacity: 0;
	pointer-events: none;

	background-color: #fff;

	background-image: radial-gradient(
		circle at center,
		var(--agd-pattern-color, #f3a8b0) 0,
		var(--agd-pattern-color, #f3a8b0) 0.975px,
		transparent 1.1px
	);

	background-size: calc(var(--agd-dot-distance, 6px) * 0.75) calc(var(--agd-dot-distance, 6px) * 0.75);
}

.agd-project-card:hover .agd-project-hover {
	opacity: 1;
}

.agd-project-hover-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 0 1 auto;
	min-width: 0;
	padding: 6px 10px;
	box-sizing: border-box;
}

.agd-project-hover-title,
.agd-project-hover-date {
	display: block;
	color: #000;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.05;
	white-space: nowrap;
}

.agd-project-hover-section {
	flex: 0 0 auto;
	align-self: flex-end;

	margin: 0;
	padding: 6px 10px;

	background: #000;
	color: var(--agd-symbol-color, #f3a8b0);

	font-size: 14px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

@media (min-width: 2200px) {
	.agd-project-grid {
		column-count: 4;
	}
}

@media (min-width: 3000px) {
	.agd-project-grid {
		column-count: 5;
	}
}

@media (max-width: 767px) {
	.agd-project-grid {
		column-count: 1;
	}
}

.agd-empty {
	margin: 10px 12px;
	font-size: 13px;
}

.agd-single-project {
	display: block;
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-project-info {
	flex: 0 0 auto;
	width: 338px;
	max-width: 338px;
	box-sizing: border-box;
	padding: 14px 12px 0 8px;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
	color: #000;
}

.agd-project-title {
	margin: 0 0 18px 0;
	width: 338px;
	max-width: 338px;
	box-sizing: border-box;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-project-date {
	margin: 6px 0 18px 0;
	width: 338px;
	max-width: 338px;
	box-sizing: border-box;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-project-description {
	margin-top: 18px;
	width: 338px;
	max-width: 338px;
	box-sizing: border-box;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-project-description p {
	margin: 0 0 10px 0;
	width: 338px;
	max-width: 338px;
	box-sizing: border-box;
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-project-media {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	overflow: visible;
	min-width: 0;
	padding: 0;
	margin: 0;
	line-height: 0;
}

.agd-project-media img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center top;
	display: block;
}

.agd-project-card img,
.agd-project-media img,
.agd-about-images img {
	-webkit-user-drag: none;
	user-select: none;
	-webkit-user-select: none;
}

@media (min-width: 1440px) {
	.agd-single-project {
		position: relative;
		display: block;
		width: 100%;
		min-height: 100vh;
		margin-top: 18px;
		padding-left: 8px;
		box-sizing: border-box;
	}

	.agd-project-info {
		position: absolute;
		left: 8px;
		top: 0;
		width: 338px;
		max-width: 338px;
	}

	.agd-project-media {
		position: absolute;
		left: 540px;
		top: 0;
		width: calc(100% - 540px);
		max-width: none;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.agd-project-media img {
		width: 100%;
		height: 100vh;
		object-fit: contain;
		object-position: right top;
	}

	.agd-single-project .agd-project-info,
	.agd-single-project .agd-project-media {
		top: calc(var(--agd-header-height) + var(--agd-page-top-gap)) !important;
	}
}

@media (max-width: 1439px) {
	.agd-single-project {
		display: block;
		width: 100%;
		margin-top: 18px;
		padding-left: 8px;
		padding-right: 0;
		box-sizing: border-box;
	}

	.agd-project-info,
	.agd-project-media {
		position: static !important;
		left: auto !important;
		top: auto !important;
		width: auto !important;
		max-width: none !important;
	}

	.agd-project-info {
		margin-bottom: 18px;
	}

	.agd-project-media {
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.agd-project-media img {
		width: 100%;
		height: auto;
		max-height: none;
		object-fit: contain;
		object-position: center top;
	}
}

@media (max-width: 767px) {
	.agd-project-info {
		max-width: 100%;
	}

	.agd-project-title,
	.agd-project-date,
	.agd-project-description,
	.agd-project-description p {
		width: auto;
		max-width: none;
	}
}

/* ----- AGD Links page (/links/) — 3 columns on desktop ----- */
.agd-links-page {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #000;
	background: #fff;
}

.agd-links-page,
.agd-links-page p,
.agd-links-page li {
	font-size: 26px;
	line-height: 1;
	font-weight: 700;
}

.agd-links-col {
	padding: 0;
	box-sizing: border-box;
}

.agd-links-intro p {
	margin: 0 0 18px 0;
}

.agd-links-intro p:last-child {
	margin-bottom: 0;
}

.agd-links-group {
	margin: 0 0 42px 0;
}

.agd-links-group h2 {
	margin: 0 0 22px 0;
	font-size: 14px;
	line-height: 1;
	font-weight: 900;
	color: var(--agd-symbol-color, #f3a8b0);
}

.agd-links-group ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.agd-links-group li {
	margin: 0;
	padding: 0;
}

.agd-links-page a {
	color: #000;
	text-decoration: none;
}

.agd-links-page a:hover {
	color: var(--agd-symbol-color, #f3a8b0);
}

@media (min-width: 1440px) {
	.agd-links-page {
		position: relative;
		display: block;
		width: 100%;
		min-height: 100vh;
		margin-top: 0;
		padding-left: 8px;
		box-sizing: border-box;
	}

	.agd-links-intro {
		position: absolute;
		left: 8px;
		top: 0;
		width: 338px;
		max-width: 338px;
	}

	.agd-links-col:nth-of-type(2) {
		position: absolute;
		left: 540px;
		top: 0;
		width: 196px;
	}

	.agd-links-col:nth-of-type(3) {
		position: absolute;
		left: 954px;
		top: 0;
		width: 196px;
	}

	.agd-links-intro,
	.agd-links-col {
		top: calc(var(--agd-header-height) + var(--agd-page-top-gap)) !important;
	}
}

@media (max-width: 1439px) {
	.agd-links-page {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 6px;
		width: 100%;
		margin-top: 18px;
		padding-left: 8px;
		padding-right: 0;
		box-sizing: border-box;
	}

	.agd-links-intro,
	.agd-links-col {
		position: static !important;
		left: auto !important;
		top: auto !important;
		width: auto !important;
		max-width: none !important;
	}

	.agd-links-intro {
		grid-column: 1 / -1;
		max-width: 640px !important;
	}
}

/* ----- AGD About page (/about/) ----- */
.agd-about-page {
	display: grid;
	grid-template-columns: 338px 1fr;
	gap: 6px;
	width: 100%;
	margin: 18px 0 0 0;
	padding: 0 0 0 8px;
	box-sizing: border-box;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background: #fff;
}

.agd-about-text {
	width: 338px;
	max-width: 338px;
}

.agd-about-text,
.agd-about-text p,
.agd-about-text a {
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
}

.agd-about-text {
	color: #000;
}

.agd-about-text p {
	margin: 0 0 18px 0;
}

.agd-about-text a {
	font-size: 14px;
	line-height: 1.08;
	font-weight: 900;
	color: var(--agd-symbol-color, #f3a8b0);
	text-decoration: none;
}

.agd-about-images {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	max-width: 620px;
}

.agd-about-images img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

@media (min-width: 1440px) {
	.agd-about-page {
		position: relative;
		display: block;
		width: 100%;
		margin-top: 0;
		padding-left: 8px;
		box-sizing: border-box;
	}

	.agd-about-text {
		position: absolute;
		left: 8px;
		top: 0;
		width: 338px;
		max-width: 338px;
	}

	.agd-about-images {
		position: absolute;
		left: 540px;
		top: 0;
		width: calc(100% - 540px);
		max-width: none;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.agd-about-images img {
		display: block;
		width: 100%;
		height: auto;
		object-fit: contain;
	}

	.agd-about-text,
	.agd-about-images {
		top: calc(var(--agd-header-height) + var(--agd-page-top-gap)) !important;
	}
}

@media (max-width: 1439px) {
	.agd-about-page {
		display: block;
		margin-top: 18px;
		padding-left: 8px;
		padding-right: 0;
		box-sizing: border-box;
	}

	.agd-about-text {
		position: static;
		width: 100%;
		max-width: 640px;
	}

	.agd-about-images {
		position: static;
		width: 100%;
		max-width: none;
		margin-top: 18px;
		display: flex;
		flex-direction: column;
		gap: 6px;
	}

	.agd-about-images img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
}

.agd-page,
.agd-links-page,
.agd-about-page,
.agd-single-project,
.agd-home-page {
	padding-top: 84px !important;
	box-sizing: border-box;
}

body.agd-body {
	margin: 0;
	padding: 0;
	background: #fff;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	overflow-x: hidden;
}

body.agd-body a {
	text-decoration: none;
}

body.agd-body .wp-site-blocks,
body.agd-body main {
	margin-block-start: 0;
}

/* Mobile: content flush to the right edge (desktop unchanged) */
@media (max-width: 767px) {
	.agd-page,
	.agd-links-page,
	.agd-project-grid,
	.agd-single-project,
	.agd-project-info,
	.agd-project-media {
		padding-right: 0 !important;
	}

	.agd-site-wrap,
	.agd-header {
		width: 100%;
		max-width: 100%;
		margin-right: 0;
	}

	.agd-site-wrap {
		padding-right: 0 !important;
	}

	body.agd-body .wp-site-blocks,
	body.agd-body main {
		padding-right: 0 !important;
	}

	.agd-links-page {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-left: 8px;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	html,
	body {
		width: 100%;
		max-width: 100%;
		overflow-x: hidden;
		margin: 0;
		padding: 0;
	}

	.site,
	.site-main,
	.wp-site-blocks,
	.agd-page,
	.agd-home-page,
	.agd-about-page,
	.agd-links-page,
	.agd-single-project,
	.agd-project-grid,
	.agd-project-media,
	.agd-about-images,
	.agd-archive-grid {
		width: 100%;
		max-width: 100%;
		margin-right: 0 !important;
		padding-right: 0 !important;
		box-sizing: border-box;
		overflow-x: hidden;
	}

	.agd-project-grid,
	.agd-archive-grid {
		padding-right: 0 !important;
		margin-right: 0 !important;
	}

	.agd-project-card,
	.agd-project-card img,
	.agd-project-media img,
	.agd-about-images img,
	.agd-archive-grid img {
		width: 100%;
		max-width: 100%;
		display: block;
	}

	img {
		height: auto;
	}
}

/* Native cursor (AGD custom cursor removed). */
body,
body.agd-body,
a,
button,
img,
input,
textarea,
select,
.agd-project-card {
	cursor: auto;
}
