/*
Theme Name: Hello Elementor Child
Template: hello-elementor
Text Domain: hello-elementor-child
*/


/* =========================================================
   PROVIDERS ARCHIVE
   /providers/ + /activity-category/...
========================================================= */

body.post-type-archive-activity_provider,
body.tax-activity_category {
    background: #f8f6f4;
}

.providers-page {
    display: flex;
    gap: 30px;
    max-width: 1524px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: flex-start;
}


/* =========================
   PROVIDERS SIDEBAR
========================= */

.providers-sidebar {
    width: 25%;
    padding: 0;
    background: #F8F6F4;

    height: max-content;

    position: sticky;
    top: 130px;
}

.providers-sidebar h3 {
    font-family: "Montserrat", Sans-serif;
    font-size: 25px;
    font-weight: 600;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 65px;
    letter-spacing: -1px;

    color: #F9F9F9;
    background: #4B41E5;

    padding: 0 30px;
    text-align: center;

    background-image: url(https://hobboo.gr/wp-content/uploads/2026/01/30_Pricing_Candidate_Recruitment_Platform-svg_shape_circel.svg);
    background-position: -100% -6%;
    background-repeat: no-repeat;
    background-blend-mode: overlay;

    margin: 0;
}

.providers-sidebar form {
    padding: 30px;
    background: white;
}

.providers-sidebar select {
    margin-bottom: 20px;
    border: none;
    border-bottom: 1px solid #80808059;
}


/* =========================
   TAXONOMY CATEGORY NAVIGATION
========================= */

/*
 * Στο taxonomy template το Category navigation
 * βρίσκεται πριν από το πραγματικό filter form.
 */

.provider-category-navigation-wrap {
    padding: 30px 30px 0;
    background: white;
}

.provider-category-navigation-wrap label {
    display: block;
}

.provider-category-navigation-wrap select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #80808059;
}

.provider-category-navigation-wrap + form {
    padding-top: 20px;
}


/* =========================
   PROVIDERS RESULTS
========================= */

.providers-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 75%;
    min-width: 0;
}

.providers-results h1 {
    font-family: "Roboto", Sans-serif;
    font-size: 35px;
    font-weight: bold;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 70px;
    letter-spacing: 0;
    color: #000000;
}


/* =========================
   BREADCRUMBS
========================= */

.hobboo-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
}

.hobboo-breadcrumbs a {
    color: #4B41E5;
    text-decoration: none;
}

.hobboo-breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    opacity: 0.5;
}

.breadcrumb-current {
    color: #565656;
}


/* =========================
   PROVIDERS SORTING
========================= */

form.providers-sorting {
    margin-bottom: 20px;
    align-content: center;
}

.providers-sorting label {
    display: flex;
    align-items: center;
}

.providers-sorting select {
    border: 0;
    border-radius: 0;
    margin-top: 5px;
    width: 250px;
    margin-left: 10px;
}


/* =========================
   PROVIDERS GRID
========================= */

.providers-list {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)) !important;
    gap: 20px;
}


/* =========================
   PROVIDER CARD
========================= */

.provider-item {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.provider-card {
    border: 1px solid #eee;
    border-radius: 0;
    overflow: hidden;
    background: #fff;

    display: flex;
    flex-direction: column;
}

article.provider-card {
    background: white;
}

.provider-card-image {
    display: block;
}

.provider-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

img.attachment-medium.size-medium.wp-post-image {
    border-radius: 8px;
}

.provider-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.provider-card-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.provider-card-content h2 {
    font-size: 1.5rem;
}

.provider-card-excerpt {
    font-size: 14px;
    color: #555;
    flex-grow: 1;
}

.provider-card-excerpt p {
    font-size: 16px;
    color: #565656;
}

.provider-card-rating {
    width: max-content;
    background: #f8f6f4;
    padding: 5px 15px;
    border-radius: 50px;

    margin: 10px 0;
    font-weight: bold;
}

a.provider-card-button {
    display: inline-block;

    color: #4B41E5 !important;
    padding: 10px 15px;

    text-align: center;

    border: 1px solid #4B41E5;
    border-radius: 50px;

    background: none;

    text-decoration: none;
}

a.provider-card-button:hover {
    background: #4B41E5 !important;
    color: white !important;
}


/* =========================
   PAGINATION
========================= */

.providers-pagination {
    margin-top: 50px;
}

.providers-pagination a {
    background-color: #E7ECFE;
    color: #4B41E5;

    padding: 5px 10px;

    border-radius: 20px;
}

.providers-pagination .page-numbers.current {
    background: white;
    color: #4B41E5;

    padding: 5px 10px;

    border-radius: 50px;
}


/* =========================================================
   GENERAL BUTTONS
========================================================= */

[type=submit],
button,
.provider-section button {
    background-color: #4B41E5;
    color: #FFFFFF;

    font-family: "Inter", Sans-serif;
    font-size: 16px;
    font-weight: 500;

    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;

    line-height: 20px;
    letter-spacing: 0;

    border-style: solid;
    border-width: 1px;
    border-color: #4B41E5;

    border-radius: 50px;
}

[type=submit]:hover,
button:focus,
button:hover,
.provider-section button:hover {
    background-color: #4B41E500;
    color: #4B41E5;
}


/* =========================================================
   PROVIDER SINGLE - GENERAL
========================================================= */

.provider-single {
    background: #f7f7f7;
    padding-bottom: 80px;
}

.provider-single h1,
.provider-single h2,
.provider-single h3 {
    margin-bottom: 15px;
}

.provider-section {
    scroll-margin-top: 120px;
}

.provider-section h2 {
    font-size: 24px;
    color: #4c41e3;
    margin-bottom: 30px;
}


/* =========================================================
   PROVIDER SINGLE - HERO
========================================================= */

.provider-hero {
    height: 260px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    align-content: center;
    justify-items: center;

    margin-bottom: 100px;
}


/* =========================================================
   PROVIDER HEADER
========================================================= */

.provider-header {
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
}

.provider-logo {
    margin-top: 15px;
}

.provider-logo img {
    width: 120px;
    height: 120px;

    object-fit: contain;

    border-radius: 50%;

    background: #fff;

    padding: 10px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    margin-bottom: -130px;
}

.provider-title {
    font-size: 35px;
    font-weight: 600;
    color: white;
}

.provider-meta {
    margin-top: 10px;

    font-size: 15px;

    color: #fff;

    font-weight: 500;
}

.provider-meta span {
    margin-right: 6px;
}

.meta-separator {
    opacity: 0.6;
    margin: 0 6px;
}


/* =========================================================
   PROVIDER SINGLE - MAIN LAYOUT
========================================================= */

.provider-main-layout {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;

    gap: 40px;

    align-items: flex-start;
}


/* =========================================================
   PROVIDER SINGLE - SIDEBAR
========================================================= */

.provider-sidebar {
    width: 260px;

    position: sticky;
    top: 150px;

    background: #fff;

    border-radius: 8px;

    padding: 20px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.provider-menu {
    list-style: none;

    margin: 0;
    padding: 0;
}

.provider-menu li {
    margin-bottom: 10px;
}

.provider-menu a {
    display: block;

    padding: 12px 15px;

    border-radius: 6px;

    text-decoration: none;

    color: #333;

    font-weight: 500;

    transition: background 0.3s, color 0.3s;

    background: #f7f7f7;
}

.provider-menu a:hover {
    background: #f0f0f0;
}


/* =========================================================
   PROVIDER SINGLE - CONTENT
========================================================= */
.provider-section a{
    color: #565656;
}
.provider-content {
    flex: 1;
}

.provider-section {
    background: #fff;

    border-radius: 8px;

    padding: 30px;

    margin-bottom: 40px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.provider-section p,
.provider-details,
.provider-section label {
    font-size: 16px;
    color: #565656;
}


/* =========================================================
   PROVIDER GALLERY
========================================================= */

.provider-gallery-grid {
    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));

    gap: 15px;

    margin-top: 20px;
}

.provider-gallery-item img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    border-radius: 6px;

    transition: 0.3s;
}

.provider-gallery-item img:hover {
    transform: scale(1.05);
}


/* =========================================================
   PROVIDER DETAILS
========================================================= */

.provider-details {
    list-style: none;

    padding: 0;
    margin: 0;
}

.provider-details li {
    padding: 10px 0;

    border-bottom: 1px solid #eee;
}

.provider-details li:last-child {
    border-bottom: none;
}


/* =========================================================
   PROVIDER MAP
========================================================= */

.provider-map {
    margin-top: 15px;

    border-radius: 8px;

    overflow: hidden;
}

.provider-map iframe {
    width: 100%;
    height: 300px;

    border: 0;
}

/* =========================================================
   GOOGLE REVIEWS
========================================================= */

.provider-google-reviews {
    position: relative;
}

.google-rating-box {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 25px;
}

.google-rating-score {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.google-rating-number {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    line-height: 1;
}

.google-rating-stars {
    font-size: 22px;
    letter-spacing: 2px;
    color: #f4b400;
}

.google-rating-max {
    font-size: 16px;
    color: #777;
}

.google-rating-count {
    margin: 15px 0 !important;
}

.google-rating-link {
    display: inline-block;

    margin-top: 5px;
    padding: 10px 18px;

    border: 1px solid #4B41E5;
    border-radius: 50px;

    color: #4B41E5;
    text-decoration: none;

    transition: 0.3s;
}

.google-rating-link:hover {
    background: #4B41E5;
    color: #fff;
}

/* =========================================================
   CONTACT FORM
========================================================= */

.provider-section form p {
    margin-bottom: 15px;
}

.provider-section input,
.provider-section textarea {
    width: 100%;

    padding: 10px 12px;

    border: none;
    border-bottom: 1px solid #ddd;

    border-radius: 5px;

    font-size: 14px;
}

.provider-section button {
    padding: 12px 25px;
    cursor: pointer;
}

.success-message {
    background: #e6f9ed;

    border: 1px solid #b6e6c8;

    padding: 12px;

    border-radius: 6px;

    margin-bottom: 20px;
}


/* =========================================================
   PROVIDERS CAROUSEL
========================================================= */

.providers-carousel {
    position: relative;
    width: 100%;
}

.providers-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.providers-carousel-track {
    display: flex;
    gap: 20px;
}


/* 4 cards desktop */
.providers-carousel-track .provider-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
}


/* =========================================================
   CAROUSEL NAVIGATION
========================================================= */

.providers-carousel-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 10;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);

    font-size: 20px;
}

.providers-carousel-prev {
    left: -21px;
}

.providers-carousel-next {
    right: -21px;
}

.providers-carousel-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1024px) {

    .providers-carousel-track .provider-card {
        flex: 0 0 calc((100% - 20px) / 2);
    }

}


@media (max-width: 992px) {

    /* Provider archive */
    .providers-page {
        flex-direction: column;
    }

    .providers-sidebar {
        width: 100%;

        position: relative;

        top: auto;

        margin-bottom: 30px;
    }

    .providers-results {
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-between;
        align-content: flex-end;
    }


    /* Provider single */
    .provider-main-layout {
        flex-direction: column;
    }

    .provider-sidebar {
        width: 100%;

        position: relative;

        top: auto;

        margin-bottom: 30px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {

    .providers-page {
        padding: 25px 15px;
    }

    .providers-list {
        grid-template-columns: 1fr !important;
            width: 100%;
    }

    .providers-results h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .providers-sorting label {
        flex-direction: column;
        align-items: flex-start;
    }

    .providers-sorting select {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }


    /* Carousel */
    .providers-carousel-track .provider-card {
        flex: 0 0 100%;
    }

    .providers-carousel-prev {
        left: 5px;
    }

    .providers-carousel-next {
        right: 5px;
    }

}

/* =========================================================
   BUSINESS APPLICATION FORM
========================================================= */

.hobboo-business-form {
    max-width: 950px;
    margin: 40px auto;
}

/* Sections / cards */
.business-form-section {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

/* Section titles */
.business-form-section h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

/* Small description under heading */
.business-form-description {
    margin: 0 0 28px;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM LAYOUT
========================================================= */

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

.business-form-field {
    margin-bottom: 22px;
}

.business-form-field:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LABELS
========================================================= */

.business-form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #292929;
}

.hobboo-business-form .required {
    color: #e44;
}


/* =========================================================
   INPUTS
========================================================= */

.hobboo-business-form input[type="text"],
.hobboo-business-form input[type="email"],
.hobboo-business-form input[type="url"],
.hobboo-business-form select,
.hobboo-business-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 15px;

    background: #fafafa;
    border: 1px solid #dedee5;
    border-radius: 9px;

    font-size: 15px;
    color: #222;

    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.hobboo-business-form textarea {
    min-height: auto;
    resize: vertical;
}


/* Focus */
.hobboo-business-form input:focus,
.hobboo-business-form select:focus,
.hobboo-business-form textarea:focus {
    background: #fff;
    border-color: #4B41E5;
    box-shadow: 0 0 0 3px rgba(75, 65, 229, 0.10);
}


/* =========================================================
   HELP TEXT
========================================================= */

.business-form-field small {
    display: block;
    margin-top: 7px;

    font-size: 12px;
    line-height: 1.5;
    color: #888;
}


/* =========================================================
   FILE UPLOAD
========================================================= */

.hobboo-business-form input[type="file"] {
    width: 100%;
    padding: 15px;

    background: #fafafa;
    border: 1px dashed #c9c9d4;
    border-radius: 10px;

    cursor: pointer;
}

.hobboo-business-form input[type="file"]:hover {
    border-color: #4B41E5;
}


/* =========================================================
   CHECKBOXES
========================================================= */

.business-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 16px 18px;
    margin-bottom: 12px;

    background: #fafafa;
    border: 1px solid #e7e7ed;
    border-radius: 10px;

    font-size: 14px;
    line-height: 1.6;

    cursor: pointer;
}

.business-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.business-form-submit {
    margin-top: 30px;
}

.business-form-submit button {
    width: 100%;
    min-height: 54px;

    padding: 14px 25px;

    background: #4B41E5;
    border: 1px solid #4B41E5;
    border-radius: 50px;

    color: #fff;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.business-form-submit button:hover {
    background: #3930c7;
    border-color: #3930c7;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px
        rgba(75, 65, 229, 0.20);
}


/* =========================================================
   SUCCESS / ERRORS
========================================================= */

.business-form-success {
    max-width: 950px;

    margin: 30px auto;
    padding: 25px 30px;

    background: #f1fbf5;
    border: 1px solid #b9e7ca;
    border-radius: 12px;
}

.business-form-success h3 {
    margin: 0 0 8px;
}

.business-form-success p {
    margin: 0;
}


.business-form-errors {
    max-width: 950px;

    margin: 20px auto;
    padding: 20px 25px;

    background: #fff5f5;
    border: 1px solid #efc5c5;
    border-radius: 12px;
}

.business-form-errors ul {
    margin: 10px 0 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .hobboo-business-form {
        margin: 25px auto;
    }

    .business-form-section {
        padding: 24px 20px;
        border-radius: 12px;
    }

    .business-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .business-form-section h2 {
        font-size: 19px;
    }

}