/* Dynamic WordPress layer. Keep source architecture editorial CSS unmodified. */
.house-notice{padding:12px 17px;margin:15px 0;background:#f4f5ef;border-left:3px solid #505c50;font-size:13px}
.house-wordpress .photo-grid{display:block;columns:5 210px;column-gap:16px}
.house-wordpress .photo-card{display:inline-block;break-inside:avoid;width:100%;vertical-align:top;margin:0 0 26px}
.house-wordpress .photo-card .media{aspect-ratio:4/5}
.house-wordpress .photo-card:nth-child(10n+2) .media,.house-wordpress .photo-card:nth-child(10n+7) .media{aspect-ratio:4/6}
.house-wordpress .photo-card:nth-child(10n+4) .media,.house-wordpress .photo-card:nth-child(10n+9) .media{aspect-ratio:5/4}
.house-wordpress .photo-card .media>a{display:block;width:100%;height:100%}
.house-wordpress .photo-card .media img{width:100%;height:100%;object-fit:cover}
.house-wordpress .photo-card form.on-photo{position:absolute;inset:0;pointer-events:none}
.house-wordpress .photo-card form.on-photo .photo-save{pointer-events:auto}
.house-dash-frame{display:grid;grid-template-columns:225px minmax(0,1fr);gap:30px;align-items:start;padding:30px 0 65px}
.house-dash-nav{display:flex;flex-direction:column;gap:2px;background:#fafaf8;border:1px solid #e6e8e4;padding:12px;position:sticky;top:128px}
.house-dash-nav a{display:block;padding:11px 13px;font-size:13px;border-radius:4px}
.house-dash-nav a.active,.house-dash-nav a:hover{background:#e8ebe4;color:#26382d}
.house-page-intro{padding:32px 0 18px}.house-page-intro h1{font-size:clamp(32px,3vw,42px);font-weight:600}.house-page-intro p{margin-top:10px;color:var(--muted)}
.house-filter-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0 35px;padding:16px;background:#f8f8f5;border:1px solid #e6e8e4}
.house-filter-form select,.house-filter-form input{width:100%;min-width:0;padding:10px 11px;border:1px solid #dfe3da;border-radius:4px;background:#fff}
.house-filter-form button{height:42px;border-radius:4px}
.house-form{display:flex;flex-direction:column;gap:16px}.house-form label{display:block;margin-bottom:6px;font-weight:600;font-size:13px}
.house-form input:not([type=checkbox]),.house-form select,.house-form textarea{width:100%;border:1px solid #dee2dc;background:#fff;padding:11px 13px;border-radius:4px;font:inherit}
.house-form textarea{min-height:115px;resize:vertical}.house-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.house-form-card{background:white;border:1px solid var(--line);padding:26px;max-width:780px}
.house-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.house-book-item{border:1px solid var(--line);padding:22px;background:#fff}.house-book-item h3{font-size:17px}
.house-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:15px 0}
.house-timeline{display:flex;flex-direction:column;gap:13px}.house-timeline>div{border:1px solid var(--line);padding:14px 17px;background:#fff}
.house-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:22px}
.house-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.house-table{width:100%;border-collapse:collapse}.house-table th,.house-table td{padding:12px;text-align:left;border-bottom:1px solid var(--line);font-size:13px}.house-table td{overflow-wrap:anywhere}
.house-inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.house-inline-form select{padding:7px}
.house-comment{border-bottom:1px solid var(--line);padding:15px 0}.house-comment time{color:var(--muted);font-size:11px}
.house-detail-image{width:100%;max-height:670px;object-fit:cover}.house-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px;margin-top:30px}
.house-detail-panel{border:1px solid var(--line);padding:21px;position:sticky;top:126px}
.house-hero-img{width:100%;height:100%;object-fit:cover}.house-dash-stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px}
.house-dash-stat{border:1px solid var(--line);padding:20px}.house-dash-stat strong{display:block;font-size:28px;font-weight:600}.house-dash-stat span{font-size:12px;color:var(--muted)}
.house-calendar-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;min-width:630px}.house-calendar-day{border:1px solid var(--line);min-height:90px;padding:9px;font-size:11px}.house-calendar-event{background:#e9ece6;display:block;padding:5px;margin:5px 0;overflow-wrap:anywhere}
.house-calendar-scroll{overflow-x:auto}
.house-wordpress .footer .footer-grid>div>a{display:block;margin:8px 0;font-size:12px}.house-wordpress .footer .footer-grid>div>a.brand{display:flex}.house-wordpress .footer{padding-top:42px}
.house-wordpress .site-head nav.main-nav a{white-space:nowrap}
.house-drawer-open{overflow:hidden}
@media(max-width:1190px){.house-wordpress .photo-grid{columns:4 185px}.house-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.house-wordpress .photo-grid{columns:3 190px}.house-dash-frame{grid-template-columns:190px minmax(0,1fr)}.house-detail-layout{grid-template-columns:1fr}}
@media(max-width:760px){.house-wordpress .photo-grid{columns:2 140px;column-gap:12px}.house-dash-frame{display:block}.house-dash-nav{position:static;display:flex;flex-direction:row;overflow-x:auto;margin:0 0 24px}.house-dash-nav a{white-space:nowrap}.house-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.house-book-grid,.house-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.house-dash-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.house-form-row{grid-template-columns:1fr}}
@media(max-width:450px){.house-book-grid,.house-archive-grid{grid-template-columns:1fr}.house-dash-stat-grid{grid-template-columns:1fr}.house-detail-panel{position:static}.house-form-card{padding:15px}}

/* Native WordPress menu hierarchy, 1→2→3 */
.house-wordpress .main-nav{overflow:visible}.house-menu-item{position:relative;display:flex;align-items:center}
.house-menu-item>a{display:flex;align-items:center;gap:5px}.house-menu-plus{font-size:14px;line-height:1;color:#727a73;font-weight:500}
.house-submenu{display:none;position:absolute;left:0;top:100%;padding:10px 0 0;width:245px;background:transparent;z-index:99}
.house-submenu:before{content:"";position:absolute;left:0;right:0;top:0;height:12px}
.house-submenu>.house-menu-item{display:block;background:#fff;min-height:42px;border-left:1px solid #e6e8e4;border-right:1px solid #e6e8e4}
.house-submenu>.house-menu-item:first-child{border-top:1px solid #e6e8e4}.house-submenu>.house-menu-item:last-child{border-bottom:1px solid #e6e8e4}
.house-submenu>.house-menu-item>a{font-size:12px;padding:12px 15px;display:flex;justify-content:space-between;border-radius:0;white-space:normal}
.house-menu-item:hover>.house-submenu,.house-menu-item:focus-within>.house-submenu{display:block}
.house-submenu .house-submenu{left:100%;top:0;padding:0 0 0 4px}
.house-submenu .house-submenu:before{left:-5px;top:0;width:8px;height:100%;right:auto}
@media(max-width:1190px){.house-menu-item>a{padding:8px 6px}}

.house-mobile-branch summary{cursor:pointer;padding:13px 5px;border-bottom:1px solid var(--line);font-weight:600;display:flex;align-items:center;justify-content:space-between;list-style:none}
.house-mobile-branch summary::-webkit-details-marker{display:none}.house-mobile-branch[open]>summary span{transform:rotate(45deg)}
.house-mobile-branch-inner{padding-left:15px;background:#fafaf8}.house-mobile-branch>a{padding-left:15px;font-size:12px;color:var(--muted)}

.house-archive-grid .featured-project{height:300px}.house-archive-grid .featured-project img{width:100%;height:100%;object-fit:cover}
.house-archive-grid .featured-project .media-label{bottom:17px;left:18px}.house-archive-grid .featured-project .media-label h3{color:#fff}

/* HOUSE media importer — video previews and accessible cinema modal */
.house-video-glyph{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;line-height:1;border:1px solid rgba(255,255,255,.85);border-radius:50%;background:rgba(24,29,26,.75);color:#fff;font-size:23px;pointer-events:none;box-shadow:0 10px 26px rgba(0,0,0,.2)}
.photo-card .media,.story-card .media,.pro-card .cover,.featured-project,.house-detail-video-preview,.house-native-video-preview>a{position:relative}
.house-video-secondary{display:inline-block;color:#555e56;font-size:12px;text-decoration:underline;text-underline-offset:3px;margin:4px 0 10px}
.house-project-media{min-width:0}.house-project-media .featured-project{height:100%}
.house-detail-video-banner{margin:14px 0 32px;padding:0 0 24px;border-bottom:1px solid #ddd}.house-detail-video-banner h2{font-size:20px;line-height:1.4;margin:14px 0 0}.house-detail-video-banner h2 a{color:inherit;text-decoration:none}
.house-detail-video-preview{display:block;max-width:100%;background:#d9ddd9;min-height:210px;overflow:hidden;cursor:pointer}
.house-detail-video-preview img,.house-native-video-preview img{display:block;width:100%;max-height:520px;object-fit:cover}
.house-video-single{max-width:1000px;margin:auto}.house-video-single .house-detail-video-preview{aspect-ratio:16/9}.house-video-single img{height:100%;max-height:none;object-fit:cover}
.house-native-video-preview{margin:12px 0 28px}.house-native-video-preview>a{display:block;text-decoration:none;color:inherit}.house-native-video-preview strong{display:block;padding:12px 0}
.house-video-modal[hidden]{display:none!important}.house-video-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px;background:rgba(11,14,12,.87)}
.house-video-modal__panel{position:relative;width:min(100%,1060px);max-height:96vh;overflow:auto;padding:42px 16px 16px;background:#151a17;color:#fff;box-shadow:0 22px 90px rgba(0,0,0,.4)}
.house-video-modal__close{position:absolute;right:10px;top:7px;color:#fff;border:1px solid #929b91;background:transparent;width:38px;height:34px;cursor:pointer;font-size:23px}
.house-video-modal__title{margin:0 52px 12px 0;font-size:15px;font-weight:600;color:#fff}
.house-video-modal__frame{width:100%;aspect-ratio:16/9;background:black;display:grid;place-items:center}.house-video-modal__frame iframe,.house-video-modal__frame video{width:100%;height:100%}
body.house-video-open{overflow:hidden}
@media(max-width:600px){.house-video-modal{padding:8px}.house-video-modal__panel{padding:45px 8px 10px}.house-video-glyph{width:50px;height:50px;font-size:18px}}
