/*
 * Native category archive (category.php), 2026-11-28.
 * A measured copy of the Royal Elementor Addons template it replaces
 * (wpr_templates 972). Values come from that page's computed styles at
 * 320, 390, 768, 1024, 1440 and 1920 px; Elementor's breakpoints were
 * tablet <= 1024 px and mobile <= 767 px. Everything is scoped under
 * .exhale-cat-main so nothing reaches the header, footer or other pages.
 */

.exhale-cat-main {
	--exhale-cat-teal: #47AEA8;
	--exhale-cat-primary: #029791;
	--exhale-cat-navy: #021649;
	--exhale-cat-card-bg: #F6FBFB;
	display: block;
	color: #000;
	font-family: "Inter", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px; /* Elementor's 1.5em, inherited as a length */
	text-align: start;
}

.exhale-cat-main *,
.exhale-cat-main *::before,
.exhale-cat-main *::after {
	box-sizing: border-box;
}

.exhale-cat-main a {
	text-decoration: none;
	box-shadow: none;
}

/* ---------- Banner ---------- */

.exhale-cat-banner-wrap {
	display: flex;
	flex-direction: column;
	padding: 20px 20px 0;
}

.exhale-cat-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 400px;
	border-radius: 10px;
	background-image: url("/wp-content/uploads/2025/12/5c5790_4c2ac0b3e1ef4ac1a0df2ae1f6d15951mv2.avif");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.exhale-cat-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-color: #000;
	opacity: 0.5;
}

.exhale-cat-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.exhale-cat-main .exhale-cat-banner__title {
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: "Anton", sans-serif;
	font-size: 48px;
	font-weight: 400;
	line-height: 53px;
	letter-spacing: 0.9px;
	text-transform: none;
	text-align: start;
}

.exhale-cat-banner__sub {
	width: 682px;
	max-width: 100%;
	color: #fff;
	font-family: "Inter", sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 25.5px;
	text-align: center;
}

/* ---------- Title and list ---------- */

.exhale-cat-list-section {
	display: flex;
	flex-direction: column;
	padding: 50px 0;
}

.exhale-cat-list-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.exhale-cat-main .exhale-cat-title {
	margin: 0;
	padding: 0;
	color: var(--exhale-cat-teal);
	font-family: "Anton", sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 39px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-align: left;
}

.exhale-cat-list {
	display: block;
}

.exhale-cat-card {
	width: calc(100% - 1px);
	margin: 0 0 15px;
	padding: 10px;
	border: 1px solid #E8E8E8;
	background-color: var(--exhale-cat-card-bg);
	text-align: center;
}

.exhale-cat-card:last-child {
	margin-bottom: 0;
}

.exhale-cat-card__inner {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.exhale-cat-card__media {
	position: relative;
	display: block;
	flex: 0 0 30%;
	width: 30%;
	align-self: flex-start;
	margin: 0 20px 0 0;
	overflow: hidden;
	color: inherit;
	cursor: pointer;
}

.exhale-cat-main .exhale-cat-card__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
}

.exhale-cat-card__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.25);
	opacity: 0;
	transition: opacity 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
	pointer-events: none;
}

.exhale-cat-card__media:hover .exhale-cat-card__overlay,
.exhale-cat-card__media:focus-visible .exhale-cat-card__overlay {
	opacity: 1;
}

.exhale-cat-card__body {
	flex: 1 1 auto;
	min-width: 0;
	background-color: var(--exhale-cat-card-bg);
}

.exhale-cat-card__badges {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	text-align: left;
}

.exhale-cat-card__badge {
	margin: 15px 0;
}

.exhale-cat-main .exhale-cat-card__badge a {
	display: inline-block;
	margin: 0 3px 0 0;
	padding: 5px 10px;
	border-radius: 3px;
	background-color: var(--exhale-cat-teal);
	color: #fff;
	transition: color 0.1s, background-color 0.1s;
}

.exhale-cat-main .exhale-cat-card__badge a:hover,
.exhale-cat-main .exhale-cat-card__badge a:focus-visible {
	color: #000;
}

.exhale-cat-main .exhale-cat-card__title {
	margin: 0;
	padding: 0;
	color: #000;
	font-family: "DM Serif Display", sans-serif;
	font-size: 21px;
	font-weight: 700;
	line-height: 23px;
	letter-spacing: 0.9px;
	text-transform: none;
	text-align: left;
}

.exhale-cat-card__title-inner {
	display: block;
}

.exhale-cat-main .exhale-cat-card__title a {
	display: inline-block;
	color: var(--exhale-cat-navy);
	transition: color 0.2s;
}

.exhale-cat-main .exhale-cat-card__title a:hover,
.exhale-cat-main .exhale-cat-card__title a:focus-visible {
	color: var(--exhale-cat-primary);
}

.exhale-cat-card__date {
	font-size: 14px;
	text-align: left;
}

.exhale-cat-card__date span {
	display: inline-block;
	padding: 10px 0 0;
}

.exhale-cat-card__excerpt-wrap {
	font-size: 14px;
	text-align: left;
}

.exhale-cat-card__excerpt {
	display: inline-block;
	width: 100%;
	padding: 10px 0;
	margin: 0;
}

.exhale-cat-main .exhale-cat-card__excerpt p {
	margin: 0;
	padding: 0;
	color: #000;
	font-size: 14px;
}

.exhale-cat-card__more {
	text-align: left;
}

.exhale-cat-main .exhale-cat-card__more a {
	position: relative;
	display: inline-block;
	overflow: hidden;
	vertical-align: middle;
	color: var(--exhale-cat-primary);
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	transition: color 0.1s;
}

.exhale-cat-main .exhale-cat-card__more a:hover,
.exhale-cat-main .exhale-cat-card__more a:focus-visible {
	color: var(--exhale-cat-navy);
}

.exhale-cat-card__more a span {
	position: relative;
}

/* No posts in the category: Royal printed an h2 in the kit's h2 style. */
.exhale-cat-main .exhale-cat-empty h2 {
	margin: 8px 0 16px;
	padding: 0;
	color: #000;
	font-family: "DM Serif Display", sans-serif;
	font-size: 46px;
	font-weight: 500;
	line-height: 1.3em;
	letter-spacing: 0.9px;
}

/* Older / newer posts (no category had a second page in November 2026). */
.exhale-cat-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 10px 0 0;
}

.exhale-cat-main .exhale-cat-pagination__link {
	display: inline-block;
	padding: 8px 20px;
	border-radius: 3px;
	background-color: var(--exhale-cat-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	transition: background-color 0.1s;
}

.exhale-cat-main .exhale-cat-pagination__link:hover,
.exhale-cat-main .exhale-cat-pagination__link:focus-visible {
	background-color: var(--exhale-cat-navy);
}

/* ---------- Breakpoints (Elementor's: laptop 1366, tablet 1024, mobile 767) ---------- */

@media (max-width: 1366px) {
	.exhale-cat-main .exhale-cat-empty h2 { font-size: 42px; }
}

@media (max-width: 1200px) {
	.exhale-cat-main .exhale-cat-empty h2 { font-size: 36px; }
}

@media (max-width: 1024px) {
	.exhale-cat-banner { min-height: 300px; }
	.exhale-cat-main .exhale-cat-banner__title { font-size: 36px; text-align: center; }
	.exhale-cat-list-section { padding: 40px 20px; }
	/* Royal's tablet gutter (15px) also sat under the last card */
	.exhale-cat-card:last-child { margin-bottom: 15px; }
	.exhale-cat-main .exhale-cat-empty h2 { font-size: 30px; }
}

@media (max-width: 767px) {
	.exhale-cat-main {
		font-size: 14px;
		line-height: 21px;
	}
	.exhale-cat-banner { min-height: 250px; }
	.exhale-cat-main .exhale-cat-banner__title { line-height: 46.8px; }
	.exhale-cat-list-section { padding: 20px; }
	.exhale-cat-card,
	.exhale-cat-card:last-child { margin-bottom: 0; }
	.exhale-cat-card__inner { display: block; }
	.exhale-cat-card__media {
		width: 100%;
		margin: 0;
	}
	.exhale-cat-card__body { display: block; }
}
