/*
Theme Name: Art History Etc
Theme URI: https://arthistoryetc.co.uk/
Description: Child theme for Art History Etc, based on Twenty Twenty-Five.
Author: Your Agency Name
Template: twentytwentyfive
Version: 0.1.0
Text Domain: art-history-etc
*/

/* Art History Etc header */

.ahe-site-header {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin-block-start: 0;
	padding: 2rem clamp(1.5rem, 7vw, 6rem) 1.4rem;
	border-bottom: 3px solid #000;
}

.ahe-site-header .wp-block-site-logo img {
	display: block;
	width: 145px;
	height: auto;
}

.ahe-site-header .wp-block-navigation__responsive-container-open {
	color: #000;
}

.ahe-site-header .wp-block-navigation__responsive-container-open svg {
	width: 42px;
	height: 42px;
}

/* Art History Etc homepage */

.ahe-home-main {
	padding: 1.7rem clamp(1.5rem, 7vw, 6rem) 4rem;
}

.ahe-section-rule {
	border-bottom: 3px solid #000;
}

.ahe-hero {
	padding-bottom: 1.6rem;
}

.ahe-hero-columns {
	align-items: center !important;
	gap: clamp(2rem, 8vw, 7rem);
}

.ahe-hero-title {
	margin: 0 0 1.75rem;
	font-size: clamp(2rem, 4vw, 3.2rem);
	line-height: 1.08;
	font-weight: 400;
}

.ahe-hero-copy {
	max-width: 31rem;
	margin: 0 0 2.1rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.ahe-red-mark {
	width: 96px !important;
	height: 7px;
	margin: 0 0 1.3rem !important;
	border: 0 !important;
	background: #ff3000 !important;
	opacity: 1;
}

.ahe-begin {
	margin: 0;
	font-size: 1rem;
}

.ahe-hero-image-placeholder {
	min-height: 380px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #b3b3b3;
	color: #ffffff;
	font-style: italic;
}

/* Homepage section cards */

.ahe-card-section {
	padding: 3rem 0 2.8rem;
}

.ahe-card-grid {
	gap: clamp(1.5rem, 3vw, 2.8rem);
}

.ahe-card {
	margin: 0;
}

.ahe-card-icon {
	height: 210px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	background: #b3b3b3;
	color: #fff;
	font-size: 6rem;
	line-height: 1;
	font-family: Georgia, 'Times New Roman', Times, serif;
}

.ahe-card h2 {
	margin: 0 0 0.9rem;
	font-size: 1rem;
	line-height: 1.2;
	font-weight: 400;
	text-transform: uppercase;
}

.ahe-accent {
	width: 96px;
	height: 6px;
	margin-bottom: 1.1rem;
}

.ahe-accent-blue {
	background: #00aeef;
}

.ahe-accent-yellow {
	background: #fff200;
}

.ahe-accent-red {
	background: #ff3000;
}

.ahe-card p {
	margin: 0 0 1.2rem;
	font-size: 1rem;
	line-height: 1.25;
}

.ahe-enter {
	font-size: 1.15rem !important;
}

.ahe-enter span {
	display: inline-block;
	margin-left: 1rem;
	font-size: 2rem;
	line-height: 0;
}

/* Homepage feature row */

.ahe-feature-section {
	padding: 3rem 0;
}

.ahe-feature-row {
	align-items: center !important;
	gap: clamp(2rem, 8vw, 6rem);
}

.ahe-kicker {
	margin: 0 0 0.6rem;
	color: #00aeef;
	font-size: 1rem;
	line-height: 1.2;
	text-transform: uppercase;
}

.ahe-feature-title {
	max-width: 38rem;
	margin: 0 0 0.8rem;
	font-size: clamp(2rem, 3.2vw, 3rem);
	font-weight: 400;
	line-height: 1.08;
}

.ahe-feature-copy {
	max-width: 34rem;
	margin: 0 0 2rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.ahe-read-more {
	margin: 0;
	color: #00aeef;
	font-size: 1.25rem;
}

.ahe-read-more span {
	display: inline-block;
	margin-left: 1rem;
	font-size: 2rem;
	line-height: 0;
}

.ahe-feature-image-placeholder {
	min-height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #b3b3b3;
	color: #ffffff;
	font-style: italic;
	border: 2px solid #000;
}

/* Homepage 5 Ways In box */

.ahe-fiveways-section {
	padding: 3rem 0 2.5rem;
}

.ahe-fiveways-box {
	align-items: center !important;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin: 0;
	padding: 1.6rem;
	border: 3px solid #000;
}

.ahe-fiveways-image-placeholder {
	min-height: 210px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #b3b3b3;
	color: #fff;
	font-style: italic;
}

.ahe-fiveways-title {
	margin: 0 0 0.8rem;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 400;
	line-height: 1.05;
}

.ahe-fiveways-copy {
	margin: 0 0 1.4rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.ahe-fiveways-list {
	border-left: 3px solid #000;
	padding-left: 1.4rem;
}

.ahe-fiveways-list p {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0.9rem 0;
	border-bottom: 1.5px solid #000;
	font-size: 1rem;
	line-height: 1.25;
}

.ahe-fiveways-list span {
	min-width: 2rem;
}

/* Homepage purpose statement */

.ahe-purpose-section {
	max-width: 760px !important;
	margin-inline: auto;
	padding: 2.5rem 0 3.5rem;
	text-align: center;
}

.ahe-purpose-rule {
	width: min(640px, 80vw) !important;
	height: 3px;
	margin: 0 auto 2rem !important;
	border: 0 !important;
	background: #ff3000 !important;
	opacity: 1;
}

.ahe-purpose-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.2;
}

.ahe-purpose-copy {
	max-width: 640px;
	margin: 0 auto;
	font-size: 1rem;
	line-height: 1.35;
}

/* Art History Etc footer */

.ahe-site-footer {
	margin-block-start: 0;
	padding: 0 clamp(1.5rem, 7vw, 6rem);
	border-top: 3px solid #000;
}

.ahe-footer-inner {
	min-height: 5rem;
	margin: 0;
}

.ahe-footer-nav {
	font-size: 1.05rem;
}

.ahe-footer-nav .wp-block-navigation-item__content {
	color: #000;
}

.ahe-footer-envelope {
	margin: 0;
	font-size: 2rem;
	line-height: 1;
}

.ahe-footer-envelope a {
	color: #000;
	text-decoration: none;
}

/* Responsive adjustments */

@media (max-width: 781px) {
	.ahe-site-header {
		padding: 1.4rem 1.25rem 1.1rem;
	}

	.ahe-site-header .wp-block-site-logo img {
		width: 118px;
	}

	.ahe-site-header .wp-block-navigation__responsive-container-open svg {
		width: 34px;
		height: 34px;
	}

	.ahe-home-main {
		padding: 1.4rem 1.25rem 3rem;
	}

	.ahe-hero-columns,
	.ahe-card-grid,
	.ahe-feature-row,
	.ahe-fiveways-box {
		gap: 1.5rem;
	}

	.ahe-hero-image-placeholder {
		min-height: 260px;
	}

	.ahe-card-section {
		padding: 2rem 0;
	}

	.ahe-card-icon {
		height: 170px;
	}

	.ahe-feature-section {
		padding: 2rem 0;
	}

	.ahe-feature-image-placeholder {
		min-height: 220px;
	}

	.ahe-fiveways-section {
		padding: 2rem 0;
	}

	.ahe-fiveways-box {
		padding: 1.2rem;
	}

	.ahe-fiveways-list {
		border-left: 0;
		border-top: 3px solid #000;
		padding-left: 0;
		padding-top: 0.6rem;
	}

	.ahe-purpose-section {
		padding: 2rem 0 3rem;
	}

	.ahe-site-footer {
		padding: 0 1.25rem;
	}

	.ahe-footer-inner {
		min-height: 4.5rem;
		align-items: flex-start;
		gap: 1rem;
		padding: 1.2rem 0;
	}

	.ahe-footer-nav .wp-block-navigation__container {
		gap: 0.8rem 1.2rem;
	}
}

/* Homepage card links */

.ahe-enter a {
	color: #000;
	text-decoration: none;
}

.ahe-enter a:hover,
.ahe-enter a:focus {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Header overlay navigation */

.ahe-site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: #ffffff;
	color: #000000;
	padding: 2rem clamp(1.5rem, 7vw, 6rem);
}

.ahe-site-header .wp-block-navigation__responsive-container-close {
	color: #000000;
	top: 2rem;
	right: clamp(1.5rem, 7vw, 6rem);
}

.ahe-site-header .wp-block-navigation__responsive-container-close svg {
	width: 42px;
	height: 42px;
}

.ahe-site-header .wp-block-navigation__responsive-container-content {
	align-items: flex-start;
	padding-top: 5rem;
}

.ahe-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	align-items: flex-start;
	gap: 1.1rem;
}

.ahe-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
	font-family: Georgia, 'Times New Roman', Times, serif;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1.05;
	color: #000000;
	text-decoration: none;
}

.ahe-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:hover,
.ahe-site-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content:focus {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.12em;
}

/* Archive/category pages */

.ahe-archive-main {
	padding: 3rem clamp(1.5rem, 7vw, 6rem) 4rem;
}

.ahe-archive-header {
	margin: 0 0 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 3px solid #000;
}

.ahe-archive-title {
	margin: 0 0 0.8rem;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
	font-weight: 400;
	line-height: 1.05;
}

.ahe-archive-description {
	max-width: 48rem;
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
}

.ahe-archive-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.ahe-archive-item {
	margin: 0;
	padding: 2rem 0;
	border-bottom: 2px solid #000;
}

.ahe-archive-item-columns {
	align-items: center !important;
	gap: clamp(1.5rem, 5vw, 4rem);
}

.ahe-archive-image img {
	border: 2px solid #000;
	object-fit: cover;
}

.ahe-post-date {
	margin: 0 0 0.4rem;
	color: #00aeef;
	font-size: 0.95rem;
	line-height: 1.2;
}

.ahe-post-title {
	margin: 0 0 0.8rem;
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 400;
	line-height: 1.08;
}

.ahe-post-title a {
	color: #000;
	text-decoration: none;
}

.ahe-post-title a:hover,
.ahe-post-title a:focus {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.12em;
}

.ahe-post-excerpt {
	max-width: 42rem;
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
}

.ahe-post-excerpt .wp-block-post-excerpt__more-link {
	color: #00aeef;
	font-style: italic;
	text-decoration: none;
}

.ahe-no-results {
	margin: 2rem 0;
	font-size: 1.1rem;
}

.ahe-pagination {
	margin-top: 2rem;
	font-size: 1.1rem;
}

@media (max-width: 781px) {
	.ahe-archive-main {
		padding: 2rem 1.25rem 3rem;
	}

	.ahe-archive-item {
		padding: 1.5rem 0;
	}
}

/* Single article pages */

.ahe-single-main {
	padding: 3rem clamp(1.5rem, 7vw, 6rem) 4rem;
}

.ahe-single-header {
	max-width: 860px !important;
	margin: 0 auto 2rem;
	text-align: center;
}

.ahe-single-categories {
	margin: 0 0 0.8rem;
	color: #00aeef;
	font-size: 1rem;
	text-transform: uppercase;
}

.ahe-single-categories a {
	color: #00aeef;
	text-decoration: none;
}

.ahe-single-title {
	margin: 0 0 1rem;
	font-size: clamp(2.5rem, 5vw, 5rem);
	font-weight: 400;
	line-height: 1.02;
}

.ahe-single-featured-image {
	max-width: 1040px !important;
	margin: 0 auto 3rem;
}

.ahe-single-featured-image img {
	border: 2px solid #000;
	object-fit: cover;
}

.ahe-single-content {
	max-width: 760px !important;
	margin: 0 auto;
}

.ahe-single-content p,
.ahe-single-content li {
	font-size: 1.12rem;
	line-height: 1.5;
}

.ahe-single-content h2 {
	margin-top: 2.5rem;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.1;
}

.ahe-single-content h3 {
	margin-top: 2rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.15;
}

.ahe-single-content a {
	color: #00aeef;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

@media (max-width: 781px) {
	.ahe-single-main {
		padding: 2rem 1.25rem 3rem;
	}

	.ahe-single-title {
		font-size: clamp(2.2rem, 12vw, 3.5rem);
	}
}

/* Standard pages */

.ahe-page-main {
	padding: 3rem clamp(1.5rem, 7vw, 6rem) 4rem;
}

.ahe-page-header {
	max-width: 860px !important;
	margin: 0 auto 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 3px solid #000;
	text-align: center;
}

.ahe-page-title {
	margin: 0;
	font-size: clamp(2.8rem, 6vw, 5rem);
	font-weight: 400;
	line-height: 1.02;
}

.ahe-page-content {
	max-width: 760px !important;
	margin: 0 auto;
}

.ahe-page-content p,
.ahe-page-content li {
	font-size: 1.12rem;
	line-height: 1.5;
}

.ahe-page-content h2 {
	margin-top: 2.5rem;
	font-size: 2rem;
	font-weight: 400;
	line-height: 1.1;
}

.ahe-page-content h3 {
	margin-top: 2rem;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.15;
}

.ahe-page-content a {
	color: #00aeef;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

@media (max-width: 781px) {
	.ahe-page-main {
		padding: 2rem 1.25rem 3rem;
	}

	.ahe-page-title {
		font-size: clamp(2.3rem, 13vw, 3.6rem);
	}
}

/* Archive image fallback */

.ahe-archive-image-wrap {
	position: relative;
	min-height: 220px;
	background: #b3b3b3;
	border: 2px solid #000;
}

.ahe-archive-image-wrap .ahe-archive-image {
	position: relative;
	z-index: 2;
	margin: 0;
}

.ahe-archive-image-wrap .ahe-archive-image img {
	display: block;
	border: 0;
}

.ahe-archive-image-fallback {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #ffffff;
	font-style: italic;
}

/* Single article image fallback */

.ahe-single-featured-wrap {
	position: relative;
	max-width: 1040px !important;
	min-height: 320px;
	margin: 0 auto 3rem;
	background: #b3b3b3;
	border: 2px solid #000;
}

.ahe-single-featured-wrap .ahe-single-featured-image {
	position: relative;
	z-index: 2;
	margin: 0;
}

.ahe-single-featured-wrap .ahe-single-featured-image img {
	display: block;
	border: 0;
}

.ahe-single-featured-fallback {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: #ffffff;
	font-style: italic;
}

@media (max-width: 781px) {
	.ahe-single-featured-wrap {
		min-height: 220px;
	}
}

/* Single article closing CTA */

.ahe-post-cta {
	max-width: 860px !important;
	margin: 3.5rem auto 0;
	padding-top: 2rem;
	border-top: 3px solid #000;
	text-align: center;
}

.ahe-post-cta-title {
	margin: 0 0 0.5rem;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
	line-height: 1.05;
}

.ahe-post-cta-copy {
	max-width: 34rem;
	margin: 0 auto 1.4rem;
	font-size: 1.05rem;
	line-height: 1.35;
}

.ahe-post-cta-links {
	justify-content: center;
	font-size: 1rem;
}

.ahe-post-cta-links .wp-block-navigation-item__content {
	color: #000;
	text-decoration: none;
}

.ahe-post-cta-links .wp-block-navigation-item__content:hover,
.ahe-post-cta-links .wp-block-navigation-item__content:focus {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Homepage sticky feature adjustments */

.ahe-feature-title a {
	color: #000;
	text-decoration: none;
}

.ahe-feature-title a:hover,
.ahe-feature-title a:focus {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.12em;
}

.ahe-read-more a {
	color: #00aeef;
	text-decoration: none;
}

.ahe-read-more a:hover,
.ahe-read-more a:focus {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.ahe-feature-image-placeholder {
	margin: 0;
}

.ahe-feature-image-placeholder img {
	display: block;
	width: 100%;
	border: 2px solid #000;
	object-fit: cover;
}

/* Dynamic read more block */

.wp-block-read-more.ahe-read-more {
	display: inline-block;
	margin: 0;
	color: #00aeef;
	font-size: 1.25rem;
	font-style: italic;
	text-decoration: none;
}

.wp-block-read-more.ahe-read-more:hover,
.wp-block-read-more.ahe-read-more:focus {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

/* Dynamic 5 Ways In list */

.ahe-fiveways-list-query {
	border-left: 3px solid #000;
	padding-left: 1.4rem;
}

.ahe-fiveways-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
}

.ahe-fiveways-list-item {
	margin: 0;
	padding: 0.9rem 0;
	border-bottom: 1.5px solid #000;
}

.ahe-fiveways-list-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.25;
}

.ahe-fiveways-list-title a {
	color: #000;
	text-decoration: none;
}

.ahe-fiveways-list {
	counter-reset: ahe-fiveways-counter;
}

.ahe-fiveways-list-item {
	counter-increment: ahe-fiveways-counter;
}

.ahe-fiveways-list-title a::before {
	content: counter(ahe-fiveways-counter, decimal-leading-zero);
	display: inline-block;
	min-width: 2.5rem;
	margin-right: 0.8rem;
	color: #000;
	text-decoration: none;
}

.ahe-fiveways-list-title a:hover,
.ahe-fiveways-list-title a:focus {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (max-width: 781px) {
	.ahe-fiveways-list-query {
		border-left: 0;
		border-top: 3px solid #000;
		padding-left: 0;
		padding-top: 0.6rem;
	}
}