/*
 Theme Name:   Empowerment Partners
 Theme URI:    https://rockettwd.co.uk
 Description:  Child theme for Enigma
 Author:       Mike Rockett
 Author URI:   https://rockettwd.co.uk
 Template:     enigma
 Version:      1.0.0
*/

:root {
    --logo-height: 50px !important;
    --logo-height-mobile: 50px !important;
    --font-headings: "ivypresto-text", serif;
    --font-body: "open-sans", sans-serif;
    --font-script: "brushberry-script", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 100 !important;
}

p,
a,
input,
textarea,
select,
button,
div,
span {
    font-family: var(--font-body);
}

.font-heading {
    font-family: var(--font-headings);
    font-weight: 400;
    font-style: normal;
}

.font-body {
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
}

.font-script {
    font-family: var(--font-script);
    font-weight: 400;
    font-style: normal;
}

.eyebrow {
    font-family: var(--font-script);
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

@media (max-width: 768px) {
    .eyebrow {
        font-size: 16px;
    }
}

/* Hero Section */

@media (max-width: 600px) {
    .hero .wp-block-buttons>.wp-block-button.wp-block-button__width-50 {
        width: 100% !important;
    }
}

/* About Section */

@media (max-width: 780px) {
    .about-me .wp-block-column,
    .about-image {
        max-width: 376px;
        margin: 0px auto;
    }
}

.ep-panel {
    margin-bottom: 48px;
    padding: 48px;
}

/* Services Section */

.service-card {
    text-align: center;
    padding: 0px;
}

.service-card img {
    margin: 0px auto;
    max-width: 118px;
}

.service-card a {
    color: var(--wp--preset--color--accent);
}

.service-card a:hover {
    text-decoration: underline;
}

/* Put in enigma theme */

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
} 

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }

@media (min-width: 600px) {
    .flex-row-md { flex-direction: row; }
    .flex-col-md { flex-direction: column; }
}

.support .wp-block-image {
    height: 100%;
}

.support .wp-block-image img {
    height: 100%;
    object-fit: cover;
}

.br-3 {
    border-radius: 3px;
}

.approach-block .wp-block-cover__background {
    background-color: transparent !important;
    background: linear-gradient(to right, rgba(244, 239, 232, 0.2), var(--wp--preset--color--secondary) 80%) !important;
    opacity: 1 !important;
}

a.wp-element-button.has-accent-background-color:hover {
    background-color: #8c2d46 !important;
} 

/* Forms */

.wpcf7-form-control {
    width: 100%;
    border: solid 1px;
    border-radius: 3px;
    padding: 10px 16px;
}

.wpcf7-textarea {
    height: 200px;
}

.wpcf7-form .label-text {
    margin-bottom: 6px;
    display: inline-block;
    font-size: 16px;
}

.wpcf7-submit {
    background-color: var(--wp--preset--color--accent);
}

.wpcf7-submit {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
    color: #FAFAF8;
    padding-top: 14px;
    padding-bottom: 14px;
}

.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0px 3px 4px #00000030;
    background-color: #8c2d46 !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border: none;
    padding: 0px;
    margin: 0px;
    color: #e12835;
    font-style: italic;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: none;
    padding: 0px;
    margin: 0px;
    color: #389e5f;
    font-style: italic;
}

/* Dropdown */

.wp-block-accordion {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-block-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-block-accordion-heading__toggle-title {
    padding: var(--wp--preset--spacing--30) 0;
    font-size: var(--wp--preset--font-size--sm) !important;
    cursor: pointer;
    font-weight: 500;
}

.wp-block-accordion-heading__toggle-title:hover {
    text-decoration: none !important;
}

.wp-block-accordion-heading__toggle-icon {
    font-size: var(--wp--preset--font-size--md) !important;
}

.wp-block-accordion-heading:hover {
    opacity: 0.8;
}

.wp-block-accordion-heading:hover .wp-block-accordion-heading__toggle-title {
    text-decoration: none !important;
}

.wp-block-accordion-panel {
    padding: 1.5rem 0 1.5rem 0;
    line-height: 1.6;
    color: var(--wp--preset--color--white);
    font-weight: 100 !important;
    font-size: var(--wp--preset--font-size--sm) !important;
}

/* Footer */

.footer address,
.footer p,
.footer a    {
    font-weight: 100 !important;
    font-size: 16px !important;
}