
.ac8-home {
	--ac8-accent: #F56100;
	--ac8-dark: #1F1F1F;
	--ac8-body: #3B3B3B;
	--ac8-muted: #6B6B6B;
	--ac8-bg-soft: #F8F8F8;
	--ac8-line: #EAEAEA;
	--ac8-rule-color: #CCCCCC;
	--ac8-card-line: #DEDEDE;
	--ac8-radius: 7px;
	--ac8-rule: 1688px;
	--ac8-gap: 23px;

	font-family: var(--ac8-font);
	color: var(--ac8-dark);
	background: #fff;
}

.ac8-home *,
.ac8-home *::before,
.ac8-home *::after { box-sizing: border-box; }

.ac8-container {
	width: 100%;
	max-width: var(--ac8-container, 1675px);
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.ac8-home img { max-width: 100%; height: auto; display: block; }
.ac8-home a { color: inherit; text-decoration: none; }

.ac8-section { padding: 48px 0 66px; position: relative; }
.ac8-section::before,
.ac8-hero + .ac8-featured::before,
.ac8-hero--promo::before,
.ac8-banner::before,
.ac8-stats::before,
.ac8-seo::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: min(var(--ac8-rule), calc(100% - 40px));
	height: 1px;
	background: var(--ac8-rule-color);
}
.ac8-section:first-child::before { display: none; }

.ac8-section__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 44px;
}

.ac8-heading {
	width: fit-content;
	margin: 0 0 37px;
	font-size: clamp(26px, 1.9vw, 36px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--ac8-dark);
	position: relative;
	padding-bottom: 11px;
}

.ac8-section__head .ac8-heading { margin: 8px 0 0; }

.ac8-heading::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: var(--ac8-accent);
}

.ac8-btn,
.ac8-home .ac8-btn {
	display: inline-block;
	height: 48px;
	padding: 0 31px;
	background: var(--ac8-accent);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 48px;
	letter-spacing: .1em;
	text-transform: uppercase;
	white-space: nowrap;
	border: 0;
	border-radius: var(--ac8-radius);
	transition: background .15s ease;
}
.ac8-btn:hover,
.ac8-home .ac8-btn:hover { background: #d95500; color: #fff; }

.ac8-badge,
.ac8-home .ac8-badge {
	display: inline-block;
	height: 29px;
	padding: 0 13px;
	background: #fff;
	border: 1px solid var(--ac8-accent);
	color: var(--ac8-accent);
	font-size: 11px;
	line-height: 27px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
	border-radius: 6px;
}
.ac8-home a.ac8-badge:hover { background: var(--ac8-accent); color: #fff; }
.ac8-badge--overlay { position: absolute; top: 28px; left: 37px; z-index: 2; }

.ac8-arrows { display: flex; gap: 20px; }

.ac8-arrow,
.ac8-home .ac8-arrow {
	position: relative;
	flex: none;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ac8-accent);
	color: #fff;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.ac8-arrow::before {
	content: '';
	position: absolute;
	top: 50%; left: 50%;
	width: 11px; height: 11px;
	border: solid currentColor;
	border-width: 0 0 1.5px 1.5px;
	transform: translate(-30%, -50%) rotate(45deg);
}
.ac8-arrow--next::before { transform: translate(-70%, -50%) rotate(-135deg); }
.ac8-home .ac8-arrow:hover:not(:disabled) { background: #d95500; color: #fff; }
.ac8-home .ac8-arrow:disabled { background: #EFEFEF; color: #333333; opacity: 1; cursor: default; }

.ac8-dots { display: none; }

.ac8-hero { padding: 29px 0 28px; }
.ac8-hero__frame { position: relative; }
.ac8-hero__viewport { position: relative; overflow: hidden; border-radius: var(--ac8-radius); }
.ac8-hero__track { display: flex; transition: transform .45s ease; }

.ac8-hero__slide { position: relative; flex: 0 0 100%; }
.ac8-hero picture { display: block; }
.ac8-hero__img { width: 100%; aspect-ratio: 1635 / 360; object-fit: cover; border-radius: var(--ac8-radius); }
.ac8-hero__img.ac8-hero__img--whole { display: block; height: auto; aspect-ratio: auto; object-fit: fill; }

.ac8-hero__caption {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 40px 24px 18px;
	background: linear-gradient(transparent, rgba(0,0,0,.65));
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.ac8-hero__thumbs {
	position: absolute;
	right: 36px;
	bottom: 29px;
	display: flex;
	gap: 14px;
	z-index: 2;
}

.ac8-hero__thumb,
.ac8-home .ac8-hero__thumb {
	width: 50px; height: 50px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 5px;
	background: none;
	cursor: pointer;
	overflow: hidden;
	transition: border-color .15s ease;
}
.ac8-hero__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac8-home .ac8-hero__thumb.is-current,
.ac8-home .ac8-hero__thumb:hover { border-color: var(--ac8-accent); background: none; }

.ac8-hero--promo { position: relative; padding: 55px 0 52px; }

.ac8-banner { position: relative; padding-top: 55px; padding-bottom: 52px; }
.ac8-banner img,
.ac8-banner figure { border-radius: var(--ac8-radius); overflow: hidden; }

.ac8-featured { position: relative; padding: 28px 0 26px; }
.ac8-hero + .ac8-featured::before { width: min(1635px, calc(100% - 40px)); }

.ac8-featured__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 558px;
	gap: 47px;
	align-items: stretch;
}

.ac8-featured__main { padding-bottom: 27px; }
.ac8-featured__side { border-left: 1px solid var(--ac8-rule-color); padding: 7px 0 7px 47px; }
.ac8-featured__grid:not(:has(.ac8-featured__side)) { grid-template-columns: minmax(0, 1025px); justify-content: center; }

.ac8-featured__media { position: relative; display: block; }
.ac8-featured__imglink { display: block; }
.ac8-featured__img { width: 100%; aspect-ratio: 1025 / 346; object-fit: cover; border-radius: var(--ac8-radius); }

.ac8-featured__topmeta { display: none; }

.ac8-featured__title {
	margin: 33px 0 6px;
	font-size: clamp(26px, 1.9vw, 36px);
	line-height: 1.35;
	font-weight: 700;
	text-align: center;
	color: var(--ac8-dark);
}

.ac8-featured__lead {
	margin: 0 0 27px;
	font-size: 14px;
	line-height: 19px;
	text-align: center;
	color: var(--ac8-dark);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.ac8-featured__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.ac8-news { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--ac8-rule-color); }
.ac8-news:first-child { padding-top: 0; }
.ac8-news:last-child { border-bottom: 0; padding-bottom: 0; }
.ac8-news__media { display: block; }
.ac8-home .ac8-news__img { width: 160px; height: 160px; object-fit: cover; border-radius: var(--ac8-radius); }
.ac8-news__body { display: flex; flex-direction: column; min-width: 0; }
.ac8-news__title { margin: 0 0 9px; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--ac8-dark); }
.ac8-news__excerpt { margin: 0 0 10px; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }
.ac8-news .ac8-card__meta { margin-top: auto; }

.ac8-card__meta { margin: 0; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }
.ac8-card__meta span { display: inline-block; width: 1px; height: 17px; margin: 0 5px; background: currentColor; vertical-align: -3px; font-size: 0; overflow: hidden; }

.ac8-card { display: flex; flex-direction: column; }
.ac8-card__media { display: block; margin-bottom: 16px; }
.ac8-card__img { width: 100%; aspect-ratio: 390 / 254; object-fit: cover; border-radius: var(--ac8-radius); }
.ac8-card__img--empty { background: var(--ac8-bg-soft); }
.ac8-card .ac8-badge { align-self: flex-start; }
.ac8-card__title { margin: 0 0 9px; font-size: 18px; line-height: 25px; font-weight: 700; color: var(--ac8-dark); }
.ac8-card__excerpt { margin: 0 0 27px; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }

.ac8-card__more,
.ac8-home .ac8-card__more { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; color: var(--ac8-accent); font-size: 18px; line-height: 22px; font-weight: 500; }
.ac8-card__arrow {
	width: 22px; height: 14px; flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M0 7h20.5M14.5 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.5'/%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 22 14'%3E%3Cpath d='M0 7h20.5M14.5 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .15s ease;
}
.ac8-card__more:hover .ac8-card__arrow { transform: translateX(4px); }

.ac8-card--carousel { text-align: center; align-items: center; height: 100%; }
.ac8-card--carousel .ac8-card__media { width: 100%; }
.ac8-home .ac8-card--carousel .ac8-badge {
	align-self: center;
	height: 37px;
	padding: 0 29px;
	margin-bottom: 20px;
	background: var(--ac8-accent);
	border: 0;
	color: #fff;
	font-size: 17px;
	line-height: 37px;
	font-weight: 600;
	letter-spacing: .02em;
}
.ac8-home .ac8-card--carousel a.ac8-badge:hover { background: #d95500; }
.ac8-card--carousel .ac8-card__title { margin-bottom: 20px; font-size: 20px; line-height: 27px; }

.ac8-whatsnew { padding-bottom: 70px; }
.ac8-carousel { position: relative; overflow: hidden; }
.ac8-carousel__track { display: flex; gap: var(--ac8-gap); transition: transform .4s ease; }
.ac8-carousel__slide { flex: 0 0 calc((100% - 3 * var(--ac8-gap)) / 4); }

.ac8-filtered__grid { display: grid; grid-template-columns: 341px minmax(0, 1fr); gap: 65px; align-items: start; }

.ac8-filters { border: 1px solid var(--ac8-rule-color); border-radius: var(--ac8-radius); background: #fff; }
.ac8-filters__toggle { display: none; }
.ac8-filters__title { position: relative; margin: 0; padding: 0 29px; font-size: 20px; line-height: 74px; font-weight: 700; color: var(--ac8-dark); }
.ac8-filters__title::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--ac8-rule-color); }
.ac8-filters__group { padding: 0 29px; border-top: 1px solid var(--ac8-rule-color); }
.ac8-filters__title + .ac8-filters__group { border-top: 0; }
.ac8-filters__legend,
.ac8-home .ac8-filters__legend {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	width: 100%; height: 59px; margin: 0; padding: 0 8px 0 0; border: 0; background: none; cursor: pointer;
	font-family: inherit; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ac8-dark); text-align: left;
}
.ac8-home .ac8-filters__legend:hover { background: none; color: var(--ac8-dark); }
.ac8-filters__caret {
	width: 0; height: 0; flex: none;
	border-left: 6.5px solid transparent; border-right: 6.5px solid transparent;
	border-top: 6px solid var(--ac8-rule-color);
	transition: transform .18s ease, border-color .18s ease;
}
.ac8-filters__group.is-open .ac8-filters__caret { transform: rotate(180deg); border-top-color: var(--ac8-accent); }
.ac8-filters__body { display: none; }
.ac8-filters__group.is-open .ac8-filters__body { display: block; }
.ac8-filters__submit { margin: 18px 29px 22px; }

.ac8-filters__list { list-style: none; margin: 16px 0 0; padding: 0; max-height: 669px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ac8-rule-color) transparent; }
.ac8-filters__list li { margin: 0 0 14px; }
.ac8-filters__list label { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 13px; line-height: 21px; font-weight: 400; color: var(--ac8-dark); cursor: pointer; }
.ac8-home .ac8-filters__list input {
	-webkit-appearance: none; appearance: none;
	flex: none; width: 21px; height: 21px; margin: 0; padding: 0;
	border: 1.5px solid #D9D9D9; border-radius: 4px; background: #fff;
	cursor: pointer;
	transition: background-color .12s ease, border-color .12s ease;
}
.ac8-home .ac8-filters__list input:checked {
	border-color: var(--ac8-accent);
	background: var(--ac8-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath d='M1.5 5.5l3.8 3.8L12.5 1.6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 13px auto no-repeat;
}
.ac8-home .ac8-filters__list input:focus-visible { outline: 2px solid var(--ac8-accent); outline-offset: 2px; }
.ac8-filters__list li[hidden] { display: none; }
.ac8-filters__empty { margin: 14px 0 18px; font-size: 13px; color: var(--ac8-muted); }

.ac8-filters__search { position: relative; margin: 0 15px 0 0; }
.ac8-home .ac8-filters__search input {
	width: 100%; height: 41px; padding: 0 44px 0 16px; margin: 0;
	border: 1.5px solid #D9D9D9; border-radius: 6px;
	font: inherit; font-size: 14px; color: var(--ac8-dark); background: #fff;
}
.ac8-filters__search input::placeholder { color: var(--ac8-dark); opacity: 1; }
.ac8-home .ac8-filters__search input:focus-visible { outline: 2px solid var(--ac8-accent); outline-offset: 1px; }
.ac8-filters__search svg {
	position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
	width: 19px; height: 19px; pointer-events: none;
}

.ac8-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 21px; margin-bottom: 23px; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }
.ac8-chips__label { color: var(--ac8-dark); }
.ac8-chip,
.ac8-home .ac8-chip { display: inline-flex; align-items: center; gap: 16px; height: 29px; padding: 0 8px 0 7px; border: 1px solid #4C4C4C; border-radius: 6px; font-size: 12px; line-height: 1; text-transform: uppercase; font-weight: 500; color: #4C4C4C; cursor: pointer; }
.ac8-chip span { font-size: 17px; line-height: 1; color: #4C4C4C; }
.ac8-chip:hover span { color: var(--ac8-accent); }
.ac8-chips__clear { margin-left: auto; text-decoration: underline !important; text-underline-offset: 3px; color: var(--ac8-dark); }

.ac8-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
.ac8-grid .ac8-card { position: relative; padding-bottom: 23px; border: 1px solid var(--ac8-card-line); border-radius: var(--ac8-radius); overflow: hidden; background: #fff; }
.ac8-grid .ac8-card__media { margin-bottom: 0; }
.ac8-grid .ac8-card__img { aspect-ratio: 404 / 255; border-radius: 0; }
.ac8-grid .ac8-card > .ac8-badge { position: absolute; top: 31px; left: 30px; margin: 0; }
.ac8-grid .ac8-card__title,
.ac8-grid .ac8-card__excerpt,
.ac8-grid .ac8-card__meta { padding: 0 23px; }
.ac8-grid .ac8-card__title { margin-top: 31px; }
.ac8-grid .ac8-card__meta { margin-top: auto; }

.ac8-filtered__empty { color: var(--ac8-muted); font-size: 14px; }
.ac8-filtered__results { transition: opacity .15s ease; }
.ac8-filtered__results.is-loading { opacity: .45; pointer-events: none; }

.ac8-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 67px; font-size: 12px; line-height: 1; color: var(--ac8-dark); }
.ac8-pagination__item { min-width: 36px; height: 52px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #EDEDED; border-radius: 4px; }
.ac8-home .ac8-pagination__item:hover { border-color: var(--ac8-accent); }
.ac8-pagination__item.is-current { border-color: var(--ac8-accent); }
.ac8-pagination__sep { margin: 0 14px; color: var(--ac8-muted); }

.ac8-youtube { padding: 46px 0 83px; }

.ac8-youtube__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	column-gap: 33px;
	align-items: stretch;
}

.ac8-youtube__main iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--ac8-radius); display: block; }

.ac8-youtube__side {
	list-style: none; margin: 0;
	padding-left: 33px;
	border-left: 1px solid var(--ac8-rule-color);
	display: grid;
	grid-template-rows: 1fr 1fr;
	row-gap: 30px;
}
.ac8-youtube__side li { min-height: 0; }
.ac8-youtube__side iframe { width: 100%; height: 100%; border: 0; border-radius: var(--ac8-radius); display: block; }

.ac8-youtube__carousel { display: none; }

.ac8-yt-thumb,
.ac8-home .ac8-yt-thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--ac8-radius);
	overflow: hidden;
	background: #000;
	cursor: pointer;
}
.ac8-home .ac8-yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac8-yt-thumb__play {
	position: absolute; top: 50%; left: 50%;
	width: 68px; height: 48px;
	transform: translate(-50%, -50%);
	border-radius: 12px;
	background: #f00;
	transition: background .15s ease;
}
.ac8-yt-thumb__play::before {
	content: '';
	position: absolute; top: 50%; left: 50%;
	transform: translate(-35%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}
.ac8-yt-thumb:hover .ac8-yt-thumb__play { background: #c00; }
.ac8-yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--ac8-radius); }

.ac8-stats { padding: 48px 0 44px; position: relative; }
.ac8-stats__logo { margin-bottom: 32px; }
.ac8-stats__logo img { height: 72px; width: auto; display: block; }

.ac8-stats__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ac8-stat { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 28px; align-items: center; }
.ac8-stat__icon { grid-row: 1 / 3; color: var(--ac8-dark); line-height: 0; }
.ac8-home .ac8-stat__icon img { width: var(--w); height: auto; max-width: none; }
.ac8-stat__value { font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: var(--ac8-accent); line-height: 1; }
.ac8-stat__label { display: flex; align-items: center; min-height: 36px; font-size: 15px; line-height: 18px; color: var(--ac8-dark); }

.ac8-seo { padding: 53px 0 40px; position: relative; }
.ac8-seo__body { min-width: 0; }
.ac8-seo__heading {
	margin: 0 0 19px;
	font-size: clamp(26px, 1.9vw, 36px);
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: 0;
	color: #1F1F1F;
}
.ac8-seo__text {
	font-size: 13px;
	line-height: 20px;
	font-weight: 500;
	letter-spacing: 0;
	color: #4C4C4C;
}
.ac8-seo__text p { margin: 0 0 18px; font-size: inherit; line-height: inherit; color: inherit; }
.ac8-seo__text p:last-child { margin-bottom: 0; }

.ac8-seo__text[data-ac8-clamp] {
	position: relative;
	max-height: 60px;
	overflow: hidden;
	transition: max-height .3s ease;
}
.ac8-seo__text[data-ac8-clamp]::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
	background: linear-gradient(rgba(255,255,255,0), #fff);
	pointer-events: none;
	transition: opacity .2s ease;
}
.ac8-seo__text.is-open { max-height: none; }
.ac8-seo__text.is-open::after { opacity: 0; }
.ac8-seo__more,
.ac8-home .ac8-seo__more { display: block; margin: 14px auto 0; padding: 0; background: none; border: 0; font: inherit; font-size: 13px; line-height: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; color: #4C4C4C; cursor: pointer; }
.ac8-home .ac8-seo__more:hover { background: none; color: var(--ac8-accent); }

.ac8-dots__dot,
.ac8-home .ac8-dots__dot {
	width: 10px; height: 10px; padding: 0;
	border: 0; border-radius: 50%;
	background: #D9D9D9;
	font-size: 0; line-height: 0;
	cursor: pointer;
}
.ac8-home .ac8-dots__dot.is-current { background: var(--ac8-accent); }

@media (max-width: 1024px) {
	.ac8-hero__img { aspect-ratio: 3 / 1; }
	.ac8-featured__grid { grid-template-columns: 1fr; gap: 0; }
	.ac8-featured__side { border-left: 0; padding: 27px 0 0; border-top: 1px solid var(--ac8-rule-color); }
	.ac8-filtered__grid { grid-template-columns: 1fr; gap: 27px; }
	.ac8-filters__list { max-height: 320px; }
	.ac8-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac8-carousel__slide { flex-basis: calc((100% - 2 * var(--ac8-gap)) / 3); }
	.ac8-youtube__grid { grid-template-columns: 1fr; row-gap: 30px; }
	.ac8-youtube__side {
		padding-left: 0; padding-top: 30px;
		border-left: 0; border-top: 1px solid var(--ac8-rule-color);
		grid-template-rows: auto auto;
	}
	.ac8-youtube__side iframe { aspect-ratio: 16 / 9; height: auto; }
	.ac8-stats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
	.ac8-stat { justify-content: start; }
}

@media (max-width: 680px) {
	.ac8-home { --ac8-gap: 19px; }
	.ac8-container { padding-left: 19px; padding-right: 19px; }

	.ac8-section,
	.ac8-hero--promo,
	.ac8-banner,
	.ac8-youtube { padding: 27px 0; }

	.ac8-section::before,
	.ac8-hero--promo::before,
	.ac8-banner::before,
	.ac8-stats::before,
	.ac8-seo::before { width: calc(100% - 38px); }
	.ac8-hero + .ac8-featured::before { width: calc(100% - 12px); }

	.ac8-hero { padding: 26px 0 27px; }
	.ac8-hero__img { aspect-ratio: 390 / 186; }
	.ac8-hero__img.ac8-hero__img--whole-mobile { display: block; height: auto; aspect-ratio: auto; object-fit: fill; }
	.ac8-hero__slide { display: flex; align-items: center; }
	.ac8-hero__slide > picture, .ac8-hero__slide > .ac8-hero__img { width: 100%; }
	.ac8-hero__thumbs { position: static; justify-content: center; gap: 8px; margin-top: 10px; }
	.ac8-home .ac8-hero__thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #D9D9D9; }
	.ac8-hero__thumb img { display: none; }
	.ac8-home .ac8-hero__thumb.is-current,
	.ac8-home .ac8-hero__thumb:hover { background: var(--ac8-accent); }
	.ac8-hero--promo .ac8-hero__thumbs { margin-bottom: -10px; }

	.ac8-featured { padding: 32px 0 0; }
	.ac8-featured__main { padding-bottom: 27px; }
	.ac8-featured__img { aspect-ratio: 390 / 195; border-radius: 0; }
	.ac8-featured .ac8-badge--overlay { display: none; }
	.ac8-featured__topmeta { display: block; margin: 20px 0 14px; font-size: 13px; line-height: 18px; text-align: center; }
	.ac8-home .ac8-featured__cat { color: var(--ac8-accent); text-decoration: underline; text-underline-offset: 2px; text-transform: uppercase; }
	.ac8-featured__title { margin: 0 0 16px; font-size: 20px; line-height: 27px; }
	.ac8-featured__lead { margin-bottom: 25px; }
	.ac8-featured__foot { justify-content: center; }
	.ac8-featured__foot .ac8-card__meta { display: none; }
	.ac8-featured__side { padding-bottom: 27px; }

	.ac8-news { grid-template-columns: 100px minmax(0, 1fr); gap: 21px; padding: 16px 0; align-items: center; }
	.ac8-home .ac8-news__img { width: 100px; height: 100px; }
	.ac8-news__title { margin: 0; line-height: 26px; }
	.ac8-news__excerpt,
	.ac8-news .ac8-card__meta { display: none; }

	.ac8-heading { margin: 0 auto 23px; padding-bottom: 15px; font-size: 26px; text-align: center; }
	.ac8-heading::after { left: -21px; width: calc(100% + 42px); }
	.ac8-section__head { display: block; margin-bottom: 23px; }
	.ac8-section__head .ac8-heading { margin: 0 auto; }

	.ac8-whatsnew { padding: 30px 0 27px; }
	.ac8-whatsnew .ac8-container { position: relative; }
	.ac8-carousel__slide { flex-basis: 100%; }
	.ac8-card--carousel .ac8-card__img { aspect-ratio: 390 / 233; }
	.ac8-card--carousel .ac8-card__media { margin-bottom: 15px; }
	.ac8-home .ac8-card--carousel .ac8-badge { height: 34px; padding: 0 21px; margin-bottom: 18px; font-size: 15px; line-height: 34px; }
	.ac8-card--carousel .ac8-card__title { margin-bottom: 0; padding: 0 30px; font-size: 18px; line-height: 24px; }
	.ac8-card--carousel .ac8-card__more { display: none; }
	.ac8-whatsnew .ac8-dots { display: flex; justify-content: center; gap: 8px; margin-top: 19px; }

	.ac8-youtube__grid { display: none; }
	.ac8-youtube__carousel { display: block; position: relative; }
	.ac8-youtube .ac8-dots { display: flex; justify-content: center; gap: 8px; margin-top: 19px; }
	.ac8-home .ac8-youtube .ac8-arrow {
		position: absolute;
		z-index: 3;
		top: calc((100vw - 38px) * 9 / 32 - 15.5px);
		width: 31px; height: 31px;
		background: #fff;
		color: var(--ac8-dark);
		box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	}
	.ac8-home .ac8-youtube .ac8-arrow::before { width: 9px; height: 9px; border-width: 0 0 1.5px 1.5px; }
	.ac8-home .ac8-youtube .ac8-arrow--prev { left: 5px; }
	.ac8-home .ac8-youtube .ac8-arrow--next { right: 5px; }
	.ac8-home .ac8-youtube .ac8-arrow:disabled { background: #fff; color: var(--ac8-dark); opacity: .55; }
	.ac8-home .ac8-youtube .ac8-arrow:hover:not(:disabled) { background: #fff; color: var(--ac8-accent); }

	.ac8-whatsnew .ac8-arrows { display: contents; }
	.ac8-home .ac8-whatsnew .ac8-arrow {
		position: absolute;
		z-index: 3;
		top: calc(67px + (100vw - 38px) * 233 / 780 - 15.5px);
		width: 31px; height: 31px;
		background: #fff;
		color: var(--ac8-dark);
		box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	}
	.ac8-home .ac8-whatsnew .ac8-arrow::before { width: 9px; height: 9px; border-width: 0 0 1.5px 1.5px; }
	.ac8-home .ac8-whatsnew .ac8-arrow--prev { left: 24px; }
	.ac8-home .ac8-whatsnew .ac8-arrow--next { right: 24px; }
	.ac8-home .ac8-whatsnew .ac8-arrow:disabled { background: #fff; color: var(--ac8-dark); opacity: .55; }
	.ac8-home .ac8-whatsnew .ac8-arrow:hover:not(:disabled) { background: #fff; color: var(--ac8-accent); }

	.ac8-filtered__grid { gap: 19px; }
	.ac8-filters { border: 0; border-radius: 0; }
	.ac8-home .ac8-filters__toggle {
		display: flex; align-items: center; gap: 13px;
		width: 100%; height: 68px; padding: 0 30px;
		border: 1px solid var(--ac8-rule-color); border-radius: var(--ac8-radius);
		background: #fff; color: var(--ac8-dark);
		font-family: inherit; font-size: 20px; font-weight: 600; letter-spacing: 0; text-transform: none; text-align: left;
		cursor: pointer;
	}
	.ac8-filters__toggle svg { width: 22px; height: 22px; flex: none; }
	.ac8-filters form { display: none; margin-top: 12px; border: 1px solid var(--ac8-rule-color); border-radius: var(--ac8-radius); }
	.ac8-filters.is-open form { display: block; }
	.ac8-filters__title { display: none; }

	.ac8-chips { gap: 10px 21px; margin-bottom: 35px; }
	.ac8-chips__clear { margin-left: 0; }

	.ac8-grid { grid-template-columns: 1fr; gap: 0; }
	.ac8-grid .ac8-card {
		display: grid;
		grid-template-columns: 100px minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		column-gap: 21px;
		padding: 16px 0;
		border: 0; border-bottom: 1px solid var(--ac8-rule-color); border-radius: 0;
		overflow: visible;
	}
	.ac8-grid .ac8-card:first-child { padding-top: 0; }
	.ac8-grid .ac8-card:last-child { padding-bottom: 0; border-bottom: 0; }
	.ac8-grid .ac8-card__media { grid-row: 1 / 3; }
	.ac8-grid .ac8-card__img { aspect-ratio: 1; border-radius: var(--ac8-radius); }
	.ac8-grid .ac8-card > .ac8-badge { position: static; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
	.ac8-grid .ac8-card__title { margin: 11px 0 0; padding: 0; line-height: 26px; }
	.ac8-grid .ac8-card__excerpt,
	.ac8-grid .ac8-card__meta { display: none; }
	.ac8-pagination { margin-top: 17px; }

	.ac8-stats { padding: 27px 0 37px; }
	.ac8-stats__logo { margin-bottom: 21px; }
	.ac8-stats__logo img { margin: 0 auto; }
	.ac8-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
	.ac8-stat { grid-template-columns: 62px auto; column-gap: 22px; }
	.ac8-stat__icon { text-align: center; }
	.ac8-home .ac8-stat__icon img { width: calc(var(--w) * .68); display: inline-block; }
	.ac8-stat__value { font-size: 35px; }
	.ac8-stat__label { min-height: 28px; font-size: 12px; line-height: 14px; }

	.ac8-seo { padding: 37px 0 30px; }
	.ac8-seo .ac8-container { padding-left: 27px; padding-right: 27px; }
	.ac8-seo__heading { margin-bottom: 16px; font-size: 24px; line-height: 32px; }
	.ac8-seo__text[data-ac8-clamp] { max-height: 160px; }
	.ac8-seo__text.is-open { max-height: none; }
	.ac8-seo__more { margin-top: 20px; }
}

.ac8-archive { padding-top: 48px; }

.ac8-heading--page {
	margin: 0 auto 0;
	padding-bottom: 16px;
	text-align: center;
}
.ac8-heading--page::after { left: -15px; width: calc(100% + 30px); }
.ac8-team .ac8-heading--page::after { left: -21px; width: calc(100% + 42px); }

.ac8-heading--side { margin: -4px 0 22px; padding-bottom: 8px; }
.ac8-heading--side + .ac8-news { padding-top: 0; }

.ac8-archive .ac8-featured { padding-top: 38px; }

.ac8-seo--with-banner { padding-top: 0; }
.ac8-seo--with-banner::before { display: none; }
.ac8-seo__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 451px;
	align-items: stretch;
}
.ac8-seo__grid .ac8-seo__body { position: relative; min-width: 0; padding: 53px 33px 0 0; }
.ac8-seo__grid .ac8-seo__body::before {
	content: '';
	position: absolute; top: 0; right: 0;
	left: calc((min(var(--ac8-rule), 100vw - 40px) - min(1635px, 100vw - 40px)) / -2);
	height: 1px;
	background: var(--ac8-rule-color);
}
.ac8-seo__banner { border-left: 1px solid var(--ac8-rule-color); padding: 0 0 11px 33px; }
.ac8-seo__banner img,
.ac8-seo__banner figure { display: block; width: 100%; margin: 0; border-radius: var(--ac8-radius); overflow: hidden; }

@media (max-width: 1024px) {
	.ac8-seo--with-banner::before { display: block; }
	.ac8-seo__grid { grid-template-columns: 1fr; }
	.ac8-seo__banner { order: -1; border-left: 0; padding: 27px 0; }
	.ac8-seo__grid .ac8-seo__body { padding-right: 0; }
	.ac8-seo__grid .ac8-seo__body::before { left: 0; }
}

@media (max-width: 680px) {
	.ac8-archive { position: relative; padding-top: 57px; }
	.ac8-archive::before { content: ''; position: absolute; top: 26px; left: 6px; right: 6px; height: 1px; background: var(--ac8-rule-color); }
	.ac8-heading--page { padding-bottom: 10px; }
	.ac8-heading--page::after,
	.ac8-team .ac8-heading--page::after { left: -18px; width: calc(100% + 36px); }
	.ac8-archive .ac8-featured { padding-top: 22px; }
	.ac8-heading--side { margin: 3px auto 27px; padding-bottom: 7px; font-size: 20px; }
	.ac8-heading--side::after { left: -12px; width: calc(100% + 24px); }

	.ac8-featured__main { display: flex; flex-direction: column; }
	.ac8-featured__media { order: 1; }
	.ac8-featured__title { order: 2; margin: 20px 0 10px; }
	.ac8-featured__topmeta { order: 3; margin: 0 0 14px; }
	.ac8-featured__lead { order: 4; }
	.ac8-featured__foot { order: 5; }
	.ac8-seo--with-banner { padding-top: 0; }
	.ac8-seo--with-banner .ac8-container { padding-left: 19px; padding-right: 19px; }
	.ac8-seo__grid .ac8-seo__body { padding: 37px 8px 0; }
}

.ac8-filters__legend,
.ac8-filters__title,
.ac8-filters__list label,
.ac8-seo__more { text-transform: none; letter-spacing: normal; }

.ac8-single { --ac8-read: 1170px; --ac8-wide: 1316px; padding-top: 30px; }

.ac8-article > *,
.ac8-article__content > * {
	max-width: var(--ac8-read);
	margin-left: auto;
	margin-right: auto;
}

.ac8-article__hero { position: relative; margin-bottom: 34px; }
.ac8-article__img { width: 100%; aspect-ratio: 1169 / 473; object-fit: cover; border-radius: var(--ac8-radius); }

.ac8-article__head { text-align: center; margin-bottom: 84px; }
.ac8-article__head .ac8-card__meta { margin-bottom: 24px; }

.ac8-article__title {
	margin: 0 0 24px;
	font-size: clamp(28px, 2.1vw, 40px);
	line-height: 1.35;
	font-weight: 700;
	color: var(--ac8-dark);
}

.ac8-article__lead {
	margin: 0;
	font-size: 24px;
	line-height: 33px;
	font-weight: 600;
	color: var(--ac8-dark);
}

.ac8-article__content { font-size: 18px; line-height: 30px; color: var(--ac8-dark); }
.ac8-article__content p { margin: 0 0 24px; font-size: inherit; line-height: inherit; color: inherit; }
.ac8-article__content > :first-child { margin-top: 0; }
.ac8-article__content a { color: var(--ac8-accent); text-decoration: none; }
.ac8-article__content a:hover { text-decoration: underline; }

.ac8-article__content .wp-block-buttons { margin: 30px auto; gap: 12px; }
.ac8-article__content .wp-block-button__link,
.ac8-article__content a.wp-element-button {
	padding: 15px 31px;
	border-radius: var(--ac8-radius);
	color: #fff;
	font-size: 14px;
	line-height: 18px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter .15s ease;
}
.ac8-article__content .wp-block-button__link:not(.has-background) { background: var(--ac8-accent); }
.ac8-article__content .wp-block-button__link.has-text-color { color: inherit; }
.ac8-article__content .wp-block-button__link:hover,
.ac8-article__content a.wp-element-button:hover { color: #fff; text-decoration: none; filter: brightness(.9); }
.ac8-article__content .is-style-outline > .wp-block-button__link:not(.has-background) { background: none; border: 1px solid var(--ac8-accent); color: var(--ac8-accent); }
.ac8-article__content .is-style-outline > .wp-block-button__link:not(.has-background):hover { background: var(--ac8-accent); color: #fff; filter: none; }

.ac8-article__content h2,
.ac8-article__content h3 {
	margin: 56px auto 20px;
	color: var(--ac8-dark);
	line-height: 1.38;
	text-align: center;
	text-wrap: balance;
}
.ac8-article__content h2 { font-size: clamp(22px, 1.6vw, 26px); font-weight: 700; }
.ac8-article__content h3 { font-size: 21px; font-weight: 700; }

.ac8-article__content ul,
.ac8-article__content ol { margin: 0 0 24px; padding-left: 24px; }
.ac8-article__content ul { list-style: disc outside; }
.ac8-article__content ol { list-style: decimal outside; }
.ac8-article__content li { margin: 0; line-height: 29px; list-style: inherit; }
.ac8-article__content li::marker { color: var(--ac8-accent); }

.ac8-article__content hr.wp-block-separator:not(.is-style-dots),
.ac8-article__content hr {
	width: 100%;
	max-width: var(--ac8-read);
	height: 1px;
	margin: 30px auto;
	border: 0;
	background-color: var(--ac8-rule-color);
	opacity: 1;
}
.ac8-article__content hr.wp-block-separator.has-background:not(.is-style-dots) { background-color: currentColor; }
.ac8-article__content hr.wp-block-separator.is-style-dots { height: auto; background: none; }

.ac8-article__content blockquote {
	margin: 34px 0; padding: 4px 0 4px 28px;
	border-left: 3px solid var(--ac8-accent);
	font-size: 21px; font-style: italic; color: var(--ac8-dark);
}

.ac8-article__content img:not(.ep8a-img) { border-radius: var(--ac8-radius); height: auto; }

.ac8-article__content figure { margin: 40px auto; }
.ac8-article__content figcaption,
.ac8-article__content .wp-caption-text {
	margin-top: 8px;
	font-size: 13px; line-height: 20px; color: #333;
	text-align: left;
}

.ac8-article__content .single-gallery-carousel {
	width: min(1316px, 100vw - 40px);
	max-width: none;
	margin: 46px 0 46px 50%;
	transform: translateX(-50%);
}

.ac8-article__author {
	margin-top: 34px;
	padding-left: 18px;
	font-size: 18px; line-height: 26px; font-style: italic; color: var(--ac8-dark);
	text-align: left;
}

.ac8-heading--center { margin-left: auto; margin-right: auto; text-align: center; }

.ac8-related { margin-top: 36px; padding: 41px 0 32px; }
.ac8-related::before { width: min(1216px, calc(100% - 40px)); }
.ac8-related .ac8-heading { margin-bottom: 22px; padding-bottom: 12px; font-size: 26px; }
.ac8-related .ac8-heading::after { left: -12px; width: calc(100% + 24px); }
.ac8-related__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	max-width: 1124px;
	margin: 0 auto;
}
.ac8-related__grid .ac8-news { border-bottom: 0; padding: 0 60px 7px 0; }
.ac8-related__grid .ac8-news + .ac8-news { border-left: 1px solid var(--ac8-rule-color); padding: 0 0 7px 60px; }

@media (max-width: 900px) {
	.ac8-related__grid { grid-template-columns: 1fr; }
	.ac8-related__grid .ac8-news,
	.ac8-related__grid .ac8-news + .ac8-news { border-left: 0; padding: 16px 0; border-bottom: 1px solid var(--ac8-rule-color); }
	.ac8-related__grid .ac8-news:first-child { padding-top: 0; }
	.ac8-related__grid .ac8-news:last-child { border-bottom: 0; padding-bottom: 0; }
	.ac8-article__lead { font-size: 18px; line-height: 27px; }
	.ac8-article__head { margin-bottom: 40px; }
	.ac8-article__content { font-size: 16px; line-height: 27px; }
}

@media (max-width: 680px) {
	.ac8-single { padding-top: 15px; }
	.ac8-article { padding: 0 16px; }

	.ac8-single .ac8-article { display: flex; flex-direction: column; }
	.ac8-single .ac8-article__hero,
	.ac8-single .ac8-article__head { display: contents; }
	.ac8-single .ac8-article__img { order: 1; margin-bottom: 20px; }
	.ac8-single .ac8-article__title { order: 2; margin: 0 0 12px; text-align: center; }
	.ac8-single .ac8-article__head .ac8-card__meta { order: 3; margin: 0 0 12px; text-align: center; }
	.ac8-single .ac8-article__hero .ac8-badge { order: 4; align-self: center; margin-bottom: 21px; }
	.ac8-single .ac8-article__lead { order: 5; margin-bottom: 30px; text-align: center; }
	.ac8-single .ac8-article__content { order: 6; width: 100%; }
	.ac8-single .ac8-article__author { order: 7; }
	.ac8-article__hero { margin-bottom: 14px; text-align: center; }
	.ac8-article__img { aspect-ratio: 393 / 216; margin-bottom: 21px; }
	.ac8-article__hero .ac8-badge--overlay { position: static; }
	.ac8-article__head { margin-bottom: 30px; }
	.ac8-article__head .ac8-card__meta { margin-bottom: 19px; }
	.ac8-article__title { margin-bottom: 21px; font-size: 20px; line-height: 27px; }
	.ac8-article__lead { font-size: 16px; line-height: 22px; }
	.ac8-article__content { padding: 0 9px; }
	.ac8-article__content h2 { font-size: 20px; margin: 36px auto 16px; }
	.ac8-article__content h3 { font-size: 18px; }
	.ac8-article__author { margin-top: 30px; padding-left: 14px; }

	.ac8-related { margin-top: 29px; padding: 17px 0 32px; }
	.ac8-related::before { width: calc(100% - 38px); }
	.ac8-related .ac8-heading { margin-bottom: 25px; padding-bottom: 12px; font-size: 30px; }
	.ac8-related .ac8-heading::after { left: -2px; width: calc(100% + 4px); }
}

.ac8-article__content .ep8a-section { margin: 60px auto 56px; padding: 0 31px; }
.ac8-article__content .ep8a-header { gap: 30px; margin-bottom: 26px; }
.ac8-article__content .ep8a-titlebar { gap: 30px; }
.ac8-article__content .ep8a-h { font-size: 22px !important; line-height: 30px; font-weight: 400; color: var(--ac8-dark); text-align: left; }
.ac8-article__content .ep8a-titleline,
.ac8-article__content .ep8a-bottomline { background: #8F8F8F; }
.ac8-article__content .ep8a-imgwrap::before { padding-top: 133%; }
.ac8-article__content .ep8a-caption { padding: 12px 0 0; }
.ac8-article__content .ep8a-title { margin-top: 0 !important; font-size: 15px !important; line-height: 24px !important; font-weight: 400; -webkit-line-clamp: 2; min-height: 48px; }
.ac8-article__content .ep8a-price { margin-top: 6px; font-size: 16px !important; line-height: 22px; font-weight: 700; }
.ac8-article__content .ep8a-bottom { gap: 48px; margin-top: 34px; }
.ac8-article__content a.ep8a-cta {
	height: 54px; padding: 0 32px;
	background: var(--ac8-accent); color: #fff;
	border-radius: var(--ac8-radius);
	font-size: 14px; line-height: 54px; font-weight: 700; letter-spacing: 0; text-transform: uppercase; text-decoration: none;
	white-space: nowrap;
}
.ac8-article__content a.ep8a-cta:hover { background: #d95500; filter: none; text-decoration: none; }

@media (max-width: 768px) {
	.ac8-article__content .ep8a-section { margin: 40px auto; padding: 0; }
	.ac8-article__content .ep8a-h { font-size: 18px !important; text-align: center; }
	.ac8-article__content .ep8a-titlebar::before,
	.ac8-article__content .ep8a-titlebar::after,
	.ac8-article__content .ep8a-bottom::before,
	.ac8-article__content .ep8a-bottom::after { background: #8F8F8F; }
	.ac8-article__content a.ep8a-cta { height: 44px; padding: 0 18px; line-height: 44px; }
	.ac8-article__content .ep8a-prev { left: -14px; }
	.ac8-article__content .ep8a-next { right: -14px; }
}

.ac8-article__content .gallery-lightbox { display: none; }

.ac8-article__content .single-gallery-carousel > :not(ul) { display: none; }
.ac8-article__content .single-gallery-carousel .description,
.ac8-article__content .single-gallery-carousel + .preloader-box,
.ac8-article__content .preloader-box { display: none; }

.ac8-article__content .single-gallery-carousel > ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ac8-article__content .single-gallery-carousel > ul > li { margin: 0; line-height: 0; }
.ac8-article__content .single-gallery-carousel > ul > li img {
	width: 100%;
	aspect-ratio: 428 / 300;
	object-fit: cover;
	border-radius: var(--ac8-radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
	display: block;
}

@media (max-width: 900px) {
	.ac8-article__content .single-gallery-carousel > ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 680px) {
	.ac8-article__content .single-gallery-carousel { width: 100%; margin: 30px 0; transform: none; }
	.ac8-article__content .single-gallery-carousel > ul { grid-template-columns: 1fr; gap: 17px; }
	.ac8-article__content .single-gallery-carousel > ul > li img { aspect-ratio: 358 / 240; box-shadow: none; }
}

.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] {
	display: grid;
	width: min(1316px, 100vw - 40px);
	max-width: none;
	margin: 46px 0 46px 50%;
	padding: 0;
	transform: translateX(-50%);
}
.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] > figure.wp-block-image {
	width: auto !important;
	height: 100%;
	margin: 0 !important;
	flex: none;
}
.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] > figure.wp-block-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.ac8-article__content .wp-block-gallery.is-style-ac8-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ac8-article__content .wp-block-gallery.is-style-ac8-grid > figure.wp-block-image img {
	aspect-ratio: 428 / 300;
	border-radius: var(--ac8-radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.ac8-article__content .wp-block-gallery.is-style-ac8-duo,
.ac8-article__content .wp-block-gallery.is-style-ac8-trio { gap: 24px; aspect-ratio: 1316 / 400; }
.ac8-article__content .wp-block-gallery.is-style-ac8-duo { grid-template-columns: 752fr 540fr; }
.ac8-article__content .wp-block-gallery.is-style-ac8-trio { grid-template-columns: 360fr 360fr 548fr; }
.ac8-article__content .wp-block-gallery.is-style-ac8-duo > figure.wp-block-image img,
.ac8-article__content .wp-block-gallery.is-style-ac8-trio > figure.wp-block-image img { border-radius: 0; }
.ac8-article__content .wp-block-gallery.is-style-ac8-duo > figure.wp-block-image:only-child { grid-column: 1 / -1; }
.ac8-article__content--widget .wp-block-gallery[class*="is-style-ac8-"] { width: 100%; margin: 0 0 24px; transform: none; }
.ac8-article__content--widget .wp-block-gallery[class*="is-style-ac8-"]:last-child { margin-bottom: 0; }
.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] + .wp-block-gallery[class*="is-style-ac8-"] { margin-top: -22px; }

@media (max-width: 680px) {
	.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] { width: 100%; margin: 30px 0; transform: none; gap: 17px; aspect-ratio: auto; }
	.ac8-article__content .wp-block-gallery.is-style-ac8-grid,
	.ac8-article__content .wp-block-gallery.is-style-ac8-duo { grid-template-columns: 1fr; }
	.ac8-article__content .wp-block-gallery.is-style-ac8-trio { grid-template-columns: 1fr 1fr; }
	.ac8-article__content .wp-block-gallery.is-style-ac8-trio > figure.wp-block-image:last-child { grid-column: 1 / -1; }
	.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] > figure.wp-block-image img { aspect-ratio: 358 / 240; box-shadow: none; }
	.ac8-article__content .wp-block-gallery.is-style-ac8-trio > figure.wp-block-image:not(:last-child) img { aspect-ratio: 170 / 180; }
	.ac8-article__content .wp-block-gallery[class*="is-style-ac8-"] + .wp-block-gallery[class*="is-style-ac8-"] { margin-top: -13px; }
}

.ac8-team { padding-top: 73px; }

.ac8-team__intro {
	max-width: 900px;
	margin: 28px auto 0;
	font-size: 24px;
	line-height: 33px;
	color: var(--ac8-dark);
	text-align: center;
	text-wrap: balance;
}

.ac8-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 34px 24px;
	margin: 53px 0 64px;
}

.ac8-member {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ac8-card-line);
	border-radius: var(--ac8-radius);
	overflow: hidden;
	background: #fff;
}

.ac8-member__media { display: block; }
.ac8-member__img {
	width: 100%;
	aspect-ratio: 543 / 344;
	object-fit: cover;
	object-position: center 22%;
	display: block;
}
.ac8-member__img--empty { background: var(--ac8-bg-soft); }

.ac8-member__body { padding: 25px 24px 32px; }

.ac8-member__name { margin: 0 0 7px; font-size: 18px; line-height: 24px; font-weight: 700; }
.ac8-member__name a,
.ac8-home .ac8-member__name a { color: var(--ac8-accent); }
.ac8-member__name a:hover { text-decoration: underline; }

.ac8-member__role { margin: 0 0 19px; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }
.ac8-member__desc { margin: 0; font-size: 14px; line-height: 24px; color: var(--ac8-dark); }

@media (max-width: 1024px) {
	.ac8-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ac8-team__intro { font-size: 19px; }
}

@media (max-width: 680px) {
	.ac8-team { padding-top: 30px; }
	.ac8-team .ac8-heading--page::after { left: -20px; width: calc(100% + 40px); }
	.ac8-team__intro { margin-top: 20px; padding: 0 18px; font-size: 16px; line-height: 22px; text-wrap: wrap; }
	.ac8-team__intro br { display: none; }
	.ac8-team__grid { grid-template-columns: 1fr; gap: 24px; margin: 36px 0 12px; }
	.ac8-team .ac8-stats::before { display: none; }
}

.ac8-listing { padding-top: 48px; }
.ac8-listing__head { text-align: center; padding-bottom: 46px; }
.ac8-listing__summary { margin: 26px 0 0; font-size: 18px; line-height: 26px; color: var(--ac8-dark); }
.ac8-listing__empty { margin: 0; font-size: 18px; line-height: 28px; text-align: center; color: var(--ac8-dark); }
.ac8-listing .ac8-section:first-child::before { display: block; }

.ac8-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ac8-searchform { display: flex; gap: 12px; max-width: 620px; margin: 28px auto 0; }
.ac8-home .ac8-searchform input {
	flex: 1; min-width: 0; height: 48px; margin: 0; padding: 0 18px;
	border: 1.5px solid #D9D9D9; border-radius: var(--ac8-radius);
	font: inherit; font-size: 16px; color: var(--ac8-dark); background: #fff;
}
.ac8-searchform input::placeholder { color: var(--ac8-muted); opacity: 1; }
.ac8-home .ac8-searchform input:focus-visible { outline: 2px solid var(--ac8-accent); outline-offset: 1px; }
.ac8-home .ac8-searchform .ac8-btn { cursor: pointer; font-family: inherit; }

.ac8-author-head { text-align: center; padding-bottom: 8px; }
.ac8-home .ac8-author-head__photo { width: 140px; height: 140px; margin: 0 auto 24px; border-radius: 50%; object-fit: cover; object-position: center 25%; }
.ac8-author-head__role { margin: 18px 0 0; font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ac8-accent); }
.ac8-author-head__bio { max-width: 900px; margin: 22px auto 0; }
.ac8-author-head__text { font-size: 16px; line-height: 26px; color: var(--ac8-dark); }
.ac8-author-head__text p { margin: 0 0 12px; font-size: inherit; line-height: inherit; color: inherit; }
.ac8-author-head__text p:last-child { margin-bottom: 0; }
.ac8-author-head__text a { color: var(--ac8-accent); }
.ac8-author-head__text[data-ac8-clamp] { position: relative; max-height: 104px; overflow: hidden; transition: max-height .3s ease; }
.ac8-author-head__text[data-ac8-clamp]::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
	background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; transition: opacity .2s ease;
}
.ac8-author-head__text.is-open { max-height: none; }
.ac8-author-head__text.is-open::after { opacity: 0; }
.ac8-author-head__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 24px; }
.ac8-author-head__count { margin-right: 6px; font-size: 14px; line-height: 19px; font-weight: 700; color: var(--ac8-dark); }

.ac8-author-page .ac8-listing__body .ac8-heading { margin-bottom: 37px; }

.ac8-404__box { text-align: center; padding-bottom: 70px; }
.ac8-404__code { margin: 0 0 6px; font-size: clamp(96px, 10vw, 180px); line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--ac8-accent); }
.ac8-404__text { margin: 28px 0 0; font-size: 18px; line-height: 28px; color: var(--ac8-dark); }
.ac8-404__home { margin-top: 28px; }
.ac8-404-stats .ac8-stats::before { display: none; }

@media (max-width: 1360px) {
	.ac8-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.ac8-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	.ac8-listing { padding-top: 30px; }
	.ac8-listing__head { padding-bottom: 27px; }
	.ac8-listing .ac8-heading--page { font-size: 24px; }
	.ac8-listing .ac8-heading--page::after { left: -10px; width: calc(100% + 20px); }
	.ac8-listing__summary { margin-top: 20px; font-size: 16px; line-height: 22px; }
	.ac8-grid--4 { grid-template-columns: 1fr; }
	.ac8-searchform { margin-top: 22px; }
	.ac8-home .ac8-searchform .ac8-btn { padding: 0 20px; }
	.ac8-home .ac8-author-head__photo { width: 110px; height: 110px; margin-bottom: 18px; }
	.ac8-author-head__text { font-size: 15px; line-height: 24px; }
	.ac8-author-head__text[data-ac8-clamp] { max-height: 120px; }
	.ac8-404__box { padding-bottom: 40px; }
	.ac8-404__text { margin-top: 20px; font-size: 16px; line-height: 24px; }
	.ac8-404__text br { display: none; }
}

.ac8-page { --ac8-read: 1170px; --ac8-wide: 1316px; padding-bottom: 20px; }
.ac8-page__head { margin-bottom: 44px; }
.ac8-page .ac8-article__hero { margin-bottom: 44px; }

.ac8-team__intro--wide { max-width: 1100px; font-size: 18px; line-height: 28px; }

.ac8-team__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
.ac8-team__grid--4 .ac8-member__img { aspect-ratio: 1 / 1; object-position: center 30%; }
.ac8-team__grid--4 .ac8-member__body { display: flex; flex-direction: column; flex: 1; padding: 30px 24px 23px; }
.ac8-member__stats { margin-top: auto; padding-top: 20px; }
.ac8-member__stats::before { content: ''; display: block; height: 1px; margin-bottom: 18px; background: var(--ac8-rule-color); }
.ac8-member__count { margin: 0 0 14px; font-size: 14px; line-height: 19px; color: var(--ac8-dark); }
.ac8-member__cats { display: flex; flex-wrap: wrap; gap: 15px 16px; margin: 0; padding: 0; list-style: none; }
.ac8-member__cats li { margin: 0; }
.ac8-member__cats li[hidden] { display: none; }
.ac8-home .ac8-member__more { min-width: 34px; padding: 0 10px; font-family: inherit; font-size: 15px; cursor: pointer; }
.ac8-home .ac8-member__more:hover { background: var(--ac8-accent); color: #fff; }

@media (max-width: 1360px) { .ac8-team__grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .ac8-team__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
	.ac8-page__head { margin-bottom: 27px; }
	.ac8-team__grid--4 { grid-template-columns: 1fr; }
	.ac8-team__intro--wide { font-size: 16px; line-height: 22px; }
}
