/*
Theme Name: Rahamaa Wafiyat Style
Theme URI: https://rahamaa.local
Author: Rahamaa
Description: قالب رحماء بتصميم مستوحى من منصات الوفيات الحديثة.
Version: 3.3.0
Text Domain: rahamaa-os
Requires at least: 6.0
Requires PHP: 7.4
*/


@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root{
  --bg:#111111;
  --dark:#171717;
  --dark2:#262626;
  --soft:#f6f6f3;
  --paper:#ffffff;
  --ink:#181818;
  --muted:#767676;
  --line:#e7e7e2;
  --primary:#0f8f70;
  --primary2:#16b88f;
  --primary-soft:#e7f7f1;
  --danger:#b91c1c;
  --warning:#b45309;
  --success:#15803d;
  --shadow:0 18px 50px rgba(0,0,0,.10);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{
  margin:0;
  direction:rtl;
  font-family:'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
  background:#f5f5f2;
  color:var(--ink);
  line-height:1.8;
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font-family:inherit}
.rr-container{width:min(1180px, calc(100% - 40px));margin-inline:auto}

.rr-top{
  background:#000;
  color:#bdbdbd;
  padding:9px 0;
  font-size:14px;
}
.rr-top .rr-container{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}

.rr-header{
  background:#262626;
  color:white;
  border-bottom:1px solid rgba(255,255,255,.08);
  position:sticky;
  top:0;
  z-index:80;
}
.rr-head{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rr-brand{display:flex;align-items:center;gap:12px}
.rr-logo{
  width:52px;height:52px;border-radius:50%;
  display:grid;place-items:center;color:white;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  box-shadow:0 10px 24px rgba(15,143,112,.22);
}
.rr-logo-mark{width:28px;height:28px;position:relative;display:block}
.rr-logo-mark:before{content:"";position:absolute;width:20px;height:20px;right:4px;top:1px;border-radius:50%;background:#fff}
.rr-logo-mark:after{content:"";position:absolute;width:30px;height:11px;right:-1px;bottom:2px;border-radius:12px 12px 7px 7px;background:#fff}
.rr-brand h1{margin:0;font-size:25px;font-weight:800;line-height:1.05;color:#fff}
.rr-brand span{display:block;font-size:12px;color:#aaa;margin-top:2px}
.rr-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rr-nav a{color:#d1d1d1;font-size:15px;font-weight:600;padding:9px 14px;border-radius:999px;transition:.18s ease}
.rr-nav a:hover{background:rgba(255,255,255,.08);color:#fff}
.rr-nav a.main{background:var(--primary);color:white}

.rr-main{min-height:calc(100vh - 76px)}

.rr-home{
  background:radial-gradient(circle at 18% 12%,rgba(22,184,143,.22),transparent 28%),linear-gradient(180deg,#202020 0%,#151515 100%);
  color:white;
  padding:58px 0 46px;
}
.rr-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:stretch}
.rr-hero-content{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  border-radius:26px;
  padding:46px;
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.rr-kicker,.rr-section-kicker,.rr-pill{
  display:inline-flex;width:max-content;padding:7px 12px;border-radius:999px;
  background:rgba(15,143,112,.14);border:1px solid rgba(22,184,143,.28);
  color:#7ee3c9;font-size:13px;font-weight:800;margin-bottom:14px;
}
.rr-home h2{margin:0 0 14px;color:white;font-size:clamp(35px,5vw,64px);line-height:1.18;font-weight:800;letter-spacing:-.8px}
.rr-home p{margin:0;max-width:680px;color:#c9c9c9;font-size:18px;line-height:1.9}
.rr-hero-panel{
  background:linear-gradient(180deg,rgba(15,143,112,.94),rgba(8,83,66,.96));
  border-radius:26px;padding:30px;min-height:360px;display:flex;flex-direction:column;justify-content:space-between;color:white;position:relative;overflow:hidden;
}
.rr-hero-panel:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.09);left:-95px;top:-95px}
.rr-panel-mark{width:66px;height:66px;border-radius:18px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.20);position:relative}
.rr-panel-mark:before{content:"";position:absolute;width:28px;height:28px;border-radius:50%;background:white;right:19px;top:12px}
.rr-panel-mark:after{content:"";position:absolute;width:42px;height:14px;border-radius:12px;background:white;right:12px;bottom:13px}
.rr-hero-panel h3{font-size:34px;margin:22px 0 8px;font-weight:800}
.rr-hero-panel p{color:rgba(255,255,255,.78);font-size:15px;margin:0}
.rr-mini-grid{display:grid;gap:10px;margin-top:24px}
.rr-mini-grid div{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:14px;padding:12px}
.rr-mini-grid strong{display:block;color:white;font-size:14px}
.rr-mini-grid span{display:block;color:rgba(255,255,255,.72);font-size:12px}

.rr-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:28px}
.rr-btn,button.rr-btn,input.rr-btn{
  border:0;border-radius:999px;padding:12px 20px;font-size:15px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.18s ease;
}
.rr-btn:hover{transform:translateY(-2px)}
.rr-primary{background:var(--primary);color:white}
.rr-secondary{background:#3a3a3a;color:white}
.rr-ghost{background:white;color:#1f1f1f;border:1px solid var(--line)}

.rr-section{padding:48px 0}
.rr-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.rr-title{margin:0 0 4px;color:#1f1f1f;font-size:clamp(27px,3vw,42px);line-height:1.25;font-weight:800}
.rr-desc{margin:0;color:var(--muted);font-size:16px}

.rr-card,.rr-form{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:0 8px 26px rgba(0,0,0,.045)}
.rr-form{max-width:980px;margin-inline:auto}
.rr-form h3{margin:22px 0 12px;font-size:20px;color:#1f1f1f;border-bottom:1px solid var(--line);padding-bottom:8px}
.rr-form h3:first-child{margin-top:0}
.rr-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px 16px}
.rr-full{grid-column:1/-1}
.rr-label{display:block;font-size:13px;font-weight:800;margin-bottom:6px;color:#222}
.rr-input,.rr-select,.rr-textarea{width:100%;border:1px solid #d8d8d8;background:white;border-radius:12px;padding:13px 14px;font-size:14px;color:#1f1f1f;outline:none;margin-bottom:12px}
.rr-textarea{min-height:110px;resize:vertical}
.rr-input:focus,.rr-select:focus,.rr-textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(15,143,112,.10)}
.rr-alert{border-radius:14px;padding:14px 16px;margin-bottom:18px;border:1px solid transparent}
.rr-alert-success{background:#e8f7ed;color:var(--success);border-color:#bbe8cc}
.rr-alert-warning{background:#fff8e5;color:var(--warning);border-color:#f0d99c}
.rr-alert-danger{background:#fdeaea;color:var(--danger);border-color:#f4bcbc}

.rr-cases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rr-case{position:relative;padding:0;overflow:hidden;border:0;background:#111;border-radius:14px;min-height:255px;box-shadow:0 10px 28px rgba(0,0,0,.08);transition:.18s ease}
.rr-case:hover{transform:translateY(-4px)}
.rr-cover{height:255px;min-height:255px;padding:0;background:#202020;position:relative}
.rr-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.14) 42%,rgba(0,0,0,.88) 100%);z-index:2}
.rr-avatar{width:100%;height:100%;border-radius:0;background:#222;box-shadow:none;display:block;overflow:hidden}
.rr-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.rr-person-icon{width:100%;height:100%;display:block;position:relative;background:linear-gradient(135deg,#333,#111)}
.rr-person-icon:before{content:"";position:absolute;width:58px;height:58px;border-radius:50%;background:#777;right:50%;top:34%;transform:translateX(50%)}
.rr-person-icon:after{content:"";position:absolute;width:100px;height:38px;border-radius:50px 50px 16px 16px;background:#777;right:50%;top:58%;transform:translateX(50%)}
.rr-city{position:absolute;right:10px;top:10px;z-index:3;background:rgba(255,255,255,.92);color:#111;border:0;font-size:11px;padding:5px 10px;border-radius:999px}
.rr-case-body{position:absolute;inset:auto 0 0 0;z-index:4;padding:18px;color:white}
.rr-badge{display:none}
.rr-case h3{color:white;margin:0 0 5px;font-size:20px;font-weight:800;line-height:1.35}
.rr-info-list{display:block;margin:0}
.rr-row{color:rgba(255,255,255,.70);font-size:12px;margin:0}
.rr-row:not(:first-child){display:none}
.rr-i{display:none}
.rr-dua{display:none}
.rr-case .rr-actions{margin-top:12px}
.rr-case .rr-btn{padding:8px 13px;font-size:12px;background:rgba(255,255,255,.92);color:#111}
.rr-case .rr-btn.rr-ghost{display:none}

.rr-about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rr-about-card{min-height:150px}
.rr-step{display:inline-flex;font-size:12px;font-weight:800;color:var(--primary);background:var(--primary-soft);padding:4px 9px;border-radius:999px;margin-bottom:10px}
.rr-about-card h3{margin:0 0 6px;font-size:20px;font-weight:800}
.rr-about-card p{margin:0;color:var(--muted);font-size:14px}
.rr-suggest{border-right:4px solid var(--primary)}
.rr-suggest h2{margin:0 0 6px;font-size:28px;font-weight:800}
.rr-suggest p{color:var(--muted);font-size:15px}
.rr-edit-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}
.rr-edit-list div{background:#f8f8f6;border:1px solid var(--line);border-radius:12px;padding:14px}
.rr-edit-list strong{display:block;margin-bottom:4px;font-size:14px;color:#222}
.rr-edit-list span{display:block;font-size:13px;color:var(--muted)}
.rr-support{background:#181818;color:white;text-align:center}
.rr-support .rr-section-kicker{margin-inline:auto}
.rr-support h2{color:white;font-size:30px;margin:0 0 8px}
.rr-support p{color:#bfbfbf}
.rr-support .rr-actions{justify-content:center}
.rr-support .rr-primary{background:var(--primary)}

.rr-single{display:grid;grid-template-columns:360px 1fr;gap:22px}
.rr-photo-big{min-height:460px;background:#202020;border-radius:18px;overflow:hidden;display:grid;place-items:center}
.rr-photo-big img{width:100%;height:100%;object-fit:cover}
.rr-info-list-single{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}
.rr-info-list-single .rr-row{color:var(--muted);font-size:14px;display:flex}

.rr-footer{background:#111;color:white;padding:38px 0;margin-top:40px}
.rr-footer-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;flex-wrap:wrap}
.rr-footer p{color:#aaa;margin:6px 0 0}
.rr-footer-links{display:flex;gap:8px;flex-wrap:wrap}
.rr-footer-links a{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);color:#ddd;border-radius:999px;padding:8px 12px;font-size:13px}

@media(max-width:1100px){
  .rr-cases{grid-template-columns:repeat(3,1fr)}
  .rr-hero{grid-template-columns:1fr}
  .rr-hero-panel{min-height:auto}
}
@media(max-width:820px){
  .rr-container{width:calc(100% - 28px)}
  .rr-top{display:none}
  .rr-header{position:static}
  .rr-head{min-height:auto;padding:12px 0;flex-direction:column;align-items:flex-start}
  .rr-nav{width:100%;overflow:auto;flex-wrap:nowrap;padding-bottom:3px}
  .rr-nav a{flex:0 0 auto;font-size:13px}
  .rr-home{padding:30px 0}
  .rr-hero-content{padding:28px 20px;min-height:auto;border-radius:20px}
  .rr-home h2{font-size:31px}
  .rr-home p{font-size:15px}
  .rr-hero-panel{display:none}
  .rr-actions .rr-btn{width:100%}
  .rr-section{padding:32px 0}
  .rr-section-head{align-items:flex-start}
  .rr-title{font-size:25px}
  .rr-cases{grid-template-columns:repeat(2,1fr);gap:10px}
  .rr-case,.rr-cover{min-height:220px;height:220px}
  .rr-case h3{font-size:16px}
  .rr-about-grid,.rr-edit-list,.rr-grid{grid-template-columns:1fr}
  .rr-full{grid-column:auto}
  .rr-single{grid-template-columns:1fr}
  .rr-photo-big{min-height:360px}
  .rr-info-list-single{grid-template-columns:1fr}
}
@media(max-width:520px){
  .rr-cases{grid-template-columns:1fr}
  .rr-case,.rr-cover{height:260px;min-height:260px}
}


/* Weekly deaths marquee */
.rr-weekly-strip{
  background:#111;
  color:white;
  padding:18px 0;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}

.rr-strip-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
}

.rr-strip-head span{
  font-size:18px;
  font-weight:800;
  color:white;
}

.rr-strip-head small{
  color:#aaa;
  font-size:13px;
}

.rr-marquee-wrap{
  overflow:hidden;
  position:relative;
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rr-marquee-track{
  display:flex;
  align-items:center;
  gap:12px;
  width:max-content;
  animation:rr-marquee-x 42s linear infinite;
}

.rr-marquee-wrap:hover .rr-marquee-track,
.rr-anniversary-row:hover .rr-anniversary-track{
  animation-play-state:paused;
}

.rr-marquee-person{
  min-width:245px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:999px;
  padding:8px 10px;
  transition:.18s ease;
}

.rr-marquee-dark{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:white;
}

.rr-marquee-light{
  background:#fff;
  border:1px solid var(--line);
  color:#1f1f1f;
  box-shadow:0 8px 22px rgba(0,0,0,.045);
}

.rr-marquee-person:hover{
  transform:translateY(-2px);
}

.rr-marquee-photo{
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  background:#2b2b2b;
  flex:0 0 auto;
  display:grid;
  place-items:center;
}

.rr-marquee-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rr-mini-person-icon{
  width:30px;
  height:30px;
  display:block;
  position:relative;
}

.rr-mini-person-icon:before{
  content:"";
  position:absolute;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#aaa;
  right:8px;
  top:2px;
}

.rr-mini-person-icon:after{
  content:"";
  position:absolute;
  width:28px;
  height:12px;
  border-radius:18px 18px 7px 7px;
  background:#aaa;
  right:1px;
  bottom:1px;
}

.rr-marquee-info{
  min-width:0;
  display:block;
}

.rr-marquee-info strong{
  display:block;
  font-size:14px;
  font-weight:800;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:165px;
}

.rr-marquee-info small{
  display:block;
  font-size:11px;
  color:inherit;
  opacity:.68;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:165px;
}

@keyframes rr-marquee-x{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

/* Anniversary section */
.rr-anniversary-section{
  background:#f7f7f4;
  padding:50px 0;
  overflow:hidden;
}

.rr-anniversary-rows{
  display:grid;
  gap:12px;
}

.rr-anniversary-row{
  overflow:hidden;
  mask-image:linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.rr-anniversary-track{
  display:flex;
  gap:12px;
  width:max-content;
}

.rr-anniversary-track-1{
  animation:rr-anniversary-left 48s linear infinite;
}

.rr-anniversary-track-2{
  animation:rr-anniversary-right 56s linear infinite;
}

.rr-anniversary-track-3{
  animation:rr-anniversary-left 64s linear infinite;
}

@keyframes rr-anniversary-left{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

@keyframes rr-anniversary-right{
  from{transform:translateX(50%)}
  to{transform:translateX(0)}
}

@media(max-width:820px){
  .rr-strip-head{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }

  .rr-marquee-person{
    min-width:220px;
  }

  .rr-marquee-info strong,
  .rr-marquee-info small{
    max-width:145px;
  }

  .rr-anniversary-section{
    padding:34px 0;
  }
}


/* Weekly deaths showcase - card slider style */
.rr-weekly-strip{
  display:none !important;
}

.rr-weekly-showcase{
  background:#262626;
  color:white;
  padding:28px 0 34px;
  overflow:hidden;
}

.rr-weekly-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.rr-weekly-header h2{
  margin:0;
  color:white;
  font-size:22px;
  line-height:1.2;
  font-weight:800;
}

.rr-weekly-controls{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}

.rr-weekly-arrow{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:#8db0d8;
  font-size:34px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:.18s ease;
}

.rr-weekly-arrow:hover{
  color:white;
  background:rgba(255,255,255,.08);
}

.rr-weekly-all{
  background:#7da1cb;
  color:white;
  border-radius:4px;
  min-width:86px;
  text-align:center;
  padding:7px 18px;
  font-size:13px;
  font-weight:700;
}

.rr-weekly-slider{
  display:flex;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding:2px 2px 4px;
  direction:rtl;
}

.rr-weekly-slider::-webkit-scrollbar{
  display:none;
}

.rr-weekly-card{
  position:relative;
  flex:0 0 186px;
  height:118px;
  border-radius:6px;
  overflow:hidden;
  background:#111;
  color:white;
  box-shadow:0 10px 26px rgba(0,0,0,.22);
  transition:.18s ease;
}

.rr-weekly-card:hover{
  transform:translateY(-3px);
}

.rr-weekly-image{
  position:absolute;
  inset:0;
  display:block;
  background:#171717;
}

.rr-weekly-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rr-weekly-placeholder{
  width:100%;
  height:100%;
  display:block;
  position:relative;
  background:linear-gradient(135deg,#3a3a3a,#111);
}

.rr-weekly-placeholder:before{
  content:"";
  position:absolute;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#777;
  right:50%;
  top:28px;
  transform:translateX(50%);
}

.rr-weekly-placeholder:after{
  content:"";
  position:absolute;
  width:70px;
  height:26px;
  border-radius:40px 40px 12px 12px;
  background:#777;
  right:50%;
  top:68px;
  transform:translateX(50%);
}

.rr-weekly-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,0,0,.26) 42%,rgba(0,0,0,.86) 100%),
    linear-gradient(90deg,rgba(0,0,0,.20),transparent 35%,rgba(0,0,0,.20));
  z-index:1;
}

.rr-weekly-content{
  position:absolute;
  z-index:2;
  right:10px;
  left:10px;
  bottom:9px;
  text-align:right;
  display:block;
}

.rr-weekly-content strong{
  display:block;
  font-size:14px;
  font-weight:800;
  line-height:1.35;
  color:white;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-weekly-content small{
  display:block;
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.3;
  margin-top:1px;
}

.rr-weekly-content em{
  display:none;
}

@media(max-width:900px){
  .rr-weekly-card{
    flex-basis:165px;
    height:108px;
  }

  .rr-weekly-header{
    align-items:flex-start;
    flex-direction:column-reverse;
  }
}

@media(max-width:520px){
  .rr-weekly-showcase{
    padding:22px 0 26px;
  }

  .rr-weekly-card{
    flex-basis:150px;
    height:104px;
  }

  .rr-weekly-controls{
    width:100%;
    justify-content:space-between;
  }

  .rr-weekly-all{
    flex:1;
  }
}


/* v1.3 - Weekly deaths fixed-size cards and section placement */
.rr-weekly-showcase{
  background:#f5f5f2 !important;
  color:#1f1f1f !important;
  padding:8px 0 46px !important;
  overflow:hidden !important;
}

.rr-weekly-showcase .rr-container{
  position:relative;
}

.rr-weekly-header{
  margin-bottom:18px !important;
}

.rr-weekly-header h2{
  color:#1f1f1f !important;
  font-size:clamp(27px,3vw,42px) !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

.rr-weekly-controls{
  gap:10px !important;
}

.rr-weekly-arrow{
  color:#1f1f1f !important;
  background:#fff !important;
  border:1px solid var(--line) !important;
  width:36px !important;
  height:36px !important;
  font-size:30px !important;
  box-shadow:0 8px 20px rgba(0,0,0,.04) !important;
}

.rr-weekly-arrow:hover{
  background:#262626 !important;
  color:#fff !important;
}

.rr-weekly-all{
  background:#262626 !important;
  color:#fff !important;
  border-radius:999px !important;
  min-width:96px !important;
  padding:8px 18px !important;
}

.rr-weekly-slider{
  display:grid !important;
  grid-auto-flow:column !important;
  grid-auto-columns:270px !important;
  gap:16px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x proximity !important;
  scrollbar-width:none !important;
  padding:2px 2px 8px !important;
  direction:rtl !important;
}

.rr-weekly-slider::-webkit-scrollbar{
  display:none !important;
}

.rr-weekly-card{
  width:270px !important;
  min-width:270px !important;
  max-width:270px !important;
  height:255px !important;
  min-height:255px !important;
  flex:none !important;
  border-radius:14px !important;
  scroll-snap-align:start !important;
  box-shadow:0 10px 28px rgba(0,0,0,.08) !important;
}

.rr-weekly-content{
  right:18px !important;
  left:18px !important;
  bottom:18px !important;
}

.rr-weekly-content strong{
  font-size:20px !important;
  line-height:1.35 !important;
  max-width:100% !important;
}

.rr-weekly-content small{
  font-size:12px !important;
  margin-top:2px !important;
}

.rr-weekly-placeholder:before{
  width:58px !important;
  height:58px !important;
  top:34% !important;
}

.rr-weekly-placeholder:after{
  width:100px !important;
  height:38px !important;
  top:58% !important;
}

@media(max-width:1100px){
  .rr-weekly-slider{
    grid-auto-columns:240px !important;
  }

  .rr-weekly-card{
    width:240px !important;
    min-width:240px !important;
    max-width:240px !important;
    height:235px !important;
    min-height:235px !important;
  }
}

@media(max-width:820px){
  .rr-weekly-showcase{
    padding:0 0 34px !important;
  }

  .rr-weekly-header{
    align-items:flex-start !important;
    flex-direction:column-reverse !important;
  }

  .rr-weekly-slider{
    grid-auto-columns:220px !important;
    gap:12px !important;
  }

  .rr-weekly-card{
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
    height:220px !important;
    min-height:220px !important;
  }

  .rr-weekly-content strong{
    font-size:17px !important;
  }
}

@media(max-width:520px){
  .rr-weekly-slider{
    grid-auto-columns:220px !important;
  }

  .rr-weekly-card{
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
    height:220px !important;
    min-height:220px !important;
  }
}


/* v1.4 - Daily deaths board */
.rr-day-board-section{
  background:#262626;
  padding:34px 0 44px;
  color:white;
}

.rr-day-board{
  background:#303030;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  padding:18px;
  box-shadow:0 16px 44px rgba(0,0,0,.16);
}

.rr-day-board-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.rr-day-kicker{
  display:inline-flex;
  color:#7ee3c9;
  background:rgba(15,143,112,.14);
  border:1px solid rgba(22,184,143,.22);
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}

.rr-day-board h2{
  margin:0;
  color:white;
  font-size:26px;
  line-height:1.25;
  font-weight:800;
}

.rr-day-board p{
  margin:4px 0 0;
  color:#aaa;
  font-size:14px;
}

.rr-day-all{
  background:#3e3e3e;
  color:white;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  padding:9px 16px;
  font-size:13px;
  font-weight:800;
  flex:0 0 auto;
}

.rr-day-tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-bottom:16px;
}

.rr-day-tab{
  background:#3b3b3b;
  border:1px solid rgba(255,255,255,.09);
  color:#d7d7d7;
  border-radius:12px;
  padding:11px 12px;
  cursor:pointer;
  text-align:center;
  transition:.18s ease;
}

.rr-day-tab span{
  display:block;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
}

.rr-day-tab small{
  display:block;
  font-size:11px;
  color:#aaa;
  margin-top:4px;
}

.rr-day-tab:hover,
.rr-day-tab.is-active{
  background:var(--primary);
  color:white;
  border-color:var(--primary);
}

.rr-day-tab.is-active small{
  color:rgba(255,255,255,.78);
}

.rr-day-panels{
  position:relative;
}

.rr-day-panel{
  display:none;
}

.rr-day-panel.is-active{
  display:block;
}

.rr-day-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-height:450px;
  overflow:auto;
  padding-left:4px;
}

.rr-day-list::-webkit-scrollbar{
  width:7px;
}

.rr-day-list::-webkit-scrollbar-thumb{
  background:#505050;
  border-radius:999px;
}

.rr-day-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:66px;
  background:#3a3a3a;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  padding:8px;
  color:white;
  transition:.18s ease;
}

.rr-day-item:hover{
  background:#424242;
  transform:translateY(-2px);
}

.rr-day-photo{
  width:50px;
  height:50px;
  border-radius:10px;
  overflow:hidden;
  background:#1f1f1f;
  flex:0 0 auto;
  display:grid;
  place-items:center;
}

.rr-day-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rr-day-placeholder{
  width:100%;
  height:100%;
  display:block;
  position:relative;
  background:linear-gradient(135deg,#555,#202020);
}

.rr-day-placeholder:before{
  content:"";
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#aaa;
  right:50%;
  top:10px;
  transform:translateX(50%);
}

.rr-day-placeholder:after{
  content:"";
  position:absolute;
  width:34px;
  height:14px;
  border-radius:20px 20px 8px 8px;
  background:#aaa;
  right:50%;
  top:31px;
  transform:translateX(50%);
}

.rr-day-info{
  min-width:0;
  display:block;
}

.rr-day-info strong{
  display:block;
  color:white;
  font-size:15px;
  font-weight:800;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-day-info small{
  display:block;
  color:#bdbdbd;
  font-size:11px;
  line-height:1.4;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-day-empty{
  background:#3a3a3a;
  border:1px solid rgba(255,255,255,.08);
  color:#bbb;
  border-radius:12px;
  padding:26px;
  text-align:center;
  font-size:14px;
}

@media(max-width:1000px){
  .rr-day-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:720px){
  .rr-day-board-section{
    padding:28px 0 34px;
  }

  .rr-day-board{
    padding:14px;
  }

  .rr-day-board-head{
    flex-direction:column;
  }

  .rr-day-all{
    width:100%;
    text-align:center;
  }

  .rr-day-tabs{
    grid-template-columns:repeat(2,1fr);
  }

  .rr-day-list{
    grid-template-columns:1fr;
    max-height:520px;
  }
}


/* v1.5 - Fix single-card stretching + redesign day board */

/* تثبيت حجم كروت الحالات حتى لو كانت حالة واحدة */
.rr-cases{
  display:grid !important;
  grid-template-columns:repeat(auto-fill, minmax(230px, 270px)) !important;
  justify-content:start !important;
  gap:16px !important;
}

.rr-case{
  width:100% !important;
  max-width:270px !important;
  min-height:255px !important;
  height:255px !important;
}

.rr-cover{
  height:255px !important;
  min-height:255px !important;
}

/* تثبيت وفيات الأسبوع */
.rr-weekly-slider{
  display:flex !important;
  align-items:stretch !important;
  gap:16px !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  scroll-snap-type:x proximity !important;
  scrollbar-width:none !important;
  padding:2px 2px 8px !important;
}

.rr-weekly-card{
  flex:0 0 270px !important;
  width:270px !important;
  min-width:270px !important;
  max-width:270px !important;
  height:255px !important;
  min-height:255px !important;
  max-height:255px !important;
}

/* التصميم الجديد لقسم اليوم / أمس / قبل أمس */
.rr-day-board-section{
  background:#f5f5f2 !important;
  padding:10px 0 48px !important;
  color:#1f1f1f !important;
}

.rr-day-board{
  background:#ffffff !important;
  border:1px solid var(--line) !important;
  border-radius:18px !important;
  padding:22px !important;
  box-shadow:0 8px 26px rgba(0,0,0,.045) !important;
}

.rr-day-board-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin-bottom:20px !important;
}

.rr-day-kicker{
  display:inline-flex !important;
  width:max-content !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  background:var(--primary-soft) !important;
  border:1px solid rgba(15,143,112,.18) !important;
  color:var(--primary) !important;
  font-size:12px !important;
  font-weight:800 !important;
  margin-bottom:8px !important;
}

.rr-day-board h2{
  margin:0 !important;
  color:#1f1f1f !important;
  font-size:clamp(25px,3vw,38px) !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

.rr-day-board p{
  margin:4px 0 0 !important;
  color:var(--muted) !important;
  font-size:15px !important;
}

.rr-day-all{
  background:#262626 !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  padding:10px 18px !important;
  font-size:13px !important;
  font-weight:800 !important;
  flex:0 0 auto !important;
}

.rr-day-tabs{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  overflow-x:auto !important;
  padding:0 0 12px !important;
  margin:0 0 18px !important;
  border-bottom:1px solid var(--line) !important;
  scrollbar-width:none !important;
}

.rr-day-tabs::-webkit-scrollbar{
  display:none !important;
}

.rr-day-tab{
  flex:0 0 auto !important;
  min-width:120px !important;
  background:#f8f8f6 !important;
  border:1px solid var(--line) !important;
  color:#444 !important;
  border-radius:999px !important;
  padding:9px 14px !important;
  cursor:pointer !important;
  text-align:center !important;
  transition:.18s ease !important;
}

.rr-day-tab span{
  display:block !important;
  font-size:14px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
}

.rr-day-tab small{
  display:block !important;
  font-size:10px !important;
  color:#888 !important;
  margin-top:3px !important;
}

.rr-day-tab:hover,
.rr-day-tab.is-active{
  background:var(--primary) !important;
  color:#fff !important;
  border-color:var(--primary) !important;
}

.rr-day-tab.is-active small{
  color:rgba(255,255,255,.78) !important;
}

.rr-day-panel{
  display:none !important;
}

.rr-day-panel.is-active{
  display:block !important;
}

.rr-day-list{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
  max-height:none !important;
  overflow:visible !important;
  padding:0 !important;
}

.rr-day-item{
  min-height:78px !important;
  background:#f8f8f6 !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  padding:10px !important;
  color:#1f1f1f !important;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  box-shadow:none !important;
}

.rr-day-item:hover{
  background:#fff !important;
  box-shadow:0 10px 24px rgba(0,0,0,.06) !important;
  transform:translateY(-2px) !important;
}

.rr-day-photo{
  width:56px !important;
  height:56px !important;
  border-radius:50% !important;
  overflow:hidden !important;
  background:#e5e5e0 !important;
  flex:0 0 auto !important;
}

.rr-day-info{
  min-width:0 !important;
}

.rr-day-info strong{
  color:#1f1f1f !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.45 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-day-info small{
  color:#777 !important;
  font-size:12px !important;
  line-height:1.5 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-day-placeholder{
  background:linear-gradient(135deg,#d8d8d2,#bfbfb8) !important;
}

.rr-day-placeholder:before,
.rr-day-placeholder:after{
  background:#777 !important;
}

.rr-day-empty{
  background:#f8f8f6 !important;
  border:1px solid var(--line) !important;
  color:#777 !important;
  border-radius:14px !important;
  padding:24px !important;
  text-align:center !important;
}

/* حتى لو صورة واحدة، لا تتمدد */
.rr-case:only-child,
.rr-weekly-card:only-child{
  width:270px !important;
  max-width:270px !important;
  min-width:270px !important;
}

@media(max-width:1100px){
  .rr-cases{
    grid-template-columns:repeat(auto-fill, minmax(220px, 240px)) !important;
  }

  .rr-case,
  .rr-case:only-child{
    max-width:240px !important;
    width:240px !important;
    min-width:240px !important;
    height:235px !important;
    min-height:235px !important;
  }

  .rr-cover{
    height:235px !important;
    min-height:235px !important;
  }

  .rr-weekly-card,
  .rr-weekly-card:only-child{
    flex-basis:240px !important;
    width:240px !important;
    min-width:240px !important;
    max-width:240px !important;
    height:235px !important;
    min-height:235px !important;
  }

  .rr-day-list{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:820px){
  .rr-cases{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    justify-content:stretch !important;
  }

  .rr-case,
  .rr-case:only-child{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:220px !important;
    min-height:220px !important;
  }

  .rr-cover{
    height:220px !important;
    min-height:220px !important;
  }

  .rr-weekly-card,
  .rr-weekly-card:only-child{
    flex-basis:220px !important;
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
    height:220px !important;
    min-height:220px !important;
  }

  .rr-day-board-section{
    padding:0 0 34px !important;
  }

  .rr-day-board{
    padding:16px !important;
  }

  .rr-day-board-head{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .rr-day-all{
    width:100% !important;
    text-align:center !important;
  }

  .rr-day-list{
    grid-template-columns:1fr !important;
  }
}

@media(max-width:520px){
  .rr-cases{
    grid-template-columns:1fr !important;
  }

  .rr-case,
  .rr-case:only-child{
    height:260px !important;
    min-height:260px !important;
  }

  .rr-cover{
    height:260px !important;
    min-height:260px !important;
  }
}


/* v1.6 - Desktop polish, remove OS branding, custom date filter */
@media(min-width:1101px){
  .rr-container{
    width:min(1120px, calc(100% - 72px)) !important;
  }

  .rr-home{
    padding:48px 0 38px !important;
  }

  .rr-hero{
    grid-template-columns:minmax(0, 1fr) 360px !important;
    gap:22px !important;
  }

  .rr-hero-content{
    min-height:330px !important;
    padding:38px !important;
  }

  .rr-hero-panel{
    min-height:330px !important;
    padding:26px !important;
  }

  .rr-home h2{
    font-size:48px !important;
    max-width:760px !important;
  }

  .rr-home p{
    font-size:16px !important;
    max-width:680px !important;
  }

  .rr-section{
    padding:42px 0 !important;
  }

  .rr-cases{
    grid-template-columns:repeat(4, 255px) !important;
    justify-content:start !important;
    gap:16px !important;
  }

  .rr-case,
  .rr-case:only-child{
    width:255px !important;
    min-width:255px !important;
    max-width:255px !important;
    height:250px !important;
    min-height:250px !important;
  }

  .rr-cover{
    height:250px !important;
    min-height:250px !important;
  }

  .rr-weekly-card,
  .rr-weekly-card:only-child{
    flex:0 0 255px !important;
    width:255px !important;
    min-width:255px !important;
    max-width:255px !important;
    height:250px !important;
    min-height:250px !important;
  }

  .rr-weekly-content strong{
    font-size:18px !important;
  }
}

.rr-day-filter-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 260px !important;
  gap:14px !important;
  align-items:start !important;
  margin-bottom:18px !important;
  border-bottom:1px solid var(--line) !important;
  padding-bottom:12px !important;
}

.rr-day-filter-row .rr-day-tabs{
  border-bottom:0 !important;
  margin:0 !important;
  padding:0 !important;
}

.rr-day-date-form{
  background:#f8f8f6 !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  padding:10px !important;
}

.rr-day-date-form label{
  display:block !important;
  font-size:12px !important;
  color:#555 !important;
  font-weight:800 !important;
  margin-bottom:7px !important;
}

.rr-day-date-form div{
  display:flex !important;
  gap:8px !important;
}

.rr-day-date-form input{
  min-width:0 !important;
  width:100% !important;
  border:1px solid #d8d8d8 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#1f1f1f !important;
  padding:9px 10px !important;
  outline:none !important;
}

.rr-day-date-form button{
  flex:0 0 auto !important;
  border:0 !important;
  border-radius:10px !important;
  background:var(--primary) !important;
  color:white !important;
  padding:9px 13px !important;
  font-weight:800 !important;
  cursor:pointer !important;
}

.rr-date-result-title{
  background:var(--primary-soft) !important;
  color:var(--primary) !important;
  border:1px solid rgba(15,143,112,.18) !important;
  border-radius:12px !important;
  padding:10px 14px !important;
  font-size:14px !important;
  font-weight:800 !important;
  margin-bottom:12px !important;
}

@media(max-width:1100px){
  .rr-day-filter-row{
    grid-template-columns:1fr !important;
  }

  .rr-day-date-form{
    max-width:420px !important;
  }
}

@media(max-width:720px){
  .rr-day-date-form{
    max-width:none !important;
  }
}


/* v1.7 - Simplified edit section + developer contact footer */
.rr-process-section{
  display:none !important;
}

.rr-suggest-simple{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  border-right:4px solid var(--primary) !important;
}

.rr-suggest-simple h2{
  margin:0 0 6px !important;
}

.rr-suggest-simple p{
  max-width:680px !important;
  margin:0 !important;
}

.rr-suggest-simple .rr-actions{
  margin-top:0 !important;
  flex:0 0 auto !important;
}

.rr-dev-contact{
  color:white;
  min-width:240px;
}

.rr-dev-contact span{
  display:block;
  color:#aaa;
  font-size:13px;
  margin-bottom:8px;
}

.rr-dev-contact div{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.rr-dev-contact a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:800;
}

.rr-dev-whatsapp{
  background:var(--primary);
  color:white;
}

.rr-dev-email{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:#ddd;
}

@media(max-width:820px){
  .rr-suggest-simple{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .rr-suggest-simple .rr-actions{
    width:100% !important;
  }

  .rr-dev-contact{
    width:100%;
  }

  .rr-dev-contact a{
    width:100%;
  }
}


/* v1.8 - Icon-only developer contact */
.rr-dev-icons{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

.rr-dev-icon{
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  transition:.18s ease !important;
}

.rr-dev-icon:hover{
  transform:translateY(-2px) !important;
}

.rr-dev-icon svg{
  width:22px !important;
  height:22px !important;
  fill:currentColor !important;
  display:block !important;
}

.rr-dev-whatsapp{
  background:#25D366 !important;
  color:white !important;
  border:0 !important;
}

.rr-dev-email{
  background:rgba(255,255,255,.10) !important;
  color:white !important;
  border:1px solid rgba(255,255,255,.14) !important;
}

@media(max-width:820px){
  .rr-dev-icons{
    width:100% !important;
  }

  .rr-dev-icon{
    width:46px !important;
    height:46px !important;
  }
}


/* v1.9 - Auto date filter without search button */
.rr-day-date-auto div{
  display:block !important;
}

.rr-day-date-auto input{
  cursor:pointer !important;
}

.rr-day-date-auto button{
  display:none !important;
}


/* v2.0 - Emotional intro text */
.rr-hero-content p,
.rr-home p{
  max-width:760px !important;
  line-height:2 !important;
}


/* v2.1 - Better footer icons and direct date results */
.rr-dev-contact{
  text-align:center !important;
}

.rr-dev-contact span{
  color:#cfcfcf !important;
  font-weight:800 !important;
  margin-bottom:10px !important;
}

.rr-dev-icons{
  justify-content:center !important;
  gap:12px !important;
}

.rr-dev-icon{
  width:44px !important;
  height:44px !important;
  border-radius:14px !important;
  background:#222 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 20px rgba(0,0,0,.16) !important;
}

.rr-dev-icon svg{
  width:21px !important;
  height:21px !important;
}

.rr-dev-whatsapp{
  background:linear-gradient(135deg,#128c5e,#25d366) !important;
  color:white !important;
  border:0 !important;
}

.rr-dev-email{
  background:linear-gradient(135deg,#2c2c2c,#171717) !important;
  color:#f4f4f4 !important;
}

.rr-dev-icon:hover{
  transform:translateY(-3px) scale(1.03) !important;
  filter:brightness(1.08) !important;
}

.rr-day-date-picker div{
  display:flex !important;
  gap:8px !important;
}

.rr-day-date-picker input{
  position:absolute !important;
  opacity:0 !important;
  pointer-events:none !important;
  width:1px !important;
  height:1px !important;
}

.rr-day-date-picker button{
  width:100% !important;
  min-height:42px !important;
  border:0 !important;
  border-radius:12px !important;
  background:#262626 !important;
  color:#fff !important;
  padding:10px 14px !important;
  font-weight:800 !important;
  cursor:pointer !important;
  transition:.18s ease !important;
}

.rr-day-date-picker button:hover{
  background:var(--primary) !important;
  transform:translateY(-2px) !important;
}

.rr-date-results-card{
  margin-bottom:22px !important;
}

.rr-date-results-grid{
  margin-top:14px !important;
}

@media(max-width:820px){
  .rr-dev-contact{
    text-align:right !important;
  }

  .rr-dev-icons{
    justify-content:flex-start !important;
  }

  .rr-day-date-picker button{
    width:100% !important;
  }
}


/* v2.2 - Weekly vertical list, wife field, footer inline icons */
.rr-wife-of{
  display:block;
  margin:-2px 0 7px;
  font-size:11px;
  line-height:1.5;
  color:rgba(255,255,255,.62);
  font-weight:600;
  opacity:.78;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-wife-of-single{
  color:#777;
  font-size:14px;
  margin:0 0 12px;
  opacity:.84;
}

/* Hide old weekly slider styles if any */
.rr-weekly-showcase{
  display:none !important;
}

.rr-weekly-vertical-section{
  background:#f5f5f2;
  padding:10px 0 44px;
}

.rr-weekly-v-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  box-shadow:0 8px 26px rgba(0,0,0,.045);
}

.rr-weekly-v-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.rr-weekly-v-head h2{
  margin:0;
  color:#1f1f1f;
  font-size:clamp(25px,3vw,38px);
  line-height:1.25;
  font-weight:800;
}

.rr-weekly-v-head p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:14px;
}

.rr-weekly-v-head a{
  background:#262626;
  color:#fff;
  border-radius:999px;
  padding:9px 16px;
  font-size:13px;
  font-weight:800;
  flex:0 0 auto;
}

.rr-weekly-vertical-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.rr-weekly-vertical-item{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:86px;
  background:#f8f8f6;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  transition:.18s ease;
}

.rr-weekly-vertical-item:hover{
  background:#fff;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}

.rr-weekly-thumb{
  width:66px;
  height:66px;
  border-radius:12px;
  overflow:hidden;
  background:#ddd;
  flex:0 0 auto;
  display:grid;
  place-items:center;
}

.rr-weekly-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.rr-weekly-thumb-placeholder{
  width:100%;
  height:100%;
  display:block;
  position:relative;
  background:linear-gradient(135deg,#d8d8d2,#bfbfb8);
}

.rr-weekly-thumb-placeholder:before{
  content:"";
  position:absolute;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#777;
  right:50%;
  top:14px;
  transform:translateX(50%);
}

.rr-weekly-thumb-placeholder:after{
  content:"";
  position:absolute;
  width:42px;
  height:16px;
  border-radius:22px 22px 8px 8px;
  background:#777;
  right:50%;
  top:40px;
  transform:translateX(50%);
}

.rr-weekly-v-info{
  min-width:0;
  display:block;
}

.rr-weekly-v-info strong{
  display:block;
  color:#1f1f1f;
  font-size:16px;
  font-weight:800;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-weekly-v-info em{
  display:block;
  color:#888;
  font-style:normal;
  font-size:11px;
  line-height:1.4;
  margin-top:1px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:.75;
}

.rr-weekly-v-info small{
  display:block;
  color:#777;
  font-size:12px;
  line-height:1.45;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.rr-dev-contact-inline{
  color:#ddd;
  min-width:220px;
}

.rr-dev-contact-inline > span{
  display:block;
  color:#aaa;
  font-size:13px;
  font-weight:800;
  margin-bottom:8px;
}

.rr-dev-inline-links{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.rr-dev-inline-link{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  height:34px !important;
  border-radius:999px !important;
  padding:0 10px !important;
  font-size:12px !important;
  font-weight:800 !important;
  line-height:1 !important;
  transition:.18s ease !important;
}

.rr-dev-inline-link svg{
  width:15px !important;
  height:15px !important;
  fill:currentColor !important;
  flex:0 0 auto !important;
}

.rr-dev-inline-link span{
  display:inline-block !important;
}

.rr-dev-inline-link:hover{
  transform:translateY(-2px);
}

.rr-dev-whatsapp{
  background:#25D366 !important;
  color:#fff !important;
  border:0 !important;
}

.rr-dev-email{
  background:rgba(255,255,255,.09) !important;
  color:#ddd !important;
  border:1px solid rgba(255,255,255,.12) !important;
}

@media(max-width:900px){
  .rr-weekly-vertical-list{
    grid-template-columns:1fr;
  }

  .rr-weekly-v-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .rr-weekly-v-head a{
    width:100%;
    text-align:center;
  }
}

@media(max-width:820px){
  .rr-dev-contact-inline{
    width:100%;
  }

  .rr-dev-inline-links{
    justify-content:flex-start;
  }
}


/* v2.3 - Official Rahamaa logo */
.rr-logo.rr-logo-image{
  width:58px !important;
  height:58px !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.rr-logo.rr-logo-image img{
  width:58px !important;
  height:58px !important;
  object-fit:contain !important;
  display:block !important;
}

.rr-brand{
  gap:10px !important;
}

.rr-brand h1{
  color:#fff !important;
}

.rr-footer-brand{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
}

.rr-footer-brand img{
  width:42px !important;
  height:42px !important;
  object-fit:contain !important;
  display:block !important;
  filter:none !important;
}

.rr-footer-brand span{
  color:#fff !important;
  font-weight:800 !important;
}

@media(max-width:820px){
  .rr-logo.rr-logo-image,
  .rr-logo.rr-logo-image img{
    width:52px !important;
    height:52px !important;
  }
}


/* v2.4 - Logo fix: only replace previous header icon */
.rr-logo.rr-logo-image{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:none !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
  padding:6px !important;
}

.rr-logo.rr-logo-image img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
}

.rr-footer-brand,
.rr-footer-brand img,
.rr-footer-brand span{
  all:unset !important;
}

.rr-footer strong{
  color:#fff !important;
  font-weight:800 !important;
}

@media(max-width:820px){
  .rr-logo.rr-logo-image{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
  }
}


/* v2.5 - White header logo only */
.rr-logo.rr-logo-image{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:none !important;
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
  padding:7px !important;
}

.rr-logo.rr-logo-image img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;
  filter:none !important;
}

.rr-footer-brand,
.rr-footer-brand img,
.rr-footer-brand span{
  all:unset !important;
}

.rr-footer img[src*="rahamaa-logo"]{
  display:none !important;
}

.rr-footer strong{
  color:#fff !important;
  font-weight:800 !important;
}

@media(max-width:820px){
  .rr-logo.rr-logo-image{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
  }
}


/* v2.8 - Remove logo completely */
.rr-logo,
.rr-logo-image,
.rr-logo-mark,
.rr-footer img[src*="rahamaa-logo"]{
  display:none !important;
}

.rr-brand{
  gap:0 !important;
}

.rr-brand h1{
  margin:0 !important;
}


/* v2.9 - Remove green hero side panel */
.rr-hero-panel{
  display:none !important;
}

.rr-hero{
  grid-template-columns:1fr !important;
  max-width:920px !important;
  margin-inline:auto !important;
}

.rr-hero-content{
  min-height:auto !important;
  text-align:center !important;
  align-items:center !important;
}

.rr-hero-content p{
  text-align:center !important;
  margin-inline:auto !important;
}

.rr-hero-content .rr-actions{
  justify-content:center !important;
}

@media(min-width:1101px){
  .rr-hero{
    grid-template-columns:1fr !important;
  }

  .rr-hero-content{
    padding:44px !important;
  }
}

@media(max-width:820px){
  .rr-hero-content{
    text-align:right !important;
    align-items:flex-start !important;
  }

  .rr-hero-content p{
    text-align:right !important;
  }

  .rr-hero-content .rr-actions{
    justify-content:flex-start !important;
    width:100% !important;
  }
}


/* v3.0 - Final weekly deaths image size fix */
.rr-weekly-showcase{
  display:none !important;
}

.rr-weekly-vertical-section{
  background:#f5f5f2 !important;
  padding:18px 0 42px !important;
  color:#1f1f1f !important;
}

.rr-weekly-v-card{
  background:#fff !important;
  border:1px solid var(--line) !important;
  border-radius:18px !important;
  padding:20px !important;
  box-shadow:0 8px 26px rgba(0,0,0,.045) !important;
}

.rr-weekly-v-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin-bottom:16px !important;
}

.rr-weekly-v-head h2{
  margin:0 !important;
  color:#1f1f1f !important;
  font-size:clamp(25px,3vw,38px) !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

.rr-weekly-v-head p{
  margin:4px 0 0 !important;
  color:var(--muted) !important;
  font-size:14px !important;
}

.rr-weekly-v-head a{
  background:#262626 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:9px 16px !important;
  font-size:13px !important;
  font-weight:800 !important;
  flex:0 0 auto !important;
}

.rr-weekly-vertical-list{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
}

.rr-weekly-vertical-item{
  display:grid !important;
  grid-template-columns:74px minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  min-height:92px !important;
  background:#f8f8f6 !important;
  border:1px solid var(--line) !important;
  border-radius:14px !important;
  padding:10px !important;
  color:#1f1f1f !important;
  overflow:hidden !important;
  box-shadow:none !important;
}

.rr-weekly-vertical-item:hover{
  background:#fff !important;
  transform:translateY(-2px) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.06) !important;
}

.rr-weekly-thumb{
  width:74px !important;
  height:74px !important;
  min-width:74px !important;
  max-width:74px !important;
  min-height:74px !important;
  max-height:74px !important;
  border-radius:13px !important;
  overflow:hidden !important;
  background:#ddd !important;
  display:block !important;
  position:relative !important;
}

.rr-weekly-thumb img{
  width:74px !important;
  height:74px !important;
  min-width:74px !important;
  max-width:74px !important;
  min-height:74px !important;
  max-height:74px !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:13px !important;
}

.rr-weekly-thumb-placeholder{
  width:74px !important;
  height:74px !important;
  display:block !important;
  position:relative !important;
  background:linear-gradient(135deg,#d8d8d2,#bfbfb8) !important;
}

.rr-weekly-thumb-placeholder:before{
  content:"" !important;
  position:absolute !important;
  width:24px !important;
  height:24px !important;
  border-radius:50% !important;
  background:#777 !important;
  right:50% !important;
  top:15px !important;
  transform:translateX(50%) !important;
}

.rr-weekly-thumb-placeholder:after{
  content:"" !important;
  position:absolute !important;
  width:46px !important;
  height:17px !important;
  border-radius:24px 24px 9px 9px !important;
  background:#777 !important;
  right:50% !important;
  top:43px !important;
  transform:translateX(50%) !important;
}

.rr-weekly-v-info{
  min-width:0 !important;
  display:block !important;
}

.rr-weekly-v-info strong{
  display:block !important;
  color:#1f1f1f !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.45 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-weekly-v-info em{
  display:block !important;
  color:#888 !important;
  font-style:normal !important;
  font-size:11px !important;
  line-height:1.4 !important;
  margin-top:1px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  opacity:.75 !important;
}

.rr-weekly-v-info small{
  display:block !important;
  color:#777 !important;
  font-size:12px !important;
  line-height:1.45 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

/* If old weekly card markup is still cached/used, force it to compact too */
.rr-weekly-slider{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  overflow:visible !important;
}

.rr-weekly-card{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:92px !important;
  min-height:92px !important;
  max-height:92px !important;
  display:grid !important;
  grid-template-columns:74px minmax(0,1fr) !important;
  border-radius:14px !important;
  background:#f8f8f6 !important;
}

.rr-weekly-image{
  position:relative !important;
  inset:auto !important;
  width:74px !important;
  height:74px !important;
  margin:9px !important;
  border-radius:13px !important;
  overflow:hidden !important;
}

.rr-weekly-image img{
  width:74px !important;
  height:74px !important;
  object-fit:cover !important;
  border-radius:13px !important;
}

.rr-weekly-gradient{
  display:none !important;
}

.rr-weekly-content{
  position:relative !important;
  right:auto !important;
  left:auto !important;
  bottom:auto !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  color:#1f1f1f !important;
  padding:10px 10px 10px 0 !important;
  text-align:right !important;
}

.rr-weekly-content strong{
  color:#1f1f1f !important;
  font-size:16px !important;
}

.rr-weekly-content small{
  color:#777 !important;
  font-size:12px !important;
}

@media(max-width:900px){
  .rr-weekly-vertical-list,
  .rr-weekly-slider{
    grid-template-columns:1fr !important;
  }

  .rr-weekly-v-head{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .rr-weekly-v-head a{
    width:100% !important;
    text-align:center !important;
  }
}

@media(max-width:520px){
  .rr-weekly-vertical-item,
  .rr-weekly-card{
    grid-template-columns:64px minmax(0,1fr) !important;
    min-height:82px !important;
    height:auto !important;
  }

  .rr-weekly-thumb,
  .rr-weekly-thumb img,
  .rr-weekly-thumb-placeholder,
  .rr-weekly-image,
  .rr-weekly-image img{
    width:64px !important;
    height:64px !important;
    min-width:64px !important;
    max-width:64px !important;
    min-height:64px !important;
    max-height:64px !important;
  }

  .rr-weekly-v-info strong,
  .rr-weekly-content strong{
    font-size:15px !important;
  }
}


/* v3.1 - Weekly deaths dark list matching requested style */
.rr-weekly-showcase{
  display:none !important;
}

.rr-weekly-vertical-section{
  background:#202020 !important;
  padding:28px 0 40px !important;
  color:#fff !important;
}

.rr-weekly-v-card{
  max-width:880px !important;
  margin-inline:auto !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
  box-shadow:none !important;
}

.rr-weekly-v-head{
  display:flex !important;
  align-items:flex-end !important;
  justify-content:space-between !important;
  gap:16px !important;
  margin-bottom:18px !important;
}

.rr-weekly-v-head h2{
  margin:0 !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:1.25 !important;
  font-weight:800 !important;
}

.rr-weekly-v-head p{
  margin:5px 0 0 !important;
  color:#b8b8b8 !important;
  font-size:14px !important;
}

.rr-weekly-v-head .rr-section-kicker{
  background:rgba(255,255,255,.08) !important;
  border-color:rgba(255,255,255,.10) !important;
  color:#dcdcdc !important;
}

.rr-weekly-v-head a{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:999px !important;
  padding:8px 15px !important;
  font-size:13px !important;
  font-weight:800 !important;
  flex:0 0 auto !important;
}

.rr-weekly-v-head a:hover{
  background:var(--primary) !important;
  border-color:var(--primary) !important;
}

.rr-weekly-vertical-list{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
}

.rr-weekly-vertical-item{
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) !important;
  align-items:center !important;
  gap:18px !important;
  min-height:112px !important;
  background:#383838 !important;
  border:1px solid rgba(255,255,255,.07) !important;
  border-radius:12px !important;
  padding:11px 14px !important;
  color:#fff !important;
  overflow:hidden !important;
  box-shadow:none !important;
  direction:rtl !important;
}

.rr-weekly-vertical-item:hover{
  background:#414141 !important;
  transform:translateY(-2px) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.18) !important;
}

.rr-weekly-thumb{
  width:94px !important;
  height:78px !important;
  min-width:94px !important;
  max-width:94px !important;
  min-height:78px !important;
  max-height:78px !important;
  border-radius:48% !important;
  overflow:hidden !important;
  background:#2b2b2b !important;
  display:grid !important;
  place-items:center !important;
  position:relative !important;
  border:2px solid #53606d !important;
  justify-self:end !important;
}

.rr-weekly-thumb img{
  width:94px !important;
  height:78px !important;
  min-width:94px !important;
  max-width:94px !important;
  min-height:78px !important;
  max-height:78px !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:48% !important;
}

.rr-weekly-thumb img.rr-weekly-default-logo,
.rr-weekly-default-logo{
  object-fit:contain !important;
  padding:12px !important;
  background:#2d2d2d !important;
}

.rr-weekly-thumb-placeholder{
  display:none !important;
}

.rr-weekly-v-info{
  min-width:0 !important;
  display:block !important;
  text-align:right !important;
}

.rr-weekly-v-info strong{
  display:block !important;
  color:#fff !important;
  font-size:28px !important;
  font-weight:800 !important;
  line-height:1.35 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-weekly-v-info em{
  display:block !important;
  color:rgba(255,255,255,.62) !important;
  font-style:normal !important;
  font-size:14px !important;
  line-height:1.4 !important;
  margin-top:1px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-weekly-v-info small{
  display:block !important;
  color:#c8c8c8 !important;
  font-size:18px !important;
  line-height:1.45 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}

.rr-weekly-v-info small + small{
  display:none !important;
}

/* Guard old weekly card markup if cached */
.rr-weekly-slider{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:14px !important;
  overflow:visible !important;
}

.rr-weekly-card{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  height:112px !important;
  min-height:112px !important;
  max-height:112px !important;
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) !important;
  border-radius:12px !important;
  background:#383838 !important;
  padding:11px 14px !important;
  box-shadow:none !important;
}

.rr-weekly-image{
  position:relative !important;
  inset:auto !important;
  width:94px !important;
  height:78px !important;
  margin:0 !important;
  border-radius:48% !important;
  overflow:hidden !important;
  border:2px solid #53606d !important;
}

.rr-weekly-image img{
  width:94px !important;
  height:78px !important;
  object-fit:cover !important;
  border-radius:48% !important;
}

.rr-weekly-gradient{
  display:none !important;
}

.rr-weekly-content{
  position:relative !important;
  right:auto !important;
  left:auto !important;
  bottom:auto !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  color:#fff !important;
  padding:0 !important;
  text-align:right !important;
}

.rr-weekly-content strong{
  color:#fff !important;
  font-size:28px !important;
}

.rr-weekly-content small{
  color:#c8c8c8 !important;
  font-size:18px !important;
}

@media(max-width:900px){
  .rr-weekly-v-card{
    max-width:100% !important;
  }

  .rr-weekly-v-head{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .rr-weekly-v-head a{
    width:100% !important;
    text-align:center !important;
  }

  .rr-weekly-v-info strong,
  .rr-weekly-content strong{
    font-size:23px !important;
  }

  .rr-weekly-v-info small,
  .rr-weekly-content small{
    font-size:15px !important;
  }
}

@media(max-width:520px){
  .rr-weekly-vertical-item,
  .rr-weekly-card{
    grid-template-columns:76px minmax(0,1fr) !important;
    min-height:90px !important;
    padding:9px !important;
    gap:12px !important;
  }

  .rr-weekly-thumb,
  .rr-weekly-thumb img,
  .rr-weekly-image,
  .rr-weekly-image img{
    width:70px !important;
    height:62px !important;
    min-width:70px !important;
    max-width:70px !important;
    min-height:62px !important;
    max-height:62px !important;
  }

  .rr-weekly-thumb img.rr-weekly-default-logo,
  .rr-weekly-default-logo{
    padding:9px !important;
  }

  .rr-weekly-v-info strong,
  .rr-weekly-content strong{
    font-size:18px !important;
  }

  .rr-weekly-v-info small,
  .rr-weekly-content small{
    font-size:13px !important;
  }
}


/* v3.2 - Small logo next to Rahamaa brand text */
.rr-brand{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
}

.rr-brand-small-logo{
  width:28px !important;
  height:28px !important;
  object-fit:contain !important;
  display:block !important;
  flex:0 0 28px !important;
  opacity:.95 !important;
}

.rr-logo,
.rr-logo-image,
.rr-logo-mark{
  display:none !important;
}

@media(max-width:820px){
  .rr-brand-small-logo{
    width:26px !important;
    height:26px !important;
    flex-basis:26px !important;
  }
}
