/* Divi base styles that FilterGrid's stylesheet (dfg-bundle.css) relied on, for the ior-site
   [dpdfg_filtergrid] replacement. Values match the 2026 Divi site (body Jost 300, headings
   Cormorant Garamond 500, accent #b9935e). Per-listing settings are output inline by filtergrid.php. */
.dpdfg_filtergrid { font-family: Jost, Helvetica, Arial, Lucida, sans-serif; font-weight: 300; color: #3d3a35; line-height: 1.7em; }
.dpdfg_filtergrid, .dpdfg_filtergrid *, .dpdfg_filtergrid *::before, .dpdfg_filtergrid *::after { box-sizing: border-box; } /* as Divi */
.dpdfg_filtergrid .dp-dfg-item[hidden] { display: none !important; }
.dpdfg_filtergrid .dp-dfg-items { min-height: 0; }
.dpdfg_filtergrid figure.dp-dfg-image { margin: 0; }
.dpdfg_filtergrid .dp-dfg-image img { display: block; width: 100%; height: auto; }

.dpdfg_filtergrid .entry-title {
	margin: 0; padding-bottom: 10px; font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	font-weight: 500; line-height: 1em; color: #1c1a17; letter-spacing: normal; text-transform: none;
}
.dpdfg_filtergrid .entry-title a { color: inherit; text-decoration: none; }
.dpdfg_filtergrid h1.entry-title { font-size: 36px; } /* Divi heading scale from the 36px base */
.dpdfg_filtergrid h2.entry-title { font-size: 30.96px; }
.dpdfg_filtergrid h3.entry-title { font-size: 26.28px; }
.dpdfg_filtergrid h4.entry-title { font-size: 21.6px; }
.dpdfg_filtergrid h5.entry-title { font-size: 19.08px; }
.dpdfg_filtergrid h6.entry-title { font-size: 16.92px; }
.dpdfg_filtergrid .entry-meta a,
.dpdfg_filtergrid .entry-summary a { color: inherit; text-decoration: none; }
.dpdfg_filtergrid .entry-summary p { margin: 0; padding-bottom: 1em; }
.dpdfg_filtergrid .dp-dfg-filters ul { list-style: none; }
.dpdfg_filtergrid .dp-dfg-filter-link { text-decoration: none; }
.dpdfg_filtergrid .dp-dfg-pagination ul { list-style: none; }
.dpdfg_filtergrid .dp-dfg-pagination[hidden] { display: none; }
.dpdfg_filtergrid .pagination a { text-decoration: none; }

/* The site's Divi button style (Divi customizer, 2026 site): white on ink, square, uppercase. */
.dpdfg_filtergrid .et_pb_button {
	display: inline-block; position: relative; font-size: 14px; font-weight: 400; line-height: 1.7em !important; letter-spacing: normal;
	text-transform: uppercase; padding: 0.3em 1em; border: 1px solid #fff; border-radius: 0; color: #fff; background-color: #1c1a17;
	text-decoration: none; transition: all 300ms ease 0ms;
}
.dpdfg_filtergrid .et_pb_button:hover { background-color: #b9935e; color: #fff; }

/* Lightweight YouTube player (CSS from the Divi theme options, Code Snippet #11's markup). */
.dp-dfg-image.entry-video .video__iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.dp-dfg-image.entry-video .video__placeholder { width: 100%; position: absolute; top: -17%; }
.dp-dfg-image.entry-video .video__youtube {
	padding-bottom: 56.23%; width: 100%; height: 0; overflow: hidden; position: relative; object-fit: cover; background-color: black;
}
.dp-dfg-image.entry-video .video__button {
	background: none; border: 0; cursor: pointer; height: 100%; left: 0; position: absolute; text-indent: -9999px; top: 0;
	transition: transform 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275); width: 100%;
	display: grid; place-items: center; background-color: rgba(0, 0, 0, 0.25);
}
.dp-dfg-image.entry-video .video__button svg { width: 15%; fill: red; transition: fill 300ms ease-in-out; pointer-events: none; }

/* Embeds stay inside their card (Divi made videos fluid). */
.dpdfg_filtergrid .dp-dfg-item > * { min-width: 0; }
.dpdfg_filtergrid iframe { max-width: 100%; }
.dpdfg_filtergrid .dp-dfg-custom-field { margin: 0; padding-bottom: 1em; }
