/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */


/* ===================================================================
   استایل مجله — نزدیک‌سازی به econclinic.com
   توکن‌ها عیناً از سایت اصلی گرفته شده‌اند
   =================================================================== */
:root{
  --ec-navy:#07294d;
  --ec-navy-dark:#0A0830;
  --ec-accent:#ffc600;
  --ec-gold:#CCB070;
  --ec-gold-soft:#DCC696;
  --ec-link:#2A4FCC;
  --ec-bg:#F7F7F7;
  --ec-border:#eaeaea;
  --ec-radius-sm:8px;
  --ec-radius:12px;
  --ec-shadow:0 2px 8px rgba(0,0,0,.04);
  --ec-shadow-hover:0 4px 20px rgba(0,0,0,.10);
  --ec-foot-text:#C3C9DD;
}

/* ---- کارت‌ها: گوشهٔ نرم و سایهٔ ملایم مثل سایت اصلی ---- */
#content .mag-box,
#content .container-wrapper,
.sidebar .widget,
.subscribe-widget-content{
  border-radius:var(--ec-radius) !important;
  border-color:var(--ec-border) !important;
  box-shadow:var(--ec-shadow);
}
#content .mag-box:hover,
.sidebar .widget:hover{ box-shadow:var(--ec-shadow-hover); }

#content .post-thumb img,
#content .post-item img,
#content .slide img{ border-radius:var(--ec-radius-sm); }

/* ---- برچسب دسته ---- */
.post-cat{ border-radius:6px !important; letter-spacing:0 !important; }

/* ---- دکمه‌ها: طلایی با متن تیره، مثل سایت اصلی ---- */
.button, input[type="submit"], .more-link, .ecn-btn{ border-radius:10px !important; }
.ecn-btn{ background:var(--ec-gold) !important; color:#111 !important; }
.ecn-btn:hover{ background:#bb9e5d !important; color:#111 !important; }

/* ---- خطوط ملایم جای خطوط مشکی دموی Times ---- */
#content .mag-box-title,
#content .section-title,
.sidebar .widget-title{ border-color:var(--ec-border) !important; }

/* ---- لینک‌های درون متن ---- */
.entry-content a:not(.button):not(.ecn-btn){ color:var(--ec-link); }


/* ---- فوتر چندستونه، هم‌سبک با پاورقی econclinic.com ---- */
#footer .widget_custom_html{
  background:none !important; border:0 !important;
  box-shadow:none !important; padding:0 !important;
}
#footer .widget_custom_html .widget-title{ display:none !important; }

#footer .ecm-footer{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.2fr;
  gap:36px;
  text-align:right;
  padding:6px 0 10px;
}
#footer .ecm-logo{
  font-family:Georgia,'Times New Roman',Times,serif;
  font-size:21px; font-weight:700; letter-spacing:.01em;
  text-transform:uppercase; color:#fff; margin-bottom:14px; line-height:1.3;
}
#footer .ecm-col h3{
  font-size:19px; font-weight:700; margin:0 0 14px; padding:0; border:0;
  color:var(--ec-gold-soft) !important;
}
#footer .ecm-col p{
  color:var(--ec-foot-text); font-size:14.5px; line-height:2; margin:0 0 12px;
}
#footer .ecm-col ul{ list-style:none; margin:0; padding:0; }
#footer .ecm-col li{ margin:0 0 9px; }
#footer .ecm-col a{ color:var(--ec-foot-text); font-size:14.5px; text-decoration:none; }
#footer .ecm-col a:hover{ color:#fff; }
#footer .ecm-footer .ecn-btn{ margin-top:8px; font-size:14.5px; }

@media (max-width:991px){
  #footer .ecm-footer{ grid-template-columns:1fr 1fr; gap:28px; }
}
@media (max-width:600px){
  #footer .ecm-footer{ grid-template-columns:1fr; gap:22px; }
  #footer .ecm-logo{ font-size:18px; }
}
