/*
 * Editorial Prototype v0.2.2
 * Rebrand the prototype by changing the variables below.
 */
:root {
    --ep-accent: #a87712;
    --ep-accent-hover: #7a5609;
    --ep-ink: #101014;
    --ep-muted: #686870;
    --ep-surface: #ffffff;
    --ep-soft: #f5f5f7;
    --ep-border: #e4e4e8;
    --ep-shell: 1400px;
    --ep-article: 810px;
    --ep-radius: 0px;
    --ep-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ep-site {
    color: var(--ep-ink);
    font-family: var(--ep-font);
    padding-bottom: clamp(64px, 8vw, 120px);
}

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

.ep-shell {
    width: min(calc(100% - 40px), var(--ep-shell));
    margin-inline: auto;
}

.ep-site a {
    color: inherit;
    text-decoration: none;
}

.ep-site img {
    display: block;
    width: 100%;
    height: auto;
}

.ep-kicker {
    margin: 0 0 12px;
    color: var(--ep-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


.ep-home {
	padding-top: clamp(42px, 5vw, 72px);
}

.ep-lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(520px, 1fr);
    gap: 12px;
    align-items: stretch;
}

.ep-feature-card,
.ep-compact-card,
.ep-card {
    overflow: hidden;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-radius);
    background: var(--ep-surface);
}

.ep-feature-card {
    position: relative;
    display: flex;
    min-height: 620px;
    isolation: isolate;
}

.ep-feature-card__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    overflow: hidden;
    background: var(--ep-soft);
}

.ep-feature-card__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            180deg,
            rgba(10, 10, 12, 0.03) 20%,
            rgba(10, 10, 12, 0.20) 58%,
            rgba(10, 10, 12, 0.82) 100%
        );
}

.ep-card__media {
    display: block;
    overflow: hidden;
    background: var(--ep-soft);
}

.ep-feature-card__media img,
.ep-card__media img,
.ep-compact-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.ep-feature-card:hover img,
.ep-card:hover img,
.ep-compact-card:hover img {
    transform: scale(1.025);
}

.ep-feature-card__content {
    display: flex;
    width: 100%;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(28px, 4vw, 54px);
    color: #ffffff;
}

.ep-feature-card .ep-pill {
    min-height: 28px;
    padding: 5px 10px;
    background: rgba(8, 8, 10, 0.76);
    color: #ffffff !important;
    backdrop-filter: blur(7px);
}

.ep-feature-card .ep-pill:hover,
.ep-feature-card .ep-pill:focus-visible {
    background: #ffffff;
    color: var(--ep-ink) !important;
}

.ep-feature-card h2 {
    max-width: 88%;
    margin: 16px 0 16px;
    padding: 10px 14px 12px;
    background: rgba(8, 8, 10, 0.94);
    font-size: clamp(32px, 3.8vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1.1;
}

.ep-feature-card h2 a {
    display: block;
    padding: 0;
    background: transparent;
    color: #ffffff;
}

.ep-feature-card .ep-meta {
    color: rgba(255, 255, 255, 0.9);
}

.ep-lead-grid__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ep-compact-card {
    display: grid;
    grid-template-rows: minmax(135px, 1fr) auto;
    min-width: 0;
    min-height: 0;
}

.ep-compact-card__media {
    display: block;
    min-height: 0;
    overflow: hidden;
    background: var(--ep-soft);
}

.ep-compact-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 10px 10px;
}

.ep-compact-card h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 6px 0 8px;
    font-size: clamp(17px, 1.25vw, 21px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.ep-compact-card .ep-meta {
    margin-top: auto;
}


.ep-compact-card .ep-pill {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 9px;
}

.ep-compact-card .ep-meta {
    font-size: 10px;
}

.ep-compact-card__media {
    aspect-ratio: 16 / 9;
}

.ep-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #efefff;
    color: var(--ep-accent) !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ep-pill:hover,
.ep-pill:focus-visible {
    background: var(--ep-accent);
    color: #ffffff !important;
}

.ep-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ep-muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ep-category-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-block: clamp(48px, 6vw, 86px);
    padding-block: 20px;
    border-top: 1px solid var(--ep-border);
    border-bottom: 1px solid var(--ep-border);
}

.ep-category-strip__label {
    margin-right: 8px;
    color: var(--ep-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ep-category-strip a {
    padding: 9px 14px;
    border-radius: 999px;
    background: var(--ep-soft);
    font-size: 14px;
    font-weight: 700;
}

.ep-category-strip a:hover,
.ep-category-strip a:focus-visible {
    background: var(--ep-ink);
    color: #ffffff;
}

.ep-section-heading {
    margin-bottom: 28px;
}

.ep-section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 56px);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.ep-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.ep-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ep-card__media {
    aspect-ratio: 3 / 2;
}

.ep-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
}

.ep-card h3 {
    margin: 16px 0 12px;
    font-size: clamp(22px, 2.2vw, 30px);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.ep-card__content > p {
    margin: 0 0 24px;
    color: var(--ep-muted);
    font-size: 15px;
    line-height: 1.62;
}

.ep-card__footer {
    display: flex;
    width: 100%;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--ep-border);
}

.ep-read-link {
    flex: none;
    color: var(--ep-accent) !important;
    font-size: 14px;
    font-weight: 800;
}

.ep-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, rgba(99, 91, 255, 0.16), transparent 60%),
        var(--ep-soft);
}

.ep-feed-page {
    padding-top: clamp(48px, 7vw, 96px);
}

.ep-archive-header {
    margin-bottom: clamp(36px, 5vw, 64px);
}

.ep-archive-description {
    max-width: 740px;
    margin-top: 22px;
    color: var(--ep-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ep-pagination {
    margin-top: 56px;
}

.ep-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-pagination .page-numbers {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--ep-border);
    border-radius: 999px;
}

.ep-pagination .current,
.ep-pagination a:hover {
    background: var(--ep-ink);
    color: #ffffff;
}

.ep-single {
    padding-top: clamp(60px, 8vw, 120px);
}

.ep-article-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ep-article-header h1 {
    max-width: 1120px;
    margin-top: 24px;
    font-size: clamp(44px, 6.5vw, 92px);
}

.ep-article-header .ep-meta {
    margin-top: 26px;
}

.ep-standfirst {
    max-width: 820px;
    margin: 28px 0 0;
    color: var(--ep-muted);
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.48;
}

.ep-article-hero {
    margin-top: clamp(42px, 6vw, 76px);
}

.ep-article-hero img {
    max-height: 760px;
    border-radius: 28px;
    object-fit: cover;
}

.ep-article-content {
    width: min(calc(100% - 40px), var(--ep-article));
    margin: clamp(48px, 7vw, 88px) auto 0;
    font-size: clamp(17px, 1.5vw, 19px);
    line-height: 1.78;
}

.ep-article-content > * {
    margin-top: 0;
    margin-bottom: 1.45em;
}

.ep-article-content h2,
.ep-article-content h3 {
    margin-top: 1.8em;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.ep-article-content h2 {
    font-size: clamp(30px, 3.4vw, 46px);
}

.ep-article-content h3 {
    font-size: clamp(24px, 2.6vw, 34px);
}

.ep-article-content blockquote {
    margin: 2em 0;
    padding: 26px 30px;
    border: 0;
    border-radius: var(--ep-radius);
    background: var(--ep-soft);
    font-size: 1.2em;
    font-weight: 650;
    line-height: 1.5;
}

.ep-article-content a {
    color: var(--ep-accent);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.ep-article-footer {
    width: min(calc(100% - 40px), var(--ep-article));
    margin: 42px auto 0;
    padding-top: 26px;
    border-top: 1px solid var(--ep-border);
}

.ep-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ep-tags a {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--ep-soft);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1180px) and (min-width: 1041px) {
    .ep-lead-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(480px, 1fr);
    }

    .ep-compact-card__content {
        padding: 7px 9px 9px;
    }

    .ep-compact-card h3 {
        font-size: 17px;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 1040px) {
    .ep-lead-grid {
        grid-template-columns: 1fr;
    }

    .ep-lead-grid__secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);
    }

    .ep-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ep-feature-card {
        min-height: 520px;
    }

    .ep-feature-card h2 {
        max-width: 94%;
        padding: 9px 11px 10px;
        font-size: 36px;
        line-height: 1.12;
    }


    .ep-shell,
    .ep-article-content,
    .ep-article-footer {
        width: min(calc(100% - 28px), var(--ep-shell));
    }

    .ep-lead-grid,
    .ep-lead-grid__secondary,
    .ep-card-grid {
        grid-template-columns: 1fr;
    }

    .ep-lead-grid__secondary {
        grid-template-rows: none;
    }

    .ep-feature-card h2 {
        font-size: 34px;
    }

    .ep-compact-card {
        grid-template-rows: auto auto;
    }

    .ep-compact-card__media {
        aspect-ratio: 16 / 9;
    }

    .ep-compact-card h3 {
        font-size: 22px;
        -webkit-line-clamp: 3;
    }

    .ep-category-strip__label {
        width: 100%;
    }

    .ep-card h3 {
        font-size: 26px;
    }

    .ep-article-header h1 {
        font-size: 46px;
    }

    .ep-article-hero img {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ep-site *,
    .ep-site *::before,
    .ep-site *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   Custom editorial header
   ========================================================= */

.ep-site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid var(--ep-border);
	background: rgba(255, 255, 255, 0.96);
	color: var(--ep-ink);
}

.ep-header__inner {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
	align-items: center;
	min-height: 82px;
	gap: 28px;
}

.ep-header__brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.ep-header__logo img {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 44px;
}

.ep-header__title {
	color: var(--ep-ink);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.ep-header__nav {
	justify-self: center;
}

.ep-nav-list,
.ep-mobile-nav-list,
.ep-footer-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ep-nav-list {
	display: flex;
	align-items: center;
	gap: 30px;
}

.ep-nav-list li {
	position: relative;
	margin: 0;
}

.ep-nav-list a {
	display: block;
	padding: 29px 0 27px;
	color: var(--ep-ink);
	font-size: 14px;
	font-weight: 700;
}

.ep-nav-list a:hover,
.ep-nav-list a:focus-visible,
.ep-nav-list .current-menu-item > a {
	color: var(--ep-accent);
}

.ep-nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: -20px;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--ep-border);
	background: #ffffff;
	box-shadow: 0 18px 50px rgba(16, 16, 20, 0.12);
	list-style: none;
}

.ep-nav-list li:hover > .sub-menu,
.ep-nav-list li:focus-within > .sub-menu {
	display: block;
}

.ep-nav-list .sub-menu a {
	padding: 10px 12px;
}

.ep-header__actions {
	display: flex;
	justify-self: end;
	align-items: center;
	gap: 8px;
}

.ep-icon-button {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--ep-border);
	border-radius: 0;
	background: #ffffff;
	color: var(--ep-ink);
	cursor: pointer;
}

.ep-icon-button:hover,
.ep-icon-button:focus-visible {
	border-color: var(--ep-ink);
	background: var(--ep-ink);
	color: #ffffff;
}

.ep-icon-button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 1.8;
}

.ep-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
}

.ep-menu-toggle span {
	display: block;
	width: 18px;
	height: 1.5px;
	background: currentColor;
	transition: transform 180ms ease;
}

.ep-menu-toggle[aria-expanded="true"] span:first-child {
	transform: translateY(3.75px) rotate(45deg);
}

.ep-menu-toggle[aria-expanded="true"] span:last-child {
	transform: translateY(-3.75px) rotate(-45deg);
}

.ep-search-panel,
.ep-mobile-panel {
	border-top: 1px solid var(--ep-border);
	background: #ffffff;
}

.ep-search-panel__inner {
	padding-block: 24px;
}

.ep-search-panel form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	max-width: 820px;
	margin-inline: auto;
}

.ep-search-panel input[type="search"] {
	width: 100%;
	min-height: 54px;
	padding: 12px 16px;
	border: 1px solid var(--ep-border);
	border-radius: 0;
	background: #ffffff;
	color: var(--ep-ink);
	font-size: 17px;
}

.ep-search-panel input[type="submit"],
.ep-search-panel button[type="submit"] {
	min-height: 54px;
	padding: 12px 22px;
	border: 1px solid var(--ep-ink);
	border-radius: 0;
	background: var(--ep-ink);
	color: #ffffff;
	font-weight: 800;
	cursor: pointer;
}

.ep-mobile-panel__inner {
	padding-block: 24px 34px;
}

.ep-mobile-nav-list > li {
	border-bottom: 1px solid var(--ep-border);
}

.ep-mobile-nav-list a {
	display: block;
	padding: 16px 0;
	color: var(--ep-ink);
	font-size: 22px;
	font-weight: 750;
	letter-spacing: -0.025em;
}

.ep-mobile-nav-list .sub-menu {
	margin: 0 0 12px;
	padding: 0 0 0 18px;
	list-style: none;
}

.ep-mobile-nav-list .sub-menu a {
	padding: 10px 0;
	color: var(--ep-muted);
	font-size: 16px;
}

/* =========================================================
   Custom editorial footer
   ========================================================= */

.ep-site-footer {
	border-top: 1px solid #29292e;
	background: #101014;
	color: #ffffff;
	font-family: var(--ep-font);
}

.ep-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
	gap: clamp(42px, 7vw, 110px);
	padding-block: clamp(64px, 8vw, 110px);
}

.ep-footer__title {
	display: inline-block;
	color: #ffffff;
	font-size: clamp(30px, 3vw, 48px);
	font-weight: 800;
	letter-spacing: -0.05em;
}

.ep-footer__brand p {
	max-width: 560px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 17px;
	line-height: 1.65;
}

.ep-footer__column h2 {
	margin: 0 0 22px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ep-footer-list li {
	margin: 0 0 13px;
}

.ep-footer-list a {
	color: #ffffff;
	font-size: 15px;
	font-weight: 650;
}

.ep-footer-list a:hover,
.ep-footer-list a:focus-visible {
	color: #9f9aff;
}

.ep-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 22px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ep-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

.ep-footer__bottom a {
	color: #ffffff;
	font-size: 13px;
	font-weight: 750;
}

/* Remove GeneratePress' default header/footer shells when custom templates load. */
.site-header,
.main-navigation,
.site-footer:not(.ep-site-footer) {
	display: none !important;
}

@media (max-width: 900px) {
	.ep-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		min-height: 72px;
	}

	.ep-header__nav {
		display: none;
	}

	.ep-header__actions {
		grid-column: 2;
	}

	.ep-menu-toggle {
		display: inline-flex;
	}

	.ep-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ep-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 620px) {
	.ep-header__inner {
		min-height: 66px;
	}

	.ep-header__title {
		font-size: 19px;
	}

	.ep-header__logo img {
		max-width: 170px;
		max-height: 38px;
	}

	.ep-icon-button {
		width: 40px;
		height: 40px;
	}

	.ep-search-panel form {
		grid-template-columns: 1fr;
	}

	.ep-footer__grid {
		grid-template-columns: 1fr;
		padding-block: 56px;
	}

	.ep-footer__brand {
		grid-column: auto;
	}

	.ep-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* =========================================================
   Editorial single post
   ========================================================= */

.ep-single {
	padding-top: clamp(72px, 8vw, 132px);
}

.ep-article-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ep-article-header h1 {
	max-width: 1180px;
	margin-top: 24px;
	font-size: clamp(46px, 6.7vw, 96px);
	letter-spacing: -0.058em;
	line-height: 0.98;
}

.ep-standfirst {
	max-width: 860px;
	margin: 30px 0 0;
	color: var(--ep-muted);
	font-size: clamp(21px, 2.3vw, 30px);
	line-height: 1.48;
}

.ep-article-byline {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--ep-border);
}

.ep-article-byline__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ep-article-byline__author img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.ep-article-byline__avatar-link {
	display: block;
	flex: 0 0 44px;
	border-radius: 50%;
}

.ep-article-byline__avatar-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.ep-article-byline__author div {
	display: flex;
	flex-direction: column;
}

.ep-article-byline__author span {
	color: var(--ep-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ep-article-byline__author strong {
	margin-top: 2px;
	font-size: 14px;
}

.ep-article-byline__author strong a {
	color: inherit;
	text-decoration: none;
}

.ep-article-byline__author strong a:hover,
.ep-article-byline__author strong a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ep-article-hero {
	margin-top: clamp(42px, 5vw, 72px);
}

.ep-article-hero img {
	width: 100%;
	max-height: 780px;
	object-fit: cover;
}

.ep-article-layout {
	display: grid;
	grid-template-columns: 84px minmax(0, var(--ep-article)) 84px;
	justify-content: center;
	gap: 28px;
	margin-top: clamp(52px, 6vw, 90px);
}

.ep-share-rail {
	position: sticky;
	top: 110px;
	display: flex;
	height: max-content;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.ep-share-rail__label {
	margin-bottom: 4px;
	color: var(--ep-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.ep-share-rail a {
	display: inline-flex;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ep-border);
	color: var(--ep-ink);
}

.ep-share-rail a:hover,
.ep-share-rail a:focus-visible {
	border-color: var(--ep-ink);
	background: var(--ep-ink);
	color: #ffffff;
}

.ep-share-rail svg {
	width: 18px;
	height: 18px;
	display: block;
	flex: 0 0 18px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.ep-share-rail a:nth-of-type(2) svg,
.ep-share-rail a:nth-of-type(3) svg {
	fill: currentColor;
	stroke: none;
}

.ep-share-rail a:nth-of-type(3) svg {
	width: 17px;
	height: 17px;
	flex-basis: 17px;
}

.ep-article-main {
	grid-column: 2;
	min-width: 0;
}

.ep-article-content {
	width: 100%;
	margin: 0;
	font-size: clamp(17px, 1.45vw, 19px);
	line-height: 1.82;
}

.ep-article-content > * {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.ep-article-content h2,
.ep-article-content h3,
.ep-article-content h4 {
	margin-top: 1.9em;
	color: var(--ep-ink);
	letter-spacing: -0.038em;
	line-height: 1.12;
}

.ep-article-content h2 {
	font-size: clamp(31px, 3.6vw, 48px);
}

.ep-article-content h3 {
	font-size: clamp(25px, 2.7vw, 36px);
}

.ep-article-content h4 {
	font-size: 22px;
}

.ep-article-content p:first-child {
	font-size: 1.08em;
}

.ep-article-content blockquote {
	margin: 2.2em 0;
	padding: 30px 32px;
	border: 0;
	border-left: 5px solid var(--ep-accent);
	background: var(--ep-soft);
	font-size: 1.22em;
	font-weight: 650;
	line-height: 1.52;
}

.ep-article-content blockquote p:last-child {
	margin-bottom: 0;
}

.ep-article-content figure,
.ep-article-content .wp-block-image {
	margin-block: 2em;
}

.ep-article-content figcaption {
	margin-top: 10px;
	color: var(--ep-muted);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.ep-article-content a {
	color: var(--ep-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.17em;
}

.ep-article-content ul,
.ep-article-content ol {
	padding-left: 1.25em;
}

.ep-article-content li {
	margin-bottom: 0.55em;
}

.ep-article-footer {
	width: 100%;
	margin: 46px 0 0;
	padding-top: 26px;
	border-top: 1px solid var(--ep-border);
}

.ep-author-box {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 24px;
	margin-top: 52px;
	padding: 28px;
	border: 1px solid var(--ep-border);
	background: var(--ep-soft);
}

.ep-author-box__avatar img {
	display: block;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	object-fit: cover;
}

.ep-author-box__content h2 {
	margin: 0;
	font-size: 28px;
	letter-spacing: -0.035em;
}

.ep-author-box__content p:last-child {
	margin: 12px 0 0;
	color: var(--ep-muted);
	line-height: 1.65;
}

.ep-post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-top: 52px;
	background: var(--ep-border);
	border: 1px solid var(--ep-border);
}

.ep-post-navigation__item {
	min-height: 150px;
	padding: 24px;
	background: #ffffff;
}

.ep-post-navigation__item--next {
	text-align: right;
}

.ep-post-navigation__item span {
	display: block;
	margin-bottom: 10px;
	color: var(--ep-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ep-post-navigation__item a {
	font-size: 19px;
	font-weight: 750;
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.ep-post-navigation__item a:hover,
.ep-post-navigation__item a:focus-visible {
	color: var(--ep-accent);
}

.ep-related {
	margin-top: clamp(82px, 9vw, 140px);
	padding-top: clamp(58px, 7vw, 90px);
	border-top: 1px solid var(--ep-border);
}

.tbe-article-faqs {
	margin-top: clamp(52px, 7vw, 82px);
	padding-top: clamp(42px, 5vw, 58px);
	border-top: 1px solid var(--ep-border);
}

.tbe-article-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px;
	margin-top: clamp(46px, 6vw, 72px);
	padding: clamp(28px, 4vw, 40px);
	background: #f7f6fb;
	border: 1px solid #e5e3ed;
	border-radius: 20px;
}

.tbe-article-cta__eyebrow {
	margin: 0 0 12px;
	color: #57516a;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.tbe-article-cta h2 {
	margin: 0 0 16px;
	font-size: clamp(27px, 4vw, 36px);
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.tbe-article-cta__description {
	margin: 0;
	color: var(--ep-muted);
	font-size: 16px;
	line-height: 1.55;
}

.tbe-article-cta__source {
	margin: 16px 0 0;
	color: #625d6e;
	font-size: 13px;
	line-height: 1.45;
}

.tbe-article-cta__button,
.tbe-article-cta__button:link,
.tbe-article-cta__button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 23px;
	background: #111111;
	border: 2px solid #111111;
	border-radius: 999px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.tbe-article-cta__button:hover,
.tbe-article-cta__button:focus-visible {
	background: #2b2b2b;
	border-color: #2b2b2b;
	color: #ffffff;
}

.tbe-article-faqs > h2 {
	margin: 8px 0 28px;
	font-size: clamp(32px, 5vw, 46px);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.tbe-article-faqs__list {
	border-top: 1px solid var(--ep-border);
}

.tbe-article-faqs__item {
	padding: 26px 0;
	border-bottom: 1px solid var(--ep-border);
}

.tbe-article-faqs__item h3 {
	margin: 0 0 12px;
	font-size: clamp(20px, 3vw, 24px);
	letter-spacing: -0.025em;
	line-height: 1.25;
}

.tbe-article-faqs__answer,
.tbe-article-faqs__answer p {
	color: var(--ep-muted);
	font-size: 17px;
	line-height: 1.7;
}

.tbe-article-faqs__answer p {
	margin: 0;
}

.tbe-article-faqs__answer p + p {
	margin-top: 12px;
}

.ep-related .ep-card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1040px) {
	.ep-article-layout {
		grid-template-columns: 56px minmax(0, var(--ep-article));
		justify-content: center;
	}

	.ep-article-main {
		grid-column: 2;
	}

	.ep-related .ep-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.tbe-article-cta {
		grid-template-columns: 1fr;
		gap: 24px;
		border-radius: 16px;
	}

	.tbe-article-cta__button {
		width: 100%;
	}

	.ep-single {
		padding-top: 52px;
	}

	.ep-article-header h1 {
		font-size: 48px;
	}

	.ep-article-byline {
		align-items: flex-start;
		flex-direction: column;
	}

	.ep-article-layout {
		grid-template-columns: 1fr;
		margin-top: 42px;
	}

	.ep-share-rail {
		position: static;
		display: flex;
		grid-column: 1;
		flex-direction: row;
		justify-content: flex-start;
	}

	.ep-share-rail__label {
		margin: 0 6px 0 0;
		writing-mode: horizontal-tb;
		transform: none;
	}

	.ep-article-main {
		grid-column: 1;
	}

	.ep-author-box {
		grid-template-columns: 1fr;
	}

	.ep-post-navigation {
		grid-template-columns: 1fr;
	}

	.ep-post-navigation__item--next {
		text-align: left;
	}

	.ep-related .ep-card-grid {
		grid-template-columns: 1fr;
	}
}


/* =========================================================
   Single-post refinement — v0.9.2
   ========================================================= */

.ep-article-header {
	padding-inline: clamp(0px, 1vw, 12px);
}

.ep-article-header h1 {
	text-wrap: balance;
}

.ep-standfirst {
	text-wrap: pretty;
}

.ep-article-hero img {
	aspect-ratio: 16 / 9;
	max-height: none;
	background: var(--ep-soft);
}

.ep-article-content {
	color: #242429;
}

.ep-article-content > p {
	text-wrap: pretty;
}

.ep-article-content > p + p {
	margin-top: -0.1em;
}

.ep-article-content h2 + p,
.ep-article-content h3 + p,
.ep-article-content h4 + p {
	margin-top: -0.45em;
}

.ep-article-content strong {
	color: var(--ep-ink);
	font-weight: 750;
}

.ep-article-content hr,
.ep-article-content .wp-block-separator {
	width: 100%;
	margin: 3.2em 0;
	border: 0;
	border-top: 1px solid var(--ep-border);
}

.ep-article-content .wp-block-separator.is-style-wide {
	border-top-width: 2px;
}

.ep-article-content .wp-block-pullquote {
	margin: 2.4em 0;
	padding: 34px 0;
	border-top: 2px solid var(--ep-ink);
	border-bottom: 2px solid var(--ep-ink);
	text-align: left;
}

.ep-article-content .wp-block-pullquote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: clamp(25px, 3vw, 38px);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.2;
}

.ep-article-content .wp-block-pullquote cite {
	display: block;
	margin-top: 16px;
	color: var(--ep-muted);
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ep-article-content pre,
.ep-article-content .wp-block-code {
	overflow-x: auto;
	margin: 2em 0;
	padding: 22px 24px;
	border: 1px solid var(--ep-border);
	background: #151519;
	color: #f7f7f8;
	font-size: 14px;
	line-height: 1.65;
	tab-size: 4;
}

.ep-article-content code {
	padding: 0.16em 0.36em;
	background: var(--ep-soft);
	color: var(--ep-ink);
	font-size: 0.92em;
}

.ep-article-content pre code,
.ep-article-content .wp-block-code code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.ep-article-content table,
.ep-article-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}

.ep-article-content .wp-block-table {
	overflow-x: auto;
	margin: 2.2em 0;
}

.ep-article-content th,
.ep-article-content td {
	padding: 14px 16px;
	border: 1px solid var(--ep-border);
	text-align: left;
	vertical-align: top;
}

.ep-article-content th {
	background: var(--ep-soft);
	color: var(--ep-ink);
	font-weight: 800;
}

.ep-article-content tbody tr:nth-child(even) {
	background: #fafafa;
}

.ep-article-content .wp-block-button {
	margin-block: 1.8em;
}

.ep-article-content .wp-block-button__link {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border-radius: 0;
	background: var(--ep-accent);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ep-article-content .wp-block-button__link:hover,
.ep-article-content .wp-block-button__link:focus-visible {
	background: var(--ep-accent-hover);
	color: #ffffff;
}

.ep-article-content .wp-block-embed {
	margin-block: 2.4em;
}

.ep-article-content .wp-block-embed__wrapper {
	overflow: hidden;
}

.ep-article-content .alignwide {
	width: min(1040px, calc(100vw - 40px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.ep-article-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.ep-article-content .wp-block-image img,
.ep-article-content figure img {
	height: auto;
}

.ep-article-content .wp-block-gallery {
	margin-block: 2.3em;
}

.ep-article-content .wp-block-columns {
	gap: 28px;
	margin-block: 2.1em;
}

.ep-article-content .wp-block-cover {
	min-height: 420px;
	margin-block: 2.3em;
}

.ep-article-content .wp-block-cover__inner-container {
	width: min(90%, 680px);
}

.ep-article-content .wp-block-cover p {
	color: inherit;
}

.ep-tags a:hover,
.ep-tags a:focus-visible {
	background: var(--ep-ink);
	color: #ffffff;
}

.ep-author-box {
	align-items: center;
}

.ep-related .ep-section-heading {
	margin-bottom: 34px;
}

@media (max-width: 760px) {
	.ep-article-header h1 {
		font-size: clamp(42px, 12vw, 58px);
		line-height: 1.01;
	}

	.ep-standfirst {
		font-size: 20px;
	}

	.ep-article-hero {
		width: 100%;
		margin-top: 34px;
	}

	.ep-article-hero img {
		aspect-ratio: 4 / 3;
	}

	.ep-article-content {
		font-size: 17px;
		line-height: 1.75;
	}

	.ep-article-content h2 {
		font-size: 32px;
	}

	.ep-article-content h3 {
		font-size: 26px;
	}

	.ep-article-content blockquote {
		padding: 24px 22px;
		font-size: 1.12em;
	}

	.ep-article-content .wp-block-pullquote blockquote {
		font-size: 27px;
	}

	.ep-article-content .alignwide,
	.ep-article-content .alignfull {
		width: calc(100vw - 28px);
	}

	.ep-article-content .wp-block-columns {
		gap: 18px;
	}

	.ep-article-content th,
	.ep-article-content td {
		padding: 11px 12px;
	}
}


/* =========================================================
   Archive, search, page and 404 templates — v0.10.0
   ========================================================= */

.ep-feed-page {
	padding-top: clamp(68px, 8vw, 128px);
}

.ep-archive-header--editorial,
.ep-search-header {
	margin-bottom: clamp(42px, 6vw, 74px);
}

.ep-archive-header--editorial h1,
.ep-search-header h1,
.ep-page-header h1,
.ep-404__content h1 {
	max-width: 1050px;
	margin: 0;
	font-size: clamp(44px, 6vw, 86px);
	font-weight: 780;
	letter-spacing: -0.055em;
	line-height: 0.99;
	text-wrap: balance;
}

.ep-archive-description {
	max-width: 780px;
	margin-top: 24px;
	color: var(--ep-muted);
	font-size: clamp(17px, 1.6vw, 21px);
	line-height: 1.65;
}

.ep-archive-description > *:last-child {
	margin-bottom: 0;
}

.ep-archive-header__rule {
	width: 100%;
	margin-top: 34px;
	border-top: 1px solid var(--ep-border);
}

.ep-card-grid--archive {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ep-pagination--editorial {
	margin-top: clamp(48px, 6vw, 76px);
}

.ep-pagination--editorial .nav-links {
	align-items: center;
	justify-content: center;
}

.ep-pagination--editorial .page-numbers {
	min-width: 44px;
	min-height: 44px;
	border-radius: 0;
}

.ep-search-header__form {
	max-width: 860px;
	margin-top: 34px;
}

.ep-search-header__form form,
.ep-404__search form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.ep-search-header__form input[type="search"],
.ep-404__search input[type="search"] {
	width: 100%;
	min-height: 56px;
	padding: 13px 16px;
	border: 1px solid var(--ep-border);
	border-radius: 0;
	background: #ffffff;
	color: var(--ep-ink);
	font-size: 17px;
}

.ep-search-header__form input[type="submit"],
.ep-search-header__form button[type="submit"],
.ep-404__search input[type="submit"],
.ep-404__search button[type="submit"] {
	min-height: 56px;
	padding: 13px 24px;
	border: 1px solid var(--ep-ink);
	border-radius: 0;
	background: var(--ep-ink);
	color: #ffffff;
	font-weight: 800;
	cursor: pointer;
}

.ep-search-results__count {
	margin-bottom: 24px;
	color: var(--ep-muted);
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ep-empty-state {
	max-width: 820px;
	padding: clamp(42px, 6vw, 78px);
	border: 1px solid var(--ep-border);
	background: #ffffff;
}

.ep-empty-state h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 54px);
	letter-spacing: -0.045em;
	line-height: 1.05;
}

.ep-empty-state > p:not(.ep-kicker) {
	max-width: 620px;
	margin: 20px 0 0;
	color: var(--ep-muted);
	font-size: 17px;
	line-height: 1.65;
}

.ep-empty-state .ep-button {
	margin-top: 26px;
}

.ep-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 22px;
	border: 1px solid var(--ep-ink);
	background: var(--ep-ink);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
}

.ep-button:hover,
.ep-button:focus-visible {
	border-color: var(--ep-accent);
	background: var(--ep-accent);
}

.ep-button--ghost {
	background: transparent;
	color: var(--ep-ink) !important;
}

.ep-button--ghost:hover,
.ep-button--ghost:focus-visible {
	color: #ffffff !important;
}

.ep-page {
	padding-top: clamp(72px, 8vw, 128px);
}

.ep-page-header {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.ep-page-hero {
	margin-top: clamp(42px, 5vw, 72px);
}

.ep-page-hero img {
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

.ep-page-content {
	width: min(calc(100% - 40px), 860px);
	margin: clamp(52px, 6vw, 88px) auto 0;
	color: #242429;
	font-size: clamp(17px, 1.45vw, 19px);
	line-height: 1.8;
}

.ep-page-content > * {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.ep-page-content h2,
.ep-page-content h3,
.ep-page-content h4 {
	margin-top: 1.9em;
	letter-spacing: -0.038em;
	line-height: 1.12;
}

.ep-page-content h2 {
	font-size: clamp(31px, 3.6vw, 48px);
}

.ep-page-content h3 {
	font-size: clamp(25px, 2.7vw, 36px);
}

.ep-page-content a {
	color: var(--ep-accent);
	text-decoration: underline;
	text-underline-offset: 0.17em;
}

.ep-404 {
	display: flex;
	min-height: 72vh;
	align-items: center;
	padding-block: clamp(64px, 9vw, 140px);
}

.ep-404__inner {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(44px, 8vw, 120px);
}

.ep-404__number {
	color: #dedee4;
	font-size: clamp(150px, 24vw, 360px);
	font-weight: 900;
	letter-spacing: -0.09em;
	line-height: 0.74;
	user-select: none;
}

.ep-404__content > p:not(.ep-kicker) {
	max-width: 700px;
	margin: 24px 0 0;
	color: var(--ep-muted);
	font-size: 18px;
	line-height: 1.65;
}

.ep-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 30px;
}

.ep-404__search {
	max-width: 760px;
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid var(--ep-border);
}

@media (max-width: 1040px) {
	.ep-card-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ep-404__inner {
		grid-template-columns: 1fr;
	}

	.ep-404__number {
		font-size: clamp(130px, 30vw, 260px);
	}
}

@media (max-width: 700px) {
	.ep-feed-page,
	.ep-page {
		padding-top: 52px;
	}

	.ep-archive-header--editorial h1,
	.ep-search-header h1,
	.ep-page-header h1,
	.ep-404__content h1 {
		font-size: 46px;
	}

	.ep-card-grid--archive {
		grid-template-columns: 1fr;
	}

	.ep-search-header__form form,
	.ep-404__search form {
		grid-template-columns: 1fr;
	}

	.ep-empty-state {
		padding: 30px 24px;
	}

	.ep-page-hero {
		width: 100%;
	}

	.ep-page-hero img {
		aspect-ratio: 4 / 3;
	}

	.ep-page-content {
		width: min(calc(100% - 28px), 860px);
	}

	.ep-404 {
		min-height: auto;
		padding-top: 44px;
	}

	.ep-404__number {
		font-size: 128px;
	}

	.ep-404__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ep-404__actions .ep-button {
		width: 100%;
	}
}


/* Single-post featured image: deliberately square corners. */
.single .ep-article-hero,
.single .ep-article-hero img {
	border-radius: 0 !important;
}


/* Affiliate disclosure shown below the featured image on single posts. */
.ep-affiliate-disclosure {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-top: 16px;
	padding: 18px 20px;
	border: 1px solid #d9d9df;
	border-radius: 0;
	background: #f0f0f3;
	color: #5d5d66;
	font-size: 14px;
	line-height: 1.6;
}

.ep-affiliate-disclosure strong {
	flex: none;
	color: var(--ep-ink);
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.075em;
	line-height: 1.6;
	text-transform: uppercase;
}

.ep-affiliate-disclosure p {
	margin: 0;
}

@media (max-width: 700px) {
	.ep-affiliate-disclosure {
		width: min(calc(100% - 28px), var(--ep-shell));
		flex-direction: column;
		gap: 7px;
		margin-top: 12px;
		padding: 16px;
		font-size: 14px;
	}
}


/* TL;DR box populated automatically from the post excerpt. */
.ep-tldr-box {
	width: min(calc(100% - 40px), 860px);
	margin: 38px auto 0;
	padding: 26px 28px;
	border: 2px solid #b9d5ff;
	background: #ffffff;
	color: var(--ep-ink);
}

.ep-tldr-box__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.ep-tldr-box__star {
	color: #f4a126;
	font-size: 22px;
	line-height: 1;
}

.ep-tldr-box h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 850;
	letter-spacing: -0.015em;
	line-height: 1.2;
}

.ep-tldr-box p {
	margin: 0;
	font-size: 17px;
	line-height: 1.68;
}

@media (max-width: 700px) {
	.ep-tldr-box {
		width: min(calc(100% - 28px), 860px);
		margin-top: 28px;
		padding: 22px 20px;
	}

	.ep-tldr-box p {
		font-size: 16px;
	}
}

/* =========================================================
   Accessibility contrast lock — v0.11.0
   These final rules override earlier pill declarations.
   ========================================================= */

.ep-site a.ep-pill {
	background: #efefff !important;
	color: #4338ca !important;
}

.ep-site a.ep-pill:hover,
.ep-site a.ep-pill:focus-visible {
	background: #4338ca !important;
	color: #ffffff !important;
}

.ep-feature-card a.ep-pill {
	background: #101014 !important;
	color: #ffffff !important;
	backdrop-filter: none;
}

.ep-feature-card a.ep-pill:hover,
.ep-feature-card a.ep-pill:focus-visible {
	background: #ffffff !important;
	color: #101014 !important;
}

/* =========================================================
   Kicker accessibility contrast lock — v0.11.1
   ========================================================= */

.ep-site p.ep-kicker,
.ep-site .ep-kicker {
	color: #4338ca !important;
}


/* =========================================================
   The Blog Edit Editorial — v0.1.0
   ========================================================= */

:root {
	--tbe-gold: #c79a2b;
	--tbe-gold-dark: #6f4d00;
	--tbe-gold-soft: #fff7dc;
	--tbe-navy: #20304a;
}

.ep-site-header {
	border-top: 4px solid var(--tbe-gold);
}

.ep-header__title {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.055em;
}

.ep-header__title,
.ep-header__title:visited {
	color: var(--ep-ink);
}

.ep-header__title:hover,
.ep-header__title:focus-visible {
	color: var(--ep-ink);
}

.ep-header__logo img {
	max-width: 280px;
	max-height: 54px;
}

.ep-nav-list a {
	font-size: 15px;
}

.ep-home {
	padding-top: clamp(34px, 4vw, 60px);
}

.ep-feed {
	margin-top: clamp(64px, 7vw, 104px);
}

.ep-section-heading h2 {
	max-width: 900px;
}

.ep-site a.ep-pill {
	background: var(--tbe-gold-soft) !important;
	color: var(--tbe-gold-dark) !important;
}

.ep-site a.ep-pill:hover,
.ep-site a.ep-pill:focus-visible {
	background: var(--ep-ink) !important;
	color: #ffffff !important;
}

.ep-feature-card a.ep-pill {
	background: #101014 !important;
	color: #ffffff !important;
}

.ep-read-link {
	color: var(--tbe-gold-dark) !important;
}

.tbe-single {
	padding-top: clamp(30px, 4vw, 58px);
}

.tbe-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	max-width: 980px;
	margin-bottom: 28px;
	color: #777780;
	font-size: 13px;
	line-height: 1.5;
}

.tbe-breadcrumbs a {
	color: #55555d;
}

.tbe-breadcrumbs a:hover,
.tbe-breadcrumbs a:focus-visible {
	color: var(--tbe-gold-dark);
}

.tbe-breadcrumbs .rank-math-breadcrumb p {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
}

.tbe-single .ep-article-header {
	max-width: 1240px;
}

.tbe-single .ep-article-header h1 {
	max-width: 1220px;
	margin-top: 18px;
	font-size: clamp(44px, 5.2vw, 72px);
	line-height: 1.01;
}

.tbe-single .ep-article-hero {
	width: min(calc(100% - 40px), 1080px);
	margin-top: clamp(34px, 4vw, 54px);
}

.tbe-single .ep-article-hero img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.tbe-article-tools {
	width: min(calc(100% - 40px), 860px);
	margin: clamp(36px, 4vw, 58px) auto 0;
}

.tbe-key-moments {
	border: 1px solid #d6d8de;
	background: #f8f8f9;
}

.tbe-key-moments summary {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 20px;
	padding: 20px 56px 20px 22px;
	cursor: pointer;
	list-style: none;
}

.tbe-key-moments summary::-webkit-details-marker {
	display: none;
}

.tbe-key-title {
	color: var(--ep-ink);
	font-size: 18px;
	font-weight: 850;
	letter-spacing: -0.02em;
}

.tbe-key-count {
	grid-column: 1;
	color: #6e6e76;
	font-size: 13px;
	font-weight: 650;
}

.tbe-key-icon {
	position: absolute;
	top: 50%;
	right: 22px;
	color: var(--ep-ink);
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform 180ms ease;
}

.tbe-key-moments[open] .tbe-key-icon {
	transform: translateY(-50%) rotate(45deg);
}

.tbe-key-content {
	padding: 2px 22px 22px;
	border-top: 1px solid #dedee3;
}

.tbe-key-content ol {
	margin: 0;
	padding: 8px 0 0 22px;
}

.tbe-key-content li {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #e7e7ea;
}

.tbe-key-content li:last-child {
	border-bottom: 0;
}

.tbe-key-content a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--ep-ink);
	text-decoration: none;
}

.tbe-key-content a:hover .tbe-key-moment-heading,
.tbe-key-content a:focus-visible .tbe-key-moment-heading {
	color: var(--tbe-gold-dark);
}

.tbe-key-moment-heading {
	font-size: 15px;
	font-weight: 800;
}

.tbe-key-moment-excerpt {
	color: #6b6b73;
	font-size: 13px;
	line-height: 1.55;
}

.nr-tldr {
	margin-top: 18px;
	padding: 24px 26px;
	border: 2px solid var(--tbe-navy);
	background: #ffffff;
	color: var(--ep-ink);
}

.nr-tldr-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.nr-tldr-icn {
	color: var(--tbe-gold);
	font-size: 21px;
	line-height: 1;
}

.nr-tldr-ttl {
	margin: 0;
	font-size: 18px;
	font-weight: 850;
	letter-spacing: -0.015em;
}

.nr-tldr-body,
.nr-tldr-body p {
	margin: 0;
	font-size: 17px;
	line-height: 1.65;
}

.tbe-article-tools + .ep-article-layout {
	margin-top: clamp(42px, 5vw, 68px);
}

.ep-article-content {
	font-size: 18px;
	line-height: 1.78;
}

.ep-article-content h2 {
	scroll-margin-top: 110px;
}

.tbe-further-reading .ep-card-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: none;
}

.tbe-footer-grid {
	grid-template-columns:
		minmax(0, 1.45fr)
		repeat(3, minmax(150px, 0.55fr));
	gap: clamp(34px, 5vw, 80px);
}

.ep-footer__title {
	position: relative;
	padding-bottom: 12px;
}

.ep-footer__title::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 62px;
	height: 3px;
	background: var(--tbe-gold);
	content: "";
}

@media (max-width: 1000px) {
	.tbe-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tbe-footer-grid .ep-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.ep-header__title {
		font-size: 30px;
	}

	.tbe-single .ep-article-header h1 {
		font-size: clamp(38px, 11vw, 52px);
	}

	.tbe-single .ep-article-hero {
		width: 100%;
	}

	.tbe-article-tools {
		width: min(calc(100% - 28px), 860px);
		margin-top: 28px;
	}

	.tbe-key-moments summary {
		padding: 18px 52px 18px 18px;
	}

	.tbe-key-content {
		padding: 2px 18px 18px;
	}

	.nr-tldr {
		padding: 21px 19px;
	}

	.nr-tldr-body,
	.nr-tldr-body p {
		font-size: 16px;
	}

	.tbe-further-reading .ep-card-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.tbe-footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 38px;
	}

	.tbe-footer-grid .ep-footer__brand {
		grid-column: auto;
	}
}

/* =========================================================
   Legacy live-site CSS isolation — v0.1.1
   Existing The Blog Edit CSS targets generic article/post classes.
   These locks keep the new theme's homepage grids at their intended width.
   ========================================================= */

body.home #tbe-home-lead {
	display: grid !important;
	width: min(calc(100% - 40px), var(--ep-shell)) !important;
	max-width: var(--ep-shell) !important;
	grid-template-columns: minmax(0, 1.35fr) minmax(520px, 1fr) !important;
	gap: 12px !important;
	align-items: stretch !important;
}

body.home #tbe-home-lead > .ep-feature-card,
body.home #tbe-home-lead > .ep-lead-grid__secondary,
body.home #tbe-home-lead .ep-compact-card {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body.home #tbe-home-lead .ep-lead-grid__secondary {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
	gap: 10px !important;
}

body.home #tbe-latest-grid {
	display: grid !important;
	width: 100% !important;
	max-width: none !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 28px !important;
}

body.home #tbe-latest-grid > .ep-card {
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
}

@media (max-width: 1040px) {
	body.home #tbe-home-lead {
		grid-template-columns: 1fr !important;
	}

	body.home #tbe-latest-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 700px) {
	body.home #tbe-home-lead,
	body.home #tbe-latest-grid,
	body.home #tbe-home-lead .ep-lead-grid__secondary {
		grid-template-columns: 1fr !important;
	}

	body.home #tbe-home-lead {
		width: min(calc(100% - 28px), var(--ep-shell)) !important;
	}
}

/* =========================================================
   Load More and TL;DR refinement — v0.1.2
   ========================================================= */

.tbe-load-more-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: clamp(46px, 6vw, 72px);
}

.tbe-load-more {
	display: inline-flex;
	min-width: 174px;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 25px;
	border: 1px solid var(--ep-ink);
	background: var(--ep-ink);
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 850;
	text-decoration: none !important;
	transition:
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.tbe-load-more:hover,
.tbe-load-more:focus-visible {
	border-color: var(--tbe-gold-dark);
	background: var(--tbe-gold-dark);
	color: #ffffff !important;
	transform: translateY(-1px);
}

.tbe-load-more.is-loading {
	cursor: wait;
	opacity: 0.7;
	pointer-events: none;
}

.tbe-load-more.is-loading span[aria-hidden="true"] {
	animation: tbe-load-more-pulse 700ms ease-in-out infinite alternate;
}

@keyframes tbe-load-more-pulse {
	from {
		transform: translateY(-2px);
	}

	to {
		transform: translateY(3px);
	}
}

/*
 * The previous live design contains older .nr-tldr rules. These selectors
 * deliberately reset that inherited spacing and typography.
 */
body.single-post .tbe-article-tools .nr-tldr {
	min-height: 0 !important;
	margin: 18px 0 0 !important;
	padding: 20px 26px 22px !important;
}

body.single-post .tbe-article-tools .nr-tldr-head {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

body.single-post .tbe-article-tools .nr-tldr-icn {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 19px !important;
	line-height: 1 !important;
}

body.single-post .tbe-article-tools .nr-tldr-ttl {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
}

body.single-post .tbe-article-tools .nr-tldr-body,
body.single-post .tbe-article-tools .nr-tldr-body p {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 17px !important;
	line-height: 1.65 !important;
}

@media (prefers-reduced-motion: reduce) {
	.tbe-load-more,
	.tbe-load-more.is-loading span[aria-hidden="true"] {
		animation: none !important;
		transition: none !important;
	}
}

@media (max-width: 700px) {
	.tbe-load-more {
		width: 100%;
	}

	body.single-post .tbe-article-tools .nr-tldr {
		padding: 18px 19px 20px !important;
	}

	body.single-post .tbe-article-tools .nr-tldr-body,
	body.single-post .tbe-article-tools .nr-tldr-body p {
		font-size: 16px !important;
	}
}

/* =========================================================
   Universal single-post TL;DR spacing fix — v0.1.3
   Covers both automatically inserted boxes and existing shortcodes
   rendered inside the article content.
   ========================================================= */

body.single-post .nr-tldr {
	box-sizing: border-box !important;
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 18px 0 0 !important;
	padding: 20px 26px 22px !important;
}

body.single-post .nr-tldr::before,
body.single-post .nr-tldr::after {
	display: none !important;
	content: none !important;
}

body.single-post .nr-tldr .nr-tldr-head {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	min-height: 0 !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

body.single-post .nr-tldr .nr-tldr-head::before,
body.single-post .nr-tldr .nr-tldr-head::after {
	display: none !important;
	content: none !important;
}

body.single-post .nr-tldr .nr-tldr-icn {
	display: inline-flex !important;
	flex: 0 0 auto !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 19px !important;
	line-height: 1 !important;
	transform: none !important;
}

body.single-post .nr-tldr .nr-tldr-ttl {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 18px !important;
	line-height: 1.2 !important;
	transform: none !important;
}

body.single-post .nr-tldr .nr-tldr-body,
body.single-post .nr-tldr .nr-tldr-body p {
	margin: 0 !important;
	padding: 0 !important;
}

body.single-post .nr-tldr > :first-child {
	margin-top: 0 !important;
}

body.single-post .nr-tldr > :last-child {
	margin-bottom: 0 !important;
}

@media (max-width: 700px) {
	body.single-post .nr-tldr {
		padding: 18px 19px 20px !important;
	}
}

/* =========================================================
   Article-content TL;DR bottom spacing — v0.1.4
   ========================================================= */

body.single-post .ep-article-content .nr-tldr {
	margin-bottom: 30px !important;
}

@media (max-width: 700px) {
	body.single-post .ep-article-content .nr-tldr {
		margin-bottom: 26px !important;
	}
}


/* =========================================================
   Homepage site-title H1 — v0.1.6
   ========================================================= */

.ep-header__site-heading {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: inherit;
}

/* =========================================================
   Navigation and footer menu typography — v0.1.7
   ========================================================= */

.ep-nav-list a {
	font-size: 17px;
}

.ep-footer-list a {
	font-size: 15px;
}

@media (max-width: 900px) {
	.ep-nav-list a {
		font-size: 17px;
	}
}

/* =========================================================
   The Blog Edit project network — v0.1.8
   ========================================================= */

.tbe-footer-legal {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.tbe-footer-legal p {
	margin: 0;
}

.tbe-project-links {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 18px;
}

.tbe-project-links a {
	color: #b8b8bf;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none;
}

.tbe-project-links a:hover,
.tbe-project-links a:focus-visible {
	color: #ffffff;
}

.ep-footer__bottom .ep-back-to-top {
	flex: 0 0 auto;
	align-self: flex-end;
}

@media (max-width: 700px) {
	.ep-footer__bottom {
		align-items: flex-start;
	}

	.tbe-project-links {
		flex-direction: column;
		gap: 10px;
	}

	.tbe-project-links a {
		font-size: 14px;
	}

	.ep-footer__bottom .ep-back-to-top {
		align-self: flex-start;
	}
}


/* =========================================================
   Affiliate disclosure width alignment — v0.2.2
   Match the disclosure to the 860px TL;DR/article-tools column.
   ========================================================= */

body.single-post .ep-affiliate-disclosure {
	width: min(calc(100% - 40px), 860px);
	margin: 16px auto 0;
}

@media (max-width: 700px) {
	body.single-post .ep-affiliate-disclosure {
		width: min(calc(100% - 28px), 860px);
		margin-top: 12px;
	}
}
.tbe-ai-editorial-note {
	margin: 28px 0 0;
	color: var(--ep-muted);
	font-size: 14px;
	font-style: italic;
	line-height: 1.65;
}

/* =========================================================
   Image-aligned single-post header — v0.2.17
   ========================================================= */

body.single-post .tbe-single .ep-article-header {
	width: min(calc(100% - 40px), 1080px) !important;
	max-width: 1080px !important;
}

body.single-post .tbe-single .ep-article-header > h1 {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0;
	margin-left: 0;
	text-align: left;
}

@media (max-width: 700px) {
	body.single-post .tbe-single .ep-article-header {
		width: min(calc(100% - 28px), var(--ep-shell)) !important;
	}

	body.single-post .tbe-single .ep-article-header > h1 {
		width: 100% !important;
		max-width: none !important;
	}
}
