/* Blog index, posts and plain pages. */

.editorial-title { max-width: 920px; padding: 100px var(--container-padding) 48px; }
.editorial-title h1 { margin: 0; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.15; letter-spacing: -0.5px; color: var(--text-primary); }
.editorial-crumb,
.editorial-date { margin: 0 0 22px; font-size: 14px; }
.editorial-date { margin: 22px 0 0; }
.editorial-crumb a { border-bottom: 1px solid var(--border-light); }
.editorial-lead { margin: 0; padding: 0 var(--container-padding); }
.editorial-lead img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: cover; }

.editorial-body { box-sizing: content-box; max-width: 35em; padding: 56px var(--container-padding) 100px; font-size: 16px; line-height: 1.85; }
.editorial-body :where(p, li, h2, h3, h4, figcaption, div, a) { text-align: left !important; font-family: "Manrope", sans-serif !important; }
.editorial-body :where(p, li) { max-width: none; margin: 0 0 20px; font-size: 16px !important; font-weight: 300 !important; line-height: 1.85 !important; color: #555555 !important; }
.editorial-body :where(h2, h3) { margin: 48px 0 16px; font-family: "Playfair Display", serif !important; font-size: clamp(1.5rem, 2.2vw, 2rem) !important; font-weight: 400 !important; line-height: 1.2 !important; color: var(--text-primary) !important; }
.editorial-body :where(h3) { font-size: 1.3rem !important; }
.editorial-body :where(strong, b) { font-weight: 500; color: var(--text-primary); }
.editorial-body a:not([class*="button"]) { border-bottom: 1px solid currentColor; }
.editorial-body img { display: block; width: 100%; height: auto; margin: 36px 0; border-radius: 0 !important; box-shadow: none !important; }
.editorial-body figure { margin: 36px 0; }
.editorial-body :where(.wp-block-uagb-container, .uagb-container-inner-blocks-wrap, .wp-block-group) { padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; max-width: none !important; width: auto !important; }
/* The old in-post form is replaced by the closing block */
.editorial-body .wp-block-uagb-forms,
.editorial-body .uagb-forms-main-form { display: none !important; }

.editorial-body figcaption,
.editorial-body .editorial-pair-caption { margin: 12px 0 0; font-size: 14px !important; line-height: 1.8 !important; color: var(--text-secondary) !important; }
.editorial-body .wp-block-image img { margin: 0; }
.editorial-body .is-wide,
.editorial-body .editorial-pair,
.editorial-body .wp-block-table { width: min(1040px, 100vw - 2 * var(--container-padding)); max-width: none; }
.editorial-body .editorial-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px !important; margin: 36px 0 0; }
.editorial-body .editorial-pair figure { margin: 0; height: 100%; }
.editorial-body .editorial-pair img { height: 100%; object-fit: cover; }
.editorial-body .editorial-pair-caption { margin-bottom: 36px; }
.editorial-body .wp-block-table { overflow-x: auto; }
.editorial-body .wp-block-table table { width: 100%; border: 0; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.editorial-body .wp-block-table thead { border: 0; }
.editorial-body .wp-block-table :where(th, td) { padding: 14px 20px 14px 0; border: 0; border-bottom: 1px solid var(--border-light); text-align: left; vertical-align: top; font-weight: 300; color: #555555; }
.editorial-body .wp-block-table :where(th, td:first-child) { font-weight: 500; color: var(--text-primary); }
.editorial-body .wp-block-pullquote { margin: 48px 0; padding: 32px 0; border: solid var(--border-light); border-width: 1px 0; text-align: left; }
.editorial-body .wp-block-pullquote p { margin: 0; font-family: "Playfair Display", serif !important; font-size: clamp(1.5rem, 2.2vw, 2rem) !important; font-style: italic; font-weight: 400 !important; line-height: 1.35 !important; color: var(--text-primary) !important; }
.editorial-body .editorial-sources { margin: 0; padding: 0; list-style: none; }
.editorial-body .editorial-sources li { margin: 0 0 8px; font-size: 14px !important; }

.emb-editorial-page .search-field { font-family: "Manrope", sans-serif; }

.editorial-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin: 0; padding: 0 var(--container-padding) 100px; list-style: none; }
.editorial-list a { display: flex; flex-direction: column; height: 100%; }
.editorial-list__image { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.editorial-list__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.editorial-list a:hover img { transform: scale(1.03); }
.editorial-list__text { flex: 1; padding: 28px 28px 44px; background: var(--bg-secondary); }
.editorial-list time { font-size: 14px; font-weight: 300; color: var(--text-secondary); }
.editorial-list h2 { margin: 10px 0 0; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.25; }

.emb-editorial-page .final-cta { padding: 120px 20px; background: #1c1c1c; color: #ffffff; text-align: center; }
.emb-editorial-page .final-cta .section-label { color: rgba(255, 255, 255, 0.65); }
.emb-editorial-page .final-cta h2 { max-width: 660px; margin: 0 auto 24px; color: #ffffff; }
.emb-editorial-page .final-cta p { max-width: 400px; margin: 0 auto 44px; color: rgba(255, 255, 255, 0.65); }

@media (max-width: 640px) {
	.editorial-title { padding: 56px var(--container-padding) 36px; }
	.editorial-list { grid-template-columns: 1fr; }
	.editorial-body .editorial-pair { grid-template-columns: 1fr; }
	.editorial-body .wp-block-table table { font-size: 14px; }
	.editorial-body .wp-block-table table:has(th:nth-child(4)) { min-width: 600px; }
	.editorial-body .wp-block-table :where(th, td) { padding-right: 12px; }
}
