/* Illustrated catalog; wallpaper and page width belong to the shared layout. */
.page-home .section-heading.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0; padding: 32px 0 24px; }
.page-home .catalog-heading>div { width: auto; min-width: 0; }
.page-home .catalog-heading .section-eyebrow { display: block; margin-bottom: 10px; color: #7897ab; font-size: 13px; font-weight: 900; letter-spacing: .5px; }
.page-home .catalog-heading h2 { margin: 0 0 10px; color: #234762; font-size: clamp(25px, 2.6vw, 32px); font-weight: 950; letter-spacing: -.8px; line-height: 1.2; }
.page-home .catalog-gradient { color: #477cff; background: linear-gradient(100deg, #368aff, #855bfa 42%, #ff4b8d 82%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-home .catalog-heading .count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 35px; min-height: 35px; margin-left: 5px; padding: 4px 9px; border: 0; border-radius: 11px; background: #e4f5ff; color: #009cde; font-size: 17px; font-weight: 950; vertical-align: middle; letter-spacing: 0; }
.page-home .catalog-heading p { max-width: none; margin: 0; color: #607d96; font-size: 14px; line-height: 1.65; }
.page-home .catalog-heading>.text-link { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 10px; min-height: 44px; margin: 0; padding: 10px 16px; border: 1px solid #dcefff; border-radius: 28px; background: #f0faff; color: #009bdc; font-size: 14px; font-weight: 900; }
.page-home .catalog-heading>.text-link:hover { background: #e0f4ff; }
.page-home #generator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 14px; align-items: stretch; padding-bottom: 10px; }
.page-home #generator-grid .generator-card { --section-color: #009cde; --section-light: #effaff; --section-tint: #bceaff; --section-border: #d9f2ff; position: relative; display: flex; flex-direction: column; min-width: 0; aspect-ratio: auto; padding: 0; overflow: hidden; border: 1px solid var(--section-border); border-radius: 24px; background: var(--section-light); box-shadow: 0 6px 0 var(--section-border), 0 10px 20px #315c7810; animation: none; transition: transform .2s, box-shadow .2s; }
.page-home #generator-grid .theme-peach { --section-color: #f65c90; --section-light: #fff6f3; --section-tint: #ffd5df; --section-border: #ffede5; }
.page-home #generator-grid .theme-mint { --section-color: #00af8a; --section-light: #effcf6; --section-tint: #b0f0d8; --section-border: #dcf8e9; }
.page-home #generator-grid .theme-purple { --section-color: #9460ef; --section-light: #f7f3ff; --section-tint: #e1d0ff; --section-border: #eee6ff; }
.page-home #generator-grid .theme-pink { --section-color: #e34b98; --section-light: #fff1f8; --section-tint: #ffd0e8; --section-border: #ffe3f2; }
.page-home #generator-grid .generator-card:hover,
.page-home #generator-grid .generator-card:focus-within { transform: translateY(-4px); box-shadow: 0 7px 0 var(--section-border), 0 16px 26px #315c781a; }
.page-home #generator-grid .card-image { position: relative; display: block; flex-shrink: 0; inset: auto; width: 100%; height: auto; aspect-ratio: 1.12; border-radius: 0; overflow: hidden; }
.page-home #generator-grid .card-image .atlas { width: 100%; height: 100%; transition: transform .35s; }
.page-home #generator-grid .generator-card:hover .atlas { transform: scale(1.025); }
.page-home #generator-grid .card-content { position: relative; inset: auto; z-index: 1; display: grid; flex: 1; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: start; align-items: start; gap: 7px 9px; min-height: 158px; margin-top: -24px; padding: 20px 13px 14px; border: 1px solid #ffffffdb; border-radius: 28px 33px 22px 22px; background: linear-gradient(135deg, #fffffffa, var(--section-light)); box-shadow: none; }
.page-home #generator-grid .catalog-icon { display: block; grid-column: 1; grid-row: 1 / 3; width: 32px; height: 38px; object-fit: contain; filter: drop-shadow(0 3px 2px #315c7810); }
.page-home #generator-grid .card-content h3 { grid-column: 2; grid-row: 1; min-height: 0; margin: 0; color: #153b60; font-size: 16px; font-weight: 950; letter-spacing: -.4px; line-height: 1.3; overflow-wrap: normal; }
.page-home #generator-grid .card-content h3 a { display: block; min-height: 0; }
.page-home #generator-grid .card-content p { display: block; grid-column: 2; grid-row: 2; min-height: 0; max-height: none; margin: 0; opacity: 1; overflow: visible; color: #607b95; font-size: 12px; line-height: 1.5; overflow-wrap: normal; }
.page-home #generator-grid .card-actions { display: grid; grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 3px; }
.page-home #generator-grid .card-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 0; min-height: 38px; padding: 7px 8px; overflow: visible; border: 1px solid var(--section-border); border-radius: 12px; background: #fff; color: var(--section-color); font-size: 11px; font-weight: 900; line-height: 1.2; white-space: nowrap; transition: background .2s, transform .2s; }
.page-home #generator-grid .card-create { border-color: var(--section-color); background: var(--section-color); color: #fff; }
.page-home #generator-grid .card-button svg { width: 16px; height: 16px; stroke-width: 2.2; }
.page-home #generator-grid .card-button:hover { transform: translateY(-1px); background: var(--section-tint); color: var(--section-color); }
.page-home #generator-grid .card-create:hover { background: var(--section-color); color: #fff; }
@media (min-width: 761px) and (max-width: 900px) {
    .page-home #generator-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .page-home .section-heading.catalog-heading { flex-wrap: wrap; gap: 14px; padding: 24px 0 20px; }
    .page-home .catalog-heading>div { flex: 1 1 100%; }
    .page-home .catalog-heading .section-eyebrow { font-size: 11px; }
    .page-home .catalog-heading h2 { font-size: 27px; }
    .page-home .catalog-heading p { max-width: none; font-size: 14px; }
    .page-home .catalog-heading>.text-link { font-size: 13px; padding: 9px 16px; }
    .page-home #generator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .page-home #generator-grid .card-content { padding: 18px 12px; }
    .page-home #generator-grid .card-content h3 { font-size: 17px; }
    .page-home #generator-grid .card-content p { font-size: 13px; }
}
@media (max-width: 479px) {
    .page-home #generator-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .page-home #generator-grid .card-image { aspect-ratio: 1.3; }
    .page-home #generator-grid .card-content { grid-template-columns: 44px minmax(0, 1fr); min-height: 174px; gap: 8px 13px; margin-top: -30px; padding: 22px 18px 17px; border-radius: 32px 38px 22px 22px; }
    .page-home #generator-grid .catalog-icon { width: 44px; height: 48px; }
    .page-home #generator-grid .card-content h3 { font-size: 21px; }
    .page-home #generator-grid .card-content p { font-size: 14px; }
    .page-home #generator-grid .card-actions { gap: 10px; margin-top: 5px; }
    .page-home #generator-grid .card-button { min-height: 44px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .page-home #generator-grid .generator-card,
    .page-home #generator-grid .atlas,
    .page-home #generator-grid .card-button { transition: none; }
}
