/*
 Theme Name:   Twenty Twenty-Five Child
 Description:  Customized Version
 Author:       zeus
 Template:     twentytwentyfive
 Version:      1.0
 Text Domain:  twentytwentyfive-child
*/

.separating-space {
    margin-left: 0.2em;
    margin-right: 0.2em;
}

.single-film {

    h2, figure {
        margin-top: 3rem;
    }
    ul, ol {
        padding-left: 8vw;
        ul, ol {
            padding-left: 2rem;
        }
        li {
            margin-top: 0.5rem;
        }
    }
}

/* Sticky headers for table */
.wp-block-table {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 90vh;
    border-top: 1px solid #000;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even),
thead tr {
    background-color: #fff;
}
.heist-sticky-table {

    thead {
        border-bottom: none;
    }
    
    th {
        position: sticky;
        top: 0;
        background: inherit;
    }
    th, td {
        border: none;

    }

    /* top border */
    th::after {
        content: '';
        width: 100%;
        height: 1px;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #000;
    }
    
    /* sticky left column */
    /*
    th:first-child, td:first-child {
        position: sticky;
        left: 0;
        background: inherit;
    }
    th:first-child {
        z-index: 1;
    }
    */
    /* right border */
    /*
    td:first-child:after {
        content: '';
        width: 1px;
        height: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        background: #000;
    } 
    */
        
}

/* Contact form */
.wpcf7 {
    input, textarea {
        font-family: var(--wp--preset--font-family--manrope);
        font-size: var(--wp--preset--font-size--large);
        font-weight: 300;
        letter-spacing: -0.1px;
        line-height: 1.4;
        padding: 0.5rem;
        width: 75%;
        min-width: 300px;

        &[type='submit'] {
            background: var(--wp--preset--color--contrast);
            border-radius: 3.125rem;
            color: var(--wp--preset--color--base);
            padding: 1rem 2.25rem;
            width: auto;
        }
    }
    .wpcf7-not-valid-tip {
        color: var(--wp--preset--color--accent-2);
        font-weight: 300;
    }
}
