/*
Theme Name: Gratiela Baias
Theme URI: https://gratielabaias.ro
Author: Kooperativa 2.0
Author URI: https://kooperativa.ro
Description: Tema custom pentru gratielabaias.ro. Culorile și structura urmează site-ul de producție.
Version: 2.1.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: gratiela
*/

/* ==========================================================================
   Tokens (colours taken from the production site)
   ========================================================================== */

:root {
	--gold: #a0772a;          /* brand gold, logo and headings */
	--gold-text: #85621f;     /* gold for small text on white (AA) */
	--gold-deep: #6e5119;     /* footer background, hover */
	--red: #e90505;           /* production call-to-action red */
	--red-deep: #bc0c06;
	--blush: #f6e3da;         /* background of the hero image */
	--grey: #f2f2f2;          /* production section grey (#eee), slightly lifted */
	--ink: #222222;           /* production body text */
	--muted: #5f5a55;
	--line: #e4dcd4;
	--white: #ffffff;

	--font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

	--step-0: 1.0625rem;                          /* 17px body */
	--step-1: 1.25rem;                            /* 20px */
	--step-2: clamp(1.4rem, 1.2rem + .8vw, 1.75rem);
	--step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem);
	--step-4: clamp(2.4rem, 1.8rem + 3vw, 4rem);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--section: clamp(3.5rem, 7vw, 6rem);
	--max: 1200px;
	--radius: 8px;            /* inputs, small controls */
	--radius-img: 12px;       /* photos and posters */
	--radius-panel: 18px;     /* boxes and panels */
	--shadow: 0 1px 2px rgba(110, 81, 25, .06), 0 14px 34px -14px rgba(110, 81, 25, .22);
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 6rem;
}

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

a {
	color: var(--gold-text);
	text-decoration-thickness: 1px;
	text-underline-offset: .2em;
}

a:hover {
	color: var(--gold-deep);
}

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
	color: var(--ink);
}

p {
	margin: 0 0 1.1em;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: .6rem 1rem;
	background: var(--ink);
	color: var(--white);
}

.skip-link:focus {
	top: 1rem;
	color: var(--white);
}

.container {
	width: 100%;
	max-width: calc(var(--max) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(46rem + 2 * var(--gutter));
}

.container--media {
	max-width: calc(60rem + 2 * var(--gutter));
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 3rem;
	padding: .7rem 1.6rem;
	border: 0;
	border-radius: 999px;
	font: 500 1rem/1.2 var(--font-body);
	letter-spacing: .02em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease;
}

.btn--red {
	background: var(--red);
	color: var(--white);
}

.btn--red:hover {
	background: var(--red-deep);
	color: var(--white);
}

.btn--gold {
	background: var(--gold);
	color: var(--white);
}

.btn--gold:hover {
	background: var(--gold-deep);
	color: var(--white);
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */

.topbar {
	background: var(--grey);
	font-size: .875rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.5rem;
}

.topbar__contact {
	display: flex;
	gap: 1.5rem;
	margin: 0;
}

.topbar__contact a {
	color: var(--muted);
	text-decoration: none;
}

.topbar__contact a:hover {
	color: var(--gold-deep);
}

.social {
	display: flex;
	gap: .4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--gold);
	color: var(--white);
	transition: background-color .15s ease;
}

.social a:hover {
	background: var(--gold-deep);
	color: var(--white);
}

.social .icon {
	width: 1rem;
	height: 1rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
}

/* Desktop only: backdrop-filter makes the header the containing block for
   fixed children, which would clip the full-screen mobile menu. */
@media (min-width: 960px) {
	@supports (backdrop-filter: blur(8px)) {
		.site-header {
			background: rgba(255, 255, 255, .85);
			backdrop-filter: blur(8px);
		}
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 5rem;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: .9rem;
	color: var(--ink);
	text-decoration: none;
}

.site-logo__img {
	width: 67px;
	height: auto;
}

.site-logo__name {
	font-family: var(--font-display);
	font-size: 1.3rem;
	line-height: 1.1;
	padding-left: .9rem;
	border-left: 1px solid var(--line);
}

.site-logo:hover {
	color: var(--gold-deep);
}

.primary-nav__list,
.primary-nav__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav__list a {
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
}

.primary-nav__list .current-menu-item > a,
.primary-nav__list .current-menu-ancestor > a,
.primary-nav__list .current-category-ancestor > a,
.primary-nav__list a:hover {
	color: var(--gold-text);
}

.menu-toggle {
	display: none;
}

@media (min-width: 960px) {
	.primary-nav__list {
		display: flex;
		align-items: center;
		gap: .25rem;
	}

	.primary-nav__list > li {
		position: relative;
	}

	.primary-nav__list > li > a {
		display: block;
		padding: 1.75rem .8rem;
		background-image: linear-gradient(var(--gold), var(--gold));
		background-repeat: no-repeat;
		background-position: center calc(100% - 1.3rem);
		background-size: 0 1px;
		transition: background-size .2s ease;
	}

	.primary-nav__list > li > a:hover,
	.primary-nav__list > .current-menu-item > a,
	.primary-nav__list > .current-menu-ancestor > a,
	.primary-nav__list > .current-category-ancestor > a {
		background-size: calc(100% - 1.6rem) 1px;
	}

	.primary-nav__list .menu-item-has-children > a::after {
		content: "";
		display: inline-block;
		width: .4em;
		height: .4em;
		margin-left: .45em;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: translateY(-.2em) rotate(45deg);
	}

	.primary-nav__list .sub-menu {
		position: absolute;
		top: calc(100% - .75rem);
		left: .2rem;
		min-width: 15rem;
		padding: .5rem;
		background: var(--white);
		border: 1px solid var(--line);
		border-top: 2px solid var(--gold);
		border-radius: 0 0 var(--radius) var(--radius);
		box-shadow: var(--shadow);
		opacity: 0;
		visibility: hidden;
		transform: translateY(4px);
		transition: opacity .15s ease, transform .15s ease, visibility .15s;
	}

	.primary-nav__list li:hover > .sub-menu,
	.primary-nav__list li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.primary-nav__list .sub-menu a {
		display: block;
		padding: .55rem .8rem;
		font-weight: 400;
	}

	.primary-nav__list .sub-menu a:hover {
		background: var(--blush);
	}
}

@media (max-width: 959.98px) {
	.site-header__inner {
		min-height: 4.25rem;
	}

	.site-logo__img {
		width: 54px;
	}

	.site-logo__name {
		font-size: 1.1rem;
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		gap: .6rem;
		padding: .6rem .2rem;
		border: 0;
		background: none;
		color: var(--ink);
		font: 500 1rem var(--font-body);
		cursor: pointer;
	}

	.menu-toggle__bars,
	.menu-toggle__bars::before,
	.menu-toggle__bars::after {
		display: block;
		width: 22px;
		height: 1.5px;
		background: currentColor;
		transition: transform .2s ease, background-color .2s ease;
	}

	.menu-toggle__bars {
		position: relative;
	}

	.menu-toggle__bars::before,
	.menu-toggle__bars::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menu-toggle__bars::before {
		top: -7px;
	}

	.menu-toggle__bars::after {
		top: 7px;
	}

	.menu-open .menu-toggle__bars {
		background: transparent;
	}

	.menu-open .menu-toggle__bars::before {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-open .menu-toggle__bars::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	.primary-nav {
		position: fixed;
		inset: var(--header-h, 6.75rem) 0 0;
		overflow-y: auto;
		padding: 1rem var(--gutter) 3rem;
		background: var(--white);
		visibility: hidden;
		opacity: 0;
		transition: opacity .2s ease, visibility .2s;
	}

	.menu-open .primary-nav {
		visibility: visible;
		opacity: 1;
	}

	.primary-nav__list > li {
		border-bottom: 1px solid var(--line);
	}

	.primary-nav__list a {
		display: block;
		padding: .9rem 0;
		font-family: var(--font-display);
		font-size: 1.5rem;
		font-weight: 500;
	}

	.primary-nav__list .sub-menu {
		padding: 0 0 .8rem 1rem;
	}

	.primary-nav__list .sub-menu a {
		padding: .4rem 0;
		font-family: var(--font-body);
		font-size: 1.05rem;
	}
}

@media (max-width: 599.98px) {
	.topbar__contact a[href^="mailto"] {
		display: none;
	}
}

/* ==========================================================================
   Home: hero
   ========================================================================== */

.hero {
	position: relative;
	background: var(--blush);
}

.hero__track {
	display: flex;
	max-width: 1518px;
	margin-inline: auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.hero__track::-webkit-scrollbar {
	display: none;
}

.hero__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}

.hero__img {
	width: 100%;
	max-height: calc(100vh - 7.5rem);
	object-fit: contain;
}

.hero__dots {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	display: flex;
	gap: .5rem;
	transform: translateX(-50%);
}

.hero__dots button {
	width: .7rem;
	height: .7rem;
	padding: 0;
	border: 1px solid var(--gold);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.hero__dots button[aria-current="true"] {
	background: var(--gold);
}

/* ==========================================================================
   Home: newsletter (production placed it right after the slider)
   ========================================================================== */

.newsletter {
	position: relative;
	z-index: 1;
	padding-block: 2rem clamp(2.5rem, 5vw, 4rem);
}

/* A white panel that sits on the lower edge of the hero. */
.newsletter__panel {
	display: grid;
	gap: 1.25rem 3rem;
	align-items: center;
	padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 4vw, 3rem);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-panel);
	box-shadow: var(--shadow);
}

.hero + .newsletter {
	padding-top: 0;
	margin-top: -2.5rem;
}

.newsletter__title {
	font-size: var(--step-2);
	margin-bottom: .25rem;
}

.newsletter__text p {
	margin: 0;
	color: var(--muted);
}

.newsletter__form {
	display: grid;
	gap: .75rem;
}

.newsletter__row {
	display: flex;
	gap: .5rem;
}

.newsletter__consent {
	display: flex;
	gap: .6rem;
	align-items: flex-start;
	font-size: .85rem;
	line-height: 1.45;
	color: var(--muted);
	cursor: pointer;
}

.newsletter__consent input {
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	margin: .15rem 0 0;
	accent-color: var(--red, #E90505);
}

.newsletter__form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding-inline: 1.2rem;
	border-radius: 999px;
}

.newsletter__form .btn {
	flex: none;
}

@media (min-width: 800px) {
	.newsletter__panel {
		grid-template-columns: 1fr minmax(22rem, 30rem);
	}
}

@media (max-width: 799.98px) {
	.hero + .newsletter {
		margin-top: -1.5rem;
	}
}

/* Shared input styling (newsletter + Contact Form 7) */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: 3rem;
	padding: .7rem .9rem;
	border: 1px solid #cfc5bb;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}

textarea {
	min-height: 9rem;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--gold);
	outline-offset: 0;
	border-color: var(--gold);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.band {
	padding-block: var(--section);
}

.band--tight {
	padding-block: clamp(2rem, 4vw, 3.5rem) var(--section);
}

.band--grey {
	background: var(--grey);
}

.band--blush {
	background: var(--blush);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem 2rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: .9rem;
	border-bottom: 1px solid var(--gold);
}

.section-head__title {
	margin: 0;
	font-size: var(--step-3);
}

.section-head__link {
	font-size: .95rem;
	font-weight: 500;
	color: var(--gold-text);
	text-decoration: none;
}

.section-head__link:hover {
	text-decoration: underline;
}

/* Event posters: production showed a tight 4-column wall of event artwork. */

.poster-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1rem;
}

@media (min-width: 700px) {
	.poster-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2.5rem 1.25rem;
	}
}

.poster__link {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

.poster__img {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--white);
	border-radius: var(--radius-img);
}

.poster__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.poster__meta,
.card__date {
	display: block;
	margin-top: .8rem;
	font-size: .875rem;
	color: var(--muted);
}

.poster__title {
	display: block;
	margin-top: .2rem;
	font-weight: 500;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.poster__link:hover .poster__title,
.poster__link:focus-visible .poster__title {
	color: var(--gold-text);
	text-decoration: underline;
	text-underline-offset: .2em;
}

/* Cards */

.card-grid {
	display: grid;
	gap: 2.5rem 1.75rem;
}

@media (min-width: 640px) {
	.card-grid--2,
	.card-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.card-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.card__img {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--grey);
	border-radius: var(--radius-img);
}

.card--wide .card__img {
	aspect-ratio: 16 / 9;
}

/* Interviews are videos: a small play badge marks them. */
.card--wide .card__img::after {
	content: "";
	position: absolute;
	left: .9rem;
	bottom: .9rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: var(--white);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.card--wide .card__img::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: calc(.9rem + 1.03rem);
	bottom: calc(.9rem + .825rem);
	border-style: solid;
	border-width: .55rem 0 .55rem .85rem;
	border-color: transparent transparent transparent var(--gold);
}

.card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__title {
	margin: .25rem 0 0;
	font-size: var(--step-1);
	line-height: 1.3;
}

.card__title a {
	color: var(--ink);
	text-decoration: none;
}

.card__title a:hover {
	color: var(--gold-text);
	text-decoration: underline;
}

/* Blog + testimonials side by side, as on production */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* lets the testimonial rail shrink to the screen */
	gap: var(--section) 4rem;
}

@media (min-width: 1024px) {
	.split {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	}
}

/* Testimonials */

.quote {
	position: relative;
	margin: 0;
}

.quote > .icon {
	width: 2.25rem;
	height: 2.25rem;
	color: var(--gold);
}

.quote__text {
	margin: .75rem 0 1.25rem;
	font-family: var(--font-display);
	font-size: var(--step-1);
	line-height: 1.55;
}

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

.quote__author {
	display: flex;
	align-items: center;
	gap: .8rem;
	font-weight: 500;
}

.quote__avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	object-fit: cover;
}

.quotes {
	padding: clamp(1.5rem, 3vw, 2.5rem);
	background: var(--blush);
	border-radius: var(--radius-panel);
}

.quotes__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.quotes__track::-webkit-scrollbar {
	display: none;
}

.quotes__track > .quote {
	flex: 0 0 100%;
	scroll-snap-align: start;
	padding-right: 1px;
}

.quotes__nav {
	display: flex;
	gap: .5rem;
	margin-top: 1.75rem;
}

.quotes__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--gold);
	border-radius: 50%;
	background: transparent;
	color: var(--gold-deep);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.quotes__btn:hover {
	background: var(--gold);
	color: var(--white);
}

/* Testimonial boxes (Despre page and /testimoniale/), laid out as a masonry wall. */
.quote-wall {
	columns: 1;
	column-gap: 1.5rem;
}

.quote-wall > .quote {
	display: flex;
	flex-direction: column;
	break-inside: avoid;
	margin-bottom: 1.5rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	background: var(--white);
	border: 1px solid rgba(160, 119, 42, .18);
	border-radius: var(--radius-panel);
	box-shadow: var(--shadow);
}

.quote-wall .quote > .icon {
	width: 1.75rem;
	height: 1.75rem;
}

.quote-wall .quote__text {
	font-size: 1.125rem;
}

.quote-wall .quote__author {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
	.quote-wall {
		columns: 2;
	}
}

@media (min-width: 1100px) {
	.quote-wall {
		columns: 3;
	}
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-head {
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem);
}

.page-head--center {
	text-align: center;
	padding-bottom: var(--section);
}

.page-head__kicker {
	display: inline-block;
	margin-bottom: 1rem;
	font-weight: 500;
	color: var(--gold-text);
	text-decoration: none;
}

.page-head__kicker:hover {
	text-decoration: underline;
}

.page-head__title {
	max-width: 22ch;
	margin-bottom: .5em;
	font-size: var(--step-4);
	text-wrap: balance;
}

.page-head--center .page-head__title {
	margin-inline: auto;
}

.page-head__meta {
	margin: 0;
	color: var(--muted);
}

.page-head__lead {
	max-width: 40rem;
	font-size: var(--step-1);
	color: var(--muted);
}

.page-head--center .page-head__lead {
	margin-inline: auto;
}

.entry__media {
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.entry__media img {
	width: 100%;
	border-radius: var(--radius-panel);
}

/* Long-form text */

.prose {
	font-size: 1.125rem;
	line-height: 1.75;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose h2 {
	margin-top: 2em;
	font-size: var(--step-2);
}

.prose h3,
.prose h4 {
	margin-top: 1.8em;
	font-size: var(--step-1);
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
	margin: 0 0 1.2em;
}

.prose li {
	margin-bottom: .35em;
}

.prose li::marker {
	color: var(--gold);
}

.prose blockquote {
	margin: 2em 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--gold);
	font-family: var(--font-display);
	font-size: var(--step-1);
}

.prose img,
.prose figure {
	margin-block: 1.5em;
}

.prose img {
	border-radius: var(--radius-img);
}

.prose iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border-radius: var(--radius-img);
	border: 0;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
	font-size: 1rem;
}

.prose th,
.prose td {
	padding: .6rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose__lead {
	font-size: var(--step-1);
}

.alignleft {
	float: left;
	margin: .3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: .3em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
figcaption {
	font-size: .9rem;
	color: var(--muted);
}

@media (max-width: 599.98px) {
	.alignleft,
	.alignright {
		float: none;
		margin: 1em auto;
	}
}

.entry__share {
	display: flex;
	align-items: center;
	gap: .5rem;
	clear: both;
	margin-top: 3rem;
	padding-block: 1.25rem var(--section);
	border-top: 1px solid var(--line);
	color: var(--muted);
}

.entry__share span {
	margin-right: .5rem;
}

.entry__share a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--gold-deep);
}

.entry__share a:hover {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--white);
}

/* Pagination */

.pagination {
	margin-top: 3.5rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .4rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 .8rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
}

.pagination .page-numbers.current {
	border-color: var(--gold);
	background: var(--gold);
	color: var(--white);
}

.pagination a.page-numbers:hover {
	border-color: var(--gold);
	color: var(--gold-text);
}

.empty {
	font-size: var(--step-1);
}

/* About */

.about-hero {
	background: var(--blush);
	overflow: hidden;
}

.about-hero__inner {
	display: grid;
	align-items: end;
	gap: 2rem;
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
}

.about-hero__text {
	padding-bottom: clamp(1rem, 5vw, 4.5rem);
}

.about-hero__title {
	font-size: var(--step-4);
	color: var(--gold-deep);
}

.about-hero__lead {
	max-width: 34rem;
	font-size: var(--step-1);
}

.about-hero__lead a {
	color: var(--ink);
}

.about-hero__portrait {
	justify-self: center;
	width: min(16rem, 70%);
	mix-blend-mode: multiply; /* the photo has a white background */
}

@media (min-width: 760px) {
	.about-hero__inner {
		grid-template-columns: 1fr auto;
		gap: 4rem;
	}

	.about-hero__portrait {
		width: 15rem;
	}
}

.about__diplomas {
	margin: 3rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.about__diplomas img {
	margin-inline: auto;
	border-radius: 0;
}

/* Contact */

.contact {
	display: grid;
	gap: 3rem 5rem;
}

@media (min-width: 900px) {
	.contact {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	}
}

.contact__heading {
	font-size: var(--step-2);
}

.contact__list {
	margin: 0 0 2rem;
}

.contact__list dt {
	color: var(--muted);
	font-size: .95rem;
}

.contact__list dd {
	margin: 0 0 1.25rem;
	font-size: var(--step-1);
}

.contact__list a {
	color: var(--ink);
}

.contact__form {
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: var(--blush);
	border-radius: var(--radius-panel);
}

/* Contact Form 7 */

.wpcf7-form p {
	margin-bottom: 1.1rem;
}

.wpcf7-form label {
	display: block;
	font-weight: 500;
}

.wpcf7-form label > .wpcf7-form-control-wrap {
	display: block;
	margin-top: .35rem;
	font-weight: 400;
}

.wpcf7-submit {
	min-height: 3rem;
	padding: .7rem 1.8rem;
	border: 0;
	border-radius: 999px;
	background: var(--gold);
	color: var(--white);
	font: 500 1rem var(--font-body);
	cursor: pointer;
}

.wpcf7-submit:hover {
	background: var(--gold-deep);
}

.wpcf7-not-valid-tip {
	font-size: .9rem;
	color: var(--red-deep);
}

.wpcf7 form .wpcf7-response-output {
	margin: 1rem 0 0;
	padding: .8rem 1rem;
	border-radius: var(--radius);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background: var(--gold-deep);
	color: #f3e9dc;
}

.site-footer a {
	color: var(--white);
}

.site-footer__inner {
	display: grid;
	gap: 2rem;
	padding-block: 3.5rem 2.5rem;
}

@media (min-width: 760px) {
	.site-footer__inner {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}

.site-footer .site-logo {
	color: var(--white);
}

.site-footer .site-logo__img {
	padding: .4rem;
	background: var(--white);
	border-radius: var(--radius);
	width: 79px;
}

.site-footer .site-logo__name {
	border-left-color: rgba(255, 255, 255, .3);
}

.site-footer__tagline {
	max-width: 26rem;
	margin: 1rem 0 0;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	gap: .4rem;
}

.site-footer__contact > a {
	text-decoration: none;
}

.site-footer__contact > a:hover {
	text-decoration: underline;
}

.social--footer {
	margin-top: .8rem;
}

.social--footer a {
	background: rgba(255, 255, 255, .14);
}

.social--footer a:hover {
	background: var(--white);
	color: var(--gold-deep);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem 2rem;
	padding-block: 1.25rem 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, .2);
	font-size: .9rem;
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.5rem;
}

.site-footer__legal a {
	color: #f3e9dc;
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
