.home-carousel {
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.home-carousel .carousel-inner {
    width: 100%;
    aspect-ratio: 7 / 3;
    overflow: hidden;
}

.home-carousel .carousel-item,
.home-carousel .carousel-item.active {
    height: 100%;
}

.home-carousel-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-search {
    width: 100%;
}

.home-search-inner {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem 3.5rem;
    text-align: center;
}

.home-search-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.home-search-desc {
    margin: 0 0 1.75rem;
}

.home-search-form {
    width: 100%;
}

.home-search-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 64px;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(30, 104, 173, 0.1);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search-bar:focus-within {
    border-color: #3b7dd8;
    box-shadow: 0 10px 28px rgba(30, 104, 173, 0.16);
}

.home-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 1.25rem;
    font-size: 1.25rem;
    color: #94a3b8;
}

.home-search-input {
    flex: 1;
    min-width: 0;
    padding: 0 1rem;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.125rem;
}

.home-search-btn {
    flex-shrink: 0;
    min-width: 140px;
    padding: 0 2rem;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #e88b0c 0%, #f5a623 55%, #f7b84d 100%);
    cursor: pointer;
    transition: filter 0.2s ease;
}

.home-search-btn:hover {
    filter: brightness(1.1);
}

.home-search-btn:active {
    filter: brightness(0.96);
}

.home-slogan {
    width: 100%;
    background-color: #f8fafc;
}

.home-slogan-inner {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 1rem 3.5rem;
}

.home-slogan-item {
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-slogan-item:hover {
    border-color: #dbe3ec;
    box-shadow: 0 8px 24px rgba(30, 104, 173, 0.08);
}

.home-slogan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(30, 104, 173, 0.1);
}

.home-slogan-icon .bi {
    font-size: 1.75rem;
    color: #1e68ad;
}

.home-slogan-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-slogan-desc {
    margin: 0;
    line-height: 1.6;
    color: #64748b;
}

.home-jobs {
    width: 100%;
}

.home-jobs-inner {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.5rem 1rem 3.5rem;
}

.home-jobs-title {
    margin: 0 0 1.75rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
}

.home-job-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 100%;
    padding: 1.25rem 1.5rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-job-item:hover {
    border-color: #dbe3ec;
    box-shadow: 0 8px 24px rgba(30, 104, 173, 0.08);
}

.home-job-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    padding: 0.75rem;
    border-radius: 10px;
}

.home-job-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-job-info {
    flex: 1;
    min-width: 0;
}

.home-job-name {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-job-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.home-job-badge {
    display: inline-block;
    padding: 0.125rem 0.4375rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
    background: var(--primary-color);
    border-radius: 999px;
}

.home-job-salary {
    font-weight: 600;
    white-space: nowrap;
}

.home-job-salary-amount {
    color: var(--primary-color);
}

.home-job-city {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0;
    line-height: 1.5;
    color: #64748b;
}

.home-activities {
    width: 100%;
    background-color: #f8fafc;
}

.home-activities-inner {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem 3.5rem;
}

.home-activities-title {
    margin: 0 0 1.75rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
}

.home-activity-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-activity-item:hover {
    border-color: #dbe3ec;
    box-shadow: 0 8px 24px rgba(30, 104, 173, 0.08);
}

.home-activity-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.home-activity-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-activity-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.5rem 1.5rem;
}

.home-activity-title {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-activity-summary {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #64748b;
}

.home-activity-meta {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.375rem;
    line-height: 1.5;
    color: #64748b;
}

.home-activity-meta:last-child {
    margin-bottom: 0;
}

.home-activity-meta .bi {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.home-policies {
    width: 100%;
}

.home-policies-inner {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 1rem 3.5rem;
}

.home-policies-group + .home-policies-group {
    margin-top: 2.5rem;
}

.home-policies-title {
    margin: 0 0 1.75rem;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
}

.home-policies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-policy-item {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-policy-item:hover {
    border-color: #dbe3ec;
    box-shadow: 0 8px 24px rgba(30, 104, 173, 0.08);
}

.home-policy-cover {
    flex-shrink: 0;
    width: 280px;
    min-height: 180px;
    overflow: hidden;
}

.home-policy-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-policy-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 1.25rem 1.5rem;
}

.home-policy-title {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-policy-summary {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #64748b;
    height: calc(1em * 1.6 * 3);
}

.home-policy-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.home-policy-city,
.home-policy-date {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    line-height: 1.5;
    color: #64748b;
}

@media (max-width: 767.98px) {
    .home-carousel .carousel-inner {
        aspect-ratio: auto;
        height: 240px;
    }

    .home-search-inner {
        padding: 2rem 0.75rem 2.5rem;
    }

    .home-search-title {
        font-size: 1.375rem;
    }

    .home-search-desc {
        margin-bottom: 1.25rem;
    }

    .home-search-bar {
        flex-direction: column;
        min-height: auto;
        border-radius: 12px;
    }

    .home-search-icon {
        display: none;
    }

    .home-search-input {
        padding: 1rem 1.125rem;
        font-size: 1rem;
        border-bottom: 1px solid #e8ecf0;
    }

    .home-search-btn {
        width: 100%;
        min-width: 0;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .home-slogan-inner {
        padding: 2rem 0.75rem 2.5rem;
    }

    .home-slogan-item {
        padding: 1.5rem 1.25rem;
    }

    .home-jobs-inner {
        padding: 0 0.75rem 2.5rem;
    }

    .home-jobs-title {
        margin-bottom: 1.25rem;
        font-size: 1.375rem;
    }

    .home-job-item {
        padding: 1rem 1.125rem;
        gap: 1rem;
    }

    .home-job-logo {
        width: 80px;
        height: 80px;
        padding: 0.625rem;
    }

    .home-job-name {
        font-size: 1rem;
    }

    .home-activities-inner {
        padding: 0 0.75rem 2.5rem;
    }

    .home-activities-title {
        margin-bottom: 1.25rem;
        font-size: 1.375rem;
    }

    .home-activity-body {
        padding: 1rem 1.125rem 1.25rem;
    }

    .home-activity-title {
        font-size: 1rem;
    }

    .home-policies-inner {
        padding: 0 0.75rem 2.5rem;
    }

    .home-policies-group + .home-policies-group {
        margin-top: 2rem;
    }

    .home-policies-title {
        margin-bottom: 1.25rem;
        font-size: 1.375rem;
    }

    .home-policy-item {
        flex-direction: column;
    }

    .home-policy-cover {
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .home-policy-body {
        padding: 1rem 1.125rem 1.25rem;
    }

    .home-policy-title {
        font-size: 1rem;
    }
}
