.legacy-description {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 118px;
    align-items: center;
    column-gap: 24px;
    min-height: 74px;
    margin: 0 0 34px;
    padding: 14px 58px 14px 24px;
    position: relative;
}

.legacy-description:before {
    position: static;
    grid-column: 1;
    justify-self: center;
    margin: 0;
    transform: scale(0.78);
    transform-origin: center;
}

.legacy-description:after {
    content: none;
    display: none;
}

.legacy-description h1 {
    grid-column: 2;
    grid-row: 1;
    display: block;
    align-self: center;
    height: auto;
    min-height: 0;
    overflow: visible;
    margin: 0;
    font-size: 18px;
    line-height: 23px;
    font-weight: normal;
    color: #153245;
}

.legacy-description h1 strong {
    white-space: nowrap;
}

.legacy-description h1 span:before {
    content: '- ';
}

.legacy-description .tours {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    float: none;
    width: 60px;
    height: 64px;
    list-style: none;
    margin: 0;
    transform: scale(0.82);
    transform-origin: center;
}

.legacy-description .tours li {
    margin: 0 0 6px;
}

.legacy-description .legacy-description-close {
    right: 18px;
    top: 13px;
}

.support-ukraine-banner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    min-height: 30px;
    padding: 6px 14px;
    background: rgba(244, 250, 255, .68);
    border-bottom: 1px solid rgba(150, 184, 207, .32);
    color: #4a7089;
    font-size: 13px;
    line-height: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .28);
}

.support-ukraine-banner:hover,
.support-ukraine-banner:focus {
    color: #1b587b;
    background: rgba(238, 248, 255, .78);
}

.support-ukraine-banner[hidden],
.support-ukraine-banner-dismissed .support-ukraine-banner {
    display: none;
}

.support-ukraine-flag {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 22px;
    height: 14px;
    overflow: hidden;
    border: 1px solid rgba(74, 112, 137, .35);
    border-radius: 2px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}

.support-ukraine-flag span {
    display: block;
    flex: 1 1 50%;
}

.support-ukraine-flag span:first-child {
    background: #2d8bd4;
}

.support-ukraine-flag span:last-child {
    background: #ffd84a;
}

.about-audience-two {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 288px));
    justify-content: center;
    gap: 34px 58px;
    overflow: visible;
}

.for-whom .about-audience-two section,
.for-whom .about-audience-two section:first-child {
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    float: none;
    margin: 0;
}

.for-whom .about-audience-two section h2,
.for-whom .about-audience-two section p {
    overflow-wrap: anywhere;
}

.about-audience-two--two {
    grid-template-columns: repeat(2, minmax(0, 288px));
}

.legacy-flash {
    margin: 0 0 18px;
    padding: 12px 18px;
    background: #fcf6db url(../img/bg-optional.png);
    border: 1px solid #ebdebf;
    border-radius: 6px;
    color: #153245;
    font-weight: bold;
}

.legacy-flash-error {
    background: #fff1f1;
    border-color: #e3a3a8;
    color: #a41f2b;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.popup.contact textarea {
    min-height: 118px;
    height: 118px;
    max-width: 100%;
    padding: 8px 10px;
    resize: vertical;
    border: 1px solid #b8d0e0;
    border-top-color: #9db8ca;
    border-bottom-color: #c4dae9;
    border-radius: 4px;
    background: #cee1ed url(../img/bg-input.png) 0 100% repeat-x;
    box-sizing: border-box;
    box-shadow: 0 1px 1px #b3c8d6 inset, 0 1px 0 #fff;
    color: #4a7089;
}

.header .admin-main-nav {
    clear: both;
    max-width: 980px;
    margin: 28px auto 0;
    padding: 10px 12px;
    border: 1px solid #c7dce9;
    border-radius: 6px;
    background: rgba(238, 247, 252, .82);
    box-shadow: 0 1px 2px rgba(104, 139, 160, .2);
    text-align: center;
}

.header .admin-main-nav a {
    display: inline-block;
    margin: 3px 2px;
    padding: 7px 10px;
    border-radius: 4px;
    color: #3d6f8e;
    font-weight: bold;
    text-decoration: none;
}

.header .admin-main-nav a.active,
.header .admin-main-nav a:hover {
    background: #2378b8;
    color: #fff;
}

.admin-coverage-map {
    max-width: 1120px;
}

.admin-coverage-map-intro {
    max-width: 760px;
    color: #597386;
}

.admin-coverage-map-summary {
    margin: 0 0 10px;
    color: #46677b;
    font-weight: bold;
}

.admin-coverage-map-canvas {
    width: 100%;
    height: min(68vh, 680px);
    min-height: 420px;
    border: 1px solid #b9d2e1;
    border-radius: 7px;
    background: #eaf3f8;
    box-shadow: 0 2px 8px rgba(35, 79, 104, .16);
}

.admin-coverage-map-count {
    min-width: 22px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-shadow: 0 1px 2px rgba(18, 54, 75, .9);
}

.admin-coverage-map-count:before {
    display: none;
}

.popup.contact input[type='submit']:disabled {
    cursor: default;
    opacity: .72;
}

.popup.contact.sent input,
.popup.contact.sent textarea {
    cursor: default;
}

.contact-status {
    clear: both;
    margin: 12px 0 0;
    padding: 10px 12px;
    border: 1px solid #c8dbe8;
    border-radius: 5px;
    background: #eef7fc;
    color: #153245;
    font-weight: bold;
    line-height: 18px;
}

.contact-status.success {
    border-color: #b7d28b;
    background: #f3f8e8;
}

.contact-status.error {
    border-color: #e3a3a8;
    background: #fff1f1;
    color: #a41f2b;
}

.contact-status.info {
    border-color: #d7c992;
    background: #fff9ce;
}

.popup.contact .row.has-error input,
.popup.contact .row.has-error textarea {
    border-color: #e3a3a8;
    box-shadow: 0 0 0 2px rgba(227, 163, 168, .35), 0 1px 1px #b3c8d6 inset;
}

.legacy-posting-form .row.has-error input,
.legacy-posting-form .row.has-error textarea,
.legacy-posting-form .row.has-error select,
.legacy-posting-form .row.has-error .jcf-select,
.legacy-posting-form .row.has-error .file-area {
    border-color: #e72e39 !important;
    box-shadow: 0 0 0 2px rgba(231, 46, 57, .25), 0 1px 2px #aac3d3 inset !important;
}

.legacy-posting-form .row.has-error ul {
    clear: both;
    margin: 6px 0 0;
    padding: 6px 10px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    background: #e72e39;
    border-radius: 5px;
    list-style: none !important;
    list-style-type: none !important;
}

.legacy-posting-form .row.has-error li {
    margin: 0;
    padding: 0;
    list-style: none !important;
    list-style-type: none !important;
}

.legacy-character-counter {
    display: block;
    clear: both;
    margin: 5px 4px 0;
    color: #82a1b5;
    font-size: 11px;
    line-height: 14px;
    text-align: right;
}

.legacy-character-counter.is-over-limit {
    color: #d72a35;
    font-weight: bold;
}

.legacy-empty {
    min-height: 80px;
}

.legacy-lead {
    color: #82a1b5;
    font-size: 15px;
    line-height: 21px;
    margin: 8px auto 24px;
    max-width: 620px;
}

.legacy-form {
    width: 650px;
    margin: 0 auto 50px;
}

.legacy-form .row {
    margin: 0 0 17px;
}

.legacy-form label {
    display: block;
    color: #153245;
    font-weight: bold;
    margin: 0 0 7px;
}

.legacy-form ul {
    list-style: none;
    margin: 5px 0 0;
    color: #d72a35;
    font-size: 12px;
}

.legacy-form textarea {
    min-height: 82px;
    resize: vertical;
}

.legacy-form .full textarea {
    min-height: 180px;
}

.legacy-form .btn-blue {
    border: 1px solid #3087b2;
}

/* Every actionable control advertises clickability; disabled controls retain
   the standard arrow so they are not mistaken for available actions. */
button:not(:disabled),
input[type='submit']:not(:disabled),
input[type='button']:not(:disabled),
input[type='reset']:not(:disabled),
.btn-blue:not(:disabled),
.btn-green:not(:disabled) {
    cursor: pointer;
}

button:disabled,
input[type='submit']:disabled,
input[type='button']:disabled,
input[type='reset']:disabled,
.btn-blue:disabled,
.btn-green:disabled {
    cursor: default;
}

.account-edit-actions,
.add-item .button.account-edit-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 42px auto 10px;
    max-width: 520px;
    text-align: center;
}

.account-edit-actions:after {
    content: none;
    display: none;
}

.account-edit-actions .account-edit-submit,
.add-item .button.account-edit-actions .account-edit-submit {
    box-sizing: border-box;
    display: inline-flex;
    float: none;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    width: 420px;
    max-width: 420px;
    height: 42px;
    padding: 0 14px 3px;
    line-height: 38px;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .account-edit-actions,
    .add-item .button.account-edit-actions {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .account-edit-actions .account-edit-back-link {
        grid-column: 1;
        justify-self: center;
        order: 2;
    }

    .account-edit-actions .account-edit-submit,
    .add-item .button.account-edit-actions .account-edit-submit {
        grid-column: 1;
        width: 100%;
        order: 1;
    }
}

.account-edit-actions .account-edit-back-link {
    grid-column: 1;
    justify-self: start;
    color: #4b6f88;
    font: bold 14px/20px Arial, Helvetica, sans-serif;
    text-decoration: underline;
}

.account-listing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 10px;
}

.account-listing-actions .btn-green.small {
    height: 22px;
    min-width: 86px;
    padding: 0 10px;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
}

.account-listing-actions .btn-green.small:hover,
.account-listing-actions .btn-green.small:focus {
    color: #fff;
    text-decoration: none;
}

.account-listing-card {
    margin-bottom: 0;
}

.account-listing-controls {
    margin: 0 0 22px;
    padding: 14px 18px 12px;
    border: 1px solid #d7e5ed;
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #f7fbfd;
    color: #516c7d;
}

.account-listing-control-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 14px;
}

.account-listing-control-summary strong {
    color: #385d75;
}

.account-listing-control-summary a {
    white-space: nowrap;
}

.account-listing-controls .listing-analytics {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 3px 10px;
    margin: 8px 0 0;
}

.account-listing-controls .listing-analytics dt,
.account-listing-controls .listing-analytics dd {
    float: none;
    margin: 0;
}

@media (max-width: 560px) {
    .account-listing-controls {
        padding: 12px;
    }

    .account-listing-control-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

.s-info.account-map-active,
.s-info.listing-map-active {
    background: #fff9ce;
}

.sorting li.no-arrow:before {
    display: none;
}

.listing-contact-filters {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: center;
    margin: 10px 0;
    font: 12px/18px Arial, Helvetica, sans-serif;
}

.listing-contact-filters label,
.listing-contact-filters a {
    white-space: nowrap;
}

.listing-contact-filters.is-loading {
    opacity: 0.64;
}

.listing-contact-filters .listing-filter-clear {
    padding: 0;
    border: 0;
    background: none;
    color: #4b6f88;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.listing-contact-filters .listing-filter-clear.hidden {
    display: none;
}

#sidebar figure.map iframe.legacy-google-map,
.listing-results-sidebar figure.map iframe.legacy-google-map {
    width: 100%;
    max-width: none;
    height: 420px;
}

#sidebar figure.map iframe.legacy-google-map.is-hidden,
.listing-results-sidebar figure.map iframe.legacy-google-map.is-hidden {
    display: none;
}

.legacy-editable-map {
    width: 289px;
    height: 220px;
    overflow: hidden;
    border: 1px solid #d8c98e;
    background: #f5ecd0;
}

.legacy-editable-map .legacy-google-map,
.legacy-google-map-canvas {
    display: block;
    width: 289px;
    height: 220px;
    border: 0;
}

#sidebar figure.map .listing-results-map-canvas,
.listing-results-sidebar figure.map .listing-results-map-canvas {
    width: 100%;
    max-width: none;
    height: 420px;
}

.legacy-map-pin {
    position: relative;
    width: 26px;
    height: 26px;
    background: transparent;
}

.legacy-map-pin-image {
    filter: drop-shadow(0 1px 2px rgba(19, 49, 68, 0.28));
}

.legacy-map-pin:before {
    position: absolute;
    left: 3px;
    top: 0;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #d92735;
    box-shadow: 0 1px 4px rgba(19, 49, 68, 0.4);
    content: "";
}

.legacy-map-pin:after {
    position: absolute;
    left: 8px;
    top: 17px;
    width: 0;
    height: 0;
    border-width: 8px 5px 0;
    border-style: solid;
    border-color: #d92735 transparent transparent;
    content: "";
    filter: drop-shadow(0 1px 1px rgba(19, 49, 68, 0.28));
}

.legacy-map-pin-compact {
    width: 18px;
    height: 18px;
}

.legacy-map-pin-compact:before {
    left: 0;
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.legacy-map-pin-compact:after {
    left: 5px;
    top: 13px;
    border-width: 6px 4px 0;
}

.legacy-map-pin.is-active {
    z-index: 1000 !important;
}

.legacy-map-pin-image.is-active {
    filter: hue-rotate(165deg) saturate(1.45) brightness(1.08) drop-shadow(0 2px 5px rgba(19, 49, 68, 0.42));
    z-index: 1000 !important;
    animation: legacy-map-marker-glow 0.7s ease-out;
}

@keyframes legacy-map-marker-glow {
    0% { opacity: 0.72; }
    100% { opacity: 1; }
}

@keyframes legacy-map-marker-pulse {
    0% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-8px) scale(1.12); }
    100% { transform: translateY(0) scale(1); }
}

.legacy-map-pin.is-active:before {
    background: #2aa7ee;
    box-shadow: 0 2px 8px rgba(19, 49, 68, 0.55);
    animation: legacy-map-marker-pulse 0.7s ease-out;
}

.legacy-map-pin.is-active:after {
    border-top-color: #2aa7ee;
}

.listing-show-more.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

@media (min-width: 768px) {
    aside.l-wrapp.listing-results-sidebar {
        position: sticky;
        top: 14px;
        z-index: 2;
        align-self: flex-start;
    }

    aside.l-wrapp.listing-results-sidebar figure.map[data-listing-map-sidebar] {
        position: static;
        top: auto;
    }
}

aside .logo .listing-logo-image,
.s-info figure .listing-result-logo {
    display: inline-block;
    width: auto;
    height: auto;
    object-fit: contain;
}

aside .logo .listing-logo-image {
    max-width: 289px;
    max-height: 289px;
}

.listing-address-map-link {
    background: url(../img/bg-dashed.png) 0 100% repeat-x;
    text-decoration: none;
}

.expired-listing-card {
    min-height: 330px;
}

.expired-listing-card .text {
    padding-top: 12px;
}

.expired-listing-notice {
    color: #6f8798;
    margin: 18px 0 10px;
}

.expired-listing-details {
    opacity: .82;
}

.expired-listing-details .meta {
    display: block;
}

.expired-skeleton-row {
    min-height: 23px;
}

.expired-skeleton,
.expired-listing-copy span {
    display: inline-block;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, #dce5eb 0%, #edf2f5 50%, #dce5eb 100%);
    background-size: 220% 100%;
    animation: expired-listing-shimmer 1.5s ease-in-out infinite;
    vertical-align: middle;
}

.expired-skeleton-address { width: 230px; }
.expired-skeleton-website { width: 185px; }
.expired-skeleton-phone { width: 145px; }
.expired-skeleton-hours { width: 112px; }

.expired-skeleton-social {
    gap: 6px;
    opacity: .65;
}

.expired-skeleton-social span {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dce5eb;
}

.expired-listing-copy {
    display: grid;
    gap: 8px;
    max-width: 540px;
}

.expired-listing-copy span:nth-child(1) { width: 100%; }
.expired-listing-copy span:nth-child(2) { width: 86%; }
.expired-listing-copy span:nth-child(3) { width: 62%; }

.expired-listing-categories {
    opacity: .9;
}

.expired-listing-category-lead {
    margin: 0 0 10px;
    color: #526f82;
    font-weight: bold;
}

.expired-listing-categories .categories dt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 0;
}

.expired-listing-categories .categories dt:before {
    display: none;
}

.expired-listing-category-arrow {
    color: #7898ad;
    font-weight: bold;
}

@keyframes expired-listing-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.btn-green.btn-action {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 262px;
    height: 40px;
    margin: 0;
    padding: 0 12px;
    border-color: #548509;
    background: linear-gradient(#8ec540, #5b900d);
    color: #fff;
    line-height: 18px;
    text-decoration: none;
}

.btn-green.btn-action:hover,
.btn-green.btn-action:focus,
.btn-green.btn-action:active {
    background: linear-gradient(#9ed94b, #679f13);
    color: #fff;
    text-decoration: none;
}

.expired-listing-restore {
    margin-left: 0;
}

.btn-green:hover,
.btn-green:focus,
.expired-listing-restore:hover,
.expired-listing-restore:focus {
    color: #fff;
    text-decoration: none;
}

.expired-listing-map-sidebar {
    margin-bottom: 0;
}

.expired-listing-map-placeholder {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border-radius: 3px;
    background: linear-gradient(135deg, #dbe8ef, #edf3f6);
}

.expired-listing-map-mask {
    position: absolute;
    left: 50%;
    top: 50%;
    box-sizing: border-box;
    width: 190px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 5px;
    background: rgba(43, 73, 91, .78);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    transform: translate(-50%, -50%);
}

.admin-two-factor {
    box-sizing: border-box;
    width: 520px;
    max-width: calc(100vw - 24px);
    padding: 0 34px 30px;
    background: linear-gradient(145deg, #fafdff 0%, #eff7fb 100%);
}

.admin-two-factor-header {
    margin: 0 -34px 24px;
    padding: 24px 34px 20px;
    border-bottom: 1px solid #c8dce8;
    background: rgba(214, 232, 242, .58);
    text-align: center;
}

.admin-two-factor-header > span {
    display: inline-block;
    margin-bottom: 7px;
    padding: 3px 9px;
    border-radius: 10px;
    background: #4a7089;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.admin-two-factor h1 {
    margin: 0;
    color: #234b66;
    font-size: 25px;
    line-height: 1.15;
}

.admin-two-factor-lead,
.admin-two-factor-notice,
.admin-two-factor-steps,
.admin-two-factor-secret-panel,
.admin-two-factor-code-field {
    margin: 0 0 18px;
}

.admin-two-factor-notice {
    padding: 14px 16px;
    border: 1px solid #d9c77f;
    border-radius: 4px;
    background: #fff9dc;
    color: #4d5e68;
}

.admin-two-factor-notice p { margin: 5px 0 0; }

.admin-two-factor-steps {
    padding: 0;
    list-style: none;
}

.admin-two-factor-steps li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px;
}

.admin-two-factor-steps li > span {
    display: inline-flex;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #5c8dad;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.admin-two-factor-steps p { margin: 1px 0 0; }

.admin-two-factor-secret-panel {
    padding: 13px 15px;
    border: 1px solid #b9d1df;
    border-radius: 4px;
    background: #fff;
}

.admin-two-factor-secret-panel > span {
    display: block;
    margin-bottom: 6px;
    color: #6f8798;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.admin-two-factor-secret {
    overflow-wrap: anywhere;
    font-size: 1.15em;
}

.admin-two-factor-secret-panel code {
    display: block;
    overflow-wrap: anywhere;
    color: #234b66;
    font-size: 17px;
    letter-spacing: .04em;
}

.admin-two-factor-open-app { margin: -8px 0 22px; text-align: center; }

.admin-two-factor-qr { margin: 0 auto 18px; text-align: center; }
.admin-two-factor-qr img { display: block; max-width: 100%; height: auto; margin: 0 auto 8px; border: 1px solid #b9d1df; background: #fff; }
.admin-two-factor-qr figcaption { color: #6f8798; font-size: .9em; }

.admin-two-factor-code-field label {
    display: block;
    margin-bottom: 7px;
    color: #4a7089;
    font-weight: bold;
}

.admin-two-factor-code-field input {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #9dbdce;
    border-radius: 4px;
    background: #fff;
    color: #234b66;
    font-family: monospace;
    font-size: 22px;
    letter-spacing: .18em;
    text-align: center;
}

.admin-two-factor-action { margin: 22px 0 0; text-align: center; }

/* Admin button contract: blue is navigation/neutral work, green is a positive
   state change, red is destructive. These controls do not use legacy image
   sprites, whose fixed-height tiles caused white clipped bottoms when used in
   flexible admin rows. */
.admin-button,
.admin-row-actions .btn-blue,
.admin-row-actions .btn-green,
.admin-filter-actions .btn-blue,
.admin-empty-actions .btn-blue {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 116px;
    min-height: 40px;
    margin: 0;
    padding: 8px 16px;
    border-radius: 5px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(22, 48, 66, .45);
    vertical-align: middle;
}

.admin-button.btn-blue,
.admin-row-actions .btn-blue,
.admin-filter-actions .btn-blue,
.admin-empty-actions .btn-blue {
    border: 1px solid #267aa5;
    border-bottom-color: #125978;
    background: linear-gradient(#79bdf0, #2d91d1);
    box-shadow: 0 1px 2px rgba(25, 69, 94, .3), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.admin-button.btn-green,
.admin-row-actions .btn-green {
    border: 1px solid #548509;
    border-bottom-color: #395b05;
    background: linear-gradient(#a5df00, #5f9700);
    box-shadow: 0 1px 2px rgba(42, 78, 0, .3), inset 0 1px 0 rgba(238, 255, 186, .55);
}

.btn-red {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 116px;
    min-height: 40px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #aa3434;
    border-bottom-color: #7f1d1d;
    border-radius: 5px;
    background: linear-gradient(#ef7878, #c93535);
    box-shadow: 0 1px 2px rgba(107, 26, 26, .28), inset 0 1px 0 rgba(255, 224, 224, .45);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 1px 1px rgba(83, 20, 20, .5);
    vertical-align: middle;
}

.admin-button:hover,
.admin-button:focus,
.admin-row-actions .btn-blue:hover,
.admin-row-actions .btn-blue:focus,
.admin-row-actions .btn-green:hover,
.admin-row-actions .btn-green:focus,
.admin-filter-actions .btn-blue:hover,
.admin-filter-actions .btn-blue:focus,
.admin-empty-actions .btn-blue:hover,
.admin-empty-actions .btn-blue:focus,
.btn-red:hover,
.btn-red:focus {
    color: #fff;
    filter: brightness(1.06);
    text-decoration: none;
}

.admin-two-factor-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.admin-two-factor-codes li {
    padding: 8px;
    background: #fff8d8;
    border: 1px solid #ead59c;
}

@media (max-width: 640px) {
    .expired-listing-map-placeholder { min-height: 220px; }
}

.s-info figure .listing-result-logo {
    max-width: 110px;
    max-height: 110px;
}

.s-info.premium-listing-result {
    border-color: #9bcbe6;
    background: #f8fcff;
    box-shadow: 0 1px 0 rgba(18, 130, 184, .08), inset 4px 0 0 #1282b8;
}

.s-info.premium-listing-result h1 a {
    font-weight: bold;
}

.premium-listing-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    background: #1282b8;
    color: #fff;
    font: bold 10px/14px Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.legacy-google-map-canvas.large {
    width: 900px;
    height: 500px;
}

.legacy-map-large-link {
    display: inline-block;
    margin-top: 7px;
}

.legacy-auth-page {
    min-height: 340px;
    padding: 18px 0 44px;
}

.legacy-auth-page .popup.auth.visible {
    display: block;
    position: static;
    margin: 0 auto;
}

/* Registration is intentionally part of Add your business now. Keep the login
   popup as one complete card instead of leaving the old two-column half empty. */
.popup.auth.login-only {
    width: 324px;
}

.popup.auth.login-only .inner {
    width: auto;
    margin: 0;
    background: none;
}

.popup.auth.login-only section {
    float: none;
    width: 224px;
    margin: 0 auto;
    padding: 31px 50px 36px;
}

.auth-social { margin-top: 22px; text-align: center; }
.auth-social p { margin: 0 0 9px; color: #6e8798; font-size: 12px; }
.auth-social-button { box-sizing: border-box; display: block; width: 224px; min-height: 34px; margin: 7px auto 0; padding: 7px 10px; border-radius: 4px; color: #fff; font-size: 13px; font-weight: bold; line-height: 18px; text-decoration: none; }
.auth-social-button.google { border: 1px solid #b9c7d0; background: #fff; color: #344d5d; }
.auth-social-button.facebook { border: 1px solid #294d88; background: #4267a9; }
.auth-social-button:hover, .auth-social-button:focus { color: #fff; filter: brightness(1.05); text-decoration: none; }
.auth-social-button.google:hover, .auth-social-button.google:focus { color: #253d4b; }
.account-sign-in-provider-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.account-sign-in-provider-list .auth-social-button { margin: 0; }

.legacy-auth-error {
    margin: 0 0 10px;
    color: #d72a35;
    font-size: 12px;
}

.popup.auth .auth-recovery-heading {
    display: none;
}

.legacy-city-detect {
    clear: both;
    padding: 7px 0 0;
}

.popup.city .search-city:after {
    top: 15px;
    margin-top: 0;
}

.legacy-city-detect a {
    color: #1282b8;
    font-weight: bold;
}

.legacy-city-detect .notes {
    display: block;
    padding: 5px 0 0;
}

.legacy-city-detect .notes.error {
    color: #d72a35;
}

.listing-photo-hint {
    display: block;
    padding: 6px 2px 0;
    color: #7a7a7a;
    font-size: 11px;
    line-height: 1.35;
}

.popup.hidden,
.city-drop.hidden {
    display: none !important;
}

.overlay {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
}

.popup:target {
    display: block !important;
    position: fixed;
    left: 50%;
    top: 92px;
    z-index: 1001;
    transform: translateX(-50%);
}

.popup:target .close {
    top: 8px;
    right: 8px;
}

.popup.legacy-popup-enter {
    animation: legacy-popup-enter 420ms ease-out;
}

@keyframes legacy-popup-enter {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    62% {
        opacity: 1;
        transform: translateX(14px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .popup.legacy-popup-enter {
        animation: none;
    }
}

.popup.city.small:target {
    width: 340px;
    max-width: calc(100vw - 24px);
}

.popup.city.small:target .city-drop.hidden {
    display: none !important;
}

.popup.city .city-drop {
    max-height: 318px;
    overflow-y: auto;
}

.popup.city .city-drop,
.legacy-location-autocomplete {
    scrollbar-color: #95b3c7 #c4dae9;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
}

.popup.city .city-drop::-webkit-scrollbar,
.legacy-location-autocomplete::-webkit-scrollbar {
    width: 14px;
}

.popup.city .city-drop::-webkit-scrollbar-track,
.legacy-location-autocomplete::-webkit-scrollbar-track {
    margin: 4px 0;
    border-radius: 4px;
    background: #c4dae9;
}

.popup.city .city-drop::-webkit-scrollbar-thumb,
.legacy-location-autocomplete::-webkit-scrollbar-thumb {
    border: 2px solid #c4dae9;
    border-radius: 8px;
    background: #95b3c7;
}

.city-drop-status {
    margin: 0;
    padding: 8px 10px 9px;
    border-top: 1px solid #d8e6ef;
    background: #f7fbfe;
    color: #6f8fa5;
    font-size: 11px;
    font-style: normal;
    line-height: 15px;
    text-align: left;
}

.popup .close {
    z-index: 4;
}

.popup.city.small {
    width: 340px;
}

.popup.city.small .inner {
    margin-bottom: 0;
}

.popup.city.small h1 {
    float: none;
    margin: 0 28px 10px 0;
}

.popup.city.small .search-city {
    float: none;
    width: 100%;
}

.popup.city .accordion section:not(.active) .body {
    display: none;
}

.popup.city .legacy-city-columns {
    width: auto;
}

.listing-source {
    margin: 22px 0 0;
    color: #7e9aad;
    font-size: 12px;
    line-height: 17px;
}

.listing-source h2 {
    margin-bottom: 7px;
}

.listing-source ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.listing-source li {
    margin: 0 0 5px;
}

.listing-source span {
    display: block;
    color: #9aadb9;
}

.popup.city:not(.small) {
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.popup.city:not(.small) .search-city {
    z-index: 3;
}

.popup.city:not(.small) .accordion .body {
    max-height: 360px;
    overflow-y: auto;
}

.s-info.legacy-empty .text {
    margin-left: 0;
}

.legacy-category-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 48px;
    align-items: start;
    width: calc(100% - 48px);
    max-width: 1260px;
    margin: 0 auto 42px;
}

.legacy-category-column {
    min-width: 0;
}

.legacy-category-group {
    float: none;
    clear: none;
    width: auto;
    max-width: none;
    margin: 0 0 28px;
    font-weight: bold;
    font-size: 13px;
    line-height: 17px;
}

.legacy-category-group h2 {
    color: #d72a35;
    font-size: 19px;
    line-height: 24px;
    margin: 0 0 10px;
}

.legacy-category-group h2 a {
    color: #d72a35;
}

.legacy-category-group ul {
    list-style: none;
}

.legacy-category-group li {
    margin: 0 0 8px;
}

.legacy-category-group .show-all {
    color: #82a1b5;
    border-bottom: 1px dashed #82a1b5;
    text-decoration: none;
    position: relative;
    display: inline-block;
    margin: 0 0 8px;
}

.legacy-category-group .show-all:before {
    content: '';
    position: absolute;
    top: 2px;
    left: -9px;
    width: 5px;
    height: 14px;
    background: url(../img/sprite.png) -57px -18px no-repeat;
}

.legacy-category-group .show-all:hover {
    color: #4a7089;
    border-bottom-color: #4a7089;
}

.legacy-category-group .show-all:hover:before {
    background-position: -255px -29px;
}

.legacy-category-group .show-all.expanded:before,
.category .show-all.expanded:before {
    transform: rotate(180deg);
}

.category.legacy-category-home {
    clear: both;
    display: block;
    overflow: visible;
    width: calc(100% - 48px);
    max-width: 1420px;
    margin: 0 auto 64px;
}

.legacy-category-home-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px 42px;
    align-items: start;
    justify-content: stretch;
    margin: 0 0 36px;
}

.legacy-category-home-cell {
    min-width: 0;
}

.category.legacy-category-home .legacy-category-home-cell,
.category.legacy-category-home .legacy-category-group {
    float: none;
    clear: none;
    width: auto;
    margin-left: 0;
    margin-right: 0;
}

.category.legacy-category-home .legacy-category-group {
    width: 100%;
}

.legacy-home-counter {
    max-width: 820px;
    min-width: 0;
    margin: 0 auto;
}

.legacy-counter-slot {
    margin: 0;
}

.legacy-counter-slot .counter-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: nowrap;
    min-width: 0;
    text-align: center;
}

.legacy-counter-slot .counter-holder p {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.legacy-counter-slot .counter-holder .counter {
    display: flex;
    flex: 0 0 auto;
    padding: 0;
}

.catalog-data-date {
    display: inline-block;
    margin: 0 18px 0 0;
    font-size: 12px;
    line-height: 15px;
    color: #8a98a4;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}

.legacy-home-links {
    margin: 0 0 32px;
    font-size: 13px;
    line-height: 17px;
    font-weight: bold;
}

.legacy-home-links h2 {
    color: #d72a35;
    font-size: 19px;
    line-height: 24px;
    margin: 0 0 10px;
}

.legacy-home-links h2 a {
    color: #d72a35;
}

.legacy-home-links ul {
    list-style: none;
}

.legacy-home-links li {
    margin: 0 0 8px;
}

.legacy-share {
    max-width: 360px;
}

.legacy-share ul {
    list-style: none;
    margin: 4px 0 10px;
    padding: 0;
}

.legacy-share li {
    float: left;
    margin: 7px 7px 0 0;
}

.legacy-share a,
.legacy-share button {
    display: block;
    min-width: 33px;
    height: 27px;
    padding: 0 9px;
    border: 1px solid #b8c9d4;
    border-radius: 4px;
    background: #f2f7fa;
    color: #153245;
    font: bold 11px/27px Arial, Helvetica, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.legacy-share a:hover,
.legacy-share button:hover {
    border-color: #1282b8;
    color: #1282b8;
}

.legacy-share .share-facebook {
    background: #eef4ff;
}

.legacy-share .share-x {
    background: #f3f3f3;
}

.legacy-share .share-linkedin {
    background: #eef8ff;
}

.legacy-share .share-whatsapp {
    background: #effbea;
}

.legacy-share .share-telegram {
    background: #edf8ff;
}

.legacy-share .share-email {
    background: #fff7df;
}

.legacy-share .share-copy-status {
    display: block;
    clear: both;
    padding: 6px 0 0;
    color: #5c7f35;
    font-size: 12px;
}

.listing-analytics {
    overflow: hidden;
    margin: 9px 0 11px;
    color: #516c7d;
    font-size: 12px;
    line-height: 18px;
}

.listing-analytics dt,
.listing-analytics dd {
    float: left;
    margin: 0 8px 0 0;
}

.l-info.vcard footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
}

.l-info.vcard .col-1 {
    float: none;
    flex: 1 1 350px;
    width: auto;
    min-width: 0;
}

.l-info.vcard .col-2 {
    float: none;
    flex: 0 0 250px;
    width: 250px;
}

.l-info.vcard .col-2 li {
    overflow-wrap: normal;
}

.l-info .hours-status {
    display: inline-block;
    margin-top: 3px;
    padding: 3px 7px;
    border-radius: 4px;
    background: #eef7fc;
    color: #46677b;
    font-weight: bold;
    line-height: 18px;
}

.l-info .hours-status-open,
.l-info .hours-status-opening-soon {
    background: #effbea;
    color: #527f28;
}

.l-info .hours-status-closing-soon {
    background: #fff9ce;
    color: #8a6d16;
}

.l-info .hours-status-closed {
    background: #f3f3f3;
    color: #7b8790;
}

.listing-analytics dt {
    clear: left;
    font-weight: bold;
}

.account-listing-actions {
    margin: 0 0 8px;
}

.account-listing-actions a,
.account-listing-actions button {
    display: inline-block;
    margin: 0 6px 6px 0;
    min-width: 92px;
    text-align: center;
}

.legacy-posting-form .map-row {
    overflow: visible;
}

.legacy-posting-form .legacy-editable-map {
    width: 100%;
    max-width: 289px;
    box-sizing: border-box;
}

.legacy-posting-form .legacy-editable-map .legacy-google-map,
.legacy-posting-form .legacy-google-map-canvas {
    width: 100%;
    max-width: 289px;
}

.legacy-posting-form .legacy-category-select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 34px;
    padding-right: 34px;
    color: #82a1b5;
}

.legacy-posting-form .legacy-category-autocomplete {
    position: relative;
}

.legacy-posting-form .legacy-category-native-fallback {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.legacy-posting-form .legacy-category-search {
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
}

.legacy-posting-form .legacy-category-options {
    position: absolute;
    z-index: 20;
    top: calc(100% + 2px);
    right: 0;
    left: 0;
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #9cb6c7;
    background: #fff;
    box-shadow: 0 4px 12px rgba(34, 66, 88, .2);
}

.legacy-posting-form .legacy-category-options.hidden {
    display: none;
}

.legacy-posting-form .legacy-category-options button {
    display: block;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid #e3edf2;
    background: #fff;
    color: #31556d;
    text-align: left;
    cursor: pointer;
}

.legacy-posting-form .legacy-category-options button:hover,
.legacy-posting-form .legacy-category-options button:focus {
    background: #fff9ce;
}

.legacy-posting-form .legacy-category-group-label {
    padding: 8px 10px 4px;
    border-bottom: 1px solid #d7e5ed;
    background: #eef6fb;
    color: #587b92;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
}

.legacy-posting-form .legacy-category-group-label + button {
    padding-left: 18px;
}

.legacy-posting-form .legacy-category-options small {
    display: block;
    margin-top: 2px;
    color: #8199a8;
}

.legacy-posting-form .add-item div.s-wrapp,
.legacy-posting-form .add-item .s-info {
    background-image: none;
    padding-top: 24px;
    padding-bottom: 28px;
}

.legacy-posting-form .add-item.legacy-short-preview div.s-wrapp {
    background: none;
    padding: 104px 0 0;
    position: relative;
}

.legacy-posting-form .add-item.legacy-short-preview .s-info {
    background: none;
    padding: 0 0 105px;
    border-style: none;
    position: relative;
    z-index: 1;
}

.legacy-posting-form .add-item.legacy-short-preview div.s-wrapp:before,
.legacy-posting-form .add-item.legacy-short-preview div.s-wrapp:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 86px;
    pointer-events: none;
    opacity: .18;
    background:
        linear-gradient(to right, #c0d0da 50%, transparent 0) 0 100% / 8px 1px repeat-x,
        linear-gradient(#e8eef2, #fbfdfe) 13px 8px / 110px 58px no-repeat,
        linear-gradient(#d72a35, #d72a35) 166px 14px / 235px 17px no-repeat,
        linear-gradient(#4a7089, #4a7089) 166px 45px / 145px 12px no-repeat,
        linear-gradient(#82a1b5, #82a1b5) 166px 69px / 145px 12px no-repeat,
        linear-gradient(#4a7089, #4a7089) 475px 45px / 160px 12px no-repeat,
        linear-gradient(#82a1b5, #82a1b5) 475px 69px / 155px 12px no-repeat;
}

.legacy-posting-form .add-item.legacy-short-preview div.s-wrapp:before {
    top: 0;
}

.legacy-posting-form .add-item.legacy-short-preview div.s-wrapp:after {
    bottom: 0;
}

.legacy-posting-form textarea {
    max-width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    line-height: 24px;
    resize: vertical;
}

.legacy-posting-form .legacy-highlight-field textarea,
.legacy-posting-form .legacy-full-description-row textarea,
.legacy-posting-form .legacy-full-description-row .textarea-wrapper .cmid {
    background-color: #cee1ed;
    background-image: url(../img/bg-input.png);
    background-repeat: repeat-x;
    background-position: 0 100%;
    color: #4a7089;
}

.legacy-posting-form .legacy-highlight-field textarea {
    border: 1px solid #b8d0e0;
    border-top-color: #9db8ca;
    border-bottom-color: #c4dae9;
    box-shadow: 0 1px 1px #b3c8d6 inset, 0 1px 0 #fff;
}

.legacy-posting-form .legacy-full-description-row textarea,
.legacy-posting-form .legacy-full-description-row .textarea-wrapper .cmid {
    min-height: 178px;
}

.legacy-posting-form .legacy-full-description-row textarea {
    padding: 8px 10px;
    border: 1px solid #b8d0e0;
    border-top-color: #9db8ca;
    border-bottom-color: #c4dae9;
    border-radius: 4px;
    box-sizing: border-box;
    box-shadow: 0 1px 1px #b3c8d6 inset, 0 1px 0 #fff;
}

.legacy-posting-form .schedule[data-schedule-list] {
    overflow: visible;
}

.legacy-posting-form .schedule[data-schedule-list] .schedule-lines {
    float: right;
    width: 424px;
}

.legacy-posting-form .schedule[data-schedule-list] .schedule-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 8px;
    position: relative;
}

.legacy-posting-form .schedule[data-schedule-list] .item {
    display: flex;
    align-items: center;
    gap: 7px;
    float: none;
    margin-left: 0;
}

.legacy-posting-form .schedule[data-schedule-list] .schedule-time select {
    width: 56px;
}

.legacy-posting-form .schedule[data-schedule-list] .schedule-day select {
    width: 64px;
}

.legacy-posting-form .schedule-add {
    clear: both;
    float: right;
    margin-top: 2px;
}

.legacy-posting-form .legacy-add-link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    color: #4a7089;
    font: bold 16px/22px Arial, Helvetica, sans-serif;
    text-decoration: none;
    border-bottom: 1px dashed #829fb3;
    cursor: pointer;
    text-shadow: 0 1px 0 #fff;
}

.legacy-posting-form .legacy-add-link:hover {
    color: #d7232f;
    border-bottom-color: #d7232f;
}

.legacy-posting-form .legacy-autofill-panel {
    margin: 10px 0;
    padding: 11px;
    border: 1px solid #c6d9e5;
    border-radius: 5px;
    background: rgba(240, 248, 252, .78);
}

.legacy-posting-form .legacy-autofill-panel h2 {
    margin: 0;
    color: #4a7089;
    font: bold 16px/20px Arial, Helvetica, sans-serif;
}

.legacy-posting-form .legacy-autofill-panel > p {
    margin: 3px 0 8px;
    color: #7898ae;
    font: 12px/16px Arial, Helvetica, sans-serif;
}

.legacy-posting-form .legacy-autofill-trigger,
.legacy-posting-form .legacy-autofill-apply {
    display: inline-block;
    margin: 8px 0 0;
    padding: 5px 10px;
    border: 1px solid #247db9;
    border-radius: 4px;
    background: linear-gradient(#71b8ee, #378ed0);
    box-shadow: inset 0 1px rgba(255, 255, 255, .45), 0 1px 1px rgba(42, 94, 127, .22);
    color: #fff;
    cursor: pointer;
    font: bold 14px/20px Arial, Helvetica, sans-serif;
    text-decoration: none;
    text-shadow: 0 -1px rgba(28, 91, 132, .52);
}

.legacy-posting-form .legacy-autofill-trigger:hover,
.legacy-posting-form .legacy-autofill-apply:hover {
    border-color: #176a9f;
    background: linear-gradient(#5eafe9, #2780c4);
    color: #fff;
}

.legacy-posting-form .legacy-autofill-trigger:disabled {
    cursor: default;
    opacity: .6;
}

.legacy-posting-form [data-website-autofill-status] {
    display: block;
    margin-top: 6px;
}

.legacy-posting-form [data-website-autofill-status].error {
    color: #d7232f;
}

.legacy-posting-form .legacy-autofill-review {
    margin: 9px 0 0;
    padding: 11px;
    border: 1px solid #d8c997;
    border-radius: 4px;
    background: rgba(255, 250, 218, .72);
    color: #4a7089;
    font: 13px/18px Arial, Helvetica, sans-serif;
}

.legacy-posting-form .legacy-autofill-review-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3px 12px;
    margin-bottom: 9px;
}

.legacy-posting-form .legacy-autofill-review-heading strong,
.legacy-posting-form .legacy-autofill-review-item h3 {
    color: #7898ae;
    font-weight: bold;
}

.legacy-posting-form .legacy-autofill-review-heading span {
    color: #829fb3;
    font-size: 12px;
}

.legacy-posting-form .legacy-autofill-review-items {
    display: grid;
    gap: 9px;
}

.legacy-posting-form .legacy-autofill-review-item {
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid rgba(216, 201, 151, .7);
}

.legacy-posting-form .legacy-autofill-review-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.legacy-posting-form .legacy-autofill-review-item h3 {
    margin: 0 0 3px;
    font: bold 13px/18px Arial, Helvetica, sans-serif;
}

.legacy-posting-form .legacy-autofill-value {
    margin: 0;
    word-break: break-word;
}

.legacy-posting-form .legacy-autofill-value-list {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legacy-posting-form .legacy-autofill-value-list li {
    overflow-wrap: anywhere;
}

.legacy-posting-form .legacy-autofill-note {
    margin: 5px 0 0;
    color: #829fb3;
    font-size: 12px;
    line-height: 16px;
}

.legacy-posting-form .legacy-autofill-media-choices {
    display: grid;
    gap: 6px;
}

.legacy-posting-form .legacy-autofill-media-choice {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
}

.legacy-posting-form .legacy-autofill-media-choice input {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 9px;
    margin: 0;
}

.legacy-posting-form .legacy-autofill-media-thumb {
    display: block;
    width: 100%;
    height: 180px;
    border: 1px solid #c8d8e1;
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
}

.legacy-posting-form .legacy-autofill-media-choice input:checked + .legacy-autofill-media-thumb {
    border-color: #378ed0;
    box-shadow: 0 0 0 2px rgba(55, 142, 208, .22);
}

.legacy-posting-form .legacy-autofill-media-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 480px) {
    .legacy-posting-form .legacy-autofill-media-thumb {
        height: 150px;
    }
}

.legacy-posting-form .legacy-add-repeatable {
    float: right;
    margin: 0 0 -3px;
    padding-top: 7px;
    line-height: 15px;
    white-space: nowrap;
}

.legacy-posting-form .over-error {
    clear: both;
    margin-top: -10px;
    margin-bottom: 18px;
    width: 100%;
}

.legacy-posting-form .over-error:after {
    content: '';
    clear: both;
    display: block;
}

.legacy-posting-form .legacy-repeatable-extra.is-hidden,
.legacy-posting-form .legacy-add-link.is-hidden {
    display: none;
}

.legacy-posting-form .legacy-file-picker {
    display: block;
    cursor: pointer;
}

.legacy-posting-form .legacy-file-picker .jcf-fake-input {
    font-size: 20px;
    line-height: 34px;
}

.legacy-posting-form .legacy-file-picker .jcf-fake-input em {
    text-overflow: ellipsis;
    color: #82a1b5;
}

.legacy-posting-form .legacy-file-picker .file-input-opacity {
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.legacy-posting-form .preview-link {
    color: #0785e4;
    border-bottom: 0;
    text-decoration: underline;
    cursor: pointer;
}

.legacy-posting-form .s-info h1 .preview-link {
    color: #d72a35;
}

.legacy-posting-form .s-info h1 .preview-link:hover {
    color: #f31b28;
}

.legacy-posting-form .s-info .map.preview-link {
    color: #82a1b5;
    background: url(../img/bg-dashed.png) 0 100% repeat-x;
    border-bottom: 0;
    text-decoration: none;
    display: inline-block;
}

.legacy-posting-form .schedule-remove {
    top: 12px;
}

.legacy-posting-form .legacy-repeatable-extra {
    position: relative;
}

.legacy-posting-form .legacy-autofill-panel .legacy-repeatable-extra .remove {
    right: 9px;
    z-index: 1;
}

.legacy-posting-form .legacy-autofill-panel .legacy-repeatable-extra .row input {
    padding-right: 32px;
}

.legacy-posting-form .legacy-social-links-editor {
    margin: 9px 0 0;
    padding-top: 8px;
    border-top: 1px solid #c6d9e5;
}

.legacy-posting-form .legacy-social-links-editor.hidden {
    display: none;
}

.legacy-posting-form .legacy-social-links-editor h3 {
    margin: 0 0 5px;
    color: #587b92;
    font: bold 13px/18px Arial, Helvetica, sans-serif;
}

.legacy-posting-form .legacy-social-link-field {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    color: #587b92;
    font-size: 12px;
    font-weight: bold;
}

.legacy-posting-form .legacy-social-link-field input {
    min-width: 0;
}

.legacy-posting-form .submit-button-bottom {
    clear: both;
    max-width: 520px;
    margin: 14px auto 10px;
    text-align: center;
}

.legacy-posting-form .submit-button-bottom .btn-blue {
    width: 100%;
    max-width: 420px;
}

.legacy-posting-form .account-edit-submit-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 620px;
    text-align: left;
}

.legacy-posting-form .account-edit-submit-bottom .account-edit-back-link {
    position: static;
    flex: 0 0 auto;
    margin: 0;
    color: #4a7089;
    font-size: 14px;
    font-weight: bold;
}

.legacy-posting-form .account-edit-submit-bottom .account-edit-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 420px;
    width: 420px;
}

.legacy-posting-form .legacy-terms-note {
    clear: both;
    max-width: 760px;
    margin: 0 auto 45px;
    color: #4a7089;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.legacy-posting-form .quick-registration .submit-button-bottom {
    margin: 16px 0 10px;
    max-width: none;
}

.legacy-posting-form .quick-registration .submit-button-bottom .btn-blue {
    max-width: none;
}

.legacy-posting-form .quick-registration .legacy-terms-note {
    margin: 0;
    max-width: none;
}

@media (max-width: 720px) {
    .legacy-posting-form .account-edit-submit-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .legacy-posting-form .account-edit-submit-bottom .account-edit-back-link {
        display: block;
        margin: 0 0 10px;
        justify-self: start;
        text-align: left;
    }

    .legacy-posting-form .account-edit-submit-bottom .account-edit-submit {
        width: 100%;
    }
}

.listing-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 70px;
    overflow: visible;
}

.listing-plan-card,
.listing-plan-grid .trial,
.listing-plan-grid .permanent,
.listing-plan-grid .premium {
    float: none;
    width: auto;
    min-height: 250px;
    box-sizing: border-box;
    text-align: left;
}

.listing-plan-grid .premium {
    padding: 28px 38px 26px 40px;
    line-height: 20px;
    border-radius: 6px;
    background: #e6f3fb url(../img/bg-trial.png);
    box-shadow: 0 0 0 2px rgba(18, 130, 184, .15) inset;
}

.listing-plan-recommended {
    position: relative;
}

.listing-plan-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -12px 0 14px;
}

.listing-plan-badges span {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    background: #1282b8;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    font-weight: bold;
}

.listing-plan-badges span + span {
    background: #8dc712;
}

.listing-plan-badges span + span + span {
    background: #d72a35;
}

.listing-plan-preview {
    margin-top: 12px;
    color: #153245;
    font-weight: bold;
}

.listing-plan-email-note {
    margin: 0 0 12px;
    color: #4a7089;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

.listing-plan-offer {
    color: #153245;
    font-weight: bold;
}

.listing-plan-features {
    margin: 15px 0 0 18px;
    color: #4a7089;
    text-align: left;
}

.listing-plan-features li {
    margin: 0 0 7px;
}

.listing-plan-price {
    margin-top: 14px;
    color: #153245;
    font-size: 21px;
    line-height: 26px;
    font-weight: bold;
    text-align: center;
}

.listing-plan-disabled {
    display: inline-block;
    color: #82a1b5;
    font-weight: bold;
}

.listing-plan-payment-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.listing-plan-legal-notice {
    margin: 0 0 12px;
    color: #526f82;
    font-size: 12px;
    line-height: 17px;
    text-align: left;
}

.listing-plan-payment-actions .btn-blue,
.listing-plan-payment-actions .btn-green {
    align-items: center;
    color: #fff;
    display: flex;
    height: 40px;
    justify-content: center;
    line-height: 18px;
    margin: 0;
    width: 262px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 10px;
    text-align: center;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.listing-plan-card .center-link {
    height: auto;
    min-height: 52px;
    line-height: normal;
}

.listing-plan-card .center-link > .btn-blue,
.listing-plan-card .center-link > .btn-green {
    align-items: center;
    color: #fff;
    display: flex;
    height: 40px;
    justify-content: center;
    line-height: 18px;
    width: 262px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 10px;
    text-overflow: ellipsis;
    text-decoration: none;
    white-space: nowrap;
}

.listing-plan-card .center-link > .btn-green,
.listing-plan-payment-actions .btn-green {
    background: linear-gradient(#8ec540, #5b900d);
    color: #fff;
}

.listing-plan-card .center-link > .btn-green:hover,
.listing-plan-card .center-link > .btn-green:focus,
.listing-plan-card .center-link > .btn-green:active,
.listing-plan-payment-actions .btn-green:hover,
.listing-plan-payment-actions .btn-green:focus,
.listing-plan-payment-actions .btn-green:active {
    background: linear-gradient(#9ed94b, #679f13);
    color: #fff;
    text-decoration: none;
}

.fondy-checkout-intro {
    margin-bottom: 26px;
}

.fondy-embedded-shell {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: 24px;
    margin: 0 0 70px;
    padding: 0;
}

.fondy-embedded-summary,
.fondy-embedded-panel {
    box-sizing: border-box;
    border: 1px solid #c7ddea;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 60, 82, .08);
}

.fondy-embedded-summary {
    padding: 26px 28px;
    color: #4a7089;
    background: #e6f3fb url(../img/bg-trial.png);
}

.fondy-embedded-kicker {
    display: block;
    margin: 0 0 12px;
    color: #d72a35;
    font-size: 13px;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
}

.fondy-embedded-summary h2 {
    margin: 0 0 12px;
    color: #153245;
    font-size: 26px;
    line-height: 32px;
}

.fondy-embedded-summary p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 22px;
}

.fondy-embedded-summary strong {
    display: block;
    margin: 0 0 22px;
    color: #153245;
    font-size: 30px;
    line-height: 34px;
}

.fondy-embedded-summary ul {
    margin: 0 0 24px 18px;
    padding: 0;
    line-height: 21px;
}

.fondy-embedded-summary li {
    margin: 0 0 8px;
}

.fondy-hosted-fallback {
    display: inline-block;
    color: #4a7089;
    font-weight: bold;
    text-decoration: underline;
}

.fondy-embedded-panel {
    min-height: 520px;
    padding: 12px;
    overflow: hidden;
}

.fondy-checkout-container {
    min-height: 500px;
}

.external-checkout-frame {
    display: block;
    width: 100%;
    min-height: 640px;
    border: 0;
    background: #fff;
}

.fondy-embedded-status {
    margin: 16px;
    padding: 14px 16px;
    border-radius: 6px;
    background: #fff3d7;
    color: #6a5120;
    font-size: 14px;
    line-height: 20px;
}

.legacy-location-autocomplete {
    max-height: 340px;
    overflow-y: auto;
    z-index: 2000;
    box-shadow: 0 10px 22px rgba(21, 50, 69, .18);
}

.legacy-location-autocomplete ul {
    max-height: none;
}

.footer .copyright {
    margin: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer navigation deliberately uses its full labels at every viewport. */
.footer .frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    min-height: 92px;
    padding: 20px 16px 14px;
    overflow: visible;
}

.footer nav {
    width: 100%;
}

.footer .nav {
    display: flex;
    float: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
    margin: 0 0 12px;
}

.footer .nav li {
    display: block;
    margin: 0;
    white-space: nowrap;
}

.footer .copyright {
    width: 100%;
    text-align: center;
}

.cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 18px;
    z-index: 5000;
    box-sizing: border-box;
    max-width: 860px;
    margin: 0 auto;
    padding: 14px 18px;
    border: 1px solid #bad7ea;
    border-radius: 8px;
    background: rgba(246, 251, 255, .98);
    box-shadow: 0 10px 28px rgba(37, 74, 99, .18);
    color: #173348;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 19px;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-consent-actions a {
    margin-right: auto;
    color: #4b6f88;
    font-weight: bold;
}

.cookie-consent-actions button,
.cookie-consent-actions .btn-blue.small,
.cookie-consent-actions .btn-green.small {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 170px;
    min-height: 38px;
    margin: 0;
    padding: 0 18px 2px;
    border-radius: 4px;
    background-image: none;
    background-position: 0 0;
    font-size: 14px;
    line-height: 36px;
    text-align: center;
    white-space: nowrap;
}

.cookie-consent-actions .btn-blue.small {
    border-color: #3087b2;
    border-top-color: #65aacd;
    border-bottom-color: #0d6c9c;
    background: linear-gradient(to bottom, #6bb9e8 0%, #3fa3dc 52%, #2287c6 100%);
    box-shadow: 0 1px 1px #bcc5ba, 0 1px 1px #c5e4ff inset;
}

.cookie-consent-actions .btn-blue.small:hover,
.cookie-consent-actions .btn-blue.small:focus {
    background: linear-gradient(to bottom, #7dc7ef 0%, #4aafe4 52%, #2a94d0 100%);
    background-position: 0 0;
    color: #fff;
}

.cookie-consent-actions .btn-green.small {
    border-color: #548509;
    border-top-color: #84b53d;
    border-bottom-color: #395b05;
    background: linear-gradient(to bottom, #b8ef19 0%, #86cf00 52%, #62a500 100%);
    box-shadow: 0 1px 1px #b4c1c9, 0 1px 1px #d4f092 inset;
    color: #fff;
}

.cookie-consent-actions .btn-green.small:hover,
.cookie-consent-actions .btn-green.small:focus {
    background: linear-gradient(to bottom, #c5f52d 0%, #93dc08 52%, #70b600 100%);
    background-position: 0 0;
    color: #fff;
}

@media (max-width: 1199px) {
    .category.legacy-category-home {
        max-width: 1180px;
    }

    .legacy-category-home-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 979px) {
    html {
        -webkit-text-size-adjust: 100%;
    }

    body {
        min-width: 0;
        background-position: 50% 0;
    }

    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 12px;
    }

    .cookie-consent-actions {
        align-items: stretch;
    }

    .cookie-consent-actions a,
    .cookie-consent-actions button {
        flex: 1 1 164px;
        text-align: center;
    }

    .cookie-consent-actions a {
        margin-right: 0;
    }

    .wrapper,
    .footer .frame {
        box-sizing: border-box;
        width: auto;
        max-width: 980px;
        margin-right: 12px;
        margin-left: 12px;
    }

    .about-audience-two {
        grid-template-columns: repeat(2, minmax(0, 288px));
    }

    .header {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 8px 14px;
        min-height: 0;
        padding-top: 16px;
        padding-bottom: 18px;
    }

    .header .logo {
        order: 2;
        flex: 1 0 100%;
        float: none;
        width: auto;
        margin: 2px 0 12px;
    }

    .header .account,
    .header .account.right {
        position: static;
        top: auto;
        right: auto;
        left: auto;
        order: 1;
        flex: 1 1 calc(50% - 14px);
        float: none;
        width: auto;
        clear: both;
        margin: 0 0 8px;
        text-align: left;
    }

    .header .account.right {
        text-align: right;
    }

    .header .account li {
        float: none;
        display: inline-block;
        margin: 0 16px 8px 0;
        max-width: 100%;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .header .account.right li {
        margin-right: 0;
        margin-left: 16px;
    }

    .header .account a {
        max-width: 100%;
    }

    .search {
        box-sizing: border-box;
        display: flex;
        align-items: stretch;
        gap: 10px;
        order: 3;
        flex: 1 0 100%;
        clear: both;
        width: auto;
        height: auto;
        min-height: 80px;
        padding: 8px;
    }

    .search .field {
        box-sizing: border-box;
        flex: 1 1 auto;
        float: none;
        width: auto;
        min-width: 0;
        height: 62px;
        margin: 0;
    }

    .search .place {
        box-sizing: border-box;
        max-width: 34%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .search .text-holder {
        width: auto;
        margin-left: 0;
    }

    .search .text {
        width: 100%;
        box-sizing: border-box;
    }

    .search .submit {
        position: static;
        flex: 0 0 123px;
        float: none;
        width: 123px;
        height: 62px;
        line-height: 62px;
    }

    .search-drop {
        left: 0;
        right: 0;
        width: auto;
        max-width: none;
    }

    .legacy-description {
        grid-template-columns: 106px minmax(0, 1fr) 96px;
        column-gap: 20px;
        min-height: 76px;
        margin-bottom: 42px;
        padding: 12px 48px 12px 22px;
    }

    .legacy-description:before {
        justify-self: center;
        transform: none;
    }

    .legacy-description h1 {
        font-size: 19px;
        line-height: 24px;
    }

    .legacy-description .tours {
        width: 60px;
        height: 64px;
        margin: 0;
        transform: scale(0.82);
        transform-origin: center;
    }

    .content,
    div.s-wrapp,
    aside.s-wrapp,
    aside.l-wrapp,
    div.l-wrapp {
        float: none;
        width: auto;
        margin-right: 0;
        margin-left: 0;
    }

    .main.add-adv {
        box-sizing: border-box;
        padding-right: 10px;
        padding-left: 10px;
    }

    .main.add-adv h1 {
        white-space: nowrap;
    }

    aside.s-wrapp,
    aside.l-wrapp {
        clear: both;
        padding-top: 18px;
    }

    aside.s-wrapp figure,
    aside.l-wrapp figure,
    .legacy-editable-map,
    .legacy-editable-map .legacy-google-map,
    .legacy-google-map-canvas {
        max-width: 100%;
    }

    .s-info figure {
        margin-right: 14px;
    }

    .s-info .text {
        overflow: visible;
    }

    .l-info.vcard footer {
        display: block;
    }

    .l-info .col-1,
    .l-info .col-2 {
        float: none;
        width: auto;
        margin-left: 0;
    }

    .l-info .meta.phone {
        margin-left: 20px;
    }

    .l-info .socials {
        float: none;
        margin-top: 18px;
    }

    .legacy-category-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        width: auto;
        max-width: none;
    }

    .legacy-category-home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 32px;
    }

    .category {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        overflow: visible;
        margin-bottom: 28px;
    }

    .category.legacy-category-home {
        display: block;
        width: auto;
        max-width: none;
    }

    .category .inner {
        display: contents;
        float: none;
        width: auto;
    }

    .category .inner nav,
    .category .inner .col,
    .category > .col,
    .category nav,
    .category .right {
        float: none;
        clear: none;
        width: auto;
        margin: 0 0 28px;
    }

    .category aside {
        grid-column: 1 / -1;
        float: none;
        clear: none;
        width: auto;
        margin: 0 0 34px;
    }

    .legacy-category-board {
        margin-bottom: 28px;
    }

    .legacy-home-side {
        padding-top: 28px;
    }

    .legacy-home-links ul {
        column-count: 2;
        column-gap: 22px;
    }

    .listing-plan-grid {
        grid-template-columns: 1fr;
    }

    .fondy-embedded-shell {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fondy-embedded-summary {
        padding: 22px;
    }

    .fondy-embedded-panel {
        min-height: 560px;
        padding: 8px;
    }

    #sidebar figure.map iframe.legacy-google-map {
        height: 320px;
    }

    #sidebar figure.map .listing-results-map-canvas {
        height: 320px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-lines,
    .legacy-posting-form .schedule-add {
        float: none;
        width: 100%;
    }

    .legacy-posting-form .legacy-add-repeatable {
        float: none;
        margin: 0 0 16px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-line {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .popup {
        max-width: calc(100vw - 24px);
        box-sizing: border-box;
    }

    .popup.contact,
    .popup.profile,
    .popup.auth,
    .popup.city {
        width: calc(100vw - 24px);
    }

    .popup.auth .inner {
        width: auto;
        margin-right: 0;
        background-image: none;
    }

    .popup.auth.login-only {
        width: calc(100vw - 24px);
    }

    .popup.contact .col-1,
    .popup.contact .col-2,
    .popup.auth section {
        float: none;
        width: auto;
        margin-right: 0;
        margin-left: 0;
    }

    .popup.contact .wrapp {
        display: flex;
        gap: 16px;
        align-items: center;
    }

    .popup.contact input[type='submit'] {
        flex: 0 0 260px;
        float: none;
        margin-left: auto;
    }

    .popup.contact input[type='text'],
    .popup.contact input[type='email'],
    .popup.contact input[type='tel'],
    .popup.contact input[type='password'],
    .popup.contact textarea,
    .popup.auth input[type='text'],
    .popup.auth input[type='password'],
    .search-city input {
        width: 100%;
        box-sizing: border-box;
    }

    #map-large,
    #mapl,
    .legacy-google-map.large {
        width: calc(100vw - 44px);
        max-width: 900px;
    }
}

@media (max-width: 640px) {
    .about-audience-two {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .for-whom .about-audience-two section h2 {
        text-align: left;
    }

    #map-large {
        padding: 8px;
    }

    #map-large,
    #mapl,
    .legacy-google-map.large,
    .legacy-google-map-canvas.large {
        width: calc(100vw - 34px);
        max-width: none;
    }

    #mapl,
    .legacy-google-map.large,
    .legacy-google-map-canvas.large {
        height: min(500px, calc(100vh - 96px));
        min-height: 360px;
    }

    .wrapper,
    .footer .frame {
        margin-right: 8px;
        margin-left: 8px;
    }

    .footer {
        background-color: #e9f2f8;
        text-align: center;
    }

    .footer .holder {
        height: auto;
        min-height: 112px;
        padding-bottom: 18px;
    }

    .footer .frame {
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        width: 100%;
        min-height: 112px;
        margin-right: 0;
        margin-left: 0;
        padding: 30px 12px 18px;
        overflow: visible;
    }

    .footer nav {
        width: 100%;
    }

    .footer .nav {
        display: flex;
        float: none;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 14px 20px;
        margin: 0 0 14px;
        white-space: normal;
    }

    .footer .nav li {
        display: block;
        margin: 0;
        white-space: nowrap;
    }

    .footer .copyright {
        width: 100%;
        text-align: center;
    }

    .header {
        gap: 6px 10px;
        padding-top: 10px;
    }

    .header .account,
    .header .account.right {
        flex-basis: calc(50% - 5px);
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 15px;
    }

    .header .account li,
    .header .account li:first-child {
        display: block;
        margin: 0 0 5px;
        font-size: 12px;
        line-height: 15px;
    }

    .header .account a {
        margin-right: 12px;
    }

    .header .account.right a {
        margin-right: 14px;
    }

    .header .logo {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .header .logo h1,
    .header .logo h1 a {
        width: 194px;
        height: 67px;
        max-width: 100%;
    }

    .header .logo h1 {
        margin-bottom: 12px;
        background-size: contain;
    }

    .header .logo h2 {
        font-size: 9px;
        line-height: 14px;
        letter-spacing: 3px;
        word-spacing: 4px;
    }

    .search {
        display: block;
        margin-top: 8px;
        padding: 7px;
    }

    .search .field {
        margin-right: 0;
        min-height: 96px;
    }

    .search .place {
        display: block;
        float: none;
        height: 38px;
        line-height: 38px;
        max-width: none;
        margin: 0 0 6px;
        padding-right: 36px;
        padding-left: 14px;
        font-size: 18px;
    }

    .search .text-holder {
        height: 50px;
        margin-left: 0;
        padding-left: 50px;
    }

    .search .text,
    .search .text:hover {
        height: 48px;
        line-height: 48px;
        font-size: 17px;
    }

    .search .submit {
        float: none;
        display: block;
        position: static;
        clear: both;
        width: calc(100% - 16px);
        height: 42px;
        line-height: 40px;
        margin: 7px auto 0;
        font-size: 18px;
    }

    .legacy-description {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        column-gap: 20px;
        align-items: center;
        padding: 18px 38px 18px 18px;
        margin-bottom: 30px;
    }

    .legacy-description:before {
        position: static;
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        margin: 0;
        transform: scale(0.86);
        transform-origin: center;
    }

    .legacy-description .tours {
        float: none;
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        margin: -2px 0 0;
    }

    .legacy-description .tours li {
        float: none;
        margin: 0;
    }

    .legacy-description h1 {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        display: block;
        height: auto;
        min-height: 0;
        overflow: visible;
        margin: 0;
        font-size: 23px;
        line-height: 1.34;
    }

    .legacy-description h1 strong {
        white-space: normal;
    }

    .legacy-category-board {
        display: block;
        width: auto;
        max-width: none;
    }

    .legacy-category-home-grid {
        display: block;
    }

    .legacy-category-home-cell {
        margin: 0 0 28px;
    }

    .category {
        display: block;
    }

    .category.legacy-category-home {
        display: block;
        width: auto;
        max-width: none;
    }

    .category .inner,
    .category .inner nav,
    .category .inner .col,
    .category > .col,
    .category nav,
    .category .right,
    .category aside {
        display: block;
        width: auto;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }

    .category aside {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legacy-counter-slot .counter-holder {
        min-width: 100%;
        width: auto;
        box-sizing: border-box;
        justify-content: center;
        gap: 10px;
        padding-right: 6px;
        padding-left: 6px;
        font-size: 15px;
        line-height: 20px;
        flex-wrap: wrap;
        white-space: normal;
    }

    .legacy-counter-slot .counter-holder p {
        flex: 1 0 100%;
        text-align: center;
    }

    .legacy-counter-slot .counter-holder .counter {
        justify-content: center;
        max-width: 100%;
    }

    .legacy-counter-slot .counter .legacy-counter-digits > span {
        transform: none;
    }

    .legacy-home-links ul {
        column-count: 1;
    }

    .s-info {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .s-info figure {
        float: left;
        width: 74px;
        margin: 3px 12px 8px 0;
    }

    .s-info figure img.logo:not(.listing-result-logo),
    .s-info figure img.logo-img-small,
    .s-info figure .listing-result-logo {
        width: 74px;
        height: 74px;
        object-fit: cover;
    }

    .s-info figure:after,
    .s-info figure:before {
        display: none;
    }

    .s-info .text {
        overflow: hidden;
        font-size: 12px;
        line-height: 17px;
    }

    .s-info h1 {
        margin-bottom: 8px;
        font-size: 17px;
        line-height: 20px;
    }

    .s-info footer {
        clear: both;
        padding-top: 4px;
    }

    .s-info .meta,
    .s-info .col-1,
    .s-info .col-2 {
        float: none;
        width: auto;
        margin-top: 5px;
    }

    .s-info .map {
        display: inline-block;
    }

    .legacy-share li {
        float: none;
        display: inline-block;
    }

    .not-found ul {
        display: block;
        margin: 0;
        text-align: center;
    }

    .popup.contact {
        padding: 22px 18px 26px;
    }

    .popup.auth section {
        padding: 24px 18px 28px;
    }

    .popup.auth section + section {
        border-top: 1px solid #cbdce6;
    }

    /* The desktop recovery panel intentionally overlays the login form. On narrow
       screens it needs to read as its own form, rather than revealing controls
       beneath a translucent legacy fader. */
    .popup.auth .send-pass {
        background: #f6fbfe;
        border-radius: 8px 8px 0 0;
    }

    .popup.auth .send-pass form {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 22px 18px 28px;
    }

    .popup.auth .auth-recovery-heading {
        display: block;
        margin: 0 0 16px;
    }

    .popup.auth .send-pass .remembered-pass {
        margin: 0 0 8px;
    }

    .popup.auth .send-pass .remembered-pass a {
        color: #527997;
    }

    .popup.contact h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .popup.contact .wrapp {
        display: block;
    }

    .popup.contact input[type='submit'] {
        width: 100%;
        margin: 14px 0 0;
    }

    .popup.city:not(.small) .search-city {
        float: none;
        width: auto;
        margin: 0 0 16px;
    }

    .popup.city:not(.small) .accordion .body {
        max-height: 300px;
    }

    .popup.city,
    .popup.city.small,
    .popup.city.small:target {
        width: calc(100vw - 24px);
        max-width: 340px;
    }

    .popup.city .city-drop {
        max-height: min(318px, calc(100vh - 210px));
    }

    .legacy-posting-form .add-item {
        margin-top: 20px;
    }

    .legacy-posting-form .add-item hgroup h1 {
        font-size: 31px;
        line-height: 38px;
        white-space: nowrap;
    }

    .legacy-posting-form .add-item hgroup h2 {
        max-width: 100%;
        font-size: 14px;
        line-height: 18px;
    }

    .legacy-posting-form .add-item .optional.add-object {
        box-sizing: border-box;
        width: 100%;
        margin-top: 10px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .legacy-posting-form .add-item .optional.add-object:before {
        display: none;
    }

    .legacy-posting-form .add-item aside.s-wrapp {
        padding-top: 8px;
    }

    .legacy-posting-form .add-item .l-wrapp,
    .legacy-posting-form .add-item .s-wrapp {
        box-sizing: border-box;
        width: 100%;
    }

    .legacy-posting-form .map-row {
        margin-right: -2px;
        margin-left: -2px;
    }

    .legacy-posting-form .legacy-editable-map,
    .legacy-posting-form .legacy-editable-map .legacy-google-map,
    .legacy-posting-form .legacy-google-map-canvas {
        width: 100%;
        max-width: none;
    }

    .legacy-posting-form .legacy-editable-map .legacy-google-map,
    .legacy-posting-form .legacy-google-map-canvas {
        height: 260px;
    }

    .legacy-posting-form .schedule[data-schedule-list] > label {
        display: block;
        float: none;
        margin: 0 0 8px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-lines {
        float: none;
        width: 100%;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-line {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding-right: 18px;
        margin-bottom: 8px;
        min-width: 0;
        position: relative;
    }

    .legacy-posting-form .schedule[data-schedule-list] .item {
        display: flex;
        flex: 0 1 auto;
        gap: 4px;
        align-items: center;
        min-width: 0;
        margin: 0;
    }

    .legacy-posting-form .schedule[data-schedule-list] .item select {
        min-width: 0;
        height: 34px;
        font-size: 17px;
        line-height: 34px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-time select {
        width: clamp(52px, 14vw, 56px);
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-day select {
        width: clamp(58px, 16vw, 64px);
    }

    .legacy-posting-form .schedule[data-schedule-list] .item .empty {
        text-align: center;
    }

    .legacy-posting-form .schedule-remove {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        margin: 0;
    }

    .legacy-posting-form .schedule-add {
        float: none;
        width: auto;
        margin: 6px 0 0;
    }
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(80px, 1fr));
    gap: 8px;
    margin: 18px 0 0;
}

.admin-dashboard h1 {
    margin-bottom: 16px;
}

.admin-work-queue {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.admin-work-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #c7dce9;
    border-radius: 6px;
    background: #eef7fc;
    color: #3d6f8e;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.admin-work-card.urgent {
    border-color: #e1b2b8;
    background: #fff3d1;
    color: #9f2431;
}

.admin-work-card strong {
    min-width: 34px;
    padding: 4px 7px;
    border-radius: 4px;
    background: #fff;
    color: #153245;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
}

.admin-work-card:hover,
.admin-dashboard-group nav a:hover {
    color: #fff;
    background: #2378b8;
}

.admin-work-card:hover strong {
    color: #2378b8;
}

.admin-dashboard-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 18px;
}

.admin-dashboard-group {
    padding: 14px;
    border: 1px solid #d8e6ee;
    border-radius: 6px;
    background: rgba(255, 255, 255, .74);
}

.admin-dashboard-group h2 {
    margin: 0 0 10px;
    color: #153245;
    font-size: 16px;
    line-height: 20px;
}

.admin-dashboard-group nav {
    display: grid;
    gap: 7px;
}

.admin-dashboard-group nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 4px;
    background: #f7fbfe;
    color: #3d6f8e;
    font-weight: bold;
    text-decoration: none;
}

.admin-stats dt,
.admin-stats dd {
    margin: 0;
    padding: 8px;
    background: #fff9ce;
}

.admin-stats dd {
    font-size: 20px;
    font-weight: bold;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
}

.admin-tabs a,
.admin-tabs span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #d8e6ee;
    border-radius: 4px;
    background: #f7fbfe;
    color: #333;
    text-decoration: none;
}

.admin-tabs a.active,
.admin-tabs span.active {
    background: #2378b8;
    color: #fff;
}

.admin-filters {
    display: grid;
    grid-template-columns: minmax(160px, 1.4fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(120px, .8fr) minmax(180px, auto);
    gap: 10px;
    align-items: end;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid #d8e6ee;
    background: #f7fbfe;
}

.admin-filters-wide {
    grid-template-columns: minmax(160px, 1.4fr) repeat(5, minmax(120px, 1fr)) auto;
}

.admin-filters label {
    display: block;
    margin: 0;
    color: #333;
    font-size: 12px;
    font-weight: bold;
}

.admin-filters label span {
    display: block;
    margin: 0 0 4px;
}

.admin-filters input,
.admin-filters select {
    box-sizing: border-box;
    width: 100%;
    min-height: 32px;
    border: 1px solid #cfc48d;
    background: #fff;
}

.admin-filter-actions {
    display: flex;
    gap: 8px;
}

.admin-list-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #c7dce9;
    border-radius: 6px;
    background: #eef7fc;
    color: #46677b;
}

.admin-list-summary strong {
    color: #153245;
    font-size: 20px;
    line-height: 22px;
}

.admin-list-summary span {
    margin-right: 8px;
}

.admin-list-summary nav,
.admin-list-summary form,
.admin-listing-quick-links,
.admin-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-list-summary form {
    margin: 0;
}

.admin-list-summary a,
.admin-listing-quick-links a,
.admin-link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #3d6f8e;
    font: inherit;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.admin-list-summary a:hover,
.admin-listing-quick-links a:hover,
.admin-link-button:hover {
    color: #2378b8;
}

.admin-link-button-danger { color: #b23232; }
.admin-link-button-danger:hover { color: #8e2020; }

.admin-delete-user-details { position: relative; }
.admin-delete-user-details summary { list-style: none; }
.admin-delete-user-details summary::-webkit-details-marker { display: none; }
.admin-delete-user-details form {
    position: absolute;
    z-index: 4;
    top: 22px;
    left: 0;
    width: 280px;
    padding: 12px;
    border: 1px solid #d99b9b;
    border-radius: 5px;
    background: #fff4f4;
    box-shadow: 0 5px 14px rgba(72, 21, 21, .18);
}
.admin-delete-user-details p { margin: 0 0 10px; color: #743b3b; font-size: 12px; }

.admin-listing-quick-links form {
    margin: 0;
}

.admin-inline-action {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 6px 10px;
    margin-top: 8px;
}

.admin-inline-action label {
    display: grid;
    gap: 3px;
    min-width: min(100%, 320px);
}

.admin-inline-action input {
    box-sizing: border-box;
    width: 100%;
}

.admin-list-summary .btn-blue:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.admin-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 0 0 10px;
    padding: 14px;
    border: 1px solid #d8e6ee;
    border-radius: 6px;
    background: rgba(255, 255, 255, .72);
}

.admin-row-selectable {
    grid-template-columns: 28px minmax(0, 1fr) auto;
}

.admin-row-check {
    padding-top: 5px;
}

.admin-row h2 {
    margin: 0 0 6px;
    font-size: 18px;
}

.admin-row p {
    margin: 0 0 6px;
}

.admin-category-row {
    margin-left: calc(var(--category-depth, 0) * 22px);
}

.admin-category-row .admin-category-branch {
    color: #7fa0b6;
    margin-right: 5px;
}

.admin-row-actions,
.admin-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-row-meta {
    align-items: center;
    color: #666;
    font-size: 12px;
}

.admin-row-meta strong {
    color: #333;
}

.admin-row-meta form {
    margin: 0;
}

.admin-row-actions form {
    margin: 0;
}

.admin-reject-details {
    position: relative;
}

.admin-reject-details summary {
    display: inline-block;
    cursor: pointer;
    list-style: none;
}

.admin-reject-details summary::-webkit-details-marker {
    display: none;
}

.admin-reject-details form {
    position: absolute;
    z-index: 3;
    right: 0;
    top: 34px;
    width: 260px;
    padding: 10px;
    border: 1px solid #cfc48d;
    background: #fff9ce;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.admin-reject-details textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 82px;
    margin: 0 0 8px;
    resize: vertical;
}

.admin-row-actions button,
.admin-row-actions a {
    box-sizing: border-box;
    min-width: 94px;
    max-width: 190px;
    width: auto;
    height: auto;
    padding: 7px 12px;
    line-height: 18px;
    text-align: center;
    white-space: normal;
}

.admin-listing-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    color: #46677b;
}

.admin-listing-title {
    margin: 0;
    color: #486f88;
    font-size: 20px;
    line-height: 22px;
}

.admin-listing-title a {
    color: inherit;
}

.admin-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
    color: #6d8494;
    font-size: 12px;
}

.admin-listing-meta span {
    padding: 2px 6px;
    border-radius: 3px;
    background: #eef7fc;
}

.admin-listing-quick-links {
    margin-top: 2px;
    font-size: 12px;
    line-height: 16px;
}

.admin-empty-row {
    grid-template-columns: 1fr;
}

.admin-empty-actions {
    margin-top: 10px;
}

.admin-media-row {
    grid-template-columns: 120px minmax(0, 1fr) minmax(180px, auto);
}

.admin-media-preview {
    width: 110px;
    height: 110px;
    margin: 0;
    border: 1px solid #c7d9e8;
    background: #eef6fb;
    overflow: hidden;
}

.admin-media-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #42647d;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.admin-edit-form textarea,
.admin-edit-form input[type='text'],
.admin-edit-form input[type='url'],
.admin-edit-form input[type='number'],
.admin-edit-form select {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #b8d0e0;
    border-top-color: #9db8ca;
    border-bottom-color: #c4dae9;
    border-radius: 4px;
    background: #cee1ed url(../img/bg-input.png) 0 100% repeat-x;
    box-shadow: 0 1px 1px #b3c8d6 inset, 0 1px 0 #fff;
}

.admin-edit-form textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-current-photo img {
    display: block;
    width: 140px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #b8d0e0;
    border-radius: 4px;
    background: #eef7fc;
    box-shadow: 0 1px 0 #fff;
}

.admin-current-photo span {
    display: inline-block;
    padding: 8px 10px;
    border: 1px solid #c7dcea;
    border-radius: 4px;
    background: #eef7fc;
    color: #6d8494;
    font-weight: bold;
}

.admin-sales-drip-filters {
    grid-template-columns: minmax(180px, 1.3fr) minmax(160px, .8fr) auto;
}

.admin-sales-drip-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.admin-sales-drip-summary div {
    padding: 12px;
    background: #eef7fc;
    border: 1px solid #c7dcea;
}

.admin-sales-drip-summary dt {
    margin: 0 0 4px;
    color: #666;
    font-size: 12px;
    font-weight: bold;
}

.admin-sales-drip-summary dd {
    margin: 0;
    color: #153245;
    font-size: 24px;
    font-weight: bold;
}

.admin-sales-drip-row.is-due {
    padding-left: 12px;
    border-left: 4px solid #d72a35;
    background: #fff9ce;
}

.admin-sales-drip-due {
    color: #d72a35;
    font-weight: bold;
}

.admin-bulk-actions,
.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: #eef7fc;
    border: 1px solid #c7dcea;
}

.admin-open-data-contact,
.admin-open-data-reasons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #666;
}

.admin-open-data-reasons {
    color: #d72a35;
}

.admin-open-data-ai {
    margin: 10px 0;
    padding: 9px 11px;
    background: #f3f8e8;
    border: 1px solid #d8e9af;
    color: #486b24;
}

.admin-open-data-ai p {
    margin: 5px 0;
}

.admin-open-data-ai small {
    color: #668246;
}

.admin-open-data-payload {
    margin-top: 8px;
}

.admin-open-data-payload summary {
    cursor: pointer;
    color: #2378b8;
    font-weight: bold;
}

.admin-open-data-payload pre {
    max-height: 260px;
    overflow: auto;
    padding: 10px;
    background: #f6f6f6;
    border: 1px solid #ddd;
    white-space: pre-wrap;
}

.admin-email-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.admin-email-list {
    border: 1px solid #d9e7f0;
    background: #f7fbfe;
}

.admin-email-list h2 {
    margin: 0;
    padding: 12px 14px 7px;
    color: #153245;
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;
}

.admin-email-list a {
    display: block;
    padding: 10px 14px 12px;
    border-top: 1px solid #e3edf4;
    color: #153245;
    text-decoration: none;
}

.admin-email-list a.active {
    background: #d9edf8;
    box-shadow: 4px 0 0 #1282b8 inset;
}

.admin-email-list strong,
.admin-email-list span {
    display: block;
}

.admin-email-list span {
    margin-top: 3px;
    color: #6d8596;
    font-size: 12px;
    line-height: 16px;
}

.admin-email-preview {
    min-width: 0;
}

.admin-email-preview header {
    margin: 0 0 18px;
}

.admin-email-preview header h2 {
    margin: 0 0 8px;
    color: #d72a35;
    font-size: 24px;
    line-height: 30px;
}

.admin-email-kicker {
    margin: 0 0 4px;
    color: #82a1b5;
    font-weight: bold;
}

.admin-email-meta,
.admin-email-headers dl {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 8px 14px;
    margin: 0 0 18px;
}

.admin-email-meta dt,
.admin-email-headers dt {
    color: #82a1b5;
    font-weight: bold;
}

.admin-email-meta dd,
.admin-email-headers dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-email-headers {
    margin: 0 0 18px;
}

.admin-email-headers summary {
    cursor: pointer;
    color: #1282b8;
    font-weight: bold;
}

.admin-email-send {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    margin: 0 0 24px;
    padding: 14px;
    border: 1px solid #d9e7f0;
    background: #f7fbfe;
}

.admin-email-send label {
    flex: 1 1 260px;
}

.admin-email-send span {
    display: block;
    margin: 0 0 5px;
    color: #153245;
    font-weight: bold;
}

.admin-email-send input {
    width: 100%;
    box-sizing: border-box;
}

.admin-email-tabs {
    margin-bottom: 12px;
}

.admin-email-html {
    display: block;
    width: 100%;
    min-height: 430px;
    margin: 0 0 22px;
    border: 1px solid #d9e7f0;
    background: #fff;
}

.admin-email-text {
    white-space: pre-wrap;
    overflow-x: auto;
    padding: 14px;
    border: 1px solid #d9e7f0;
    background: #f7fbfe;
    color: #153245;
}

.listing-social-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
}

.listing-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.listing-social-icon {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.listing-social-instagram .listing-social-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.listing-social-instagram .listing-social-icon circle,
.listing-social-instagram .listing-social-icon rect {
    fill: none;
}

.listing-social-youtube .listing-social-icon {
    width: 17px;
}

.listing-social-youtube .listing-social-icon path {
    fill: #ff0000;
}

.listing-social-youtube .listing-social-icon rect {
    fill: currentColor;
}

.listing-social-fallback {
    display: block;
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    text-transform: uppercase;
}

.listing-social-link:hover {
    color: #fff;
    opacity: .88;
}

.listing-social-facebook {
    background: #1877f2;
}

.listing-social-instagram {
    background: #c13584;
}

.listing-social-youtube {
    background: #ff0000;
}

.listing-social-linkedin {
    background: #0a66c2;
}

.listing-social-yelp {
    background: #d32323;
}

.listing-contact-link {
    display: inline-block;
    margin: 4px 8px 0 0;
    color: #257196;
    font-weight: bold;
    text-decoration: underline;
}

.listing-contact-links {
    clear: both;
    margin: 12px 0 4px;
}

.listing-contact-links p {
    margin: 0 0 8px;
    color: #667;
    font-size: 12px;
}

@media (max-width: 420px) {
    .legacy-description {
        grid-template-columns: 70px minmax(0, 1fr);
        column-gap: 12px;
        padding: 16px 28px 16px 14px;
    }

    .legacy-description:before {
        transform: scale(0.74);
    }

    .legacy-description .tours {
        margin-top: -8px;
        transform: scale(0.9);
        transform-origin: top center;
    }

    .legacy-description h1 {
        font-size: 18px;
        line-height: 1.28;
    }

    .legacy-posting-form .schedule[data-schedule-list] {
        padding-bottom: 4px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-line {
        gap: 4px;
        min-height: 36px;
        padding-right: 22px;
    }

    .legacy-posting-form .schedule[data-schedule-list] .item {
        gap: 3px;
        flex: 0 0 auto;
    }

    .legacy-posting-form .schedule[data-schedule-list] .item select {
        height: 36px;
        min-height: 36px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 16px;
        line-height: normal;
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-time select {
        width: clamp(48px, 13vw, 52px);
    }

    .legacy-posting-form .schedule[data-schedule-list] .schedule-day select {
        width: clamp(54px, 15vw, 58px);
    }

    .legacy-posting-form .schedule[data-schedule-list] .item .empty {
        margin-top: 0;
        line-height: 36px;
    }

    .legacy-posting-form .schedule-remove {
        right: 2px;
    }
}

@media (max-width: 979px) {
    .header .admin-main-nav {
        display: flex;
        gap: 6px;
        max-width: none;
        margin: 12px 0 0;
        overflow-x: auto;
        padding: 8px;
        text-align: left;
        -webkit-overflow-scrolling: touch;
    }

    .header .admin-main-nav a {
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
    }

    .admin-work-queue,
    .admin-dashboard-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-filters,
    .admin-filters-wide,
    .admin-sales-drip-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-filter-actions {
        grid-column: 1 / -1;
        flex-wrap: wrap;
    }

    .admin-list-summary {
        align-items: flex-start;
    }

    .admin-row {
        grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
    }

    .admin-row-selectable,
    .admin-media-row {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .admin-row-selectable .admin-row-actions,
    .admin-row-selectable .admin-row-meta,
    .admin-media-row .admin-row-actions,
    .admin-media-row .admin-row-meta {
        grid-column: 2;
    }

    .admin-media-row {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .admin-media-preview {
        width: 96px;
        height: 96px;
    }

    .admin-email-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .admin-stats,
    .admin-filters,
    .admin-sales-drip-summary,
    .admin-list-summary,
    .admin-row {
        display: block;
    }

    .admin-filters label,
    .admin-filter-actions {
        margin-top: 10px;
    }

    .admin-work-queue,
    .admin-dashboard-groups,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .admin-tabs a,
    .admin-tabs span {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-list-summary > div,
    .admin-list-summary nav,
    .admin-list-summary form {
        margin-top: 8px;
    }

    .admin-filter-actions .btn-blue,
    .admin-empty-actions .btn-blue,
    .admin-row-actions button,
    .admin-row-actions a {
        flex: 1 1 120px;
        min-width: 0;
    }

    .admin-row-actions,
    .admin-row-meta {
        margin-top: 12px;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .header .admin-main-nav {
        margin-top: 18px;
    }

    .admin-media-preview {
        width: 100%;
        max-width: 160px;
        height: auto;
        aspect-ratio: 1;
        margin-bottom: 10px;
    }

    .admin-reject-details form {
        position: static;
        width: 100%;
        margin-top: 8px;
    }

    .admin-email-layout {
        display: block;
    }

    .admin-email-list {
        margin-bottom: 24px;
    }

    .admin-email-meta,
    .admin-email-headers dl {
        display: block;
    }

    .admin-email-meta dt,
    .admin-email-headers dt {
        margin-top: 8px;
    }
}
