.pom-hcg, [data-pom-hcg-control] { box-sizing: border-box; }
.pom-hcg *, [data-pom-hcg-control] * { box-sizing: border-box; }
.pom-hcg { width: 100%; color: #111; }
.pom-hcg-categories { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.pom-hcg-filter { appearance: none; border: 0; border-radius: 12px; background: #f9b590; color: #111; padding: 18px 20px; font: inherit; cursor: pointer; line-height: 1.4; transition: background-color .15s, color .15s; }
.pom-hcg-filter.is-active, .pom-hcg-filter:hover { background: #fa803c; color: #fff; }
.pom-hcg-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 24px; }
.pom-hcg-day { width: 300px; max-width: 100%; }
.pom-hcg-select { display: block; width: 100%; min-height: 58px; padding: 16px 20px; border: 1px solid transparent; border-radius: 4px; background-color: #fff; color: #5d6470; font: inherit; cursor: pointer; }
.pom-hcg-label { display: block; margin-bottom: 10px; }
.pom-hcg-search { display: flex; align-items: center; gap: 12px; flex: 0 1 55%; width: 100%; min-width: 0; margin: 0; }
.pom-hcg-search input[type="search"] { width: 100%; min-width: 0; padding: 22px 24px; border: 1px solid transparent; border-radius: 28px; background: #fff; color: #111; font: inherit; }
.pom-hcg-search input::placeholder { color: #777; opacity: 1; }
.pom-hcg-search-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; padding: 12px 16px; border: 0; border-radius: 6px; background: #000; color: #fff; font: inherit; cursor: pointer; line-height: 1.2; }
.pom-hcg-search-button:hover { background: #333; color: #fff; }
.pom-hcg-search-button svg { flex-shrink: 0; }
.pom-hcg-count { margin: 0 0 16px; color: #5d6470; font-size: .9em; }
.pom-hcg-count[hidden] { display: none; }
.pom-hcg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.pom-hcg-card { min-width: 0; overflow: hidden; background: #fff; border-radius: 28px; box-shadow: 0 3px 28px rgb(0 0 0 / 9%); transition: transform .2s, background-color .2s; }
.pom-hcg-card-link { display: flex; flex-direction: column; height: 100%; min-height: 340px; padding: 24px; text-align: center; text-decoration: none; color: inherit; }
.pom-hcg-card-link:hover, .pom-hcg-card-link:visited { color: inherit; text-decoration: none; }
.pom-hcg-image { display: flex; align-items: center; justify-content: center; height: 220px; width: 100%; flex-shrink: 0; overflow: hidden; }
.pom-hcg-image img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; transition: transform .2s; }
.pom-hcg-image.is-empty { background: linear-gradient(135deg, #faf8f7, #f3f0ee); border-radius: 12px; }
.pom-hcg-title { color: #111; font-size: 24px; font-weight: 400; line-height: 1.6; margin: 24px 0 0; overflow-wrap: anywhere; }
.pom-hcg-excerpt { margin: 16px 0 0; font-size: 16px; line-height: 1.6; }
.pom-hcg-card-button { display: inline-block; align-self: center; margin-top: 20px; background: #fa803c; color: #fff; border-radius: 8px; padding: 10px 18px; }
.pom-hcg-results { transition: opacity .15s; }
.pom-hcg.is-loading .pom-hcg-results { opacity: .55; }
.pom-hcg-empty { padding: 32px 0; margin: 0; }
.pom-hcg-status:not(.pom-hcg-sr) { padding: 12px 16px; color: #8a3215; background: #fff1e8; border-radius: 8px; }
.pom-hcg-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 32px; }
.pom-hcg-page { border: 0; border-radius: 8px; background: #f9b590; color: #111; padding: 10px 16px; font: inherit; cursor: pointer; }
.pom-hcg-page.is-active, .pom-hcg-page:hover { background: #fa803c; color: #fff; }
.pom-hcg :focus-visible, [data-pom-hcg-control] :focus-visible { outline: 3px solid #1665ad; outline-offset: 3px; }
.pom-hcg-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 1024px) {
    .pom-hcg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pom-hcg-toolbar { gap: 20px; }
    .pom-hcg-search { flex: 1 1 50%; }
}
@media (max-width: 767px) {
    .pom-hcg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .pom-hcg-card { position: relative; aspect-ratio: 1 / 1; min-height: 0; border-radius: 18px; }
    .pom-hcg-card-link { position: absolute; inset: 0; min-height: 0; padding: 12px; }
    .pom-hcg-image { flex: 1 1 0; min-height: 0; height: auto; }
    .pom-hcg-title { flex: 0 0 auto; font-size: clamp(12px, 3.5vw, 16px); line-height: 1.3; margin: 8px 0 0; max-height: 3.9em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
    .pom-hcg-excerpt { flex: 0 0 auto; font-size: 12px; line-height: 1.3; margin-top: 6px; max-height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .pom-hcg-card-button { flex: 0 0 auto; font-size: 12px; line-height: 1.2; padding: 6px 8px; margin-top: 6px; }
    .pom-hcg-categories { gap: 10px; }
    .pom-hcg-filter { padding: 12px 14px; }
    .pom-hcg-toolbar { flex-direction: column; align-items: stretch; }
    .pom-hcg-toolbar .pom-hcg-day, .pom-hcg-search { width: 100%; flex-basis: auto; }
    .pom-hcg-search input[type="search"] { padding: 16px; }
    .pom-hcg-search-button { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .pom-hcg *, [data-pom-hcg-control] * { transition: none !important; transform: none !important; }
}
