body.public-body {
  --public-bg: #f7f9fb;
  --public-surface: #ffffff;
  --public-ink: #172033;
  --public-muted: #667085;
  --public-line: #dde6ee;
  --public-teal: #0f766e;
  --public-teal-dark: #115e59;
  --public-blue: #2f5d83;
  --public-gold: #a8742a;
  --public-red: #a33d35;
  background: var(--public-bg);
  color: var(--public-ink);
  overflow-x: hidden;
}

.family-container {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.family-nav {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--public-line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-sizing: border-box;
}

.family-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--public-ink);
}

.family-brand small {
  display: block;
  color: var(--public-muted);
  font-size: .78rem;
}

.nav-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cfe0f7;
  border-radius: 12px;
  background: #f3f8ff;
  color: #075ac7;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links a,
.admin-pill {
  text-decoration: none;
  padding: 9px 11px;
  border-radius: 8px;
  color: #344054;
  white-space: nowrap;
  font-size: .92rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: #edf7f4;
  color: var(--public-teal);
}

.admin-pill {
  background: var(--public-teal);
  color: #fff;
}

.admin-pill:hover {
  background: var(--public-teal-dark);
  color: #fff;
}

.public-hero {
  min-height: calc(78vh - 72px);
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(13, 70, 67, .95), rgba(47, 93, 131, .80) 58%, rgba(163, 61, 53, .62)),
    #123532;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .8fr);
  align-items: center;
  gap: 36px;
  padding: 58px 0;
}

.hero-content {
  max-width: 780px;
}

.eyebrow,
.tag {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
}

.eyebrow {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: rgba(255,255,255,.94);
  margin-bottom: 14px;
}

.tag {
  background: #eef8f6;
  color: var(--public-teal);
}

.public-hero h1 {
  font-size: clamp(2.45rem, 7vw, 5.35rem);
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
}

.public-hero p {
  color: rgba(255,255,255,.88);
  font-size: 1.06rem;
  max-width: 720px;
}

.hero-note {
  border-right: 3px solid rgba(255,255,255,.5);
  padding-right: 12px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.collage-card {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 18px 44px rgba(0,0,0,.24);
  background: rgba(255,255,255,.08);
}

.collage-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.collage-card.c2,
.collage-card.c3 {
  transform: translateY(24px);
}

.section {
  padding: 44px 0;
}

.section.alt {
  background: #ffffff;
  border-block: 1px solid var(--public-line);
}

.section-head,
.official-strip,
.tree-board-head,
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.section-head h2,
.official-strip h2,
.page-hero h1,
.tree-board-head h2,
.closing-cta h2 {
  font-weight: 700;
  margin: 8px 0 0;
}

.section-head p,
.official-strip p,
.page-hero p,
.tree-board-head p,
.closing-cta p {
  color: var(--public-muted);
  margin: 6px 0 0;
}

.official-card {
  background: var(--public-surface);
  border: 1px solid var(--public-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23,32,51,.06);
}

.story-card {
  padding: 26px;
  min-height: 100%;
}

.story-card h2,
.values-panel h2,
.contact-form h2,
.detail-card h2,
.side-panel h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.story-card p,
.news-card p,
.event-card p,
.post-card p,
.honor-card p,
.detail-card p {
  color: #475467;
  line-height: 1.9;
}

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

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

.news-card,
.event-card,
.post-card,
.honor-card {
  overflow: hidden;
  min-height: 100%;
}

.social-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  max-width: 880px;
}

.social-post {
  overflow: hidden;
}

.social-post-image {
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #111827;
  display: block;
}

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

.social-post p {
  white-space: pre-line;
  color: #344054;
  line-height: 1.95;
}

.public-link-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.public-link-card:hover {
  border-color: #b9d7d1;
  transform: translateY(-1px);
}

.media-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf2f7;
}

.card-pad {
  padding: 16px;
}

.card-pad h2,
.card-pad h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 10px 0 8px;
}

.meta {
  color: var(--public-muted);
  font-size: .86rem;
}

.honor-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #edf2f7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--public-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-card .caption {
  min-height: 52px;
  padding: 10px;
  font-size: .88rem;
  color: #475467;
  display: block;
}

.gallery-card .caption strong,
.gallery-card .caption small {
  display: block;
}

.gallery-card .caption small {
  color: var(--public-muted);
  margin-top: 2px;
}

.split-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}

.about-story {
  border-top: 4px solid var(--public-teal);
}

.values-panel,
.side-panel,
.contact-form {
  padding: 22px;
}

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
  color: #475467;
}

.clean-list li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.clean-list i {
  color: var(--public-teal);
  margin-top: 4px;
}

.page-hero {
  padding: 54px 0 22px;
  background:
    linear-gradient(180deg, #ffffff, #f0f6f5);
  border-bottom: 1px solid var(--public-line);
}

.page-hero-inner {
  max-width: 900px;
}

.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-panel {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, .8fr) minmax(150px, .8fr) auto auto;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 18px;
}

.detail-cover {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--public-line);
  padding-bottom: 10px;
}

.info-list span {
  color: var(--public-muted);
}

.comments-list {
  display: grid;
  gap: 10px;
}

.comment-item {
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 12px;
}

.comment-item span {
  display: block;
  color: var(--public-muted);
  font-size: .82rem;
}

.tree-preview,
.public-family-tree {
  display: grid;
  gap: 18px;
}

.public-tree-card,
.tree-board {
  padding: 22px;
}

.tree-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tree-row.compact {
  justify-content: flex-start;
}

.tree-line {
  width: 2px;
  height: 22px;
  background: var(--public-line);
  margin-inline: auto;
}

.tree-generation {
  border-top: 1px solid var(--public-line);
  padding-top: 18px;
}

.generation-label {
  color: var(--public-muted);
  font-size: .86rem;
  margin-bottom: 10px;
}

.tree-node {
  min-width: 150px;
  max-width: 230px;
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.tree-node span {
  display: block;
  color: var(--public-muted);
  font-size: .78rem;
  margin-bottom: 4px;
}

.tree-node.root {
  background: var(--public-teal);
  color: #fff;
  border-color: var(--public-teal);
}

.tree-node.root span {
  color: rgba(255,255,255,.78);
}

.tree-node.small {
  min-width: 130px;
  font-size: .9rem;
}

.empty-state {
  padding: 22px;
  color: var(--public-muted);
  grid-column: 1 / -1;
}

.closing-cta {
  background: linear-gradient(105deg, var(--public-teal), var(--public-blue));
  color: #fff;
  padding: 34px 0;
}

.closing-cta p {
  color: rgba(255,255,255,.82);
}

.family-footer {
  background:
    radial-gradient(circle at 50% 0, rgba(202, 148, 54, .16), transparent 28%),
    #f4f8ff;
  border-top: 1px solid #dceafe;
  padding: 28px 0 34px;
}

.footer-brand-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  gap: 18px;
  color: #08235a;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social strong,
.footer-copy strong,
.footer-center-brand strong,
.footer-center-brand small,
.footer-copy span {
  display: block;
}

.footer-social span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #0b78d8, #073fc4);
}

.footer-center-brand {
  text-align: center;
}

.footer-wreath {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  color: #b77d2a;
  border: 1px solid rgba(183, 125, 42, .38);
  border-radius: 999px;
  background: #fff;
}

.footer-center-brand strong {
  font-size: 1.8rem;
  font-weight: 900;
}

.footer-center-brand small,
.footer-copy span {
  color: #59708e;
  font-weight: 800;
}

.footer-copy {
  text-align: left;
}

.public-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.new-home-shell {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 98, 255, .10), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(192, 133, 46, .12), transparent 24%),
    #f4f8ff;
  padding-bottom: 28px;
}

.family-nav {
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto -78px;
  border: 1px solid rgba(180, 204, 236, .72);
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(23, 64, 118, .12);
  background: #fff;
}

.nav-inner {
  min-height: 64px;
  padding: 0 18px;
  direction: ltr;
  flex-wrap: nowrap;
}

.family-brand {
  order: 3;
  direction: rtl;
  flex: 0 0 auto;
  min-height: 42px;
}

.family-brand .brand-mark {
  background: linear-gradient(135deg, #eef7ff, #fff);
  border: 1px solid #cfe0f7;
  color: #0b4db3;
}

.family-brand strong {
  display: block;
  color: #061b42;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
}

.nav-links {
  order: 2;
  margin-inline: auto;
  gap: 18px;
  direction: rtl;
  flex: 0 1 auto;
  min-width: 0;
}

.nav-links a {
  color: #061b42;
  font-weight: 700;
  padding: 18px 4px 16px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: #0b63ce;
  border-bottom-color: #0b63ce;
}

.public-auth-links {
  order: 1;
  direction: rtl;
  flex: 0 0 auto;
}

.admin-pill,
.search-pill {
  height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(27, 103, 210, .18);
}

.admin-pill {
  background: linear-gradient(135deg, #0f78df, #063ac1);
  padding-inline: 18px;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
}

.search-pill {
  background: #fff;
  border: 1px solid #d5e5fb;
  color: #08235a;
  text-decoration: none;
}

.home-hero-v2 {
  min-height: 690px;
  position: relative;
  overflow: hidden;
  padding-top: 110px;
  background: #eaf4ff;
}

.home-hero-v2::before,
.home-hero-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero-v2::before {
  background: url("../images/shawaf-palestine-hero.png") center bottom / cover no-repeat;
}

.home-hero-v2::after {
  content: none;
}

.hero-v2-inner {
  min-height: 560px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 30px;
}

.hero-side-brand {
  display: none;
}

.brand-wreath {
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #bd822c;
  border: 2px solid rgba(189, 130, 44, .45);
  background: rgba(255,255,255,.58);
  font-size: 2.1rem;
}

.hero-side-brand strong,
.hero-side-brand small {
  display: block;
}

.hero-side-brand strong {
  font-size: 2rem;
  font-weight: 900;
}

.hero-side-brand small {
  color: #345071;
  font-weight: 700;
}

.hero-v2-content {
  text-align: center;
  color: #061b42;
  max-width: 760px;
  margin-inline: auto;
  transform: translateY(-122px);
}

.hero-v2-content h1 {
  font-size: clamp(4rem, 8.2vw, 7rem);
  line-height: .96;
  font-weight: 900;
  color: #061b42;
  margin: 0;
  text-shadow:
    0 0 2px #fff,
    0 0 7px #fff,
    0 0 16px rgba(255, 255, 255, .98),
    0 0 32px rgba(255, 255, 255, .88),
    0 0 52px rgba(255, 255, 255, .72);
}

.hero-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 18px auto 10px;
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  font-weight: 900;
  text-shadow:
    0 0 2px #fff,
    0 0 8px #fff,
    0 0 18px rgba(255, 255, 255, .96),
    0 0 34px rgba(255, 255, 255, .82);
}

.hero-separator span {
  width: 74px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d08d29, transparent);
}

.hero-v2-content p {
  max-width: 720px;
  margin: 0 auto;
  color: #12213e;
  font-size: 1.2rem;
  line-height: 2;
  font-weight: 700;
}

.hero-values {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-values span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(193, 211, 235, .9);
  border-radius: 999px;
  padding: 11px 20px;
  color: #0c1d3f;
  box-shadow: 0 12px 28px rgba(31, 76, 132, .11);
  font-weight: 800;
}

.home-quick-wrap {
  position: relative;
  z-index: 5;
  margin-top: -118px;
}

.member-gateway {
  margin: 0 8px 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(190, 212, 238, .92);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(22, 68, 130, .16), inset 0 0 0 5px rgba(255,255,255,.56);
}

.member-gateway-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.member-gateway-title > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, #075ac7, #0a84dd);
  color: #fff;
  box-shadow: 0 14px 26px rgba(7, 90, 199, .24);
  font-size: 1.35rem;
}

.member-gateway-title > div {
  min-width: 0;
}

.member-gateway-title small,
.member-gateway-title strong {
  display: block;
}

.member-gateway-title small {
  color: #0a6f47;
  font-size: .78rem;
  font-weight: 900;
}

.member-gateway-title strong {
  color: #071f4c;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.55;
}

.member-gateway-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.member-gateway-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  border: 1px solid #d6e4f5;
  background: #f7fbff;
  color: #08235a;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 900;
  white-space: nowrap;
}

.member-gateway-actions a.primary {
  border-color: transparent;
  background: linear-gradient(135deg, #075ac7, #006ee6);
  color: #fff;
  box-shadow: 0 13px 24px rgba(7, 90, 199, .22);
}

.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  padding-inline: 8px;
  direction: ltr;
}

.quick-tile {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: #fff;
  color: #081f4c;
  text-decoration: none;
  border: 1px solid rgba(196, 214, 238, .82);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(22, 68, 130, .15), inset 0 0 0 5px rgba(255,255,255,.55);
  font-weight: 900;
  text-align: center;
  direction: rtl;
}

.quick-tile i {
  font-size: 3.1rem;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.12));
}

.quick-tile.blue i { color: #0a84dd; }
.quick-tile.green i { color: #16844a; }
.quick-tile.purple i { color: #612fd0; }
.quick-tile.amber i { color: #e38712; }
.quick-tile.rose i { color: #db204a; }
.quick-tile.teal i { color: #10a5a2; }

.family-tree-tile i {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .95), transparent 28%),
    linear-gradient(135deg, #0a84dd, #063ac1);
  color: #fff !important;
  box-shadow: 0 18px 36px rgba(7, 90, 199, .22);
}

.home-metrics-bar {
  margin: 28px 8px 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(202, 219, 242, .95);
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(22, 68, 130, .12), inset 0 0 0 5px rgba(255,255,255,.52);
  direction: ltr;
}

.home-metric {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  border-left: 1px solid #cbdcf1;
  direction: rtl;
}

.home-metric:last-child {
  border-left: 0;
}

.home-metric i {
  grid-row: span 2;
  font-size: 2.5rem;
}

.home-metric strong {
  font-size: 2.1rem;
  line-height: 1;
  font-weight: 900;
}

.home-metric span {
  color: #12213e;
  font-weight: 800;
}

.home-metric.blue i,.home-metric.blue strong { color: #0a74d9; }
.home-metric.green i,.home-metric.green strong { color: #15905a; }
.home-metric.purple i,.home-metric.purple strong { color: #6c35df; }
.home-metric.amber i,.home-metric.amber strong { color: #e48a12; }
.home-metric.ink i,.home-metric.ink strong { color: #061b42; }

.home-main-grid,
.home-lower-grid {
  display: grid;
  gap: 24px;
  margin-top: 30px;
  direction: ltr;
}

.home-main-grid {
  grid-template-columns: 1fr 1.25fr 1fr;
}

.home-lower-grid {
  grid-template-columns: 1.08fr 1fr;
}

.home-panel {
  background: #fff;
  border: 1px solid rgba(203, 220, 242, .95);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(22, 68, 130, .12), inset 0 0 0 5px rgba(255,255,255,.45);
  padding: 20px;
  overflow: hidden;
  direction: rtl;
}

.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-panel-head.centered {
  justify-content: center;
}

.home-panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
  color: #061b42;
  font-weight: 900;
}

.home-panel-head a,
.panel-action {
  color: #0c62d5;
  text-decoration: none;
  background: #eef6ff;
  border: 1px solid #d5e7ff;
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
}

.home-news-list,
.home-event-list {
  display: grid;
  gap: 12px;
}

.home-news-item,
.home-event-item {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: center;
  color: #061b42;
  text-decoration: none;
  background: rgba(250,252,255,.82);
  border: 1px solid #deebfb;
  border-radius: 16px;
  padding: 10px;
}

.home-news-item img {
  width: 112px;
  height: 82px;
  object-fit: cover;
  border-radius: 12px;
}

.home-news-item strong,
.home-event-item strong {
  font-weight: 900;
}

.home-news-item p,
.home-event-item p {
  color: #4c617f;
  line-height: 1.55;
  margin: 4px 0;
  font-size: .92rem;
}

.home-news-item span {
  color: #59708e;
  font-size: .82rem;
}

.home-event-item {
  grid-template-columns: 76px 1fr;
}

.datebox {
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  background: linear-gradient(180deg, #eef6ff, #f9fcff);
  border-radius: 18px;
  color: #0e48a7;
}

.datebox strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.datebox small {
  color: #245caa;
  font-weight: 900;
}

.panel-action {
  display: block;
  text-align: center;
  margin-top: 14px;
}

.tree-illustration {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: end center;
  background:
    url("../images/home-seed/tree-family-art.jpg") center 42% / min(86%, 430px) auto no-repeat,
    radial-gradient(circle at 50% 26%, rgba(72, 155, 91, .10), transparent 32%),
    linear-gradient(180deg, #f8fcff, #eef7ff);
  border-radius: 22px;
  overflow: hidden;
  padding-bottom: 28px;
}

.tree-illustration .tree-canopy,
.tree-illustration .tree-trunk {
  display: none;
}

.tree-canopy {
  position: absolute;
  top: 42px;
  width: 360px;
  height: 250px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 48%, rgba(42, 130, 70, .32), transparent 36%),
    radial-gradient(circle at 30% 35%, rgba(72, 166, 89, .28), transparent 34%),
    radial-gradient(circle at 70% 38%, rgba(72, 166, 89, .24), transparent 34%);
}

.tree-canopy::before,
.tree-canopy::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 3px solid rgba(71, 130, 67, .45);
  border-radius: 50%;
  top: 35px;
}

.tree-canopy::before { right: 30px; }
.tree-canopy::after { left: 30px; }

.tree-face {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 3px solid #d6e7ff;
  color: #08235a;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(22, 68, 130, .18);
}

.tree-face.f1 { right: 148px; top: 0; }
.tree-face.f2 { right: 80px; top: 48px; }
.tree-face.f3 { right: 205px; top: 55px; }
.tree-face.f4 { right: 42px; top: 126px; }
.tree-face.f5 { right: 150px; top: 112px; }
.tree-face.f6 { right: 245px; top: 130px; }
.tree-face.f7 { right: 95px; top: 178px; }
.tree-face.f8 { right: 190px; top: 190px; }
.tree-face.f9 { right: 300px; top: 82px; }
.tree-face.f10 { right: 12px; top: 72px; }
.tree-face.f11 { right: 265px; top: 20px; }
.tree-face.f12 { right: 20px; top: 186px; }

.tree-trunk {
  width: 210px;
  height: 180px;
  display: grid;
  place-items: end center;
  text-align: center;
  padding: 0 20px 30px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, #754315, #b87927, #6e3d14);
  clip-path: polygon(38% 0, 62% 0, 74% 100%, 26% 100%);
}

.tree-btn {
  position: absolute;
  bottom: 18px;
  z-index: 2;
  color: #08235a;
  background: rgba(255,255,255,.88);
  border: 1px solid #d6e7ff;
  box-shadow: 0 12px 28px rgba(22, 68, 130, .16);
  border-radius: 999px;
  padding: 12px 26px;
  text-decoration: none;
  font-weight: 900;
}

.home-album-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 128px;
  gap: 8px;
}

.home-album-grid a {
  border-radius: 14px;
  overflow: hidden;
}

.home-album-grid a:nth-child(1),
.home-album-grid a:nth-child(3) {
  grid-column: span 2;
}

.home-album-grid a:nth-child(4),
.home-album-grid a:nth-child(5) {
  grid-column: span 3;
}

.home-album-grid a:nth-child(2),
.home-album-grid a:nth-child(6) {
  grid-column: span 1;
}

.home-album-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.world-map-card {
  position: relative;
  min-height: 265px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 44%, #8cc9ff 0 1.4px, transparent 1.5px),
    radial-gradient(circle at 58% 40%, #8cc9ff 0 1.4px, transparent 1.5px),
    radial-gradient(circle at 75% 54%, #8cc9ff 0 1.4px, transparent 1.5px),
    linear-gradient(180deg, #f7fbff, #eef7ff);
  background-size: 14px 14px, 14px 14px, 14px 14px, auto;
  overflow: hidden;
  border: 1px solid #dceafe;
}

.world-map-card::before {
  content: "";
  position: absolute;
  inset: 28px;
  background: rgba(29, 116, 216, .12);
  clip-path: polygon(3% 38%, 24% 28%, 37% 42%, 29% 62%, 7% 58%, 48% 32%, 63% 26%, 79% 36%, 91% 47%, 83% 65%, 61% 58%, 48% 70%, 40% 54%);
}

.pin {
  position: absolute;
  font-size: 2.3rem;
  filter: drop-shadow(0 10px 12px rgba(22,68,130,.18));
}

.p1 { right: 42%; top: 34%; color: #08a6d4; }
.p2 { right: 54%; top: 22%; color: #7e38dd; }
.p3 { right: 29%; top: 29%; color: #e39a14; }
.p4 { right: 18%; top: 44%; color: #db2c3c; }

.country-chips {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.country-chips span {
  background: #f7fbff;
  border: 1px solid #dceafe;
  color: #0c285b;
  border-radius: 13px;
  text-align: center;
  padding: 9px 6px;
  font-weight: 800;
  font-size: .86rem;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
  direction: ltr;
}

.service-strip a {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  column-gap: 12px;
  text-decoration: none;
  color: #08235a;
  background: #fff;
  border: 1px solid #dceafe;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 16px 36px rgba(22, 68, 130, .10);
  direction: rtl;
}

.service-strip i {
  grid-row: span 2;
  color: #0b78d8;
  font-size: 2rem;
}

.service-strip strong {
  font-weight: 900;
}

.service-strip span {
  color: #59708e;
  font-size: .88rem;
}

.home-cta-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 30px;
  direction: ltr;
}

.quote-card,
.join-card {
  min-height: 180px;
  border-radius: 28px;
  border: 1px solid #dceafe;
  box-shadow: 0 18px 42px rgba(22, 68, 130, .12);
  background: #fff;
}

.quote-card {
  position: relative;
  display: grid;
  align-content: center;
  padding: 32px 46px;
  color: #08235a;
  overflow: hidden;
  direction: rtl;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 62% 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.86), rgba(255,255,255,.24)),
    url("../images/shawaf-palestine-hero.png") left center / cover no-repeat;
}

.quote-card span {
  color: #b67b29;
  font-size: 4rem;
  line-height: .4;
}

.quote-card strong {
  font-size: 1.45rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.join-card {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 30px;
  direction: rtl;
  background:
    radial-gradient(circle at 18% 20%, rgba(11, 120, 216, .14), transparent 34%),
    #fff;
}

.join-card h2 {
  color: #08235a;
  font-weight: 900;
  margin: 0;
  font-size: 2rem;
}

.join-card p {
  color: #59708e;
}

.home-empty {
  padding: 22px;
  color: #59708e;
  background: #f7fbff;
  border: 1px dashed #cbdcf1;
  border-radius: 16px;
}

.member-portal-page {
  padding-top: 32px;
  padding-bottom: 52px;
}

.portal-auth-card,
.portal-topline,
.portal-grid,
.portal-profile-grid,
.portal-metrics,
.committee-strip,
.committee-admin-grid {
  display: grid;
  gap: 16px;
}

.portal-auth-card {
  min-height: 64vh;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
}

.portal-auth-card h1,
.portal-topline h1 {
  color: var(--public-ink);
  font-weight: 800;
  margin: 8px 0;
}

.portal-auth-card p,
.portal-topline p {
  color: var(--public-muted);
  line-height: 1.9;
}

.portal-auth-points,
.portal-actions,
.committee-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.portal-actions {
  justify-content: flex-end;
}

.portal-auth-points span,
.committee-tabs a,
.committee-strip a,
.committee-admin-grid article {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  color: var(--public-ink);
  text-decoration: none;
}

.portal-auth-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}

.portal-login-panel,
.portal-panel,
.portal-metric {
  background: #fff;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  box-shadow: var(--public-shadow);
}

.portal-login-panel,
.portal-panel {
  padding: 20px;
}

.portal-login-panel h2,
.portal-panel h2,
.portal-form-section h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.portal-topline {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 18px;
}

.portal-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.portal-metric {
  padding: 16px;
}

.portal-metric span,
.portal-member-list span,
.portal-request-list span,
.portal-dl dt,
.committee-strip span,
.committee-admin-grid p {
  color: var(--public-muted);
}

.portal-metric span,
.committee-strip strong,
.committee-strip span {
  display: block;
}

.portal-metric strong {
  display: block;
  color: var(--public-ink);
  font-size: 1.5rem;
  margin-top: 6px;
}

.portal-grid,
.portal-profile-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-heading h2 {
  margin-bottom: 0;
}

.panel-heading a {
  color: var(--public-teal);
  text-decoration: none;
  font-weight: 700;
}

.portal-member-list,
.portal-request-list {
  display: grid;
  gap: 10px;
}

.portal-member-list article,
.portal-request-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  padding: 12px;
}

.portal-dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.portal-dl dd {
  margin: 0;
  font-weight: 700;
}

.portal-form-section {
  border-bottom: 1px solid var(--public-line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.committee-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.committee-strip a,
.committee-admin-grid article {
  padding: 14px;
}

.committee-strip i {
  color: var(--public-teal);
  margin-bottom: 8px;
}

.committee-tabs a {
  padding: 9px 12px;
}

.committee-tabs a.active {
  background: var(--public-teal);
  border-color: var(--public-teal);
  color: #fff;
}

.lightbox-view {
  position: fixed;
  inset: 0;
  background: rgba(8, 15, 23, .86);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox-view.active {
  display: flex;
}

.lightbox-panel {
  width: min(1100px, 100%);
  position: relative;
}

.lightbox-panel img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: #111827;
}

.lightbox-caption {
  color: #fff;
  margin-top: 10px;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  inset-inline-start: -12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--public-ink);
}

@media (max-width: 1040px) {
  .family-nav {
    width: min(100% - 18px, 980px);
    margin-top: 8px;
  }

  .nav-inner {
    align-items: stretch;
  }

  .family-brand,
  .nav-links,
  .public-auth-links {
    order: initial;
  }

  .hero-v2-inner,
  .home-main-grid,
  .home-lower-grid,
  .home-cta-v2 {
    grid-template-columns: 1fr;
  }

  .footer-brand-v2 {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-copy {
    text-align: center;
  }

  .hero-side-brand {
    display: none;
  }

  .hero-v2-content {
    transform: translateY(-54px);
  }

  .home-quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-metrics-bar,
  .service-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-metric {
    border-left: 0;
    border-bottom: 1px solid #cbdcf1;
    padding-bottom: 10px;
  }

  .country-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-inner {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
  }

  .hero-grid,
  .split-layout,
  .detail-layout,
  .contact-layout,
  .portal-auth-card,
  .portal-topline,
  .portal-grid,
  .portal-profile-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    max-width: 560px;
  }

  .grid-3,
  .grid-4,
  .gallery-grid,
  .gallery-page-grid,
  .committee-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .new-home-shell > .family-container {
    width: calc(100% - 48px);
  }

  .family-nav {
    width: calc(100% - 18px);
    border-radius: 16px;
    margin-bottom: -74px;
  }

  .nav-inner {
    width: 100%;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 8px;
  }

  .family-brand {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-start;
    gap: 6px;
  }

  .family-brand span:not(.brand-mark) {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
  }

  .family-brand .brand-mark {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .family-brand strong {
    font-size: .9rem;
    white-space: nowrap;
    text-align: right;
  }

  .nav-menu-toggle {
    order: 1;
    display: grid;
    flex: 0 0 auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 8px;
  }

  .nav-links a {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 8px 6px;
    border: 1px solid #dceafe;
    border-radius: 12px;
    background: #f8fbff;
    font-size: .84rem;
  }

  .public-auth-links {
    order: 4;
    width: 100%;
    display: none;
    grid-template-columns: 1fr 44px;
    gap: 8px;
    padding-top: 8px;
  }

  .family-nav.is-open .nav-links,
  .family-nav.is-open .public-auth-links {
    display: grid;
  }

  .family-brand small {
    display: none;
  }

  .admin-pill {
    width: 100%;
  }

  .home-hero-v2 {
    min-height: 620px;
    padding-top: 76px;
    background:
      linear-gradient(180deg, #f3f9ff 0%, #eaf4ff 42%, #dcecff 100%);
  }

  .home-hero-v2::before {
    background-image: url("../images/shawaf-palestine-hero.png");
    background-position: 8% top;
    background-size: 178% auto;
    background-repeat: no-repeat;
  }

  .hero-v2-inner {
    z-index: 8;
  }

  .hero-v2-content {
    position: relative;
    z-index: 9;
    width: min(100% - 28px, 340px);
    transform: translateY(-150px);
  }

  .hero-v2-content h1 {
    font-size: clamp(2.65rem, 12.8vw, 3.15rem);
    max-width: 100%;
  }

  .hero-separator {
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 1.08rem;
  }

  .hero-values {
    position: relative;
    z-index: 8;
    width: min(100% - 18px, 360px);
    margin: 16px auto 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 8px 10px;
    border: 1px solid rgba(193, 211, 235, .88);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 26px rgba(31, 76, 132, .10);
    transform: translateY(118px);
  }

  .hero-values span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #0c1d3f;
    font-size: .68rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .hero-values span:not(:last-child)::after {
    content: "|";
    margin: 0 6px 0 3px;
    color: #8aa1c0;
    font-weight: 700;
  }

  .hero-values i {
    font-size: .72rem;
  }

  .home-quick-wrap {
    margin-top: -214px;
  }

  .member-gateway {
    margin: 0 8px 12px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 20px;
    overflow: hidden;
  }

  .member-gateway-title {
    justify-content: center;
    gap: 9px;
    text-align: center;
  }

  .member-gateway-title > span {
    display: none;
  }

  .member-gateway-title small {
    font-size: .68rem;
  }

  .member-gateway-title strong {
    font-size: .88rem;
    line-height: 1.45;
  }

  .member-gateway-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .member-gateway-actions a.primary {
    grid-column: 1 / -1;
  }

  .member-gateway-actions a {
    min-height: 42px;
    border-radius: 13px;
    font-size: .82rem;
  }

  .home-quick-grid,
  .home-metrics-bar,
  .service-strip,
  .country-chips {
    grid-template-columns: 1fr;
  }

  .home-metrics-bar {
    justify-items: center;
  }

  .home-metric {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    row-gap: 4px;
  }

  .home-metric i {
    grid-row: auto;
  }

  .quick-tile {
    min-height: 122px;
    grid-template-columns: 70px 1fr;
    padding-inline: 18px;
    overflow: hidden;
    text-align: right;
  }

  .quick-tile i {
    justify-self: center;
    font-size: 2.4rem;
    transform: translateX(-16px);
  }

  .family-tree-tile i {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    font-size: 1.75rem;
  }

  .home-news-item {
    grid-template-columns: 92px 1fr;
  }

  .home-news-item img {
    width: 92px;
    height: 76px;
  }

  .home-album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 116px;
  }

  .home-album-grid a {
    grid-column: span 1 !important;
  }

  .tree-illustration {
    min-height: 360px;
  }

  .tree-canopy {
    transform: scale(.78);
    transform-origin: top center;
  }

  .quote-card::before {
    inset: 0;
    opacity: .18;
  }

  .public-hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 42px 0;
  }

  .public-hero h1 {
    font-size: 2.55rem;
  }

  .hero-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .collage-card.c2,
  .collage-card.c3 {
    transform: none;
  }

  .section-head,
  .official-strip,
  .tree-board-head,
  .cta-inner {
    display: block;
  }

  .grid-3,
  .grid-4,
  .gallery-grid,
  .gallery-page-grid,
  .filter-panel,
  .portal-metrics,
  .committee-strip {
    grid-template-columns: 1fr;
  }

  .portal-member-list article,
  .portal-request-list article {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-dl {
    grid-template-columns: 1fr;
  }

  .tree-node {
    min-width: 138px;
  }
}


.family-real-map {
  min-height: 300px;
  background: #eef6ff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #dceafe;
  isolation: isolate;
}

.family-real-map::before {
  content: none;
}

.family-real-map .leaflet-container,
.family-real-map .leaflet-pane,
.family-real-map .leaflet-control,
.family-real-map .leaflet-popup-content {
  font-family: CairoLocal, Tahoma, Arial, sans-serif;
}

.map-fallback {
  min-height: 300px;
  display: grid;
  place-items: center;
  color: #59708e;
  font-weight: 800;
  text-align: center;
  padding: 20px;
  line-height: 1.8;
}

.leaflet-popup-content {
  direction: rtl;
  text-align: right;
}

.world-map-marker {
  position: relative;
  width: 32px !important;
  height: 32px !important;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #075ac7;
  border: 3px solid #fff;
  box-shadow: 0 12px 22px rgba(8, 35, 90, .24);
  color: #fff;
}

.world-map-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 11px;
  height: 11px;
  background: #075ac7;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

.world-map-marker span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  font-weight: 900;
}

.palestine-map-marker {
  display: grid;
  place-items: center;
  gap: 2px;
  width: 118px !important;
  height: 82px !important;
  color: #08235a;
  text-align: center;
  transform: translate3d(0, 0, 0);
}

.palestine-map-marker::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-right: 1px solid rgba(7, 90, 199, .32);
  border-bottom: 1px solid rgba(7, 90, 199, .32);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 10px 18px rgba(8, 35, 90, .14);
}

.palestine-map-marker span,
.palestine-map-marker strong,
.palestine-map-marker small {
  position: relative;
  z-index: 1;
}

.palestine-map-marker .marker-flag {
  display: block;
  position: relative;
  width: 40px;
  height: 28px;
  margin-bottom: -4px;
  border-radius: 7px;
  background: linear-gradient(180deg, #0b0b0b 0 33.333%, #fff 33.333% 66.666%, #148342 66.666% 100%);
  border: 1px solid rgba(7, 90, 199, .22);
  box-shadow: 0 12px 26px rgba(8, 35, 90, .18);
  overflow: hidden;
}

.palestine-map-marker .marker-flag::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 19px;
  background: #cf2334;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.palestine-map-marker strong {
  min-width: 88px;
  padding: 4px 10px 2px;
  border-radius: 999px 999px 8px 8px;
  background: #fff;
  border: 1px solid rgba(7, 90, 199, .22);
  box-shadow: 0 12px 26px rgba(8, 35, 90, .16);
  color: #075ac7;
  font-size: 1rem;
  font-weight: 900;
}

.palestine-map-marker small {
  min-width: 74px;
  padding: 2px 8px 5px;
  margin-top: -4px;
  border-radius: 0 0 999px 999px;
  background: #fff;
  border: 1px solid rgba(7, 90, 199, .18);
  border-top: 0;
  color: #08235a;
  font-size: .72rem;
  font-weight: 900;
}

.footer-social .social-glyph {
  font-family: Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
}

.footer-social .fb { background: #1877f2; }
.footer-social .ig { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.footer-social .yt { background: #ff0033; }
.footer-social .tg { background: #229ed9; }
.footer-social .wa { background: #25d366; }

.world-panel .country-chips {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.world-panel .country-chips span {
  display: block;
  line-height: 1.55;
}

.world-panel .country-chips b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: 5px;
  border-radius: 999px;
  background: #075ac7;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: .82rem;
  font-weight: 900;
}
