/* Catalog and category pages only; editor styles are kept separate. */
.gct.gct-catalog { --gct-accent: #2563eb; --gct-ink: #1e293b; max-width: 1240px; padding-top: 24px; color: var(--gct-ink); }
.gct-catalog *, .gct-catalog *::before, .gct-catalog *::after { box-sizing: border-box; }
.gct-catalog .gct-catalog-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 28px; color: #64748b; font-size: 13px; }
.gct-catalog .gct-catalog-breadcrumbs a { color: inherit; text-decoration: none; }
.gct-catalog .gct-catalog-breadcrumbs a:hover { color: var(--gct-accent); text-decoration: underline; }
.gct-catalog .gct-catalog-header { display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; gap: 40px; padding: 44px 48px; border: 1px solid #e2ebfc; border-radius: 24px; background: linear-gradient(110deg, #f1f6ff, #f8faff); }
.gct-catalog .gct-catalog-eyebrow { margin: 0 0 16px; color: #2563eb; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gct-catalog .gct-catalog-header h1 { margin: 0 0 20px; color: #17243b; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.15; letter-spacing: -.035em; overflow-wrap: anywhere; }
.gct-catalog .gct-catalog-intro { max-width: 630px; margin: 0; color: #53647c; font-size: 17px; line-height: 1.7; }
.gct-catalog .gct-catalog-intro p { margin: 0 0 12px; }
.gct-catalog .gct-catalog-intro p:last-child { margin-bottom: 0; }
.gct-catalog .gct-catalog-art { display: grid; place-items: center; color: #2563eb; }
.gct-catalog .gct-art-back { fill: #dce8ff; stroke: #a8c4fc; }
.gct-catalog .gct-art-front { fill: #fff; }
.gct-catalog .gct-catalog-list { margin-top: 42px; }
.gct-catalog .gct-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.gct-catalog .gct-catalog-toolbar h2 { margin: 0; color: var(--gct-ink); font-size: 25px; line-height: 1.3; letter-spacing: -.025em; }
.gct-catalog .gct-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.gct-catalog .gct-categories a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border: 1px solid #e2e8f0; border-radius: 30px; background: #fff; color: #536174; font-size: 14px; line-height: 1.5; text-decoration: none; }
.gct-catalog .gct-categories a[aria-current="page"] { border-color: var(--gct-accent); background: var(--gct-accent); color: #fff; font-weight: 600; }
.gct-catalog .gct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gct-catalog .gct-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; box-shadow: 0 4px 16px #17243b04; transition: border-color .18s ease, box-shadow .18s ease; }
.gct-catalog .gct-card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.gct-catalog .gct-card-icon { display: grid; place-items: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px; background: #eff6ff; color: var(--gct-accent); }
.gct-catalog .gct-card-category { color: #64748b; font-size: 13px; overflow-wrap: anywhere; }
.gct-catalog .gct-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.gct-catalog .gct-card-link { color: var(--gct-ink); text-decoration: none; }
.gct-catalog .gct-card-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.gct-catalog .gct-card-description { margin: 0 0 28px; color: #64748b; font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.gct-catalog .gct-card-action { display: flex; align-items: center; gap: 7px; margin-top: auto; color: var(--gct-accent); font-size: 14px; font-weight: 600; line-height: 1.5; }
.gct-catalog .gct-card-action svg { flex-shrink: 0; }
.gct-catalog .gct-card:focus-within { border-color: var(--gct-accent); box-shadow: 0 0 0 3px #dbeafe; }
.gct-catalog :focus-visible { outline: 3px solid var(--gct-accent); outline-offset: 4px; }
.gct-catalog .gct-card-link:focus-visible { outline: none; }
.gct-catalog .gct-card-link:focus-visible::after { outline: 3px solid var(--gct-accent); outline-offset: 4px; }
.gct-catalog .gct-empty { padding: 40px; border: 1px dashed #cbd5e1; border-radius: 20px; background: #f8fafc; }
.gct-catalog .gct-empty h3 { margin: 0 0 12px; font-size: 23px; }
.gct-catalog .gct-empty p { color: #64748b; }
.gct-catalog .gct-empty a { display: inline-block; margin-top: 16px; color: var(--gct-accent); }
.gct-catalog .navigation.pagination { margin-top: 32px; }
@media (hover: hover) {
    .gct-catalog .gct-card:hover { border-color: #a8c4fc; box-shadow: 0 8px 28px #1e40af0c; }
    .gct-catalog .gct-card:hover .gct-card-link { color: var(--gct-accent); }
    .gct-catalog .gct-categories a:not([aria-current]):hover { border-color: #a8c4fc; background: #eff6ff; color: var(--gct-accent); }
}
@media (max-width: 800px) {
    .gct-catalog .gct-catalog-header { grid-template-columns: minmax(0, 1fr) 140px; gap: 24px; padding: 32px; }
    .gct-catalog .gct-catalog-art svg { width: 140px; height: auto; }
    .gct-catalog .gct-card { padding: 24px; }
}
@media (max-width: 600px) {
    .gct-catalog .gct-catalog-breadcrumbs { margin-bottom: 20px; }
    .gct-catalog .gct-catalog-header { grid-template-columns: minmax(0, 1fr); padding: 28px 24px; border-radius: 18px; }
    .gct-catalog .gct-catalog-art { display: none; }
    .gct-catalog .gct-catalog-header h1 { font-size: 32px; }
    .gct-catalog .gct-catalog-intro { font-size: 16px; }
    .gct-catalog .gct-catalog-list { margin-top: 30px; }
    .gct-catalog .gct-catalog-toolbar { gap: 16px; }
    .gct-catalog .gct-catalog-toolbar h2 { width: 100%; font-size: 23px; }
    .gct-catalog .gct-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gct-catalog .gct-card h3 { font-size: 21px; }
    .gct-catalog .gct-empty { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .gct-catalog .gct-card { transition: none; } }
