/* Q Platform v1.0.2 — WordPress compatibility layer. Source layout remains in source.css. */
html,body{font-family:Inter,Arial,sans-serif!important;font-weight:400}
button,input,select,textarea,.header,.footer{font-family:Inter,Arial,sans-serif!important}
h1,h2,h3,h4,h5,h6,strong,b,.btn{font-weight:600!important}

/* Logo = WordPress Site Identity only */
.q-site-logo{display:flex;align-items:center;flex:0 0 auto;min-width:42px}
.q-custom-logo{display:block;max-width:180px;max-height:44px;width:auto!important;height:auto!important;object-fit:contain}
.q-logo-text{font-size:35px;font-weight:600;letter-spacing:-.07em;line-height:1}

/* Exact source header behaviour, hardened for long desktop navigation */
.q-header{overflow:visible}
.q-source-nav{min-width:0;white-space:nowrap}
.q-source-nav .mega-menu{white-space:normal}
.q-source-nav .q-mega-places{left:-210px}
@media(max-width:1279px){.q-source-nav{display:none!important}.mobile-menu-btn{display:inline-flex!important}.header-search{margin-left:auto;min-width:min(360px,45vw)}}
@media(min-width:1280px){.mobile-menu-btn{display:none!important}}
@media(max-width:720px){.header-search{display:none!important}.header-inner>.icon-btn{margin-left:auto}.q-custom-logo{max-width:145px;max-height:38px}}

/* Breadcrumb is additional WP behaviour but deliberately quiet */
.q-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;color:#7b746b;padding-top:16px}
.q-breadcrumb a{color:inherit;text-decoration:none}

/* User requested smaller headings than source prototype */
.hero h1{font-size:clamp(42px,4.6vw,60px)!important;line-height:.98!important;letter-spacing:-.055em!important}
.page-hero h1,.catalog-hero h1,.directory-hero h1{font-size:clamp(36px,4.1vw,54px)!important;line-height:1!important;letter-spacing:-.05em!important}
.partner-hero h1{font-size:clamp(36px,4vw,52px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:16px 0!important}
.detail-info h1{font-size:clamp(34px,3.6vw,44px)!important;line-height:1.04!important}
.article-hero-v4 h1,.collection-copy h1,.history-hero h1,.people-hero h1{font-size:clamp(36px,4vw,52px)!important;line-height:1!important}
.section-head h2,.lux-section .section-head h2{font-size:clamp(26px,2.6vw,34px)!important;line-height:1.1!important}
.dark-band h2,.auction-hero h2,.q-manifesto h2{font-size:clamp(28px,3vw,38px)!important;line-height:1.05!important}
.heritage-head h2{font-size:clamp(28px,3vw,38px)!important}
.article h2,.article-content-v4 h2{font-size:clamp(24px,2.4vw,31px)!important}
.story-content h3{font-size:clamp(20px,2vw,26px)!important}

/* Dynamic media must preserve source card geometry */
.q-initial-thumb{width:100%;height:100%;min-height:100%;display:flex;align-items:center;justify-content:center;background:#ece7de;color:#857967;font-size:44px;font-weight:600;letter-spacing:-.06em}
.q-story-initial{position:absolute;inset:0;font-size:72px;background:#2d2d2d;color:#c8bfae}
.profile-list-card .profile-visual img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.article-cover-v4 .q-initial-thumb,.detail-image .q-initial-thumb{min-height:430px}
.detail-image .q-initial-thumb{min-height:560px}
.story-card>.q-initial-thumb,.story-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.place-row .thumb .q-initial-thumb{min-height:64px;font-size:18px}

/* Catalog: keep source card shape; requested 4/3/2 responsive columns */
.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.catalog-card .content>p{min-height:48px}
.catalog-card .cover .q-initial-thumb{aspect-ratio:4/3}
.catalog-pagination .page-numbers{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:50%;display:inline-grid;place-items:center;text-decoration:none;font-size:10px;margin:0 3px}
.catalog-pagination .current{background:var(--dark);color:#fff}
.q-people-list-grid{grid-template-columns:1fr 1fr!important}

/* Detail / form / WP content */
.q-richtext{font-size:14px;line-height:1.85;color:#514c45}
.q-richtext img{height:auto;border-radius:16px}
.q-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.q-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.q-faqs details{border-top:1px solid var(--line);padding:14px 0}.q-faqs summary{font-weight:600;cursor:pointer}
.q-video iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:18px}
.q-sticky-contact{position:sticky;top:104px}
.q-contact-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:16px}
.q-contact-card .q-contact-card{border:0;padding:0;background:transparent}
.q-contact-card h3{font-size:17px;margin:0 0 12px}
.q-contact-list{display:grid;gap:7px}.q-contact-list a,.q-contact-list>div{font-size:11px;text-decoration:none;border-bottom:1px solid var(--line);padding:8px 0;color:#5b554d}
.q-contact-form,.q-submit-form{display:grid;gap:10px}.q-contact-form input,.q-contact-form textarea,.q-submit-form input,.q-submit-form textarea,.q-submit-form select{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 12px;box-sizing:border-box}
.q-contact-form .btn,.q-submit-form .btn{justify-self:start}
.q-contact-bottom{max-width:780px}
.q-editable-page-section{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.q-editable-page-section img{width:100%;border-radius:22px}
.locator-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}

/* Default WordPress posts use source visual language */
.q-post-layout,.q-post-single{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:24px 0 54px}
.q-post-sidebar>*{position:sticky;top:96px}
.q-post-single article>h1{font-size:clamp(36px,4vw,52px);line-height:1;letter-spacing:-.05em;margin:14px 0 22px}
.q-post-hero{border-radius:24px;overflow:hidden;max-height:620px;margin:20px 0}.q-post-hero img{width:100%;height:100%;object-fit:cover}
.q-related-posts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.q-related-post{display:grid;grid-template-columns:90px 1fr;gap:11px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:9px;text-decoration:none;background:#fff}.q-related-post img,.q-related-post>.q-initial-thumb{width:90px;height:70px;min-height:70px;object-fit:cover;border-radius:9px}.q-related-post b{font-size:11px}.q-related-post span{display:block;font-size:9px;color:var(--muted);margin-top:5px}

/* Footer mobile = 2 columns as requested */
.q-footer-desc{font-size:12px;line-height:1.7;color:#b9c0c7;max-width:300px}
.q-mobile-bottom{display:none}
.q-floating-chat{position:fixed;right:18px;bottom:22px;z-index:130;background:#171717;color:#fff;text-decoration:none;padding:11px 15px;border-radius:999px;box-shadow:var(--shadow);font-size:11px;font-weight:600}

@media(max-width:1050px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .detail-sections{grid-template-columns:minmax(0,1fr) 280px}
}
@media(max-width:860px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .detail-hero,.detail-sections,.q-post-layout,.q-post-single,.q-editable-page-section,.locator-layout{grid-template-columns:1fr}
  .q-sticky-contact,.q-post-sidebar>*{position:static}
  .detail-image{min-height:420px}
  .q-gallery{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)!important;gap:28px 18px!important}.footer-grid>div:first-child{grid-column:1/-1}
  .q-mobile-bottom{position:fixed;left:0;right:0;bottom:0;z-index:120;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.q-mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;font-size:16px}.q-mobile-bottom span{font-size:9px}.footer{padding-bottom:78px}.q-floating-chat{bottom:72px;right:12px}
}
@media(max-width:620px){
  .shell{padding-left:16px!important;padding-right:16px!important}
  .topbar{font-size:9px;padding:7px 8px}
  .header-inner{height:66px}
  .hero{padding:48px 0 38px}.hero h1{font-size:34px!important}.hero-copy{grid-template-columns:1fr;gap:12px}.hero-copy p{font-size:15px}.hero-actions{justify-content:flex-start}
  .page-hero h1,.catalog-hero h1,.directory-hero h1,.partner-hero h1,.article-hero-v4 h1,.collection-copy h1{font-size:32px!important}
  .section-head h2,.lux-section .section-head h2{font-size:26px!important}.section-head{gap:12px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .q-people-list-grid{grid-template-columns:1fr!important}
  .catalog-card .content{padding:12px}.catalog-card h3{font-size:15px}.catalog-card p{font-size:9.5px}.catalog-card .content>p{min-height:46px}.catalog-card .price strong{font-size:11px}
  .type-grid{grid-template-columns:repeat(2,1fr)!important}.type-card{min-height:170px;padding:16px}.type-card h3{font-size:20px}.type-card p{font-size:10px}
  .masonry{grid-template-columns:1fr!important}.story-card,.story-card.tall{min-height:400px}
  .directory-cats{grid-template-columns:1fr 1fr!important}
  .place-panorama{grid-template-columns:1fr!important}
  .q-manifesto{grid-template-columns:1fr!important}.q-manifesto .big-q{font-size:120px!important}
  .standard-grid{grid-template-columns:1fr!important}.standard-card{min-height:190px}.standard-card h3{margin-top:28px}
  .detail-image,.detail-image .q-initial-thumb{min-height:340px}.detail-info h1{font-size:32px!important}.detail-actions{flex-wrap:wrap}.spec{grid-template-columns:110px 1fr}
  .collection-hero{min-height:430px}.collection-copy{left:22px;right:22px;bottom:24px}
  .q-related-posts{grid-template-columns:1fr 1fr}.q-related-post{grid-template-columns:1fr}.q-related-post img,.q-related-post>.q-initial-thumb{width:100%;height:95px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.footer-grid>div:first-child{grid-column:1/-1}.footer h4{font-size:9px}.footer a{font-size:10px}
}
.q-dash-logo-img{display:block;max-width:72px;max-height:42px;width:auto;height:auto;object-fit:contain}
