/* Career hero styles */
.remark-career-hero {
    background-color: #F4F4F4;
}

.remark-career-hero__title-wrap {
    width: 100%;
    padding: clamp(48px, 8vw, 80px) 0 clamp(16px, 4vw, 32px);
}

.remark-career-hero__title-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.remark-career-hero__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px clamp(64px, 9vw, 96px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

.remark-career-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.remark-career-hero__title {
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 400;
    color: #00357A;
    margin: 0;
    font-size: clamp(2.75rem, 5vw, 4rem);
    line-height: 1.15;
}

.remark-career-hero__title-line {
    display: block;
}

.remark-career-hero__content {
    padding-top: 0;
}

.remark-career-hero__description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.remark-career-hero__description p {
    margin: 0 0 1em;
}

.remark-career-hero__description p:last-child {
    margin-bottom: 0;
}

.remark-career-hero__actions {
    display: flex;
    gap: 16px;
}



.remark-career-hero__cta .button__label {
    display: inline-flex;
    align-items: center;
}


.remark-career-hero__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.remark-career-hero__avatars {
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.remark-career-hero__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    margin-left: -12px;
    background: #fff;
    display: inline-flex;
}

.remark-career-hero__avatar:first-child {
    margin-left: 0;
}

.remark-career-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remark-career-hero__stat {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.remark-career-hero__image {
    border-radius: 28px;
    overflow: hidden;
    /* Remove drop shadow and white border per design request */
    box-shadow: none;
    border: none;
}

.remark-career-hero__image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Culture section */
.remark-career-culture {
    padding: clamp(72px, 10vw, 120px) 0;
    background-color: #ffffff;
}

.remark-career-culture__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* `.remark-career-culture__badge` styling removed so the section badge can
   use the global `.g-badge` utility. Add any section-specific overrides if
   needed elsewhere. */

.remark-career-culture__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.2;
}

.remark-career-culture__title-line {
    display: block;
}

.remark-career-culture__description {
    margin: 24px auto 48px;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.remark-career-culture__description p {
    margin: 0 0 1em;
}

.remark-career-culture__description p:last-child {
    margin-bottom: 0;
}

.remark-career-culture__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.remark-career-culture__item {
    padding: 24px 20px;
    border-radius: 20px;
    /* Set item background to white per request */
    background: var(--remark-color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.08);
}

.remark-career-culture__item-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #F4F4F4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.remark-career-culture__item-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.remark-career-culture__item-title {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 600;
}

.remark-career-culture__item-description {
    font-size: 0.97rem;
    color: #475569;
    line-height: 1.6;
}

.remark-career-culture__item-description p {
    margin: 0 0 1em;
}

.remark-career-culture__item-description p:last-child {
    margin-bottom: 0;
}

.remark-career-life {
    /* Remove top padding as requested; keep bottom padding responsive */
    padding: 0 0 clamp(72px, 9vw, 120px);
    background-color: #ffffff;
}

.remark-career-life__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.remark-career-life__image {
    background: transparent;
    border-radius: 32px;
    padding: 40px;
    /* Remove drop shadow per design request */
    box-shadow: none;
}

.remark-career-life__image img {
    display: block;
    width: 100%;
    height: auto;
}

.remark-career-life__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.remark-career-life__badge {
    /* Neutralized so global .g-badge controls appearance */
    background: transparent;
    color: inherit;
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
}

.remark-career-life__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1.2;
}

.remark-career-life__title-line {
    display: block;
}

.remark-career-life__description {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
}

.remark-career-life__description p {
    margin: 0 0 1em;
}

.remark-career-life__description p:last-child {
    margin-bottom: 0;
}

.remark-career-growth {
    padding: clamp(72px, 8vw, 110px) 0;
    background-color: #ffffff;
}

.remark-career-growth__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.remark-career-growth__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.remark-career-growth__badge {
    /* Neutralized so global .g-badge controls appearance */
    background: transparent;
    color: inherit;
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
}

.remark-career-growth__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.2;
}

.remark-career-growth__title-line {
    display: block;
}

.remark-career-growth__list {
    margin: 0;
    padding-left: 20px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
    counter-reset: remark-growth-counter;
}

.remark-career-growth__list li {
    margin: 0 0 0.6em 0;
}

.remark-career-growth__list li:last-child {
    margin-bottom: 0;
}

.remark-career-growth__image {
    background: transparent;
    border-radius: 28px;
    padding: 36px;
    /* Remove drop shadow per design request */
    box-shadow: none;
}

.remark-career-growth__image img {
    display: block;
    width: 100%;
    height: auto;
}

.remark-career-benefits {
    padding: clamp(72px, 8vw, 110px) 0;
    background-color: #ffffff;
}

.remark-career-benefits__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.remark-career-benefits__image {
    background: transparent;
    border-radius: 28px;
    padding: 36px;
    /* Remove drop shadow per design request */
    box-shadow: none;
}

.remark-career-benefits__image img {
    display: block;
    width: 100%;
    height: auto;
}

.remark-career-benefits__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.remark-career-benefits__badge {
    /* Neutralized so global .g-badge controls appearance */
    background: transparent;
    color: inherit;
    padding: 0;
    font-weight: inherit;
    font-size: inherit;
}

.remark-career-benefits__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2.3rem, 4vw, 3rem);
    line-height: 1.2;
}

.remark-career-benefits__title-line {
    display: block;
}

.remark-career-benefits__list {
    margin: 0;
    padding-left: 20px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: #475569;
}

.remark-career-benefits__list li {
    margin: 0 0 0.5em 0;
}

.remark-career-benefits__list li:last-child {
    margin-bottom: 0;
}

.remark-career-faq {
    padding: clamp(72px, 8vw, 120px) 0;
    background-color: #ffffff;
}

.remark-career-faq__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    gap: clamp(32px, 5vw, 60px);
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: start;
}

.remark-career-faq__heading {
    text-align: left;
}

.remark-career-faq__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.2;
}

.remark-career-faq__title-line {
    display: block;
}

.remark-career-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.remark-career-faq__item {
    border-radius: 16px;
    background: transparent;
    padding: 20px 24px;
    /* Removed inset border shadow to flatten FAQ items */
    box-shadow: none;
}

.remark-career-faq__item[open] {
    background: #ffffff;
    box-shadow: none;
}

.remark-career-faq__question {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #0f172a;
    cursor: pointer;
}

.remark-career-faq__question::-webkit-details-marker {
    display: none;
}

.remark-career-faq__icon {
    width: 15px;
    height: 11px;
    /* Use inline SVG as the icon so we can control color and sizing */
    background-image: url('data:image/svg+xml;utf8,<svg width="15" height="11" viewBox="0 0 15 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.30048 10.3158C6.90024 11.1154 8.09976 11.1154 8.69952 10.3158L13.9474 3.31859C14.6887 2.33014 13.9835 0.919561 12.7479 0.919561H2.25212C1.01655 0.919561 0.31126 2.33014 1.0526 3.31859L6.30048 10.3158Z" fill="%23E33D3B"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: none;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.remark-career-faq__item[open] .remark-career-faq__icon {
    transform: rotate(180deg);
}

.remark-career-faq__answer {
    margin-top: 16px;
    color: #475569;
    font-size: 0.98rem;
    line-height: 1.7;
}

.remark-career-faq__answer p {
    margin: 0 0 1em;
}

.remark-career-faq__answer p:last-child {
    margin-bottom: 0;
}

.remark-career-jobs {
    padding: clamp(80px, 10vw, 140px) 0;
    background-color: #F4F4F4;
}

.remark-career-jobs__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.remark-career-jobs__title {
    margin: 0;
    font-family: 'Greycliff CF', var(--remark-font-title, 'Helvetica Neue', Arial, sans-serif);
    font-weight: 600;
    color: #0f172a;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.remark-career-jobs__title-line {
    display: block;
}

.remark-career-jobs__description {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}

.remark-career-jobs__description p {
    margin: 0 0 1em;
}

.remark-career-jobs__description p:last-child {
    margin-bottom: 0;
}

.remark-career-jobs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.remark-career-jobs__card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: left;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: none;
}

.remark-career-jobs__card:hover {
    transform: none;
    box-shadow: none;
}

.remark-career-jobs__card-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(247, 37, 133, 0.12);
    color: #f72585;
    font-weight: 600;
    font-size: 14px; /* explicit 14px as requested */
}

/* Ensure server-rendered .g-badge used inside job cards matches the
   smaller tag sizing and appearance. */
.remark-career-jobs__card .g-badge {
    padding: 6px 14px; /* same tighter padding as the original tag */
    font-weight: 600;
    font-size: 14px;
    box-shadow: none; /* prefer flat look for tags */
}

/* Ensure the gradient-text wrapper has the gradient properties so animation (GSAP) has the correct target
   and the static gradient shows even if JS hasn't wrapped/mounted yet. */
.remark-career-jobs__card .g-badge__text {
    font-size: 14px; /* ensure gradient text scales down */
    background-image: linear-gradient(90deg, var(--remark-color-highlight-start), var(--remark-color-highlight-end));
    background-size: 200% 100%;
    background-position: 200% 0%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.remark-career-jobs__card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
}

.remark-career-jobs__card-meta {
    margin: 0;
    font-size: 0.95rem;
    color: #64748b;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.remark-career-jobs__card-salary {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.remark-career-jobs__card-cta {
    margin-top: auto;
}

.remark-career-jobs__card-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px; /* explicitly set Apply Now text to 16px */
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Force the label and any blue-g-btn inside job cards to 16px so global button font-size doesn't override it */
.remark-career-jobs__card-button .button__label,
.remark-career-jobs__card .blue-g-btn {
    font-size: 16px;
}

.remark-career-jobs__card-button:hover,
.remark-career-jobs__card-button:focus {
    /* Keep text size consistent on hover/focus and remove local transform/box-shadow so global GSAP hover animation (flair) is used */
    transform: none;
    box-shadow: none;
    font-size: 16px;
}

/* Use global blue button styles but ensure job-card CTA uses the provided SVG */
.remark-career-jobs__card-button.blue-g-btn::after {
    display: none; /* hide the default arrow added by global button styles */
}

.remark-career-jobs__card-button .button__label {
    display: inline-flex;
    align-items: center;
}

.remark-career-jobs__card-button .button__icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-left: 8px;
}

.remark-career-jobs__card-button .button__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
@media (max-width: 1024px) {
    .remark-career-hero__inner {
        grid-template-columns: 1fr;
    }

    .remark-career-hero__image {
        max-width: 520px;
        margin: 0 auto;
    }

    .remark-career-hero__content {
        text-align: center;
        align-items: center;
    }

    .remark-career-hero__actions {
        justify-content: center;
    }

    .remark-career-hero__meta {
        justify-content: center;
    }

    .remark-career-life__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .remark-career-life__image {
        max-width: 480px;
        margin: 0 auto;
    }

    .remark-career-life__content {
        align-items: center;
    }

    .remark-career-life__badge {
        /* neutralized: layout controlled by .g-badge */
        align-self: inherit;
    }

    .remark-career-growth__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .remark-career-growth__content {
        align-items: center;
    }

    .remark-career-growth__badge {
        /* neutralized: layout controlled by .g-badge */
        align-self: inherit;
    }

    .remark-career-growth__list {
        padding-left: 0;
        text-align: left;
    }

    .remark-career-growth__image {
        max-width: 420px;
        margin: 0 auto;
    }

    .remark-career-benefits__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .remark-career-benefits__image {
        max-width: 420px;
        margin: 0 auto;
    }

    .remark-career-benefits__content {
        align-items: center;
    }

    .remark-career-benefits__badge {
        /* neutralized: layout controlled by .g-badge */
        align-self: inherit;
    }

    .remark-career-benefits__list {
        padding-left: 0;
        text-align: left;
    }

    .remark-career-jobs__grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .remark-career-faq__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .remark-career-faq__heading {
        text-align: center;
    }

    .remark-career-faq__list {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .remark-career-hero__avatar {
        width: 42px;
        height: 42px;
        margin-left: -10px;
    }

    .remark-career-life__image {
        padding: 24px;
        border-radius: 24px;
    }

    .remark-career-life__inner {
        gap: 32px;
    }

    .remark-career-growth__image {
        padding: 24px;
        border-radius: 22px;
    }

    .remark-career-growth__inner {
        gap: 32px;
    }

    .remark-career-benefits__image {
        padding: 24px;
        border-radius: 22px;
    }

    .remark-career-jobs__inner {
        gap: 24px;
    }

    .remark-career-faq__item {
        padding: 18px 20px;
    }
}

@media (max-width: 1024px) {
    .remark-career-hero__inner {
        grid-template-columns: 1fr;
    }

    .remark-career-hero__image {
        max-width: 520px;
        margin: 0 auto;
    }

    .remark-career-hero__content {
        text-align: center;
        align-items: center;
    }

    .remark-career-hero__actions {
        justify-content: center;
    }

    .remark-career-hero__meta {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .remark-career-hero__avatar {
        width: 42px;
        height: 42px;
        margin-left: -10px;
    }
}

/* CTA banner */
.remark-career-cta {
    padding: 100px 24px;
    background-color: var(--remark-color-white);
}

.remark-career-cta__inner {
    --remark-career-cta-bg: #00357A;
    max-width: 1180px;
    margin: 0 auto;
    background-color: var(--remark-career-cta-bg);
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    position: relative;
    overflow: hidden;
    /* Removed box-shadow to flatten CTA as requested */
    box-shadow: none;
}

.remark-career-cta__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(140% 140% at 80% 20%, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.remark-career-cta__media {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.remark-career-cta__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.remark-career-cta__content {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 48px 64px 48px 48px;
    color: var(--remark-color-white);
    position: relative;
    z-index: 1;
}

.remark-career-cta__title {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--remark-color-white);
}

.remark-career-cta__description {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 460px;
}

.remark-career-cta__cta-wrapper {
    display: flex;
    align-items: center;
}

.remark-career-cta__shape {
    position: absolute;
    width: 157px;
    height: 157px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 157.06 157.06'%3E%3Crect x='14.33' y='14.33' width='128.39' height='128.39' rx='32' ry='32' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.remark-career-cta__shape--tl {
    top: -60px;
    right: 28%;
    width: 130px;
    height: 130px;
    transform: rotate(45deg);
}

.remark-career-cta__shape--br {
    bottom: -50px;
    right: 40px;
    transform: rotate(45deg);
}

@media (max-width: 991px) {
    .remark-career-cta {
        padding: 80px 20px;
    }

    .remark-career-cta__inner {
        grid-template-columns: 1fr;
        padding: 40px 32px;
        gap: 32px;
        text-align: left;
    }

    .remark-career-cta__description {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .remark-career-cta {
        padding: 64px 16px;
    }

    .remark-career-cta__inner {
        padding: 32px 24px;
    }

    .remark-career-cta__content {
        padding: 32px 24px;
        gap: 20px;
    }

    .remark-career-cta__cta-wrapper {
        justify-content: center;
    }
}