/*
 Theme Name: Hello Elementor Child
 Theme URI: https://elementor.com/
 Description: Child theme for Hello Elementor
 Author: Mj Maca
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/

/*Gutenberg Typography*/ 

/*reset all CSS transitions to ensure GSAP compatibility*/
*:not(.e-e8cb313-e767b57, .practice-area-pills *, .practice-area-pills:hover *) {
    transition: none !important;
}

/*practice area micro-interaction*/

.practice-area-pills .elementor-button-icon {
    transform: rotate(0deg);
    transition: transform 0.3s cubic-bezier(.1,.53,.52,1.02);
    
}

.practice-area-pills:hover .elementor-button-icon {
    transform: rotate(45deg);
}


/* Attorneys, Case Result, Page Terms (Policies), Practice Areas*/
.attorneys-template-default .elementor-widget-theme-post-content,
.case-results-template-default .elementor-widget-theme-post-content,
.practice-areas-template-default .elementor-widget-theme-post-content,
.page-template-page-terms .text-page-content   {
    h2 {
    color: #1a1a1a;
    font: normal normal 500 clamp(1.750rem, calc(1.670rem + 0.4vw), 2.000rem) "Clash Display", sans-serif;
    line-height: 1.2;
    }

    h3 {
        color: #1a1a1a;
        font: normal normal 500 clamp(1.500rem, calc(1.420rem + 0.4vw), 1.750rem) "Clash Display", sans-serif;
        line-height: 1.1;
    }

    h4 {
        color: #1a1a1a;
        font: normal normal 500 clamp(1.250rem, calc(1.170rem + 0.4vw), 1.500rem) "Clash Display", sans-serif;
    }

    h2:not(:first-child),h3,h4 {
        margin-top: 2.5rem;
    }

    .wp-block-image {
        margin-top: 3.75rem;
        margin-bottom: 1.25rem;
    }

    a {
        color: #000;
        font-weight: 600;
        text-decoration: underline;
    }
}

/* Blog */
.blog-layout {
    /* article width */
    .wp-block-heading,  .wp-block-paragraph {
        width: 60%;
        max-width: none;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
        text-align: left;
    }
	
	.wp-block-paragraph a {
		color: #000 !important;
		font-weight: 600 !important;
		text-decoration: underline !important;
	}

    .wp-block-list {
        width: 60%;
        max-width: none;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
        text-align: left;
    }


    h2 {
    color: #1a1a1a;
    font: normal normal 500 clamp(2.000rem, calc(1.680rem + 1.6vw), 3.000rem) "Clash Display", sans-serif;
    line-height: 1.2;
    }

    h3 {
    color: #1a1a1a;
    font: normal normal 500 clamp(1.750rem, calc(1.670rem + 0.4vw), 2.000rem) "Clash Display", sans-serif;
    line-height: 1.2;
    }

    h4 {
        color: #1a1a1a;
        font: normal normal 500 clamp(1.500rem, calc(1.420rem + 0.4vw), 1.750rem) "Clash Display", sans-serif;
        line-height: 1.1;
    }

    h2:not(:first-child),h3,h4 {
        margin-top: 2.5rem;
    }

    .wp-block-image {
        margin-top: 3.75rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767px) {
    /* article width */
    .blog-layout {
        .wp-block-heading,  .wp-block-paragraph {
            width: 100%;
            max-width: none;
            margin-left: auto !important;
            margin-right: auto !important;
            padding-left: 1rem !important;
            padding-right: 1rem !important;
            box-sizing: border-box;
            text-align: left;
        }

        .wp-block-list {
            width: 100%;
            max-width: none;
            margin-left: auto !important;
            margin-right: auto !important;
            box-sizing: border-box;
            text-align: left;
        }
    }
}


/*Global Articles*/
.elementor-widget-theme-post-content, .page-template-page-terms .text-page-content {
    p, .wp-block-list {
        color: #323232;
        font: normal normal 400 1rem "IBM Plex Sans", sans-serif;
        line-height: 1.5;
    }

    p + p, p + .wp-block-list {
        margin-bottom: 1.25rem;
    }
    
}


/*Single Attorneys*/ 
.credential-row, .credential-row:hover {
    color: inherit;
  text-decoration: inherit;
  cursor: pointer;
}

.credential-row[href="#"] {
    cursor: default;
  pointer-events: none;
}

.credential-icon {
    padding: 10px;
    margin-right: 12px;
    background-color: #EAEBEC;
    border-radius: 9999px !important;
}

.credential-flex {
    width: 100% !important;
    display: flex !important;
    flex-direction:column !important;
}

.credential-flex .label-l {
    color: #000000 !important;
}

.credential-flex .label-s {
    color: #595959 !important;
}

.credential-row[href="#"] .credential-arrow {
    display: none !important;
}

.contact-list .elementor-icon-list-icon {
    display:flex;
    align-items:center !important;
    justify-content:center !important;
    background-color: #424350;
    padding: 8px;
    border-radius: 9999px;
    margin-right: 12px;
}

.contact-list .elementor-icon-list-icon svg {
    margin: 0 !important;
}

.contact-list .elementor-icon-list-text {
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Terms and Conditions page */
.page-template-page-terms {
    background-color: #eef0f8;
}

.page-template-page-terms .site-header,
.page-template-page-terms .site-header:before {
    background-color: #0c0d15;
}

.page-template-page-terms .site-main {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.page-template-page-terms .text-page-hero {
    background: #0c0d15;
    color: #ffffff;
    padding-top: 11.25rem;
    padding-bottom: 2.25rem;
}

.page-template-page-terms .text-page-hero-inner,
.page-template-page-terms .text-page-content-inner {
    width: min(100%, 1140px);
    margin: 0 auto;
}

.page-template-page-terms .text-page-hero-inner {
    text-align: center;
}

.page-template-page-terms .text-page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin: 0 0 0.35rem;
    color: #979aa6;
    font: 400 0.6875rem/1.4 "IBM Plex Sans", sans-serif;
}

.page-template-page-terms .text-page-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.page-template-page-terms .text-page-hero h1 {
    margin: 0;
    color: #f4f5f9;
    font: 500 clamp(2.25rem, 4vw, 3.5rem)/1.05 "Clash Display", sans-serif;
    letter-spacing: -0.04em;
}

.page-template-page-terms .text-page-content {
    background: #eef0f8;
    padding: 1.1rem 1.5rem 6.5rem;
}

.page-template-page-terms .text-page-meta {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 60%;
    margin: 0 auto 2.25rem;
}

.page-template-page-terms .text-page-meta div {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    width: fit-content;
    white-space: nowrap;
}

.page-template-page-terms .text-page-meta-label {
    color: #767676;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

.page-template-page-terms .text-page-meta-value {
    color: #1a1a1a;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
}

.page-template-page-terms .article-content-format {
    width: 60%;
    margin: 0 auto;
}

.page-template-page-terms .article-content-format p {
    margin: 0 0 1.25rem;
}

.page-template-page-terms .article-content-format ul,
.page-template-page-terms .article-content-format ol {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
}

@media (max-width: 767px) {
    .page-template-page-terms .text-page-hero {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .page-template-page-terms .text-page-content {
        padding: 1rem 1.25rem 4rem;
    }

    .page-template-page-terms .text-page-meta,
        .page-template-page-terms .article-content-format {
            width: 100%;
        }

        .page-template-page-terms .text-page-meta {
            margin-bottom: 2rem;
        }
    }
