section.main-screen.personal-work-hero {
    margin-bottom: 30px;
}

.main-screen {
    background: none;
}

.main-screen-wrap {
    flex-direction: column;
}

.main-screen-img-wrap {
    width: 100% !important;
    box-shadow: 0 40px 40px rgba(0, 0, 0, 0.1);
}

.main-screen-img-wrap img {
    max-height: 450px !important;
    object-position: center 30%;
}

.main-screen-wrap .container {
    width: 100% !important;
    padding: 0 100px;
}

.main-screen-text-wrap {
    margin: -130px auto 0;
    padding: 40px 20px 20px !important;
    align-items: center;
    background: #ecf2e7 !important;
}

.main-screen-title {
    max-width: none;
    text-align: center;
}

.main-screen-subtitle {
    margin: 20px 0 30px;
}

section.work-formats-section {
    background: #0a2c0a;
    color: #fff;
    padding: 60px 0;
    margin: 0;
}

.section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.work-formats {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    margin: 0;
}

.work-format {
    background: #3b4d3b;
    padding: 32px 20px;
    width: calc((100% - (30px * 3)) / 4);
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.work-formats-section .section-subtitle{
    text-align: center;
}

.work-format-title {
    font-size: 34px;
    line-height: 1.2;
    font-family: 'Cormorant', serif;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.work-format-price {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    font-weight: 700;
    color: #fff;
    width: fit-content;
}

.work-format-price::after {
    content: "";
    position: absolute;
    inset: -1px -1px;
    border: 2px solid currentColor;
    border-radius: 50% / 50%;
    transform: rotate(-2deg);
}


.work-format-price-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.work-format-format {
    color: #f5c9d0;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 10px;
}

.work-format-description {
    color: #fff;
    text-align: center;
    max-width: 420px;
    margin: 18px auto 0;
    font-size: 16px;
    line-height: 1.6;
}

.work-format-accordions {
    margin-top: 28px;
    border-top: 1px solid #fff;
}

.work-format-accordion {
    margin: 0;
    border-bottom: 1px solid #fff;
}

.work-format-accordion:first-child {
    margin-top: 0;
    border-top: none;
}

.work-format-accordion-btn {
    background: none;
    color: white;
    cursor: pointer;
    padding: 16px 0 16px 28px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
}

.work-format-accordion-btn::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 44%;
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.work-format-accordion.open .work-format-accordion-btn::before {
    transform: translateY(-50%) rotate(225deg);
    top: 50%;
}

.work-format-accordion-content {
    padding: 0;
    overflow: hidden;
    margin-top: 0;
    border-radius: 5px;
    max-height: 0;
    transition: max-height 0.3s ease-out;
}

.work-format-accordion.open .work-format-accordion-content{
    padding-bottom: 15px;
}

.work-format-accordion-content p {
    margin: 10px 0;
}

.work-format-accordion-content ul {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.work-format-accordion-content li {
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.work-format-accordion-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px;
    height: 16px;
    background: url("../img/icon-check.svg") no-repeat center / contain;
}

.work-format-btn-wrap {
    text-align: center;
    margin-top: auto;
    padding-top: 28px;
    width: 100%;
}

.work-format-btn-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.work-format-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: 2px solid #fff;
    border-radius: 14px;
    padding: 8px 0;
    width: 100%;
    font-size: 16px;
    color: #fff;
    transition: .1s;
    max-width: 100%;
}

.work-format-btn:hover {
    background-color: #fff;
    color: #3b4d3b;
}

.work-format-btn--outline {
    background: transparent;
}

@media (max-width: 980px) {
    .work-format {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
     .main-screen-img-wrap{
        box-shadow: none;
    }
    .main-screen-text-wrap {
        /*margin-top: -50px;*/
        margin: 15px 0 0 0;
        padding: 0 !important;
    }

    .main-screen-wrap .container{
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
    }
    .main-screen-subtitle {
        text-align: center;
    }

    .work-format-accordion-content {
        padding-bottom: 0;
    }

    .work-format-accordion.open .work-format-accordion-content {
        padding-bottom: 14px;
    }
}
