
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body,
button,
input,
textarea{
    font-family: 'Tajawal', sans-serif !important;
}
a {
  text-decoration: none !important;
	color:#008080;
	font-weight:800;
}

.entry-title a{color:#008080 !important;}

.author.vcard, .byline, .entry-meta .byline {
    display: none;
}

.copyright-bar {
    text-align: center;
}

html, body, .site {
  overflow-x: hidden;
}
.main-navigation,
.site-header,
.inside-header {
    max-width: 100%;
}
.rank-math-breadcrumb {
  max-width: 100%;
  overflow-wrap: break-word;
}

.wp-block-search__button {
    background-color: #428177 !important;
}

.inside-article, .rank-math-breadcrumb, .widget {
    border-radius: 15px; /* Adjust for roundness */
    overflow: hidden;    /* Ensures content doesn't spill outside corners */
    padding: 20px;       /* Optional: adds inner spacing */
    background-color: #ffffff; /* Optional: nice white background */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: soft shadow */
}

@media (max-width: 768px) {

    .site-content {
        display: flex;
        flex-direction: column;
    }

    .content-area {
        order: 1;
        width: 100%;
    }

    .widget-area {
        order: 2;
        width: 100%;
        margin-top: 30px;
    }

}

@media (max-width: 768px) {

.widget {
    padding: 20px;
    border: 1px solid #eee;
    margin-bottom: 20px;
    border-radius: 8px;
}

}


@media (max-width: 768px) {

    .grid-container {
        display: block !important;
    }

    .content-area {
        width: 100% !important;
    }

    .widget-area {
        width: 100% !important;
    }

}
/***********************************/
.main-navigation .main-nav ul li.bg-theme > a{
    background: transparent !important;
}

.main-navigation .main-nav ul li.bg-theme > a{
    position:relative;
    
    display:flex;
    align-items:center;
    gap:5px;

    border-radius:4px;
    overflow:hidden;

    transition:color .3s ease;

    z-index:1;
}

/* طبقة التأثير */
.main-navigation .main-nav ul li.bg-theme > a::before{
    content:"";
    position:absolute;
    inset:0;
    width:0;
    background:var(--accent);
    z-index:-1;
    transition:width .3s ease;
}

/* Hover */
.main-navigation .main-nav ul li.bg-theme > a:hover::before{
    width:100%;
}

.main-navigation .main-nav ul li.bg-theme > a:hover{
    color:#fff !important;
}

/* Dark Mode */
html.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a::before,
body.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a::before{
    background:#2b2b2b;
}


/*********************************/

/* توسيط اسم الموقع */
.site-branding{
    text-align:center;
    padding:20px 0 10px;
}

.site-branding .main-title{
    margin:0;
}

.site-branding .main-title a{
    color:var(--accent);
    font-size: clamp(12px, 3vw, 20px);
    font-weight:700;
    text-decoration:none;
}

/* توسيط القائمة */
.main-navigation .inside-navigation{
    justify-content:center;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}
/***************************/


.top-social-bar{
    background: var(--accent);
    color:#fff;
    padding:10px 0;
}

/* Dark Mode */
html.darkmysite_dark_mode_enabled .top-social-bar{
    background: var(--contrast) !important;
	
}

/* الحاوية الداخلية */
.top-social-bar .inside-bar{

    max-width:1200px;
    margin:auto;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 20px;

    direction:rtl;

    font-size:14px;
}

/* التاريخ */
.top-date{
    font-weight:500;
}

/* الأيقونات */
.social-container{
    display:flex;
    gap:15px;
}

.social-container a{
    color:#fff;
    font-size:18px;
    transition:0.3s;
}

.social-container a:hover{
    color:#00bfff;
    transform:translateY(-2px);
}

/* الجوال */
@media(max-width:768px){

    .top-social-bar .inside-bar{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

}
/****************************/
/* ===== Wrapper ===== */
.poem-wrapper {
  max-width: 800px;
  margin: auto;
  padding: 80px 20px;
}

/* ===== Card ===== */
.poem-card {
  margin: 20px 0;
  padding: 10px;
  border-radius: 12px;

  /* 🔥 نفس ألوان القالب */
  background: var(--base-3);
  transition: all 0.3s ease;
}

.poem-card a {
  text-decoration: none;
  color: inherit;
  display: block;
	font-family: 'Tajawal', sans-serif !important;
  text-decoration: none !important;
	color:#008080;
	font-weight:800;	
}

/* Hover */
.poem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ===== البيت ===== */
.poem-bayt {
  display: flex;
  justify-content: space-between;
  gap: 5px;

  font-size: 24px;
  line-height: 2;

}

/* الشطر */
.shatr {
  width: 48%;
  transition: 0.3s;
}

/* يمين */
.shatr.right {
  text-align: left;
}

/* يسار */
.shatr.left {
  text-align: right;
}



/* ===== الوصف ===== */
.meta {
  margin-top: 15px;
  font-size: 14px;
  color: var(--contrast-2);
  opacity: 0.5;
  transition: 0.3s;
}

.poem-card:hover .meta {
  opacity: 1;
}

/* ===== موبايل ===== */
@media(max-width:768px){

  .poem-bayt {
    flex-direction: column;
    text-align: center;
  }

  .shatr {
    width: 100%;
    text-align: center !important;
  }

  .poem-card {
    padding: 20px;
  }
}
.poem-wrapper {
  padding-top: 0 !important;
}
h1.entry-title{
  color:var(--accent);
	font-weight:600;
}
h1 {
  font-size: clamp(20px, 3vw, 28px);
}

h2 {
  font-size: clamp(20px, 3vw, 28px);
}

.page-header {
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 25px auto;
  text-align: center;

  /* ظل خفيف */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);

}

.page-title {
  font-family: 'Tajawal', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  color: var(--text-color);
  line-height: 2.1;
  margin: 0;
}

.taxonomy-description p {
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}

.footer-widget-1 .widget_block{
	background:transparent;
	border:none;
	box-shadow: none !important;
}
.wp-block-page-list a{
	font-size:11pt;
	font-weight:normal;
}


/* ===== MAIN WRAPPER ===== */
.wp-block-ub-tabbed-content,
.wp-block-ub-tabbed-content * {
    box-shadow: none !important;
}

/* ===== OUTER BORDER ===== */
.wp-block-ub-tabbed-content {
    border: none !important;
    background: transparent !important;
}

/* ===== TABS HEADER WRAP ===== */
.wp-block-ub-tabbed-content-tabs-title-wrap {
    border: none !important;
    border-bottom: 1px solid #eee !important;
    background: transparent !important;
}

/* ===== EACH TAB BUTTON ===== */
.wp-block-ub-tabbed-content-tabs-title {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 14px 18px;
    color: #666;
    font-weight: 500;
    transition: 0.2s ease;
}

/* remove any pseudo borders */
.wp-block-ub-tabbed-content-tabs-title::before,
.wp-block-ub-tabbed-content-tabs-title::after {
    display: none !important;
    content: none !important;
}

/* hover */
.wp-block-ub-tabbed-content-tabs-title:hover {
    color: #000;
}

/* active tab */
.wp-block-ub-tabbed-content-tabs-title.active {
    color: #000 !important;
    border-bottom: 2px solid #000 !important;
}

/* ===== CONTENT AREA ===== */
.wp-block-ub-tabbed-content-tabs-content,
.wp-block-ub-tabbed-content-tab-content-wrap {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 20px 0 !important;
}

/* ===== FORCE REMOVE ANY INNER BORDER ===== */
.wp-block-ub-tabbed-content div,
.wp-block-ub-tabbed-content section {
    border: none !important;
}

/* ===== OPTIONAL: CLEAN LOOK ===== */
.wp-block-ub-tabbed-content-tabs-content {
    border-top: none !important;
}




/*******************************/
/* =========================
   VARIABLES
========================= */

:root{
    --footer-top-bg: var(--accent);
    --footer-bottom-bg: var(--accent);
    --footer-text: #ffffff;
}

/* =========================
   DARK MODE
========================= */

html.darkmysite_dark_mode_enabled{
    --footer-top-bg: #1e1e1e;
    --footer-bottom-bg: #121212;
    --footer-text: #e5e5e5;
}

/* =========================
   FOOTER WIDGETS (TOP)
========================= */

.site-footer .footer-widgets{
    background: var(--footer-top-bg) !important;
    color: var(--footer-text) !important;

    padding: 40px 0;
    transition: all .3s ease;
}

/* Links */
.site-footer .footer-widgets a{
    color: var(--footer-text) !important;
}

.site-footer .footer-widgets a:hover{
    opacity: .8;
}

/* =========================
   FOOTER BOTTOM (SITE INFO)
========================= */

.site-footer .site-info{
    background: var(--footer-bottom-bg) !important;
    color: var(--footer-text) !important;

    padding: 15px 0;
    font-size: 14px;

    transition: all .3s ease;
}

/* Links bottom */
.site-footer .site-info a{
    color: var(--footer-text) !important;
}

.site-footer .site-info a:hover{
    opacity: .7;
}

/***************************/
@media (max-width: 767px) {
  .alignleft .size-full img, 
  img.wp-image-6129 {
    max-width: 45% !important; /* Adjust percentage as needed */
    height: auto !important;
    margin: 0 auto; /* Centers the image */
    display: block;
  }
}

/***************************************/
.myBooksSwiper {
    padding: 30px 10px;
}

.book-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: 0.3s ease;
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
}

/* 📌 توحيد حجم الصور */
.book-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

/* 📌 عنوان الكتاب */
.book-title {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* 📌 تحسين الأسهم */
.swiper-button-next,
.swiper-button-prev {
    color: var(--footer-top-bg) !important;
}

/* 📌 نقاط pagination */
.swiper-pagination-bullet {
    background: var(--footer-top-bg) !important;
}

/***************************/

.news-card{
    display:flex;
    gap:15px;
    align-items:center;
		background:#fff;
	  border-radius:12px;
	 overflow:hidden;
	 box-shadow:0 2px 10px rgba(0,0,0,0.05);
	transition:0.3s;
	margin-bottom:20px;
	padding:5px;
}

.news-card .thumb{
    flex:0 0 120px;
		margin-top:5px;
	  margin-bottom:5px;
	 border-radius:12px;
}

.news-card .thumb img{
    width:120px;
    height:auto;
    max-height:160px;
    object-fit:contain;
    display:block;
		 border-radius:12px;
}

.news-card .content{
    flex:1;
}

@media (max-width:768px){

    .news-card{
        flex-direction:row;
    }

    .news-card .thumb{
        flex:0 0 90px;
    }

    .news-card .thumb img{
        width:90px;
        max-height:120px;
    }

    .news-card h2{
        font-size:16px;
    }

    .news-card p{
        font-size:13px;
    }
}

/***************************/
.single-post .featured-image.page-header-image-single{
    text-align:center;
    margin-bottom:20px;
}

.single-post .featured-image.page-header-image-single img{
    width:auto;
    max-width:250px;
    height:auto;
    display:inline-block;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

/********************************************/

.category-list{
    margin:30px 0;
}

.category-item{
    margin-bottom:15px;
}

.category-item a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 22px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:10px;
    text-decoration:none;
    color:var(--accent);
    transition:.25s;
}

.category-item a:hover{
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

.category-title{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.category-description{
    margin:8px 0 0;
    color:#777;
    font-size:14px;
}

.category-count{
    min-width:50px;
    text-align:center;
    background:var(--accent);
    color:#fff;
    padding:10px 15px;
    border-radius:30px;
    font-size:14px;
    font-weight:bold;
}

.category-count span{
    display:block;
    font-size:12px;
    font-weight:normal;
    opacity:.9;
}
/*****************************************/
.newsletter-box{
    max-width:850px;
    margin:50px auto;
    padding:35px;
    background:#fff;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.newsletter-box h2{
    margin:0 0 10px;
    color:var(--accent);
    font-size:32px;
}

.newsletter-box p{
    color:#666;
    margin-bottom:25px;
    font-size:16px;
}

/* تنسيق نموذج Fluent Forms */
.newsletter-box .ff-el-group{
    margin-bottom:15px;
}

.newsletter-box input[type=email]{
    border-radius:8px;
    padding:12px;
    min-width:200px !important;
}



.newsletter-box button{
    background:var(--accent);
    border:none;
    border-radius:8px;
    padding:12px 30px;
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

.newsletter-box button:hover{
    opacity:.9;
}
/* الحقل والزر في صف واحد */
.newsletter-box .ff-t-container{
    display:flex !important;
    align-items:flex-start !important;
    gap:12px;
}

/* حقل البريد */
.newsletter-box .ff-t-column-1{
    flex:1 !important;
}

/* عمود الزر */
.newsletter-box .ff-t-column-2{
    flex:0 0 170px !important;
    display:flex;
    align-items:flex-start;
}

/* الزر */
.newsletter-box .ff-btn-submit{
    width:100%;
    height:48px;
}

/* حجز مكان ثابت لرسالة الخطأ */
.newsletter-box .ff-el-is-error .text-danger,
.newsletter-box .error,
.newsletter-box .ff-el-group .ff-error,
.newsletter-box .ff-message-error{
    min-height:22px;
    display:block;
}

/********Social Media***********/
/* ===========================
   Social Share
=========================== */

.atattan-share{

    margin-top:40px;
    padding-top:30px;

    border-top:1px solid var(--base-3);

    text-align:center;

}

.atattan-share h3{

    margin-bottom:20px;

    font-size:18px;
    font-weight:600;

    color:var(--contrast);

}

.share-buttons{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

}

.share-btn{

    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    border:none;

    background:var(--accent);

    color:#fff !important;

    text-decoration:none;

    cursor:pointer;

    transition:.25s ease;

    font-size:18px;

}

.share-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 6px 18px rgba(0,0,0,.15);

}

.share-btn i{

    line-height:1;

}

/* Dark Mode */

html.darkmysite_dark_mode_enabled .share-btn{

    background:var(--contrast);

    color:var(--base-3) !important;

}

/* Mobile */

@media(max-width:768px){

.share-buttons{

    gap:10px;

}

.share-btn{

    width:42px;
    height:42px;

    font-size:16px;

}

}
/********Footer************/
.my-footer{

    padding:45px 20px;

    
	background: #295D55 !important;

}

/* الوضع الليلي */
html.darkmysite_dark_mode_enabled .my-footer{
    background:#1e1e1e !important;
}

.footer-title{
text-align:center;
    margin-bottom:25px;

    font-size:clamp(24px,3vw,34px);

    color:#fff;

}

.footer-nav{

    columns:2;

    column-gap:12px;      /* المسافة بين العمودين */

    max-width:300px;      /* يقلل عرض القائمة فتتقارب الأعمدة */

    margin:0 0 auto 30px;

    padding:0;

    list-style:none;

    direction:rtl;

    text-align:right;

}

.footer-nav li{

    break-inside:avoid;

    margin-bottom:8px;

}

.footer-nav a{

    display:block;

    font-size:14px;

    font-weight:500;

    color:var(--footer-text);

    text-decoration:none;

    padding:3px 0;
	    transition: all .25s ease;

    transform-origin:right center;


}

.footer-nav a:hover{

      transform:translateX(-6px) scale(1.08);

    color:#fff;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

}

.footer-social a{

    width:44px;

    height:44px;

    border-radius:50%;

    background:var(--accent);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.footer-social a:hover{

    transform:translateY(-3px);

}

html.darkmysite_dark_mode_enabled .footer-social a{

    background:var(--contrast);

    color:var(--base-3);

}

/*****************************************/
/***********************************
   Main Navigation Hover Effect
***********************************/

.main-navigation .main-nav ul li.bg-theme > a{
    position:relative;
    display:flex;
    align-items:center;
    gap:5px;

    border-radius:4px;
    overflow:hidden;

    background:transparent !important;
    transition:color .3s ease;

    z-index:1;
}

/* طبقة الخلفية المتحركة */
.main-navigation .main-nav ul li.bg-theme > a::before{
    content:"";

    position:absolute;
    inset:0;

    width:0%;
    height:100%;

    background:var(--accent);

    transition:width .3s ease;

    z-index:-1;
}

/* عند المرور */
.main-navigation .main-nav ul li.bg-theme > a:hover::before,
.main-navigation .main-nav ul li.bg-theme:hover > a::before{
    width:100%;
}

/* لون النص والأيقونة عند المرور */
.main-navigation .main-nav ul li.bg-theme > a:hover,
.main-navigation .main-nav ul li.bg-theme:hover > a,
.main-navigation .main-nav ul li.bg-theme > a:hover i,
.main-navigation .main-nav ul li.bg-theme:hover > a i,
.main-navigation .main-nav ul li.bg-theme > a:hover svg,
.main-navigation .main-nav ul li.bg-theme:hover > a svg{
    color:#fff !important;
    fill:#fff !important;
}

/***********************************
   DarkMySite
***********************************/

/* إزالة الوميض */
.darkmysite_processed{
    transition:none !important;
}

/* اللون الأساسي للنصوص والأيقونات */
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a i,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a svg{
    color:#b9a779 !important;
    fill:#b9a779 !important;
}

/* خلفية Hover في الوضع الليلي */
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a::before{
    background:var(--contrast) !important;
}

/* Hover في الوضع الليلي */
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a:hover,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme:hover > a,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a:hover i,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme:hover > a i,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme > a:hover svg,
.darkmysite_dark_mode_enabled .main-navigation .main-nav ul li.bg-theme:hover > a svg{
    color:#ffffff !important;
    fill:#ffffff !important;
}