/* Shared staging logistics detail layout; homepage and archives are excluded. */
body.swl-header-pilot .swl-pilot-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 42px 0 34px;
    letter-spacing: 0;
}
body.swl-header-pilot #titlebar.listing-titlebar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
}
body.swl-header-pilot #titlebar .listing-logo {
    position: static;
    display: flex;
    flex: 0 0 192px;
    align-items: center;
    justify-content: center;
    width: 192px;
    height: 128px;
    margin: 0;
    padding: 14px;
    border: 1px solid #e3e6e9;
    border-radius: 4px;
    background: #fff;
    float: none;
}
body.swl-header-pilot #titlebar .listing-logo.swl-logo-dark {
    background: #263238;
    border-color: #263238;
}
body.swl-header-pilot #titlebar .listing-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}
body.swl-header-pilot #titlebar .listing-titlebar-title {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
}
body.swl-header-pilot #titlebar .listing-titlebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 12px;
}
body.swl-header-pilot #titlebar span.listing-tag {
    max-width: 100%;
    margin: 0;
    padding: 5px 14px;
    white-space: normal;
    line-height: 1.6;
    overflow-wrap: anywhere;
    border-color: #0690ff;
}
body.swl-header-pilot #titlebar span.listing-tag a { color: #fff; }
body.swl-header-pilot #titlebar span.listing-tag a:hover { text-decoration: underline; }
body.swl-header-pilot #titlebar h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
body.swl-header-pilot #titlebar .listing-address {
    display: inline;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.swl-header-pilot #titlebar .star-rating,
body.swl-header-pilot #titlebar .numerical-rating { margin-top: 12px; }
body.swl-header-pilot .swl-pilot-bookmark .listing-share {
    padding: 0;
    margin: 0 !important;
    width: auto;
}
body.single-listing.swl-header-pilot .swl-pilot-bookmark .listing-share button,
body.single-listing.swl-header-pilot .swl-pilot-bookmark .listing-share a.like-button-notlogged {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    width: auto;
    min-width: 144px;
    margin: 0;
    padding: 10px 18px;
    color: #333 !important;
    background: #fff !important;
    border: 1px solid #dce1e6 !important;
    box-shadow: none;
    white-space: nowrap;
    line-height: 1.5;
}
body.swl-header-pilot .swl-pilot-bookmark button:hover,
body.swl-header-pilot .swl-pilot-bookmark button:focus-visible { border-color: #0690ff !important; }
body.swl-header-pilot .swl-pilot-bookmark .like-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    color: #ec4160;
    background: transparent;
    line-height: 22px;
    transform: none;
}
body.swl-header-pilot .swl-pilot-bookmark #bookmarks-counter { display: block; text-align: center; }
body.swl-header-pilot .listeo-single-listing-sidebar.margin-top-75 { margin-top: 0 !important; }
body.swl-header-pilot .swl-detail-gallery { margin: 0 0 32px; min-width: 0; }
body.swl-header-pilot .swl-gallery-stage { position: relative; width: 100%; min-width: 0; }
body.swl-header-pilot .swl-gallery-stage:not(.slick-initialized) .swl-gallery-slide:not(:first-child) { display: none; }
body.swl-header-pilot .swl-gallery-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 460px;
    max-height: 60vh;
    background: #f7f8fa;
    border-radius: 6px;
    overflow: hidden;
}
body.swl-header-pilot .swl-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
body.swl-header-pilot .swl-gallery-cover img { object-fit: cover; object-position: center 60%; }
body.swl-header-pilot .swl-gallery-thumbs {
    display: flex;
    position: relative;
    gap: 10px;
    width: 100%;
    padding: 12px 0 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}
body.swl-header-pilot button.swl-gallery-thumb {
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 68px;
    padding: 2px;
    margin: 0;
    background: #fff;
    border: 2px solid #e3e6e9;
    border-radius: 4px;
    box-shadow: none;
    overflow: hidden;
}
body.swl-header-pilot .swl-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
body.swl-header-pilot button.swl-gallery-thumb[aria-pressed="true"],
body.swl-header-pilot button.swl-gallery-thumb:focus-visible { border-color: #0690ff; outline-offset: 2px; }
body.swl-header-pilot button.swl-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid #dce1e6;
    border-radius: 50%;
    background: #fff;
    color: #333;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
body.swl-header-pilot .swl-gallery-prev { left: 12px; }
body.swl-header-pilot .swl-gallery-next { right: 12px; }
body.swl-header-pilot button.swl-gallery-arrow.slick-disabled { opacity: 0.35; cursor: default; }
body.swl-header-pilot button.swl-gallery-arrow:focus-visible { outline: 2px solid #0690ff; outline-offset: 2px; }
@media (min-width: 768px) and (max-width: 991px) {
    body.swl-header-pilot .swl-gallery-slide a { height: 340px; }
}
@media (max-width: 991px) {
    body.swl-header-pilot .swl-pilot-header { gap: 18px; }
    body.swl-header-pilot #titlebar.listing-titlebar { gap: 18px; }
    body.swl-header-pilot #titlebar .listing-logo { flex-basis: 140px; width: 140px; height: 110px; }
    body.swl-header-pilot #titlebar h1 { font-size: 25px; }
}
@media (max-width: 767px) {
    body.swl-header-pilot .swl-pilot-header { grid-template-columns: minmax(0, 1fr); padding: 24px 0; gap: 18px; }
    body.swl-header-pilot #titlebar.listing-titlebar { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
    body.swl-header-pilot #titlebar .listing-logo { flex-basis: 132px; width: 132px; height: 88px; aspect-ratio: auto; }
    body.swl-header-pilot #titlebar .listing-titlebar-title { flex-basis: 100%; }
    body.swl-header-pilot #titlebar h1 { font-size: 24px; }
    body.swl-header-pilot .swl-pilot-bookmark { justify-self: start; }
    body.swl-header-pilot .swl-detail-gallery { margin-bottom: 24px; }
    body.swl-header-pilot .swl-gallery-slide a { height: auto; aspect-ratio: 1.65; max-height: none; }
    body.swl-header-pilot button.swl-gallery-thumb { flex-basis: 76px; width: 76px; height: 54px; }
    body.swl-header-pilot .swl-gallery-prev { left: 6px; }
    body.swl-header-pilot .swl-gallery-next { right: 6px; }
}
