/* =========================================================
   RESET + BASE
========================================================= */
@font-face {
    font-family: "Ara Jozoor";
    src: url("/wp-content/uploads/fonts/AraJozoor-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Ara Jozoor";
    src: url("/wp-content/uploads/fonts/AraJozoor-Regular.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "JF Flat", Tahoma, Arial;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTENT TEXT
========================================================= */
span,
a,
p,
span,
div,
li,
label,
input,
textarea {
font-family: "JF Flat", Tahoma, Arial !important;
}


/* =========================================================
   HEADINGS
========================================================= */

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
    font-family: "Ara Jozoor", Roboto, Arial !important;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.5rem; color: #086692; padding-bottom: 20px; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* h2 decoration */
h2::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}
h2::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    bottom: 0;
    left: calc(50% - 20px);
}

/* =========================================================
   MENUS (DESKTOP + MOBILE)
========================================================= */

nav a,
.menu a,
.main-navigation a,
.wp-block-navigation a,
.wp-block-navigation__responsive-container a {
    font-family: "Ara Jozoor", Roboto, Arial !important;
    font-weight: 800;
}
.guten-post-title { order: 1; }
.guten-post-meta { order: 2; }
.guten-post-excerpt { order: 3; }
.guten-post-meta-bottom { order: 4; }
/* ===============================
   REORDER POST CONTENT
================================ */

/* نخلي المحتوى Flex */
.guten-postblock-content {
    display: flex;
    flex-direction: column;
}

/* العنوان فوق */
.guten-post-title {
    order: 1;
}
/* العنوان أخضر */
.guten-post-title a ,.guten-post-title a:hover {
    color: rgba(0,  100, 40, 1)!important;
}

/* المقتطف تحت العنوان */
.guten-post-excerpt {
    order: 2;
}

/* زر المزيد آخر شي */
.guten-post-meta-bottom {
    order: 3;
    margin-top: 10px;
}

/* الميتا (الكاتب + التاريخ) خليها قبل المقتطف أو بعده حسب ذوقك */
.guten-post-meta {
    order: 4;
}
/* ===============================
   POST CARD BASE (NO MOVE)
================================ */

.guten-post {
    background: #fff;
	padding:5px;
    border-radius: 10px;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08); /* بوردر رمادي خفيف */
    transition: box-shadow 0.4s ease;
    overflow: hidden;
}


/* ===============================
   IMAGE SMOOTH ZOOM
================================ */

.guten-post .thumbnail-container {
    overflow: hidden;
}

.guten-post img {
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

.guten-post:hover img {
    transition: transform 0.4s ease;
	 transform: scale(1.08); }


/* ===============================
   GREEN SHADOW ON HOVER
================================ */

.guten-post:hover {
    box-shadow:  0 15px 30px rgba(4, 196, 58, 0.35);
}

/* =========================================================
   ICON PROTECTION (CRITICAL)
========================================================= */
.guten-element .guten-icon-list-item {color:#04c43a!important}
.guten-FKjUg1 .guten-icon-list-item i {color:#04c43a!important}
.guten-icon-list-item:hover i {color:#04c43a!important;}
.fas {color:#04c43a!important;}
/* =========================================================
   GUTENVERSE ICON LIST
========================================================= */

.guten-icon-list-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
}

.guten-icon-list-item .list-text {
    font-family: "JF Flat", Tahoma, Arial;
    color: #ffffff;
}

.guten-icon-list-item i {
    color: #04c43a;
}

.guten-icon-list-item:hover .list-text,
.guten-icon-list-item:hover i {
    color: #04c43a;
}
/* ===============================
   IMAGE ZOOM ON HOVER
================================ */
.image-box-header ,.gutenverse-image-box-filled{
    overflow: hidden; /* مهم حتى ما تطلع الصورة برا الكارت */
}

.image-box-header img ,.gutenverse-image-box-filled img {
    transition: transform 0.4s ease;
}

.image-box-header:hover img ,.gutenverse-image-box-filled:hover img{
    transform: scale(1.08); /* نسبة التكبير */
}


/* ===============================
   CARD GREEN SHADOW ON HOVER
================================ */
/* عدلي .image-box-header على اسم الكارت إذا مختلف */
.image-box-header ,
.guten-image-box{
    transition: box-shadow 0.4s ease;
}

.guten-image-box:hover {
    box-shadow: 0 15px 30px rgba(4, 196, 58, 0.35);
}

/* =========================================================
   LAYOUT HELPERS
========================================================= */
.wpcf7-form label ,
.wpcf7 form.sent .wpcf7-response-output{color:white !important}
.wpcf7-form{text-align:center}
/* جعل النموذج بعرض 50% من الشاشة */
.wp-block-gutenverse-column.guten-ofHr62 {
    width: 50% !important;
    min-width: 50% !important;
    max-width: 50% !important;
}

/* جعل الحقول تملأ عرض النموذج بالكامل */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100% !important;
    box-sizing: border-box; /* لتجنب أي تجاوز للحواف */
    font-size: 16px;
}
/* جعل زر CF7 يشبه زر Gutenberg */
.wpcf7-form .gutenverse-input-submit {
    display: inline-block;
    width: 100% !important;           /* عرض كامل */
    text-align: center;
    background-color: #025b88 !important; /* نفس اللون */
    color: #fff !important;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;               /* نفس الحواف */
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.wpcf7-form .gutenverse-input-submit:hover {
    background-color: #0473a3 !important; /* لون أفتح عند hover */
    color: #fff !important;
}

/* إزالة أي span داخلي يمكن أن يسبب اختلاف */
.wpcf7-form .gutenverse-input-submit span {
    display: block;
}

.wpcf7-form label {color : #fff;  font-weight: 100;}
.gutenverse-input-submit:hover {
    background-color: #f0f0f0;
color : rgba(7, 41, 90, 1)!IMPORTANT;}
.guten-icon-list a {color:#fff !important}
.header-scrolled{ 
  position: sticky!important;
  top: 0!important;}
.seccol { width: 33.33% !important; }
.scol { width: 50% !important;
padding-bottom:5px!important;
}

.stickybottom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.stickytop {
    position: sticky;
    top: 0;
    padding-top: 0px;
    background: #fff;
    z-index: 9999;
}
body.scrolled .stickytop {
    padding-top: 10px;
}


/* =========================================================
icon-box-description
========================================================= */
.icon-box-description {color:black !important; font-weight:bold!important}
/* =========================================================
   MOBILE FIXES
========================================================= */
@media (max-width: 480px) {
    .seccol,
    .scol {
        width: 100% !important;
        min-width: 100% !important;
    }
}

@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6,
    h1 *, h2 *, h3 *, h4 *, h5 *, h6 *,
    .wp-block-heading,
    .wp-block-heading *,
    .wp-block-post-title,
    .wp-block-post-title *,
    .entry-title,
    .entry-title * {
        font-family: "Ara Jozoor", Roboto, Arial !important;
        font-weight: 800 !important;
    }
}
/* =========================================================
   RESPONSIVE FIX: حل قاطع للجوال
========================================================= */

/* للجوال (جميع الشاشات أقل من 768px) */
@media screen and (max-width: 767px) {
    
    /* استهداف حاوية البطاقات مباشرة */
    .guten-posts,
    .guten-wSULsI .guten-posts,
    .guten-wSULsI .guten-posts.guten-ajax-flag {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 20px !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }

    /* استهداف كل بطاقة على حدة */
    .guten-posts .guten-post,
    .guten-wSULsI .guten-posts .guten-post,
    .guten-post {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
        flex-basis: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 0 !important;
        clear: both !important;
        float: none !important;
    }

    /* المحتوى الداخلي للبطاقة */
    .guten-posts .guten-post .guten-postblock-content,
    .guten-wSULsI .guten-posts .guten-post .guten-postblock-content,
    .guten-post .guten-postblock-content {
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }

    /* الصور */
    .guten-posts .guten-post .thumbnail-container,
    .guten-wSULsI .guten-posts .guten-post .thumbnail-container,
    .guten-post .thumbnail-container {
        width: 100% !important;
        display: block !important;
    }

    .guten-posts .guten-post .thumbnail-container img,
    .guten-wSULsI .guten-posts .guten-post .thumbnail-container img,
    .guten-post .thumbnail-container img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    /* عناوين البطاقات */
    .guten-posts .guten-post .guten-post-title,
    .guten-wSULsI .guten-posts .guten-post .guten-post-title,
    .guten-post .guten-post-title {
        font-size: 18px !important;
        padding: 0 !important;
        margin: 10px 0 !important;
    }

    /* إزالة أي تأثيرات Grid إضافية */
    .guten-wSULsI .guten-posts article {
        grid-column: unset !important;
        grid-row: unset !important;
    }
}

/* تحسين للشاشات الصغيرة جداً */
@media screen and (max-width: 480px) {
    .guten-posts {
        gap: 15px !important;
    }
    
    .guten-posts .guten-post .guten-postblock-content,
    .guten-wSULsI .guten-posts .guten-post .guten-postblock-content,
    .guten-post .guten-postblock-content {
        padding: 10px !important;
    }
}/* =========================================================
   تحويل Grid إلى Flex للجوال
========================================================= */

@media screen and (max-width: 767px) {
    /* تحويل Grid إلى Flex */
    .guten-posts,
    .guten-wSULsI .guten-posts {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
    }

    /* كل بطاقة تأخذ العرض الكامل */
    .guten-posts .guten-post,
    .guten-wSULsI .guten-posts .guten-post {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* الصور */
    .guten-posts .guten-post .thumbnail-container img,
    .guten-wSULsI .guten-posts .guten-post .thumbnail-container img {
        width: 100% !important;
        height: auto !important;
    }

    /* المحتوى */
    .guten-posts .guten-post .guten-postblock-content,
    .guten-wSULsI .guten-posts .guten-post .guten-postblock-content {
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
}