/* Base styles for page-tuyen-dung */
.page-tuyen-dung {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: #B71C1C; /* Background */
    padding-bottom: 40px;
}

.page-tuyen-dung__section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-tuyen-dung__dark-section {
    background-color: #7A0E0E; /* Deep Red */
}

.page-tuyen-dung__section-title {
    font-size: 2.5em;
    color: #FFCC66; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-tuyen-dung__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tuyen-dung__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.page-tuyen-dung__content-wrapper p {
    font-size: 1.05em;
    max-width: 800px;
    text-align: justify;
}

.page-tuyen-dung__image {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-tuyen-dung__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    padding-bottom: 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-tuyen-dung__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Adjust height as needed */
    overflow: hidden;
}

.page-tuyen-dung__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-tuyen-dung__hero-content {
    text-align: center;
    padding: 30px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual effect */
    position: relative;
    z-index: 1;
    background: rgba(122, 14, 14, 0.85); /* Deep Red with transparency */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #F4D34D; /* Gold border */
}

.page-tuyen-dung__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: #FFD86A; /* Brighter gold for title */
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-tuyen-dung__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-tuyen-dung__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-tuyen-dung__btn-primary,
.page-tuyen-dung__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-tuyen-dung__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: 2px solid #FFD86A;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__btn-primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tuyen-dung__btn-secondary {
    background: transparent;
    color: #FFD86A; /* Gold text */
    border: 2px solid #FFD86A; /* Gold border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__btn-secondary:hover {
    background: #FFD86A;
    color: #7A0E0E; /* Deep Red text */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* About Us Section */
.page-tuyen-dung__about-us-section .page-tuyen-dung__image--left {
    margin-top: 30px;
    align-self: flex-start;
}

/* Culture Section */
.page-tuyen-dung__culture-section .page-tuyen-dung__image--right {
    margin-top: 30px;
    align-self: flex-end;
}

/* Job Openings Section */
.page-tuyen-dung__job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tuyen-dung__job-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #F2B544; /* Border */
}

.page-tuyen-dung__job-title {
    font-size: 1.6em;
    color: #FFD86A; /* Gold */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tuyen-dung__job-description {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-tuyen-dung__job-apply-btn {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text */
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-tuyen-dung__job-apply-btn:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Process Section */
.page-tuyen-dung__process-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.page-tuyen-dung__process-step {
    flex: 1 1 200px;
    max-width: 250px;
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-tuyen-dung__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text */
    border-radius: 50%;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__step-title {
    font-size: 1.4em;
    color: #FFD86A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-tuyen-dung__step-description {
    font-size: 0.95em;
}

/* Benefits Section */
.page-tuyen-dung__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.page-tuyen-dung__benefit-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-tuyen-dung__benefit-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #7A0E0E; /* Deep Red */
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__benefit-title {
    font-size: 1.3em;
    color: #FFD86A; /* Gold */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-tuyen-dung__benefit-description {
    font-size: 0.9em;
}

/* FAQ Section */
.page-tuyen-dung__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-tuyen-dung__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 12px;
    border: 1px solid #F2B544; /* Border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.page-tuyen-dung__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: #FFD86A; /* Gold */
    cursor: pointer;
    background-color: #7A0E0E; /* Deep Red */
    border-bottom: 1px solid #F2B544; /* Border */
    list-style: none; /* For details/summary */
}

.page-tuyen-dung__faq-question::-webkit-details-marker {
    display: none;
}

.page-tuyen-dung__faq-qtext {
    flex-grow: 1;
}

.page-tuyen-dung__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tuyen-dung__faq-item[open] .page-tuyen-dung__faq-toggle {
    transform: rotate(45deg);
}

.page-tuyen-dung__faq-answer {
    padding: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #FFF5E1;
}

/* Contact Section */
.page-tuyen-dung__contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #D32F2F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #F2B544; /* Border */
}

.page-tuyen-dung__form-group {
    margin-bottom: 20px;
}

.page-tuyen-dung__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FFD86A; /* Gold */
}

.page-tuyen-dung__form-input,
.page-tuyen-dung__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #F2B544; /* Border */
    border-radius: 8px;
    background-color: #7A0E0E; /* Deep Red */
    color: #FFF5E1; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

.page-tuyen-dung__form-input::placeholder,
.page-tuyen-dung__form-textarea::placeholder {
    color: rgba(255, 245, 225, 0.7);
}

.page-tuyen-dung__form-input:focus,
.page-tuyen-dung__form-textarea:focus {
    outline: none;
    border-color: #FFD86A; /* Gold */
    box-shadow: 0 0 0 3px rgba(255, 216, 106, 0.3);
}

.page-tuyen-dung__form-textarea {
    resize: vertical;
}

.page-tuyen-dung__form-submit-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button color */
    color: #7A0E0E; /* Deep Red text */
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-tuyen-dung__form-submit-btn:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tuyen-dung__section-title {
        font-size: 2.2em;
    }
    .page-tuyen-dung__hero-content {
        margin-top: -60px;
        padding: 25px 15px;
    }
    .page-tuyen-dung__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-tuyen-dung__intro-text {
        font-size: 1.1em;
    }
    .page-tuyen-dung__job-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-tuyen-dung__process-step {
        flex: 1 1 220px;
        max-width: 280px;
    }
    .page-tuyen-dung__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .page-tuyen-dung__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tuyen-dung__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }
    .page-tuyen-dung__hero-content {
        margin-top: -40px;
        padding: 20px 15px;
        border-radius: 8px;
    }
    .page-tuyen-dung__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em) !important;
        margin-bottom: 10px;
    }
    .page-tuyen-dung__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-tuyen-dung__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-tuyen-dung__btn-primary,
    .page-tuyen-dung__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* 深色导语区 (About Us/Culture sections) */
    .page-tuyen-dung__section {
        padding: 30px 15px;
    }
    .page-tuyen-dung__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-tuyen-dung__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-tuyen-dung__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-tuyen-dung__content-wrapper p {
        font-size: 0.95em;
        text-align: left;
    }

    /* 通用图片与容器 */
    .page-tuyen-dung img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-tuyen-dung__image--left, .page-tuyen-dung__image--right {
        align-self: center !important;
        margin-top: 20px !important;
    }
    .page-tuyen-dung__job-card,
    .page-tuyen-dung__process-step,
    .page-tuyen-dung__benefit-card,
    .page-tuyen-dung__faq-item,
    .page-tuyen-dung__contact-form-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 博客网格 (Job Grid) */
    .page-tuyen-dung__job-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-tuyen-dung__job-card {
        padding: 25px;
    }
    .page-tuyen-dung__job-title {
        font-size: 1.4em;
    }
    .page-tuyen-dung__job-apply-btn {
        padding: 10px 20px;
        font-size: 0.95em;
    }

    /* Process Section */
    .page-tuyen-dung__process-steps {
        flex-direction: column;
        gap: 20px;
    }
    .page-tuyen-dung__process-step {
        max-width: 100%;
        padding: 20px;
    }
    .page-tuyen-dung__step-number {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-tuyen-dung__step-title {
        font-size: 1.3em;
    }

    /* Benefits Section */
    .page-tuyen-dung__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-tuyen-dung__benefit-card {
        padding: 20px;
    }
    .page-tuyen-dung__benefit-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }
    .page-tuyen-dung__benefit-title {
        font-size: 1.2em;
    }

    /* FAQ Section */
    .page-tuyen-dung__faq-list {
        gap: 10px;
    }
    .page-tuyen-dung__faq-question {
        padding: 15px;
        font-size: 1em;
    }
    .page-tuyen-dung__faq-toggle {
        font-size: 1.3em;
    }
    .page-tuyen-dung__faq-answer {
        padding: 15px;
        font-size: 0.95em;
    }

    /* Contact Section */
    .page-tuyen-dung__contact-form-wrapper {
        padding: 25px;
    }
    .page-tuyen-dung__form-input,
    .page-tuyen-dung__form-textarea {
        width: 100%;
        padding: 10px;
    }
    .page-tuyen-dung__form-submit-btn {
        padding: 12px 20px;
        font-size: 1em;
    }
}

@media (max-width: 549px) {
    .page-tuyen-dung__hero-content {
        margin-top: -30px;
    }
    .page-tuyen-dung__main-title {
        font-size: clamp(1.4em, 7vw, 2em) !important;
    }
    .page-tuyen-dung__section-title {
        font-size: 1.6em;
    }
    .page-tuyen-dung__job-card,
    .page-tuyen-dung__process-step,
    .page-tuyen-dung__benefit-card {
        padding-left: 10px;
        padding-right: 10px;
    }
}