/* NaMyti.cz | PILOT 02 | 2026-10-29
   Kategorie Autokosmetika (body.id-817) POUZE.
   Jedna externi kopie puvodniho inline CSS svitku.
   Nemeni globalni Futura/IBM, CLS fix, filtry ani ostatni kategorie.
   Bez globalniho overflow-x hacku.
   Po nahrani: nejprve pripojit do head, teprve potom odstranit inline CSS ze samotne kategorie.
*/

body.id-817 .amty-intro {
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto 30px !important;
  padding: 0 !important;
  font-family: "IBM Plex Sans", sans-serif !important;
  color: #1f2937 !important;
}

body.id-817 .amty-intro *,
body.id-817 .amty-intro *::before,
body.id-817 .amty-intro *::after {
  box-sizing: border-box !important;
}

body.id-817 .amty-intro p {
  color: #374151 !important;
  line-height: 1.8 !important;
  font-size: 16px !important;
}

body.id-817 .amty-intro a {
  color: #9a3412 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

body.id-817 .amty-intro a:hover,
body.id-817 .amty-intro a:focus {
  color: #7c2d12 !important;
}

body.id-817 .amty-intro strong {
  color: #111827 !important;
  font-weight: 800 !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 22px 18px 24px !important;
  background:
    linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid rgba(15,23,42,0.12) !important;
  border-left: 6px solid #9a3412 !important;
  border-radius: 0 18px 18px 0 !important;
  box-shadow:
    0 10px 28px rgba(15,23,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.75) !important;
  overflow: hidden !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser::before {
  content: "✦" !important;
  position: absolute !important;
  left: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: rgba(154,52,18,0.28) !important;
  font-size: 18px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p {
  min-width: 0 !important;
  margin: 0 !important;
  color: #1f2937 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  text-align: left !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p strong {
  color: #111827 !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p a {
  color: #111827 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(154,52,18,0.45) !important;
}

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p a:hover,
body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p a:focus {
  color: #9a3412 !important;
}

body.id-817 .amty-open-scroll {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  background: linear-gradient(145deg, #9a3412, #7c2d12) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  box-shadow: 0 6px 16px rgba(154,52,18,0.22) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease !important;
}

body.id-817 .amty-open-scroll:hover,
body.id-817 .amty-open-scroll:focus {
  background: linear-gradient(145deg, #7c2d12, #431407) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 9px 20px rgba(154,52,18,0.28) !important;
  outline: none !important;
}

body.id-817 .amty-intro[data-collapsed="false"] .amty-teaser {
  display: none !important;
}

body.id-817 .amty-full {
  margin-top: 20px !important;
  padding: 0 !important;
  animation: amtyPilotAutoFadeIn 0.25s ease both !important;
}

@keyframes  amtyPilotAutoFadeIn  {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.id-817 .amty-automachina-hero {
  text-align: center !important;
  margin: 0 auto !important;
}

body.id-817 .amty-automachina-hero img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 24px auto !important;
  border-radius: 18px !important;
  box-shadow:
    0 18px 44px rgba(15,23,42,0.20) !important;
}

body.id-817 .automytology-text {
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 4px !important;
}

body.id-817 .automytology-text h2 {
  color: #111827 !important;
  font-size: clamp(24px, 4vw, 34px) !important;
  line-height: 1.25 !important;
  margin: 0 0 18px !important;
  font-weight: 900 !important;
  text-align: justify !important;
}

body.id-817 .automytology-text p {
  color: #374151 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  margin: 0 0 16px !important;
}

body.id-817 .automytology-text p:last-child {
  margin-bottom: 0 !important;
}

body.id-817 .automytology-text a {
  color: #9a3412 !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

body.id-817 .automytology-text a:hover,
body.id-817 .automytology-text a:focus {
  color: #7c2d12 !important;
}

body.id-817 .automytology-text strong {
  color: #111827 !important;
  font-weight: 800 !important;
}

body.id-817 .amty-close-scroll {
  display: block !important;
  margin: 26px auto 0 !important;
  padding: 12px 24px !important;
  background: #111827 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  box-shadow: 0 8px 20px rgba(15,23,42,0.18) !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease !important;
}

body.id-817 .amty-close-scroll:hover,
body.id-817 .amty-close-scroll:focus {
  background: #9a3412 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 24px rgba(154,52,18,0.24) !important;
  outline: none !important;
}

@media  (max-width: 768px)  {
body.id-817 .amty-intro {
    margin-bottom: 24px !important;
  }

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 16px !important;
    border-left: 4px solid #9a3412 !important;
    border-radius: 14px !important;
  }

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser::before {
    display: none !important;
  }

body.id-817 .amty-intro[data-collapsed="true"] .amty-teaser p {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

body.id-817 .amty-open-scroll {
    width: 100% !important;
    font-size: 12px !important;
    padding: 10px 14px !important;
    text-align: center !important;
  }

body.id-817 .automytology-text h2 {
    font-size: 24px !important;
  }

body.id-817 .automytology-text p {
    font-size: 15px !important;
  }

body.id-817 .amty-close-scroll {
    width: 100% !important;
    max-width: 280px !important;
  }
}
