/* // X-Small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
    .person-list-h-535 {
        height: auto;
    }
    .no-message {
        font-size: 24px;
        line-height: 36px;
    }
    .no-message-des {
        font-size: 14px;
        line-height: 22px;
    }
    /* content */
    .hero-rating {
        border-left: 0;
    }
    .hero-one-title {
        font-size: 36px;
        line-height: 1.3;
    }
    .hero-two {
        padding: 96px 0 36px 0;
    }
    .hero-two-title {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 12px !important;
    }
    .hero-two-desc {
        font-size: 14px;
        line-height: 1.5;
    }
    .hero-popular-search {
        margin-top: 12px !important;
        gap: 8px !important;
    }
    .hero-two-media {
        margin-top: 16px;
    }
    .hero-two-img {
        max-width: 220px;
        margin-inline: auto;
        display: block;
    }
    .hero-search-col {
        padding-top: 12px !important;
    }
    .hero-form-wrapper {
        padding: 10px;
        border-radius: 16px;
        gap: 8px;
    }
    .hero-form-wrapper .form-select,
    .hero-form-wrapper .form-control {
        min-height: 44px;
        font-size: 14px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .hero-form-wrapper .form-control {
        border-left: 0;
        padding-right: 12px;
        margin-bottom: 0;
    }
    .hero-search-field {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }
    .hero-form-btn {
        position: static;
        transform: none;
        width: auto;
        min-width: 96px;
        margin: 0;
        padding: 12px 14px;
        justify-content: center;
        border-radius: 12px;
        gap: 6px;
    }
    .hero-form-btn svg {
        width: 16px;
        height: 16px;
    }
    .hero-search-suggestions {
        top: calc(100% + 6px);
        max-height: min(240px, 42vh);
        border-radius: 14px;
        padding: 6px;
    }
    .hero-search-suggestion {
        grid-template-columns: 40px minmax(0, 1fr);
        grid-template-areas:
            "img body"
            "img price";
        row-gap: 4px;
        column-gap: 10px;
        padding: 10px;
    }
    .hero-search-suggestion__img {
        grid-area: img;
        width: 40px;
        height: 40px;
    }
    .hero-search-suggestion__body {
        grid-area: body;
    }
    .hero-search-suggestion__price {
        grid-area: price;
        justify-self: start;
        font-size: 12px;
    }
    .hero-search-suggestion__title {
        font-size: 14px;
    }
    .hero-search-suggestion__meta {
        font-size: 12px;
    }
    .hero-search-tag {
        gap: 8px !important;
    }
    .hero-search-tag .tag-item {
        font-size: 13px;
        padding: 6px 12px;
    }
    .py-110 {
        padding: 50px 0;
    }
    .pt-110 {
        padding-top: 50px;
    }
    .blog-details-title {
        font-size: 26px;
        line-height: 1.4;
    }
    .service-details-title {
        font-size: 24px;
        line-height: 1.3;
    }
    .border-end {
        border-right: 0 !important;
    }
    .cta-counter-title,
    .section-title {
        font-size: 26px;
        line-height: 1.5;
    }
    .company-profile-card-title,
    .job-wage,
    .text-24,
    .service-card-price {
        font-size: 18px;
    }
    .blog-title a,
    .footer-widget-title,
    .feature-card-title,
    .job-post-title,
    .service-details-subtitle,
    .partner-name a {
        font-size: 20px;
    }
    .service-review-count {
        width: 100%;
    }
    .faq-accordions .accordion .accordion-item .accordion-button,
    .footer-nav-list .footer-nav-list-item .footer-nav-link,
    .text-18 {
        font-size: 16px;
    }
    .job-posts-container,
    .review-card {
        padding: 30px;
    }
}


/* // Small devices (landscape phones, less than 768px) */

@media (max-width: 767.98px) {
    .hero-one {
        padding: 100px 0 40px 0;
    }
    .hero-one-title {
        font-size: 40px;
    }
    .hero-one-img {
        max-width: 100%;
    }
    /* content */
    .hero-two {
        padding: 110px 0 44px 0;
        overflow-x: hidden;
        overflow-y: visible;
    }
    .hero-two-row {
        align-items: flex-start !important;
    }
    .hero-two-copy {
        order: 1;
    }
    .hero-search-col {
        order: 2;
        z-index: 30;
        margin-bottom: 0;
        padding-top: 14px !important;
    }
    .hero-two-media {
        order: 3;
        margin-top: 20px;
        text-align: center;
    }
    .hero-two-title {
        font-size: 30px;
        line-height: 1.3;
    }
    .hero-form-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        border-radius: 18px;
        gap: 8px;
    }
    .hero-form-wrapper .hero-category-field,
    .hero-form-wrapper .hero-search-field {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
    .hero-search-field {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        gap: 8px;
    }
    .hero-form-wrapper .form-select {
        display: block;
        width: 100%;
        border: 1px solid var(--dark-100);
        border-radius: 12px;
        min-height: 46px;
    }
    .hero-form-wrapper .form-control {
        border-left: 0;
        border: 1px solid var(--dark-100);
        border-radius: 12px;
        min-height: 46px;
        padding-right: 14px;
        width: 100%;
    }
    .hero-form-btn {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        width: auto;
        min-width: 108px;
        margin: 0;
        padding: 12px 16px;
        border-radius: 12px;
    }
    .hero-search-suggestions {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        top: calc(100% + 6px);
        max-height: min(280px, 48vh);
        border-radius: 14px;
    }
    .hero-search-suggestion {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        column-gap: 10px;
    }
    /* Cta */
    .cta-wrapper {
        padding: 20px;
    }
    .custom-dropdown.dropdown {
        width: 100%;
    }
    .cta-area-bg {
        padding: 35px;
    }
    .cta-counter-item {
        width: 100%;
    }
    .section-title-light {
        font-size: 30px;
        line-height: 1.3;
    }
    .top-seller-name {
        font-size: 18px;
    }
    .job-post-horizontal-title a {
        line-height: 28px;
        font-size: 16px;
    }
    .feature-category-link a,
    .service-card-author-name,
    .service-card-title {
        font-size: 16px;
    }
}


/* // Medium devices (tablets only: 768px to 991.98px) */

@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-one {
        padding: 120px 0 50px 0;
    }
    .hero-two {
        padding: 140px 0 60px 0;
        overflow-x: hidden;
        overflow-y: visible;
    }
    .hero-two-copy {
        order: 1;
    }
    .hero-search-col {
        order: 2;
        z-index: 30;
        padding-top: 20px !important;
    }
    .hero-two-media {
        order: 3;
        margin-top: 24px;
        text-align: center;
    }
    .hero-form-wrapper {
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 12px 14px;
        gap: 6px;
        border-radius: 50px;
    }
    .hero-form-wrapper .hero-category-field {
        flex: 0 0 160px;
        min-width: 140px;
        max-width: 180px;
        width: auto;
    }
    .hero-form-wrapper .hero-search-field {
        flex: 1 1 auto;
        width: auto;
        position: relative;
    }
    .hero-form-wrapper .form-select {
        display: block;
        width: 100%;
        border: 0;
        border-radius: 0;
        min-height: 48px;
        font-size: 15px;
    }
    .hero-form-wrapper .form-control {
        border: 0;
        border-left: 1px solid var(--dark-100);
        border-radius: 0;
        min-height: 48px;
        font-size: 15px;
        padding-right: 130px;
        margin-bottom: 0;
    }
    .hero-form-btn {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: auto;
        margin: 0 4px;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 50px;
    }
    .hero-search-suggestions {
        max-height: min(320px, 45vh);
    }
}

/* Shared tablet/mobile spacing under Bootstrap lg */

@media (max-width: 991.98px) {
    /* content */
    .border-end {
        border-right: 0 !important;
    }
    .custom-dropdown-toggle.dropdown-toggle {
        width: 100%;
    }
    .pb-150 {
        padding-bottom: 60px;
    }
    .py-110 {
        padding: 60px 0;
    }
    .pt-110 {
        padding-top: 60px;
    }
    .about-company {
        padding-top: 20px;
    }
    .hero-search-col {
        position: relative;
        z-index: 50;
    }
}


/* // Large devices (desktops, less than 1200px) */

@media (max-width: 1199.98px) {
    .hero-two {
        padding: 130px 0 56px 0;
        overflow-x: hidden;
        overflow-y: visible;
    }
    .hero-two-copy {
        order: 1;
    }
    .hero-search-col {
        order: 2;
        padding-top: 16px !important;
    }
    .hero-two-media {
        order: 3;
        margin-top: 20px;
        text-align: center;
    }
    /* content */
    .hero-two-img {
        position: relative;
        transform: none;
        margin-top: 0;
        max-width: 320px;
    }
    .hero-form-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .dashboard-main {
        margin-left: 0;
    }
    .dashboard-header {
        margin-left: 0;
    }
}


/* // X-Large devices (large desktops, less than 1400px) */

@media (max-width: 1399.98px) {}

@media (max-width: 1440px) {}
