/*
Theme Name: ByLaw Child
Template: bylaw
Description: Child theme for ByLaw - Aljalahma Law Firm customizations.
Version: 1.0.3
Text Domain: bylaw-child
*/

/* ---------------------------------------------------------
   Copied from Customizer > Additional CSS (parent theme).
   Customizer CSS is saved per theme, so it does not carry
   over to the child theme automatically.
--------------------------------------------------------- */
.clientsSlider figure.swiper-slide-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.clientsSlider figure.swiper-slide-inner img {
    max-width: 200px;
}
.news .wdt-classic-style.wdt-post-entry .blog-entry {
    background-color: #fff !important;
    padding: 20px;
    border-radius: 6px;
}
.news .wdt-post-entry .blog-entry .entry-title h4 a {
    font-size: 30px;
}
.news .entry-date {
    color: #DC9E25 !important;
}
.news .wdt-classic-style.wdt-post-entry .blog-entry div.entry-button {
    width: max-content !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
}
.single .post-meta {
    display: none !important;
}
.wdt-posts-list-wrapper .entry-date {
    display: none !important;
}
.entry-thumb.single-preview-img {
    display: none;
}
.ti-review-content,
.ti-review-text,
.ti-name,
[data-language="ar"] {
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif !important;
    direction: rtl !important;
}

/* ---------------------------------------------------------
   New customizations below
--------------------------------------------------------- */

/* ---------------------------------------------------------
   SEO headings (task 2)
   Header/footer/hero titles were rendered as h4/h5. They are now
   div (or h1/h2 on the homepage hero) with class seo-h4/seo-h5
   (see functions.php). These rules are the original h4/h5 rules
   rewritten to target those classes, so the look stays the same.
--------------------------------------------------------- */
.elementor-3397 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 30px; letter-spacing: 1.2px; word-spacing: 8px; }
.elementor-3397 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-elements-group.wdt-media-group .wdt-content-title :where(.seo-h5),
.elementor-3397 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-elements-group.wdt-media-group .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
@media (max-width: 4000px) {
.elementor-3397 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 40px; }
}
@media (max-width: 1280px) {
.elementor-3397 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 26px; }
}
:where(.seo-h4),
:where(.seo-h5) { background: transparent; border: 0px; font-size: 100%; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; }
:where(.seo-h4),
:where(.seo-h5) { line-height: 1.25em; font-weight: bold; margin-top: 1.5rem; margin-bottom: 0.75rem; }
:where(.seo-h5) a { text-decoration: none; }
.wdt-dark-bg :where(.seo-h5) { color: var(--wdtAccentTxtColor); }
.wdt-heading-holder :where(.seo-h4).wdt-heading-title-wrapper { font-size: clamp(calc(var(--wdtFontSize_H5) - 2px ), 1.5769rem + 0.7692vw, var(--wdtFontSize_H4)); }
.elementor-widget-container .wdt-heading-holder :where(.seo-h5).wdt-heading-title-wrapper { margin-bottom: 0px; }
.wdt-heading-holder :where(.seo-h5).wdt-heading-title-wrapper { font-size: clamp(calc(var(--wdtFontSize_H6) + 6px), 1.5673rem + 0.2564vw, var(--wdtFontSize_H5)); }
.wdt-icon-box-holder.wdt-rc-template-ico-content-aside .wdt-content-item .wdt-content-detail-group .wdt-content-title :where(.seo-h5) { font-family: var(--wdtFontTypo_Alt); font-size: calc(var(--wdtFontSize_Base) + 2px); font-weight: var(--wdtFontWeight_Alt); margin-top: 0px; }
.wdt-custom-link-iconbox-style .wdt-content-item .wdt-content-media-group .wdt-content-title :where(.seo-h5) { font-size: clamp(var(--wdtFontSize_H5), 1.2981rem + 2.5641vw, var(--wdtFontSize_Alt)); font-style: italic; margin-top: 0px; }
.wdt-custom-link-iconbox-style .wdt-content-item .wdt-content-media-group .wdt-content-title :where(.seo-h5) > a { position: relative; }
.main-custom-slider-style .wdt-content-item .wdt-media-image-cover-container .wdt-content-title :where(.seo-h5) { font-size: clamp(var(--wdtFontSize_H5), 1.0096rem + 3.8462vw, calc(var(--wdtFontSize_Alt) + 20px )); font-weight: var(--wdtFontWeight_Alt); line-height: 1.02; margin-top: 0px; }
@media screen and (max-width: 1024px) {
.main-custom-slider-style .wdt-content-item .wdt-media-image-cover-container .wdt-content-title :where(.seo-h5) { line-height: 1.3; }
}
:where(.seo-h4) { font-size: var(--wdtFontSize_H4); }
:where(.seo-h5) { font-size: var(--wdtFontSize_H5); }
:where(.seo-h4),
:where(.seo-h5) { font-family: var(--wdtFontTypo_Alt); font-weight: var(--wdtFontWeight_Alt); letter-spacing: 0px; line-height: var(--wdtLineHeight_Alt); text-transform: none; }
:where(.seo-h4),
:where(.seo-h5) { color: var(--wdtBodyTxtColor); }
:where(.seo-h5) a { color: inherit; }
:where(.seo-h4) { font-family: Rubik, sans-serif; font-weight: 600; font-size: 40px; line-height: 1.2; }
:where(.seo-h5) { font-family: Rubik, sans-serif; font-weight: 600; font-size: 30px; line-height: 1.2; }
.elementor-3912 .elementor-element.elementor-element-0c95047 .wdt-content-item .wdt-content-title :where(.seo-h5),
.elementor-3912 .elementor-element.elementor-element-0c95047 .wdt-content-item .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
.wdt-content-item .wdt-content-title :where(.seo-h5) { transition: var(--wdt-elementor-base-transition); }
.wdt-content-item .wdt-content-title :where(.seo-h5) { display: block; font-size: 1.25em; font-weight: bold; margin-top: -8px; margin-bottom: 0px; text-transform: none; }
.wdt-content-item .wdt-content-title :where(.seo-h5) a { transition: inherit; }
.wdt-content-item .wdt-content-title :where(.seo-h5),
.wdt-content-item .wdt-content-title :where(.seo-h5) a { color: var(--wdt-elementor-color-primary); }
.wdt-content-item .wdt-media-image-cover > .wdt-media-image-cover-container > div :where(.seo-h5),
.wdt-content-item .wdt-media-image-cover > .wdt-media-image-cover-container > div :where(.seo-h5) a { color: var(--wdt-elementor-color-white); }
.elementor-3460 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 24px; }
.elementor-3460 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5),
.elementor-3460 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
@media (max-width: 4000px) {
.elementor-3460 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 16px; }
}
.elementor-1088 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-elements-group.wdt-media-group .wdt-content-title :where(.seo-h5),
.elementor-1088 .elementor-element.elementor-element-c211d86 .wdt-content-item .wdt-content-elements-group.wdt-media-group .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
.elementor-1751 .elementor-element.elementor-element-0c95047 .wdt-content-item .wdt-content-title :where(.seo-h5),
.elementor-1751 .elementor-element.elementor-element-0c95047 .wdt-content-item .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
.elementor-1449 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5),
.elementor-1449 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5) > a { color: var( --e-global-color-5945e21 ); }
@media (max-width: 4000px) {
.elementor-1449 .elementor-element.elementor-element-b850408 .wdt-content-item .wdt-content-title :where(.seo-h5) { font-size: 14px; }
}
/* Decorative image inside the English hero title (was matched via h5) */
.main-custom-slider-style .wdt-content-item .wdt-media-image-cover-container .wdt-content-title :where(.seo-h5) .wdt-head-img { display: inline-flex; width: clamp(7.5rem, 5.3365rem + 9.6154vw, 16.875rem); height: clamp(2.1875rem, 1.6106rem + 2.5641vw, 4.6875rem); margin-bottom: -7px; border-radius: 60px; background-image: url("../bylaw/assets/images/thumb-head-img-1.jpg"); background-repeat: no-repeat; background-position: center center; background-size: cover; font-style: normal; }

/* ---------------------------------------------------------
   Thank you pages (task 3): buttons in the site's style
--------------------------------------------------------- */
.page-id-6332 .wp-block-buttons,
.page-id-6334 .wp-block-buttons { gap: 16px; margin-top: 24px; }
.page-id-6332 .wp-block-button__link,
.page-id-6334 .wp-block-button__link {
    border-radius: 0;
    background-color: #1f3044;
    color: #fff;
    border: 2px solid #1f3044;
    border-bottom-color: #dc9e25;
    border-inline-end-color: #dc9e25;
    padding: 12px 28px;
    font-weight: 600;
}
.page-id-6332 .is-style-outline .wp-block-button__link,
.page-id-6334 .is-style-outline .wp-block-button__link {
    background-color: transparent;
    color: #1f3044;
}
.page-id-6332 .wp-block-button__link:hover,
.page-id-6334 .wp-block-button__link:hover { background-color: #dc9e25; border-color: #dc9e25; color: #fff; }
