/*!
Theme Name: mansanta
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Theme personalizado para el sitio de Francisco Mansanta.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mansanta
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&display=swap');

@font-face {
	font-family: 'Sitka VF';
	src: url('assets/fonts/SitkaVF.ttf') format('truetype');
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
}

@font-face {
	font-family: 'Sitka VF';
	src: url('assets/fonts/SitkaVF-Italic.ttf') format('truetype');
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
}

:root {
	--font-heading: 'Sitka VF', 'Times New Roman', serif;
	--font-body: 'Inter Tight', 'Trebuchet MS', sans-serif;
	--color-bg: #ffffff;
	--color-bg-soft: #f5f5f5;
	--color-text: #262626;
	--color-muted: #646464;
	--color-dark: #23252b;
	--color-dark-soft: #2f3034;
	--color-gold: #a56f38;
	--color-gold-soft: #c28a48;
	--color-line: #d4d4d4;
	--container-width: 1150px;
	--space-1: 0.5rem;
	--space-2: 0.75rem;
	--space-3: 1rem;
	--space-4: 1.5rem;
	--space-5: 2rem;
	--space-6: 3rem;
	--space-7: 4.5rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.5;
	color: var(--color-text);
	background: var(--color-bg);
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0 0 var(--space-4);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--space-3);
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.2;
}

.layout-container {
	width: min(var(--container-width), calc(100% - 3rem));
	margin-inline: auto;
}

.section-title {
	margin-bottom: var(--space-4);
	font-family: var(--font-body);
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--color-gold);
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.8rem;
	border: 0;
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	cursor: pointer;
	appearance: none;
	transition: background-color 0.2s ease;
}

.button--gold {
	color: #fff;
	background: var(--color-gold);
}

.button--gold:hover,
.button--gold:focus-visible {
	background: var(--color-gold-soft);
}

.site {
	min-height: 100vh;
}

.site-main {
	display: block;
}

.site-header {
	position: relative;
	z-index: 20;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	min-height: 88px;
	padding: 0 var(--space-5);
	font-family: var(--font-heading);
	font-size: 1.9rem;
	color: #f2f2f2;
	white-space: nowrap;
}

.site-header--home {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.site-header--home .site-header__inner {
	padding-top: 2.1rem;
	justify-content: center;
}

.site-header--home .site-header__brand {
	opacity: 0;
	pointer-events: none;
	display: none;
}

.site-header--home .main-navigation {
	width: 100%;
	display: flex;
	justify-content: center;
}

.site-header--home .menu--desktop {
	gap: 4rem;
}

.site-header--home .menu--desktop a {
	color: #505050;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.site-header--inner {
	background: var(--color-dark);
}

.site-header--inner .site-header__inner {
	position: relative;
	padding-right: 0;
}

.site-header--inner .site-header__brand {
	position: relative;
	background: var(--color-gold);
	font-size: 2rem;
	z-index: 1;
}

.site-header--inner .site-header__brand::before {
	content: '';
	position: absolute;
	top: 0;
	right: 100%;
	bottom: 0;
	width: 100vw;
	background: var(--color-gold);
}

.main-navigation {
	position: relative;
}

.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu--desktop {
	display: flex;
	gap: 2.3rem;
}

.menu--desktop a {
	display: inline-flex;
	padding: 0.35rem 0;
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 700;
	color: #fbfbfb;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.menu-toggle {
	display: none;
	position: relative;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	background: transparent;
	color: var(--color-gold);
	cursor: pointer;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	position: absolute;
	left: 0.38rem;
	width: 1.5rem;
	height: 2px;
	background: currentColor;
	content: '';
	transition:
		transform 0.25s ease,
		opacity 0.25s ease;
}

.menu-toggle__bars {
	top: 1.18rem;
}

.menu-toggle__bars::before {
	top: -0.45rem;
	left: 0;
}

.menu-toggle__bars::after {
	top: 0.45rem;
	left: 0;
}

.main-navigation.is-open .menu-toggle__bars {
	background: transparent;
}

.main-navigation.is-open .menu-toggle__bars::before {
	transform: translateY(0.45rem) rotate(45deg);
}

.main-navigation.is-open .menu-toggle__bars::after {
	transform: translateY(-0.45rem) rotate(-45deg);
}

.main-navigation__mobile-panel {
	position: fixed;
	width: min(84vw, 430px);
	padding: 6rem 2.4rem 3rem;
	background: #e8e8e8;
	box-shadow: -18px 0 35px rgba(0, 0, 0, 0.22);
	z-index: 40;
	top: 0;
	right: 0;
	bottom: 0;
	height: 100%;
}

.main-navigation__mobile-panel .menu--mobile {
	display: grid;
	gap: 1.35rem;
}

.main-navigation__mobile-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--color-dark);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.main-navigation__mobile-panel a {
	font-family: var(--font-body);
	font-size: 2.15rem;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.menu--mobile-extra {
	margin-top: 1.35rem;
}

.main-navigation__mobile-brand {
	position: absolute;
	right: 2.4rem;
	bottom: 1.5rem;
	left: 2.4rem;
	margin: 0;
	font-family: var(--font-heading);
	font-size: 2rem;
	color: var(--color-gold);
}

body.menu-is-open {
	overflow: hidden;
}

.hero {
	position: relative;
	min-height: clamp(680px, 92vh, 760px);
	display: flex;
	align-items: flex-end;
}

.hero__image {
	position: absolute;
	inset: 0;
	background: url('assets/images/hero-bg.jpg') right center / cover no-repeat;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(236, 236, 236, 0.88) 0%,
		rgba(236, 236, 236, 0.72) 33%,
		rgba(236, 236, 236, 0.26) 60%,
		rgba(236, 236, 236, 0.02) 82%
	);
}

.hero__content {
	position: relative;
	z-index: 2;
	color: #222;
	margin-bottom: 100px;
}

.hero__portrait {
	width: 150px;
	height: 150px;
	margin-bottom: var(--space-3);
	border-radius: 999px;
	object-fit: cover;
	border: 2px solid rgba(83, 83, 83, 0.7);
}

.hero__prefix {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.15rem;
	color: var(--color-gold);
}

.hero__title {
	margin-bottom: var(--space-3);
	font-size: clamp(2rem, 4.6vw, 4rem);
	line-height: 1.02;
	white-space: nowrap;
	font-style: italic;
	color: var(--color-gold);
}

.hero__description {
	margin-bottom: var(--space-4);
	max-width: 60ch;
	font-size: 1.25rem;
	line-height: 1.52;
	color: #222;
}

.hero .button {
	padding: 0.55rem 1.1rem;
	font-size: 0.88rem;
	border-radius: 12px;
}

.hero__social {
	position: absolute;
	right: 0;
	z-index: 2;
	display: flex;
	gap: 0.8rem;
}

.hero__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 999px;
	background: #fff;
	padding: 0.45rem;
}

.hero__social img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.main-navigation__mobile-social {
	display: flex;
	gap: 0.7rem;
	margin-top: 1.4rem;
}

.main-navigation__mobile-panel .main-navigation__mobile-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 999px;
	padding: 0.45rem;
	background: #fff;
	font-size: 0;
	line-height: 0;
}

.main-navigation__mobile-panel .main-navigation__mobile-social img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero__dots {
	position: absolute;
	right: max((100vw - var(--container-width)) / 2 + -5rem, 1.5rem);
	bottom: 6.6rem;
	z-index: 2;
	width: 9.4rem;
	height: 9.4rem;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.92) 3px, transparent 3px);
	background-size: 1.57rem 1.57rem;
	pointer-events: none;
}

.projects {
	padding: 6rem 0;
	background: #ededed;
}

.projects .layout-container {
	position: relative;
}

.projects__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.2rem;
}

.projects .section-title {
	margin-bottom: 0;
}

.projects__controls {
	display: inline-flex;
	gap: 0.55rem;
}

.projects__control {
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid rgba(35, 37, 43, 0.3);
	border-radius: 999px;
	background: transparent;
	color: #23252b;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

.projects__control:disabled {
	opacity: 0.35;
	cursor: default;
}

.projects__viewport {
	overflow: hidden;
}

.projects__track {
	display: flex;
	gap: 2rem;
	transition: transform 0.35s ease;
	will-change: transform;
}

.projects__track .project-card {
	flex: 0 0 calc((100% - 4rem) / 3);
}

.project-card {
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 1.15rem;
	align-items: start;
}

.projects .project-card[hidden] {
	display: none !important;
}

.project-card img {
	aspect-ratio: 3 / 2;
	width: 100%;
	object-fit: cover;
	position: relative;
	z-index: 9;
}

.project-card h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.46;
	color: #1f1f1f;
}

.project-card .button {
	justify-self: start;
	align-self: start;
	min-width: 98px;
}

.projects__show-more {
	display: none;
	margin: 1.45rem auto 0;
}

.projects__show-more[hidden] {
	display: none !important;
}

.projects__progress {
	position: relative;
	height: 4px;
	margin-top: 2.5rem;
	background: #bfbfbf;
}

.projects__progress[hidden] {
	display: none !important;
}

.projects__progress-thumb {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 31%;
	border: 0;
	padding: 0;
	background: var(--color-gold);
	cursor: grab;
}

.projects__progress-thumb:active {
	cursor: grabbing;
}

.project-card:nth-child(2) {
	position: relative;
}

.project-card:nth-child(2)::before {
	content: '';
	position: absolute;
	top: -2.4rem;
	right: -2.5rem;
	width: 4.9rem;
	height: 4.9rem;
	background-image: radial-gradient(circle, #a56f38 1.55px, transparent 1.55px);
	background-size: 0.78rem 0.78rem;
	pointer-events: none;
}

.featured-news {
	padding: 6rem 0;
}

.featured-news__layout {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2.5rem;
}

.featured-news__layout--single {
	grid-template-columns: minmax(0, 1fr);
}

.featured-news__layout--single .featured-news__primary {
	padding-right: 0;
	border-right: 0;
	max-width: 760px;
}

.featured-news__primary {
	display: grid;
	gap: 1.6rem;
	padding-right: 2rem;
	border-right: 1px solid var(--color-line);
}

.featured-news__primary > article:first-child {
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--color-line);
}

.featured-news__secondary {
	display: grid;
	gap: 1.35rem;
}

.featured-news__item {
	display: grid;
	gap: 0.7rem;
}

.featured-news__item--small {
	grid-template-columns: 1fr;
	gap: 0.55rem;
}

.featured-news__thumb-link {
	display: block;
}

.featured-news__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.mansanta-post-image-placeholder {
	display: block;
	background:
		linear-gradient(135deg, rgba(175, 118, 56, 0.2) 0%, rgba(175, 118, 56, 0.05) 100%), #d7d7d7;
}

.featured-news__item--small .featured-news__image {
	aspect-ratio: 16 / 10;
}

.featured-news__title {
	margin: 0;
	font-size: clamp(1.95rem, 2.2vw, 2.7rem);
}

.featured-news__item--small .featured-news__title {
	font-size: 1.18rem;
	line-height: 1.3;
}

.button--news-more {
	margin-top: 1.2rem;
}

.featured-news .button--news-more {
	float: right;
}

.single-news {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 2.5rem;
	padding: var(--space-6) 0;
}

.single-news__article {
	padding-right: 2rem;
	border-right: 1px solid var(--color-line);
}

.single-news__kicker {
	margin: 0 0 var(--space-2);
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--color-gold);
	text-transform: uppercase;
}

.single-news__title {
	margin-bottom: var(--space-3);
	font-size: clamp(2.4rem, 2.9vw, 3.65rem);
}

.single-news__excerpt {
	font-size: 1.1rem;
	color: var(--color-gold);
}

.single-news__image-wrap {
	margin: var(--space-5) 0 var(--space-4);
}

.single-news__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.single-news__content p {
	margin-bottom: var(--space-3);
	font-size: 1.06rem;
	color: #3b3b3b;
}

.single-news__aside-title {
	margin-bottom: var(--space-3);
	font-family: var(--font-body);
	font-size: 0.76rem;
	font-weight: 700;
	color: var(--color-gold);
}

.single-news__aside-list {
	display: grid;
	gap: 1.4rem;
}

.single-news__related-item {
	display: grid;
	gap: 0.65rem;
}

.single-news__related-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.single-news__related-item h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.1rem;
	line-height: 1.3;
}

.site-main--news-list {
	padding: 2.75rem 0 3.5rem;
	background: #e6e6e6;
}

.news-listing {
	max-width: 1070px;
}

.news-listing__heading {
	margin-bottom: 0.95rem;
}

.news-listing__items {
	display: grid;
}

.news-listing__item {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: 2.2rem;
	align-items: start;
	padding: 1.4rem 0 1.5rem;
	border-bottom: 1px solid var(--color-line);
}

.news-listing__image-link {
	display: block;
}

.news-listing__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.news-listing__content {
	display: grid;
	align-content: start;
	gap: 0.7rem;
}

.news-listing__title {
	margin: 0;
	font-size: clamp(1.65rem, 2vw, 2.1rem);
	line-height: 1.24;
}

.news-listing__excerpt {
	margin: 0;
	max-width: 54ch;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #383838;
}

.news-listing__more {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-gold);
}

.news-listing__pagination {
	margin-top: 2rem;
	margin-bottom: 0;
}

.news-listing__pagination ul {
	display: flex;
	gap: 0.95rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-listing__pagination a,
.news-listing__pagination span {
	display: inline-flex;
	min-width: 1.5rem;
	height: 1.5rem;
	align-items: center;
	justify-content: center;
	padding: 0 0.38rem;
	font-size: 0.8rem;
	color: #23252b;
}

.news-listing__pagination .dots {
	color: var(--color-gold);
}

.news-listing__pagination .current {
	border-radius: 999px;
	background: var(--color-dark);
	color: #fff;
	font-weight: 600;
}

.contact-section {
	position: relative;
	padding: 7.6rem 0 5.9rem;
	background: #303030;
	color: #fafafa;
	overflow: hidden;
}

.contact-section::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 3.2rem;
	height: 9.9rem;
	background: var(--color-gold);
	transform: translateY(-50%);
}

.contact-section::after {
	content: '';
	position: absolute;
	top: 2.1rem;
	right: max((100vw - 990px) / 2 - 12.35rem, 1.6rem);
	width: 4.35rem;
	height: 4.35rem;
	background-image: radial-gradient(circle, #a56f38 1.55px, transparent 1.55px);
	background-size: 0.72rem 0.72rem;
	pointer-events: none;
}

.contact-section__inner {
	width: 100%;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.92fr);
	gap: 6.2rem;
	align-items: start;
}

.contact-section__title {
	max-width: 22ch;
	margin-bottom: 1.5rem;
	font-size: clamp(1.35rem, 3.15vw, 2.35rem);
	line-height: 1.14;
	color: #fbfbfb;
	font-weight: 700;
}

.contact-section__description {
	max-width: 36ch;
	margin-bottom: 0;
	font-size: 1.25rem;
	line-height: 1.42;
	color: rgba(255, 255, 255, 0.9);
}

.contact-form {
	display: grid;
	gap: 1.55rem;
}

.contact-form__field {
	margin: 0;
}

.contact-form__field--short {
	max-width: 52%;
}

.contact-form label {
	display: block;
	margin-bottom: 0.82rem;
	font-size: 0.96rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.96);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.contact-form input {
	width: 100%;
	padding: 0.35rem 0;
	border: 0;
	border-bottom: 2px solid rgba(255, 255, 255, 0.88);
	background: transparent;
	color: #fff;
	font-size: 1.05rem;
}

.contact-form input:focus {
	outline: none;
	border-color: #fff;
}

.contact-form .button {
	justify-self: start;
	margin-top: 0.75rem;
	min-width: 4.6rem;
	padding: 0.66rem 1rem;
	font-size: 1.05rem;
	border-radius: 0.72rem;
	line-height: 1;
	box-shadow: none;
}

.site-footer {
	display: block;
}

.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;
}

.screen-reader-text:focus {
	background: #f1f1f1;
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	height: auto;
	left: 5px;
	padding: 15px 23px;
	top: 5px;
	width: auto;
	z-index: 100000;
}

@media (max-width: 1080px) {
	body {
		font-size: 17px;
	}

	.layout-container {
		width: min(var(--container-width), calc(100% - 2.4rem));
	}

	.site-header__inner {
		width: min(var(--container-width), calc(100% - 2.4rem));
	}

	.site-header--inner .site-header__inner {
		padding-right: 0;
	}

	.site-header--inner .site-header__brand {
		min-height: 78px;
		padding: 0 1.2rem;
		font-size: 1.6rem;
	}

	.hero__content {
		padding-left: 1.2rem;
	}

	.projects__track {
		gap: 1.3rem;
	}

	.projects__track .project-card {
		flex-basis: calc((100% - 2.6rem) / 3);
	}

	.featured-news__title {
		font-size: 1.6rem;
	}
}

@media (max-width: 860px) {
	.site-header--home,
	.site-header--inner {
		position: relative;
		background: var(--color-gold);
	}

	.site-header--home .site-header__inner,
	.site-header--inner .site-header__inner {
		width: calc(100% - 2rem);
		padding-top: 0;
		padding-right: 0;
		min-height: 56px;
	}

	.site-header--home .site-header__inner {
		justify-content: space-between;
	}

	.site-header--home .main-navigation {
		width: auto;
		display: block;
	}

	.site-header--home .site-header__brand {
		opacity: 1;
		pointer-events: auto;
		display: inline-flex;
		padding: 0;
		min-height: 56px;
		font-size: 1.25rem;
		color: #fbeedd;
	}

	.site-header--inner .site-header__brand {
		background: transparent;
		min-height: 56px;
		padding: 0;
		font-size: 1.25rem;
		color: #fbeedd;
	}

	.site-header--inner .site-header__brand::before {
		display: none;
	}

	.menu--desktop {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
		color: #fbeedd;
	}

	.hero {
		min-height: 430px;
	}

	.hero__social,
	.hero__dots {
		display: none;
	}

	.hero__content {
		max-width: 320px;
		margin-top: 5.4rem;
		margin-bottom: 2rem;
		padding-left: 1.2rem;
	}

	.hero__title {
		font-size: 2.35rem;
	}

	.hero__description {
		font-size: 0.9rem;
	}

	.projects {
		padding: 2.6rem 0;
	}

	.projects__controls {
		display: none;
	}

	.projects__viewport {
		overflow: visible;
	}

	.projects__track {
		display: grid;
		grid-template-columns: 1fr;
		gap: 1.8rem;
		transform: none !important;
	}

	.projects__track .project-card {
		flex-basis: auto;
	}

	.projects__show-more {
		display: flex;
		width: fit-content;
	}

	.project-card:nth-child(2)::before,
	.projects__progress {
		display: none;
	}

	.project-card h3 {
		font-size: 1rem;
	}

	.featured-news {
		padding-bottom: 2.6rem;
	}

	.featured-news__layout {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.featured-news__primary {
		padding-right: 0;
		border-right: 0;
	}

	.featured-news__item--small {
		grid-template-columns: 1fr;
	}

	.featured-news__item--small .featured-news__image {
		aspect-ratio: 16 / 10;
	}

	.featured-news__title,
	.featured-news__item--small .featured-news__title {
		font-size: 1.27rem;
	}

	.featured-news .button--news-more {
		float: none;
	}

	.single-news {
		grid-template-columns: 1fr;
		gap: 2rem;
		padding: 2.4rem 0;
	}

	.single-news__article {
		padding-right: 0;
		border-right: 0;
	}

	.single-news__title {
		font-size: 1.78rem;
	}

	.single-news__aside-title {
		margin-bottom: 1rem;
	}

	.site-main--news-list {
		padding: 2.2rem 0 2.8rem;
	}

	.news-listing__item {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 1.2rem;
		padding: 1rem 0 1.15rem;
		border-bottom-width: 1px;
	}

	.news-listing__title {
		font-size: 1.3rem;
	}

	.news-listing__excerpt {
		display: block;
		font-size: 0.86rem;
	}

	.news-listing__more {
		font-size: 0.8rem;
	}

	.contact-section {
		padding: 4rem 0 3.7rem;
	}

	.contact-section::before {
		width: 2.1rem;
		height: 6.2rem;
	}

	.contact-section::after {
		display: none;
	}

	.contact-section__inner {
		grid-template-columns: 1fr;
		gap: 2.4rem;
		width: min(990px, calc(100% - 2.4rem));
	}

	.contact-section__title {
		max-width: 16ch;
		font-size: 2.05rem;
	}

	.contact-section__description {
		font-size: 1.1rem;
	}

	.contact-form__field--short {
		max-width: 100%;
	}

	.contact-form .button {
		font-size: 0.95rem;
	}

	.main-navigation__mobile-panel a {
		font-size: 2rem;
	}

	.main-navigation__mobile-brand {
		font-size: 1.5rem;
	}
}

@media (max-width: 540px) {
	body {
		font-size: 16px;
	}

	.site-header__inner,
	.layout-container {
		width: calc(100% - 2rem);
	}

	.contact-section__inner {
		width: 100%;
	}

	.site-header--inner .site-header__inner {
		padding-right: 0;
	}

	.site-header--inner .site-header__brand {
		padding: 0 0.9rem;
		font-size: 1.05rem;
	}

	.site-header--home .site-header__brand {
		opacity: 0;
	}

	.main-navigation__mobile-panel {
		width: 80%;
		padding: 4.8rem 2rem 2rem;
	}

	.main-navigation__mobile-panel a {
		font-size: 1.18rem;
	}

	.main-navigation__mobile-brand {
		right: 2rem;
		left: 2rem;
		font-size: 1.75rem;
	}

	.hero {
		min-height: 380px;
	}

	.hero__image::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.48) 100%);
	}

	.hero__content {
		max-width: 1000%;
		margin-top: 4.3rem;
		padding-left: 0rem;
	}

	.hero__prefix,
	.hero__title,
	.hero__description {
		color: white;
	}

	.hero__prefix {
		font-size: 2rem;
	}

	.hero__title {
		font-size: 3.5rem;
		white-space: wrap;
	}

	.hero__description {
		font-size: 1.5rem;
	}

	.project-card h3,
	.featured-news__title,
	.featured-news__item--small .featured-news__title {
		font-size: 1rem;
	}

	.featured-news__image {
		display: none;
	}
	.featured-news__primary > article:first-child .featured-news__image {
		display: block;
	}

	.featured-news__item {
		padding-bottom: 0.55rem;
		border-bottom: 1px solid var(--color-line);
	}

	.news-listing__title {
		font-size: 1.08rem;
		line-height: 1.3;
	}

	.news-listing__excerpt {
		font-size: 0.82rem;
		display: block;
	}

	.news-listing__more {
		font-size: 0.74rem;
	}

	.news-listing__heading {
		margin-bottom: 0.7rem;
		font-size: 0.67rem;
	}

	.news-listing__item {
		grid-template-columns: 1fr;
		gap: 0.8rem;
		padding: 0.95rem 0 1rem;
	}

	.news-listing__image {
		aspect-ratio: 16 / 10;
	}

	.news-listing__pagination {
		margin-top: 1.45rem;
	}

	.news-listing__pagination ul {
		gap: 0.55rem;
	}

	.contact-section__title {
		font-size: 1.75rem;
		max-width: 100%;
	}

	.contact-section__description {
		font-size: 1rem;
	}

	.contact-form label {
		font-size: 0.69rem;
	}

	.contact-form .button {
		font-size: 0.9rem;
	}
	.contact-section::before {
		width: 5.1rem;
		height: 0.2rem;
		top: 35.5%;
		left: 16px;
	}
}
