/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.white-logo img {
  filter: brightness(0) invert(1);
}

/* Make each member tile perfectly square */
.member .elementor-cta {
    aspect-ratio: 1 / 1;
    height: auto !important;
}

/* Make background fill correctly */
.member .elementor-cta__bg-wrapper,
.member .elementor-cta__bg {
    height: 100%;
}

/* ================================
   2. Remove Default Overlay
================================ */
.member .elementor-cta__bg-overlay {
    background: transparent !important;
}

/* ================================
   3. Background Image Smooth Zoom
================================ */
.member .elementor-cta__bg {
    transition: transform 0.5s ease;
}

.member:hover .elementor-cta__bg {
    transform: scale(1.05);
}

.member .elementor-cta {
    position: relative;
    overflow: hidden;
}


/* Bottom panel */
.member .elementor-cta__content {
    position: absolute !important;
    bottom: 0;
    left: 0;
    width: 100%;

    /* 🚨 THIS FIXES FULL HEIGHT ISSUE */
    height: auto !important;
    min-height: unset !important;

    /* 🚨 Kill flex behavior */
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;

    padding: 14px 15px !important;
    z-index: 2;

    /* ✅ Solid panel */
    background: rgba(0, 0, 0, 0.75);

    /* animation */
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.35s ease;
}



/* ================================
   5. Show Panel on Hover
================================ */
.member:hover .elementor-cta__content {
    transform: translateY(0);
    opacity: 1;
}


/* Divider line under name */
.member .elementor-cta__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.8);
    margin: 6px 0;
}



[dir=rtl] body {
    font-family: "Cairo", sans-serif !important;
}

[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3, [dir=rtl] h4, [dir=rtl] h5, [dir=rtl] h6, [dir=rtl] input, [dir=rtl] select, [dir=rtl] button, [dir=rtl] p, [dir=rtl] a, [dir=rtl] div, [dir=rtl] time, [dir=rtl] span, [dir=rtl] textarea  {
    font-family: "Cairo", sans-serif !important;
}

html[lang="ar"] .wpml-ls-item-en,
html[lang="ar"] .wpml-ls-item-en *,
html[lang="ar"] .wpml-ls-item-en a,
html[lang="ar"] .wpml-ls-item-en span {
    font-family: "Gotham", sans-serif !important;
}


.copy-tooltip {
  position: absolute;
  top: 110%; /* UNDER the button */
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: #111;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 999;
}

.copy-tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Optional small arrow */
.copy-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent #111 transparent;
}
.custom-category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.custom-category-badges .badge-item {
    background: #0d8ecf;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
	font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.custom-category-badges .badge-item:hover {
    background: #3FACE2;
	color: #fff;
}

.single_post_content h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 15px;
}

/* H2 */
.single_post_content h2 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 35px;
    margin-bottom: 12px;
}

/* H3 */
.single_post_content h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* H4 */
.single_post_content h4 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 26px;
    margin-bottom: 8px;
}

/* H5 */
.single_post_content h5 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 22px;
    margin-bottom: 6px;
}

/* H6 */
.single_post_content h6 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 5px;
}
