/*
Theme Name: Recruiters Websites
Theme URI: http://www.recruiterswebsites.com
Version: 1.0
Description: Recruiters Websites Framework for Custom Website Development
Author: The Recruiters Websites Team
Author URI: http://www.recruiterswebsites.com
template: bb-theme
*/

/*
==========================================================================
GLOBALS
==========================================================================
*/
body {
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

.rw-sticky-col {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
}

p.gform_required_legend {
    display: none;
}

.rw-header-social .rw-circle-icon {
    background: white !important;
    color: black !important;
}

.rw-header-social {
    display: flex;
    justify-content: flex-end;
}

@media screen and (max-width: 1120px) {
    .remove-br br {
        display: none;
    }
}

@media screen and (max-width: 992px) {
    .rw-sticky-col {
        position: relative;
        top: 0;
    }
}


/*
==========================================================================
HEADER + FOOTER
==========================================================================
*/
.address-data.header-data {
    display: flex;
    color: white;
    align-items: center;
    gap: 5px;
}

.address-data.header-data p {
    margin-bottom: 0;
}

.address-data.header-data br {
    display: none;
}

.call-header-container,
.mobile-btn-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
}

.call-header-container .call-icon i,
.mobile-btn-menu .call-icon i{
    font-size: 30px;
    color: #000;
    margin-top: 6px;
}

.call-header-container .call-content,
.mobile-btn-menu .call-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-header-container .call-msg,
.mobile-btn-menu .call-msg {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.2;
    color: #000;
}

.call-header-container .call-number,
.mobile-btn-menu .call-number {
    font-size: 18px;
    text-decoration: none;
    color: #000;
    line-height: 1.1;
}

.call-header-container .call-number:hover,
.mobile-btn-menu .call-number:hover {
    color: #555; /* Subtle hover effect */
}

.mobile-btn-menu {
    justify-content: center;
    margin-top: 25px;
}

div#menu-grid-wrap .fl-col-content {
    display: grid;
    grid-template-columns: 150px 1fr 200px;
    gap: 20px;
    align-items: center;
}

#rw-menu-items button.pp-advanced-menu-mobile-toggle.hamburger {
    background: transparent;
}

@media screen and (max-width: 1200px) {
    #menu-grid-wrap .pp-advanced-menu-mobile {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 992px) {

    div#menu-grid-wrap .fl-col-content {
        grid-template-columns: 1fr 200px 60px;
        gap: 20px;
    }

    div#menu-logo-size {
        order: 1;
    }

    div#rw-menu-items {
        order: 3;
    }

    div#rw-menu-btn-ele {
        order: 2;

    }

}


@media screen and (max-width: 768px) {

    div#menu-grid-wrap .fl-col-content {
        grid-template-columns: 1fr 60px;
        gap: 20px;
    }

    div#rw-menu-btn-ele {
        display: none;
    }

}

.footer-contact p a:hover {
    color: var(--rw-global-blue) !important;
}

/*
==========================================================================
BUTTONS
==========================================================================
*/
.coop-btns a.fl-button {
    padding: 18px 20px;
}

.fl-builder-content .coop-btns.fl-button-group.fl-button-group-buttons .fl-button-group-button {
    padding: 5px 5px 5px 0;
}

.dual-coop-btns .fl-button-group-button .fl-button-wrap {
    min-width: 170px;
}


/* ============================================================
   Logo Carousel Shortcode
   ============================================================ */

/* Outer wrapper */
.logo-product-grid-wrap {
    width: 100%;
}

/* ── Section (one per child category) ── */
.logo-product-grid-section {
    margin-bottom: 3rem;
}

/* Child category name */
.logo-product-grid-section__title {
    font-size: 14px;
    font-weight: 100;
    text-transform: uppercase;
    color: #000;
}

/* Divider line beneath the title */
.logo-product-grid-section__divider {
    border: none;
    border-top: 1px solid #979797;
    margin-bottom: 25px;
}

/* ── Logo Grid ── */
.logo-product-grid-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 45px;
    align-items: center;
}

/* ── Individual Logo Cell ── */
.logo-product-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-product-grid-item__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* ── Responsive Breakpoints ── */
@media ( max-width: 1200px ) {
    .logo-product-grid-section__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media ( max-width: 640px ) {
    .logo-product-grid-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 45px;
    }
}

/* ============================================================
   Contact Sidebar Shortcode
   ============================================================ */

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ── Row: icon + content side by side ── */
.contact-sidebar__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* ── Icon column ── */
.contact-sidebar__icon {
    flex-shrink: 0;
    padding-top: 0.15rem;
    text-align: center;
    font-size: 16px;
    color: #000;
}

/* ── Text column ── */
.contact-sidebar__content {
    display: flex;
    flex-direction: column;
}

/* Phone link */
.contact-sidebar__content a {
    color: inherit;
    text-decoration: none;
}

.contact-sidebar__content a:hover {
    text-decoration: underline;
}


/* Hours output — wp_kses_post may include <p> tags from ACF textarea */
.contact-sidebar__content p {
    margin: 0;
}


/*
==========================================================================
BLOG ARCH/SINGLE PAGE
==========================================================================
*/
.rw-blog-image {
    position: relative;
}

.rw-blog-image img {
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 15px 15px 0 0;
}

.rw-blog-content {
    padding: 30px 20px;
    background: var(--rw-global-blue-8);
    border-radius: 0 0 15px 15px;
}

.rw-blog-content .rw-blog-title {
    margin-bottom: 20px;
    font-size: 22px;
}

.rw-blog-cat a,
.blog-single-titles span.pp-heading-prefix a {
    font-size: 12px;
    border: 1px solid #D8D8D8;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 60px;
    color: #606165;
    cursor: pointer;
}

.rw-blog-cat a:hover,
.blog-single-titles span.pp-heading-prefix a:hover {
    background: white;
    color: #606165;
    cursor: pointer;
}

.rw-blog-cat {
    margin-bottom: 6px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.rw-blog-content span {
    font-weight: 500;
    text-decoration: none;
    color: var(--rw-global-blue);
}

.rw-blog-content span i {
    margin-left: 5px;
}

.rw-blog-content span:hover,
.rw-blog-content .rw-blog-title:hover {
    color: var(--rw-global-blue);
}


.related-post-title {
    font-size: 30px;
    margin-bottom: 30px;
}

.single-blog-img .pp-photo-content img {
    aspect-ratio: 3/2;
    object-fit: cover;
}

section.blog-related-wrapper .rw-blog-image img {
    display: none;
}


.blog-related-wrapper .rw-arch-inner-wrapper .rw-blog-content {
    padding: 0;
    background: none;
    border: none;
}

.blog-related-wrapper .rw-arch-inner-wrapper {
    margin-bottom: 35px;
}

.blog-related-wrapper .rw-arch-inner-wrapper:last-child {
    margin-bottom: 0;
}

/* ── CAT LIST ITEMS ── */
.rw-cat-widget ul {
    list-style: none;
    padding: 0;
}

.rw-cat-widget li a {
    margin-bottom: 10px;
    display: inline-block;
    font-size: 18px;
}

.rw-cat-widget li.current-cat a {
    text-decoration: underline;
}

.rw-cat-widget li a:hover {
    text-decoration: underline;
    color: var(--rw-global-dark-blue);
}


/*
==========================================================================
    HOME PHOTO SLIDER
==========================================================================
*/
.rw-content-slider .fl-slide-text-center .fl-slide-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.rw-content-slider .fl-module-content-slider .bx-wrapper {
    margin: 0;
}

.rw-content-slider .bx-wrapper .bx-controls-auto,
.rw-content-slider .bx-wrapper .bx-pager {
    bottom: 20px;
}

.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager a,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager button {
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
}

.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager a.active,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager a:focus,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager a:hover,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager button.active,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager button:focus,
.rw-content-slider .bx-wrapper .bx-pager.bx-default-pager button:hover {
    background: white;
}

.rw-content-slider .fl-content-slider .fl-slide-bg-photo {
    border-radius: 15px;
}

.rw-content-slider .fl-slide-content {
    border-radius: 0 0 15px 15px;
}

.rw-content-slider .fl-builder-content .bx-wrapper .bx-viewport {
    height: 600px !important;
}

.rw-content-slider .fl-module-content-slider .bx-wrapper {
    margin: 0;
}

.fl-slide-mobile-photo img {
    border-radius: 15px;
}


/* ── Slider Container ── */
.dept-card-grid {
    /* Slick handles the layout, so we remove grid/flex here */
    display: block;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

/* ── Slick Slide Wrapper (Adds spacing between cards) ─ */
.dept-card-grid .slick-slide {
    margin: 0 10px; /* This creates the 20px gap (10px left + 10px right) */
    outline: none;
}

/* ── Card ── */
.dept-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    /* Slick slides are variable height usually, so we force the aspect ratio on the card itself */
    aspect-ratio: 3 / 4;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* ─ Overlay ── */
.dept-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100px; /* Start small (just title bar) */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Content pinned to bottom initially */
    padding: 0 30px 35px;
}

.dept-card:hover .dept-card__overlay {
    height: 100%; /* Expand to full height */
    background: rgba(0, 0, 0, 0.4); /* Solid dark background on hover */
    justify-content: flex-end; /* Move content to top */
    padding: 30px;
    padding-top: 100px; /* Push content down slightly from top */
}

/* ── Title ── */
.dept-card__title {
    color: #fff;
    margin: 0;
    transition: transform 0.3s ease;
}

/* ── Reveal Content ── */
.dept-card__reveal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease 0.1s;
    margin-top: 0;
}

.dept-card:hover .dept-card__reveal {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
}

/* ── Content text ── */
.dept-card__content {
    color: #fff;
    margin: 0;
}

/* ── Link ── */
.dept-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    width: fit-content;
    margin-top: 5px;
}

.dept-card__link:hover {
    text-decoration: none;
}

/* ── Slick Arrows & Dots Styling ── */
.dept-card-grid .slick-prev,
.dept-card-grid .slick-next {
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.dept-card-grid .slick-prev:hover,
.dept-card-grid .slick-next:hover {
    background: rgba(0,0,0,0.8);
}

.dept-card-grid .slick-prev { left: -20px; }
.dept-card-grid .slick-next { right: -20px; }

.dept-card-grid .slick-prev:before,
.dept-card-grid .slick-next:before {
    font-family: 'Font Awesome 6 Free'; /* Assuming you use FA */
    font-weight: 900;
    font-size: 16px;
    opacity: 1;
    color: #fff;
}

.dept-card-grid .slick-prev:before { content: "\f053"; /* fa-chevron-left */ }
.dept-card-grid .slick-next:before { content: "\f054"; /* fa-chevron-right */ }

.dept-card-grid .slick-dots {
    bottom: -40px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dept-card-grid .slick-dots li {
    margin: 0;
}

.dept-card-grid .slick-dots li button:before {
    font-size: 1px;
    color: transparent;
    opacity: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #b0b0b0;
    top: auto;
    left: auto;
    line-height: inherit;
    border-radius: 50%;
    width: 18px;
    height: 18px;
}

.dept-card-grid .slick-dots li.slick-active button:before {
    color: transparent;
    background: #b0b0b0;
}

/* ── Responsive ── */
@media ( max-width: 768px ) {
    .dept-card-grid .slick-prev { left: -10px; }
    .dept-card-grid .slick-next { right: -10px; }
}