/* Scoped styles: BeTheme and WooCommerce elements outside .grmh are untouched. */
.grmh{
  --grmh-accent:var(--mfn-color-theme,#166e83);
  --grmh-accent-dark:#144557;
  --grmh-ink:#21333c;
  --grmh-muted:#63727c;
  --grmh-line:#dce6e9;
  --grmh-paper:#fff;
  --grmh-pale:#f5f9fa;
  font-family:inherit;
  color:var(--grmh-ink);
  width:100%;max-width:1220px;margin:0 auto 60px;
  box-sizing:border-box;
}
.grmh *{box-sizing:border-box}
.grmh [hidden]{display:none!important}
.grmh .grmh-sr-only{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}
.grmh-hero{padding:12px 0 26px;border-bottom:1px solid var(--grmh-line);margin-bottom:27px}
.grmh-hero .grmh-eyebrow{color:var(--grmh-accent);display:block;font-size:11px;letter-spacing:.15em;font-weight:700;line-height:1.7;margin:0 0 12px}
.grmh .grmh-hero h2{font-family:inherit!important;font-size:clamp(29px,4vw,44px)!important;line-height:1.15!important;font-weight:650!important;color:var(--grmh-ink)!important;margin:0 0 12px!important;letter-spacing:-.025em}
.grmh-hero p{max-width:780px;font-size:15px;line-height:1.75;color:var(--grmh-muted);margin:0}
.grmh-filter-panel{display:grid;grid-template-columns:minmax(230px,1.35fr) minmax(310px,1.45fr);gap:13px 20px;align-items:end;padding:17px;background:var(--grmh-pale);border:1px solid var(--grmh-line);border-radius:8px}
.grmh-search-wrap{position:relative;display:block!important;margin:0!important}
.grmh-search-symbol{position:absolute;top:50%;left:14px;transform:translateY(-50%);font-size:25px;line-height:1;color:var(--grmh-muted);pointer-events:none}
.grmh input.grmh-search{display:block!important;width:100%!important;height:47px!important;border:1px solid var(--grmh-line)!important;background:#fff!important;box-shadow:none!important;border-radius:5px!important;padding:10px 13px 10px 42px!important;color:var(--grmh-ink)!important;font:inherit!important;font-size:14px!important;margin:0!important;outline-offset:2px}
.grmh input.grmh-search:focus,.grmh select:focus,.grmh button:focus-visible,.grmh a:focus-visible{outline:2px solid var(--grmh-accent);outline-offset:3px}
.grmh-select-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.grmh-select-row label{display:block!important;margin:0!important}
.grmh-select-row label>span{display:block;font-weight:600;font-size:12px;line-height:1.3;color:var(--grmh-muted);margin-bottom:6px}
.grmh select.grmh-brand,.grmh select.grmh-category{width:100%!important;min-width:0!important;height:47px!important;background:#fff!important;border:1px solid var(--grmh-line)!important;color:var(--grmh-ink)!important;border-radius:5px!important;font-family:inherit!important;font-size:14px!important;padding:8px 34px 8px 12px!important;margin:0!important;box-shadow:none!important}
.grmh-types{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}
.grmh button.grmh-type{font-family:inherit!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:33px!important;padding:7px 15px!important;margin:0!important;background:#fff!important;border:1px solid var(--grmh-line)!important;color:var(--grmh-muted)!important;border-radius:4px!important;font-size:12px!important;line-height:1.25!important;font-weight:600!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer}
.grmh button.grmh-type.is-active{border-color:var(--grmh-accent)!important;color:var(--grmh-accent)!important;background:#eaf4f6!important}
.grmh-count{font-size:13px;color:var(--grmh-muted);margin:21px 0 14px!important}
.grmh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.grmh-card{display:flex;flex-direction:column;min-width:0;background:var(--grmh-paper);border:1px solid var(--grmh-line);border-radius:7px;overflow:hidden;box-shadow:0 4px 18px rgba(16,48,64,.035);transition:box-shadow .2s,transform .2s;scroll-margin-top:95px}
.grmh-card:hover{box-shadow:0 8px 25px rgba(16,48,64,.09);transform:translateY(-2px)}
.grmh-card:target{outline:2px solid var(--grmh-accent);outline-offset:2px}
.grmh-card-cover{height:auto;aspect-ratio:1.52;position:relative;background:#eff4f5;overflow:hidden}
.grmh-card-cover img.grmh-cover-image{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:10px!important;background:#f4f7f7!important;border:0!important}
.grmh-cover-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;background:linear-gradient(145deg,#ecf3f4,#dae6e9);color:var(--grmh-accent-dark)}
.grmh-cover-placeholder>span{font-size:50px;line-height:1}.grmh-cover-placeholder>small{font-size:10px;letter-spacing:.13em;font-weight:700}
.grmh-cover-count{position:absolute;right:12px;bottom:11px;color:#263d4b;background:rgba(255,255,255,.95);font-size:11px;font-weight:700;padding:5px 9px;border-radius:4px;line-height:1.4}
.grmh-card-content{display:flex;flex:1;flex-direction:column;padding:19px 19px 20px}
.grmh-card .grmh-meta{font-size:11px;font-weight:650;letter-spacing:.025em;text-transform:uppercase;color:var(--grmh-accent);line-height:1.5;margin:0 0 8px}
.grmh .grmh-card h3{font-family:inherit!important;font-size:19px!important;font-weight:650!important;line-height:1.35!important;color:var(--grmh-ink)!important;margin:0 0 15px!important;letter-spacing:-.01em}
.grmh-kinds{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.grmh-kinds span{background:var(--grmh-pale);border:1px solid var(--grmh-line);border-radius:3px;color:var(--grmh-muted);padding:4px 7px;font-size:11px;line-height:1.3}
.grmh-card-actions{display:flex;gap:8px;margin-top:auto;margin-bottom:15px;flex-wrap:wrap}
.grmh .grmh-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;flex:1 1 auto;padding:10px 12px!important;margin:0!important;border-radius:4px!important;text-align:center!important;text-decoration:none!important;box-shadow:none!important;font:inherit!important;font-size:12px!important;line-height:1.3!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;cursor:pointer!important;transition:background .15s,color .15s}
.grmh .grmh-btn-primary{background:var(--grmh-accent)!important;border:1px solid var(--grmh-accent)!important;color:#fff!important}
.grmh .grmh-btn-primary:hover{filter:brightness(.89)}
.grmh .grmh-btn-secondary{background:#fff!important;border:1px solid var(--grmh-line)!important;color:var(--grmh-ink)!important}
.grmh .grmh-btn-secondary:hover{background:var(--grmh-pale)!important}
.grmh-details{border-top:1px solid var(--grmh-line);margin-top:0;padding-top:11px}
.grmh-details summary{list-style:none;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:650;color:var(--grmh-accent);cursor:pointer;line-height:1.5}
.grmh-details summary::-webkit-details-marker{display:none}.grmh-details summary span{font-size:17px}.grmh-details[open] summary span{transform:rotate(180deg)}
.grmh-files{list-style:none!important;padding:7px 0 0!important;margin:0!important}
.grmh-files li{list-style:none!important;display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid #edf1f3;padding:9px 0;margin:0!important;min-width:0}
.grmh-file-info{min-width:0;display:flex;flex-direction:column;gap:4px}
.grmh-file-name{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:205px;color:var(--grmh-ink);font-size:12px;font-weight:550}
.grmh-file-info small{font-size:10px;color:var(--grmh-muted)}
.grmh-file-actions{display:flex;gap:11px;align-items:center;flex-shrink:0}.grmh-files a{white-space:nowrap;text-decoration:none!important;font-size:11px;font-weight:700;color:var(--grmh-accent)!important}
.grmh-caption{border-top:1px solid var(--grmh-line);margin-top:14px;padding-top:14px}
.grmh-caption-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:7px}
.grmh-caption-header strong{font-size:12px;color:var(--grmh-ink)}
.grmh button.grmh-copy{font:inherit!important;font-size:11px!important;line-height:1.4!important;color:var(--grmh-accent)!important;background:transparent!important;padding:2px 0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;cursor:pointer!important;text-transform:none!important}
.grmh-caption p{font-size:12px;line-height:1.6;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:var(--grmh-muted);margin:0!important}
.grmh-empty{padding:40px 20px;text-align:center;color:var(--grmh-muted);background:var(--grmh-pale);border-radius:5px;margin-top:18px!important}
.grmh-hint{font-size:12px;line-height:1.65;color:var(--grmh-muted);margin:22px 0 0!important}
.grmh-toast{position:fixed;z-index:99999;right:22px;bottom:24px;max-width:min(380px,calc(100vw - 30px));padding:13px 18px;background:#203c4a;color:#fff;border-radius:5px;box-shadow:0 9px 30px rgba(0,0,0,.22);font-size:13px}
@media(max-width:1100px){.grmh-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.grmh{margin-bottom:35px}.grmh-hero{padding-top:0}.grmh-filter-panel{grid-template-columns:1fr;padding:13px}.grmh-select-row{grid-template-columns:1fr 1fr}.grmh-types{grid-column:auto}.grmh-grid{grid-template-columns:1fr;gap:17px}.grmh-card-cover{aspect-ratio:1.8}.grmh-card-content{padding:16px}.grmh-card .grmh-card-actions{flex-wrap:nowrap}}
@media(max-width:390px){.grmh-select-row{grid-template-columns:1fr}.grmh .grmh-btn{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.grmh-card{transition:none}.grmh-card:hover{transform:none}}
