/* =========================================================
   Fresh Start – Elementor widgets (Testimonial Grid, Video Box)
   Defaults match the Figma design; every value can be changed
   from the widget Style tab in Elementor.
   ========================================================= */
.fst-g, .fst-vb {
	--fst-orange: #f16723;
	--fst-green: #9ecc4e;
	--fst-blue: #33b5e9;
	--fst-text: #4c4c4c;
	--fst-line: #ececec;
}

/* ---------- Grid wrapper ---------- */
.fst-g { font-family: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--fst-text); }
.fst-g *, .fst-g *::before, .fst-g *::after { box-sizing: border-box; }

/* Heading + filters row */
.fst-g__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.fst-g__head { flex: 1 1 380px; min-width: 0; }
.fst-g__title { font-family: "Lora", Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.3; color: var(--fst-text); margin: 0 0 16px; }
.fst-g__hl { color: var(--fst-green); }
.fst-g__hl--block { display: block; }
.fst-g__desc { font-size: 13px; line-height: 1.6; margin: 0; color: var(--fst-text); }

.fst-g__filters { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.fst-g__select-wrap { position: relative; display: block; width: 210px; max-width: 100%; margin: 0; color: var(--fst-text); }
.fst-g__select-wrap::after {
	content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; pointer-events: none;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fst-g .fst-g__select {
	-webkit-appearance: none; appearance: none; width: 100%; height: auto; margin: 0;
	padding: 13px 40px 13px 16px; border: 1px solid #ebebeb; border-radius: 4px; background: #fff;
	font-family: "Lora", Georgia, serif; font-size: 13px; line-height: 1.3; color: inherit; cursor: pointer;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .04); transition: border-color .2s ease;
}
.fst-g .fst-g__select:focus { outline: none; border-color: var(--fst-green); }
.fst-g .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Cards grid ---------- */
.fst-g__body { position: relative; }
.fst-g__grid { --fst-cols: 3; display: grid; grid-template-columns: repeat(var(--fst-cols), minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; transition: opacity .2s ease; }
.fst-g.is-loading .fst-g__grid { opacity: .45; }
.fst-g__empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; margin: 0; }

.fst-g-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0, 0, 0, .04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease; }
.fst-g-card:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.fst-g-card__img { position: relative; display: block; aspect-ratio: 1 / 0.65; overflow: hidden; background: #eee; }
.fst-g .fst-g-card__img img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; display: block; border-radius: 0; transition: transform .4s ease; }
.fst-g-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 16px 16px; }
.fst-g .fst-g-card__title { font-family: "Mulish", sans-serif; font-size: 14px; font-weight: 500; line-height: 1.55; text-transform: capitalize; color: var(--fst-text); margin: 0 0 22px; }
.fst-g .fst-g-card__title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.fst-g .fst-g-card__title a:hover { color: var(--fst-orange); }
.fst-g-card__excerpt { font-size: 13px; line-height: 1.6; margin: -10px 0 18px; }
.fst-g-card__meta { margin-top: auto; font-size: 12px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--fst-blue); }
.fst-g-card__meta a { color: inherit; text-decoration: none; position: relative; z-index: 2; }
.fst-g-card__meta a:hover { color: var(--fst-orange, #f16723); text-decoration: underline; }

/* ---------- Loader ---------- */
.fst-g__loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px 0; }
.fst-g__loader[hidden] { display: none !important; }
.fst-g__loader--overlay { position: absolute; inset: 0; z-index: 5; padding: 0; background: rgba(255, 255, 255, .55); align-items: center; justify-content: flex-start; padding-top: min(160px, 20%); }
.fst-g__loader.is-inline { position: static; background: transparent; padding: 24px 0; }
.fst-g__loader img { width: 48px; height: auto; display: block; }
.fst-g__loader-text { font-size: 13px; color: var(--fst-text); }

/* ---------- Pagination ---------- */
.fst-g__pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 44px; }
.fst-g .fst-g__pages .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px;
	border: 1px solid #e6e6e6; border-radius: 6px; background: #fff; color: var(--fst-text);
	font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; transition: .2s ease;
}
.fst-g .fst-g__pages .prev, .fst-g .fst-g__pages .next { padding: 0 16px; }
.fst-g .fst-g__pages a.page-numbers:hover { border-color: var(--fst-orange); color: var(--fst-orange); }
.fst-g .fst-g__pages .page-numbers.current { background: var(--fst-orange); border-color: var(--fst-orange); color: #fff; }
.fst-g .fst-g__pages .page-numbers.dots { border-color: transparent; background: transparent; min-width: 20px; padding: 0; }
.fst-g .fst-g__pages .is-disabled { opacity: .45; cursor: default; }

.fst-g__more-wrap { display: flex; flex-wrap: wrap; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin-top: 44px; }
.fst-g__more-wrap { flex-direction: row; }
.fst-g .fst-g__more {
	display: inline-block; padding: 14px 32px; border: 2px solid var(--fst-orange); border-radius: 6px;
	background: var(--fst-orange); color: #fff; font-family: "Mulish", sans-serif; font-size: 13px; font-weight: 700;
	letter-spacing: .5px; text-transform: uppercase; line-height: 1.2; cursor: pointer; transition: .2s ease;
}
.fst-g .fst-g__more:hover, .fst-g .fst-g__more:focus { background: #d9561a; border-color: #d9561a; color: #fff; }
.fst-g .fst-g__more[hidden] { display: none !important; }
.fst-g--infinite .fst-g__more--infinite { display: none; }
.fst-g--infinite.no-observer .fst-g__more--infinite:not([hidden]) { display: inline-block; }
.fst-g__sentinel { display: block; width: 100%; height: 1px; }
.fst-g__no-more { width: 100%; text-align: center; margin: 0; font-size: 13px; color: #8a8a8a; }

/* ---------- Responsive fallbacks (Elementor controls override these) ---------- */
@media (max-width: 1024px) {
	.fst-g__grid { --fst-cols: 2; }
	.fst-g__title { font-size: 30px; }
}
@media (max-width: 767px) {
	.fst-g__grid { --fst-cols: 1; }
	.fst-g__top { align-items: stretch; }
	.fst-g__title { font-size: 26px; }
	.fst-g__filters { width: 100%; }
	.fst-g__select-wrap { flex: 1 1 100%; width: 100%; }
	.fst-g .fst-g__pages .prev, .fst-g .fst-g__pages .next { padding: 0 12px; }
}

/* =========================================================
   Video Box
   ========================================================= */
.fst-vb { position: relative; width: 100%; max-width: 1140px; margin: 0 auto; aspect-ratio: 1 / 0.5; border-radius: 16px; overflow: hidden; background: #1e1e1e; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.fst-vb__cover, .fst-vb iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.fst-vb__cover::after { content: ""; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.fst-vb .fst-vb__cover img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; display: block; border-radius: 0; }
.fst-vb__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
	width: 70px; height: 70px; padding: 0; border: 0; border-radius: 8px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(43, 43, 43, .82); color: #fff; transition: background-color .2s ease, transform .2s ease, color .2s ease;
}
.fst-vb--circle .fst-vb__play { border-radius: 50%; }
.fst-vb__play svg { width: 42%; height: 42%; display: block; margin-left: 4%; }
.fst-vb:hover .fst-vb__play, .fst-vb__play:focus { background: rgba(0, 0, 0, .9); transform: translate(-50%, -50%) scale(1.06); outline: none; }
.fst-vb .fst-resume:not(#fst), .fst-video .fst-resume:not(#fst) {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
	width: 70px; height: 70px; padding: 0; margin: 0; border: 0; border-radius: 8px; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(43, 43, 43, .82); color: #fff; box-shadow: none; transition: background-color .2s ease, transform .2s ease;
}
.fst-vb .fst-resume:not(#fst) svg, .fst-video .fst-resume:not(#fst) svg { width: 42%; height: 42%; display: block; margin-left: 4%; }
.fst-vb .fst-resume:not(#fst):hover, .fst-video .fst-resume:not(#fst):hover { background: rgba(0, 0, 0, .9); transform: translate(-50%, -50%) scale(1.06); }
.fst-vb .fst-resume:not(#fst)[hidden], .fst-video .fst-resume:not(#fst)[hidden] { display: none !important; }

.fst-vb[data-src] { cursor: pointer; }
@media (max-width: 767px) {
	.fst-vb { aspect-ratio: 16 / 10; border-radius: 12px; }
	.fst-vb__play { width: 58px; height: 58px; }
}

/* =========================================================
   Taxonomy Title + Breadcrumb
   ========================================================= */
.fst-at { text-align: center; color: #4c4c4c; }
.fst-at__bc { font-family: "Mulish", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.4; color: #9ecc4e; margin: 0 0 10px; }
.fst-at__bc a { color: inherit; text-decoration: none; transition: color .2s ease; }
.fst-at__bc a:hover { color: #7fae2f; }
.fst-at__sep { margin: 0 2px 0 1px; }
.fst-at .fst-at__title { font-family: "Lora", Georgia, serif; font-weight: 400; font-size: 48px; line-height: 1.2; color: #4c4c4c; margin: 0; }
.fst-at__desc { max-width: 760px; margin: 14px auto 0; font-family: "Mulish", sans-serif; font-size: 15px; line-height: 1.6; }
@media (max-width: 1024px) { .fst-at .fst-at__title { font-size: 40px; } }
@media (max-width: 767px) { .fst-at .fst-at__title { font-size: 32px; } }


/* =========================================================
   Taxonomy pages: make the template full width even when the
   theme puts the content inside a boxed container.
   Also usable anywhere: add CSS class "fst-fullwidth" to a section.
   ========================================================= */
body.fst-tax-page { overflow-x: clip; }
body.fst-tax-page .fst-taxonomy { width: 100%; max-width: none; padding: 0; margin: 0; }
body.fst-tax-page .fst-taxonomy > .elementor > .elementor-section,
body.fst-tax-page .fst-taxonomy > .elementor > .elementor-section-wrap > .elementor-section,
body.fst-tax-page .fst-taxonomy > .elementor > .e-con,
.elementor-section.fst-fullwidth,
.e-con.fst-fullwidth {
	position: relative;
	left: auto !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
body:has(.fst-fullwidth) { overflow-x: clip; }

/* =========================================================
   Single testimonial "Story" widgets
   ========================================================= */
.fst.fst-story-w { background: transparent; overflow: visible; }
.fst-story-w > section { width: 100%; }
.fst-el-empty { padding: 18px; margin: 10px 0; border: 1px dashed #c9c9c9; border-radius: 6px; background: #fafafa; color: #777; font: 13px/1.5 sans-serif; text-align: center; }
.fst-story-w > .fst-improve, .fst-story-w > .fst-story, .fst-story-w > .fst-guest, .fst-story-w > .fst-related { background-color: #fff; }
.fst-story-w .fst-hero__grid { grid-template-columns: minmax(0, var(--fst-media-w, 45%)) minmax(0, 1fr); }
@media (max-width: 782px) { .fst-story-w .fst-hero__grid { grid-template-columns: 1fr; } }
