/* United Events Blog Template */
:root{
  --ue-dark:#090419;
  --ue-dark2:#160a38;
  --ue-purple:#6738c8;
  --ue-pink:#c52287;
  --ue-pink2:#ed3d8e;
  --ue-text:#352a40;
  --ue-muted:#746a7e;
  --ue-border:#e8e1ef;
  --ue-soft:#f8f5fb;
}
body.uebt-archive-active,
body.uebt-single-active{
  overflow-x:clip;
  background:var(--ue-soft)!important
}
body.uebt-archive-active #secondary,
body.uebt-archive-active .sidebar,
body.uebt-archive-active .widget-area,
body.uebt-single-active #secondary,
body.uebt-single-active .sidebar,
body.uebt-single-active .widget-area{display:none!important}
.uebt-page,.uebt-page *{box-sizing:border-box;font-family:Tahoma,Arial,sans-serif!important}
.uebt-page{
  position:relative;
  width:100vw;
  max-width:100vw!important;
  margin-inline:calc(50% - 50vw);
  direction:rtl;
  color:var(--ue-text);
  background:var(--ue-soft)
}
.uebt-page a{text-decoration:none}
.uebt-shell{width:min(calc(100% - 40px),1450px);margin:auto}



/* إجبار قوالب المدونة والمقال على استخدام عرض الموقع كاملًا */
body.uebt-archive-active #page,
body.uebt-single-active #page,
body.uebt-archive-active .site,
body.uebt-single-active .site{
  width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}

body.uebt-archive-active #content,
body.uebt-single-active #content,
body.uebt-archive-active .site-content,
body.uebt-single-active .site-content,
body.uebt-archive-active .content-area,
body.uebt-single-active .content-area,
body.uebt-archive-active .site-main,
body.uebt-single-active .site-main{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

.uebt-archive-page,
.uebt-single-page,
.uebt-archive-hero,
.uebt-archive-content{
  width:100vw;
  max-width:100vw!important;
}


/* Archive */
.uebt-archive-hero{
  position:relative;overflow:hidden;padding:76px 0 72px;text-align:center;color:#fff;
  background:
    radial-gradient(circle at 12% 12%,rgba(237,61,142,.30),transparent 26%),
    radial-gradient(circle at 88% 86%,rgba(103,56,200,.34),transparent 28%),
    linear-gradient(135deg,var(--ue-dark),var(--ue-dark2) 52%,#251052)
}
.uebt-eyebrow{margin-bottom:14px;display:flex;align-items:center;justify-content:center;gap:12px;color:#ed68ad;font-size:13px;font-weight:900}
.uebt-eyebrow:before,.uebt-eyebrow:after{content:"";width:70px;height:1px;background:linear-gradient(90deg,transparent,#ed68ad)}
.uebt-eyebrow:after{background:linear-gradient(90deg,#ed68ad,transparent)}
.uebt-archive-hero h1{margin:0 0 15px!important;color:#fff!important;font-size:clamp(36px,5vw,66px)!important;font-weight:900!important;line-height:1.35!important}
.uebt-description{max-width:760px;margin:auto;color:#ded7e8;font-size:15px;line-height:2}
.uebt-description p{margin:0!important;color:inherit!important}
.uebt-archive-content{
  padding:64px 0 78px;
  background:
    radial-gradient(circle at 5% 15%,rgba(197,34,135,.05),transparent 22%),
    radial-gradient(circle at 95% 85%,rgba(103,56,200,.06),transparent 24%),
    var(--ue-soft)
}
.uebt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.uebt-card{
  min-width:0;overflow:hidden;display:flex;flex-direction:column;margin:0!important;background:#fff;
  border:1px solid var(--ue-border);border-radius:22px;box-shadow:0 14px 38px rgba(22,10,56,.07);
  transition:.25s ease
}
.uebt-card:hover{transform:translateY(-7px);border-color:rgba(197,34,135,.30);box-shadow:0 20px 46px rgba(22,10,56,.12)}
.uebt-card-image{position:relative;width:100%;aspect-ratio:16/10;display:block;overflow:hidden;background:linear-gradient(135deg,var(--ue-dark),#251052)}
.uebt-card-image img{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important;transition:transform .42s ease}
.uebt-card:hover .uebt-card-image img{transform:scale(1.045)}
.uebt-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#fff;background:radial-gradient(circle at 25% 20%,rgba(237,61,142,.38),transparent 30%),linear-gradient(135deg,var(--ue-dark),#251052)}
.uebt-placeholder svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.uebt-category{position:absolute;right:15px;bottom:15px;padding:8px 13px;color:#fff;background:linear-gradient(135deg,var(--ue-pink2),var(--ue-purple));border-radius:999px;font-size:11px;font-weight:900}
.uebt-card-body{padding:22px 21px 23px;display:flex;flex:1;flex-direction:column}
.uebt-date{margin-bottom:10px;display:flex;align-items:center;gap:7px;color:#94899f;font-size:11px}
.uebt-date svg{width:16px;height:16px;fill:none;stroke:var(--ue-pink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.uebt-card h2{margin:0 0 11px!important;color:var(--ue-dark2)!important;font-size:20px!important;font-weight:900!important;line-height:1.65!important}
.uebt-card h2 a{color:inherit!important}
.uebt-card h2 a:hover{color:var(--ue-pink)!important}
.uebt-excerpt{margin-bottom:18px;color:var(--ue-muted);font-size:13px;line-height:1.95;flex:1}
.uebt-excerpt p{margin:0!important;color:inherit!important}
.uebt-read{width:max-content;display:inline-flex;align-items:center;gap:7px;color:var(--ue-pink)!important;font-size:12px;font-weight:900}
.uebt-read svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.uebt-pagination{margin-top:38px}
.uebt-pagination .nav-links{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.uebt-pagination .page-numbers{min-width:43px;height:43px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;color:var(--ue-dark2)!important;background:#fff;border:1px solid var(--ue-border);border-radius:12px;font-size:13px;font-weight:900}
.uebt-pagination .current,.uebt-pagination .page-numbers:hover{color:#fff!important;background:linear-gradient(135deg,var(--ue-pink),var(--ue-purple));border-color:transparent}

/* Single */
.uebt-single-page{
  padding:48px 0 78px;
  background:
    radial-gradient(circle at 6% 12%,rgba(197,34,135,.06),transparent 23%),
    radial-gradient(circle at 94% 25%,rgba(103,56,200,.06),transparent 24%),
    var(--ue-soft)
}
.uebt-single-shell{max-width:none!important}
.uebt-breadcrumb{margin:0 0 17px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#857a90;font-size:12px;line-height:1.8}
.uebt-breadcrumb a{color:var(--ue-pink)!important;font-weight:900}
.uebt-single-card{
  width:100%;
  max-width:none!important;
  overflow:hidden;
  margin:0!important;
  background:#fff;
  border:1px solid var(--ue-border);
  border-radius:28px;
  box-shadow:0 22px 60px rgba(22,10,56,.09)
}
.uebt-single-featured{width:100%;max-width:none!important;margin:0!important;overflow:hidden;background:#f3eef7}
.uebt-single-featured img{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:420px;
  max-height:760px!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:center!important
}
.uebt-single-header{padding:42px 50px 35px;text-align:center;border-bottom:1px solid var(--ue-border);background:linear-gradient(180deg,#fff,#fdfbfe)}
.uebt-single-category{margin-bottom:16px;padding:8px 15px;display:inline-flex;color:#fff!important;background:linear-gradient(135deg,var(--ue-pink2),var(--ue-purple));border-radius:999px;font-size:12px;font-weight:900}
.uebt-single-header h1{max-width:920px;margin:0 auto 19px!important;color:var(--ue-dark2)!important;font-size:clamp(31px,4.6vw,58px)!important;font-weight:900!important;line-height:1.48!important}
.uebt-meta{display:flex;align-items:center;justify-content:center;gap:12px 22px;flex-wrap:wrap;color:#82778c;font-size:13px}
.uebt-meta span{display:inline-flex;align-items:center;gap:7px}
.uebt-meta svg{width:17px;height:17px;fill:none;stroke:var(--ue-pink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.uebt-content{max-width:1180px;margin:auto;padding:48px 38px 42px;color:var(--ue-text);font-size:17px;line-height:2.15}
.uebt-content> *:first-child{margin-top:0!important}
.uebt-content p{margin:0 0 23px!important;color:#504657!important;font-size:17px!important;line-height:2.15!important}
.uebt-content h2{margin:45px 0 21px!important;padding:15px 18px!important;color:var(--ue-dark2)!important;background:linear-gradient(90deg,rgba(197,34,135,.09),rgba(103,56,200,.04),transparent);border-right:4px solid var(--ue-pink);border-radius:12px;font-size:30px!important;font-weight:900!important;line-height:1.55!important}
.uebt-content h3{margin:35px 0 17px!important;color:var(--ue-purple)!important;font-size:24px!important;font-weight:900!important;line-height:1.6!important}
.uebt-content h4{margin:28px 0 14px!important;color:var(--ue-pink)!important;font-size:20px!important;font-weight:900!important}
.uebt-content a{color:var(--ue-pink)!important;font-weight:900;text-decoration:underline;text-underline-offset:4px}
.uebt-content img{display:block;max-width:100%;height:auto;margin:28px auto!important;border-radius:17px;box-shadow:0 13px 35px rgba(22,10,56,.10)}
.uebt-content figure,.uebt-content .wp-block-image{margin:30px auto!important;text-align:center}
.uebt-content figure img,.uebt-content .wp-block-image img{margin:0 auto!important}
.uebt-content ul,.uebt-content ol{margin:22px 0 30px!important;padding:23px 48px 23px 22px!important;color:#51485b;background:#faf8fc;border:1px solid var(--ue-border);border-radius:17px}
.uebt-content li{margin-bottom:11px;line-height:2}
.uebt-content blockquote{margin:32px 0!important;padding:27px 30px!important;color:#fff!important;background:linear-gradient(135deg,var(--ue-dark),var(--ue-dark2));border:0!important;border-right:5px solid var(--ue-pink)!important;border-radius:18px}
.uebt-content blockquote p{margin:0!important;color:#fff!important}
.uebt-content .wp-block-table{width:100%;margin:30px 0!important;overflow-x:auto;border-radius:16px}
.uebt-content table{width:100%;min-width:650px;border-collapse:collapse;background:#fff}
.uebt-content th{padding:15px;color:#fff;text-align:center;background:linear-gradient(135deg,var(--ue-pink),var(--ue-purple))}
.uebt-content td{padding:14px;text-align:center;border:1px solid var(--ue-border)}
.uebt-single-footer{max-width:1180px;margin:auto;padding:0 38px 42px}
.uebt-share{padding:25px 0;text-align:center;border-top:1px solid var(--ue-border)}
.uebt-share strong{display:block;margin-bottom:14px;color:var(--ue-dark2)}
.uebt-share>div{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.uebt-share a{min-height:42px;padding:0 15px;display:inline-flex;align-items:center;color:#fff!important;background:var(--ue-dark2);border-radius:11px;font-size:12px;font-weight:900}
.uebt-share a:hover{background:var(--ue-pink)}
.uebt-cta{padding:28px 30px;display:flex;align-items:center;justify-content:space-between;gap:22px;color:#fff;background:radial-gradient(circle at 10% 10%,rgba(237,61,142,.30),transparent 28%),linear-gradient(135deg,var(--ue-dark),var(--ue-dark2));border-radius:20px}
.uebt-cta h2{margin:0 0 7px!important;color:#fff!important;font-size:24px!important;font-weight:900!important}
.uebt-cta p{margin:0!important;color:#ddd5e8!important;font-size:13px!important;line-height:1.9!important}
.uebt-cta>a{min-height:49px;padding:0 21px;display:inline-flex;align-items:center;flex:0 0 auto;color:#fff!important;background:linear-gradient(135deg,var(--ue-pink2),var(--ue-pink),var(--ue-purple));border-radius:13px;font-size:13px;font-weight:900}
.uebt-post-nav{margin-top:20px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.uebt-post-nav a{min-height:110px;padding:20px;display:flex;flex-direction:column;justify-content:center;color:#fff!important;background:linear-gradient(135deg,var(--ue-dark),var(--ue-dark2));border-radius:17px}
.uebt-post-nav span{margin-bottom:6px;color:#edb7d5;font-size:11px}
.uebt-post-nav strong{color:#fff;font-size:15px;line-height:1.7}
.uebt-related{margin-top:58px}
.uebt-section-title{margin-bottom:24px;text-align:center}
.uebt-section-title span{display:block;margin-bottom:6px;color:var(--ue-pink);font-size:12px;font-weight:900}
.uebt-section-title h2{margin:0!important;color:var(--ue-dark2)!important;font-size:34px!important;font-weight:900!important}
.uebt-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.uebt-related-card{overflow:hidden;margin:0!important;background:#fff;border:1px solid var(--ue-border);border-radius:18px;box-shadow:0 12px 32px rgba(22,10,56,.07)}
.uebt-related-image{width:100%;aspect-ratio:16/9;display:block;overflow:hidden;background:linear-gradient(135deg,var(--ue-dark),#251052)}
.uebt-related-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.uebt-related-card>div{padding:17px}
.uebt-related-card time{color:#94899f;font-size:10px}
.uebt-related-card h3{margin:7px 0 0!important;color:var(--ue-dark2)!important;font-size:17px!important;font-weight:900!important;line-height:1.65!important}
.uebt-related-card h3 a{color:inherit!important}
.uebt-single-page .comments-area,.uebt-single-page #comments{margin-top:45px;padding:30px;background:#fff;border:1px solid var(--ue-border);border-radius:20px}
.uebt-empty{padding:60px 25px;text-align:center;background:#fff;border:1px solid var(--ue-border);border-radius:22px}

@media(max-width:960px){
  .uebt-grid,.uebt-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .uebt-cta{flex-direction:column;text-align:center}
}
@media(max-width:640px){
  .uebt-shell{width:calc(100% - 22px)}
  .uebt-archive-hero{padding:55px 0 52px}
  .uebt-archive-hero h1{font-size:34px!important}
  .uebt-archive-content{padding:42px 0 50px}
  .uebt-grid,.uebt-related-grid{grid-template-columns:1fr}
  .uebt-single-page{padding:24px 0 48px}
  .uebt-single-card{border-radius:20px}
  .uebt-single-featured img{min-height:220px;max-height:390px!important}
  .uebt-single-header{padding:30px 17px 27px}
  .uebt-single-header h1{font-size:29px!important}
  .uebt-meta{font-size:11px}
  .uebt-content{padding:31px 17px 28px;font-size:15px}
  .uebt-content p{font-size:15px!important;line-height:2!important}
  .uebt-content h2{margin-top:34px!important;padding:12px 13px!important;font-size:23px!important}
  .uebt-content h3{font-size:20px!important}
  .uebt-content h4{font-size:18px!important}
  .uebt-content ul,.uebt-content ol{padding:18px 36px 18px 14px!important}
  .uebt-single-footer{padding:0 15px 25px}
  .uebt-cta{padding:23px 16px}
  .uebt-cta>a{width:100%;justify-content:center}
  .uebt-post-nav{grid-template-columns:1fr}
}


/* إزالة الفراغ بين الهيدر وصفحة المدونة على الشاشات الكبيرة فقط */
@media(min-width:641px){
  body.uebt-archive-active .uebt-archive-page{
    position:relative;
    z-index:2;
  }
}

