/* HOU Team Cards v0.2 - unified with HOU Taiwan Benefits visual language */
.hou-cards{--hc:#b8860b;--hc-ink:#1f2937;--hc-border:#e5e7eb;--hc-soft:#f8fafc;max-width:1320px;margin:16px auto 30px;color:#1f2937;font:inherit;line-height:1.6}.hou-cards *{box-sizing:border-box}
.hou-cards header{padding:20px 22px;margin:0 0 14px;background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid #e5e7eb;border-radius:16px;display:flex;justify-content:space-between;align-items:center;gap:18px}.hou-cards header h1{font-size:clamp(23px,2.6vw,30px);margin:0 0 6px;line-height:1.35}.hou-cards header p{margin:0;color:#64748b}.hou-cards header>span{background:#fff3c3;border:1px solid #e5c86c;padding:7px 12px;border-radius:999px;color:#775500;font-size:13px;white-space:nowrap;font-weight:800}
.hou-cards-search{display:grid;grid-template-columns:minmax(190px,250px) minmax(200px,1fr) auto;gap:12px;align-items:end;padding:15px 16px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin:14px 0}.hou-cards-search label{margin:0!important;font-size:13px;font-weight:800;color:#475569}.hou-cards-search select,.hou-cards-search input{display:block;width:100%;min-height:42px;margin-top:4px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#1f2937;font:inherit}.hou-cards .hou-card-btn,.hou-card-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:41px;padding:10px 15px;border:0;border-radius:9px;background:#c99c22;color:#241b04!important;font:inherit;font-size:14px;font-weight:850;text-decoration:none!important;cursor:pointer;box-shadow:0 2px 5px #0000000a}.hou-cards .hou-card-btn:hover,.hou-card-actions>a:hover{background:#e4b63b;color:#111!important}
.hou-cards-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;margin-top:14px}.hou-cards-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:15px;align-self:start}.hou-cards-sidebar>b{display:block;margin-bottom:11px;font-size:17px}.hou-cards-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.hou-occupation{display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid #eadfae;border-radius:9px;padding:8px 6px;min-height:40px;font-size:13px;font-weight:800;color:#795800!important;background:#fffaeb;text-decoration:none!important;overflow-wrap:anywhere}.hou-occupation.active{background:#1f2937!important;color:#fff!important;border-color:#1f2937}.hou-tag-0{background:#e0f2fe;color:#075985!important;border-color:#bae6fd}.hou-tag-1{background:#fce7f3;color:#9d174d!important;border-color:#fbcfe8}.hou-tag-2{background:#dcfce7;color:#166534!important;border-color:#bbf7d0}.hou-tag-3{background:#fef3c7;color:#92400e!important;border-color:#fde68a}.hou-tag-4{background:#ede9fe;color:#5b21b6!important;border-color:#ddd6fe}.hou-tag-5{background:#ffedd5;color:#9a3412!important;border-color:#fed7aa}.hou-tag-6{background:#ccfbf1;color:#115e59!important;border-color:#99f6e4}.hou-tag-7{background:#f1f5f9;color:#334155!important;border-color:#cbd5e1}
.hou-cards-results{min-width:0}.hou-cards-results-head{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 15px}.hou-cards-results-head strong{font-size:18px}.hou-cards-results-head span{color:#64748b;font-size:13px}.hou-cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:13px}.hou-card-tile{background:#fff;border:1px solid #e5e7eb;border-radius:15px;overflow:hidden;box-shadow:0 2px 5px rgba(15,23,42,.05)}.hou-card-tile>img,.hou-card-photo-empty{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;background:linear-gradient(135deg,#fff2cb,#f8fafc)}.hou-card-photo-empty{display:grid;place-content:center;color:#b8860b;font-size:40px;font-weight:900}.hou-card-body{padding:14px;display:flex;flex-direction:column;gap:5px}.hou-card-body h3{font-size:18px;margin:0}.hou-card-body p{margin:0;color:#475569}.hou-card-body small{color:#64748b}.hou-card-body .hou-card-btn{margin-top:8px}.hou-card-pro,.hou-card-free{display:inline-flex;align-items:center;align-self:flex-start;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:850}.hou-card-pro{background:#fff0be;color:#8a5900}.hou-card-free{background:#f1f5f9;color:#475569}
.hou-card-panel{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;margin:14px 0;position:relative}.hou-card-alert{background:#fff8e8;padding:12px;border:1px solid #f1deb3;border-radius:12px}.hou-card-detail-hero{display:flex;gap:24px;align-items:center}.hou-card-detail-hero img{width:50%;max-width:560px;aspect-ratio:16/9;object-fit:cover;border-radius:14px}.hou-card-detail-hero h2{font-size:26px;margin:0 0 8px}.hou-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.hou-cards .hou-card-panel label{display:block;font-weight:700;margin:12px 0}.hou-cards .hou-card-panel input:not([type=file]):not([type=checkbox]):not([type=hidden]),.hou-cards .hou-card-panel textarea{display:block;width:100%;font:inherit;padding:10px;border:1px solid #cbd5e1;border-radius:9px}.hou-card-pages{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.hou-card-pages a{padding:6px 12px;border-radius:8px;border:1px solid #e5e7eb;text-decoration:none!important;background:#fff;color:#334155!important}.hou-card-pages a.active{background:#1f2937;color:#fff!important}
@media(max-width:1100px){.hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards-layout{grid-template-columns:185px minmax(0,1fr)}}
@media(max-width:740px){.hou-cards-layout{grid-template-columns:1fr}.hou-cards-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.hou-cards-search{grid-template-columns:1fr}.hou-cards header{display:block}.hou-cards header>span{display:inline-block;margin-top:10px}.hou-card-detail-hero{display:block}.hou-card-detail-hero img{width:100%}}
@media(max-width:480px){.hou-cards-grid{grid-template-columns:1fr}.hou-cards-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v0.3.0 — HOU Benefits black/gold visual system */
.hou-cards{--hc-orange:#ff702f;--hc-pink:#ff3971;--hc-gold:#e3b64b;--hc-ink:#151515;max-width:1300px;margin:22px auto 42px;color:#1f2937}
.hou-cards a,.hou-cards button{transition:background .17s,border-color .17s,transform .17s}
.hou-cards-hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(245px,.75fr);align-items:center;gap:22px;padding:28px 30px;border:1px solid #9d7922;border-radius:24px;background:radial-gradient(circle at 89% 80%,#4b390c 0%,#171514 47%,#0d0c0c 100%);color:#fefefe;box-shadow:0 10px 22px rgba(0,0,0,.08)}
.hou-cards .hou-cards-hero h1{font-size:clamp(29px,3.5vw,42px);line-height:1.2;letter-spacing:.02em;color:#ff7728;margin:20px 0 12px}
.hou-cards-hero-main>strong{font-size:19px;color:#fff3d6;display:block;margin:8px 0 10px}
.hou-cards-hero-main p{color:#eee4d7;font-size:16px;max-width:760px;margin:0 0 24px;line-height:1.9}
.hou-hero-stats{color:#ffd777;font-size:14px;font-weight:700}
.hou-hero-chip{display:inline-flex;border-radius:999px;border:1px solid #91752e;background:#28230f;color:#f4cf68;padding:7px 15px;font-size:15px;font-weight:800}
.hou-cards-hero-cta{background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(240,176,45,.09));border:1px solid rgba(247,211,111,.34);border-radius:19px;padding:22px;color:#fff}
.hou-cards-hero-cta h2{color:#f9d36a;font-size:20px;margin:0 0 8px}
.hou-cards-hero-cta p{color:#fff;font-size:15px;line-height:1.7;margin:0 0 15px}
.hou-cards .hou-card-btn-pink,.hou-cards .hou-card-sidebar-create{background:linear-gradient(110deg,#ff7137,#ff3375)!important;color:#fff!important;font-weight:850;text-align:center}
.hou-cards .hou-card-btn{font-size:15px;min-height:44px}
.hou-cards-ad{margin:14px 0;padding:14px 18px;background:#fff;border:1px dashed #eacb82;border-radius:16px;overflow-wrap:anywhere;line-height:1.6}.hou-cards-ad img{max-width:100%;height:auto}
.hou-card-member-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;background:#fff;border:1px solid #ead4aa;border-radius:16px;padding:16px 20px;margin:16px 0}
.hou-card-member-strip b{display:block;font-size:18px}.hou-card-member-strip span{font-size:13px;color:#657083}.hou-card-member-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hou-card-my-item{display:flex;flex-wrap:wrap;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #e8edf2;padding:10px 20px}.hou-card-my-item a{font-weight:700;color:#ef6d2e}
.hou-cards-search{display:grid;grid-template-columns:minmax(250px,2fr) minmax(170px,1fr) auto auto;align-items:end;border-color:#f1d399;padding:18px;margin:16px 0}
.hou-cards-search label{font-size:15px}.hou-cards-search select,.hou-cards-search input{min-height:46px}
.hou-card-clear{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:9px 12px;color:#6a45c2!important;font-weight:700;text-decoration:none!important}
.hou-cards-layout{grid-template-columns:minmax(220px,248px) minmax(0,1fr);gap:16px}
.hou-cards-sidebar{border:1px solid #dfb86e;background:linear-gradient(135deg,#111827,#221a22);color:#fff;border-radius:17px;padding:15px 13px}
.hou-cards-sidebar>b{font-size:19px;color:#f6d77a;margin:0 0 3px}.hou-cards-sidebar>span{display:block;font-size:12px;color:#e5d8ce;margin-bottom:12px}
.hou-cards-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hou-cards .hou-occupation{display:flex!important;justify-content:center!important;align-items:center!important;min-height:46px!important;padding:8px 5px!important;font-size:16px!important;font-weight:900!important;line-height:1.25!important;text-align:center!important;border:2px solid transparent!important;border-radius:11px!important;color:#fff!important;box-shadow:inset 0 -2px 0 rgba(0,0,0,.07);text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere}
.hou-cards .hou-occupation:hover{filter:brightness(1.1);transform:translateY(-1px)}
.hou-cards .hou-tag-all{background:#397edf!important}.hou-cards .hou-tag-0{background:#fb3895!important}.hou-cards .hou-tag-1{background:#0abb8d!important}.hou-cards .hou-tag-2{background:#ffac0c!important}.hou-cards .hou-tag-3{background:#3e8ded!important}.hou-cards .hou-tag-4{background:#ea4594!important}.hou-cards .hou-tag-5{background:#07b995!important}.hou-cards .hou-tag-6{background:#ff9d0a!important}.hou-cards .hou-tag-7{background:#437ee4!important}
.hou-cards .hou-occupation.active{outline:3px solid #ffd85a;outline-offset:1px;filter:brightness(1.08)}
.hou-cards .hou-card-sidebar-create{display:flex;align-items:center;justify-content:center;min-height:46px;margin-top:13px;padding:10px;border-radius:11px;font-size:16px;text-decoration:none!important}
.hou-cards-results-head{border-color:#eacb93}.hou-cards-results-head strong{font-size:18px}
.hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hou-card-tile{border-radius:17px}.hou-card-tile.is-pro{border:2px solid #dfb258;box-shadow:0 6px 20px rgba(199,147,35,.13)}
.hou-card-tile>img,.hou-card-tile>.hou-card-photo-empty{aspect-ratio:16/9}.hou-card-body{gap:6px;padding:15px}.hou-card-body h3{font-size:20px;line-height:1.4}.hou-card-body p{color:#374151;font-size:15px}
.hou-card-pro{background:#ffefc3;color:#7e5000;font-size:13px}.hou-card-free{background:#e9eef6;color:#475569}
.hou-card-empty{background:#fff;border:1px dashed #e6bb66;border-radius:14px;padding:26px;text-align:left;margin-top:12px}.hou-card-empty b{font-size:18px}.hou-card-empty a{color:#ff6c27!important;font-weight:800}
.hou-card-detail{margin:16px auto;max-width:880px}.hou-card-detail.is-pro{max-width:940px}.hou-card-detail-hero{background:#fff;border:1px solid #ead7ae;padding:16px;border-radius:22px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px}
.hou-card-detail.is-pro .hou-card-detail-hero{border:2px solid #cda34c;box-shadow:0 8px 25px rgba(159,102,19,.12)}
.hou-card-detail-cover img,.hou-card-detail-cover .hou-card-photo-empty{display:block;max-width:none;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:14px}
.hou-card-detail-hero h2{font-size:clamp(22px,2.2vw,31px);margin:14px 0 8px}.hou-card-detail-hero small{color:#626f7e}
.hou-card-panel{border-radius:18px;box-shadow:0 2px 6px rgba(0,0,0,.025)}.hou-card-panel h3{font-size:19px;margin:0 0 12px}.hou-card-panel label{font-size:15px}.hou-card-panel select{display:block;width:100%;padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}
.hou-card-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hou-card-gallery img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:11px}
.hou-card-linkstack{display:flex;flex-direction:column;gap:10px}.hou-card-linkstack a{padding:12px 16px;display:flex;justify-content:space-between;text-decoration:none!important;background:linear-gradient(100deg,#fff5e1,#fff);border:1px solid #e7c681;border-radius:12px;font-weight:800;color:#66430a!important}
.hou-card-editor{max-width:880px;margin:18px auto}.hou-card-editor form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.hou-card-editor form>label{margin:0!important}.hou-card-editor textarea{min-height:120px}.hou-card-editor-pro,.hou-card-editor-actions{grid-column:1/-1}.hou-card-editor-pro{border:1px solid #e2c275;background:#fffcf4;padding:16px;border-radius:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hou-card-editor-pro h3,.hou-card-editor-pro p,.hou-card-editor-pro .hou-card-custom-links,.hou-card-editor-pro .hou-card-sortable{grid-column:1/-1}.hou-card-editor-pro h3{margin:12px 0 0}
.hou-card-link-input{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;margin-bottom:8px}.hou-card-editor-actions{display:flex;align-items:center;gap:16px;margin-top:12px}
.hou-card-sortable{list-style:none!important;padding:0!important;margin:0!important;display:grid;gap:7px}.hou-card-sortable li{background:#fff;border:1px solid #d6c9ac;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:12px;cursor:grab;font-weight:800}.hou-card-sortable .dragging{opacity:.45}.hou-card-sort-actions{margin-left:auto;display:flex;gap:5px}.hou-card-sort-actions button{cursor:pointer;background:#f2e9d4;border:1px solid #d4b867;border-radius:7px;padding:3px 12px;font-weight:900}.hou-card-small{color:#697689;font-size:13px}.hou-card-lead{padding:10px 0;border-bottom:1px solid #e5e7eb}
@media(max-width:1050px){.hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards-layout{grid-template-columns:215px minmax(0,1fr)}}
@media(max-width:780px){.hou-cards-hero{grid-template-columns:1fr;padding:22px}.hou-cards-layout{grid-template-columns:1fr}.hou-cards-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}.hou-cards-search{grid-template-columns:1fr 1fr}.hou-cards-search .hou-card-btn,.hou-card-clear{width:100%}.hou-card-detail-hero{grid-template-columns:1fr}.hou-card-editor form{grid-template-columns:1fr}}
@media(max-width:560px){.hou-cards-search{grid-template-columns:1fr}.hou-cards-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards-grid{grid-template-columns:1fr}.hou-card-editor-pro{grid-template-columns:1fr}.hou-card-link-input{grid-template-columns:1fr}.hou-card-editor-actions{flex-wrap:wrap}}

/* v0.4.0 — colorful card exchange, scoped to avoid WordPress theme H2/H3 overrides */
.hou-cards{--hou-ink:#182338;--hou-accent:#ff732f;--hou-indigo:#6757eb;--hou-border:#e8e2e8;color:var(--hou-ink);font-family:inherit}
.hou-cards-hero{margin:0 0 20px;min-height:265px;box-shadow:0 16px 38px #241e1b20}
.hou-cards-hero-title{font-size:clamp(29px,3.6vw,43px);font-weight:950;line-height:1.3;margin:14px 0 12px;color:#ff883e;letter-spacing:.025em}
.hou-cards-cta-title{font-size:clamp(20px,2vw,26px);font-weight:950;line-height:1.4;color:#fff;margin:2px 0 10px;background:transparent;padding:0}
.hou-cards-hero-cta{background:linear-gradient(135deg,#3c3025,#66501e);padding:25px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.hou-cards-hero-cta p{margin:0 0 6px!important}
.hou-cards .hou-card-hero-manage{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px;font-size:14px;font-weight:850;text-decoration:none!important;color:#fff!important;border:1px solid #d9b568;border-radius:11px;padding:9px 12px;background:rgba(255,255,255,.13)}
.hou-cards .hou-card-hero-manage:hover{background:rgba(255,255,255,.22)}
.hou-cards+.hou-benefit-entry-tabs{margin-top:0}
.hou-cards .hou-card-btn,.hou-cards .hou-card-sidebar-create{color:#fff!important;background:linear-gradient(110deg,#ff7137,#f43775)!important;min-height:46px;font-size:16px;font-weight:850;line-height:1.3;justify-content:center;align-items:center;text-align:center;width:auto;max-width:100%;padding:11px 18px;border:0;border-radius:12px;text-shadow:none}
.hou-cards .hou-card-btn:hover,.hou-cards .hou-card-sidebar-create:hover{color:#fff!important;background:linear-gradient(110deg,#e85523,#cd2059)!important}
.hou-cards .hou-card-body .hou-card-btn{align-self:flex-start;margin-top:12px}
.hou-cards .hou-card-name{font-size:clamp(18px,1.9vw,22px);font-weight:900;line-height:1.5;color:#1d283b;margin:3px 0}
.hou-cards .hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hou-cards .hou-card-tile{border:1px solid #e5dfd9;box-shadow:0 8px 24px #4a324112;overflow:hidden;background:#fff}
.hou-cards .hou-card-tile.is-pro{border:2px solid #d8a333;box-shadow:0 8px 28px #a87c261c}
.hou-cards .hou-card-tile .hou-card-image-wrap{height:auto;aspect-ratio:16/9;border-radius:0}
.hou-card-image-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,#ffedcd,#fff6df 55%,#d9ecff);display:grid;place-items:center}
.hou-card-image-wrap>img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;z-index:2}
.hou-card-image-wrap.hou-image-broken>img{display:none}
.hou-card-cover-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;font-size:45px;color:#ab6717}
.hou-card-cover-fallback small{font-size:14px;font-weight:800;color:#87521c}
.hou-cards .hou-card-body{padding:18px}
.hou-cards .hou-card-body small{font-size:14px;color:#64748b}
.hou-cards .hou-cards-sidebar{background:linear-gradient(160deg,#1c2136,#231a2e);padding:17px 13px}
.hou-cards .hou-cards-sidebar>b{font-size:20px;color:#ffe191}
.hou-cards .hou-cards-sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.hou-cards .hou-occupation{box-sizing:border-box;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:10px 5px!important;min-height:51px!important;height:auto!important;border:2px solid transparent!important;border-radius:10px!important;font-size:16px!important;font-weight:900!important;line-height:1.25!important;color:#fff!important;text-shadow:0 1px 1px #00000018;overflow-wrap:normal;word-break:keep-all;hyphens:none}
.hou-cards .hou-tag-all{background:#367aeb!important}
.hou-cards .hou-tag-0{background:#ec3c86!important}.hou-cards .hou-tag-1{background:#0ca784!important}.hou-cards .hou-tag-2{background:#e99a08!important}.hou-cards .hou-tag-3{background:#397fe7!important}
.hou-cards .hou-tag-4{background:#9351e4!important}.hou-cards .hou-tag-5{background:#e56532!important}.hou-cards .hou-tag-6{background:#147d91!important}.hou-cards .hou-tag-7{background:#b7438b!important}
.hou-cards .hou-occupation.active{outline:3px solid #ffe38a;outline-offset:1px;border-color:#fff6cf!important}
.hou-cards .hou-occupation:hover{color:#fff!important;transform:translateY(-2px);filter:brightness(1.1)}
.hou-cards .hou-card-detail{max-width:1000px;margin:20px auto}
.hou-cards .hou-card-breadcrumb{display:flex;gap:9px;flex-wrap:wrap;align-items:center;min-height:42px;font-size:15px;margin:0 0 16px;padding:0 8px;color:#526078}
.hou-cards .hou-card-breadcrumb a{color:#d45e32!important;text-decoration:none!important;font-weight:800}
.hou-cards .hou-card-breadcrumb [aria-current="page"]{color:#17243d;font-weight:900}
.hou-cards .hou-card-detail-hero{border-radius:22px;padding:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:linear-gradient(130deg,#fff,#fff7e8 80%,#ffedf5)}
.hou-cards .hou-card-detail-name{font-size:clamp(25px,3.1vw,37px);color:#17253b;font-weight:950;line-height:1.35;margin:18px 0 9px}
.hou-cards .hou-card-detail-hero>div:last-child{align-self:center}
.hou-cards .hou-card-detail-cover{width:100%;max-width:100%}
.hou-cards .hou-card-detail-cover .hou-card-image-wrap{width:100%;border-radius:17px;box-shadow:0 8px 19px #5a43211a}
.hou-cards .hou-card-panel{padding:23px 25px;border:1px solid #e9e0ed;border-radius:19px;box-shadow:0 6px 22px #5d4a6b10;background:linear-gradient(135deg,#fff,#fffafa)}
.hou-cards .hou-card-panel:nth-child(4n+2){border-left:5px solid #ea6396}.hou-cards .hou-card-panel:nth-child(4n+3){border-left:5px solid #23a994}.hou-cards .hou-card-panel:nth-child(4n+4){border-left:5px solid #7861d6}
.hou-cards .hou-card-section-title{display:inline-flex;align-items:center;width:auto;font-size:19px;font-weight:950;line-height:1.45;color:#d45c30;background:#fff0d9;border-radius:10px;padding:7px 13px;margin:0 0 14px}
.hou-cards .hou-card-panel p{font-size:16px;line-height:1.85;color:#344054}
.hou-cards .hou-card-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0 0}
.hou-cards .hou-card-actions>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;flex:0 1 auto;max-width:100%;width:auto!important;min-width:120px;min-height:45px;padding:11px 15px!important;border-radius:12px;text-decoration:none!important;white-space:normal;font-weight:850;font-size:15px;line-height:1.35;color:#fff!important;background:#6757cc!important}
.hou-cards .hou-card-actions>a:nth-child(4n+1){background:#1568b4!important}.hou-cards .hou-card-actions>a:nth-child(4n+2){background:#0e967b!important}.hou-cards .hou-card-actions>a:nth-child(4n+3){background:#c15478!important}.hou-cards .hou-card-actions>a:nth-child(4n+4){background:#7d51a9!important}
.hou-cards .hou-card-actions>a:hover{filter:brightness(1.12);color:#fff!important}
.hou-social-mark{display:inline-flex;width:26px;height:26px;border-radius:9px;align-items:center;justify-content:center;background:#ffffff36;color:#fff!important;font-size:19px;line-height:1;font-weight:950;flex:0 0 26px}
.hou-social-label{font-size:14px;line-height:1.25}
.hou-cards .hou-card-linkstack{display:flex;flex-wrap:wrap;flex-direction:row;gap:10px}
.hou-cards .hou-card-linkstack a{box-sizing:border-box;display:inline-flex!important;width:auto!important;max-width:100%;min-height:45px;align-items:center;justify-content:center;padding:10px 18px!important;border:1px solid #ecd08d;border-radius:12px;background:#fff5e0;color:#865018!important;line-height:1.4;font-weight:850;text-decoration:none!important}
.hou-cards .hou-card-linkstack a:hover{background:#ffe5ba}
.hou-cards .hou-card-editor{margin:18px auto;max-width:1000px;border-top:5px solid #ff7a3f;background:#fff}
.hou-cards .hou-card-editor-title{font-size:clamp(22px,2.4vw,29px);font-weight:950;color:#e75e29;line-height:1.4;padding:2px 0 8px}
.hou-cards .hou-card-editor form{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.hou-cards .hou-card-editor input,.hou-cards .hou-card-editor textarea,.hou-cards .hou-card-editor select{min-height:45px;border:1px solid #d2d7e3!important;background:#fff!important;color:#25314a!important;border-radius:10px}
.hou-cards .hou-card-editor-pro{border-radius:17px;background:#f8f3ff;border:1px solid #ded1ef;padding:20px}
.hou-cards .hou-card-current-cover{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.hou-card-current-cover img{max-width:320px;max-height:180px;object-fit:cover;border-radius:12px}
.hou-cards .hou-card-editor-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hou-cards .hou-card-editor-actions a{color:#6a47c5!important;font-weight:850}
.hou-cards .hou-card-panel form button[type=submit]{width:auto!important;min-width:145px}
.hou-cards .hou-card-panel form label:has(input[type=checkbox]){display:flex!important;gap:7px;align-items:center;font-size:13px}.hou-cards .hou-card-panel form input[type=checkbox]{flex:0 0 auto}
@media(max-width:900px){.hou-cards .hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.hou-cards-hero{grid-template-columns:1fr}.hou-cards .hou-card-detail-hero{grid-template-columns:1fr}.hou-cards .hou-cards-grid{grid-template-columns:1fr}.hou-cards .hou-card-editor form{grid-template-columns:1fr}.hou-cards .hou-card-actions>a{min-width:unset}.hou-cards .hou-cards-sidebar nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.hou-cards .hou-cards-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards .hou-card-panel{padding:16px}.hou-cards .hou-card-actions>a{padding:10px 12px!important;font-size:14px}.hou-cards-hero{padding:20px}.hou-cards .hou-cards-hero-cta{padding:17px}}

/* v0.5: 3-column list, unified single permalink and contrast */
.hou-cards.hou-cards-single{max-width:1140px;margin:24px auto 54px;padding:0 18px;box-sizing:border-box}
.hou-cards .hou-cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.hou-cards .hou-card-tile .hou-card-image-wrap{aspect-ratio:16/9!important}
.hou-cards .hou-card-body{padding:14px 15px 18px!important}
.hou-cards .hou-card-body .hou-card-btn{font-size:14px!important;min-height:42px!important;padding:9px 12px!important}
.hou-cards .hou-card-name{font-size:19px!important}
.hou-cards .hou-card-hero-manage{font-size:17px!important;min-height:47px!important;font-weight:900!important;padding:11px 15px!important}
.hou-cards .hou-card-breadcrumb{font-size:16px;font-weight:700}
.hou-cards .hou-card-detail{max-width:1040px}
.hou-cards .hou-card-editor-pro{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}
.hou-cards .hou-card-editor-pro>.hou-card-section-title{grid-column:1/-1;display:flex;width:100%;padding:13px 17px;font-size:22px!important;color:#fff!important;background:linear-gradient(100deg,#5a46c9,#db3a78)!important;border-radius:13px}
.hou-cards .hou-card-editor-pro>.hou-card-section-title:nth-of-type(2){background:linear-gradient(100deg,#b96708,#f08335)!important}
.hou-cards .hou-card-editor-pro>.hou-card-section-title:nth-of-type(3){background:linear-gradient(100deg,#087f9a,#5652c4)!important}
.hou-cards .hou-card-editor-pro .hou-card-custom-links,.hou-cards .hou-card-editor-pro .hou-card-sortable,.hou-cards .hou-card-editor-pro>p,.hou-cards .hou-card-editor-pro>input[type=hidden]{grid-column:1/-1}
.hou-cards .hou-card-editor-pro label{min-width:0}
.hou-cards .hou-card-editor-pro .hou-card-link-input{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:9px}
.hou-cards .hou-card-actions>a,.hou-cards .hou-card-linkstack>a{color:#fff!important;font-size:16px!important;min-height:45px!important;line-height:1.35!important}
.hou-cards .hou-card-linkstack>a{color:#603600!important;background:#ffe6ac!important;border-color:#e8ae32!important}
.hou-cards .hou-card-cover-fallback{background:linear-gradient(130deg,#fff4dd,#eff6ff)}
.hou-cards .hou-occupation{min-height:54px!important;font-size:16px!important;line-height:1.25!important}
@media(max-width:1100px){.hou-cards .hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:690px){.hou-cards .hou-cards-grid{grid-template-columns:1fr!important}.hou-cards .hou-card-editor-pro{grid-template-columns:1fr!important}}

.hou-cards .hou-card-monogram{display:grid;place-items:center;width:78px;height:78px;background:linear-gradient(145deg,#fa7a45,#f2c35f);border:4px solid #fff;color:#fff;border-radius:22px;font-size:43px;box-shadow:0 9px 20px #c183382a;font-weight:950;line-height:1}
.hou-cards .hou-card-cover-fallback small{font-size:15px;font-weight:900;color:#965421}

/* v0.6: clear single-card navigation, visible URLs and recognizable platform icons. */
.single-hou_team_card .rank-math-breadcrumb,
.single-hou_team_card .yoast-breadcrumb,
.single-hou_team_card .breadcrumbs,
.single-hou_team_card .breadcrumb,
.single-hou_team_card .site-breadcrumb,
.single-hou_team_card .breadcrumb-trail{display:none!important}
.hou-cards.hou-cards-single>.hou-card-breadcrumb{display:flex!important;align-items:center;flex-wrap:wrap;gap:11px;margin:0 0 16px;padding:5px 2px;font-size:17px;font-weight:850;line-height:1.65}
.hou-cards .hou-card-contact-list{display:flex;flex-direction:column;gap:13px;margin:3px 0 2px}
.hou-cards .hou-card-contact-row{display:grid;grid-template-columns:minmax(105px,150px) minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 15px;border:1px solid #d9e6f7;border-radius:14px;background:linear-gradient(100deg,#f5faff,#fffafa)}
.hou-cards .hou-card-contact-row:nth-child(3n+2){background:linear-gradient(100deg,#f0fff8,#fffdf6);border-color:#bcead7}
.hou-cards .hou-card-contact-row:nth-child(3n+3){background:linear-gradient(100deg,#fff6ef,#fff);border-color:#f7d7bc}
.hou-cards .hou-contact-label{font-weight:900;font-size:15px;color:#22314b}
.hou-cards .hou-contact-value{font-weight:800;line-height:1.6;font-size:16px;color:#155cb0!important;text-decoration:underline!important;overflow-wrap:anywhere;word-break:break-word}
.hou-cards .hou-copy-value{display:inline-flex;align-items:center;justify-content:center;min-width:76px;min-height:42px;padding:9px 12px;border:0;border-radius:10px;background:#304d81!important;color:#fff!important;font-weight:850;font-size:14px;line-height:1.2;cursor:pointer}
.hou-cards .hou-copy-value:hover{background:#183563!important}
.hou-cards .hou-card-social-icons{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link{display:inline-flex!important;justify-content:center!important;align-items:center!important;width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;padding:8px!important;border-radius:17px!important;background:#303a57!important;color:#fff!important;box-shadow:0 5px 15px #121e3422}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link:nth-child(4n+1){background:#2160b2!important}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link:nth-child(4n+2){background:#c13c90!important}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link:nth-child(4n+3){background:#18233d!important}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link:nth-child(4n+4){background:#d33350!important}
.hou-cards .hou-card-social-icons .hou-social-mark{width:36px;height:36px;border-radius:0;background:transparent!important;display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px}
.hou-cards .hou-card-social-icons .hou-social-mark svg{width:30px;height:30px;display:block}
.hou-cards .hou-card-social-icons>a.hou-social-icon-link:hover{transform:translateY(-3px);filter:brightness(1.1)}
.hou-cards .hou-card-current-cover img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
@media(max-width:700px){.hou-cards .hou-card-contact-row{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:12px}.hou-cards .hou-card-contact-row>.hou-contact-label{grid-column:1/-1}.hou-cards .hou-contact-value{font-size:15px}.hou-cards .hou-copy-value{min-width:70px}}

/* v0.7.0 — Single-card black-gold introduction, editor controls, image fallback. */
body.single-hou_team_card #breadcrumbs,
body.single-hou_team_card #breadcrumb,
body.single-hou_team_card #crumbs,
body.single-hou_team_card .rank-math-breadcrumb,
body.single-hou_team_card .yoast-breadcrumb,
body.single-hou_team_card .breadcrumb-wrap,
body.single-hou_team_card .site-breadcrumbs,
body.single-hou_team_card .entry-breadcrumb,
body.single-hou_team_card .breadcrumb-container,
body.single-hou_team_card .breadcrumbs:not(.hou-card-breadcrumb){display:none!important}
.hou-cards.hou-cards-single{max-width:1320px;margin:16px auto 58px;padding:0 20px}
.hou-cards.hou-cards-single>.hou-card-breadcrumb{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 13px;padding:5px 4px;color:#34445e;font-size:17px;line-height:1.55}
.hou-cards.hou-cards-single>.hou-card-breadcrumb a{color:#e46525!important;font-weight:850;text-decoration:none!important}
.hou-cards.hou-cards-single .hou-cards-single-hero{margin-bottom:16px;min-height:230px}
.hou-cards .hou-cards-single-hero .hou-cards-hero-title{font-size:clamp(28px,3.3vw,40px)!important;line-height:1.3}
.hou-cards .hou-cards-single-hero .hou-card-btn-pink,
.hou-cards .hou-cards-hero-cta .hou-card-btn-pink{font-size:18px!important;font-weight:950!important;min-height:50px!important;line-height:1.35!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:12px 19px!important}
.hou-cards.hou-cards-single .hou-card-detail{max-width:1080px;margin:20px auto}
.hou-cards .hou-card-delete-form{display:inline-flex!important;align-items:center;margin:0 0 0 4px!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
.hou-cards .hou-card-delete-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6bbc0;border-radius:9px;min-height:43px;padding:8px 14px;font-size:15px;font-weight:900;background:#fff0f1;color:#b11d34;cursor:pointer;line-height:1.3}
.hou-cards .hou-card-delete-btn:hover{background:#c22545;color:#fff}
.hou-cards .hou-card-editor>.hou-card-delete-form{margin:12px 0 0!important}
.hou-cards .hou-card-my-item .hou-card-delete-form{margin-left:auto!important}
.hou-cards .hou-card-current-cover small{display:block;margin:8px 0;color:#596477}
.hou-cards .hou-card-image-wrap{position:relative;overflow:hidden}
.hou-cards .hou-card-image-wrap:not(.hou-image-broken)>.hou-card-cover-fallback{display:none!important}
.hou-cards .hou-card-image-wrap.hou-image-broken>.hou-card-cover-image{display:none!important}
.hou-cards .hou-card-image-wrap.hou-image-broken>.hou-card-cover-fallback{display:flex!important;justify-content:center;align-items:center;flex-direction:column;height:100%;min-height:170px}
@media(max-width:640px){.hou-cards.hou-cards-single{padding:0 12px}.hou-cards .hou-cards-single-hero{min-height:unset}.hou-cards .hou-cards-single-hero .hou-card-btn{width:100%}}

/* v0.8.0 — consistent HOU store-card look, photo modes and editorial layout. */
/* One breadcrumb only: the canonical card trail is moved to the theme's trail position when found. */
body.single-hou_team_card .hou-card-breadcrumb,
body.single-hou_team_card .hou-card-breadcrumb.hou-card-placed-at-top,
.hou-cards.hou-cards-single>.hou-card-breadcrumb{
 display:flex!important;align-items:center;flex-wrap:wrap;gap:9px;min-height:32px;
 margin:14px auto!important;padding:4px 0!important;max-width:1320px;
 font-size:16px!important;font-weight:850!important;color:#233047!important;line-height:1.5;
}
body.single-hou_team_card .hou-card-breadcrumb a{color:#e56529!important;text-decoration:none!important}
body.single-hou_team_card .hou-card-breadcrumb[aria-label="麵包屑"]{visibility:visible}

/* Compact three-column cards matching the restaurant/offer wall. */
.hou-cards .hou-cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;align-items:stretch}
.hou-cards .hou-business-card{border:1px solid #efc777!important;border-radius:19px!important;overflow:hidden!important;background:#fff!important;box-shadow:0 6px 24px rgba(38,30,16,.10)!important;display:flex;flex-direction:column}
.hou-cards .hou-business-card.is-pro{border-width:2px!important;border-color:#dfa123!important}
.hou-cards .hou-business-card-visual{width:100%;height:auto;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none!important;background:radial-gradient(circle at 20% 15%,#fff4e2,#ecf7ff 66%,#ffedf4)}
.hou-cards .hou-business-card-visual.is-logo{padding:12px 20px}
.hou-cards .hou-business-card-visual>.hou-card-image-wrap{position:relative!important;overflow:hidden;flex:none}
.hou-cards .hou-business-card-visual.is-logo>.hou-card-image-wrap.hou-cover-circle{height:min(150px,78%)!important;width:auto!important;aspect-ratio:1/1!important;border-radius:50%!important;border:5px solid #fff!important;box-shadow:0 10px 28px #674c2630!important;background:#fff!important}
.hou-cards .hou-business-card-visual.is-banner{padding:0}
.hou-cards .hou-business-card-visual.is-banner>.hou-card-image-wrap.hou-cover-wide{height:100%!important;width:100%!important;aspect-ratio:16/9!important;border-radius:0!important}
.hou-cards .hou-business-card-visual img.hou-card-cover-image{width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;position:absolute!important;inset:0}
.hou-cards .hou-business-card-visual.is-logo img.hou-card-cover-image{object-fit:contain!important}
.hou-cards .hou-business-card-visual .hou-card-cover-fallback{width:100%!important;height:100%!important;min-height:0!important}
.hou-cards .hou-business-card-visual .hou-card-monogram{height:68px!important;width:68px!important;font-size:36px!important;border-radius:50%!important;line-height:1!important}
.hou-cards .hou-business-card-visual .hou-card-cover-fallback small{font-size:11px!important;line-height:1.3!important}
.hou-cards .hou-business-card .hou-card-body{display:flex!important;flex:1;flex-direction:column;gap:10px!important;padding:16px 15px 17px!important}
.hou-cards .hou-business-badges{display:flex;flex-wrap:wrap;align-items:center;gap:7px;min-height:29px}
.hou-cards .hou-business-tag{display:inline-flex;align-items:center;justify-content:center;min-height:27px;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:900;line-height:1.25}
.hou-cards .hou-business-tag.tag-city{color:#0953b5;background:#dfedff;border:1px solid #adcfff}
.hou-cards .hou-business-tag.tag-industry{color:#087552;background:#dcf9e8;border:1px solid #9cdbbb}
.hou-cards .hou-business-head{min-height:62px}
.hou-cards .hou-business-brand{font-size:18px;font-weight:950;line-height:1.35;color:#15233b!important;overflow-wrap:anywhere}
.hou-cards .hou-business-card .hou-card-name{font-size:17px!important;font-weight:850;line-height:1.35;color:#e26424!important;margin:3px 0 0!important;overflow-wrap:anywhere}
.hou-cards .hou-business-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:2px 0 0}
.hou-cards .hou-business-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:8px 5px!important;border-radius:9px!important;text-decoration:none!important;text-align:center;font-size:14px!important;font-weight:900!important;line-height:1.25!important;white-space:nowrap!important}
.hou-cards .hou-business-button.btn-website{color:#164c89!important;background:#e7f2ff!important;border:1px solid #b9d8ff!important}
.hou-cards .hou-business-button.btn-contact{color:#fff!important;background:#078b79!important;border:1px solid #078b79!important}
.hou-cards .hou-business-button.btn-detail{color:#fff!important;background:linear-gradient(110deg,#fc7a35,#f73b70)!important;border:1px solid #ee6170!important}
.hou-cards .hou-business-button.btn-disabled{color:#838f9b!important;background:#f1f4f7!important;border:1px solid #e0e4e9!important;cursor:default!important}
.hou-cards .hou-business-button:not(.btn-disabled):hover{filter:brightness(.95);transform:translateY(-2px)}
.hou-cards .hou-business-summary{padding:12px 10px!important;margin:0!important;min-height:66px;background:#fff8ed;border:1px solid #ffe2bd;border-radius:11px;color:#615044!important;font-size:14px!important;line-height:1.55!important;overflow-wrap:anywhere}
.hou-cards .hou-business-footer{margin-top:auto}
.hou-cards .hou-business-footer .hou-card-pro,.hou-cards .hou-business-footer .hou-card-free{font-size:12px}
/* Round logo on full business card, rather than a stretched 16:9 banner. */
.hou-cards .hou-card-detail-hero{display:grid!important;grid-template-columns:minmax(175px,250px) minmax(0,1fr)!important;gap:32px!important;align-items:center!important;padding:22px 29px!important;border:1px solid #ecc77e!important}
.hou-cards .hou-card-detail-cover{display:flex!important;align-items:center;justify-content:center;max-width:250px!important}
.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-circle{width:min(100%,240px)!important;height:auto!important;aspect-ratio:1/1!important;border-radius:50%!important;background:#fff!important;border:7px solid #fff!important;box-shadow:0 10px 30px #d2a16333!important}
.hou-cards .hou-card-detail-cover .hou-card-cover-image{width:100%!important;height:100%!important;object-fit:contain!important;max-width:none!important;aspect-ratio:1/1!important;position:absolute!important;inset:0}
.hou-cards .hou-card-detail-cover .hou-card-cover-fallback{width:100%;height:100%;min-height:0!important}
.hou-cards .hou-card-detail-cover .hou-card-monogram{border-radius:50%!important}
.hou-cards .hou-card-detail-name{font-size:clamp(27px,3.2vw,40px)!important}
/* Portfolio pictures keep their original aspect ratio; never forcibly crop to 16:9. */
.hou-cards .hou-card-gallery{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;gap:14px!important}
.hou-cards .hou-card-gallery img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:13px!important;box-shadow:0 5px 16px #1d2a361e}
.hou-cards .hou-card-editor .hou-cover-style-field{grid-column:1/-1;max-width:420px}
.hou-cards .hou-card-editor .hou-cover-style-field select{display:block;min-height:46px;width:100%;margin-top:7px}
.hou-cards .hou-card-current-cover img{max-width:230px!important;width:auto!important;aspect-ratio:auto!important;object-fit:contain!important;height:auto!important}
@media(max-width:1130px){.hou-cards .hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:800px){.hou-cards .hou-card-detail-hero{grid-template-columns:1fr!important;justify-items:center;text-align:center!important;gap:16px!important}.hou-cards .hou-card-detail-cover{width:100%;justify-content:center}.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-circle{width:min(220px,80vw)!important}}
@media(max-width:680px){.hou-cards .hou-cards-grid{grid-template-columns:1fr!important}.hou-cards .hou-business-card-visual.is-logo>.hou-card-image-wrap.hou-cover-circle{height:146px!important}.hou-cards .hou-business-button{font-size:14px!important}}

/* v0.9.0 — 4:3 card art, larger centered identity and buttons. */
.hou-cards{max-width:1480px!important}
.hou-cards .hou-cards-layout{grid-template-columns:225px minmax(0,1fr)!important;gap:18px!important}
.hou-cards .hou-cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.hou-cards .hou-business-card-visual{aspect-ratio:4/3!important}
.hou-cards .hou-business-card-visual.is-banner>.hou-card-image-wrap.hou-cover-wide{aspect-ratio:4/3!important}
.hou-cards .hou-business-card-visual.is-logo>.hou-card-image-wrap.hou-cover-circle{height:min(175px,80%)!important}
.hou-cards .hou-business-head{text-align:center;min-height:86px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.hou-cards .hou-business-card .hou-card-name{font-size:clamp(23px,1.7vw,28px)!important;color:#182b46!important;line-height:1.2!important;margin:0!important;font-weight:950!important}
.hou-cards .hou-business-brand{font-size:17px!important;color:#d36423!important;font-weight:850!important}
.hou-cards .hou-business-position{font-size:14px!important;color:#637087!important;font-weight:750!important}
.hou-cards .hou-business-actions{gap:8px!important}
.hou-cards .hou-business-button{font-size:16px!important;min-height:47px!important;padding:10px 5px!important}
.hou-cards .hou-business-summary{font-size:15px!important;line-height:1.6!important}
.hou-cards .hou-occupation{font-size:18px!important;min-height:53px!important}
/* Independent cover choice for full business card. */
.hou-cards .hou-card-detail-cover{max-width:360px!important;width:100%!important}
.hou-cards .hou-card-detail-hero{grid-template-columns:minmax(200px,350px) minmax(0,1fr)!important}
.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-wide{width:100%!important;aspect-ratio:4/3!important;height:auto!important;border:5px solid #fff!important;border-radius:18px!important;background:#fff!important;box-shadow:0 10px 30px #d2a16333!important}
.hou-cards .hou-card-detail-cover .hou-cover-wide>.hou-card-cover-image{object-fit:contain!important;aspect-ratio:4/3!important}
.hou-cards .hou-card-detail-cover .hou-cover-circle>.hou-card-cover-image{object-fit:contain!important}
/* Front-end image settings: all three images live together, not scattered through PRO links. */
.hou-cards .hou-card-image-settings{grid-column:1/-1;border:1px solid #e9c5ad;background:linear-gradient(145deg,#fff9ed,#f8f2ff);padding:20px;border-radius:18px;min-width:0}
.hou-cards .hou-card-image-settings>.hou-card-section-title{font-size:23px!important;color:#b84828!important;font-weight:950;margin:0 0 14px}
.hou-cards .hou-cover-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:12px}
.hou-cards .hou-card-media-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.hou-cards .hou-media-slot{min-width:0;border:1px solid #f2d8ad;border-radius:15px;padding:13px;background:#fff;display:flex;flex-direction:column;gap:9px}
.hou-cards .hou-media-slot-title{font-size:18px;font-weight:950;color:#b95620}
.hou-cards .hou-media-preview{height:150px;display:flex;align-items:center;justify-content:center;border:2px dashed #e4cba3;border-radius:13px;background:#fffaf2;overflow:hidden;color:#826c53}
.hou-cards .hou-media-preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px}
.hou-cards .hou-media-actions{display:flex;flex-wrap:wrap;gap:6px}
.hou-cards .hou-media-actions button{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border:1px solid #efbb9f;border-radius:9px;font-size:14px;min-height:39px;font-weight:900;padding:7px 9px}
.hou-cards .hou-media-pick{background:linear-gradient(120deg,#f37535,#ec467b);color:#fff;border-color:transparent!important}
.hou-cards .hou-media-upload{background:#e9f5ff;color:#184f86}
.hou-cards .hou-media-remove{background:#fff3f1;color:#ae3434}
.hou-cards .hou-media-slot>small{font-size:12px;color:#667085;line-height:1.4}
.hou-cards .hou-media-dialog[hidden]{display:none!important}
.hou-media-modal-open{overflow:hidden}
.hou-cards .hou-media-dialog{position:fixed;inset:0;z-index:100000;background:rgba(15,20,33,.65);display:flex;align-items:center;justify-content:center;padding:18px}
.hou-cards .hou-media-dialog-inner{width:min(850px,100%);max-height:90vh;overflow:auto;padding:20px;background:#fff;border-radius:20px;box-shadow:0 20px 60px #0004}
.hou-cards .hou-media-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:22px;color:#17253a;font-weight:950}
.hou-cards .hou-media-dialog-head button{background:#f3f4f6;border:0;border-radius:8px;min-width:38px;min-height:38px;cursor:pointer}
.hou-cards .hou-media-dialog-inner>p{color:#64748b}
.hou-cards .hou-media-filters{display:flex;gap:10px;margin:12px 0}
.hou-cards .hou-media-filters input{flex:1;min-width:0;border:1px solid #d1d5db;border-radius:10px;padding:10px}
.hou-cards .hou-media-filters button,.hou-cards [data-hou-media-more]{border:0;border-radius:10px;padding:9px 15px;background:#1a3562;color:#fff;font-weight:800;cursor:pointer}
.hou-cards .hou-media-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.hou-cards .hou-media-choice{min-width:0;display:flex;flex-direction:column;gap:6px;align-items:center;padding:6px;background:#fff;border:1px solid #e1e7ef;border-radius:12px;cursor:pointer}
.hou-cards .hou-media-choice:hover,.hou-cards .hou-media-choice:focus-visible{border-color:#f47a3c;outline:2px solid #f47a3c}
.hou-cards .hou-media-choice img{width:100%;height:110px;object-fit:contain;background:#f6f7fb;border-radius:8px}
.hou-cards .hou-media-choice span{display:block;width:100%;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26354c}
@media(max-width:1160px){.hou-cards .hou-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:780px){.hou-cards .hou-cards-layout{grid-template-columns:1fr!important}.hou-cards .hou-card-media-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards .hou-card-detail-hero{grid-template-columns:1fr!important}}
@media(max-width:650px){.hou-cards .hou-cards-grid,.hou-cards .hou-cover-mode-grid,.hou-cards .hou-card-media-slots{grid-template-columns:1fr!important}.hou-cards .hou-media-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hou-cards .hou-business-button{font-size:14px!important}}
.hou-cards input[data-hou-new-media][hidden]{display:none!important}


/* v0.9.1 — detail hero layout, uncropped cover, top-right save button. */
.hou-cards .hou-card-detail-hero{grid-template-columns:minmax(290px,460px) minmax(0,1fr)!important;gap:40px!important;align-items:center!important}
.hou-cards .hou-card-detail-cover{max-width:460px!important;width:100%!important;align-self:center!important}
.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-wide{width:100%!important;height:auto!important;aspect-ratio:auto!important;border:5px solid #fff!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#fff7ef)!important;overflow:hidden!important;box-shadow:0 14px 34px #d2a16333!important}
.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-wide .hou-card-cover-image{position:static!important;display:block!important;width:100%!important;height:auto!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
.hou-cards .hou-card-detail-cover>.hou-card-image-wrap.hou-cover-wide .hou-card-cover-fallback{position:relative!important;min-height:220px!important}
.hou-cards .hou-card-detail-meta{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:10px;min-height:100%}
.hou-cards .hou-card-detail-eyebrow{font-size:14px!important;letter-spacing:.03em!important}
.hou-cards .hou-card-detail-tags{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center}
.hou-cards .hou-card-detail-tags .hou-business-tag{font-size:16px!important;padding:10px 16px!important;border-radius:999px!important;font-weight:900!important;box-shadow:0 4px 12px rgba(33,54,85,.08)!important}
.hou-cards .hou-card-detail-name{font-size:clamp(34px,4vw,48px)!important;line-height:1.1!important;font-weight:950!important;color:#182b46!important;text-align:center!important;margin:2px 0 0!important}
.hou-cards .hou-card-detail-company{font-size:clamp(24px,2vw,31px)!important;line-height:1.25!important;font-weight:900!important;color:#d35f25!important;text-align:center!important}
.hou-cards .hou-card-detail-position{font-size:clamp(18px,1.35vw,23px)!important;line-height:1.35!important;font-weight:800!important;color:#674cc8!important;text-align:center!important}
.hou-cards .hou-card-panel .hou-card-social-icons{justify-content:flex-start}
.hou-cards .hou-card-editor-topbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;margin:2px 0 4px;border:1px solid #f2d4a4;border-radius:16px;background:linear-gradient(130deg,#fff8ea,#fff,#fff0f6);position:sticky;top:18px;z-index:5;box-shadow:0 10px 24px rgba(37,26,10,.08)}
.hou-cards .hou-card-editor-topcopy{display:flex;flex-direction:column;gap:2px}
.hou-cards .hou-card-editor-topcopy strong{font-size:20px;color:#b5501f;font-weight:950}
.hou-cards .hou-card-editor-topcopy span{font-size:14px;color:#6b7280}
.hou-cards .hou-card-editor-topactions{display:flex;justify-content:flex-end;align-items:center;gap:10px}
.hou-cards .hou-card-editor-topactions .hou-card-btn{min-width:176px!important;font-size:16px!important}
@media(max-width:900px){.hou-cards .hou-card-detail-hero{grid-template-columns:1fr!important;gap:18px!important}.hou-cards .hou-card-detail-cover{max-width:100%!important}.hou-cards .hou-card-detail-meta{align-items:center;text-align:center}.hou-cards .hou-card-editor-topbar{position:static;flex-direction:column;align-items:flex-start}.hou-cards .hou-card-editor-topactions{width:100%}.hou-cards .hou-card-editor-topactions .hou-card-btn{width:100%!important}}


/* v0.9.2 — isolate the public-detail photo from list-cover aspect-ratio rules. */
.hou-cards .hou-card-detail-hero .hou-card-detail-cover{
  display:block!important;align-self:center!important;justify-self:center!important;
  height:auto!important;min-height:0!important;max-width:460px!important;width:100%!important;
}
.hou-cards .hou-card-detail-hero .hou-detail-photo{
  display:block!important;position:relative!important;width:100%!important;
  max-width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:auto!important;padding:0!important;margin:0!important;
  border:5px solid #fff;border-radius:20px;overflow:hidden;
  background:#fff;box-shadow:0 10px 28px rgba(71,46,25,.14);
}
.hou-cards .hou-card-detail-hero .hou-detail-photo.is-natural>.hou-detail-photo-img{
  display:block!important;position:static!important;inset:auto!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  max-height:none!important;min-height:0!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
  margin:0!important;padding:0!important;float:none!important;transform:none!important;
  border:0!important;border-radius:0!important;
}
.hou-cards .hou-card-detail-hero .hou-detail-photo:not(.is-missing)>.hou-detail-photo-fallback{display:none!important}
.hou-cards .hou-card-detail-hero .hou-detail-photo.is-missing>.hou-detail-photo-img{display:none!important}
.hou-cards .hou-card-detail-hero .hou-detail-photo-fallback{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:6px;padding:32px 20px;min-height:200px;
  background:linear-gradient(135deg,#fff6e1,#ebf5ff);color:#995b20;
}
.hou-cards .hou-card-detail-hero .hou-detail-photo-fallback>span{font-size:54px;font-weight:950;line-height:1}
.hou-cards .hou-card-detail-hero .hou-detail-photo-fallback>small{font-size:16px;font-weight:800}
.hou-cards .hou-card-detail-hero .hou-detail-photo.is-circle{
  width:min(100%,310px)!important;aspect-ratio:1/1!important;
  border-radius:50%!important;border-width:7px!important;margin-inline:auto!important;
}
.hou-cards .hou-card-detail-hero .hou-detail-photo.is-circle>.hou-detail-photo-img{
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  object-fit:contain!important;aspect-ratio:auto!important;margin:0!important;
}
.hou-cards .hou-card-detail-hero .hou-detail-photo.is-circle.is-missing>.hou-detail-photo-fallback{
  position:absolute;inset:0;min-height:0!important;
}
.hou-cards .hou-card-detail-hero .hou-card-detail-meta{min-height:0!important;align-self:center!important}
/* Readable contact rows and copy actions on desktop and mobile. */
.hou-cards .hou-card-detail .hou-card-contact-list{gap:14px}
.hou-cards .hou-card-detail .hou-card-contact-row{
  grid-template-columns:minmax(128px,175px) minmax(0,1fr) auto;
  gap:15px;padding:17px 19px;min-width:0;
}
.hou-cards .hou-card-detail .hou-contact-label{font-size:18px!important;line-height:1.4!important}
.hou-cards .hou-card-detail .hou-contact-value{font-size:19px!important;line-height:1.6!important;font-weight:850!important;min-width:0}
.hou-cards .hou-card-detail .hou-copy-value{
  font-size:17px!important;line-height:1.3!important;min-width:90px;
  min-height:49px;padding:11px 17px!important;border-radius:11px!important;
}
@media(max-width:700px){
  .hou-cards .hou-card-detail .hou-card-contact-row{
    grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:14px;
  }
  .hou-cards .hou-card-detail .hou-card-contact-row>.hou-contact-label{grid-column:1/-1}
  .hou-cards .hou-card-detail .hou-contact-value{font-size:17px!important}
  .hou-cards .hou-card-detail .hou-copy-value{font-size:16px!important;min-width:80px}
}


/* v0.9.3 — Public detail only: preserve source width/height and never force 4:3/16:9. */
body.single-hou_team_card .hou-cards .hou-card-detail-cover,
.hou-cards .hou-card-detail .hou-card-detail-cover{
  height:auto!important;min-height:0!important;aspect-ratio:auto!important;
}
body.single-hou_team_card .hou-cards .hou-detail-photo.is-natural,
.hou-cards .hou-card-detail .hou-detail-photo.is-natural{
  display:block!important;position:relative!important;width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  aspect-ratio:auto!important;padding:0!important;
}
body.single-hou_team_card .hou-cards .hou-detail-photo.is-natural>img.hou-detail-photo-img,
.hou-cards .hou-card-detail .hou-detail-photo.is-natural>img.hou-detail-photo-img{
  display:block!important;position:static!important;inset:auto!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  max-height:none!important;min-height:0!important;aspect-ratio:auto!important;
  object-fit:contain!important;object-position:center!important;
  margin:0!important;padding:0!important;transform:none!important;
}
/* PRO -> name -> company -> tags -> position; no badge row before the name. */
.hou-cards .hou-card-detail .hou-card-detail-tags{margin:5px 0 3px!important;justify-content:center!important}
