/* Home page styles — extracted from inline <style> in index.html */

/* Compact hero — overrides theme's bg-home2 (which forces 198px+140px padding) */
.hero-compact.bg-home2 {
    padding: 96px 0 56px 0;
}
@media (max-width: 767.98px) {
    .hero-compact.bg-home2 {
        padding: 88px 0 40px 0;
    }
}

/* Tighter section spacing on the home page only — theme default is
   80/80 which adds ~1440px of padding across the home page's 9 sections. */
.page-content .section {
    padding-top: 56px;
    padding-bottom: 56px;
}
@media (max-width: 767.98px) {
    .page-content .section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

.hero-brand-logo {
    width: 48px;
    height: 48px;
}

.hero-brand-name {
    font-weight: 800;
    font-size: 1.4rem;
    color: #02af74;
    letter-spacing: -0.02em;
    margin-top: 4px;
}

/* Job alert signup section */
.job-alert-section {
    background: linear-gradient(135deg, rgba(2, 175, 116, 0.05) 0%, rgba(2, 175, 116, 0.12) 100%);
}

.job-alert-card {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

/* Slim CTA band — replaces the full .section CTA which had ~280px of
   centered whitespace around just one button */
.cta-band {
    background: #f8f9fa;
    padding: 28px 0;
}

.job-alert-card .title {
    font-weight: 700;
    color: #1d1d35;
}

.job-alert-form .input-group-text {
    background: #fff;
    border-right: 0;
    color: #02af74;
}

.job-alert-form input.form-control {
    border-left: 0;
}

.job-alert-form input.form-control:focus {
    box-shadow: none;
    border-color: #02af74;
}

/* Testimonials — multiple visible at once on tablet+ */
.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
}
.testimonial-quote {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}
.testimonial-name {
    font-weight: 600;
    color: #1d1d35;
    font-size: 0.95rem;
}
.testimonial-role {
    font-size: 0.85rem;
}

/* Job locations as chip cloud (was 4-col h5 grid) */
.state-chip {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7ef;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}
.state-chip:hover {
    color: #02af74;
    border-color: #02af74;
    transform: translateY(-1px);
}

/* How It Works — 3-step horizontal stepper (replaces 2-col tabs+image
   layout that wasted vertical space) */
.how-it-works-step {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    height: 100%;
    transition: border-color 0.15s ease, transform 0.08s ease;
}

.how-it-works-step:hover {
    border-color: #02af74;
    transform: translateY(-2px);
}

.how-it-works-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    background: rgba(2, 175, 116, 0.1);
    color: #02af74;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.how-it-works-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.how-it-works-desc {
    font-size: 0.9rem;
}

/* Featured jobs mini cards — compact list-item style so 6 fit
   visibly without a carousel */
.featured-job-mini {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: border-color 0.15s ease, transform 0.08s ease, box-shadow 0.15s ease;
}

.featured-job-mini:hover {
    border-color: #02af74;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.featured-job-mini-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f0f1f5;
}

.featured-job-mini-body {
    min-width: 0;
    flex-grow: 1;
}

.featured-job-mini-title {
    font-weight: 600;
    font-size: 0.92rem;
    color: #1d1d35;
    line-height: 1.25;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-job-mini-company {
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 2px;
}

.featured-job-mini-meta {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.featured-job-mini-meta i {
    margin-right: 2px;
}

/* Categories sidebar (right-side column on desktop, stacked under
   featured jobs on mobile) */
.categories-sidebar {
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    padding: 24px;
}

@media (min-width: 992px) {
    .categories-sidebar {
        position: sticky;
        top: 88px;
    }
}

.categories-sidebar .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1d1d35;
}

.categories-sidebar-list li + li {
    border-top: 1px solid #f0f1f5;
}

.categories-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: #475569;
    text-decoration: none;
    transition: color 0.15s ease;
}

.categories-sidebar-link:hover {
    color: #02af74;
}

.categories-sidebar-name {
    font-weight: 500;
}

.categories-sidebar-count {
    font-size: 0.8rem;
    background: #f6f7fb;
    color: #6c757d;
    padding: 2px 10px;
    border-radius: 999px;
    flex-shrink: 0;
    margin-left: 8px;
}

.categories-sidebar-link:hover .categories-sidebar-count {
    background: rgba(2, 175, 116, 0.1);
    color: #02af74;
}

/* Quick-search tag chips under the hero search form */
.quick-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.quick-tags-label {
    color: #6c757d;
    font-weight: 500;
}

.quick-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7ef;
    color: #475569;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.quick-tag:hover {
    color: #02af74;
    border-color: #02af74;
    transform: translateY(-1px);
}

/* .img-ratio / .img-ratio-2 moved to shared job-card.css (loaded via base.html) */

/* Client logo marquee */
.platforms {
    background: transparent;
    margin: auto;
    overflow: hidden;
    z-index: 1;
}

.platforms .slide-track {
    display: flex;
    width: calc(200px * 32);
    top: 30%;
    position: relative;
}

.platforms div.taphover {
    height: 100%;
    width: 200px;
    transition: all .5s ease;
    cursor: pointer;
    text-decoration: none;
    margin: 0 20px;
}

.platforms div.taphover:hover,
.hover {
    transform: scale(1.1);
    opacity: 1 !important;
}

.platforms div.taphover img {
    position: relative;
    width: 200px;
    height: auto;
}

.slot-top    { margin-top: 0; }
.slot-middle { margin-top: 15px; }
.slot-bottom { margin-top: 30px; }

.slot-top h2,
.slot-middle h2,
.slot-bottom h2 {
    position: relative;
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #1d1d35;
    margin-top: 10px;
    opacity: 0;
    transition: all .5s ease;
}

.slot-top:hover h2,
.slot-middle:hover h2,
.slot-bottom:hover h2 {
    opacity: 1;
}

@media only screen and (max-width: 800px) {
    body .platforms {
        bottom: -30px;
    }
    body .slider .slide-track {
        width: calc(150px * 32);
    }
    body .platforms div.taphover,
    .platforms div.taphover img {
        width: 150px;
    }
}

@media only screen and (max-width: 400px) {
    body .platforms {
        bottom: -70px;
    }
    body .slider .slide-track {
        width: calc(120px * 26);
    }
    body .platforms div.taphover,
    .platforms div.taphover img {
        width: 120px;
    }
}
