/* =====================================================================
   Solook Charity — site redesign
   Brand colors: purple #800080 + gray #D9D9D9
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --slk-purple: #800080;
  --slk-purple-dark: #5a005a;
  --slk-purple-light: #c74ec7;
  --slk-gray: #D9D9D9;
  --slk-light: #f8eaf7;
  --slk-text: #353535;
  --slk-muted: #777;
  --slk-bg: #fbfbfb;
  --slk-line: #e9e9e9;
  --slk-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--slk-bg);
  color: var(--slk-text);
  line-height: 1.9;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.slk-main {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
}

.slk-footer {
  flex-shrink: 0;
}

/* ===== Premium site background ===== */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(128, 0, 128, 0.13), transparent 20%),
    radial-gradient(circle at 92% 32%, rgba(128, 0, 128, 0.09), transparent 22%),
    radial-gradient(circle at 78% 86%, rgba(128, 0, 128, 0.08), transparent 24%),
    radial-gradient(circle at 18% 78%, rgba(217, 217, 217, 0.7), transparent 26%),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(128, 0, 128, 0.035) 22px 23px),
    linear-gradient(180deg, #fff 0%, #fbfbf9 44%, #f7f7f3 100%);
}
.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(128, 0, 128, 0.2) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(128, 0, 128, 0.1) 1px, transparent 1.5px);
  background-size: 38px 38px, 76px 76px;
  background-position: 0 0, 19px 19px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.site-bg::after {
  content: "♥";
  position: absolute;
  inset: 0;
  color: rgba(128, 0, 128, 0.09);
  font-family: Georgia, serif;
  font-size: 340px;
  line-height: 1;
  text-shadow:
    120px 920px 0 currentColor,
    1750px 360px 0 rgba(128, 0, 128, 0.07),
    -120px 1480px 0 rgba(128, 0, 128, 0.07);
  transform: rotate(-18deg);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  border: 1px solid rgba(128, 0, 128, 0.10);
}
.orb-1 {
  width: 360px;
  height: 360px;
  right: -190px;
  top: 360px;
  background: radial-gradient(circle, rgba(128, 0, 128, 0.10), transparent 67%);
}
.orb-2 {
  width: 300px;
  height: 300px;
  left: -160px;
  top: 1050px;
  background: radial-gradient(circle, rgba(217, 217, 217, 0.65), transparent 68%);
}
.leaf-pattern {
  position: absolute;
  color: rgba(128, 0, 128, 0.10);
  font-family: Georgia, serif;
  font-size: 170px;
  line-height: 1;
  transform: rotate(-18deg);
}
.leaf-1 { right: -55px; top: 900px; }
.leaf-2 { left: -65px; top: 1500px; transform: scaleX(-1) rotate(-18deg); }

/* ===== Header ===== */
.slk-header {
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--slk-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.slk-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.slk-logo {
  display: flex;
  align-items: center;
  color: var(--slk-purple);
  font-weight: 800;
  white-space: nowrap;
}
.slk-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.slk-menu {
  display: flex;
  gap: 25px;
  font-size: 13px;
  font-weight: 600;
  color: #4b4b4b;
}
.slk-menu > a,
.slk-menu .nav-dropdown-trigger {
  transition: 0.2s;
  text-decoration: none;
  color: #4b4b4b;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
  padding-bottom: 3px;
}
.slk-menu > a::after,
.slk-menu .nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%) scaleX(0);
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--slk-purple);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.slk-menu > a:hover::after,
.slk-menu .nav-dropdown-trigger:hover::after {
  transform: translateX(50%) scaleX(1);
}
.slk-menu > a:hover,
.slk-menu .nav-dropdown-trigger:hover {
  color: var(--slk-purple);
}
.chevron {
  font-size: 15px;
  transition: transform 0.25s;
  color: var(--slk-purple);
}
.nav-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.slk-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.slk-phone {
  background: var(--slk-purple);
  color: #fff;
  border: 0;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}
.slk-phone i {
  font-size: 16px;
  line-height: 1;
}
.slk-menu-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  color: var(--slk-purple);
  font-size: 20px;
  cursor: pointer;
  display: none;
}

/* Phone copy toast — glass, bottom-right, slides in */
.toast-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--slk-purple-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(128, 0, 128, 0.18);
  box-shadow: 0 4px 12px rgba(128, 0, 128, 0.12);
  white-space: nowrap;
  transform: translateX(120%);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
  visibility: hidden;
  opacity: 0;
}
.toast-notification.show {
  visibility: visible;
  transform: translateX(0);
  opacity: 1;
}

/* First-visit welcome toast — same glass style as other site toasts */
.welcome-toast {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--slk-purple-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(128, 0, 128, 0.18);
  box-shadow: 0 4px 12px rgba(128, 0, 128, 0.12);
  white-space: nowrap;
  transform: translateX(120%);
  transition: transform 0.55s ease-out, opacity 0.4s ease-out;
  visibility: hidden;
  opacity: 0;
}
.welcome-toast.show {
  visibility: visible;
  transform: translateX(0);
  opacity: 1;
}
.welcome-toast.hide {
  transform: translateX(120%);
  opacity: 0;
  visibility: hidden;
}
.welcome-toast__text {
  display: block;
  text-align: right;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  z-index: 60;
  padding-bottom: 34px;
  margin-bottom: -34px;
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  right: 0;
  left: auto;
  top: calc(100% - 24px);
  width: 470px;
  display: block;
  float: none;
  min-width: 0;
  margin: 0;
  padding: 18px;
  font-size: 14px;
  text-align: right;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #ecece0;
  border-top: 3px solid var(--slk-purple);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.13);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 4px 14px;
  border-bottom: 1px solid #eee;
}
.dropdown-heading strong {
  display: block;
  font-size: 14px;
  color: var(--slk-purple);
}
.dropdown-heading small {
  display: block;
  color: #999;
  font-size: 10px;
  margin-top: 2px;
}
.dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f2e6f2;
  color: var(--slk-purple);
  font-size: 18px;
}
.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}
.dropdown-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 9px;
  border-radius: 12px;
  transition: 0.2s;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
}
.dropdown-item:hover {
  background: #f7f0f7;
  border-color: #ecd6ec;
  transform: translateX(-3px);
}
.item-icon {
  flex: 0 0 31px;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #f0edf0;
  color: var(--slk-purple);
  font-size: 14px;
}
.dropdown-item strong {
  display: block;
  font-size: 11px;
  color: #444;
}
.dropdown-item small {
  display: block;
  color: #999;
  font-size: 9px;
  line-height: 1.7;
  margin-top: 2px;
}
.dropdown-footer {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--slk-purple);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  text-align: center;
}
.dropdown-footer a {
  color: #fff;
  text-decoration: none;
}
.dropdown-footer span {
  margin-right: 5px;
}

/* ===== Layout helpers ===== */
.slk-container {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}
.slk-hero,
.slk-section {
  background: transparent;
}
.slk-hero {
  position: relative;
  padding: 70px 0 25px;
}
.slk-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 25px;
  transform: translateX(-50%);
  width: min(900px, 90%);
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(128, 0, 128, 0.045), transparent 68%);
  pointer-events: none;
  z-index: -1;
}
.slk-hero-heading {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 44px;
  min-height: 225px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border: 1px solid rgba(128, 0, 128, 0.14);
  border-radius: 28px;

  background:
    radial-gradient(circle at 50% 0%, rgba(128, 0, 128, 0.1), transparent 45%),
    linear-gradient(135deg, #ffffff 0%, #fcf8fc 50%, #ffffff 100%);

  box-shadow: 0 12px 35px rgba(128, 0, 128, 0.06);
}

.slk-hh-content {
  position: relative;
  z-index: 5;
  text-align: center;
  width: 100%;
  padding: 30px 25px;
}

.slk-hh-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 18px;
  border-radius: 50px;
  background: rgba(128, 0, 128, 0.07);
  border: 1px solid rgba(128, 0, 128, 0.12);
  color: #800080;
  font-size: 13px;
  font-weight: 600;
}

.slk-hh-badge-dot {
  width: 7px;
  height: 7px;
  background: #800080;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(128, 0, 128, 0.08);
}

.slk-hero-heading .slk-title {
  margin: 0;
  text-align: center;
  font-size: clamp(21px, 2.4vw, 31px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #800080;
  line-height: 1.6;
  max-width: 950px;
  margin-inline: auto;
  white-space: nowrap;
}

.slk-hh-accent {
  position: relative;
  width: 95px;
  height: 3px;
  margin: 17px auto 15px;
  border-radius: 20px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
}

.slk-hero-subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: #777;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
}

/* Decorative shapes */
.slk-hh-shape {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(128, 0, 128, 0.08);
}
.slk-hh-shape-one {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  top: -65px;
  right: -35px;
}
.slk-hh-shape-two {
  width: 95px;
  height: 95px;
  border-radius: 24px;
  bottom: -48px;
  left: -25px;
  transform: rotate(25deg);
}
.slk-hh-shape-three {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  top: 35px;
  left: 8%;
  background: rgba(128, 0, 128, 0.025);
}
.slk-hh-shape-four {
  width: 18px;
  height: 18px;
  right: 9%;
  bottom: 30px;
  transform: rotate(45deg);
  background: rgba(128, 0, 128, 0.04);
}

/* Corner accents */
.slk-hh-corner {
  position: absolute;
  width: 45px;
  height: 45px;
  pointer-events: none;
}
.slk-hh-corner-tr {
  top: 20px;
  right: 20px;
  border-top: 1px solid #800080;
  border-right: 1px solid #800080;
  border-radius: 0 16px 0 0;
}
.slk-hh-corner-bl {
  bottom: 20px;
  left: 20px;
  border-bottom: 1px solid #800080;
  border-left: 1px solid #800080;
  border-radius: 0 0 0 16px;
}
.slk-hero-frame {
  position: relative;
  height: 440px;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: var(--slk-shadow);
  border: 1px solid #eee;
}
.slk-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}
.slk-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 46px 22px 18px;
  background: linear-gradient(to top, rgba(15, 0, 20, 0.85) 0%, rgba(15, 0, 20, 0.4) 45%, transparent 100%);
}
.slk-hero-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slk-gray);
  white-space: nowrap;
}
.slk-hero-date i {
  color: #d9d9d9;
  font-size: 14px;
}
.slk-hero-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--slk-purple);
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 16px rgba(60, 0, 60, 0.18);
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}
.slk-arrow i {
  transition: transform 0.25s ease;
}
.slk-arrow:hover {
  background: var(--slk-purple);
  color: #fff;
  box-shadow: 0 10px 24px rgba(80, 0, 80, 0.35);
}
.slk-arrow-right { right: 14px; }
.slk-arrow-left { left: 14px; }
.slk-arrow-right:hover { transform: translateY(-50%) translateX(4px); }
.slk-arrow-left:hover { transform: translateY(-50%) translateX(-4px); }
.slk-arrow:active i { transform: scale(0.82); }
.slk-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.slk-dot {
  width: 9px;
  height: 9px;
  background: #bbb;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.slk-dot.active {
  background: var(--slk-purple);
}

.slk-section {
  padding: 25px 0 50px;
}
.slk-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.slk-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(128, 0, 128, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(80, 0, 80, 0.08), 0 2px 7px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.slk-card:hover {
  transform: translateY(-5px);
  border-color: rgba(128, 0, 128, 0.28);
  box-shadow: 0 18px 44px rgba(80, 0, 80, 0.16);
}
.slk-news-media {
  position: relative;
  overflow: hidden;
}
.slk-news-img {
  height: 190px;
  object-fit: cover;
  width: 100%;
  display: block;
  transition: transform 0.55s ease;
}
.slk-card:hover .slk-news-img {
  transform: scale(1.07);
}
.slk-news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(68, 0, 68, 0.18), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.slk-card:hover .slk-news-media::after {
  opacity: 1;
}
.slk-news-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 17px;
}
.slk-news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 0 10px;
  color: #2f2a32;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.slk-news-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 15px;
  background: var(--slk-purple);
  margin-left: 7px;
  vertical-align: -2px;
  border-radius: 4px;
}
.slk-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #a49ea8;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed rgba(128, 0, 128, 0.14);
}
.slk-clock-icon {
  color: #a49ea8;
  margin-left: 5px;
  font-size: 15px;
  vertical-align: -2px;
}

.slk-causes {
  position: relative;
  overflow: hidden;
  padding: 90px 20px 45px;
  background: transparent;
}
.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.cause-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(128, 0, 128, 0.07);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(31, 35, 42, 0.075), 0 3px 12px rgba(128, 0, 128, 0.035);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  color: inherit;
  text-decoration: none;
  display: block;
}
.cause-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(31, 35, 42, 0.12), 0 5px 20px rgba(128, 0, 128, 0.08);
}
.cause-image {
  position: relative;
  height: 255px;
  overflow: hidden;
}
.cause-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.cause-card:hover .cause-image img {
  transform: scale(1.06);
}
.cause-wave {
  position: absolute;
  z-index: 2;
  left: -5%;
  right: -5%;
  bottom: -1px;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(65% 62% at 68% 100%);
}
.cause-wave::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 3px;
  background: #800080;
}
.cause-icon {
  position: absolute;
  z-index: 4;
  right: 25px;
  bottom: 17px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #800080;
  border: 5px solid var(--white);
  box-shadow: 0 8px 20px rgba(128, 0, 128, 0.22);
}
.cause-icon svg {
  width: 34px;
  height: 34px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cause-content {
  position: relative;
  min-height: auto;
  padding: 8px 30px 42px;
  text-align: right;
}
.cause-label {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 5px 17px;
  margin-bottom: 15px;
  border-radius: 50px;
  background: #f3e8f3;
  color: #800080;
  font-size: 13px;
  font-weight: 700;
}
.cause-content h3 {
  margin-bottom: 13px;
  color: #242832;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.8;
}
.cause-content p {
  margin-bottom: 5px;
  color: #747b85;
  font-size: 14.5px;
  line-height: 2.15;
}
.cause-bottom-line {
  position: absolute;
  right: 30px;
  bottom: 25px;
  width: 40px;
  height: 3px;
  border-radius: 20px;
  background: #800080;
  transition: width 0.35s ease;
}
.cause-card:hover .cause-bottom-line {
  width: 70px;
}
@media (max-width: 1000px) {
  .causes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cause-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 15px);
    margin: 0 auto;
  }
}
@media (max-width: 700px) {
  .slk-causes {
    padding: 65px 15px 45px;
  }
  .causes-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .cause-card:last-child {
    grid-column: auto;
    width: 100%;
  }
  .cause-image {
    height: 230px;
  }
  .cause-content {
    min-height: auto;
    padding: 8px 22px 42px;
  }
  .cause-icon {
    right: 20px;
    width: 65px;
    height: 65px;
  }
  .cause-content h3 {
    font-size: 15px;
  }
  .cause-content p {
    font-size: 14px;
  }
  .cause-bottom-line {
    right: 22px;
  }
}
.slk-more {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid var(--slk-purple);
  color: var(--slk-purple);
  border-radius: 22px;
  padding: 6px 17px;
  font-size: 13px;
  text-decoration: none;
}
.slk-more:hover {
  background: var(--slk-purple);
  color: #fff;
}

/* Join CTA */
/* =========================================
   CHARITY ACTION SECTION
========================================= */
.charity-actions {
  position: relative;
  width: 100%;
  padding: 75px 30px 85px;
  overflow: hidden;
  background: transparent;
}
.actions-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.actions-header {
  text-align: center;
  margin-bottom: 42px;
}
.actions-header h2 {
  margin: 0;
  color: #800080;
  font-size: clamp(27px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.6;
}
.actions-header p {
  max-width: 700px;
  margin: 8px auto 0;
  color: #777;
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
}
.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.action-card {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(128, 0, 128, 0.08);
  box-shadow: 0 10px 30px rgba(80, 30, 80, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.action-card:hover {
  transform: translateY(-8px);
  border-color: rgba(128, 0, 128, 0.18);
  box-shadow: 0 18px 40px rgba(128, 0, 128, 0.14);
}
.card-image {
  position: relative;
  width: 100%;
  height: 205px;
  overflow: hidden;
  background: #eee;
}
.card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.action-card:hover .card-image img {
  transform: scale(1.07);
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 0, 45, 0.35), transparent 60%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}
.action-card:hover .image-overlay {
  opacity: 1;
}
.card-content {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 17px;
}
.card-content h3 {
  margin: 0;
  color: #292329;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
  transition: color 0.3s ease;
}
.action-card:hover .card-content h3 {
  color: #800080;
}
.card-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #800080;
  background: rgba(128, 0, 128, 0.07);
  font-size: 18px;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.action-card:hover .card-arrow {
  transform: translateX(-5px);
  background: #800080;
  color: #ffffff;
}
.decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.decor-circle-small {
  width: 150px;
  height: 150px;
  bottom: -90px;
  left: -50px;
  border-radius: 50%;
  border: 1px solid rgba(128, 0, 128, 0.08);
}
.decor-leaf {
  color: rgba(128, 0, 128, 0.12);
  font-size: 45px;
}
.leaf-1 {
  top: 90px;
  left: 4%;
}
.leaf-2 {
  bottom: 50px;
  right: 4%;
  font-size: 25px;
}

/* ===== Footer ===== */
.slk-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.07), transparent 22%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05), transparent 25%),
    linear-gradient(145deg, #5a005a, #800080 55%, #6b006b);
  color: #fff;
  padding: 38px 0 0;
}
.slk-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle, white 1px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.slk-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.8fr 1.25fr;
  gap: 38px;
}
.slk-footer h3 {
  font-size: 17px;
  margin-bottom: 12px;
  display: inline-block;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 5px;
  color: #fff;
}
.slk-footer p,
.slk-footer li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 2.25;
}
.slk-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.slk-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.slk-footer-link-col ul {
  margin-top: 2px;
}
.slk-footer li a {
  display: block;
  transition: 0.2s;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
}
.slk-footer li a:hover {
  color: #fff;
  transform: translateX(-3px);
}
.slk-account {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(4px);
  border-radius: 11px;
  padding: 13px 15px;
  margin: 9px 0;
  font-size: 12px;
  line-height: 2.1;
}
.slk-account strong {
  display: inline-block;
  background: rgba(0, 0, 0, 0.12);
  border-radius: 15px;
  padding: 1px 10px;
  margin-bottom: 4px;
  font-size: 12.5px;
  color: #fff;
}
.ltr-text {
  direction: ltr;
  unicode-bidi: embed;
}
.slk-footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.slk-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.slk-social:hover {
  background: rgba(255, 255, 255, 0.22);
}
.slk-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 28px;
  padding: 13px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

/* ===== Mobile menu drawer (existing structure, restyled) ===== */
.slk-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
body.slk-menu-open .slk-mobile-menu {
  transform: translateX(0);
}
.slk-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--slk-line);
}
.slk-mobile-menu__logo img {
  height: 36px;
}
.slk-mobile-menu__close {
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--slk-purple);
  cursor: pointer;
}
.slk-mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}
.slk-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.slk-mobile-menu__link {
  display: block;
  padding: 12px 20px;
  color: var(--slk-text);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid var(--slk-line);
}
.slk-mobile-menu__link:hover {
  color: var(--slk-purple);
}
.slk-mobile-menu__submenu-toggle {
  width: 100%;
  text-align: right;
  background: none;
  border: 0;
  color: var(--slk-text);
  text-decoration: none;
  font-size: 14px;
  font-family: inherit;
  padding: 12px 20px;
  border-bottom: 1px solid var(--slk-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slk-mobile-menu__sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}
.slk-mobile-menu__submenu-toggle[aria-expanded="true"] + .slk-mobile-menu__sublist {
  display: block;
}
.slk-mobile-menu__sublink {
  display: block;
  padding: 10px 32px;
  color: var(--slk-muted);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid var(--slk-line);
}
.slk-mobile-menu__footer {
  padding: 16px;
  border-top: 1px solid var(--slk-line);
}
.slk-mobile-menu__phone {
  color: var(--slk-purple);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
}
.slk-mobile-menu__copyright {
  font-size: 11px;
  color: var(--slk-muted);
  margin-top: 8px;
}
.slk-mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
body.slk-menu-open .slk-mobile-menu__overlay {
  opacity: 1;
  visibility: visible;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .slk-menu {
    display: none;
  }
  .slk-news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slk-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .slk-menu-btn {
    display: block;
  }
}
@media (max-width: 600px) {
  .slk-container {
    width: calc(100% - 24px);
  }
  .slk-header {
    height: 64px;
  }
  .slk-logo img {
    height: 38px;
  }
  .slk-phone {
    display: none;
  }
  .slk-hero {
    padding-top: 40px;
  }
  .slk-hero-heading {
    width: 100%;
    min-height: 230px;
    margin: 0 auto 30px;
    border-radius: 22px;
  }
  .slk-hh-content {
    padding: 26px 20px;
  }
  .slk-hh-badge {
    font-size: 12px;
    padding: 6px 13px;
    margin-bottom: 14px;
  }
  .slk-hero-heading .slk-title {
    font-size: clamp(18px, 4.5vw, 24px);
    line-height: 1.6;
    letter-spacing: 0;
    white-space: normal;
  }
  .slk-hero-subtitle {
    font-size: 12px;
    line-height: 2;
  }
  .slk-hh-shape-one {
    width: 90px;
    height: 90px;
    top: -45px;
    right: -30px;
  }
  .slk-hh-shape-two {
    width: 65px;
    height: 65px;
    bottom: -30px;
    left: -20px;
  }
  .slk-hh-corner {
    width: 30px;
    height: 30px;
  }
  .slk-hh-corner-tr {
    top: 14px;
    right: 14px;
  }
  .slk-hh-corner-bl {
    bottom: 14px;
    left: 14px;
  }
  .slk-hero-frame {
    height: 245px;
    border-radius: 12px;
  }
  .slk-news-grid,
  .slk-footer-grid {
    grid-template-columns: 1fr;
  }
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .slk-footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .site-bg::before {
    background-size: 30px 30px;
  }
}

/* Kill the legacy global underline on hover for redesign links only
   (legacy disto stylesheet forces text-decoration: underline !important
   on every a:hover; the new header/footer/cards use a ::after underline
   instead, so we must strip the text-decoration line here). */
a.slk-nav-logo:hover,
a.slk-card:hover,
a.slk-more:hover,
a.slk-social:hover,
a.action-card:hover,
a.slk-mobile-menu__link:hover,
a.slk-mobile-menu__sublink:hover,
a.slk-mobile-menu__logo:hover,
a.slk-mobile-menu__phone:hover,
a.slk-footer-brands a:hover,
.slk-menu a:hover,
.slk-menu .nav-dropdown-trigger:hover,
a.dropdown-item:hover {
  text-decoration: none !important;
}

/* ==================== Board Members page ==================== */
.slk-bm-page {
  position: relative;
  overflow: hidden;
  padding: 64px 6% 90px;
  min-height: 100vh;
}
.slk-bm-page::before,
.slk-bm-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.slk-bm-page::before {
  width: 620px;
  height: 620px;
  right: -300px;
  top: -330px;
  background: radial-gradient(circle, rgba(128, 0, 128, 0.12), transparent 68%);
}
.slk-bm-page::after {
  width: 520px;
  height: 520px;
  left: -260px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(128, 0, 128, 0.07), transparent 68%);
}
.slk-bm-header {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1160px;
  margin: 0 auto 48px;
  padding: 44px 28px 46px;

  border: 1px solid rgba(128, 0, 128, 0.1);
  border-radius: 26px;

  background:
    radial-gradient(circle at 50% -30%, rgba(128, 0, 128, 0.16), transparent 62%),
    radial-gradient(circle at 8% 108%, rgba(128, 0, 128, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.68);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  box-shadow: 0 14px 40px rgba(80, 0, 80, 0.07);
}

.slk-bm-header h1 {
  margin: 0;
  color: var(--slk-purple);
  font-size: 34px;
  line-height: 1.7;
  font-weight: 800;
}

.slk-bm-header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.slk-bm-header-ornament .ornament-line {
  width: 90px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to left, transparent, var(--slk-purple));
}

.slk-bm-header-ornament .ornament-line:last-child {
  background: linear-gradient(to right, transparent, var(--slk-purple));
}

.slk-bm-header-ornament .ornament-core {
  color: var(--slk-purple);
  font-size: 15px;
  line-height: 1;
}

.slk-bm-subtitle {
  max-width: 560px;
  margin: 16px auto 0;
  color: #776f7a;
  font-size: 13px;
  line-height: 2;
}
.slk-bm-grid {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.slk-bm-card {
  height: 400px;
  background: #fff;
  border: 1px solid #eeeef0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  position: relative;
  box-shadow: 0 10px 32px rgba(20, 20, 20, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slk-bm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(20, 20, 20, 0.11);
}
.slk-bm-card::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--slk-purple), var(--slk-purple-light));
  z-index: 3;
  transition: height 0.35s;
}
.slk-bm-card:hover::before {
  height: 100%;
}
.slk-bm-photo {
  width: 55%;
  height: 100%;
  position: relative;
  flex: none;
  overflow: hidden;
  background-color: var(--slk-gray);
}
.slk-bm-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s;
}
.slk-bm-card:hover .slk-bm-photo img {
  transform: scale(1.06);
}
.slk-bm-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18));
}
.slk-bm-content {
  flex: 1;
  padding: 34px 22px 26px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.slk-bm-role {
  width: max-content;
  background: var(--slk-light);
  color: var(--slk-purple);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 8px;
}
.slk-bm-name {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 11px;
  color: var(--slk-text);
}
.slk-bm-divider {
  height: 1px;
  background: var(--slk-line);
  position: relative;
  margin-bottom: 14px;
}
.slk-bm-divider::before {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 28px;
  height: 3px;
  border-radius: 4px;
  background: var(--slk-purple);
}
.slk-bm-desc {
  font-size: 11.5px;
  color: var(--slk-muted);
  line-height: 2.05;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  min-height: 141px;
}
.slk-bm-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  border: 0;
  background: none;
  color: var(--slk-purple);
  font-size: 11px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  padding: 4px 0;
}
.slk-bm-more span {
  transition: transform 0.2s;
}
.slk-bm-more:hover span {
  transform: translateX(-4px);
}
.slk-bm-modal {
  position: fixed;
  inset: 0;
  background: rgba(38, 38, 60, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20000;
}
.slk-bm-modal.open {
  display: flex;
}
.slk-bm-modal-box {
  max-width: 980px;
  width: 100%;
  max-height: 92vh;
  background: #fff;
  border-radius: 24px;
  padding: 40px 40px 36px;
  position: relative;
  box-shadow: 0 30px 80px rgba(70, 20, 80, 0.25);
  display: flex;
  gap: 40px;
  overflow: hidden;
}
.slk-bm-close {
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 18px;
  border: 0;
  background: #f2eff2;
  color: #7a517a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 19px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.slk-bm-close:hover {
  background: var(--slk-light);
  color: var(--slk-purple-dark);
  transform: rotate(90deg);
}
.slk-bm-modal-photo {
  width: 400px;
  height: 500px;
  flex: none;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--slk-gray);
  position: relative;
  box-shadow: 0 18px 40px rgba(128, 0, 128, 0.16);
}
.slk-bm-modal-photo::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  z-index: 2;
  pointer-events: none;
}
.slk-bm-modal-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slk-bm-modal-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-self: center;
}
.slk-bm-modal-role {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--slk-purple);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.slk-bm-modal-role::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--slk-purple);
}
.slk-bm-modal-name {
  font-size: 29px;
  font-weight: 800;
  margin: 12px 0 20px;
  color: var(--slk-purple-dark);
  line-height: 1.4;
}
.slk-bm-modal-name::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--slk-purple), var(--slk-purple-light));
}
.slk-bm-modal-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 2.2;
  color: #5b5560;
  text-align: justify;
  overflow-y: auto;
  max-height: calc(92vh - 250px);
  padding-left: 6px;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #d9c7dd transparent;
}
.slk-bm-modal-text::-webkit-scrollbar {
  width: 6px;
}
.slk-bm-modal-text::-webkit-scrollbar-thumb {
  background: #d9c7dd;
  border-radius: 6px;
}
.slk-bm-modal-text::-webkit-scrollbar-track {
  background: transparent;
}
@media (max-width: 900px) {
  .slk-bm-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
  .slk-bm-page {
    padding: 50px 5% 70px;
  }
}
@media (max-width: 600px) {
  .slk-bm-page {
    padding: 38px 16px 55px;
  }
  .slk-bm-header {
    padding: 30px 16px 32px;
  }
  .slk-bm-header h1 {
    font-size: 28px;
  }
  .slk-bm-header-ornament .ornament-line {
    width: 55px;
  }
  .slk-bm-card {
    height: auto;
    min-height: 0;
    flex-direction: column;
  }
  .slk-bm-photo {
    width: 100%;
    height: 245px;
  }
  .slk-bm-content {
    padding: 23px 21px 24px;
  }
  .slk-bm-desc {
    min-height: 0;
    -webkit-line-clamp: 6;
  }
  .slk-bm-modal-box {
    padding: 25px 20px;
    flex-direction: column;
  }
  .slk-bm-modal-photo {
    width: 100%;
    height: 300px;
  }
  .slk-bm-modal-name {
    font-size: 22px;
  }
}
/* =====================================================================
   Target Charity page — "چشم انداز" (single-column, sample design)
   ===================================================================== */
.slk-tc-page {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  padding: 0 0 10px;
}
.slk-tc-page .slk-tc-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.slk-tc-blob.one {
  width: 300px;
  height: 300px;
  left: -170px;
  top: 180px;
  background: rgba(128, 0, 128, 0.07);
}
.slk-tc-blob.two {
  width: 360px;
  height: 360px;
  right: -220px;
  bottom: 220px;
  background: rgba(128, 0, 128, 0.06);
}
.slk-tc-container {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  clear: both;
  padding-top: 70px;
}
.slk-tc-intro {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(128, 0, 128, 0.09);
  border-radius: 24px;
  padding: 27px 32px;
  box-shadow: var(--slk-shadow);
  text-align: right;
  font-size: 15px;
  color: #363038;
  line-height: 2;
}
.slk-tc-intro p {
  margin: 0 0 12px;
}
.slk-tc-intro p:last-child {
  margin-bottom: 0;
}
.slk-tc-under {
  color: var(--slk-purple);
  font-weight: 800;
}
.slk-tc-greeting {
  color: var(--slk-purple);
}
.slk-tc-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 18px;
  color: var(--slk-purple-dark);
  font-weight: 800;
  font-size: 18px;
}
.slk-tc-label::before {
  content: "";
  width: 6px;
  height: 32px;
  border-radius: 10px;
  background: var(--slk-purple);
}
.slk-tc-activities {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slk-tc-activity {
  position: relative;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  min-height: 105px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee7ef;
  border-radius: 18px;
  box-shadow: 0 7px 25px rgba(65, 27, 70, 0.07);
  transition: 0.25s ease;
}
.slk-tc-activity:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(128, 0, 128, 0.13);
  border-color: #dfc8e4;
}
.slk-tc-icon {
  height: 100%;
  min-height: 105px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--slk-purple), #a625b6);
}
.slk-tc-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slk-tc-content {
  padding: 18px 25px;
}
.slk-tc-content p {
  margin: 0;
  font-size: 14.5px;
  line-height: 2.05;
  color: #39343b;
}
.slk-tc-footer {
  margin: 55px 0 20px;
  text-align: center;
  position: relative;
}
.slk-tc-footerbox {
  margin: 40px 0 0;
  background: linear-gradient(135deg, #fff, #fbf2fc);
  border: 1px solid #e8d4ec;
  border-radius: 25px;
  padding: 27px 20px 22px;
  box-shadow: var(--slk-shadow);
}
.slk-tc-heart {
  width: 48px;
  height: 48px;
  margin: -50px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--slk-purple);
  background: #fff;
  border: 1px solid #e6d1eb;
  box-shadow: 0 8px 25px rgba(128, 0, 128, 0.1);
}
.slk-tc-heart svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.slk-tc-fname {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.slk-tc-fchair {
  margin: 4px 0 0;
  color: var(--slk-purple);
  font-size: 14px;
  font-weight: 700;
}

/* Caption (post) inside the shared purple footer box */
.slk-caption-text {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 2.1;
  color: #3c3640;
  text-align: center;
}
.slk-tc-footerbox .slk-tc-heart + .slk-caption-text,
.slk-tc-footerbox .slk-tc-heart + p {
  margin-top: 4px;
}

@media (max-width: 700px) {
  .slk-tc-container {
    width: min(100% - 20px, 1040px);
  }
  .slk-tc-intro {
    padding: 20px;
    font-size: 13.5px;
  }
  .slk-tc-activity {
    grid-template-columns: 64px 1fr;
    min-height: 115px;
  }
  .slk-tc-icon {
    min-height: 115px;
  }
  .slk-tc-icon svg {
    width: 32px;
    height: 32px;
  }
  .slk-tc-content {
    padding: 16px 14px;
  }
  .slk-tc-content p {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slk-tc-page *,
  .slk-tc-footerbox * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* =====================================================================
   Helping Ways page — "راه‌های کمک" (new design v2)
   ===================================================================== */
.slk-hw {
  overflow: hidden;
}
.slk-hw-hero {
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url("../images/site/help-hero-no-text.cfb7c2982d90.jpg");
  background-size: cover;
  background-position: center 43%;
}
.slk-hw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 29, 0.48);
}
.slk-hw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 30, 42, 0.12), rgba(40, 30, 42, 0.22), rgba(40, 30, 42, 0.08));
}
.slk-hw-hero-title {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.94);
  font-size: 30px;
  font-weight: 800;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.22);
  margin: 0;
}
.slk-hw-container {
  width: min(940px, calc(100% - 32px));
  margin: auto;
}
.slk-hw-intro {
  position: relative;
  padding: 48px 20px 25px;
  text-align: center;
}
.slk-hw-intro h2 {
  color: var(--slk-purple);
  font-size: 27px;
  line-height: 1.75;
  font-weight: 800;
  margin: 0 0 14px;
}
.slk-hw-intro p {
  max-width: 760px;
  margin: auto;
  font-size: 14px;
  line-height: 2.55;
  color: #69636e;
}
.slk-hw-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 18px 0 0;
  list-style: none;
  margin: 0;
}
.slk-hw-card {
  position: relative;
  min-height: 315px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(120, 60, 130, 0.08);
  border-radius: 15px;
  box-shadow: var(--slk-shadow);
  padding: 26px 20px 24px;
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slk-hw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(90, 25, 100, 0.15);
  border-color: #e2c7e7;
}
.slk-hw-icon-circle {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7ebf9, #f0dff4);
  color: var(--slk-purple);
}
.slk-hw-icon-circle svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slk-hw-card h3 {
  color: var(--slk-purple);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}
.slk-hw-card h3::after {
  content: "";
  display: block;
  width: 27px;
  height: 2px;
  margin: 12px auto 13px;
  background: #cda1d4;
}
.slk-hw-card p {
  color: #6c6670;
  font-size: 12.5px;
  line-height: 2.35;
  margin: 0;
}
.slk-hw-cta {
  margin: 42px 0 55px;
  min-height: 225px;
  border: 1px solid #eaddec;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: linear-gradient(110deg, #fff8fc, #f7eefa);
  box-shadow: 0 10px 28px rgba(90, 25, 100, 0.06);
}
.slk-hw-cta-image {
  min-height: 225px;
  background-image:
    linear-gradient(90deg, rgba(248, 238, 249, 0.05), rgba(248, 238, 249, 0.35)),
    url("../images/site/help-cta-hands-heart.3b1488e86e90.jpg");
  background-size: cover;
  background-position: center;
}
.slk-hw-cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 45px;
}
.slk-hw-cta-kicker {
  font-size: 12px;
  color: #77717b;
  margin-bottom: 2px;
}
.slk-hw-cta h2 {
  color: var(--slk-purple);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.9;
  margin: 0;
}
@media (max-width: 850px) {
  .slk-hw-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .slk-hw-hero {
    height: 150px;
  }
  .slk-hw-hero-title {
    font-size: 24px;
  }
  .slk-hw-intro {
    padding-top: 38px;
  }
  .slk-hw-intro h2 {
    font-size: 21px;
  }
  .slk-hw-intro p {
    font-size: 12.5px;
    line-height: 2.3;
  }
  .slk-hw-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .slk-hw-card {
    min-height: 270px;
    padding: 24px 22px;
  }
  .slk-hw-cta {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .slk-hw-cta-image {
    min-height: 190px;
    order: 2;
  }
  .slk-hw-cta-content {
    padding: 30px 24px;
    text-align: center;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slk-hw * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ===== Activity empty state ===== */
.jl_post_loop_wrapper:has(.jl_empty_wrap) {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.jl_post_loop_wrapper:has(.jl_empty_wrap) #wrapper_masonry,
.jl_post_loop_wrapper:has(.jl_empty_wrap) .row,
.jl_post_loop_wrapper:has(.jl_empty_wrap) .grid-sidebar,
.jl_post_loop_wrapper:has(.jl_empty_wrap) .jl_wrapper_cat,
.jl_post_loop_wrapper:has(.jl_empty_wrap) #content_masonry {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.jl_empty_wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 56px;
}
.jl_empty_state {
  width: 100%;
  padding: 40px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(128, 0, 128, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(128, 0, 128, 0.08);
  color: var(--slk-text);
}
.jl_empty_title {
  font-size: 17px;
  font-weight: 800;
  color: var(--slk-purple-dark, #5a005a);
  margin: 0 0 8px;
}
.jl_empty_subtitle {
  font-size: 14px;
  color: #776f7a;
  margin: 0;
  line-height: 1.9;
}

/* =====================================================================
   Activities page (فعالیت های موسسه)
   ===================================================================== */

.activities-section {
  position: relative;
  width: 100%;
  padding: 80px 20px 100px;
  direction: rtl;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 10% 20%, rgba(128, 0, 128, 0.045), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(128, 0, 128, 0.04), transparent 28%);
}

.activities-container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

/* ---------------- heading ---------------- */

.activities-heading {
  text-align: center;
  margin: 0 0 55px;
  padding: 44px 28px 46px;

  border: 1px solid rgba(128, 0, 128, 0.1);
  border-radius: 26px;

  background:
    radial-gradient(circle at 50% -30%, rgba(128, 0, 128, 0.16), transparent 62%),
    radial-gradient(circle at 8% 108%, rgba(128, 0, 128, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.68);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  box-shadow: 0 14px 40px rgba(80, 0, 80, 0.07);
}

.activities-heading h2 {
  margin: 0;
  color: var(--slk-purple);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.7;
}

.activities-heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.activities-heading-ornament .ornament-line {
  width: 90px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to left, transparent, var(--slk-purple));
}

.activities-heading-ornament .ornament-line:last-child {
  background: linear-gradient(to right, transparent, var(--slk-purple));
}

.activities-heading-ornament .ornament-core {
  color: var(--slk-purple);
  font-size: 15px;
  line-height: 1;
}

.activities-heading-note {
  max-width: 560px;
  margin: 16px auto 0;
  color: #776f7a;
  font-size: 13px;
  line-height: 2;
}

.activities-heading p {
  max-width: 650px;
  margin: 14px auto 0;
  color: #777;
  font-size: 13px;
  line-height: 2;
}

/* ---------------- grid ---------------- */

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.activity-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(40, 20, 40, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  direction: rtl;
}

.activity-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(80, 0, 80, 0.13);
}

.activity-image {
  position: relative;
  width: 100%;
  height: 225px;
  overflow: hidden;
  background: #f1f1f1;
}

.activity-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
  transform: scale(1.055);
}

.activity-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent 45%);
  pointer-events: none;
}

.activity-image-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 12px;
}

.activity-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 23px 24px 20px;
}

.activity-category {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  margin-bottom: 10px;
  border-radius: 20px;
  background: #f7edf7;
  color: var(--slk-purple);
  font-size: 10px;
  font-weight: 700;
}

.activity-title {
  margin: 0 0 12px;
  color: #302a31;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.activity-card:hover .activity-title {
  color: var(--slk-purple);
}

.activity-description {
  margin: 0;
  color: #777;
  font-size: 12px;
  line-height: 2.15;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.activity-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

.activity-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a09aa4;
  font-size: 12px;
}

.activity-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: var(--slk-purple);
  color: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-more:hover {
  background: #690069;
  transform: translateX(-3px);
  box-shadow: 0 6px 16px rgba(128, 0, 128, 0.2);
}

.activity-more .arrow {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.activity-more:hover .arrow {
  transform: translateX(-3px);
}

.activities-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  color: #999;
}

.activities-empty-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.activities-empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--slk-purple-dark);
}

.activities-empty p {
  margin: 0;
  font-size: 13px;
  color: #776f7a;
  line-height: 2;
}

.activities-section .activity-pagination {
  margin-top: 55px;
}

/* ---------------- modal ---------------- */

.activity-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.activity-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.activity-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 17, 29, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.activity-modal-box {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  max-height: 96vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: #faf8fc;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
  transform: translateY(25px) scale(0.96);
  transition: transform 0.3s ease;
}

.activity-modal.is-open .activity-modal-box {
  transform: translateY(0) scale(1);
}

.activity-modal--wide .activity-modal-box {
  width: min(1340px, 100%);
}

.activity-modal--wide .activity-modal-image {
  max-width: 55%;
}

.activity-modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 20;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
  color: #4a434f;
  font-family: Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);

  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.activity-modal-close:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--slk-purple);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px) rotate(90deg);
}

.activity-modal-image {
  position: relative;
  flex: 0 0 auto;
  width: auto;
  max-width: 58%;
  max-height: none;
  height: auto;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: 30px 20px;

  background: #faf8fc;
}

.activity-modal-image img {
  display: block;

  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 78vh;

  object-fit: contain;

  border-radius: 16px;

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.activity-modal-content {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;

  overflow-y: auto;
  direction: rtl;
  scrollbar-width: thin;
  scrollbar-color: #cdb5d4 #f3ecf5;

  background: #faf8fc;
}

.activity-modal-head {
  position: sticky;
  top: 0;
  z-index: 5;

  margin-top: -4px;
  padding: 32px 42px 2px;

  background: #faf8fc;
}

.activity-modal-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  margin-bottom: 10px;
  border-radius: 30px;
  background: #f8eef8;
  color: var(--slk-purple);
  font-size: 10px;
  font-weight: 800;
}

.activity-modal-content h2 {
  margin: 0;
  color: #29242b;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.8;
}

.activity-modal-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  color: #999;
  font-size: 13px;
}

.activity-modal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.activity-modal-divider {
  width: 100%;
  height: 2px;
  margin: 18px 0 16px;
  background: linear-gradient(to left, transparent, #e9dfec 18%, #e9dfec 82%, transparent);
  border-radius: 2px;
}

.activity-modal-text {
  width: 100%;
  max-width: 100%;

  padding: 4px 42px 48px;

  background: #faf8fc;

  color: #46404a;
  font-size: 18px;
  font-weight: 400;
  line-height: 2.1;
  text-align: right;

  overflow-wrap: break-word;
  word-break: break-word;
}

.activity-modal-text p {
  margin: 0 0 15px;
}

.activity-modal-text strong {
  color: #332d34;
}

.activity-modal-text a {
  color: var(--slk-purple);
  font-weight: 700;
}

.activity-modal-text img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 12px;
}

.activity-modal-content::-webkit-scrollbar {
  width: 7px;
}

.activity-modal-content::-webkit-scrollbar-track {
  background: #f7f7f7;
}

.activity-modal-content::-webkit-scrollbar-thumb {
  background: #d4bfd4;
  border-radius: 10px;
}

.activity-modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--slk-purple);
}

body.activity-modal-open {
  overflow: hidden;
}

/* ---------------- responsive ---------------- */

@media (max-width: 950px) {
  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .activities-section {
    padding: 55px 15px 70px;
  }

  .activities-heading {
    margin-bottom: 35px;
    padding: 30px 16px 32px;
  }

  .activities-heading h2 {
    font-size: 24px;
  }

  .activities-heading-note {
    font-size: 12px;
  }

  .activities-heading-ornament .ornament-line {
    width: 55px;
  }

  .activity-grid {
    gap: 20px;
  }

  .activities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activity-image {
    height: 210px;
  }

  .activity-content {
    padding: 20px 20px 18px;
  }

  .activity-title {
    font-size: 17px;
  }

  .activity-modal {
    padding: 8px;
  }

  .activity-modal-box {
    flex-direction: column;
    max-height: 96vh;
    border-radius: 17px;
  }

  .activity-modal-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;

    padding: 16px 16px 6px;
  }

  .activity-modal-image img {
    width: 100%;
    max-height: 40vh;
  }

  .activity-modal-content {
    min-width: auto;
  }

  .activity-modal-head {
    padding: 24px 20px 4px;
  }

  .activity-modal-text {
    padding: 4px 20px 30px;
    font-size: 15px;
    line-height: 2.1;
  }

  .activity-modal-content h2 {
    font-size: 21px;
  }

  .activity-modal-close {
    width: 36px;
    height: 36px;
    top: 12px;
    left: 12px;
    border-radius: 11px;
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .activity-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .activity-more {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
   POST DETAIL
========================================================= */
.post-detail-page {
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  padding: 55px 20px 90px;
  background:
    radial-gradient(circle at 10% 15%, rgba(128, 0, 128, 0.035), transparent 25%),
    radial-gradient(circle at 90% 75%, rgba(128, 0, 128, 0.035), transparent 25%);
}
.post-detail-container {
  width: min(1050px, 100%);
  margin: 0 auto;
}

/* HEADER */
.post-detail-header {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}
.post-detail-title {
  margin: 0;
  color: #800080;
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.9;
}
.post-detail-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 17px auto 18px;
}
.post-detail-decoration span {
  width: 105px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d9bfd9);
}
.post-detail-decoration span:last-child {
  background: linear-gradient(to left, transparent, #d9bfd9);
}
.post-detail-decoration i {
  color: #800080;
  font-size: 17px;
  font-style: normal;
}
.post-detail-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: #a49ea8;
  font-size: 12px;
}
.post-detail-meta-item {
  display: inline-flex;
  align-items: center;
}

/* GALLERY */
.post-gallery {
  width: 100%;
  margin: 0 auto 45px;
}
.post-gallery.single-image {
  display: block;
}
.post-gallery.multi-image {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 10px;
}
.post-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #eee;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}
.post-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.post-gallery-item:hover img {
  transform: scale(1.055);
  filter: brightness(0.82);
}
.post-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.post-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 0, 20, 0.32), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.post-gallery-item:hover::after {
  opacity: 1;
}
.post-gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #800080;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.post-gallery-item:hover .post-gallery-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.post-gallery-number {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 4px 9px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 9px;
  backdrop-filter: blur(5px);
}
.post-gallery-more {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(70, 0, 70, 0.55);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  backdrop-filter: blur(2px);
}

/* CONTENT */
.post-detail-content {
  width: min(1050px, 100%);
  margin: 0 auto;
  padding: 42px 48px;
  background: #ffffff;
  border: 1px solid rgba(128, 0, 128, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(31, 35, 42, 0.075), 0 3px 12px rgba(128, 0, 128, 0.035);
  color: #4e474f;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 2.25;
  text-align: justify;
}
.post-detail-content p {
  margin: 0 0 22px;
}
.post-detail-content h2 {
  margin: 38px 0 16px;
  color: #800080;
  font-size: 22px;
}
.post-detail-content h3 {
  margin: 32px 0 14px;
  color: #800080;
  font-size: 19px;
}
.post-detail-content strong {
  color: #302a32;
}
.post-detail-content a {
  color: #800080;
  font-weight: 700;
}
.post-detail-content ul,
.post-detail-content ol {
  padding-right: 25px;
  margin: 0 0 22px;
}
.post-detail-content li {
  margin-bottom: 8px;
}
.post-detail-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  border-radius: 14px;
}
.post-detail-content blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-right: 4px solid #800080;
  border-radius: 10px;
  background: #faf4fa;
  color: #665e66;
}

.post-detail-container .slk-tc-footerbox {
  width: min(1050px, 100%);
  margin: 32px auto 0;
}

/* LIGHTBOX */
.post-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-sizing: border-box;
  background: rgba(18, 8, 20, 0.93);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.post-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.post-lightbox-image {
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.post-lightbox.is-open .post-lightbox-image {
  transform: scale(1);
}
.post-lightbox-close {
  position: absolute;
  top: 18px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.post-lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}
.post-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.post-lightbox-prev {
  right: 18px;
}
.post-lightbox-next {
  left: 18px;
}
.post-lightbox-nav:hover {
  background: #800080;
}
.post-lightbox-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}
.post-lightbox-next:hover {
  transform: translateY(-50%) translateX(2px);
}
.post-lightbox-counter {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  backdrop-filter: blur(5px);
}
body.post-lightbox-open {
  overflow: hidden;
}

/* TABLET */
@media (max-width: 800px) {
  .post-detail-page {
    padding: 40px 15px 70px;
  }
  .post-gallery.multi-image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }
  .post-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .post-detail-content {
    font-size: 15px;
    line-height: 2.3;
    padding: 30px 28px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .post-detail-page {
    padding: 35px 12px 60px;
  }
  .post-detail-header {
    margin-bottom: 28px;
  }
  .post-detail-title {
    font-size: 21px;
    line-height: 1.85;
  }
  .post-detail-decoration span {
    width: 55px;
  }
  .post-detail-meta {
    font-size: 10px;
  }
  .post-gallery.multi-image {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 125px;
    gap: 7px;
  }
  .post-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .post-gallery-item {
    border-radius: 10px;
  }
  .post-gallery-zoom {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .post-gallery-number {
    right: 7px;
    bottom: 7px;
    font-size: 8px;
  }
  .post-detail-content {
    font-size: 14px;
    line-height: 2.25;
    padding: 24px 18px;
  }
  .post-detail-message {
    padding: 23px 18px;
    font-size: 10px;
  }
  .post-lightbox {
    padding: 15px;
  }
  .post-lightbox-image {
    max-width: 94vw;
    max-height: 78vh;
  }
  .post-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .post-lightbox-prev {
    right: 8px;
  }
  .post-lightbox-next {
    left: 8px;
  }
  .post-lightbox-close {
    top: 10px;
    left: 12px;
    font-size: 25px;
  }
}

/* SINGLE IMAGE */
.post-gallery.single-image .post-gallery-item {
  width: 100%;
  height: 480px;
  max-height: 620px;
}
.post-gallery.single-image .post-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

/* =========================================
   CHARITY ACTIONS - RESPONSIVE
========================================= */
@media (max-width: 1000px) {
  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-image {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .charity-actions {
    padding: 55px 16px 60px;
  }
  .actions-header {
    margin-bottom: 30px;
  }
  .actions-header h2 {
    font-size: 25px;
  }
  .actions-header p {
    font-size: 12px;
    line-height: 2;
  }
  .actions-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card-image {
    height: 210px;
  }
  .card-content {
    min-height: 80px;
  }
  .card-content h3 {
    font-size: 14px;
  }
  .decor-leaf {
    display: none;
  }
}

