/* ==========================================================================
   Styles for the Avada (Fusion Builder) elements rendered by inc/fusion-compat.php.
   Class names match Avada so the site's own Custom CSS keeps working.
   Breakpoints follow Avada: small ≤ 640px, medium 641–1024px, large ≥ 1025px,
   columns stack at ≤ 800px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Containers, rows, columns
   -------------------------------------------------------------------------- */

.fusion-fullwidth {
	position: relative;
	padding-left: var(--at-gutter);
	padding-right: var(--at-gutter);
}
.fusion-fullwidth.hundred-percent-fullwidth { padding-left: 0; padding-right: 0; }
.fusion-fullwidth a:not(.fusion-button) { color: var(--at-link-color, var(--at-blue)); }
.fusion-fullwidth a:not(.fusion-button):hover { color: var(--at-link-hover-color, var(--at-red)); }

/*
 * Columns sit in a wrapping flex row. Like Avada, every column except the last on
 * its line has a right margin equal to its spacing, and its width is
 * fraction × 100% − spacing × (1 − fraction), so a full line adds up to exactly 100%.
 * Default spacing is 4%; a column's own "spacing" attribute overrides it.
 */
.fusion-builder-row.fusion-row {
	--at-col-gap: 4%;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	max-width: var(--at-site-width);
	margin-left: auto;
	margin-right: auto;
}
.fusion-fullwidth.hundred-percent-fullwidth > .fusion-builder-row.fusion-row { max-width: none; }
.fusion-builder-row-inner.fusion-row { max-width: none; }
.fusion-equal-height-columns > .fusion-builder-row > .fusion-layout-column { align-self: stretch; }
.fusion-equal-height-columns > .fusion-builder-row > .fusion-layout-column > .fusion-column-wrapper { height: 100%; }

.fusion-layout-column {
	--at-col-frac: 1;
	position: relative;
	flex: 0 0 auto;
	width: calc(var(--at-col-frac) * 100% - var(--at-col-gap) * (1 - var(--at-col-frac)));
	margin-right: var(--at-col-gap);
	min-width: 0;
}
.fusion-layout-column.fusion-column-last { margin-right: 0; }
.fusion-layout-column.fusion-column-auto { flex: 1 1 0; width: auto; }
.fusion-column-wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 1px;
	background-size: cover;
}
/* Columns whose content is only a background image fill the row height (Avada
   stretches its column background the same way). */
.fusion-column-has-bg-image { display: flex; flex-direction: column; }
.fusion-column-has-bg-image > .fusion-column-wrapper { flex: 1 1 auto; }
.fusion-column-has-bg-image > .fusion-column-wrapper:empty { min-height: 320px; }
/* Empty image columns take the image's aspect ratio (set inline), like Avada. */
.fusion-empty-column-bg-image { align-self: flex-start; }
.fusion-empty-column-bg-image > .fusion-column-wrapper[style*="aspect-ratio"] { min-height: 0; flex: 0 0 auto; }
.fusion-column-content-centered > .fusion-column-wrapper { justify-content: center; }
.fusion-column-anchor { position: absolute; inset: 0; z-index: 2; }
.fusion-layout-column.hover-type-zoomin > .fusion-column-wrapper { transition: transform .3s ease; }
.fusion-layout-column.hover-type-zoomin:hover > .fusion-column-wrapper { transform: scale(1.03); }
.fusion-layout-column.hover-type-liftup > .fusion-column-wrapper { transition: transform .3s ease, box-shadow .3s ease; }
.fusion-layout-column.hover-type-liftup:hover > .fusion-column-wrapper { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.12); }

.fusion-column-wrapper > :last-child { margin-bottom: 0; }
/* "Row" content layout: elements are still full width unless they set their own width
   (e.g. a 170px separator), as in Avada. */
.fusion-column-wrapper[style*="flex-direction:row"] > * { flex: 1 1 100%; min-width: 0; }
.fusion-column-wrapper[style*="flex-direction:row"] > .fusion-separator[style*="width:"] { flex: 0 0 auto; }

.fusion-menu-anchor { position: relative; top: calc(-1 * var(--at-sticky-height)); }

/* Flex containers: the gap is a row gap instead of per-column margins, so lines
   re-flow correctly when the medium/small widths differ from the desktop ones. */
.fusion-flex-container > .fusion-builder-row.fusion-row { column-gap: var(--at-col-gap); }
.fusion-flex-container > .fusion-builder-row > .fusion-flex-column { margin-right: 0; }
@media (max-width: 1024px) {
	.fusion-flex-column { --at-col-frac: var(--at-col-frac-md, 1); }
}
@media (max-width: 640px) {
	.fusion-flex-column { --at-col-frac: var(--at-col-frac-sm, 1); }
}

@media (max-width: 800px) {
	.fusion-layout-column:not(.fusion-flex-column) { width: 100% !important; flex: 0 0 100% !important; margin-right: 0 !important; }
}
@media (max-width: 800px) {
	.fusion-title { margin-top: var(--at-mt-mobile, inherit) !important; margin-bottom: var(--at-mb-mobile, inherit) !important; }
}

/* The site's Custom CSS turns boxes red on :hover (.back_col_hov, content boxes).
   On touch screens a tap leaves :hover stuck, so keep the original colours there. */
@media (hover: none) {
	/* --at-bg holds each element's own background colour (set inline by the theme). */
	.back_col_hov div:hover,
	div .fusion-content-boxes.content-boxes-icon-boxed .content-wrapper-boxed:hover { background-color: var(--at-bg, transparent) !important; }
	div .fusion-content-boxes.content-boxes-icon-boxed .content-wrapper-boxed:hover h2 { color: inherit !important; }
}

/* Visibility (Avada "hide on mobile") */
@media (max-width: 640px) { .fusion-no-small-visibility { display: none !important; } }
@media (min-width: 641px) and (max-width: 1024px) { .fusion-no-medium-visibility { display: none !important; } }
@media (min-width: 1025px) { .fusion-no-large-visibility { display: none !important; } }

/* --------------------------------------------------------------------------
   Title & text
   -------------------------------------------------------------------------- */

.fusion-title { display: flex; align-items: center; margin-bottom: 31px; }
.fusion-title.fusion-title-center { justify-content: center; text-align: center; }
.fusion-title.fusion-title-right { justify-content: flex-end; text-align: right; }
.fusion-title h1, .fusion-title h2, .fusion-title h3,
.fusion-title h4, .fusion-title h5, .fusion-title h6 { margin: 0; flex: 0 1 auto; }
.fusion-title .title-sep-container { flex: 1 1 auto; position: relative; height: 6px; }
.fusion-title.fusion-title-center .title-sep-container:first-child { margin-right: 18px; }
.fusion-title.fusion-title-center .title-sep-container:last-child,
.fusion-title.fusion-title-left .title-sep-container { margin-left: 18px; }
.fusion-title.fusion-title-right .title-sep-container { margin-right: 18px; }
.fusion-title .title-sep {
	position: absolute; left: 0; right: 0; top: 50%;
	border-top: 1px var(--at-sep-style, solid) var(--at-sep-color, #e0dede);
}
.fusion-title.sep-double .title-sep { top: 1px; height: 4px; border-bottom: 1px var(--at-sep-style, solid) var(--at-sep-color, #e0dede); }
.fusion-title.sep-underline { padding-bottom: 12px; }

.fusion-title-size-two h2 { font-size: 50px; }
.fusion-title-size-three h3 { font-size: 36px; }
@media (max-width: 800px) {
	.fusion-title-size-one h1 { font-size: 38px; }
	.fusion-title-size-two h2 { font-size: 34px; }
	.fusion-title-size-three h3 { font-size: 28px; }
}

.fusion-text { margin: 0; }
.fusion-text ul, .fusion-text ol { padding-left: 1.2em; }

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */

.fusion-imageframe { display: inline-block; position: relative; max-width: 100%; overflow: hidden; line-height: 0; vertical-align: middle; }
.fusion-imageframe img { display: block; width: 100%; }
.imageframe-align-center { text-align: center; }
.imageframe-align-left { text-align: left; }
.imageframe-align-right { text-align: right; }
.fusion-imageframe.hover-type-zoomin img { transition: transform .3s ease; }
.fusion-imageframe.hover-type-zoomin:hover img { transform: scale(1.06); }
.fusion-imageframe.hover-type-zoomout img { transform: scale(1.06); transition: transform .3s ease; }
.fusion-imageframe.hover-type-zoomout:hover img { transform: scale(1); }
.fusion-imageframe.hover-type-liftup { transition: transform .3s ease, box-shadow .3s ease; }
.fusion-imageframe.hover-type-liftup:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.awb-imageframe-caption { line-height: 1.5; padding: 12px 0 0; text-align: center; }
.awb-imageframe-caption-title { font-size: 22px; margin: 0 0 4px; }

/* Image carousel */
.fusion-image-carousel { position: relative; margin-bottom: 20px; }
.fusion-carousel { position: relative; }
.fusion-carousel-positioner { position: relative; }
.fusion-carousel-holder {
	--at-cols: var(--at-carousel-columns, 5);
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: var(--at-carousel-gap, 13px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.fusion-carousel-holder::-webkit-scrollbar { display: none; }
.fusion-carousel-item {
	flex: 0 0 calc((100% - (var(--at-cols) - 1) * var(--at-carousel-gap, 13px)) / var(--at-cols));
	scroll-snap-align: start;
	min-width: 0;
}
.fusion-carousel-item-wrapper { height: 100%; display: flex; align-items: center; justify-content: center; }
.fusion-carousel-border .fusion-carousel-item-wrapper { border: 1px solid var(--at-border); }
.fusion-image-carousel .fusion-image-wrapper { width: 100%; text-align: center; overflow: hidden; }
.fusion-image-carousel .fusion-image-wrapper img { transition: transform .3s ease, opacity .3s ease; }
/* Like Avada, never enlarge an image beyond its own size (small partner logos stay crisp). */
.fusion-image-carousel .fusion-image-wrapper img { width: auto; max-width: 100%; height: auto; }
.fusion-image-carousel-fixed .fusion-image-wrapper { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.fusion-image-carousel-fixed .fusion-image-wrapper img { max-height: 100%; object-fit: contain; }
.fusion-image-carousel .fusion-image-wrapper:hover img { opacity: .9; }

.fusion-carousel-nav button {
	position: absolute; top: 50%; z-index: 2;
	width: 30px; height: 30px; margin-top: -15px;
	border: 0; border-radius: 0; cursor: pointer;
	background: rgba(0,0,0,.45); color: #fff;
	opacity: 0; transition: opacity .2s ease, background .2s ease;
}
.fusion-image-carousel:hover .fusion-carousel-nav button,
.fusion-portfolio-carousel:hover .fusion-carousel-nav button { opacity: 1; }
.fusion-carousel-nav button:hover { background: var(--at-red); }
.fusion-carousel-nav .fusion-nav-prev { left: 0; }
.fusion-carousel-nav .fusion-nav-next { right: 0; }
.fusion-carousel-nav button::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 14px; }
.fusion-carousel-nav .fusion-nav-prev::before { content: "\f104"; }
.fusion-carousel-nav .fusion-nav-next::before { content: "\f105"; }

@media (max-width: 1024px) { .fusion-carousel-holder { --at-cols: min(var(--at-carousel-columns, 5), 4); } }
@media (max-width: 800px) { .fusion-carousel-holder { --at-cols: min(var(--at-carousel-columns, 5), 3); } }
@media (max-width: 480px) { .fusion-carousel-holder { --at-cols: min(var(--at-carousel-columns, 5), 2); } }

/* Gallery */
.fusion-gallery {
	display: grid;
	grid-template-columns: repeat(var(--at-gallery-columns, 3), minmax(0, 1fr));
	gap: var(--at-gallery-gap, 10px);
	margin-bottom: 20px;
}
.fusion-gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .fusion-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Video / map */
.fusion-video { margin: 0 auto 20px; width: 100%; }
.video-shortcode { position: relative; width: 100%; }
.video-shortcode iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fusion-google-map { max-width: 100%; margin-bottom: 20px; }
.fusion-google-map iframe { width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   Separators
   -------------------------------------------------------------------------- */

.fusion-separator { position: relative; clear: both; display: flex; align-items: center; justify-content: center; }
.fusion-separator .icon-wrapper {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
	background: #fff; font-size: 14px;
}
.fusion-separator .icon-wrapper.circle { border: 1px solid; border-radius: 50%; }

.fusion-section-separator { position: relative; line-height: 0; }
.fusion-section-separator-svg { width: 100%; height: 80px; }
.fusion-section-separator-svg-el { display: block; width: 100%; height: 100%; }
.fusion-section-separator-svg.candy-bottom .fusion-section-separator-svg-el { transform: scaleY(-1); }
.fusion-section-separator.rounded-split .fusion-section-separator-svg { height: 60px; }
@media (max-width: 800px) { .fusion-section-separator-svg { height: 40px; } }

/* --------------------------------------------------------------------------
   Lists, icons, buttons
   -------------------------------------------------------------------------- */

.fusion-checklist { list-style: none; margin: 0 0 20px; padding: 0; line-height: 1.6; }
.fusion-li-item { display: flex; align-items: flex-start; gap: .9em; margin-bottom: .7em; }
.fusion-checklist-divider .fusion-li-item { padding-bottom: .7em; border-bottom: 1px solid var(--at-divider-color, #e0dede); }
.fusion-li-item .icon-wrapper {
	flex: 0 0 auto;
	width: 1.8em; height: 1.8em;
	display: inline-flex; align-items: center; justify-content: center;
	margin-top: .1em;
}
.fusion-li-item .icon-wrapper.circle-yes { border-radius: 50%; }
.fusion-li-item .icon-wrapper.circle-no .fusion-li-icon { color: var(--at-blue); }
.fusion-li-icon { font-size: .9em; transition: color .2s ease; }
.fusion-li-item-content { flex: 1 1 auto; }
.fusion-li-item-content > :last-child { margin-bottom: 0; }

.fontawesome-icon { display: inline-block; line-height: 1; }
.fontawesome-icon.circle-yes { padding: .6em; border-radius: 50%; }
.fusion-fa-align-center { text-align: center; }
.fusion-fa-align-right { text-align: right; }

.fusion-button-wrapper { margin-bottom: 20px; }
.fusion-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: var(--button_padding, 11px 23px);
	font-family: var(--at-font-body);
	font-size: var(--button_font_size, 13px);
	line-height: var(--button_line_height, 16px);
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	background: var(--at-blue);
	border: 0 solid transparent;
	transition: background .2s ease, color .2s ease;
}
.fusion-button:hover { background: var(--at-btn-hover-bg, var(--at-red)) !important; color: var(--at-btn-hover-color, #fff) !important; }
.fusion-button-small { padding: 9px 20px; font-size: 12px; }
.fusion-button-large { padding: 13px 29px; font-size: 14px; }
.fusion-button-xlarge { padding: 17px 40px; font-size: 18px; }
.fusion-align-block { margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.fusion-testimonials { position: relative; margin-bottom: 20px; }
.fusion-testimonials .review { display: none; }
.fusion-testimonials .review.is-active,
.fusion-testimonials .review:only-child { display: block; animation: at-fade .5s ease; }
.fusion-testimonials blockquote { margin: 0; }
.fusion-testimonials q {
	display: block; quotes: none; position: relative;
	padding: 24px 28px;
	background: var(--at-testimonial-bg, #f6f6f6);
	color: var(--at-testimonial-color, var(--at-text));
	font-style: italic; line-height: 1.6;
}
.fusion-testimonials.classic q::after {
	content: ""; position: absolute; left: 30px; bottom: -10px;
	border: 10px solid transparent; border-bottom: 0;
	border-top-color: var(--at-testimonial-bg, #f6f6f6);
}
.fusion-testimonials.clean { text-align: center; }
.fusion-testimonials.clean q { background: none; padding: 0 0 20px; font-size: 1.1em; }
.fusion-testimonials .author { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; }
.fusion-testimonials.clean .author { justify-content: center; margin-top: 0; }
.fusion-testimonials .testimonial-thumbnail img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.fusion-testimonials .testimonial-thumbnail.doe { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eee; color: #999; }
.testimonial-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.testimonial-pagination button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #d6d6d6; cursor: pointer; }
.testimonial-pagination button.is-active { background: var(--at-blue); }

@keyframes at-fade { from { opacity: 0; } to { opacity: 1; } }

/* --------------------------------------------------------------------------
   Content boxes, accordion, tabs, alerts
   -------------------------------------------------------------------------- */

.fusion-content-boxes {
	display: grid;
	grid-template-columns: repeat(var(--at-boxes-columns, 3), minmax(0, 1fr));
	gap: 30px;
	margin-bottom: 20px;
}
@media (max-width: 1024px) { .fusion-content-boxes { grid-template-columns: repeat(min(var(--at-boxes-columns, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 640px) { .fusion-content-boxes { grid-template-columns: 1fr; } }
.content-box-wrapper { height: 100%; padding: 30px 25px; transition: background-color .25s ease, color .25s ease; }
.content-boxes-icon-on-top .content-box-wrapper,
.content-boxes-icon-boxed .content-box-wrapper,
.content-boxes-clean-vertical .content-box-wrapper { text-align: center; }
.content-box-wrapper .heading { margin-bottom: 12px; }
.content-boxes-icon-with-title .heading { display: flex; align-items: center; gap: 14px; }
.content-box-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; font-size: 22px; margin-bottom: 12px; }
.content-boxes-icon-with-title .content-box-icon { margin-bottom: 0; }
.content-box-icon.circle-yes { border-radius: 50%; }
.content-box-heading { font-size: 24px; letter-spacing: 0; margin: 0; transition: color .25s ease; }
.content-container > :last-child { margin-bottom: 0; }
.fusion-read-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.fusion-content-box-link { display: block; color: inherit !important; }

.fusion-accordian { margin-bottom: 20px; }
.fusion-panel { border-bottom: 1px solid #e0dede; }
.fusion-panel .panel-title { cursor: pointer; padding: 14px 0; font-weight: 700; color: #333; list-style: none; display: flex; align-items: center; gap: 10px; }
.fusion-panel .panel-title::-webkit-details-marker { display: none; }
.fusion-panel .panel-title::before {
	content: "+"; display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; background: var(--at-heading); color: #fff; font-weight: 400;
}
.fusion-panel[open] .panel-title::before { content: "\2212"; background: var(--at-blue); }
.fusion-panel .panel-body { padding: 0 0 18px 32px; }

.fusion-tabs { margin-bottom: 20px; }
.fusion-tabs .nav-tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid #e0dede; }
.fusion-tabs .tab-link { border: 0; background: #f6f6f6; padding: 12px 22px; font: inherit; font-size: 15px; color: #333; cursor: pointer; }
.fusion-tabs .tab-link.active { background: #fff; color: var(--at-blue); box-shadow: inset 0 3px 0 var(--at-blue); }
.fusion-tabs .tab-pane { padding: 22px 0; }

.fusion-alert { padding: 16px 20px; margin-bottom: 20px; border: 1px solid currentColor; background: #f6f6f6; color: #333; }
.fusion-alert.success { color: #12722d; background: #e7f6ea; }
.fusion-alert.error { color: #a5272b; background: #fbe9e9; }
.fusion-alert.notice { color: #8a6d0b; background: #fdf6e1; }
.fusion-alert > :last-child { margin-bottom: 0; }

.reading-box { padding: 30px; background: #f6f6f6; border-left: 3px solid var(--at-blue); margin-bottom: 20px; }

.fusion-dropcap { float: left; font-size: 3.2em; line-height: 1; margin: .05em .12em 0 0; font-family: var(--at-font-heading); }
.fusion-dropcap.dropcap-boxed { padding: .1em .25em; color: #fff; }
.fusion-highlight { padding: 0 .2em; }

.fusion-social-networks { display: flex; gap: 14px; font-size: 18px; }
.fusion-social-networks a { color: #46494a; }
.fusion-social-networks a:hover { color: var(--at-red); }

/* --------------------------------------------------------------------------
   Blog list, share box
   -------------------------------------------------------------------------- */

.fusion-posts-container {
	display: grid;
	grid-template-columns: repeat(var(--at-blog-columns, 3), minmax(0, 1fr));
	gap: var(--at-blog-gap, 40px);
}
@media (max-width: 800px) { .fusion-posts-container { grid-template-columns: 1fr; } }
.fusion-post-wrapper { height: 100%; background: #fff; border: 1px solid var(--at-border); border-bottom: 3px solid var(--at-blue); }
.fusion-blog-thumb img { display: block; width: 100%; }
.fusion-post-content-wrapper { padding: 24px 26px; }
.blog-shortcode-post-title { font-size: 24px; letter-spacing: 0; margin-bottom: 6px; }
.fusion-single-line-meta { font-size: 13px; color: #999; margin-bottom: 12px; }
.fusion-post-content-container p { font-size: 15px; }

.share-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; margin: 30px 0; background: #f6f6f6; }
.share-box .tagline { margin: 0; font-size: 18px; letter-spacing: 0; }

/* --------------------------------------------------------------------------
   Portfolio (product grid)
   -------------------------------------------------------------------------- */

.fusion-portfolio { margin-bottom: 20px; }
.fusion-portfolio-wrapper {
	--at-cols: var(--at-portfolio-columns, 4);
	display: grid;
	grid-template-columns: repeat(var(--at-cols), minmax(0, 1fr));
	gap: var(--at-portfolio-gap, 12px);
}
@media (max-width: 1024px) { .fusion-portfolio-wrapper { --at-cols: min(var(--at-portfolio-columns, 4), 3); } }
@media (max-width: 800px) { .fusion-portfolio-wrapper { --at-cols: min(var(--at-portfolio-columns, 4), 2); } }
@media (max-width: 480px) { .fusion-portfolio-wrapper { --at-cols: 1; } }

.fusion-portfolio-post { min-width: 0; }
.fusion-portfolio-post.is-hidden { display: none; }
.fusion-portfolio-content-wrapper { height: 100%; display: flex; flex-direction: column; background: #fff; transition: box-shadow .25s ease; }
.fusion-portfolio-content-wrapper:hover { box-shadow: 0 8px 22px rgba(0,0,0,.08); }

.fusion-portfolio .fusion-image-wrapper { position: relative; overflow: hidden; background: #fff; }
.fusion-portfolio .fusion-image-wrapper img { display: block; width: 100%; height: auto; transition: transform .35s ease; }
.fusion-portfolio-content-wrapper:hover .fusion-image-wrapper img { transform: scale(1.04); }

.fusion-rollover {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(to top, rgba(20,122,206,.85), rgba(20,122,206,.55));
	color: #fff !important;
	opacity: 0; transition: opacity .3s ease;
}
.fusion-portfolio-content-wrapper:hover .fusion-rollover,
.fusion-rollover:focus-visible { opacity: 1; }
.fusion-rollover-content { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 16px; text-align: center; }
.fusion-rollover-icon {
	width: 42px; height: 42px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: #fff; color: var(--at-blue); font-size: 15px;
}
.fusion-rollover-title { font-family: var(--at-font-condensed); font-size: 20px; line-height: 1.2; text-transform: uppercase; }

/* Card values measured on the Avada site: 30px padding, Saira Condensed 22px title in
   #458bbe, 1px dotted #147ace separator with 20px margins, 18px/32px excerpt. */
.fusion-portfolio-content { padding: 30px; flex: 1 1 auto; }
.fusion-portfolio-unboxed .fusion-portfolio-content { padding: 20px 0 0; }
.fusion-portfolio-content .fusion-post-title {
	font-family: var(--at-font-condensed);
	font-size: 22px;
	letter-spacing: -1px;
	line-height: 1.64;
	margin: 0 0 1px;
}
.fusion-portfolio-content .fusion-post-title a { color: #458bbe !important; }
.fusion-portfolio-content .fusion-post-title a:hover { color: var(--at-red) !important; }
.fusion-portfolio-meta { font-size: 14px; line-height: 1.5; }
.fusion-content-sep { border: 0; border-top: 1px solid #e0dede; margin: 20px 0; }
.fusion-content-sep.sep-dotted { border-top-style: dotted; }
.fusion-content-sep.sep-dashed { border-top-style: dashed; }
.fusion-content-sep.sep-double { height: 4px; border-bottom-width: 1px; border-bottom-style: solid; }
.fusion-content-sep.sep-double.sep-dotted { border-bottom-style: dotted; }
.fusion-portfolio-content .fusion-post-content { font-size: 18px; line-height: 32px; }
.fusion-portfolio-content .fusion-post-content p { margin: 0; }

.fusion-filters { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; margin: 0 0 30px; padding: 0 0 12px; border-bottom: 1px solid #e0dede; }
.fusion-filter button { border: 0; background: none; padding: 6px 0; font: inherit; font-size: 15px; color: var(--at-text); cursor: pointer; border-bottom: 2px solid transparent; }
.fusion-filter.fusion-active button, .fusion-filter button:hover { color: #458bbe; border-bottom-color: #458bbe; }

.fusion-load-more-wrapper { text-align: center; margin-top: 30px; }
.fusion-load-more-button {
	display: inline-block; padding: 12px 34px;
	background: #ebeaea; color: #333 !important;
	font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	transition: background .2s ease, color .2s ease;
}
.fusion-load-more-button:hover { background: var(--at-blue); color: #fff !important; }
.fusion-load-more-button.is-loading { opacity: .6; pointer-events: none; }

/* Portfolio as carousel */
.fusion-portfolio-carousel { position: relative; }
.fusion-portfolio-carousel .fusion-portfolio-wrapper {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.fusion-portfolio-carousel .fusion-portfolio-wrapper::-webkit-scrollbar { display: none; }
.fusion-portfolio-carousel .fusion-portfolio-post {
	flex: 0 0 calc((100% - (var(--at-cols) - 1) * var(--at-portfolio-gap, 12px)) / var(--at-cols));
	scroll-snap-align: start;
}
