@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

/*section: career banner -start*/
.banner-main {
    background-image: linear-gradient(rgba(0,0,0,0.70), rgba(0,0,0,0.70)), url('/image/careers-bg.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 564px;
}
.banner-sub {
    display: flex; 
    flex-direction: column; 
    gap: 0.8em; 
    padding: 5em 0em;
}
.banner-sub h1 {
    color: #FFFF00; 
    margin: 0; 
    padding: 0;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 0.7em;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.banner-sub span {
    letter-spacing: 0px;
}
.tagline-pri {
    color: white; 
    margin: 0; 
    padding: 0;
    font-family: 'Inter';
    font-weight: 800;
    font-size: 4em;
    max-width: 15em;
}
.tagline-sec {
    color: #D8D8D8; 
    margin: 0; 
    padding: 0;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 1.3em;
    margin-bottom: 1em;
    max-width: 41em;
}
.banner-cta {
    display: flex; 
    gap: 1em;
}
.view-open-roles {
    background: #FFFF00; 
    border-radius: 0.6em; 
    padding: 0.7em 1.5em; 
    font-size: 1.1em; 
    font-weight: 700; 
    font-family: 'Inter'; 
    width: max-content; 
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; 
    color: #0E0E0E;
    transition: all ease-out 0.1s;
    border: 5px solid transparent;
}
.view-open-roles:hover {
    background: #FFFF00; 
    color: #0E0E0E;
    border: 5px solid white;
    transform: translateY(4px);
}
.view-open-roles .arrow-icon {
    display: inline-block;
    transition: transform 0.15s ease-out;
}
.view-open-roles:hover .arrow-icon {
    transform: translateY(3px);
}
.banner-cta i {
    font-weight: 700; 
    margin-left: 0.5em;
}
.view-open-roles {
    background: #FFFF00; 
    border-radius: 0.6em; 
    padding: 0.7em 1.5em; 
    font-size: 1.1em; 
    font-weight: 700; 
    font-family: 'Inter'; 
    width: max-content; 
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px; 
    color: #0E0E0E;
    transition: all ease-out 0.1s;
    border: 5px solid transparent;
}
.view-open-roles:hover {
    background: #FFFF00; 
    color: #0E0E0E;
    border: 5px solid white;
    transform: translateY(4px);
}
.view-open-roles .arrow-icon {
    display: inline-block;
    transition: transform 0.15s ease-out;
}
.view-open-roles:hover .arrow-icon {
    transform: translateY(3px);
}
.great-crown-story {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    transition: all 0.1s ease-out;
    
    background-color: transparent; 
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px); 
    color: white; 
    border: 3px solid white; 
    border-radius: 0.6em; 
    padding: 0.7em 1.5em; 
    font-size: 1.1em; 
    font-weight: 700; 
    font-family: 'Inter'; 
    width: max-content; 
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}
    
.great-crown-story:hover {
    color: white;
    border: 3px solid white;
    transform: translateY(3px) scale(1.03);
}
    
.great-crown-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
    pointer-events: none;
}
    
.great-crown-story:hover::before {
    left: 125%;
}
    
.great-crown-story .story-arrow {
    display: inline-block;
    transition: transform 0.1s ease-out;
}
    
.great-crown-story:hover .story-arrow {
    transform: translateY(4px);
}

/*section: cacc description -start*/
.section-sub {
    padding: 4em 0em 5em 0em;
}
.section-sub p {
    margin: 0; 
    padding: 0; 
    font-family: 'Roboto'; 
    font-size: 1.2em; 
    font-weight: 400; 
    color: #202020; 
    line-height: 1.5;
}
.section-sub p a {
    color: #202020;
    transition: all ease-out 0.1s;
}
.section-sub p a:hover {
    color: #0D6EFD;
}
/*ssection: cacc description -end*/

/*section: posted careers -start*/
.section-roles {
    padding: 0em 0em 2em 0em;
}
.job-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5em; 
    padding: 2.5em 1em 2.5em 0em; 
    position: sticky;
    top: var(--header-height, 0px);
    align-self: flex-start; /* prevents it from stretching to match the right column's height */
}
.job-listing-header {
    font-size: 2em; 
    font-weight: 800; 
    font-family: 'Inter'; 
    color: #1C1917; 
    padding: 0; 
    margin: 0em 0em 0.8em 0em;
}
.search-career-wrap {
    position: relative;
}
.search-career-wrap:has(.search-career-input:focus) .search-career-icon {
    color: #1C1917;
}
.search-career-wrap:has(.search-input:focus) .search-icon {
    color: #161616;
}
.search-career-icon {
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: #78716C;
    transition: color 0.1s ease-out;
}
.search-career-input {
    color: #78716C;
    padding: 0.8em 1.5em 0.8em 2.7em;
    font-family: 'Roboto'; 
    font-size: 1.1em;
    font-weight: 400;
    transition: border-color 0.1s ease-out, outline-color 0.1s ease-out, color 0.1s ease-out;
    border-radius: 0.6em; 
}
.search-career-input:focus {
    border: 2px solid #1C1917 !important;
    box-shadow: none;
    font-size: 1.1em;
    color: #1C1917;
    font-weight: 450;
}
.filter-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: transparent;
    border: none;
    font-family: 'Inter';
    color: #78716C;
    font-size: 1.1em;
    font-weight: 500;
    padding: 1em 1.1em;
    border-radius: 0.6em;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
}
.filter-btn:hover {
    background-color: #F5F5F4;
    color: #1C1917;
}
.filter-btn.active {
    border: 2px solid #1C1917 !important;
    color: #1C1917 !important;
    font-weight: 700;
}
.filter-btn.active .filter-count {
    background-color: #1C1917 !important;
    border: 1px solid #1C1917;
    color: white !important;
    font-weight: 700;
}
.filter-count {
    font-family: 'Inter';
    background-color: white;
    color: #78716C;
    border: 1px solid #E7E5E4;
    border-radius: 0.4em;
    font-size: 0.75em;
    font-weight: 500;
    padding: 0.2em 0.7em;
}
.resume-card {
    display: flex;
    flex-direction: column;
    background-color: #FAFAFA;
    border: 1px solid #EDEDED;
    border-radius: 0.8em;
    padding: 1.5em;
}
.resume-icon {
    padding: 0;
    margin: 0;
    width: 3em;
    height: 3em;
    background-color: #FFFF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.6em;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.resume-title { 
    padding: 0;
    margin: 0;
    font-size: 1.2em;
    font-weight: 700; 
    font-family: 'Inter'; 
    color: #1C1917; 
}
.resume-desc { 
    padding: 0;
    margin: 0;
    font-size: 1em;
    font-family: 'Inter';  
    color: #78716C; 
}
.submit-resume-btn {
    background-color: #FFFF00;
    color: #0E0E0E;
    border-radius: 0.6em;
    padding: 1em 1.2em;
    width: 100%;
    font-size: 1em;
    font-weight: 700;
    font-family: 'Inter';
    transition: all ease-out 0.1s;
    border: 4px solid transparent;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}
.submit-resume-btn:hover {
    background: #FFFF00; 
    color: #0E0E0E;
    border: 4px solid white;
    transform: translateY(2px);
}
.job-listing {
    display: flex;
    flex-direction: column;
    padding: 3em 0em 4em 1em;
}
.job-category {
    font-size: 1.5em; 
    font-weight: 700; 
    font-family: 'Inter'; 
    margin: 0;
}
.job-link {
    text-decoration: none;
}
.job-card {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #E7E5E4;
    border-radius: 0.6em;
    padding: 1em 1.2em;
    cursor: pointer;
    transition: all ease-out 0.1s;
    outline: 2px solid transparent;
}
.job-card:hover {
    outline: 2px solid #FFFF00;
    background-color: #FFFF00;
    border: 1px solid #FFFF00;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.job-card:hover .job-meta {
    color: #1C1917;
}
.job-card:hover .job-arrow-btn {
    border: 1px solid #1C1917;
    color: #1C1917;
}
.resume-card-sm-main {
    padding: 0;
    display: none;
}
.resume-card-sm {
    display: flex;
    flex-direction: column;
    background-color: #FAFAFA;
    border: 1px solid #EDEDED;
    border-radius: 0.8em;
    padding: 1.5em;
}
.section-great-crown-story {
    padding: 4.5em 0em;
}
.section-great-crown-story .story-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* default: centers 1-3 cards */
    gap: 1.5em;
    max-width: 100%;
    margin: 0 auto;
}

.section-great-crown-story .story-grid.has-overflow { /* Applied by JS when 4+ cards */
    justify-content: flex-start;
}
.section-great-crown-story .story-grid .story-card {
    flex: 0 0 calc(33.333% - 1em);
    min-width: 280px;
}
.gcs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5em;
    margin-bottom: 2.5em;
}
.gcs-title {
    font-family: 'Inter';
    font-weight: 800;
    font-size: 2.4em;
    color: #1C1917;
    margin: 0em 0em 0.4em 0em;
}
.gcs-subtitle {
    font-family: 'Inter';
    font-size: 1.2em;
    color: #1C1917;
    max-width: 38em;
    margin: 0;
}
.view-all-stories-btn {
    background: #fff;
    color: #1C1917;
    border: none;
    border-radius: 0.6em;
    padding: 0.8em 1.5em;
    font-family: 'Inter';
    font-weight: 700;
    font-size: 1em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    transition: all ease-out 0.1s;
    display: none;
}
.view-all-stories-btn:hover {
    transform: translateY(2px);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 4px 0px;
    text-decoration: none;
    color: #1C1917;
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}
.story-card {
    background: #fff;
    border-radius: 0.8em;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease-out;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
}
    
.story-card:has(.read-story-link:hover) {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    text-decoration: none;
    color: #1C1917;
}
    
.story-card:has(.read-story-link:hover) .story-image-wrap img {
    transform: scale(1);
    text-decoration: none;
    color: #1C1917;
}
.story-card:has(.read-story-link:hover) .story-badge {
    background: #FFF000;
    font-weight: 800;
    text-decoration: none;
    color: #1C1917;
}
.story-card:has(.read-story-link:hover) .story-name {
    font-size: 1.5em;
    text-decoration: none;
    color: #1C1917;
}
.story-image-wrap {
    position: relative;
    height: 280px;
    background-color: #1C2D6B;
    overflow: hidden;
    flex-shrink: 0;
}
.story-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 0.2s ease-out;
}
.story-image-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 2.6em;
}
.story-badge {
    position: absolute;
    top: 1em;
    right: 1em;
    background: #E7E5E4;
    color: #1C1917;
    font-family: 'Inter';
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4em 0.9em;
    border-radius: 0.6em;
    z-index: 2;
    transition: all ease-out 0.2s;
}
.story-content {
    padding: 2em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.story-name {
    font-family: 'Inter';
    font-weight: 800;
    font-size: 1.4em;
    color: #1C1917;
    margin: 0 0 0.2em 0;
    transition: all ease-out 0.2s;
}
    
.story-role {
    font-family: 'Inter';
    font-size: 0.9em;
    color: #78716C;
    line-height: 1.4;
    margin: 0em 0em 1.5em 0em;
}
.story-quote {
    font-family: 'Roboto';
    font-style: italic;
    font-size: 1.1em;
    color: #1C1917;
    line-height: 1.6;
    margin: 0 0 1.2em 0;
    flex-grow: 1;
}
.read-story-link {
    display: inline-flex;
    /*display: none;*/
    align-items: center;
    gap: 0.5em;
    font-family: 'Inter';
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1C1917;
    text-decoration: none;
    border-bottom: 2px solid #1C1917;
    padding-bottom: 0.3em;
    width: fit-content;
    transition: gap 0.15s ease-out;
}
.read-story-link:hover {
    gap: 0.8em;
    text-decoration: none;
    color: #1C1917;
}
/*section: posted careers -end*/
@media(max-width:991px) {
     /*section: career banner -start*/
    .banner-main {
        height: 680px;
    }
    .tagline-sec {
        max-width: 28em;
    }
    /*section: career banner -end*/
    
    /*section: posted careers -start*/
    .job-filter {
        padding: 2.5em 0em 0em 0em; 
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .resume-card {
        display: none;
    }
    .job-listing {
        padding: 2em 0em 4em 0em;
    }
    .resume-card-sm-main {
        display: block;
    }
    .section-great-crown-story .story-grid .story-card {
        flex: 0 0 100%;
    }
    .section-great-crown-story .story-grid {
        max-width: 100%;
    }
    .gcs-header {
        justify-content: center;
    }
    .gcs-title {
        font-size: 2em;
        text-align: center;
    }
    .gcs-subtitle {
        font-size: 1em;
        text-align: center;
    }
    .story-image-wrap {
        height: clamp(220px, 55vw, 420px);
    }
    /*section: posted careers -end*/
}
@media(max-width:767px) {
    /*section: career banner -start*/
    .banner-main {
        height: 780px;
    }
    /*section: career banner -end*/
}
@media(max-width:575px) {
    /*section: career banner -start*/
    .banner-main {
        height: 550px;
    }
    .banner-sub {
        padding: 3em 2em;
    }
    .tagline-pri {
        font-size: 2.5em;
    }
    .tagline-sec {
        font-size: 0.9em;
    }
    .banner-cta {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }
    .view-open-roles {
        width: 100%;
    }
    .great-crown-story {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.1s ease-out;
            
        background-color: transparent; 
        backdrop-filter: blur(2px); 
        -webkit-backdrop-filter: blur(2px); 
        color: white; 
        border: 3px solid white; 
        border-radius: 0.6em; 
        padding: 0.9em 1.5em; 
        font-size: 1.1em; 
        font-weight: 700; 
        font-family: 'Inter'; 
        width: 100%; 
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;
    }
    .section-sub     {
        padding: 2em;
    }
    .section-sub p {
        font-size: 1em; 
    }
    /*section: career banner -end*/
    
    /*section: posted careers -start*/
    .section-roles {
        padding: 2em;
    }
    .job-listing-header {
        font-size: 1.5em;
    }
    .job-category {
        font-size: 1.3em; 
    }
    .section-great-crown-story {
        padding: 2em 2em 4em 2em;
    }
    .gcs-title {
        font-size: 1.6em;
        text-align: center;
    }
    .gcs-subtitle {
        font-size: 1em;
        text-align: center;
    }
    .story-content {
        padding: 1.5em 1.5em 2em 1.5em;
    }
    /*section: posted careers -end*/
}
@media (max-width:554px) {
    /*section: role banner -start*/
    .career-location {
        align-items: start;
    }
    /*section: role banner -end*/
}
@media (max-width:485px) {
    /*section: other open roles -start*/
    .break-line-job {
        display: block;
    }
    /*section: other open roles -end*/
}
@media (max-width:433px) {
    .banner-main {
        height: 630px;
    }
}
