/*
Theme Name: Dougherty Apartments Child
Theme URI: https://doughertyapartments.org
Author: Agent27
Description: Child theme for Dougherty Apartments.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Template: dougherty-apartments
Text Domain: dougherty-apartments-child
*/

/* Add your custom CSS below */

/* Service sub-pages — consecutive white sections (intro prose → split block) */
.section:not([class*="section--"]) + .section:not([class*="section--"]) {
	padding-top: clamp(1.25rem, 0.75rem + 1.25vw, 2rem);
}

.section:not([class*="section--"]):has(+ .section:not([class*="section--"])) {
	padding-bottom: clamp(1.25rem, 0.75rem + 1.25vw, 2rem);
}

/* Feature strip — four equal tick chips */
.feature-strip--four {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px clamp(1rem, 0.5rem + 1.5vw, 2rem);
	align-items: start;
	justify-content: stretch;
}

@media (max-width: 900px) {
	.feature-strip--four {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.feature-strip--four {
		grid-template-columns: 1fr;
	}
}

/* Feature strip — lead column + chips (Activities green ribbon) */
.feature-strip--with-lead {
	display: grid;
	grid-template-columns: minmax(160px, 1.15fr) repeat(3, minmax(0, 1fr));
	gap: 20px clamp(1rem, 0.5rem + 1.5vw, 2rem);
	align-items: center;
}

.feature-strip__lead {
	margin: 0;
}

.feature-strip__ribbon {
	display: inline-flex;
	align-items: center;
	align-self: center;
	padding: 14px 22px;
	border-radius: var(--radius-pill);
	background: #6EC72E;
	color: var(--green-900);
	font-weight: var(--fw-bold);
	font-size: 15px;
	line-height: 1.35;
}

@media (max-width: 900px) {
	.feature-strip--with-lead {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.feature-strip--with-lead {
		grid-template-columns: 1fr;
	}
}

/* Facilities detail section */
.section--facilities-detail .banner-img {
	margin-bottom: clamp(2rem, 1rem + 3vw, 4rem);
}

.section--facilities-detail .facilities-detail__heading {
	color: var(--green-900);
	margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);
}

.section--facilities-detail .facilities-detail__blocks {
	display: grid;
	gap: clamp(1.75rem, 1.25rem + 1.75vw, 2.5rem);
}

.section--facilities-detail .facilities-detail__subheading {
	color: var(--green-900);
	font-size: 20px;
	font-weight: var(--fw-bold);
	line-height: 1.35;
	margin: 0 0 10px;
}

.section--facilities-detail .facilities-detail__block .dotlist {
	gap: 8px;
}

.section--facilities-detail .facilities-detail__block .dotlist li {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}

.section--facilities-detail .facilities-detail__block .dotlist li::before {
	background: var(--green-600);
}

/* Primary nav — dropdown submenus */
.nav__links .nav__links-list {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav__links .nav__links-list > li {
	display: block;
	position: relative;
}

.nav__links .nav__links-list > li.menu-item-has-children {
	/* Bridge hover zone so the cursor can reach the dropdown */
	padding-bottom: 12px;
	margin-bottom: -12px;
}

.nav__links .nav__links-list > li > a {
	display: block;
}

.nav__links .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 220px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: var(--green-900);
	border-radius: 10px;
	box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.45);
	z-index: 80;
}

.nav__links .sub-menu li {
	display: block;
}

.nav__links .menu-item-has-children:hover > .sub-menu,
.nav__links .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.nav__links .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: #fff;
	font-size: 12px;
	font-weight: var(--fw-semibold);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nav__links .sub-menu a:hover {
	background: rgba(255, 255, 255, 0.08);
	opacity: 1;
}

/* Mobile menu — nested items */
.mobile-menu ul {
	display: block;
}

.mobile-menu li {
	display: block;
}

.mobile-menu .menu-item-has-children > a {
	font-weight: var(--fw-bold);
}

.mobile-menu .sub-menu {
	display: block;
}

.mobile-menu .sub-menu a {
	padding-left: calc(var(--gutter) + 14px);
	font-size: 13px;
	opacity: 0.92;
}

.mobile-menu .nav__cta {
	background: none;
	padding: 0;
	border-radius: 0;
	box-shadow: none;
}

.mobile-menu .nav__cta > a {
	font-weight: var(--fw-bold);
}

@media (max-width: 900px) {
	.nav__links .sub-menu {
		display: none !important;
	}

	body.is-nav-open {
		overflow: hidden;
		position: fixed;
		width: 100%;
		left: 0;
		right: 0;
	}

	.mobile-menu.open {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 59;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
	}
}

/* Mobile hero focal points — keep key subjects in frame */
@media (max-width: 900px) {
	.page-slug-what-we-do .hero__img {
		object-position: 72% center;
	}

	.page-slug-our-community .hero__img,
	.page-slug-donations .hero__img {
		object-position: 78% center;
	}

	.page-slug-dementia-care .hero,
	.page-slug-home .hero,
	.page-slug-retirement-living .hero {
		min-height: 460px;
		max-height: none;
		overflow: hidden;
	}

	.page-slug-dementia-care .hero__img,
	.page-slug-home .hero__img,
	.page-slug-retirement-living .hero__img {
		position: absolute;
		top: 0;
		left: -49.5%;
		width: 149.5%;
		height: 100%;
		max-width: none;
		display: block;
		object-fit: cover;
		object-position: center 35%;
		transform: none;
	}

	.page-slug-dementia-care .hero__inner {
		align-items: flex-start;
		padding-top: 0.75rem;
	}

	.page-slug-dementia-care .hero__inner .container {
		padding-top: 6.25rem;
	}

	.page-slug-dementia-care .hero h1 {
		margin-top: 0;
		margin-bottom: 0;
		max-width: 11ch;
		font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
		line-height: 1.12;
		text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
	}

	.hero.hero--has-mobile-img {
		min-height: 0;
		max-height: none;
		aspect-ratio: 3 / 5;
	}

	.hero.hero--has-mobile-img picture {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
	}

	.hero.hero--has-mobile-img .hero__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}
}

/* hero-couple balcony — desktop focal point (home, retirement-living) */
@media (min-width: 901px) {
	.page-slug-home .hero__img,
	.page-slug-retirement-living .hero__img {
		object-position: center calc(50% - 100px);
	}

	.page-slug-why-work-with-us .hero__img,
	.page-slug-job-vacancies .hero__img,
	.page-slug-volunteer-with-us .hero__img {
		object-position: center calc(50% + 80px);
	}

	.page-slug-residential-aged-care .hero__img {
		object-position: center 30%;
	}
}

/* Residential aged care — scrabble split image (430×486) */
@media (min-width: 761px) {
	.page-slug-residential-aged-care .split--text-wide {
		grid-template-columns: minmax(0, 1fr) 430px;
	}

	.page-slug-residential-aged-care .split__media--square-wide {
		width: 430px;
	}
}

.page-slug-residential-aged-care .split__img--square-wide {
	aspect-ratio: 430 / 486;
	width: 100%;
	height: auto;
}

/* Our History — panoramic courtyard under Structure and governance */
.section--full-width-image .banner-img {
	object-position: 72% center;
}

@media (max-width: 760px) {
	.section--full-width-image .banner-img {
		object-fit: contain;
		height: auto;
		aspect-ratio: 96 / 26;
		background: var(--sage-50);
	}
}

.prose p:last-child {
	margin-bottom: 0;
}

.prose ul {
	margin: 14px 0 0;
	padding-left: 1.25em;
	display: grid;
	gap: 10px;
}

.prose ul + p,
.prose .prose-gap {
	margin-top: 1.35em;
}

.prose ul li {
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.5;
}

.prose .prose-highlight {
	color: var(--green-900);
	font-weight: var(--fw-bold);
}

.prose a.prose-highlight {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Split/muted body copy — paragraph spacing (Donations, community, why work) */
.muted p + p,
.split .muted p + p {
	margin-top: 1.15em;
}

/* News article — breathing room around subheadings */
.news-article-body {
	max-width: 70ch;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
	margin-top: 2em;
	margin-bottom: 0.85em;
	color: var(--green-900);
}

.news-article-body h2:first-child,
.news-article-body h3:first-child,
.news-article-body h4:first-child {
	margin-top: 0.5em;
}

.news-article-body p + p {
	margin-top: 1.15em;
}

.news-article-page .container--narrow {
	max-width: 760px;
}


/* Our History — founder portrait bleeds into next section */
.section--split-overlap {
	overflow: visible;
	padding-bottom: clamp(1.25rem, 0.75rem + 1.25vw, 2rem);
}

.section--split-overlap .split--overlap {
	align-items: start;
	grid-template-columns: minmax(0, 1.12fr) minmax(210px, 0.72fr);
	gap: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.section--split-overlap .prose > p:first-child {
	color: var(--green-900);
	font-size: var(--fs-lead);
	line-height: 1.5;
}

.section--split-overlap .prose > p:first-child strong {
	color: inherit;
	font-weight: var(--fw-bold);
}

.section--split-overlap .split__media--overlap {
	position: relative;
	z-index: 2;
	margin-bottom: clamp(-8.5rem, -4rem - 6vw, -5.5rem);
}

.section--split-overlap .split__media--overlap .split__img--portrait {
	width: 100%;
	max-width: 360px;
	height: auto;
	aspect-ratio: 360 / 500;
	object-fit: cover;
	object-position: center top;
	border-radius: var(--radius-lg);
}

.section--split-overlap + .section {
	overflow: visible;
	position: relative;
	z-index: 1;
}

.section--split-overlap + .section .container {
	max-width: var(--container);
}

.section--split-overlap + .section .prose {
	max-width: none;
}

@media (max-width: 900px) {
	.section--split-overlap {
		overflow: hidden;
		padding-bottom: var(--space-section);
	}

	.section--split-overlap .split--overlap {
		grid-template-columns: 1fr;
		gap: clamp(1.5rem, 1rem + 2vw, 2rem);
	}

	.section--split-overlap .split__media--overlap {
		margin-bottom: 0;
		justify-self: center;
		width: min(100%, 360px);
	}

	.section--split-overlap .split__media--overlap .split__img--portrait {
		max-width: 100%;
		min-height: 0;
	}
}

/* About Us — intro + feature columns */
.section--about-intro .about-intro__lead {
	margin: 0 0 clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
	max-width: 62rem;
	font-size: clamp(17px, 1rem + 0.25vw, 19px);
	line-height: 1.6;
	color: var(--ink-soft);
}

.about-intro__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	align-items: start;
}

.about-intro__col {
	display: grid;
	gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
}

.about-intro__title {
	margin: 0 0 10px;
	color: var(--green-900);
	font-size: clamp(18px, 1rem + 0.35vw, 20px);
	font-weight: var(--fw-bold);
	line-height: 1.35;
}

.about-intro__title::before {
	content: "•";
	margin-right: 0.35em;
	color: var(--green-700);
}

.about-intro__prose p {
	margin: 0 0 0.85em;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ink-soft);
}

.about-intro__prose p:last-child {
	margin-bottom: 0;
}

.about-intro__img {
	width: 100%;
	height: clamp(220px, 19vw, 290px);
	object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	margin-top: clamp(0.5rem, 0.25rem + 0.75vw, 1rem);
}

/* About Us — philosophy panel */
.section--about-philosophy .about-philosophy__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 255px;
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	align-items: start;
	margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.section--about-philosophy .about-philosophy__main {
	min-width: 0;
	padding-right: clamp(0.5rem, 0.25rem + 1vw, 1.25rem);
}

.section--about-philosophy .about-philosophy__label {
	color: var(--green-900);
	margin-bottom: 10px;
}

.section--about-philosophy .about-philosophy__label + .about-philosophy__label {
	margin-top: clamp(1.5rem, 1rem + 1.25vw, 2rem);
}

.section--about-philosophy .about-philosophy__title {
	margin: 0 0 clamp(1.25rem, 0.75rem + 1vw, 1.75rem);
	color: var(--green-900);
	font-size: clamp(20px, 1.1rem + 0.5vw, 24px);
	font-weight: var(--fw-bold);
	line-height: 1.35;
}

.section--about-philosophy .about-philosophy__values {
	margin-bottom: 0;
}

.section--about-philosophy .about-philosophy__img {
	width: 255px;
	height: auto;
	aspect-ratio: 520 / 1055;
	object-fit: contain;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	justify-self: end;
	margin-left: auto;
}

.page-slug-public-housing .split--text-wide .split__media--match {
	align-self: start;
	min-height: 0;
	width: 85%;
	margin-left: auto;
	aspect-ratio: 520 / 1055;
}

.page-slug-public-housing .split--text-wide .split__media--match .split__img--match {
	position: relative;
	inset: auto;
	width: 100%;
	height: auto;
	min-height: 0;
	object-fit: contain;
}

.section--about-philosophy .about-philosophy__principles .about-philosophy__label {
	margin-bottom: clamp(1.25rem, 0.75rem + 1vw, 1.75rem);
}

.section--about-philosophy .about-philosophy__principles .panel-grid {
	grid-template-columns: 1fr;
	gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem);
}

@media (max-width: 900px) {
	.about-intro__grid,
	.section--about-philosophy .about-philosophy__top {
		grid-template-columns: 1fr;
	}

	.section--about-philosophy .about-philosophy__img {
		order: -1;
		width: min(100%, 320px);
		margin-inline: auto;
	}

	.page-slug-public-housing .split--text-wide .split__media--match {
		margin-inline: auto;
	}
}

/* Job vacancies — centred copy + CTA */
.section--centred-prose {
	padding-block: clamp(4rem, 3rem + 5vw, 7rem);
}

.centred-prose-cta {
	max-width: 42rem;
	margin-inline: auto;
	display: grid;
	gap: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
	text-align: center;
}

.centred-prose-cta__text p {
	margin: 0;
	font-size: clamp(17px, 1rem + 0.25vw, 19px);
	line-height: 1.6;
	color: var(--ink-soft);
}

.centred-prose-cta__btn {
	justify-self: center;
}

.centred-prose-cta__heading {
	margin: 0;
}

.section--calendar-download .centred-prose-cta {
	gap: clamp(2rem, 1.5rem + 2vw, 3rem);
}

/* Contact — details + map (first fold), form below */
.section--contact-split {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.contact-split {
	display: grid;
	gap: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.contact-split__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	align-items: stretch;
}

.contact-split__info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-split__heading {
	margin-bottom: 12px;
}

.contact-split__prose {
	margin-bottom: 24px;
}

.contact-split__map {
	min-height: 320px;
}

.contact-split__map .map-embed__frame {
	height: 100%;
	min-height: 320px;
}

.contact-split__feedback {
	width: fit-content;
}

.contact-split__intro {
	margin-bottom: 24px;
}

.contact-split__form .form {
	margin-top: 0;
}

@media (max-width: 900px) {
	.contact-split__top {
		grid-template-columns: 1fr;
	}

	.contact-split__map .map-embed__frame {
		min-height: 260px;
	}

	.contact-split__form .form {
		margin-top: 0;
	}
}

/* Contact — Google Maps embed */
.section--map-embed {
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.map-embed {
	overflow: hidden;
	border-radius: 0;
	line-height: 0;
}

.map-embed__frame {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}

/* Board of Directors — members grid */
.section--board-members {
	padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
}

.board-members {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.board-members__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

.board-members__row--featured {
	grid-template-columns: minmax(0, 22rem);
	justify-content: center;
}

.board-member {
	display: grid;
	gap: 0.35rem;
	text-align: center;
	text-decoration: none;
	color: inherit;
	transition: color 0.15s ease;
}

.board-member:hover,
.board-member:focus-visible {
	color: var(--green-700);
}

.board-member__name {
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--green-900);
}

.board-member:hover .board-member__name,
.board-member:focus-visible .board-member__name {
	color: var(--green-700);
}

.board-member__role {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink-soft);
	white-space: pre-line;
}

/* Board director biography */
.section--board-profile {
	padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.board-profile {
	max-width: 42rem;
}

.board-profile__back {
	margin: 0 0 1.5rem;
}

.board-profile__back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.board-profile__back-ico {
	transform: rotate(180deg);
}

.board-profile__name {
	margin: 0 0 0.35rem;
	color: var(--green-900);
}

.board-profile__role {
	margin: 0 0 clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
	font-size: clamp(17px, 1rem + 0.25vw, 19px);
	line-height: 1.45;
	color: var(--ink-soft);
}

.board-profile__block + .board-profile__block {
	margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem);
}

.board-profile__label {
	margin: 0 0 0.75rem;
	font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.2rem);
	color: var(--green-900);
}

@media (max-width: 640px) {
	.board-members__row {
		grid-template-columns: 1fr;
	}

	.board-members__row--featured {
		grid-template-columns: 1fr;
	}
}

/* Executive Leadership — headshot grid */
.section--leadership {
	padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
}

.leadership__heading {
	text-align: center;
	margin: 0 0 clamp(2rem, 1.5rem + 2vw, 3rem);
	color: var(--green-900);
}

.leadership-grid {
	display: grid;
	gap: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}

.leadership-grid--lead {
	grid-template-columns: minmax(0, 20rem);
	justify-content: center;
	margin-bottom: clamp(1.75rem, 1.25rem + 2vw, 3rem);
}

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

.leader-card {
	margin: 0;
	display: grid;
	gap: 1rem;
	justify-items: center;
	text-align: center;
}

.leader-card__img {
	width: 100%;
	aspect-ratio: 1 / 1;
	max-width: 15rem;
	object-fit: cover;
	object-position: center 25%;
	border-radius: var(--radius-lg);
	background: var(--green-100, #e6f0e6);
}

.leader-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	font-weight: 700;
	color: var(--green-700);
	background: var(--green-100, #dcebd6);
	letter-spacing: 0.05em;
}

.leader-card__caption {
	display: grid;
	gap: 0.25rem;
}

.leader-card__name {
	font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--green-900);
}

.leader-card__title {
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink-soft);
}

/* Executive Leadership — individual bios */
.section--leadership-bios {
	padding-block: clamp(3rem, 2.5rem + 3vw, 5rem);
}

.leadership-bios {
	display: grid;
	gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}

.leadership-bio {
	display: grid;
	grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
	gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
	align-items: start;
}

.leadership-bio--reverse {
	grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
}

.leadership-bio--reverse .leadership-bio__media {
	order: 2;
}

.leadership-bio--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.leadership-bio__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 25%;
	border-radius: var(--radius-lg);
	box-shadow: 0 16px 32px -20px rgba(15, 92, 52, 0.55);
}

.leadership-bio__name {
	margin: 0 0 0.35rem;
	color: var(--green-900);
}

.leadership-bio__title {
	margin: 0 0 clamp(1rem, 0.75rem + 1vw, 1.5rem);
	font-size: clamp(16px, 1rem + 0.2vw, 18px);
	font-weight: 600;
	color: var(--green-700);
}

.leadership-bio__text p {
	color: var(--ink-soft);
}

@media (max-width: 780px) {
	.leadership-grid--members {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.leadership-bio,
	.leadership-bio--reverse {
		grid-template-columns: minmax(0, 22rem);
		justify-content: center;
	}

	.leadership-bio--reverse .leadership-bio__media {
		order: 0;
	}

	.leadership-bio__body {
		text-align: left;
	}
}

@media (max-width: 480px) {
	.leadership-grid--members {
		grid-template-columns: minmax(0, 20rem);
		justify-content: center;
	}
}

.footer__legal-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding: 0 20px 20px;
}

@media (max-width: 760px) {
	.footer__legal-end {
		padding-bottom: 50px;
	}
}

.footer__credit {
	margin: 0;
}

.footer__credit a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

.footer__credit a:hover {
	color: #fff;
	text-decoration: underline;
}
