.ybd-directory-wrap,
.ybd-submit-wrap,
.ybd-single-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 16px;
    font-family: inherit;
}

.ybd-directory-wrap *,
.ybd-submit-wrap *,
.ybd-single-wrap * {
    box-sizing: border-box;
}

.ybd-directory-header {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    margin-bottom: -46px;
    padding: clamp(28px, 5vw, 54px);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 10% 0%, rgba(255,255,255,.32), transparent 28%),
        radial-gradient(circle at 92% 22%, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg, var(--ybd-accent), var(--ybd-secondary, #2563eb) 54%, #111827);
    box-shadow: 0 24px 60px rgba(17, 24, 39, .18);
}

.ybd-header-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.ybd-brand-mark,
.ybd-section-heading span,
.ybd-submit-header span,
.ybd-single-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(10px);
}

.ybd-directory-header h2 {
    max-width: 820px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 5.8vw, 66px);
    line-height: .96;
    font-weight: 950;
    letter-spacing: -.045em;
}

.ybd-directory-header p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.55;
}

.ybd-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: 999px;
    color: #111827 !important;
    background: #fff;
    font-weight: 900;
    text-decoration: none !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.20);
}

.ybd-header-orb {
    position: absolute;
    right: -50px;
    bottom: -70px;
    width: clamp(180px, 28vw, 320px);
    height: clamp(180px, 28vw, 320px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

.ybd-header-orb span {
    position: absolute;
    inset: 16%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: rgba(255,255,255,.90);
    background: rgba(255,255,255,.14);
    font-size: clamp(90px, 16vw, 190px);
    font-weight: 950;
    line-height: 1;
}

.ybd-search {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) minmax(160px, .8fr) minmax(150px, .75fr) minmax(150px, .75fr) auto auto;
    gap: 12px;
    align-items: end;
    margin: 0 22px 28px;
    padding: 18px;
    border: 1px solid rgba(229, 231, 235, .92);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 22px 55px rgba(17, 24, 39, .14);
    backdrop-filter: blur(12px);
}

.ybd-search-field label,
.ybd-submit-form label {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.01em;
}

.ybd-search input,
.ybd-search select,
.ybd-submit-form input,
.ybd-submit-form select,
.ybd-submit-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d1d5db !important;
    border-radius: 14px !important;
    color: #111827 !important;
    background: #fff !important;
    font: inherit;
    line-height: 1.4;
    box-shadow: none !important;
    outline: none;
}

.ybd-search input:focus,
.ybd-search select:focus,
.ybd-submit-form input:focus,
.ybd-submit-form select:focus,
.ybd-submit-form textarea:focus {
    border-color: var(--ybd-accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 138, 0, .18) !important;
}

.ybd-search select,
.ybd-submit-form select {
    appearance: auto;
}


.ybd-search-check {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-bottom: 1px;
}

.ybd-search-check label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.ybd-search-check input {
    width: auto !important;
    min-height: 0 !important;
}

.ybd-search-actions {
    display: flex;
    gap: 9px;
    align-items: center;
}

.ybd-search button,
.ybd-submit-form button,
.ybd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 17px;
    border: 0;
    border-radius: 14px;
    color: #fff !important;
    background: var(--ybd-button);
    font-weight: 900;
    line-height: 1.1;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.ybd-search button:hover,
.ybd-submit-form button:hover,
.ybd-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(17, 24, 39, .20);
    opacity: .96;
}

.ybd-reset {
    color: #6b7280 !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.ybd-grid {
    display: grid;
    gap: 22px;
}

.ybd-columns-1 { grid-template-columns: 1fr; }
.ybd-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ybd-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ybd-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ybd-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 24, 39, .08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ybd-card:hover {
    transform: translateY(-4px);
    border-color: rgba(17, 24, 39, .18);
    box-shadow: 0 22px 50px rgba(17, 24, 39, .14);
}

.ybd-card-topline {
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--ybd-accent), var(--ybd-secondary, #2563eb));
    opacity: .78;
}

.ybd-card.is-featured {
    border-color: rgba(255, 138, 0, .62);
    box-shadow: 0 18px 46px rgba(255, 138, 0, .18);
}

.ybd-card.is-featured .ybd-card-topline {
    height: 7px;
    opacity: 1;
}

.ybd-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
    text-decoration: none !important;
}

.ybd-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.ybd-card:hover .ybd-card-media img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.ybd-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.38), transparent 28%),
        linear-gradient(135deg, var(--ybd-accent), var(--ybd-secondary, #2563eb), #111827);
}

.ybd-placeholder span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 56px;
    font-weight: 950;
    line-height: 1;
}

.ybd-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.ybd-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 0;
    margin-bottom: 10px;
}

.ybd-badge,
.ybd-card-cats span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.ybd-badge-featured {
    color: #78350f;
    background: #fef3c7;
}

.ybd-badge-verified {
    color: #065f46;
    background: #d1fae5;
}

.ybd-card-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 11px;
}

.ybd-card-cats span {
    color: #374151;
    background: #f3f4f6;
}

.ybd-card h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 21px;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: -.025em;
}

.ybd-card h3 a {
    color: inherit;
    text-decoration: none !important;
}

.ybd-card-location {
    margin-bottom: 10px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.ybd-excerpt {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.58;
}

.ybd-meta {
    display: grid;
    gap: 7px;
    margin-top: auto;
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
}

.ybd-meta div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    min-width: 0;
}

.ybd-meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    color: #111827;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 900;
}

.ybd-meta a {
    color: #111827 !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.ybd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.ybd-btn-outline {
    color: #111827 !important;
    border: 1px solid #d1d5db;
    background: #fff;
}

.ybd-btn-soft {
    color: #111827 !important;
    background: #f3f4f6;
}

.ybd-empty,
.ybd-notice,
.ybd-success {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .07);
}

.ybd-empty {
    text-align: center;
}

.ybd-empty h3 {
    margin: 10px 0 6px;
    color: #111827;
    font-size: 24px;
    font-weight: 950;
}

.ybd-empty p {
    max-width: 560px;
    margin: 0 auto;
    color: #6b7280;
    line-height: 1.55;
}

.ybd-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--ybd-accent), var(--ybd-secondary, #2563eb));
    font-weight: 950;
}

.ybd-success {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #065f46;
    margin-bottom: 16px;
    font-weight: 900;
}

.ybd-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0 0;
}

.ybd-pagination a,
.ybd-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    text-decoration: none !important;
    font-weight: 900;
}

.ybd-pagination .current {
    color: #fff;
    background: var(--ybd-accent);
    border-color: var(--ybd-accent);
}

.ybd-powered {
    margin-top: 20px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
}

.ybd-powered a {
    color: inherit !important;
    font-weight: 900;
}

.ybd-section-heading,
.ybd-submit-header {
    margin-bottom: 18px;
}

.ybd-section-heading span,
.ybd-submit-header span,
.ybd-single-kicker {
    border-color: rgba(17, 24, 39, .12);
    color: var(--ybd-accent);
    background: rgba(255, 138, 0, .10);
}

.ybd-section-heading h2,
.ybd-submit-header h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -.04em;
}

.ybd-submit-header p {
    max-width: 720px;
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.55;
}

.ybd-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ybd-category-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    align-items: center;
    min-height: 88px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #fff;
    color: #111827 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(17, 24, 39, .06);
    transition: transform .18s ease, box-shadow .18s ease;
}

.ybd-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(17, 24, 39, .11);
}

.ybd-category-initial {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--ybd-accent), var(--ybd-secondary, #2563eb));
    font-size: 22px;
    font-weight: 950;
}

.ybd-category-card strong {
    align-self: end;
    font-size: 16px;
    font-weight: 950;
}

.ybd-category-card small {
    align-self: start;
    color: #6b7280;
    font-weight: 800;
}

.ybd-submit-form {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(17, 24, 39, .10);
}

.ybd-form-section {
    padding: 18px;
    border: 1px solid #eef0f4;
    border-radius: 20px;
    background: #fbfcfe;
}

.ybd-form-section h3 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 19px;
    font-weight: 950;
}

.ybd-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ybd-submit-form p {
    margin: 0;
}

.ybd-form-full {
    margin-top: 14px !important;
}

.ybd-submit-footer {
    display: flex;
    justify-content: flex-end;
}

/* Single listing */
.ybd-single-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 30px;
    color: #fff;
    background: linear-gradient(135deg, var(--ybd-accent), var(--ybd-secondary, #2563eb) 58%, #111827);
    box-shadow: 0 24px 60px rgba(17, 24, 39, .18);
}

.ybd-single-hero h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -.045em;
}

.ybd-single-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.9);
    font-size: 18px;
    line-height: 1.55;
}

.ybd-single-media {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 24px;
    background: rgba(255,255,255,.12);
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.ybd-single-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
}

.ybd-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.ybd-single-main,
.ybd-single-side-card,
.ybd-map-placeholder {
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 24, 39, .08);
}

.ybd-single-main {
    padding: clamp(22px, 4vw, 34px);
}

.ybd-single-main h2,
.ybd-single-side-card h3,
.ybd-related h2 {
    margin: 0 0 14px;
    color: #111827;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.025em;
}

.ybd-single-content {
    color: #374151;
    font-size: 16px;
    line-height: 1.75;
}

.ybd-single-side {
    display: grid;
    gap: 16px;
}

.ybd-single-side-card {
    padding: 20px;
}

.ybd-single-contact-list {
    display: grid;
    gap: 10px;
}

.ybd-single-contact-list a,
.ybd-single-contact-list div {
    color: #111827 !important;
    overflow-wrap: anywhere;
}

.ybd-single-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.ybd-single-actions .ybd-btn {
    width: 100%;
}

.ybd-map-placeholder {
    overflow: hidden;
    min-height: 170px;
    background: linear-gradient(135deg, #f3f4f6, #ffffff);
}

.ybd-map-placeholder-inner {
    display: flex;
    min-height: 170px;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #6b7280;
    text-align: center;
    font-weight: 900;
}

.ybd-related {
    margin-top: 28px;
}

@media (max-width: 1080px) {
    .ybd-search {
        grid-template-columns: 1fr 1fr;
    }

    
.ybd-search-check {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-bottom: 1px;
}

.ybd-search-check label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.ybd-search-check input {
    width: auto !important;
    min-height: 0 !important;
}

.ybd-search-actions {
        justify-content: flex-start;
    }

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

@media (max-width: 980px) {
    .ybd-columns-3,
    .ybd-columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ybd-single-hero,
    .ybd-single-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .ybd-directory-header {
        margin-bottom: 18px;
        border-radius: 22px;
    }

    .ybd-search {
        grid-template-columns: 1fr;
        margin: 0 0 24px;
        border-radius: 20px;
    }

    .ybd-columns-2,
    .ybd-columns-3,
    .ybd-columns-4,
    .ybd-form-grid,
    .ybd-category-grid {
        grid-template-columns: 1fr;
    }

    .ybd-actions,
    .ybd-search-actions,
    .ybd-submit-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ybd-btn,
    .ybd-search button,
    .ybd-submit-form button {
        width: 100%;
    }

    .ybd-header-orb {
        display: none;
    }
}

/* v1.2.0 monetization and management UI */
.ybd-card.is-sponsored {
    border-color: rgba(37, 99, 235, .65);
    box-shadow: 0 20px 54px rgba(37, 99, 235, .18);
}

.ybd-card.is-sponsored .ybd-card-topline,
.ybd-level-sponsored .ybd-card-topline {
    height: 8px;
    background: linear-gradient(90deg, #111827, var(--ybd-secondary, #2563eb), var(--ybd-accent));
    opacity: 1;
}

.ybd-badge-sponsored {
    color: #fff;
    background: linear-gradient(135deg, #111827, var(--ybd-secondary, #2563eb));
}

.ybd-badge-free {
    color: #374151;
    background: #f3f4f6;
}

.ybd-help-text {
    display: block;
    margin-top: 7px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.ybd-lead-box,
.ybd-claim-box {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17, 24, 39, .08);
}

.ybd-lead-box h3,
.ybd-claim-box h3 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.025em;
}

.ybd-claim-box p {
    margin: 0 0 12px;
    color: #4b5563;
    line-height: 1.5;
}

.ybd-mini-form {
    display: grid;
    gap: 12px;
}

.ybd-mini-form p {
    margin: 0;
}

.ybd-mini-form label {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.ybd-mini-form input,
.ybd-mini-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d1d5db !important;
    border-radius: 14px !important;
    color: #111827 !important;
    background: #fff !important;
    font: inherit;
    box-shadow: none !important;
}

.ybd-mini-form input:focus,
.ybd-mini-form textarea:focus {
    border-color: var(--ybd-accent) !important;
    box-shadow: 0 0 0 3px rgba(255, 138, 0, .18) !important;
    outline: none;
}

.ybd-mini-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 16px;
    border: 0;
    border-radius: 14px;
    color: #fff !important;
    background: var(--ybd-button);
    font-weight: 900;
    cursor: pointer;
}

.ybd-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* v1.2.5: safer layout inside WordPress content columns and sidebars. */
.ybd-directory-wrap {
    max-width: 100%;
}

.ybd-directory-header {
    min-height: 210px;
    margin-bottom: 18px;
}

.ybd-directory-header h2 {
    font-size: clamp(32px, 5vw, 56px);
}

.ybd-search {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin: 0 0 28px;
    width: 100%;
}

.ybd-search-keyword {
    grid-column: span 2;
}

.ybd-search-actions {
    align-self: end;
    display: grid;
    grid-template-columns: 1fr;
}

.ybd-search button {
    width: 100%;
}

.ybd-search-check {
    align-self: end;
    min-height: 48px;
    padding-bottom: 0;
}

.ybd-directory-wrap .ybd-grid[class*="ybd-columns-"] {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.ybd-card.no-media .ybd-card-body {
    padding-top: 22px;
}

.ybd-card.no-media .ybd-card-badges {
    margin-top: 0;
}

.ybd-actions .ybd-btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 14px;
}

.ybd-admin-diagnostic {
    margin-top: 18px;
    text-align: left;
}

@media (max-width: 900px) {
    .ybd-search-keyword {
        grid-column: auto;
    }
}

@media (max-width: 700px) {
    .ybd-directory-wrap,
    .ybd-submit-wrap,
    .ybd-single-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .ybd-directory-header {
        border-radius: 22px;
        padding: 28px 22px;
    }

    .ybd-search {
        grid-template-columns: 1fr;
        padding: 14px;
        border-radius: 20px;
    }
}
