/* =========================================================
   Digitizer Email Marketing service page
   ========================================================= */

.dz-page--email,
.dz-page--email * {
  font-family: inherit;
}

.dz-page--email .dz-kicker {
  color: #ff7a00;
}

/* Hero */

.em-hero {
  overflow: hidden;
}

.em-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(42px, 5vw, 76px);
  align-items: start;
}

.em-hero__copy {
  max-width: 1120px;
  min-width: 0;
}

.em-hero .dz-kicker,
.em-section-head .dz-kicker,
.em-pricing-intro .dz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.em-hero .dz-kicker::before,
.em-section-head .dz-kicker::before,
.em-pricing-intro .dz-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  display: block;
  background: currentColor;
  opacity: .9;
  flex: 0 0 auto;
}

.em-hero .dz-title--xl {
  max-width: 1120px;
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: .88;
  letter-spacing: -.07em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.dz-page--email .dz-hero-statement {
  max-width: 840px;
  margin-top: 28px;
}

.dz-page--email .em-hero__copy > .dz-text {
  max-width: 840px;
}

.dz-page--email .dz-service-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* Hero visual */

.em-hero__visual {
  position: relative;
  width: 100%;
  max-width: 940px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.em-dashboard {
  flex: 0 0 100%;
  width: 100%;
  max-width: 940px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 0, .15), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(30, 191, 185, .14), transparent 34%),
    rgba(255, 255, 255, .055);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .38);
  overflow: hidden;
}

.em-dashboard__top {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .18);
}

.em-dashboard__top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .34);
}

.em-dashboard__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
}

.em-mail-card {
  min-height: 154px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 26px;
  background: rgba(255, 255, 255, .058);
}

.em-mail-card--wide,
.em-mail-card--result,
.em-flow {
  grid-column: span 2;
}

.em-mail-card--wide {
  min-height: 180px;
  background:
    linear-gradient(135deg, rgba(255, 122, 0, .20), rgba(30, 191, 185, .12)),
    rgba(255, 255, 255, .06);
}

.em-mail-card--result {
  border-color: rgba(255, 122, 0, .30);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 122, 0, .18), transparent 34%),
    rgba(255, 255, 255, .06);
}

.em-mail-card small {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.em-mail-card strong {
  display: block;
  color: #fff;
  font-size: clamp(34px, 4vw, 60px);
  line-height: .9;
  letter-spacing: -.06em;
}

.em-mail-card span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.5;
}

.em-flow {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 26px;
  background: rgba(0, 0, 0, .12);
}

.em-flow span {
  flex: 1;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 0, .9), rgba(30, 191, 185, .72));
  box-shadow: 0 16px 36px rgba(255, 122, 0, .16);
}

.em-flow span:nth-child(2) {
  opacity: .82;
}

.em-flow span:nth-child(3) {
  opacity: .66;
}

.em-flow span:nth-child(4) {
  opacity: .50;
}

.em-floating-card {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  width: fit-content;
  max-width: 100%;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 10, 12, .72);
  color: rgba(255, 255, 255, .84);
  font-size: 13px;
  line-height: 1;
  letter-spacing: .02em;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .28);
}

/* Section heads */

.em-section-head {
  display: block;
  max-width: 1060px;
  margin-bottom: clamp(34px, 4.5vw, 62px);
}

.em-section-head .dz-title {
  max-width: 1060px;
  font-size: clamp(48px, 5.8vw, 90px);
  line-height: .9;
  letter-spacing: -.065em;
}

/* Cards */

.em-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.em-card {
  min-height: 260px;
  padding: 30px 22px 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 26px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 0, .10), transparent 38%),
    rgba(255, 255, 255, .055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}

.em-card b {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

.em-card strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(25px, 2.15vw, 35px);
  line-height: .95;
  letter-spacing: -.055em;
}

.em-card span {
  display: block;
  max-width: 95%;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.5;
}

/* Editorial */

.em-editorial-grid,
.em-portfolio-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.em-editorial-grid .dz-text + .dz-text {
  margin-top: 20px;
}

.em-portfolio-head {
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.em-portfolio-head .dz-text {
  margin: 0;
  max-width: 580px;
}

/* Gallery */

.em-gallery-frame {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 0, .12), transparent 34%),
    rgba(255, 255, 255, .055);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
}

.em-gallery-frame .gallery {
  margin: 0 !important;
}

.em-gallery-frame img {
  border: 0 !important;
  border-radius: 18px;
}

/* Process */

.em-process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 52px);
}

.em-process-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 26px;
  background: rgba(255, 255, 255, .052);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .20);
}

.em-process-step b {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 122, 0, .34);
  border-radius: 999px;
  background: rgba(255, 122, 0, .10);
  color: #fff;
  font-size: 13px;
}

.em-process-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  line-height: .96;
  letter-spacing: -.055em;
}

.em-process-step p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.62;
}

/* Features */

.em-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.em-feature-card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 26px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .20);
}

.em-feature-card strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: .96;
  letter-spacing: -.055em;
}

.em-feature-card span {
  display: block;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.55;
}

/* Pricing */

.em-pricing-intro {
  display: block !important;
  max-width: 1060px !important;
  margin-bottom: clamp(42px, 5vw, 72px) !important;
}

.em-pricing-intro .dz-title {
  max-width: 1060px !important;
  margin-bottom: 26px !important;
  font-size: clamp(48px, 5.8vw, 90px) !important;
  line-height: .9 !important;
  letter-spacing: -.065em !important;
}

.em-pricing-intro .dz-text {
  max-width: 760px !important;
  margin: 0 !important;
}

.em-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.em-price-card {
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 34px 30px 30px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 122, 0, .10), transparent 34%),
    rgba(255, 255, 255, .065);
  box-shadow: 0 24px 78px rgba(0, 0, 0, .26);
}

.em-price-card--featured {
  border-color: rgba(255, 122, 0, .42);
}

.em-price-card b {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

.em-price-card h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(28px, 3vw, 44px);
  line-height: .94;
  letter-spacing: -.06em;
}

.em-price-card p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.62;
}

.em-price-card strong {
  display: block;
  margin-top: auto;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: .92;
  letter-spacing: -.06em;
}

.em-price-card small {
  color: rgba(255, 255, 255, .52);
  font-size: 13px;
  line-height: 1.5;
}

/* Responsive */

@media (max-width: 1180px) {
  .em-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .em-editorial-grid,
  .em-portfolio-head {
    grid-template-columns: 1fr;
  }

  .em-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-pricing-grid {
    grid-template-columns: 1fr;
  }

  .em-price-card {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .em-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .em-dashboard__body {
    grid-template-columns: 1fr;
  }

  .em-mail-card--wide,
  .em-mail-card--result,
  .em-flow {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .em-hero .dz-kicker,
  .em-section-head .dz-kicker,
  .em-pricing-intro .dz-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .em-hero .dz-title--xl {
    font-size: clamp(40px, 13vw, 58px);
    line-height: .92;
    letter-spacing: -.06em;
  }

  .em-section-head .dz-title,
  .em-pricing-intro .dz-title {
    font-size: clamp(36px, 11vw, 52px) !important;
    line-height: .92 !important;
    letter-spacing: -.06em !important;
  }

  .em-card-grid,
  .em-feature-grid,
  .em-pricing-grid {
    grid-template-columns: 1fr;
  }

  .em-card,
  .em-feature-card {
    min-height: 0;
  }

  .em-process-step {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }

  .em-process-step b {
    width: 48px;
    height: 48px;
  }

  .em-dashboard__body {
    padding: 18px;
  }

  .em-mail-card,
  .em-gallery-frame,
  .em-price-card {
    padding: 24px 20px;
  }
}
/* =========================================================
   Email marketing cards fix
   Naslovi u karticama da ne beze i da sekcija izgleda uredno
   ========================================================= */

.em-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.em-card {
  min-width: 0;
  overflow: hidden;
}

.em-card strong {
  display: block;
  max-width: 100%;
  margin-bottom: 16px;
  font-size: clamp(19px, 1.3vw, 30px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.em-card span {
  max-width: 100%;
}

/* Malo ranije spustamo broj kolona da duze reci ne pucaju */
@media (max-width: 1360px) {
  .em-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .em-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .em-card-grid {
    grid-template-columns: 1fr;
  }

  .em-card strong {
    font-size: clamp(24px, 6vw, 32px);
  }
}
/* =========================================================
   Email marketing cards final fix
   Bez secenja teksta, naslov sa clamp skaliranjem
   ========================================================= */

.em-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
}

.em-card {
  min-width: 0 !important;
  overflow: visible !important;
  height: auto !important;
}

.em-card strong {
  display: block !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
  font-size: clamp(21px, 1.35vw, 29px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: manual !important;
}

.em-card span {
  display: block !important;
  max-width: 100% !important;
  overflow: visible !important;
  font-size: clamp(14px, 0.95vw, 15px) !important;
  line-height: 1.52 !important;
}

/* Na malo manjim desktopima je bolje 3 kolone nego da kartice guse tekst */
@media (max-width: 1420px) {
  .em-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .em-card strong {
    font-size: clamp(25px, 2.2vw, 35px) !important;
  }
}

@media (max-width: 900px) {
  .em-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .em-card-grid {
    grid-template-columns: 1fr !important;
  }

  .em-card strong {
    font-size: clamp(26px, 7vw, 36px) !important;
  }
}