/**
 * Careers Page Styles
 *
 * @package PNK_Group
 */

/* Hide duplicate hero content from Gutenberg blocks */
.careers-page > h2.wp-block-heading,
.careers-page > .careers-hero + h2,
.careers-page > .careers-hero + h2 + p {
    display: none !important;
}

/* Hero Section */
.careers-hero {
    background-color: #ffffff;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    margin-top: 70px;
}

.careers-hero .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .careers-hero .container {
        padding: 0 var(--spacing-sm) !important;
        width: 100%;
    }
}

.careers-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .careers-hero-grid {
        grid-template-columns: 450px 1fr;
        gap: 0;
    }
}

.careers-hero-content {
    padding-right: 0;
}

@media (min-width: 1024px) {
    .careers-hero-content {
        padding-right: var(--spacing-md);
    }
}

.careers-hero-content h1 {
    font-size: 3rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.careers-hero-content .hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.75;
}

.careers-hero-image {
    height: 24rem;
    width: 100%;
}

.careers-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.careers-hero-image .image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    border-radius: 0;
}

/* Why Choose Section */
.careers-why-choose {
    background-color: var(--bg-light-gray);
    padding: 5rem 0;
}

.careers-why-choose .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.careers-why-choose .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-why-choose .section-header h2 {
    font-size: 2.25rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background-color: #ffffff;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    transition: box-shadow 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--brand-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border-radius: 0;
}

.benefit-icon i {
    color: #ffffff;
    font-size: 1.25rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.75;
    font-size: 1rem;
}

/* Photo Card */
.benefit-photo-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA Section */
.careers-cta {
    background-color: var(--brand-mid-blue-gray);
    padding: 5rem 0;
}

.careers-cta .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-content {
    text-align: center;
}

.careers-cta h2 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.careers-cta p {
    font-size: 1.25rem;
    color: #d4d4d4;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

.btn-cta {
    display: inline-block;
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0;
}

.btn-cta:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .careers-hero-content h1 {
        font-size: 2rem;
    }

    .careers-hero-content .hero-description {
        font-size: 1.125rem;
    }

    .careers-why-choose .section-header h2 {
        font-size: 1.875rem;
    }

    .careers-cta h2 {
        font-size: 1.875rem;
    }

    .careers-cta p {
        font-size: 1.125rem;
    }
}
