/* EDM Category Landing Pages */
.edmcl {
	--edmcl-accent: #B8235A;
	--edmcl-ink: #1B1B22;
	--edmcl-soft: #FBE4EA;
	--edmcl-muted: #5E5A63;
	--edmcl-max: 1240px;
	--edmcl-ratio: 4/5;
	--edmcl-hfont: inherit;
	--edmcl-cols: 4;
	color: var(--edmcl-ink);
	box-sizing: border-box;
}
.edmcl *, .edmcl *::before, .edmcl *::after { box-sizing: border-box; }
.edmcl-wrap { max-width: var(--edmcl-max); margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.edmcl-section { padding-top: 40px; padding-bottom: 8px; }
.edmcl-center { text-align: center; }

/* Title banner */
.edmcl-hero { background: var(--edmcl-soft); padding: 36px 0 40px; text-align: center; }
.edmcl-crumbs { font-size: 14px; margin-bottom: 10px; color: var(--edmcl-muted); }
.edmcl-crumbs a { color: inherit; }
.edmcl-crumbs__sep { margin: 0 4px; }
.edmcl .edmcl-title { font-family: var(--edmcl-hfont); font-weight: 900; text-transform: none; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--edmcl-ink); }
.edmcl-page-no { font-size: 0.45em; font-weight: 600; color: var(--edmcl-muted); letter-spacing: 0; white-space: nowrap; }
.edmcl-intro { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.55; }
.edmcl-intro p { margin: 0 0 10px; }
.edmcl-intro p:last-child { margin-bottom: 0; }

/* Headings */
.edmcl .edmcl-h2 { font-family: var(--edmcl-hfont); font-weight: 800; text-transform: none; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 0 0 20px; color: var(--edmcl-ink); }
.edmcl-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--edmcl-accent); }

/* Circles */
.edmcl-circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 28px; }
.edmcl-circle { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 132px; text-decoration: none; color: var(--edmcl-ink); }
.edmcl-circle__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--edmcl-soft); transition: transform .2s ease; }
.edmcl-circle:hover .edmcl-circle__img, .edmcl-circle:focus-visible .edmcl-circle__img { transform: scale(1.04); }
.edmcl-circle__name { font-family: var(--edmcl-hfont); font-weight: 800; font-size: 16px; line-height: 1.2; text-align: center; }

/* Grids and cards */
.edmcl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.edmcl-grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.edmcl-grid--row { grid-template-columns: repeat(var(--edmcl-cols), minmax(0, 1fr)); }
.edmcl-card { margin: 0; }
.edmcl-card__link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--edmcl-ink); height: 100%; }
.edmcl-card__media { display: block; overflow: hidden; border-radius: 14px; background: var(--edmcl-soft); aspect-ratio: var(--edmcl-ratio); }
.edmcl-card--featured .edmcl-card__media { border-radius: 18px; }
.edmcl .edmcl-card__img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; transition: transform .3s ease; }
.edmcl-card__link:hover .edmcl-card__img, .edmcl-card__link:focus-visible .edmcl-card__img { transform: scale(1.03); }
.edmcl-card__img--none { display: block; width: 100%; height: 100%; background: var(--edmcl-soft); }
.edmcl-card__body { display: flex; flex-direction: column; gap: 6px; }
.edmcl-card__title { font-family: var(--edmcl-hfont); font-weight: 800; font-size: 18px; line-height: 1.25; }
.edmcl-card--featured .edmcl-card__title { font-size: 22px; }
.edmcl-card__link:hover .edmcl-card__title { color: var(--edmcl-accent); }
.edmcl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--edmcl-muted); }
.edmcl-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: #D9D3DA; }
.edmcl-stars::before { content: "\2605\2605\2605\2605\2605"; }
.edmcl-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #D99A1E; }
.edmcl-stars__fill::before { content: "\2605\2605\2605\2605\2605"; }
.edmcl-card__time::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; }
.edmcl-card__meta > .edmcl-card__time:first-child::before { display: none; }

/* Rows (shortcode) */
.edmcl-row { max-width: var(--edmcl-max); margin: 0 auto 40px; }
.edmcl-row__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 20px; }
.edmcl-row__head .edmcl-h2 { margin-bottom: 0; }
.edmcl-row__more { font-family: var(--edmcl-hfont); font-weight: 800; color: var(--edmcl-accent); text-decoration: underline; text-underline-offset: 4px; }
.edmcl-circles-block { margin: 0 auto 40px; max-width: var(--edmcl-max); }

/* Pagination */
.edmcl-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 36px 0 8px; }
.edmcl-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px; border: 2px solid var(--edmcl-ink); color: var(--edmcl-ink); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; }
.edmcl-pagination .page-numbers.current { background: var(--edmcl-ink); color: #fff; }
.edmcl-pagination .page-numbers.dots { border-color: transparent; }
.edmcl-pagination a.page-numbers:hover { background: var(--edmcl-accent); border-color: var(--edmcl-accent); color: #fff; }

/* Bottom SEO content */
.edmcl-bottom { max-width: 820px; margin: 24px auto 40px; padding-top: 32px; border-top: 2px solid var(--edmcl-soft); font-size: 17px; line-height: 1.65; }
.edmcl-bottom h2 { font-family: var(--edmcl-hfont); font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
.edmcl-bottom h3 { font-family: var(--edmcl-hfont); font-size: 21px; margin: 20px 0 8px; }
.edmcl-bottom a { color: var(--edmcl-accent); }
.edmcl-empty { text-align: center; color: var(--edmcl-muted); }

/* Newsletter */
.edmcl-newsletter { background: var(--edmcl-accent); color: #fff; margin-top: 24px; }
.edmcl-newsletter__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 40px; }
.edmcl-newsletter__copy { flex: 1 1 360px; }
.edmcl-newsletter__title { font-family: var(--edmcl-hfont); font-size: 30px; margin: 0 0 6px; color: #fff; }
.edmcl-newsletter__copy p { margin: 0; }
.edmcl-newsletter__form { flex: 1 1 380px; }

@media (max-width: 1000px) {
	.edmcl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.edmcl-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edmcl-grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.edmcl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
	.edmcl-card__title { font-size: 16px; }
	.edmcl-circle { width: 96px; }
	.edmcl-circle__img { width: 88px; height: 88px; }
	.edmcl-circles { gap: 16px; }
	.edmcl-intro { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
	.edmcl-card__img, .edmcl-circle__img { transition: none; }
}
