/* ═══════════════════════════════════════════════════════════════════════
   category.css — public categories list (/category).

   Block: .gg-cl  (Category List)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Body / page wrapper ─────────────────────────────────────────────── */
.gg-cl-body{ background: var(--gg-off-white, #FAFAFA); }
.gg-cl-body::before{
	content: ""; position: fixed; inset: 0;
	background:
		radial-gradient(1100px 460px at 8% -8%, rgba(237,41,56,.06), transparent 70%),
		radial-gradient(900px 420px at 110% 12%, rgba(237,41,56,.04), transparent 75%);
	pointer-events: none; z-index: 0;
}
.gg-cl{ width: 100%; padding: 22px 28px 32px; position: relative; z-index: 1; }
@media (max-width: 700px){ .gg-cl{ padding: 14px 14px 48px; } }

/* ── Atoms ───────────────────────────────────────────────────────────── */
.gg-cl__eyebrow{
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-2xs, 11px);
	font-weight: 700;
	color: var(--gg-red, #ED2938);
	letter-spacing: .14em; text-transform: uppercase;
	margin-bottom: 6px;
}
.gg-cl__eyebrow i{ font-size: 13px; }
.gg-cl__eyebrow--light{ color: rgba(255,255,255,.82); }
.gg-cl__eyebrow--light i{ color: #fff; }

.gg-cl__btn{
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px;
	border-radius: 12px;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-xs, 12px);
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
	transition: all 200ms ease;
}
.gg-cl__btn i{ transition: transform 200ms ease; }
.gg-cl__btn--white{
	background: #fff;
	color: var(--gg-red-deep, #B91C28);
	box-shadow: 0 10px 26px -10px rgba(0,0,0,.4);
}
.gg-cl__btn--white:hover{ transform: translateY(-1px); }
.gg-cl__btn--white:hover i{ transform: translateX(2px); }

/* ── Breadcrumb ──────────────────────────────────────────────────────── */
.gg-cl__crumbs{ margin-bottom: clamp(14px, 2vw, 20px); }
.gg-cl__crumbs-list{
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-xs, 12px);
	font-weight: 600;
	color: var(--gg-gray-500, #6B7280);
}
.gg-cl__crumbs-list li{ display: inline-flex; align-items: center; gap: 8px; }
.gg-cl__crumbs-list li:not(:last-child)::after{ content: "/"; color: var(--gg-gray-300, #D1D5DB); font-weight: 500; }
.gg-cl__crumbs-list a{ color: var(--gg-gray-500, #6B7280); transition: color 180ms ease; }
.gg-cl__crumbs-list a:hover{ color: var(--gg-red-deep, #B91C28); }
.gg-cl__crumbs-list span[aria-current]{ color: var(--gg-gray-800, #1F2937); }

/* ── Compact header ──────────────────────────────────────────────────── */
.gg-cl__head{
	position: relative;
	overflow: hidden;
	border-radius: var(--gg-r-xl, 16px);
	padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 28px);
	margin-bottom: clamp(14px, 2vw, 20px);
	background:
		radial-gradient(ellipse at top left, rgba(237,41,56,.08) 0%, transparent 55%),
		radial-gradient(ellipse at bottom right, rgba(237,41,56,.05) 0%, transparent 55%),
		var(--gg-white, #fff);
	border: 1px solid var(--gg-gray-200, #E5E7EB);
	box-shadow: 0 1px 2px rgba(237,41,56,.04), 0 4px 14px rgba(237,41,56,.05);
}
.gg-cl__head-glow{
	position: absolute; top: -60px; right: -50px;
	width: 220px; height: 220px; border-radius: 50%;
	background: radial-gradient(circle, var(--gg-red-glow, rgba(237,41,56,.18)), transparent 60%);
	filter: blur(20px); pointer-events: none;
}
.gg-cl__head-inner{
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	gap: clamp(20px, 3vw, 40px); flex-wrap: wrap;
}
.gg-cl__head-text{ min-width: 0; flex: 1 1 380px; }
.gg-cl__head-title{
	font-family: var(--gg-font-head);
	font-size: clamp(var(--gg-text-xl, 22px), 2.4vw, var(--gg-text-3xl, 30px));
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.025em;
	color: var(--gg-black, #0A0A0A);
	margin: 0 0 6px;
}
.gg-cl__head-accent{ color: var(--gg-red, #ED2938); }
.gg-cl__head-sub{
	font-family: var(--gg-font-body);
	font-size: var(--gg-text-sm, 13px);
	color: var(--gg-gray-600, #4B5563);
	line-height: 1.55;
	margin: 0;
	max-width: 540px;
}
.gg-cl__head-stats{
	list-style: none; padding: 0; margin: 0;
	display: flex; flex-wrap: wrap; align-items: center;
	gap: 10px 22px;
}
.gg-cl__head-stats li{ display: inline-flex; align-items: center; gap: 10px; }
.gg-cl__head-stat-ico{
	display: inline-grid; place-items: center;
	width: 36px; height: 36px;
	border-radius: 10px;
	background: var(--gg-red-light, #FFF1F2);
	color: var(--gg-red, #ED2938);
	font-size: 16px;
}
.gg-cl__head-stats span:nth-child(2){ display: inline-flex; flex-direction: column; line-height: 1.1; }
.gg-cl__head-stats strong{
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-lg, 18px);
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.02em;
}
.gg-cl__head-stats small{
	font-family: var(--gg-font-head);
	font-size: 10px;
	color: var(--gg-gray-500, #6B7280);
	letter-spacing: .04em; text-transform: uppercase;
	font-weight: 600;
}
@media (max-width: 860px){
	.gg-cl__head-inner{ align-items: flex-start; }
	.gg-cl__head-stats{
		width: 100%; gap: 14px 20px; margin-top: 14px; padding-top: 14px;
		border-top: 1px dashed var(--gg-gray-200, #E5E7EB);
	}
}

/* ── Category cards grid ─────────────────────────────────────────────── */
.gg-cl__grid{
	list-style: none; padding: 0; margin: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 20px);
}
@media (max-width: 1200px){ .gg-cl__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .gg-cl__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .gg-cl__grid{ grid-template-columns: 1fr; } }

.gg-cl__card{
	position: relative;
	display: flex; flex-direction: column;
	background: var(--gg-white, #fff);
	border: 1px solid var(--gg-gray-200, #E5E7EB);
	border-radius: 18px;
	overflow: hidden;
	color: inherit;
	box-shadow: 0 1px 2px rgba(15,23,42,.04);
	transition: transform 320ms cubic-bezier(.16,1,.3,1), box-shadow 320ms ease;
}
.gg-cl__card::after{
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
	background: linear-gradient(90deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	transform: scaleX(0); transform-origin: left;
	transition: transform 380ms cubic-bezier(.16,1,.3,1);
	z-index: 3;
}
.gg-cl__card:hover{
	transform: translateY(-4px);
	box-shadow: 0 1px 2px rgba(237,41,56,.06), 0 22px 38px -18px rgba(237,41,56,.22);
}
.gg-cl__card:hover::after{ transform: scaleX(1); }

.gg-cl__card-media{
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--gg-gray-100, #F3F4F6);
}
.gg-cl__card-media img{
	width: 100%; height: 100%; object-fit: cover;
	transform: scale(1.03);
	transition: transform 900ms cubic-bezier(.16,1,.3,1), filter 320ms ease;
}
.gg-cl__card:hover .gg-cl__card-media img{ transform: scale(1.08); filter: saturate(1.06); }
.gg-cl__card-veil{
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(10,10,10,.18) 0%, rgba(10,10,10,.36) 100%),
		linear-gradient(135deg, rgba(237,41,56,.15) 0%, rgba(0,0,0,0) 50%);
}
.gg-cl__card-ico{
	position: absolute; bottom: 12px; left: 12px;
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff;
	font-size: 22px;
	box-shadow: 0 8px 18px -8px rgba(237,41,56,.55);
}

.gg-cl__card-body{
	padding: 16px 18px 18px;
	display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.gg-cl__card-title{
	margin: 0;
	font-family: var(--gg-font-head);
	font-size: var(--gg-text-lg, 18px);
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.02em;
}
.gg-cl__card-short{
	margin: 0;
	font-family: var(--gg-font-body);
	font-size: var(--gg-text-sm, 13px);
	color: var(--gg-gray-600, #4B5563);
	line-height: 1.5;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.gg-cl__card-stats{
	list-style: none; padding: 10px 0 0; margin: 4px 0 0;
	border-top: 1px dashed var(--gg-gray-200, #E5E7EB);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
}
.gg-cl__card-stats li{ display: flex; flex-direction: column; gap: 1px; line-height: 1.1; min-width: 0; }
.gg-cl__card-stats strong{
	font-family: var(--gg-font-head);
	font-size: 13px;
	font-weight: 800;
	color: var(--gg-black, #0A0A0A);
	letter-spacing: -.01em;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gg-cl__card-stats span{
	font-family: var(--gg-font-head);
	font-size: 9px;
	color: var(--gg-gray-500, #6B7280);
	letter-spacing: .06em; text-transform: uppercase;
	font-weight: 600;
}

.gg-cl__card-cta{
	margin-top: auto;
	display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--gg-gray-50, #F9FAFB);
	border: 1px solid var(--gg-gray-200, #E5E7EB);
	font-family: var(--gg-font-head);
	font-size: 11px; font-weight: 800;
	color: var(--gg-gray-700, #374151);
	letter-spacing: .04em; text-transform: uppercase;
	transition: all 220ms ease;
}
.gg-cl__card-cta i{ font-size: 12px; transition: transform 220ms ease; }
.gg-cl__card:hover .gg-cl__card-cta{
	background: linear-gradient(135deg, var(--gg-red, #ED2938), var(--gg-red-deep, #B91C28));
	color: #fff; border-color: transparent;
}
.gg-cl__card:hover .gg-cl__card-cta i{ transform: translateX(2px); }

/* ── Bottom CTA ──────────────────────────────────────────────────────── */
.gg-cl__cta{
	position: relative;
	overflow: hidden;
	margin-top: clamp(28px, 4vw, 48px);
	border-radius: var(--gg-r-xl, 16px);
	background: linear-gradient(135deg, var(--gg-black, #0A0A0A), var(--gg-black-soft, #141414));
}
.gg-cl__cta-glow{
	position: absolute; inset: 0;
	background:
		radial-gradient(600px 300px at 12% 120%, rgba(237,41,56,.4), transparent 70%),
		radial-gradient(500px 260px at 95% -20%, rgba(237,41,56,.28), transparent 70%);
	pointer-events: none;
}
.gg-cl__cta-inner{
	position: relative;
	display: flex; align-items: center; justify-content: space-between;
	gap: clamp(20px, 4vw, 48px); flex-wrap: wrap;
	padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px);
}
.gg-cl__cta-title{
	font-family: var(--gg-font-head);
	font-size: clamp(var(--gg-text-xl, 22px), 2.6vw, var(--gg-text-2xl, 28px));
	font-weight: 800; letter-spacing: -.02em;
	color: #fff; margin: 0 0 8px; line-height: 1.15;
}
.gg-cl__cta-sub{
	font-family: var(--gg-font-body);
	font-size: var(--gg-text-base, 15px);
	color: rgba(255,255,255,.72);
	margin: 0; max-width: 520px;
}

/* ── Reduced motion ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce){
	.gg-cl__card, .gg-cl__card-media img, .gg-cl__card-cta i, .gg-cl__card::after{ transition: none !important; animation: none !important; }
}
