.north-star-about-section {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    grid-gap: 40px;
    gap: 40px;
}

.north-star-projects-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

.north-star-projects-grid {
    display: grid;
    grid-gap: 40px;
    column-gap: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.north-star-about-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
/* CTA Section  */
.north-star-cta-section {
    background: #204e5f;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.north-star-cta-section h2 {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.3;
}

.north-star-cta-section a {
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

.north-star-employee-grid {
    display: grid;
    grid-gap: 40px;
    column-gap: 40px;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.north-star-previous-projects-section .north-star-project-grid-content {
    border: 1px solid #e5e5e5;
    padding: 30px;
}

.north-star-project-grid-content h3 {
    font-size: 1.2rem;
    line-height: 1.1;
    font-weight: 700;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
}

.north-star-project-grid-content .short-description {
    font-size: 1rem;
    line-height: 1.65;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 75px;
}

.short-description p {
    margin-bottom: 5px;
}

.north-star-previous-projects-section .short-description p {
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.north-star-projects-section .short-description p {
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.north-star-project-grid-content .project-link {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    margin-top: 15px;
    font-family:
        "newCenturySchoolbookLTW03Rm", Georgia, "Times New Roman", serif;
}

.north-star-previous-projects-section {
    padding: 0;
}

.north-star-previous-projects-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    margin-bottom: 30px;
}

.before-application-heading {
    font-size: 1.875rem;
    margin-bottom: 10px;
}

.north-star-project-grid-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Employee Section  */

.north-star-employee-section {
    padding: 0px 0 60px;
}

.north-star-employee-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    display: block;
    margin-bottom: 30px;
}

.employee-name {
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 700;
    background: #204e5f;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-bottom: 0;
}

.employee-photo {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.employee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 0;
}

.north-star-projects-section {
    padding-bottom: 60px;
}

.north-star-projects-section .north-star-project-grid-content {
    padding: 30px;
    background: #204e5f;
    color: #fff;
}

.north-star-logo-mobile {
    display: none;
}

.north-star-logo-desktop {
    display: block;
    margin-bottom: 30px;
}

.project-thumbnail {
    height: 260px;
    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: none;
}

.project-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.north-star-employee-grid-item {
    background: #204e5f;
}

.application-page-image-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

/* Responsive Styles for Mobile, Tab & Medium Screen  */

@media (max-width: 639px) {
    .north-star-about-section,
    .north-star-projects-grid,
    .north-star-projects-grid,
    .north-star-employee-grid {
        grid-gap: 40px;
        display: grid;
        gap: 40px;
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
        margin: 0;
    }

    .north-star-about-content {
        order: 1;
    }

    .employee-name {
        line-height: 1.3;
        text-align: center;
        min-height: 80px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .north-star-cta-section h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .north-star-about-image img {
        left: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: 100vw;
        position: relative;
        right: 50%;
        width: 100vw;
    }

    .project-thumbnail {
        height: 180px;
    }

    .employee-photo {
        height: 390px;
    }
}

@media (max-width: 991px) {
    .north-star-logo-mobile {
        display: block;
        margin-bottom: 30px;
        text-align: center;
    }

    .north-star-logo-desktop {
        display: none;
    }

    .project-thumbnail {
        height: 200px;
    }
}

@media (min-width: 639px) and (max-width: 991px) {
    .north-star-about-section {
        grid-gap: 40px;
        display: grid;
        gap: 40px;
        grid-auto-rows: auto;
        grid-template-columns: 1fr;
        margin: 0;
    }

    .north-star-about-content {
        order: 1;
    }

    .north-star-projects-grid,
    .north-star-projects-grid {
        grid-gap: 40px;
        display: grid;
        gap: 40px;
        grid-auto-rows: auto;
        grid-template-columns: 1fr 1fr;
        margin: 0;
    }

    .north-star-employee-grid {
        grid-gap: 40px;
        display: grid;
        gap: 40px;
        grid-auto-rows: auto;
        grid-template-columns: 1fr 1fr;
        margin: 0;
    }

    .employee-name {
        line-height: 1.3;
        text-align: center;
        min-height: 80px;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .project-thumbnail {
        height: 150px;
    }

    .employee-photo {
        height: 200px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .project-thumbnail {
        height: 150px;
    }
    .employee-photo {
        height: 200px;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    .project-thumbnail {
        height: 150px;
    }
}
@media (min-width: 1400px) and (max-width: 1599px) {
    .employee-photo {
        height: 220px;
    }
}

@media (min-width: 991px) and (max-width: 1399px) {
    .north-star-projects-grid {
        display: grid;
        grid-gap: 40px;
        column-gap: 40px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .north-star-employee-grid {
        grid-gap: 40px;
        display: grid;
        gap: 40px;
        grid-auto-rows: auto;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0;
    }

    .employee-photo {
        height: 260px;
    }
}

@media (min-width: 778px) and (max-width: 991px) {
    .employee-photo {
        height: 260px;
    }
}

.application-rounds-section {
    padding-bottom: 60px;
}

.application-round-item {
    border: 1px solid #d2d2d2;
}

.application-round-item img {
    width: 100%;
    aspect-ratio: 16/12;
    object-fit: cover;
}

.application-round-item-content {
    padding: 20px;
}

.application-round-item-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.application-round-item-footer {
    background: #e9edef;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.application-round-remaining-days {
    font-weight: 500 !important;
    padding: 12px;
}

.application-btn {
    width: 100%;
    background: #fff;
    color: #000;
    font-weight: 500 !important;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.application-btn svg {
    width: 16px;
    max-width: 16px;
}

.application-process-section h2,
.application-rounds-heading {
    font-size: 1.875rem;
    margin-bottom: 10px;
}

.application-rounds-sub-heading {
    font-size: 18px;
    margin-bottom: 15px;
}

.application-process-section {
    padding: 60px 0 30px;
}

.before-application-section {
    padding: 0;
}

.application-rounds-description {
    margin-bottom: 10px;
}

.north-star-not-eligible-section-inner {
    max-width: 800px;
}

.application-not-eligible-list-title {
    font-family: "sectionBold", "Trebuchet MS", Helvetica, sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.application-not-eligible-list-footer {
    color: #636363;
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 0px;
}

.application-process-description p:not(:last-child) {
    margin-bottom: 10px;
}

.application-process-description p:last-child {
    margin-bottom: 0px;
}

.application-not-eligible-list {
    margin-bottom: 40px;
}

.application-not-eligible-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.application-not-eligible-list li {
    display: flex;
    column-gap: 10px;
}

.application-not-eligible-list li span {
    width: 20px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

.application-not-eligible-list li span svg {
    max-width: 100%;
    min-width: 12px;
}

.application-form-section {
    padding: 0px 0px 60px 0px;
}

.application-form-row {
    display: flex;
}

.application-left-block h2 {
    font-size: 2.5rem;
    margin-right: 40px;
}

.application-form-left-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.application-left-block-overlay {
    position: relative;
    margin-top: -80px;
    background: rgba(32, 78, 95, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    color: #fff;
    margin-left: 60px;
    margin-right: 60px;
}

.application-form-contact-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.application-form-contact-flex-icon {
    width: 60px;
    height: 60px;
    max-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e9edef;
}

.application-form-contact-flex-icon svg {
    min-width: 30px;
    width: 30px;
    max-width: 30px;
}

.application-form-contact-flex-heading {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.application-form-contact-flex-text a {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

.application-left-block-overlay > h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #c6c6c6;
    padding-bottom: 20px;
}

.application-form-right-block {
    border: 1px solid #e5e5e5;
}

.application-form-container {
    padding: 40px;
}

.application-form-header {
    background: #204e5f;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.application-form-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
}

.form-field-group textarea {
    width: 100% !important;
    max-width: 100%;
    border: 1px solid #e5e5e5;
    padding: 15px;
}

.form-field-group input {
    width: 100%;
    border: 1px solid #e5e5e5;
    padding: 5px 15px;
    height: 50px;
    font-size: 1rem;
}

.form-field-group label,
.upload-field label {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0px;
    display: block;
}

.form-field-group p {
    line-height: 1.1;
}

.form-field-group br {
    display: block;
    height: 0;
    line-height: 0;
}

.application-form-container .wpcf7-form-control-wrap {
    position: relative;
    display: inline-flex;
    width: 100%;
    flex-direction: column;
    row-gap: 10px;
}

.application-form-block {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border: 1px solid #214e5f;
}
/* 
.upload-field input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    cursor: pointer;
    z-index: 2;
}

.upload-field .wpcf7-form-control-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed #D9D9D9;
    padding: 20px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
}

.upload-field .wpcf7-form-control-wrap::before {
    content: " ";
    position: absolute;
    width: 24px;
    height: 24px;
    background: url("../images/icons/upload.svg") no-repeat center center;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

.upload-field .wpcf7-form-control-wrap::after {
    content: "Dra og slipp eller velg fil for opplasting";
    font-size: 1rem;
    margin-top: 25px;
    font-weight: 600;
    color: #000;
    text-align: center;
} */

.codedropz-upload-inner {
    position: relative;
    padding-top: 42px;
}

.codedropz-upload-inner::before {
    content: " ";
    position: absolute;
    width: 24px;
    height: 24px;
    background: url("../images/icons/upload.svg") no-repeat center center;
    background-size: contain;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

.codedropz-upload-inner h3 {
    font-size: 1.125rem;
    color: #000;
    text-align: center;
}

/* Acceptance Checkbox Styles */
/* Hide native checkbox */
.application-form-container .wpcf7-acceptance input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    margin: 0;
}

/* Label wrapper */
.application-form-container .wpcf7-acceptance {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

/* Custom checkbox box */
.application-form-container .wpcf7-acceptance::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    border: 2px solid #204e5f;
    background: #fff;
}

/* Checkmark */
.application-form-container
    .wpcf7-acceptance
    input[type="checkbox"]:checked
    ~ span::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid #204e5f;
    border-width: 0 2px 2px 0;
}
/* End acceptance Checkbox Styles */

.application-form-container .wpcf7-submit {
    background: #204e5f;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    margin-bottom: 10px;
}

.application-form-container .wpcf7-submit p {
    margin: 0;
}

.application-form-footer-text {
    color: #4c4c4c;
    font-size: 1rem;
}

.application-form-footer-text a {
    color: #204e5f;
    font-weight: 500;
    text-decoration: underline;
}

.application-form-closed-msg {
    font-size: 1.35rem;
    font-weight: 500;
    color: rgb(139, 21, 21);
}

.round-repeater {
    margin-top: 40px;
}

@media (max-width: 1023px) {
    .application-form-container {
        padding: 30px 20px;
    }
    .application-form-row {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 20px;
    }

    .application-left-block h2 {
        font-size: 2rem;
        margin-right: 0px;
    }

    .application-form-left-image img {
        aspect-ratio: 16 / 9;
    }

    .application-left-block-overlay {
        position: relative;
        margin-top: 0px;
        background: rgba(32, 78, 95, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 20px;
        margin-left: 0px;
        margin-right: 0px;
    }

    .round-repeater {
        row-gap: 40px;
    }
}
