/* Urban Floors — concept styling for dynamic widgets (HFE Basic Posts), migrated rich text and small extras. */

/* ---------- migrated rich text (Text Editor) ---------- */
.ufd .ufd-prose { color: #64564c; font-size: 15px; line-height: 2; }
.ufd .ufd-prose p, .ufd .ufd-prose li { margin: 0 0 1.1em; }
.ufd .ufd-prose p:last-child { margin-bottom: 0; }
.ufd .ufd-prose .ufd-lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.65; color: #4f4238; letter-spacing: -0.015em; }
.ufd .ufd-prose a { color: #2a2018; text-decoration: underline; text-decoration-color: #EA6E2A; text-underline-offset: 4px; }
.ufd .ufd-prose strong, .ufd .ufd-prose b { color: #2a2018; font-weight: 600; }
.ufd .ufd-prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 1px; background: #e2d9cf; border: 1px solid #e2d9cf; }
.ufd .ufd-prose ul li { margin: 0; background: #f7f2eb; padding: 14px 18px 14px 40px; position: relative; font-size: 14px; line-height: 1.7; color: #3f332a; }
.ufd .ufd-prose ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: #EA6E2A; }
.ufd .ufd-prose ol { padding-left: 1.3em; }
.ufd .ufd-prose ol li::marker { color: #EA6E2A; font-weight: 700; }
.ufd .ufd-prose h2, .ufd .ufd-prose h3, .ufd .ufd-prose h4 { color: #2a2018; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; margin: 1.6em 0 .6em; }
.ufd .ufd-prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.ufd .ufd-prose h3 { font-size: 1.4rem; }
.ufd .ufd-prose h4 { font-size: 1.1rem; }
.ufd .ufd-prose img { max-width: 100%; height: auto; margin: 1.4em 0; }
.ufd .ufd-prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1.4em 0; }
.ufd .ufd-prose th, .ufd .ufd-prose td { border: 1px solid #ded4c8; padding: 10px 12px; text-align: left; }
.ufd .ufd-prose th { background: #f3ece2; color: #2a2018; }
.ufd .ufd-prose blockquote { border-left: 2px solid #EA6E2A; padding: 4px 0 4px 22px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.3rem; color: #2a2018; }
.ufd .ufd-article { font-size: 16px; color: #62544a; }
.ufd .ufd-article .wpr-post-content > p:first-child::first-letter, .ufd .ufd-article > .elementor-widget:first-child p:first-child::first-letter {
	float: left; margin: 6px 12px 0 0; font-family: 'Playfair Display', serif; font-size: 4.8rem; line-height: .8; color: #EA6E2A;
}
.ufd .ufd-figs { display: grid; gap: 10px; margin-top: 28px; }
.ufd .ufd-figs-2 { grid-template-columns: 1fr 1fr; }
.ufd .ufd-figs-3, .ufd .ufd-figs-4 { grid-template-columns: repeat(2, 1fr); }
.ufd .ufd-figs img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- HFE Basic Posts styled as concept journal cards ---------- */
.ufd .elementor .ufposts .hfe-posts-grid { display: grid !important; gap: 48px 24px; }
.ufd .elementor .ufposts .hfe-post-card { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; overflow: visible; }
.ufd .elementor .ufposts { width: 100%; }
.ufd .ufposts .hfe-post-image { overflow: hidden; border-radius: 3px; margin: 0; }
.ufd .ufposts .hfe-post-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ufd .ufposts .hfe-post-card:hover .hfe-post-image img { transform: scale(1.025); }
.ufd .ufposts .hfe-post-content { padding: 20px 0 0; display: flex; flex-direction: column; }
.ufd .ufposts .hfe-post-meta { order: -1; margin: 0 0 12px; font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #EA6E2A; }
.ufd .ufposts .hfe-post-title { margin: 0; font-size: 1.25rem; font-weight: 500; line-height: 1.22; letter-spacing: -.025em; }
.ufd .ufposts .hfe-post-title a { color: #2a2018; text-decoration: none; }
.ufd .ufposts .hfe-post-card:hover .hfe-post-title a { color: #EA6E2A; }
.ufd .ufposts .hfe-post-excerpt { display: none; }
.ufd .ufposts .hfe-read-more, .ufd .ufposts a.hfe-read-more-link, .ufd .ufposts [class*="read-more"] {
	margin-top: 20px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #78695d; text-decoration: none;
}
/* home rail: 4 columns */
.ufd .elementor .ufposts-rail .hfe-posts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ufd .ufposts-rail .hfe-post-image { aspect-ratio: 1.18; }
/* related posts (single) */
.ufd .elementor .ufposts-more .hfe-posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ufd .ufposts-more .hfe-post-image { aspect-ratio: 1.18; }
.ufd .ufposts-more .hfe-post-title { font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; line-height: 1.15; }
/* journal grid: alternating 7/5 columns with issue numbers */
.ufd .elementor .ufposts-grid .hfe-posts-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 24px; counter-reset: uf-issue 1; }
.ufd .ufposts-grid .hfe-post-card { grid-column: span 5; counter-increment: uf-issue; }
.ufd .ufposts-grid .hfe-post-card:nth-child(4n+1), .ufd .ufposts-grid .hfe-post-card:nth-child(4n+4) { grid-column: span 7; }
.ufd .ufposts-grid .hfe-post-image { position: relative; aspect-ratio: 1.08; }
.ufd .ufposts-grid .hfe-post-card:nth-child(4n+1) .hfe-post-image, .ufd .ufposts-grid .hfe-post-card:nth-child(4n+4) .hfe-post-image { aspect-ratio: 1.35; }
.ufd .ufposts-grid .hfe-post-image::after {
	content: counter(uf-issue, decimal-leading-zero); position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; border-radius: 50%;
	background: #fffdf9; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #2a2018;
}
.ufd .ufposts-grid .hfe-post-content { padding-top: 24px; }
.ufd .ufposts-grid .hfe-post-title { font-size: clamp(1.7rem, 2.6vw, 2.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; max-width: 42rem; }
.ufd .ufposts-grid .hfe-post-excerpt { display: block; margin-top: 16px; font-size: 13px; line-height: 1.9; color: #706156; max-width: 36rem; }
/* journal cover story */
.ufd .elementor .ufposts-cover .hfe-posts-grid { grid-template-columns: 1fr; }
.ufd .ufposts-cover .hfe-post-card { display: grid; grid-template-columns: 1.45fr .85fr; gap: 56px; border-top: 1px solid #d9cfc3; border-bottom: 1px solid #d9cfc3; padding: 32px 0; }
.ufd .ufposts-cover .hfe-post-image { position: relative; min-height: 650px; }
.ufd .ufposts-cover .hfe-post-image img { position: absolute; inset: 0; }
.ufd .ufposts-cover .hfe-post-image::before { content: "Cover story"; position: absolute; left: 0; top: 0; z-index: 1; background: #EA6E2A; color: #fff; padding: 12px 20px; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ufd .ufposts-cover .hfe-post-content { padding: 20px 0; justify-content: center; }
.ufd .ufposts-cover .hfe-post-title { font-size: clamp(2.6rem, 4.5vw, 5rem); font-weight: 600; line-height: .98; letter-spacing: -.055em; }
.ufd .ufposts-cover .hfe-post-excerpt { display: block; margin-top: 28px; font-size: 15px; line-height: 2; color: #67594e; max-width: 32rem; }
.ufd .ufposts-cover [class*="read-more"] { margin-top: 40px; padding-top: 24px; border-top: 1px solid #ded4c9; color: #EA6E2A; font-size: 11px; }
@media (max-width: 1024px) {
	.ufd .elementor .ufposts-rail .hfe-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ufd .ufposts-grid .hfe-post-card, .ufd .ufposts-grid .hfe-post-card:nth-child(n) { grid-column: span 6; }
	.ufd .ufposts-cover .hfe-post-card { grid-template-columns: 1fr; gap: 24px; }
	.ufd .ufposts-cover .hfe-post-image { min-height: 420px; }
}
@media (max-width: 640px) {
	.ufd .ufposts-rail .hfe-posts-grid, .ufd .elementor .ufposts-more .hfe-posts-grid { grid-template-columns: 1fr; }
	.ufd .ufposts-grid .hfe-post-card, .ufd .ufposts-grid .hfe-post-card:nth-child(n) { grid-column: span 12; }
}

/* ---------- Royal Form Builder extras the style controls don't cover ---------- */
.ufd .ufform .wpr-form-field-type-radio .wpr-form-field-option { display: inline-flex; margin: 0 10px 10px 0; }
.ufd .ufform .wpr-form-field-type-radio input[type="radio"] { position: absolute; opacity: 0; }
.ufd .ufform .wpr-form-field-type-radio input[type="radio"] + label {
	border: 1px solid #ddd3c8; background: #fff; padding: 12px 18px; font-size: 12px; font-weight: 600; color: #2a2018 !important; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.ufd .ufform .wpr-form-field-type-radio input[type="radio"]:checked + label { border-color: #EA6E2A; background: #fff7f1; }
.ufd .ufform textarea { resize: none; }
.ufd .ufform .wpr-step-wrap { border-bottom: 1px solid #e1d7cc; padding-bottom: 20px; margin-bottom: 28px; }
.ufd .ufform .wpr-step-number { width: 28px; height: 28px; border-radius: 50%; background: #eee6dd; color: #9c8d80; display: inline-grid; place-items: center; }
.ufd .ufform .wpr-step-active .wpr-step-number, .ufd .ufform .wpr-step-finish .wpr-step-number { background: #EA6E2A; color: #fff; }
.ufd .ufform-quote { padding: 32px 40px; }
@media (max-width: 767px) { .ufd .ufform-quote { padding: 24px; } }
.ufd .ufform-news .wpr-field-group .wpr-form-field:not(.wpr-select-wrap) { background: #fff; padding: 12px 14px; border: 1px solid #ddd3c8; }
.ufd .ufform-news .wpr-button { width: 100%; border-radius: 8px; background: #a8957f; }

/* ---------- page frame (concept <main>: bg #fffdf9, text #2a2018, 76px under the fixed header) ---------- */
body.ufd { background: #fffdf9; color: #2a2018; }
.ufd:not(.ufd-flush) [data-elementor-type="wp-page"], .ufd.single-post [data-elementor-type="wpr-theme-builder"] { padding-top: 76px; }
.ufd .site-header, .ufd .site-footer, .ufd .page-header { display: none; }

/* phones/tablets: let the callback pill float at the bottom-right instead of inside the blurred header */
@media (max-width: 1023px) { .ufd .elementor .x-ufd-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; } }

/* the concept overflows horizontally on phones; clip each top-level section */
html, body { overflow-x: clip; }
.ufd [data-elementor-type] > .e-con { overflow-x: clip; }

/* concept inline layouts are desktop-only: stack them on phones */
@media (max-width: 1023px) {
	.ufd .elementor .hidden.lg\:flex, .ufd .elementor .hidden.lg\:inline-flex, .ufd .elementor .hidden.lg\:block { display: none !important; }
}
@media (max-width: 767px) {
	.ufd .elementor .ufm-grid1 { grid-template-columns: 1fr !important; }
	.ufd .elementor .ufm-grid1 > * { grid-column: auto !important; }
	.ufd .elementor .ufm-col { flex-direction: column !important; height: auto !important; }
	.ufd .elementor .ufm-full { flex: 1 1 auto !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
	.ufd .elementor .ufx-strips .ufm-col { height: 620px !important; }
	.ufd .elementor .ufx-strips .ufm-full { flex: 0 0 auto !important; min-height: 48px; }
}

/* Royal post widgets inherit the concept typography from their slot */
.ufd .elementor .ufpt .wpr-post-title, .ufd .elementor .ufpt .wpr-post-title a { font: inherit !important; color: inherit !important; text-align: left !important; letter-spacing: inherit !important; line-height: inherit !important; margin: 0 !important; }
.ufd .elementor .ufpi .wpr-post-info, .ufd .elementor .ufpi .wpr-post-info * { font: inherit !important; color: inherit !important; text-align: left !important; letter-spacing: inherit !important; text-transform: inherit !important; }
.ufd .elementor .ufpi .wpr-post-info { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; }
.ufd .elementor .ufpi-cat .wpr-post-info { color: #EA6E2A !important; }
.ufd .elementor .ufpm img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ufd .elementor .ufshare .elementor-social-icon { background: transparent !important; border: 1px solid #d8ccbf; width: 36px; height: 36px; font-size: 12px; }
.ufd .elementor .ufshare .elementor-social-icon i { color: #695a4f !important; }
.ufd .elementor .ufpm { position: absolute !important; inset: 0; }
.ufd .elementor .ufpm > *, .ufd .elementor .ufpm .wpr-post-media, .ufd .elementor .ufpm .wpr-post-media * { height: 100%; width: 100%; }
.ufd .elementor .ufpm img { position: static; object-fit: cover; }
.ufd .elementor .ufshare svg { fill: #695a4f !important; width: 12px; height: 12px; }
