/**
 * PowerEn Social template — intentionally minimal and isolated.
 */

body.poweren-social-template {
  --pw-social-ink: #062d3d;
  --pw-social-muted: #67818c;
  --pw-social-line: #d7e8ed;
  background: #f4f9fa;
}

body.poweren-social-template .pw-social,
body.poweren-social-template .pw-social * {
  box-sizing: border-box;
}

body.poweren-social-template .pw-social {
  position: relative;
  isolation: isolate;
  min-height: 72vh;
  padding: 20px 0 100px;
  overflow: hidden;
  direction: rtl;
  color: var(--pw-social-ink);
  font-family: inherit;
}

body.poweren-social-template .pw-social__ambient {
  position: absolute;
  z-index: -1;
  top: -170px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 199, 219, .12), transparent 68%);
  pointer-events: none;
}

body.poweren-social-template .pw-social__breadcrumb,
body.poweren-social-template .pw-social__intro,
body.poweren-social-template .pw-social__cards,
body.poweren-social-template .pw-social__notice {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

body.poweren-social-template .pw-social__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: #7a929b;
  font-size: 11px;
  font-weight: 700;
}

body.poweren-social-template .pw-social__breadcrumb a { color: #0d8aa5; text-decoration: none; }
body.poweren-social-template .pw-social__breadcrumb strong { color: #335460; }

body.poweren-social-template .pw-social__intro {
  padding: 64px 20px 50px;
  text-align: center;
}

body.poweren-social-template .pw-social__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0785a0;
  font-size: 11px;
  font-weight: 900;
}

body.poweren-social-template .pw-social__kicker i {
  width: 8px;
  height: 8px;
  border: 2px solid #33d7b5;
  border-radius: 50%;
}

body.poweren-social-template .pw-social__intro h1 {
  margin: 15px 0 0;
  color: var(--pw-social-ink);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1.25;
}

body.poweren-social-template .pw-social__intro h1 em { color: #0aa4be; font-style: normal; }
body.poweren-social-template .pw-social__intro p { max-width: 570px; margin: 18px auto 0; color: var(--pw-social-muted); font-size: 12px; font-weight: 600; line-height: 2; }

body.poweren-social-template .pw-social__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body.poweren-social-template .pw-social-card {
  --pw-social-accent: #50dec0;
  --pw-social-soft: rgba(80, 222, 192, .14);
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(112, 222, 228, .22);
  border-radius: 28px;
  background: linear-gradient(150deg, #073e50 0%, #052b3a 100%);
  box-shadow: 0 22px 55px rgba(5, 44, 58, .14);
}

body.poweren-social-template .pw-social-card::before {
  position: absolute;
  top: -95px;
  left: -70px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pw-social-soft), transparent 70%);
  content: "";
  pointer-events: none;
}

body.poweren-social-template .pw-social-card::after {
  position: absolute;
  right: 27px;
  bottom: 0;
  width: 70px;
  height: 3px;
  border-radius: 5px 5px 0 0;
  background: var(--pw-social-accent);
  content: "";
}

body.poweren-social-template .pw-social-card--equipment { --pw-social-accent: #6fc8ff; --pw-social-soft: rgba(111, 200, 255, .15); }
body.poweren-social-template .pw-social-card--support { --pw-social-accent: #c5a8ff; --pw-social-soft: rgba(197, 168, 255, .15); }

body.poweren-social-template .pw-social-card header { position: relative; display: flex; align-items: center; gap: 10px; }
body.poweren-social-template .pw-social-card header > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border: 1px solid color-mix(in srgb, var(--pw-social-accent) 55%, transparent); border-radius: 12px; background: rgba(255, 255, 255, .055); color: var(--pw-social-accent); font-size: 10px; font-weight: 950; }
body.poweren-social-template .pw-social-card header small { color: #a8c4cc; font-size: 9px; font-weight: 800; }
body.poweren-social-template .pw-social-card h2 { position: relative; margin: 25px 0 0; color: #fff; font-size: 23px; font-weight: 950; line-height: 1.55; }
body.poweren-social-template .pw-social-card > p { position: relative; margin: 11px 0 24px; color: #a9c3cb; font-size: 10px; line-height: 2; }

body.poweren-social-template .pw-social-card__channels { position: relative; display: grid; gap: 10px; margin-top: auto; }

body.poweren-social-template .pw-social-channel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 17px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

body.poweren-social-template .pw-social-channel:hover { border-color: var(--pw-social-accent); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
body.poweren-social-template .pw-social-channel__icon { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--pw-social-accent); }
body.poweren-social-template .pw-social-channel__icon i { position: relative; display: block; width: 18px; height: 15px; border: 2px solid #073243; border-radius: 5px; }
body.poweren-social-template .pw-social-channel__icon i::after { position: absolute; right: 1px; bottom: -5px; width: 6px; height: 6px; border-right: 2px solid #073243; transform: skewY(-35deg); content: ""; }
body.poweren-social-template .pw-social-channel--telegram .pw-social-channel__icon i { width: 0; height: 0; border: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 18px solid #073243; border-radius: 0; transform: rotate(-17deg); }
body.poweren-social-template .pw-social-channel--telegram .pw-social-channel__icon i::after { content: none; }
body.poweren-social-template .pw-social-channel--whatsapp .pw-social-channel__icon i { width: 19px; height: 19px; border-radius: 50%; }
body.poweren-social-template .pw-social-channel__copy { display: block; min-width: 0; }
body.poweren-social-template .pw-social-channel__copy small,
body.poweren-social-template .pw-social-channel__copy b { display: block; }
body.poweren-social-template .pw-social-channel__copy small { color: #a9c5cd; font-size: 8px; font-weight: 700; }
body.poweren-social-template .pw-social-channel__copy b { margin-top: 3px; overflow: hidden; direction: ltr; color: #fff; font-size: 12px; font-weight: 900; text-align: right; text-overflow: ellipsis; unicode-bidi: isolate; white-space: nowrap; }
body.poweren-social-template .pw-social-channel > em { color: var(--pw-social-accent); font-size: 17px; font-style: normal; font-weight: 900; }

body.poweren-social-template .pw-social__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 18px;
  border: 1px solid var(--pw-social-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  color: #607b85;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

body.poweren-social-template .pw-social__notice i { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border-radius: 9px; background: #dffaf3; color: #07806a; font-size: 9px; font-style: normal; font-weight: 950; }

body.poweren-social-template .pw-social a:focus-visible { outline: 3px solid #23bad4; outline-offset: 3px; }

@media (max-width: 980px) {
  body.poweren-social-template .pw-social__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.poweren-social-template .pw-social-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); margin-inline: auto; }
}

@media (max-width: 680px) {
  body.poweren-social-template .pw-social { padding-top: 12px; padding-bottom: 70px; }
  body.poweren-social-template .pw-social__breadcrumb,
  body.poweren-social-template .pw-social__intro,
  body.poweren-social-template .pw-social__cards,
  body.poweren-social-template .pw-social__notice { width: calc(100% - 24px); }
  body.poweren-social-template .pw-social__intro { padding: 46px 8px 34px; }
  body.poweren-social-template .pw-social__intro h1 { font-size: 38px; }
  body.poweren-social-template .pw-social__cards { grid-template-columns: 1fr; }
  body.poweren-social-template .pw-social-card,
  body.poweren-social-template .pw-social-card:last-child { grid-column: auto; width: 100%; min-height: 390px; padding: 23px 20px; border-radius: 24px; }
}

@media (max-width: 380px) {
  body.poweren-social-template .pw-social__breadcrumb,
  body.poweren-social-template .pw-social__intro,
  body.poweren-social-template .pw-social__cards,
  body.poweren-social-template .pw-social__notice { width: calc(100% - 20px); }
  body.poweren-social-template .pw-social__intro h1 { font-size: 33px; }
  body.poweren-social-template .pw-social-card h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  body.poweren-social-template .pw-social-channel { transition: none; }
}
