/* ==========================================================================
   Frooition Blog Cards v1.0.0
   Avada-free replacement for the homepage "From our blog" section
   (Avada container .fusion-builder-row-7 / Post Cards .fusion-post-cards-1).

   Every value below was taken from the live element's computed styles
   at 1440 / 1100 / 800 / 400px. Breakpoints match Avada's:
   medium <= 1024px, small <= 640px.

   All rules are scoped under .froo-blog-cards so theme / Avada globals
   (h3, p, ul li, a:hover, .post-content ul li ...) can't leak in.
   ========================================================================== */

.froo-blog-cards {
	--froo-bc-section-bg: #f5f6f9;
	--froo-bc-card-bg: #ffffff;
	--froo-bc-navy: #333773;
	--froo-bc-title-hover: #031120;
	--froo-bc-more-hover: #211856;
	--froo-bc-date: #71b7f6;
	--froo-bc-text: #333333;
	--froo-bc-rule: #f5f6f9;
	--froo-bc-max-width: 1248px;
	/* Avada column spacing: 1.92% left, 0% right (live section sits 24px
	   right of centre at full width; set right to 1.92% to centre it). */
	--froo-bc-offset-left: 1.92%;
	--froo-bc-offset-right: 0%;
	--froo-bc-font: Poppins, Arial, Helvetica, sans-serif;

	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	/* 60px bottom = Avada's 40px container padding + 20px bottom padding on each grid <li> */
	padding: 40px 0 60px;
	background-color: var(--froo-bc-section-bg);
	font-family: var(--froo-bc-font);
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.72;
	letter-spacing: 0.21px;
	color: var(--froo-bc-text);
	text-align: left;
}

.froo-blog-cards *,
.froo-blog-cards *::before,
.froo-blog-cards *::after {
	box-sizing: border-box;
}

.froo-blog-cards .froo-blog-cards__inner {
	max-width: var(--froo-bc-max-width);
	margin: 0 auto;
	padding: 0;
}

.froo-blog-cards .froo-blog-cards__content {
	margin: 0 var(--froo-bc-offset-right) 0 var(--froo-bc-offset-left);
	padding: 0;
}

/* Heading: "<b>From our</b> blog" */
.froo-blog-cards .froo-blog-cards__heading {
	margin: 0 20px 20px;
	padding: 0;
	border: 0;
	font-family: var(--froo-bc-font);
	font-size: 26px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.72;
	letter-spacing: 0.21px;
	text-transform: none;
	text-align: left;
	color: var(--froo-bc-navy);
}

.froo-blog-cards .froo-blog-cards__heading b,
.froo-blog-cards .froo-blog-cards__heading strong {
	font-weight: 700;
}

/* Grid */
.froo-blog-cards .froo-blog-cards__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 20px;
	align-items: stretch;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Card */
.froo-blog-cards .froo-blog-cards__card {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-width: 0;
	margin: 0;
	padding: 20px;
	list-style: none;
	background-color: var(--froo-bc-card-bg);
	border: 0;
}

.froo-blog-cards .froo-blog-cards__card::before,
.froo-blog-cards .froo-blog-cards__card::marker {
	content: none;
	display: none;
}

/* Featured image (natural aspect ratio, as live) */
.froo-blog-cards .froo-blog-cards__media {
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	line-height: 0;
}

.froo-blog-cards .froo-blog-cards__media img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Date */
.froo-blog-cards .froo-blog-cards__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	min-height: 36px;
	margin: 10px 0 0;
	padding: 5px 0;
	font-size: 11px;
	line-height: 1.5;
	color: var(--froo-bc-date);
}

.froo-blog-cards .froo-blog-cards__date {
	display: block;
}

/* Title */
.froo-blog-cards .froo-blog-cards__title {
	margin: 10px 0 15px;
	padding: 0;
	border: 0;
	font-family: var(--froo-bc-font);
	font-size: 16px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: -0.24px;
	text-transform: none;
	text-align: left;
	color: var(--froo-bc-navy);
}

.froo-blog-cards .froo-blog-cards__title a {
	color: var(--froo-bc-navy);
	text-decoration: none;
	transition: color 0.2s linear, background-color 0.2s linear, border-color 0.2s linear;
}

.froo-blog-cards .froo-blog-cards__title a:hover,
.froo-blog-cards .froo-blog-cards__title a:focus-visible {
	color: var(--froo-bc-title-hover);
	text-decoration: none;
}

/* Excerpt: pushed to the bottom so excerpt / rule / Read more line up */
.froo-blog-cards .froo-blog-cards__excerpt {
	margin: auto 0 0;
	padding: 0;
	font-family: var(--froo-bc-font);
	font-size: 12px;
	font-weight: 300;
	font-style: normal;
	line-height: 18px;
	letter-spacing: 0.18px;
	text-transform: none;
	text-align: left;
	color: var(--froo-bc-text);
}

.froo-blog-cards .froo-blog-cards__excerpt p {
	margin: 0 0 20px;
	padding: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

/* Divider */
.froo-blog-cards .froo-blog-cards__rule {
	width: 100%;
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--froo-bc-rule);
}

/* Read more */
.froo-blog-cards .froo-blog-cards__more-wrap {
	margin: 0;
	padding: 0;
	text-align: left;
}

.froo-blog-cards .froo-blog-cards__more {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 20px 0 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: var(--froo-bc-font);
	font-size: 12px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.2;
	letter-spacing: 0.18px;
	text-transform: none;
	text-decoration: none;
	color: var(--froo-bc-navy);
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.froo-blog-cards .froo-blog-cards__more:hover,
.froo-blog-cards .froo-blog-cards__more:focus-visible {
	color: var(--froo-bc-more-hover);
	text-decoration: none;
}

/* Visually hidden post title inside "Read more" (accessible link name).
   Defined here so it doesn't depend on the theme providing .screen-reader-text. */
.froo-blog-cards .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	word-wrap: normal !important;
}

/* Medium: 2 columns */
@media only screen and (max-width: 1024px) {
	.froo-blog-cards .froo-blog-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Small: hidden by default (matches Avada "hide on small screens").
   With hide_small="no" it stacks to one column using Avada's small settings. */
@media only screen and (max-width: 640px) {
	.froo-blog-cards.froo-blog-cards--hide-small {
		display: none !important;
	}

	.froo-blog-cards {
		padding-bottom: 20px;
	}

	.froo-blog-cards .froo-blog-cards__content {
		margin-left: 1.92%;
		margin-right: 1.92%;
		padding: 0 20px;
	}

	.froo-blog-cards .froo-blog-cards__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
