body.dw-shell {
    /* Keep the Weather header and shell on the configured Publisher width. */
    --dw-width: var(--publisher-site-width, 1340px);
    --dw-gutter: 10px;
}
.dw-shell .dw-page {
    width: 100%;
    max-width: var(--dw-width);
    margin-inline: auto;
}
.dw-shell .site-header.dw-publisher-header {
    background: #fff;
}
.dw-shell .dw-publisher-header .topbar .container {
    max-width: var(--dw-width);
    width: 100%;
    padding-inline: var(--dw-gutter);
}
.dw-shell .dw-publisher-brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 60px;
    gap: 8px 16px;
    padding-block: 4px;
}
.dw-shell .dw-publisher-brand-row .logo {
    margin: 0;
    line-height: 1;
}
.dw-shell .dw-publisher-brand-row .logo img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}
.dw-shell .dw-publisher-brand-row .dw-publisher-menu-action {
    position: static;
    width: auto;
    height: auto;
}
.dw-shell .dw-publisher-brand-row .dw-publisher-menu-action .off-canvas-menu-icon {
    position: relative;
    inset: auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--publisher-header-menu-text-color, #313131);
    cursor: pointer;
}
.dw-shell .dw-publisher-brand-row .off-canvas-menu-icon .off-canvas-menu-icon-el {
    width: 20px;
    margin: 0;
}
.dw-shell .dw-publisher-brand-row .off-canvas-menu-icon .off-canvas-menu-icon-el::before,
.dw-shell .dw-publisher-brand-row .off-canvas-menu-icon .off-canvas-menu-icon-el::after {
    left: 0;
    width: 100%;
}
.dw-shell .dw-publisher-brand-row .off-canvas-menu-icon:is(:hover,:focus,:active) {
    background: transparent;
}
.dw-shell .dw-publisher-tools {
    position: relative;
    z-index: 10;
    background: #fff;
}
.dw-shell .dw-publisher-tools .dw-primary-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 0;
}
.dw-shell .dw-publisher-tools .dw-primary-menu a {
    min-height: 36px;
}
.dw-shell .dw-publisher-tools .dw-primary-menu a:is(:hover,[aria-current=location]),
.dw-shell .dw-publisher-tools .dw-primary-menu li:last-child a {
    border-bottom-color: transparent;
    text-decoration: none;
}
.dw-shell .dw-publisher-tools .dw-catalog-city-search {
    display: block;
    position: relative;
    z-index: 4;
}
.dw-shell .dw-catalog-city-search .dw-city-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.dw-shell .dw-catalog-city-search input.dw-city-input { padding-inline: 12px; width: 100%; }
.dw-shell .dw-catalog-city-search .dw-search-results {
    position: absolute;
    inset: calc(100% + 4px) 0 auto;
    z-index: 50;
    background: #fff;
    border: 1px solid #d3dfe7;
    border-radius: 8px;
    padding: 6px;
    max-height: min(360px, 50vh);
    overflow-y: auto;
    box-shadow: 0 12px 24px #243f561c;
}
.dw-shell .dw-catalog-city-search .dw-search-results[hidden] { display: none; }
.dw-shell .dw-catalog-city-search .dw-search-results a { display: block; padding: 8px; }
.dw-shell .dw-catalog-city-search .dw-search-results a:hover { background: #edf4f8; }
.dw-shell .dw-publisher-tools .dw-header-search-slot {
    display: block;
    flex: 1 1 240px;
    margin-inline-start: auto;
}
.dw-js .dw-shell .dw-publisher-tools .dw-header-search-slot:not(.is-open) {
    display: block;
}
.dw-shell .dw-publisher-tools .dw-header-search-slot .dw-search-wrap { position: relative; }
.dw-shell .dw-publisher-tools .dw-header-search-slot input.dw-city-input {
    height: 36px;
    min-height: 36px;
}
.dw-shell .dw-publisher-tools .dw-header-search-slot :is(.dw-find, .dw-geo, .dw-header-search-fallback) {
    height: 36px;
    min-height: 36px;
}
.dw-shell .dw-publisher-tools .dw-header-search-slot .dw-search-icon {
    top: 8px;
}
/* Bring the city shortcuts closer to the header without shrinking the mobile controls. */
.dw-shell .dw-page > .content-wrap > .container:has(.dw-quick--major) {
    padding-top: 10px;
}
.dw-shell .dw-quick-navigation .dw-quick--related {
    margin-top: 5px;
    padding-top: 5px;
}
@media (min-width: 721px) {
    .dw-shell .dw-quick-navigation .dw-quick a {
        padding-block: 3px;
    }
}
@media (max-width: 991px) {
    body.dw-shell { --dw-gutter: 15px; }
    body.dw-shell .site-header.dw-publisher-header { display: block; }
    .dw-shell .dw-publisher-header .topbar,
    .dw-shell .dw-publisher-brand-row > :is(.site-branding, .dw-publisher-menu-action) { display: none; }
    .dw-shell .dw-publisher-brand-row { flex-wrap: wrap; min-height: 0; }
}
@media (min-width: 992px) {
    .dw-shell .dw-publisher-brand-row { height: 60px !important; }
}
@media (max-width: 700px) {
    .dw-shell .dw-publisher-tools .dw-publisher-quick { width: 100%; }
    .dw-shell .dw-publisher-tools .dw-header-search-slot { flex-basis: 100%; }
    .dw-shell .dw-publisher-tools .dw-primary-menu { gap: 0 clamp(6px, 2vw, 14px); }
    .dw-shell .dw-publisher-tools .dw-primary-menu a { min-height: 36px; }
}

/* Keep the native mobile header available where Weather hides the desktop controls. */
@media (min-width: 701px) and (max-width: 991px) {
    body.dw-shell .rh-header { display: block; }
}
