/*

Theme Name: Flyttr
Theme URI: https://pokemarketing.co.uk/
Author: Poke Marketing
Author URI: https://pokemarketing.co.uk/
Description: A custom theme, designed for Flyttr.
Requires at least: 4.9.6
Tested up to: 8.2
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flyttr

*/

.center-quote {
    max-width: 30ch;
    width: 100%;
    margin: 0;
    padding-block: 3.5rem 6.75rem;
}

.about-quote {
    padding-block: 4.375rem 6.5rem;
    display: flex;
    flex-direction: row-reverse;
}

.about-quote p {
    max-width: 48ch;
    width: 100%;
}

.split {
    display: flex;
    flex-wrap: wrap;
}

.split .split__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.split .split__col {
    flex: 1 1 calc(50% - 2rem);
    min-width: min(25rem, 100%);
}

.split.has-background-image {
    color: var(--white);
    padding: 5.75rem 3.5rem;
    font-weight: var(--light);
    min-height: 62rem;
}

.split.has-background-image .split__wrapper {
    flex: 0 1 50%;
    min-width: min(25rem, 100%);
    display: block;
}

.split.has-background-image p {
    max-width: 38ch;
}

/* Form Styles */

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(0rem, -7.1429rem + 14.881vw, 6.25rem);
}

form .row-span {
    grid-column: span 2;
}

form label {
    margin-bottom: 2rem;
    font-size: var(--fs-18);
}

.form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 1rem;
}

.form-footer p {
    margin: 0;
    max-width: 48ch;
    width: 100%;
}

.form-footer .btn {
    flex: 0 1 fit-content;
}

form input:not(.btn),
form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid var(--black);
    transition: .2s all ease-in-out;
    height: 1rem;
    background-color: transparent;
    border-radius: none;
}

.has-background-image form input:not(.btn),
.has-background-image form textarea {
    border-bottom: 1px solid var(--white);
    margin-top: .5rem;
    color: var(--white);
}

form input:not(.btn):focus{
    height: 2.5rem;
}

form textarea:focus {
    height: 5rem;
}

form .wpcf7-spinner {
    display: none;
}

@media screen and (max-width: 768px) {
    form {
        display: flex;
        flex-direction: column;
    }
}