/* general branch sync */
/*
 Theme Name:   Tony Kelly Lawyer
 Description:  Child theme for Hello Elementor
 Author:       Tony Kelly Lawyer
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  tonykellylawyer
*/

:root {
    --tkl-gold: var(--e-global-color-secondary, #D2C39C);
    --tkl-light-gold: #F1EFEB;
    --tkl-navy: var(--e-global-color-primary, #253248);
    --tkl-light: #F5F5F5;
    --tkl-white: #fff;
    --tkl-beautiful-white: #f7f7f5;
    --tkl-font-text: var(--e-global-typography-text-font-family, 'DM Sans', sans-serif);
    --tkl-font-heading: var(--e-global-typography-primary-font-family, 'DM Serif Text', serif);
    --tkl-container-width: 1200px;
    --gf-form-gap-y: 6px;
    --gf-radius: 0px;
    /* Fallback, overridden by functions.php if Elementor is active */
}

.container {
    max-width: var(--tkl-container-width);
    margin: 0 auto;
    padding: var(--tkl-container-padding);
}

body:not([class*=elementor-page-]) .site-main {
    max-width: 100%;
}

body {
    color: var(--tkl-navy);
    font-family: var(--tkl-font-text);
    font-size: var(--tkl-body-font-size);
    line-height: 1.5555555555555555555555555555556;
    font-weight: var(--tkl-body-font-weight);
}

p {
    margin-bottom: 1.75rem;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--tkl-font-heading);
    margin-top: 0;
}


/* --- Typography --- */
a {
    color: inherit;
}

a:hover {
    color: inherit;
}

b,
strong {
    font-weight: 700;
}

/* Override strong/b inside Elementor default heading widget to inherit heading's typography */
.elementor-widget-heading .elementor-heading-title strong,
.elementor-widget-heading .elementor-heading-title b {
    font-weight: inherit;
}

.btn.btn--white .elementor-button,
a.btn.btn--white {
    color: var(--tkl-white);
    background: transparent;
    border: 1px solid var(--tkl-white);
}

.btn.btn--white .elementor-button:hover,
a.btn.btn--white:hover {
    color: var(--tkl-navy);
    background: var(--tkl-gold);
    border: 1px solid var(--tkl-gold);
}

.btn.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--tkl-font-heading);
    font-style: italic;
    font-weight: 700;
    font-size: calc(var(--shr, 1rem) * 1.1);
    color: var(--tkl-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn.btn-arrow::after {
    content: '';
    background: url(assets/images/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 16px;
    height: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn.btn-arrow:hover::after {
    transform: translateX(10px);
}

.btn--gold,
.gform_wrapper .gform-footer input[type="submit"] {
    display: inline-block;
    background-color: var(--tkl-gold);
    padding: 20px 32px;
    text-decoration: none;
    font-family: var(--tkl-font-heading);
    font-style: italic;
    transition: all 0.3s ease;
    border: 1px solid var(--tkl-gold);
    cursor: pointer;
    border-radius: 10px;
}

.btn--gold:hover,
.btn--gold:focus,
.btn--gold:focus-visible {
    background-color: var(--tkl-navy) !important;
    color: var(--tkl-gold) !important;
    border-color: var(--tkl-gold) !important;
}

.gform_wrapper .gform-footer input[type="submit"] {
    display: inline-block;
    background-color: var(--tkl-gold) !important;
    color: var(--tkl-navy) !important;
    padding: 20px 32px !important;
    font-size: 18px !important;
    line-height: 26px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-family: var(--tkl-font-heading) !important;
    font-weight: 400 !important;
    font-style: italic !important;
    transition: all 0.3s ease !important;
    border: 1px solid var(--tkl-gold) !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    block-size: 68px !important;
}

.gform_wrapper .gform-footer input[type="submit"]:hover {
    background-color: var(--tkl-navy) !important;
    color: var(--tkl-gold) !important;
}

.gform-theme--framework .gfield_error input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border-color: var(--gf-ctrl-border-color-error);
}

.page-content ul {
    padding: 0 0 0 12px;
}

.page-content ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.page-content ul li:before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 13px;
    left: 0;
}

.site-main {
    min-height: calc(var(--app-height) - var(--height_footer) - var(--height_header));
}

.comments-area a,
.page-content a {
    text-decoration: none;
}

.elementor-kit-9 h2.gform_title {
    font-size: 22px;
    line-height: 26px;
    color: var(--tkl-gold);
}

.contact-form label,
.elementor-kit-9 label.gfield_label {
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    margin-bottom: -3px;
}

.elementor-kit-9 label.gfield_label {
    color: var(--tkl-white);
}

.gfield_description {
    font-size: 14px;
    font-weight: 300;
    line-height: 28px;
    color: var(--tkl-white);
}

.elementor-kit-9 .elementor-shortcode label.gfield_label {
    color: var(--tkl-white);
}

.elementor-kit-9 .elementor-shortcode label.gfield_label span.gfield_required {
    color: var(--tkl-white);
}
.gform-theme--foundation .gform_fields{
    row-gap: 6px !important;
}
 .gform-body input[type=email], .gform-body input[type=text],select, .gform-body .gform_fields input, .gform-body .gform_fields select, .gform-body .gform_fields textarea, .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    height: 48px;
    font-size: 14px !important;
    line-height: 28px !important;
    border-radius: 0 !important;
    outline: none;
    box-shadow: none;
    padding: 10px 15px;
    background-color: var(--tkl-light-gold) !important;
    block-size: 48px !important;
}

.contact-form p,
.gfield {
    margin-bottom: 4px;
}

.gform_required_legend {
    display: none;
}

.gfield textarea {
    height: 94px;
    border-radius: 0;
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea,
.gform-body .gform_fields input,
.gform-body .gform_fields select,
.gform-body .gform_fields textarea {
    border-color: var(--tkl-light-gold);
}

.gform-body .gform_fields textarea {
    height: 100px;
}

input[type=date]:focus,
input[type=email]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
select:focus,
textarea:focus,
.gform-body .gform_fields input:focus,
.gform-body .gform_fields select:focus,
.gform-body .gform_fields textarea:focus {
    border-color: var(--tkl-gold);
}

.contact-form input[type="submit"] {
    margin-top: 12px;
}

.gform-body .gform_fields {
    row-gap: 6px;
}

.elementor-shortcode .footer-contact__item {
    font-size: 16px;
    line-height: 28px;
    font-weight: 300;
    margin-bottom: 9px;
}

.elementor-shortcode .footer-contact__item img {
    margin-right: 12px;
}


.elementor-shortcode .footer-contact__text {
    width: calc(100% - 60px);
    display: inline-block;
}

.elementor-shortcode a.footer-contact__button.btn.btn-arrow {
    font-family: var(--tkl-font-text);
    font-weight: 500;
    font-style: normal;
}

.elementor-shortcode .footer-contact__actions {
    margin-top: 15px;
}
.gform-theme--foundation .gform_validation_container {
    display: none !important;
}
/* --- Accessibility --- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


.page-content>[data-elementor-type="wp-page"] {
    display: flex;
    flex-direction: column;
}