:root {
  --nahr-ad-navy: #071b4b;
  --nahr-ad-blue: #0a3f8f;
  --nahr-ad-gold: #d59d2c;
  --nahr-ad-soft: #f5f8fc;
}

.nahr-ad-shell {
  width: min(100% - 28px, 1280px);
  margin-inline: auto;
}

.nahr-ad-shell--header { margin-block: 12px 14px; }
.nahr-ad-shell--footer { margin-block: 28px 20px; }
.nahr-ad-shell--inline { width: 100%; margin-block: 30px; }

.nahr-ad {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(7, 27, 75, .12);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 27, 75, .08);
}

.nahr-ad__link { display: block; position: relative; color: inherit; text-decoration: none !important; }
.nahr-ad picture, .nahr-ad img { display: block; width: 100%; }
.nahr-ad img { height: auto; object-fit: cover; }
.nahr-ad--header img, .nahr-ad--footer img { max-height: 260px; }
.nahr-ad--inline img { max-height: 480px; }

.nahr-ad__label {
  position: absolute;
  z-index: 2;
  inset-block-start: 9px;
  inset-inline-start: 9px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.nahr-ad__copy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(120deg, var(--nahr-ad-navy), var(--nahr-ad-blue));
  color: #fff;
}

.nahr-ad__copy strong { font-size: clamp(15px, 2vw, 21px); }
.nahr-ad__copy small { font-size: 14px; opacity: .9; }
.nahr-ad__copy em { margin-inline-start: auto; color: #f7d37a; font-size: 12px; font-style: normal; }

.nahr-ad--placeholder {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(7, 27, 75, .28);
  background: linear-gradient(135deg, #fff, var(--nahr-ad-soft));
  box-shadow: none;
}

.nahr-ad--placeholder > div { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px; color: #65708b; }
.nahr-ad--placeholder span { font-size: 13px; }
.nahr-ad--placeholder a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--nahr-ad-navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none !important;
}

.nahr-ad--floating {
  position: fixed;
  z-index: 90;
  inset-block-start: 34%;
  inset-inline-start: 14px;
  width: 155px;
}
.nahr-ad--floating img { max-height: 430px; }
.nahr-ad--floating .nahr-ad__copy { display: block; padding: 10px; }
.nahr-ad--floating .nahr-ad__copy strong, .nahr-ad--floating .nahr-ad__copy small, .nahr-ad--floating .nahr-ad__copy em { display: block; margin: 0 0 4px; font-size: 12px; }

.nahr-share {
  margin-block: 34px 12px;
  padding: 20px;
  border-block: 1px solid rgba(7, 27, 75, .12);
  background: linear-gradient(135deg, rgba(7, 27, 75, .035), rgba(213, 157, 44, .055));
}

.nahr-share__title { display: block; margin-block-end: 12px; color: var(--nahr-ad-navy); font-size: 16px; }
.nahr-share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.nahr-share__button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: var(--nahr-ad-navy) !important;
  box-shadow: 0 3px 12px rgba(7, 27, 75, .08);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.nahr-share__button:hover, .nahr-share__button:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(7, 27, 75, .16); }
.nahr-share__button svg { width: 19px; height: 19px; fill: currentColor; }
.nahr-share__button--facebook { color: #1877f2 !important; }
.nahr-share__button--x { color: #111 !important; }
.nahr-share__button--whatsapp { color: #16a864 !important; }
.nahr-share__button--telegram { color: #229ed9 !important; }
.nahr-share__button--linkedin { color: #0a66c2 !important; }
.nahr-share__button--email { color: #b06f00 !important; }
.nahr-share__button--copy.is-copied { background: #e9f8ef; color: #087b40 !important; }
.nahr-share__notice { display: block; min-height: 18px; margin-block-start: 8px; color: #087b40; font-size: 12px; }

@media (max-width: 1450px) {
  .nahr-ad--floating { display: none; }
}

@media (max-width: 640px) {
  .nahr-ad-shell { width: min(100% - 20px, 1280px); }
  .nahr-ad-shell--inline { width: 100%; }
  .nahr-ad { border-radius: 9px; }
  .nahr-ad__copy { display: block; padding: 11px 13px; }
  .nahr-ad__copy strong, .nahr-ad__copy small, .nahr-ad__copy em { display: block; margin: 0 0 4px; }
  .nahr-ad--placeholder > div { gap: 10px; padding: 12px; }
  .nahr-share { margin-inline: -4px; padding: 16px 10px; }
  .nahr-share__button { width: 40px; padding: 8px; }
  .nahr-share__button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .nahr-share__button { transition: none; }
}

