/* ========================================================================== 
   TUTORize Praxiswissen – Editorial Article System
   Scope: TUTORize Praxiswissen only
   Odoo 16 Enterprise / website_blog
   ========================================================================== */

.tz-pw-hero,
.tz-pw-main {
  --tz-pw-primary: #009ee0;
  --tz-pw-navy: #050a30;
  --tz-pw-teal: #003f5d;
  --tz-pw-light: #cee7f7;
  --tz-pw-ink: #061033;
  --tz-pw-text: #24324a;
  --tz-pw-muted: #66758b;
  --tz-pw-border: #e3eaf1;
  --tz-pw-bg: #f6f8fb;
  --tz-pw-white: #ffffff;
  --tz-pw-radius: 22px;
  --tz-pw-radius-sm: 16px;
  --tz-pw-shadow: 0 14px 38px rgba(5, 10, 48, 0.08);
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.tz-pw-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 260px at 82% 10%, rgba(0, 158, 224, 0.12), transparent 68%),
    linear-gradient(145deg, #f7fbfe 0%, #eef7fc 58%, #ffffff 100%);
  border-bottom: 1px solid rgba(0, 63, 93, 0.08);
  color: var(--tz-pw-text);
}

.tz-pw-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 63, 93, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 63, 93, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 90%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 90%);
}

.tz-pw-hero__container {
  position: relative;
  max-width: 1180px;
  padding-top: 58px;
  padding-bottom: 50px;
}

.tz-pw-hero__content {
  max-width: 980px;
}

.tz-pw-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tz-pw-topic-chip,
.tz-pw-topic-chip:hover {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid rgba(0, 158, 224, 0.22);
  border-radius: 999px;
  background: rgba(0, 158, 224, 0.08);
  color: var(--tz-pw-teal);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.tz-pw-topic-chip:hover {
  background: rgba(0, 158, 224, 0.13);
  border-color: rgba(0, 158, 224, 0.34);
}

.tz-pw-hero__title {
  max-width: 960px;
  margin: 0;
  color: var(--tz-pw-navy) !important;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}

.tz-pw-hero__standfirst {
  max-width: 900px;
  margin-top: 22px;
  color: #435269 !important;
  font-size: 19px;
  font-weight: 450;
  line-height: 1.62;
}

.tz-pw-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--tz-pw-muted);
  font-size: 14px;
  line-height: 1.4;
}

.tz-pw-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tz-pw-hero__meta-separator {
  color: #a6b2c1;
}

.tz-pw-hero__author {
  color: var(--tz-pw-ink);
  font-weight: 650;
}

.tz-pw-hero__avatar {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tz-pw-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   PAGE SHELL / BREADCRUMBS / TOC
   -------------------------------------------------------------------------- */
.tz-pw-main {
  background: var(--tz-pw-white);
  color: var(--tz-pw-text);
}

.tz-pw-main__container {
  max-width: 1180px;
  padding-top: 30px;
  padding-bottom: 88px;
}

.tz-pw-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 36px;
  color: #8592a5;
  font-size: 13.5px;
  line-height: 1.4;
}

.tz-pw-breadcrumbs a {
  color: var(--tz-pw-teal);
  font-weight: 600;
}

.tz-pw-breadcrumbs__current {
  overflow: hidden;
  max-width: 520px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tz-pw-layout {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(230px, 280px);
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}

.tz-pw-sidebar {
  min-width: 0;
}

.tz-pw-sidebar__sticky {
  position: sticky;
  top: 110px;
}

.tz-pw-toc {
  padding: 22px 20px;
  border: 1px solid var(--tz-pw-border);
  border-radius: var(--tz-pw-radius-sm);
  background: #fbfcfe;
}

.tz-pw-toc__title {
  margin-bottom: 14px;
  color: var(--tz-pw-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tz-pw-toc__nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tz-pw-toc__link {
  position: relative;
  display: block;
  padding: 7px 9px 7px 13px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  color: #657388;
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.35;
  text-decoration: none !important;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.tz-pw-toc__link:hover {
  background: rgba(0, 158, 224, 0.06);
  color: var(--tz-pw-teal);
}

.tz-pw-toc__link.is-active {
  border-left-color: var(--tz-pw-primary);
  background: rgba(0, 158, 224, 0.075);
  color: var(--tz-pw-navy);
  font-weight: 700;
}

.tz-pw-toc__link--h3 {
  padding-left: 25px;
  font-size: 12.75px;
}

.tz-pw-toc__toggle {
  display: none;
}

/* --------------------------------------------------------------------------
   ARTICLE TYPOGRAPHY
   -------------------------------------------------------------------------- */
.tz-pw-article {
  min-width: 0;
}

.tz-pw-article__body {
  color: var(--tz-pw-text);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
}

.tz-pw-article__body > p:first-of-type {
  color: #1d2c43;
  font-size: 20px;
  line-height: 1.72;
}

.tz-pw-article__body p {
  margin: 0 0 22px;
}

.tz-pw-article__body h2 {
  margin: 74px 0 22px;
  color: var(--tz-pw-navy);
  font-size: 35px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.13;
  text-wrap: balance;
}

.tz-pw-article__body h3 {
  margin: 42px 0 13px;
  color: var(--tz-pw-teal);
  font-size: 24px;
  font-weight: 780;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.tz-pw-article__body h4 {
  margin: 34px 0 10px;
  color: var(--tz-pw-ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.tz-pw-article__body strong {
  color: #14213a;
  font-weight: 750;
}

.tz-pw-article__body a {
  color: #007fba;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 127, 186, 0.25);
  text-underline-offset: 3px;
}

.tz-pw-article__body a:hover {
  color: #006f9f;
  text-decoration-color: currentColor;
}

.tz-pw-article__body ul,
.tz-pw-article__body ol {
  margin: 12px 0 26px;
  padding-left: 1.3em;
}

.tz-pw-article__body li {
  margin-bottom: 9px;
  padding-left: 5px;
}

.tz-pw-article__body blockquote,
.tz-blog-quote {
  position: relative;
  margin: 44px 0;
  padding: 26px 30px 26px 32px;
  border: 0;
  border-left: 4px solid var(--tz-pw-primary);
  border-radius: 0 var(--tz-pw-radius-sm) var(--tz-pw-radius-sm) 0;
  background: #f2f8fc;
  color: var(--tz-pw-navy);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.55;
}

.tz-pw-article__body blockquote p:last-child,
.tz-blog-quote p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   EDITORIAL MODULES
   -------------------------------------------------------------------------- */
.tz-blog-takeaways {
  margin: 8px 0 52px;
  padding: 28px 30px;
  border: 1px solid rgba(0, 63, 93, 0.11);
  border-radius: var(--tz-pw-radius);
  background:
    radial-gradient(420px 170px at 100% 0%, rgba(0, 158, 224, 0.09), transparent 72%),
    #f7fafc;
}

.tz-blog-takeaways__label,
.tz-blog-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--tz-pw-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.tz-blog-takeaways__title {
  margin: 0 0 15px !important;
  color: var(--tz-pw-navy) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.tz-blog-takeaways ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tz-blog-takeaways li {
  position: relative;
  margin: 0;
  padding: 0 0 0 26px;
  color: #314059;
  font-size: 16px;
  line-height: 1.55;
}

.tz-blog-takeaways li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tz-pw-primary);
  box-shadow: 0 0 0 5px rgba(0, 158, 224, 0.10);
}

.tz-blog-callout {
  margin: 42px 0;
  padding: 25px 28px;
  border: 1px solid var(--tz-pw-border);
  border-radius: var(--tz-pw-radius-sm);
  background: #fbfcfe;
}

.tz-blog-callout--key {
  border-color: rgba(0, 158, 224, 0.22);
  background: linear-gradient(135deg, rgba(0, 158, 224, 0.09), rgba(206, 231, 247, 0.22));
}

.tz-blog-callout--note {
  border-left: 4px solid var(--tz-pw-teal);
}

.tz-blog-callout--warning {
  border-left: 4px solid #d78b00;
  background: #fffaf0;
}

.tz-blog-callout p:last-child {
  margin-bottom: 0;
}

.tz-blog-data {
  margin: 46px 0;
  padding: 30px;
  border-radius: var(--tz-pw-radius);
  background: var(--tz-pw-navy);
  color: #fff;
  box-shadow: var(--tz-pw-shadow);
}

.tz-blog-data .tz-blog-label {
  color: #73cff4;
}

.tz-blog-data__title {
  margin: 0 0 22px !important;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.25 !important;
}

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

.tz-blog-stat {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.tz-blog-stat__value {
  display: block;
  margin-bottom: 8px;
  color: #7bd4f6;
  font-size: 42px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.tz-blog-stat__label {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.tz-blog-data__source {
  margin: 16px 0 0 !important;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 12.5px !important;
  line-height: 1.45 !important;
}

.tz-blog-visual {
  margin: 48px 0;
  padding: 30px;
  border: 1px solid var(--tz-pw-border);
  border-radius: var(--tz-pw-radius);
  background: #f8fafc;
}

.tz-blog-visual__title {
  margin: 0 0 20px !important;
  color: var(--tz-pw-navy) !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
}

.tz-blog-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tz-blog-compare__col {
  padding: 22px;
  border: 1px solid var(--tz-pw-border);
  border-radius: 16px;
  background: #fff;
}

.tz-blog-compare__col--accent {
  border-color: rgba(0, 158, 224, 0.24);
  background: rgba(0, 158, 224, 0.055);
}

.tz-blog-compare__heading {
  display: block;
  margin-bottom: 12px;
  color: var(--tz-pw-teal);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tz-blog-compare ul {
  margin: 0;
  padding-left: 1.1em;
}

.tz-blog-compare li {
  margin-bottom: 7px;
  color: #435269;
  font-size: 15px;
  line-height: 1.45;
}

.tz-blog-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 30px 0 46px;
}

.tz-blog-skill-card {
  padding: 21px 22px;
  border: 1px solid var(--tz-pw-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(5, 10, 48, 0.045);
}

.tz-blog-skill-card__title {
  margin: 0 0 7px !important;
  color: var(--tz-pw-teal) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.tz-blog-skill-card p {
  margin: 0 !important;
  color: #59687c;
  font-size: 14.5px;
  line-height: 1.5;
}

.tz-blog-framework {
  display: grid;
  gap: 14px;
  margin: 34px 0 52px;
}

.tz-blog-framework__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border: 1px solid var(--tz-pw-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(5, 10, 48, 0.04);
}

.tz-blog-framework__num {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(0, 158, 224, 0.10);
  color: var(--tz-pw-teal);
  font-size: 18px;
  font-weight: 850;
}

.tz-blog-framework__content h3,
.tz-blog-framework__content h4 {
  margin: 1px 0 7px !important;
  color: var(--tz-pw-navy) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.tz-blog-framework__content p {
  margin: 0 !important;
  color: #4d5b70;
  font-size: 15px;
  line-height: 1.55;
}

.tz-blog-progression {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.tz-blog-progression__step {
  position: relative;
  min-height: 112px;
  padding: 16px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--tz-pw-border);
  color: #4c5b70;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
}

.tz-blog-progression__step strong {
  display: block;
  margin-bottom: 7px;
  color: var(--tz-pw-teal);
  font-size: 14px;
}

.tz-blog-sources {
  margin-top: 74px;
  padding-top: 32px;
  border-top: 1px solid var(--tz-pw-border);
}

.tz-blog-sources h2,
.tz-blog-sources h3 {
  margin-top: 0 !important;
  font-size: 24px !important;
}

.tz-blog-sources ul {
  margin: 0;
  padding-left: 1.15em;
}

.tz-blog-sources li {
  margin-bottom: 9px;
  color: #647286;
  font-size: 14px;
  line-height: 1.5;
}

.tz-blog-further,
.tz-blog-cta {
  margin: 56px 0 10px;
  padding: 27px 29px;
  border: 1px solid rgba(0, 158, 224, 0.18);
  border-radius: var(--tz-pw-radius);
  background: linear-gradient(135deg, rgba(0, 158, 224, 0.065), rgba(206, 231, 247, 0.22));
}

.tz-blog-further h2,
.tz-blog-further h3,
.tz-blog-cta h2,
.tz-blog-cta h3 {
  margin: 0 0 10px !important;
  color: var(--tz-pw-navy) !important;
  font-size: 22px !important;
}

.tz-blog-further p:last-child,
.tz-blog-cta p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   TAGS
   -------------------------------------------------------------------------- */
.tz-pw-article-tags {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--tz-pw-border);
}

.tz-pw-article-tags__label {
  display: block;
  margin-bottom: 11px;
  color: #7b899c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tz-pw-article-tags__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tz-pw-tag,
.tz-pw-tag:hover {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--tz-pw-border);
  border-radius: 999px;
  background: #f8fafc;
  color: #56657a;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none;
}

.tz-pw-tag:hover {
  border-color: rgba(0, 158, 224, 0.24);
  color: var(--tz-pw-teal);
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .tz-pw-hero__container {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .tz-pw-main__container {
    padding-top: 24px;
    padding-bottom: 72px;
  }

  .tz-pw-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .tz-pw-article {
    order: 2;
    width: 100%;
  }

  .tz-pw-sidebar {
    order: 1;
    width: 100%;
  }

  .tz-pw-sidebar__sticky {
    position: static;
  }

  .tz-pw-toc__toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid var(--tz-pw-border);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--tz-pw-navy);
    font-size: 14px;
    font-weight: 750;
  }

  .tz-pw-toc {
    display: none;
    margin-top: 8px;
  }

  .tz-pw-sidebar.is-open .tz-pw-toc {
    display: block;
  }

  .tz-pw-sidebar.is-open .tz-pw-toc__toggle i {
    transform: rotate(180deg);
  }

  .tz-pw-toc__title {
    display: none;
  }

  .tz-blog-progression {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .tz-pw-hero__container,
  .tz-pw-main__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tz-pw-hero__container {
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .tz-pw-hero__title {
    font-size: 36px;
    line-height: 1.08;
  }

  .tz-pw-hero__standfirst {
    margin-top: 17px;
    font-size: 17px;
    line-height: 1.58;
  }

  .tz-pw-hero__meta {
    margin-top: 20px;
    gap: 8px;
    font-size: 13px;
  }

  .tz-pw-hero__meta-separator {
    display: none;
  }

  .tz-pw-hero__meta-item {
    width: 100%;
  }

  .tz-pw-breadcrumbs {
    margin-bottom: 22px;
  }

  .tz-pw-breadcrumbs__current {
    display: none;
  }

  .tz-pw-article__body {
    font-size: 17.5px;
    line-height: 1.7;
  }

  .tz-pw-article__body > p:first-of-type {
    font-size: 18px;
  }

  .tz-pw-article__body h2 {
    margin-top: 58px;
    font-size: 29px;
  }

  .tz-pw-article__body h3 {
    margin-top: 34px;
    font-size: 22px;
  }

  .tz-blog-takeaways,
  .tz-blog-data,
  .tz-blog-visual,
  .tz-blog-further,
  .tz-blog-cta {
    margin-left: -4px;
    margin-right: -4px;
    padding: 22px 20px;
    border-radius: 18px;
  }

  .tz-blog-data-grid,
  .tz-blog-compare,
  .tz-blog-skill-grid {
    grid-template-columns: 1fr;
  }

  .tz-blog-framework__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .tz-blog-framework__num {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 16px;
  }

  .tz-blog-progression {
    grid-template-columns: 1fr;
  }

  .tz-blog-progression__step {
    min-height: auto;
    text-align: left;
  }

  .tz-pw-article__body blockquote,
  .tz-blog-quote {
    margin: 36px 0;
    padding: 22px 22px 22px 24px;
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tz-pw-toc__link,
  .tz-pw-toc__toggle i {
    transition: none;
  }
}
