.tf-candidate__item{
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-auto-flow: dense;
    grid-template-areas: 
    "title title"
    "meta meta"
    "taxonomies taxonomies"
    "content form"
    "profile form"
    "related related";
    column-gap: 1rem;
    row-gap: 0;
    width: 100%;

    .tf-candidate__item-title{
        grid-area: title;
        font-size: 2.5rem;
        margin: 0 0 0.5rem;
    }
    .tf-candidate__item-meta{
        grid-area: meta;
        margin: 0 0 0.5rem;
    }
    .tf-candidate__item-taxonomies{
        grid-area: taxonomies;
        margin: 0 0 1rem;
    }
    button.tf-candidate__item-dialog-cta{
        display: block;
        border: 1px solid #ddd;
        background: #fff;
        color: #000;
        padding: 0.55rem 1.1rem;
        cursor: pointer;
        font: inherit;
    }
    .tf-candidate__item-ctas{
        align-self: start;
        grid-area: form;
        margin: 0;
        padding: 1.5rem;
        background-color: white;
        border: 1px solid #ddd;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .tf-candidate__item-dialog{
        width: 100%;
        max-width: 500px;
        border: none;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        padding: 1.5rem;
        position: relative;
    }
    .tf-candidate__item-dialog--calendar{
        max-width: 95vw;
        iframe{
            height: 90vh;
            width: 100%;
            max-width: 95vw;
        }
    }
    .tf-candidate__item-dialog-title{
        font-size: 1.6rem;
        margin: 0;
    }
    .tf-candidate__item-dialog-close-bottom{
        background-color: #155eef;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        cursor: pointer;
        margin-top: 1rem;
        margin-inline: auto;
        display: block;
        &:not( .--completed ) {
            display: none;
        }
        &:hover{
            background-color: #0d47c1;
        }
    }

    .tf-candidate__item-dialog-close-wrapper{
        position: absolute;
        top: 0;
        right: 0;
    }
    .forminator-row-last{
        margin-bottom: 0 !important;
    }
    button[type=submit].tf-candidate__item-dialog-close{
        background: none;
        background-color: transparent !important;
        border: none;
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        color: #666 !important;
        &:hover{
            color: #000 !important;
        }
    }
    .tf-candidate__item-content{
        grid-area: content;
    }
    .tf-candidate__item-related{
        grid-area: related;
        margin: 2rem 0 0;
    }
    .tf-candidate__item-profile{
        grid-area: profile;
        margin: 2rem 0 0;
        align-self: end;
    }
}