/* ==========================================================
 * Template: Mosque Heritage
 * Biru tua + ornamen arabesque SVG, ala Masjid Nabawi.
 * ========================================================== */
.cmm-tpl-heritage{
  --he-bg-1:#0c2340; --he-bg-2:#1a3a5c; --he-text:#f5e9c8;
  --he-muted:#c9b88a; --he-gold:#d4af37; --he-gold-2:#f0d77a;
  --he-card:rgba(245,233,200,.06); --he-line:rgba(212,175,55,.35);
  color:var(--he-text);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23d4af37' stroke-width='.6' opacity='.18'><path d='M40 8l8 16 16 0-13 10 5 16-16-10-16 10 5-16-13-10 16 0z'/><circle cx='40' cy='40' r='28'/><circle cx='40' cy='40' r='14'/></g></svg>"),
    linear-gradient(160deg,var(--he-bg-1),var(--he-bg-2));
  background-size:160px,auto;
  border:1px solid var(--he-gold);border-radius:6px;padding:22px;
  font-family:'Amiri','Cormorant Garamond','Times New Roman',serif;
  position:relative;
}
.cmm-tpl-heritage::before{
  content:"";position:absolute;inset:6px;border:1px dashed var(--he-line);
  border-radius:4px;pointer-events:none;
}
.cmm-tpl-heritage .cmm-card,
.cmm-tpl-heritage .cmm-day,
.cmm-tpl-heritage .cmm-cal,
.cmm-tpl-heritage .cmm-best,
.cmm-tpl-heritage .cmm-cmp,
.cmm-tpl-heritage .cmm-cal-cell{
  background:var(--he-card)!important;
  border:1px solid var(--he-line)!important;
  color:var(--he-text)!important;border-radius:4px!important;
  box-shadow:inset 0 0 0 1px rgba(212,175,55,.08);
}
.cmm-tpl-heritage .cmm-day:hover,
.cmm-tpl-heritage .cmm-cal-cell:hover{
  border-color:var(--he-gold)!important;
  box-shadow:0 0 0 1px var(--he-gold), 0 8px 24px -10px rgba(212,175,55,.4);
}
.cmm-tpl-heritage .cmm-temp,
.cmm-tpl-heritage .cmm-day-temp,
.cmm-tpl-heritage .cmm-cal-tmax,
.cmm-tpl-heritage .cmm-hero-tnow{
  color:var(--he-gold-2)!important;font-weight:600;font-style:italic;
}
.cmm-tpl-heritage .cmm-icon,
.cmm-tpl-heritage .cmm-day-icon,
.cmm-tpl-heritage .cmm-cal-icon{
  filter:sepia(.4) hue-rotate(-10deg) saturate(1.2) brightness(1.1);
}
.cmm-tpl-heritage .cmm-cond,.cmm-tpl-heritage .cmm-meta,
.cmm-tpl-heritage .cmm-day-cond,.cmm-tpl-heritage .cmm-day-dow,
.cmm-tpl-heritage .cmm-cal-dow,.cmm-tpl-heritage .cmm-cal-tmin{
  color:var(--he-muted)!important;font-style:italic;
}
.cmm-tpl-heritage .cmm-month-title,
.cmm-tpl-heritage .cmm-cal-period-title,
.cmm-tpl-heritage .cmm-best-title,
.cmm-tpl-heritage .cmm-cmp-title{
  color:var(--he-gold-2)!important;text-align:center;
  border-bottom:1px solid var(--he-line);padding-bottom:8px;
  letter-spacing:.05em;
}
.cmm-tpl-heritage .cmm-cal-city-tag,
.cmm-tpl-heritage .cmm-best-podium .cmm-best-rank{
  background:linear-gradient(90deg,var(--he-gold),var(--he-gold-2))!important;
  color:var(--he-bg-1)!important;border:0;font-weight:700;
}
.cmm-tpl-heritage .cmm-btn-primary{
  background:linear-gradient(90deg,var(--he-gold),var(--he-gold-2))!important;
  border:0!important;color:var(--he-bg-1)!important;font-weight:700;
}
.cmm-tpl-heritage select,.cmm-tpl-heritage .cmm-btn-icon{
  background:rgba(245,233,200,.08)!important;color:var(--he-text)!important;
  border:1px solid var(--he-line)!important;
}
.cmm-tpl-heritage .cmm-cal-today{
  outline:2px solid var(--he-gold)!important;outline-offset:-2px;
}
.cmm-tpl-heritage .cmm-cmp-makkah{ background:linear-gradient(160deg,#0c2340,#1e3a5f)!important; }
.cmm-tpl-heritage .cmm-cmp-madinah{ background:linear-gradient(160deg,#1a3a5c,#2c5a85)!important; }
.cmm-tpl-heritage .cmm-cmp-divider span{
  background:linear-gradient(90deg,var(--he-gold),var(--he-gold-2));color:var(--he-bg-1);
}
