.home-nav{display:flex;gap:10px;margin:0 0 26px}.home-nav button{border:1px solid #ded7cd;border-radius:10px;background:#fff;color:#101c3b;padding:11px 18px;font-weight:800}.home-nav .cms-active{background:#101c3b;color:white}#homepageMediaView h1{font:700 40px Georgia,serif;margin:0}#homepageMediaView>p{color:#7b8491}#homepageMediaSlots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:26px 0}.home-slot{padding:20px;border:1px solid #e6e0d7;border-radius:17px;background:white;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.home-slot h2{font:700 20px Georgia,serif;margin:0}.home-preview{position:relative;display:grid;place-items:center;overflow:hidden;touch-action:none;cursor:grab;aspect-ratio:1.65;width:100%;border-radius:12px;background:#e9edf2;color:#7b8491}.home-preview:active{cursor:grabbing}.home-preview img{width:100%;height:100%;object-fit:cover;pointer-events:none;user-select:none}.home-slot input[type=file]{max-width:100%}.home-slot label{display:flex;align-items:center;gap:10px;font-size:12px}.home-slot input[type=range]{width:min(240px,45vw)}.home-tabs{display:flex;gap:6px}.home-tabs button{border:1px solid #ded7cd;background:#fff;border-radius:20px;padding:7px 15px}.home-tabs button[aria-pressed=true]{background:#101c3b;color:white}.home-feedback{color:#326849;font-size:12px}.home-slot .btn{margin-top:auto}@media(max-width:750px){#homepageMediaSlots{grid-template-columns:1fr}}
/* Slot previews approximate the corresponding public sections, not property cards. */
.home-slot[data-slot="hero"] .home-preview{aspect-ratio:16/9}
.home-slot[data-slot="headerLogo"] .home-preview,.home-slot[data-slot="footerLogo"] .home-preview{aspect-ratio:3.5/1;background:#f7f5f1}
.home-slot[data-slot="headerLogo"] .home-preview img,.home-slot[data-slot="footerLogo"] .home-preview img{object-fit:contain;padding:12px}
.home-slot[data-slot="kcRight"] .home-preview{aspect-ratio:1.1/1}
.home-slot[data-slot="kcLowerLeft"] .home-preview,.home-slot[data-slot="kcLowerRight"] .home-preview{aspect-ratio:1.7/1}
.home-slot[data-device="mobile"][data-slot="kcRight"] .home-preview{aspect-ratio:1.15/1}
.home-slot[data-device="mobile"][data-slot="kcLowerLeft"] .home-preview,.home-slot[data-device="mobile"][data-slot="kcLowerRight"] .home-preview{aspect-ratio:1.4/1}

/* Match the existing Properties image-upload button. */
.home-slot .home-file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.home-slot .home-upload{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:45px;padding:13px 18px;border-radius:10px;background:#101c3b;color:#fff;font-size:11px;font-weight:800;cursor:pointer;text-align:center;line-height:1.4}
.home-slot .home-upload:hover{background:#203559}
.home-slot .home-file-input:focus-visible + .home-upload{outline:3px solid #b69b7a;outline-offset:3px}
.home-slot .home-upload:has(+ .home-file-input:focus-visible){outline:3px solid #b69b7a;outline-offset:3px}
.home-slot .home-upload:has(+ .home-file-input:disabled){opacity:.5;cursor:wait}

/* Media Command: compact aligned controls and smaller previews. */
#homepageMediaSlots{gap:14px;margin:18px 0;align-items:start}
.home-slot{padding:16px;gap:9px;border-radius:14px;min-width:0}
.home-slot h2{font-size:17px;line-height:1.25}
.home-slot .home-preview{max-height:210px;min-height:105px;aspect-ratio:2/1}
.home-slot[data-slot="headerLogo"] .home-preview,.home-slot[data-slot="footerLogo"] .home-preview{height:100px;min-height:100px;aspect-ratio:auto}
.home-slot[data-slot="hero"] .home-preview{aspect-ratio:16/7;max-height:190px}
.home-slot[data-slot="kcRight"] .home-preview{aspect-ratio:1.7/1;max-height:210px}
.home-slot[data-slot="kcLowerLeft"] .home-preview,.home-slot[data-slot="kcLowerRight"] .home-preview{aspect-ratio:1.7/1;max-height:210px}
.home-slot[data-device="mobile"] .home-preview{aspect-ratio:1.4/1;max-height:210px}
.home-slot .home-upload{min-height:37px;padding:9px 12px}
.home-slot .home-tabs{margin:0}
.home-slot .home-tabs button{padding:5px 12px;font-size:11px}
.home-slot label{margin:0}
.home-slot .home-filters{display:grid;gap:8px;width:100%}
.home-slot .home-filter{display:grid;grid-template-columns:80px minmax(0,1fr) 42px;gap:8px;align-items:center;width:100%;font-size:11px}
.home-slot .home-filter input{width:100%;min-width:0;accent-color:#101c3b}
.home-slot .home-filter output{text-align:right;font-variant-numeric:tabular-nums}
.home-slot .home-video-row{display:grid;gap:9px;width:100%;padding:10px;background:#f7f5f1;border:1px solid #e6e0d7;border-radius:10px}
.home-slot .home-video-row video{width:100%;height:120px;object-fit:contain;background:#e9edf2;border-radius:8px}
.home-slot .home-video-row strong{font-size:12px}
.home-slot .home-feedback{min-height:14px}
.home-slot .btn.primary{margin:0}
@media(max-width:750px){#homepageMediaSlots{grid-template-columns:1fr}.home-slot .home-preview{max-height:240px}}

/* Website order, paired logos first: header and footer share the top row. */
#homepageMediaSlots>.home-slot[data-slot="headerLogo"]{order:1}
#homepageMediaSlots>.home-slot[data-slot="footerLogo"]{order:2}
#homepageMediaSlots>.home-slot[data-slot="hero"]{order:3}
#homepageMediaSlots>.home-slot[data-slot="kcRight"]{order:4}
#homepageMediaSlots>.home-slot[data-slot="kcLowerLeft"]{order:5}
#homepageMediaSlots>.home-slot[data-slot="kcLowerRight"]{order:6}
/* Consistent slider track, label and value alignment. */
.home-slot .home-zoom{display:grid;grid-template-columns:80px minmax(0,1fr) 42px;gap:8px;align-items:center;width:100%;font-size:11px}
.home-slot .home-zoom input[type=range]{width:100%;min-width:0;max-width:none;accent-color:#101c3b}
.home-slot .home-zoom output{text-align:right;font-variant-numeric:tabular-nums}

/* Exact website order, with the two Supply & Opportunity images side by side. */
#homepageMediaSlots>.home-slot[data-slot="headerLogo"]{order:1;grid-column:1/-1}
#homepageMediaSlots>.home-slot[data-slot="hero"]{order:2;grid-column:1/-1}
#homepageMediaSlots>.home-slot[data-slot="kcRight"]{order:3;grid-column:1/-1}
#homepageMediaSlots>.home-slot[data-slot="kcLowerLeft"]{order:4}
#homepageMediaSlots>.home-slot[data-slot="kcLowerRight"]{order:5}
#homepageMediaSlots>.home-slot[data-slot="footerLogo"]{order:6;grid-column:1/-1}
#homepageMediaSlots>.home-slot[data-slot="headerLogo"],
#homepageMediaSlots>.home-slot[data-slot="footerLogo"]{max-width:600px}
#homepageMediaSlots>.home-slot[data-slot="hero"]{max-width:850px}
#homepageMediaSlots>.home-slot[data-slot="kcRight"]{max-width:650px}
.home-slot[data-slot="kcRight"] .home-preview,
.home-slot[data-slot="kcLowerLeft"] .home-preview,
.home-slot[data-slot="kcLowerRight"] .home-preview{aspect-ratio:var(--actual-home-frame,1.5)!important;max-height:none!important;height:auto!important}
.home-slot[data-device="mobile"] .home-preview{aspect-ratio:var(--actual-home-frame,1.5)!important}
@media(max-width:750px){
 #homepageMediaSlots>.home-slot{grid-column:1/-1}
 #homepageMediaSlots>.home-slot[data-slot="headerLogo"],#homepageMediaSlots>.home-slot[data-slot="footerLogo"]{max-width:100%}
}

.home-slot .home-caption{display:flex;flex-direction:column;align-items:stretch;gap:7px;width:100%;margin:5px 0 0}
.home-slot .home-caption span{font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#827460}
.home-slot .home-caption input{display:block;box-sizing:border-box;width:100%;height:43px;padding:10px 12px;border:1px solid #d9d5cf;border-radius:10px;background:#fff;color:#101c3b;font:500 13px/1.3 system-ui,sans-serif}
.home-slot .home-caption input:focus{outline:2px solid #b8a894;outline-offset:1px}
#homepageMediaSlots>.home-slot[data-slot="favicon"]{order:7;grid-column:1/-1;max-width:600px}
.home-slot[data-slot="favicon"] .home-preview{height:96px;min-height:96px;aspect-ratio:auto;background:#f7f5f1}
.home-slot[data-slot="favicon"] .home-preview img{width:56px;height:56px;object-fit:contain}
