.gfc-group {
	margin-bottom: 64px;
}

.gfc-group:last-child {
	margin-bottom: 0;
}

.gfc-group__header {
	margin-bottom: 28px;
}

.gfc-group__accent {
	display: block;
	width: 48px;
	height: 4px;
	background-color: var(--bs-color-accent, #fe3e6b);
	margin-bottom: 12px;
	border-radius: 2px;
}

.gfc-group__title {
	font-family: var(--bs-font-heading, inherit);
	font-size: clamp(26px, 2.5vw, 36px);
	font-weight: 800;
	color: #172126;
	letter-spacing: -0.025em;
	margin: 0;
	line-height: 1.15;
}

.gfc-editorial-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(10px, 1.3vw, 20px);
	grid-auto-flow: dense;
}
.gfc-editorial-card { min-width: 0; }
.gfc-editorial-card.is-featured { grid-area: 1 / 1 / span 2 / span 2; }
.gfc-editorial-card a {
	position: relative; display: grid; align-content: end; isolation: isolate;
	min-height: 150px; height: 100%; overflow: hidden; padding: 14px;
	border-radius: 4px; background: #171717; color: white; text-decoration: none;
}
.gfc-editorial-card.is-featured a { min-height: clamp(260px, 30vw, 430px); }
.gfc-editorial-card a::before { position: absolute; z-index: -1; inset: 0; }
.gfc-editorial-card a::before { content: ""; z-index: 0; background: linear-gradient(0deg, #111f, #1119 26%, transparent 72%); }
.gfc-editorial-card__label { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 6px; }
.gfc-editorial-card__label h3 {
	color: white; margin: 0; line-height: 1.12; font-size: clamp(.9rem, 1.3vw, 1.35rem);
	overflow-wrap: anywhere;
}
.gfc-editorial-card.is-featured h3 { font-size: clamp(1.45rem, 3vw, 3rem); }
.gfc-editorial-card__label span {
	display: grid; place-items: center; flex: 0 0 28px; height: 28px;
	border: 1px solid #fffa; border-radius: 50%; color: white;
}
.gfc-editorial-card a:is(:hover,:focus-visible) span { background: #171717; border-color: var(--bs-color-accent, #ec007d); }
.gfc-editorial-card a:hover img { transform: scale(1.04); }


.gfc { overflow: clip; }
.gfc .bersoft-container { width: min(calc(100% - 40px), 1216px); margin-inline: auto; }
.gfc-hero { position: relative; isolation: isolate; background: #171717; color: white; padding-block: clamp(58px, 8vw, 125px); }
.gfc-hero > img, .gfc-hero::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.gfc-hero > img { object-fit: cover; object-position: center 62%; }
.gfc-hero::before { content: ""; z-index: 0; background: linear-gradient(90deg, #171717f5 12%, #171717d9 43%, #17171749); }
.gfc-hero .bersoft-container { position: relative; }
.gfc-hero h1 { color: inherit; font-size: clamp(34px, 5vw, 68px); line-height: 1.03; max-width: 16ch; margin: 0; text-wrap: balance; }
.gfc-hero p { max-width: 48ch; line-height: 1.65; margin-block: 16px 24px; }
.gfc-hero a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; color: white; background: #d90067; border-radius: 5px; text-decoration: none; }
.gfc-hero a:hover { background: #b90057; }
.gfc-grid { padding-block: clamp(34px, 6vw, 80px); scroll-margin-top: 100px; }
.gfc-editorial-card a { box-sizing: border-box; }
.gfc-editorial-card > a > img { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gfc a:focus-visible { outline: 2px solid #d90067; outline-offset: 3px; }
@media (min-width: 768px) {
 .gfc-editorial-grid:not(:has(> :nth-child(4))) > :not(.is-featured) { grid-column: span 2; }
}
@media (max-width: 767px) {
 .gfc-hero::before { background: linear-gradient(90deg, #171717ed, #17171785); }
 .gfc-editorial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
 .gfc-editorial-card.is-featured { grid-area: 1 / 1 / 2 / -1; }
 .gfc-editorial-card a { min-height: 126px; padding: 10px; }
 .gfc-editorial-card.is-featured a { min-height: 205px; }
 .gfc-group { margin-bottom: 38px; }
}
@media (max-width: 345px) { .gfc-editorial-grid { grid-template-columns: minmax(0,1fr); } }
@media (prefers-reduced-motion: reduce) { .gfc-editorial-card > a > img { transition: none; } }
