/* TD-LIVE-ORDER-FIX-20260927-2149 */
/* ThinkingDog LearnPress frontend polish */
:root {
  --td-lp-blue: #07549A;
  --td-lp-dark: #0B3554;
  --td-lp-yellow: #F6B800;
  --td-lp-sand: #F4EFE7;
  --td-lp-line: #D7E3E8;
}

/* LearnPress confirmation modal */
.learnpress-page .lp-overlay .lp-modal-dialog,
.learnpress .lp-overlay .lp-modal-dialog {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(11, 53, 84, 0.22);
}

.learnpress-page .lp-overlay .lp-modal-header,
.learnpress .lp-overlay .lp-modal-header {
  background: var(--td-lp-blue);
  color: #fff;
  padding: 24px 32px;
}

.learnpress-page .lp-overlay .lp-modal-header .modal-title,
.learnpress .lp-overlay .lp-modal-header .modal-title {
  color: #fff;
  font-weight: 700;
  margin: 0;
}

.learnpress-page .lp-overlay .lp-modal-body,
.learnpress .lp-overlay .lp-modal-body {
  color: var(--td-lp-dark);
  background: #fff;
  padding: 28px 32px;
}

.learnpress-page .lp-overlay .lp-modal-footer,
.learnpress .lp-overlay .lp-modal-footer {
  background: var(--td-lp-sand);
  padding: 20px 32px;
  border-top: 1px solid var(--td-lp-line);
}

.learnpress-page .lp-overlay .lp-button,
.learnpress .lp-overlay .lp-button {
  border-radius: 10px;
  min-width: 110px;
  min-height: 46px;
  font-weight: 700;
}

.learnpress-page .lp-overlay .lp-button.btn-yes,
.learnpress .lp-overlay .lp-button.btn-yes {
  background: var(--td-lp-yellow);
  border-color: var(--td-lp-yellow);
  color: var(--td-lp-blue);
}

.learnpress-page .lp-overlay .lp-button.btn-yes:hover,
.learnpress-page .lp-overlay .lp-button.btn-yes:focus,
.learnpress .lp-overlay .lp-button.btn-yes:hover,
.learnpress .lp-overlay .lp-button.btn-yes:focus {
  filter: brightness(0.96);
  color: var(--td-lp-dark);
}

.learnpress-page .lp-overlay .lp-button.btn-no,
.learnpress .lp-overlay .lp-button.btn-no {
  background: #fff;
  border: 1px solid var(--td-lp-line);
  color: var(--td-lp-dark);
}

/* Vom Trick zum Klick – kompletter Corporate-Design-Rahmen */
body.postid-585 {
  --td-lp-blue: #07549A;
  --td-lp-dark: #0B3554;
  --td-lp-yellow: #F6B800;
  --td-lp-sand: #F4EFE7;
  --td-lp-line: #D7E3E8;
  --td-lp-soft: #EEF5F8;
  --td-lp-radius: 14px;
  color: var(--td-lp-dark);
}

body.postid-585 h1,
body.postid-585 h2,
body.postid-585 h3,
body.postid-585 h4,
body.postid-585 h5,
body.postid-585 h6 {
  color: var(--td-lp-blue);
}

body.postid-585 a:focus-visible,
body.postid-585 button:focus-visible,
body.postid-585 input:focus-visible,
body.postid-585 textarea:focus-visible {
  outline: 3px solid rgba(246, 184, 0, .48);
  outline-offset: 3px;
}

/* Passwortschutz vor dem Launch */
body.postid-585 .post-password-form {
  max-width: 760px;
  margin: 42px auto;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  color: var(--td-lp-dark);
  border: 1px solid var(--td-lp-line);
  border-left: 6px solid var(--td-lp-yellow);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(11, 53, 84, .08);
}

body.postid-585 .post-password-form input[type="password"] {
  width: min(100%, 440px);
  min-height: 48px;
  padding: 10px 14px;
  background: #fff;
  color: var(--td-lp-dark);
  border: 1px solid var(--td-lp-line);
  border-radius: 10px;
}

body.postid-585 .post-password-form input[type="submit"] {
  min-height: 48px;
  padding: 10px 24px;
  background: var(--td-lp-yellow);
  color: var(--td-lp-blue);
  border: 2px solid var(--td-lp-yellow);
  border-radius: 10px;
  font-weight: 800;
  box-shadow: none;
}

body.postid-585 .post-password-form input[type="submit"]:hover,
body.postid-585 .post-password-form input[type="submit"]:focus {
  background: var(--td-lp-blue);
  border-color: var(--td-lp-blue);
  color: #fff;
}

/* Fokusmodus: Kopfzeile, Navigation und Seitenleiste */
body.postid-585.course-item-popup #popup-header,
body.postid-585.course-item-popup .popup-header,
body.postid-585.course-item-popup .course-summary .course-content-header {
  background: var(--td-lp-blue);
  color: #fff;
  border-bottom: 4px solid var(--td-lp-yellow);
  box-shadow: none;
}

body.postid-585.course-item-popup #popup-header *,
body.postid-585.course-item-popup .popup-header *,
body.postid-585.course-item-popup .course-summary .course-content-header * {
  color: #fff;
}

body.postid-585.course-item-popup #popup-sidebar,
body.postid-585.course-item-popup .course-summary .course-sidebar {
  background: #fff;
  border-right: 1px solid var(--td-lp-line);
  box-shadow: none;
}

body.postid-585.course-item-popup .course-section__header,
body.postid-585.course-item-popup .course-section-header,
body.postid-585.course-item-popup .section-header {
  background: var(--td-lp-soft);
  color: var(--td-lp-blue);
  border-bottom: 1px solid var(--td-lp-line);
}

body.postid-585.course-item-popup .course-section__header:hover,
body.postid-585.course-item-popup .course-section-header:hover,
body.postid-585.course-item-popup .section-header:hover {
  background: #E6F0F5;
}

body.postid-585.course-item-popup .items-progress {
  color: #fff;
}

body.postid-585.course-item-popup .learn-press-progress {
  background: rgba(255,255,255,.48);
}

body.postid-585.course-item-popup .learn-press-progress__active {
  background: var(--td-lp-yellow);
}

/* Vom Trick zum Klick – Teilnehmeransicht */
body.postid-585.course-item-popup .lp-course-curriculum {
  background: #fff;
  border-right: 1px solid var(--td-lp-line);
}

body.postid-585.course-item-popup .course-curriculum {
  background: #fff;
  color: var(--td-lp-dark);
}

body.postid-585.course-item-popup .course-section {
  border-bottom: 1px solid var(--td-lp-line);
}

body.postid-585.course-item-popup .course-section__title,
body.postid-585.course-item-popup .section-title,
body.postid-585.course-item-popup .course-section .section-header {
  color: var(--td-lp-blue);
  font-weight: 800;
}

body.postid-585.course-item-popup .course-item {
  background: #fff;
  color: var(--td-lp-dark);
  border-bottom: 1px solid var(--td-lp-line);
}

body.postid-585.course-item-popup .course-item__link {
  color: var(--td-lp-dark);
  text-decoration: none;
}

body.postid-585.course-item-popup .course-item:hover,
body.postid-585.course-item-popup .course-item:focus-within {
  background: #f7fafc;
}

body.postid-585.course-item-popup .course-item.current {
  background: #fff4c2;
  border-left: 5px solid var(--td-lp-yellow);
}

body.postid-585.course-item-popup .course-item.current .course-item__link {
  color: var(--td-lp-blue);
  font-weight: 800;
}

body.postid-585.course-item-popup .course-item.completed .course-item__link,
body.postid-585.course-item-popup .course-item.status-completed .course-item__link {
  color: var(--td-lp-blue);
}

body.postid-585.course-item-popup .course-item-ico.completed,
body.postid-585.course-item-popup .course-item.completed .course-item-ico,
body.postid-585.course-item-popup .course-item.status-completed .course-item-ico {
  color: var(--td-lp-blue) !important;
}

body.postid-585.course-item-popup .course-item-ico.in-progress {
  color: #8797A5;
}

body.postid-585.course-item-popup .course-item-nav {
  border-top: 1px solid var(--td-lp-line);
  margin-top: 36px;
  padding-top: 22px;
}

body.postid-585.course-item-popup .course-item-nav a {
  color: var(--td-lp-blue);
  font-weight: 800 !important;
  text-decoration: none;
}

body.postid-585.course-item-popup .course-item-nav a:hover,
body.postid-585.course-item-popup .course-item-nav a:focus {
  color: var(--td-lp-dark);
  text-decoration: underline;
  text-decoration-color: var(--td-lp-yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

body.postid-585.course-item-popup .button-complete-lesson {
  background: var(--td-lp-yellow);
  border: 2px solid var(--td-lp-yellow);
  color: var(--td-lp-blue);
  border-radius: 10px;
  font-weight: 800;
  box-shadow: none;
  text-transform: none;
}

body.postid-585.course-item-popup .button-complete-lesson:hover,
body.postid-585.course-item-popup .button-complete-lesson:focus {
  color: var(--td-lp-dark);
  filter: brightness(0.97);
}

body.postid-585.course-item-popup .button-complete-lesson.completed {
  background: var(--td-lp-blue);
  border-color: var(--td-lp-blue);
  color: #fff;
}

/* LearnPress progress indicators used in course/focus mode */
body.postid-585 .learn-press-progress {
  background: #edf2f5;
  border-radius: 999px;
  overflow: hidden;
}

body.postid-585 .learn-press-progress__active {
  background: var(--td-lp-yellow);
  border-radius: 999px;
}

body.postid-585 .items-progress {
  color: #fff;
  font-weight: 700;
}

body.postid-585 .course-progress .progress-bg,
body.postid-585 .learn-press-progress .progress-bg,
body.postid-585 .lp-progress-bar {
  background: #edf2f5;
}

body.postid-585 .course-progress .progress-active,
body.postid-585 .learn-press-progress .progress-active,
body.postid-585 .lp-progress-value,
body.postid-585 .lp-progress-bar__value {
  background: var(--td-lp-blue);
}

body.postid-585 .course-progress .progress-number,
body.postid-585 .learn-press-progress .progress-number,
body.postid-585 .lp-progress-percentage {
  color: var(--td-lp-blue);
  font-weight: 800;
}

/* Lesson completion action */
.learnpress-page .button-complete-lesson,
.learnpress .button-complete-lesson,
.learnpress-page .lp-overlay .modal-title,
.learnpress .lp-overlay .modal-title {
  text-transform: none;
}

/* Completion state */
.learnpress-page .learn-press-message.success,
.learnpress-page .lp-course-status .learn-press-message,
.learnpress-page .course-item-status,
.learnpress-page .course-item-status.completed {
  background: var(--td-lp-sand);
  border: 1px solid var(--td-lp-line);
  border-left: 5px solid var(--td-lp-yellow);
  border-radius: 14px;
  color: var(--td-lp-dark);
  padding: 18px 22px;
}

.learnpress-page .lp-button.completed,
.learnpress-page button.completed,
.learnpress-page .course-item-status .lp-button {
  background: var(--td-lp-blue);
  border-color: var(--td-lp-blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: none;
}

/* LearnPress notices and access messages */
body.postid-585 .learn-press-message,
body.postid-585 .lp-message,
body.postid-585 [class*="learn-press-message"] {
  background: var(--td-lp-sand);
  color: var(--td-lp-dark);
  border: 1px solid var(--td-lp-line);
  border-left: 5px solid var(--td-lp-yellow);
  border-radius: 12px;
  box-shadow: none;
}

body.postid-585 .learn-press-message a,
body.postid-585 .lp-message a,
body.postid-585 [class*="learn-press-message"] a {
  color: var(--td-lp-blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Focus mode search */
body.postid-585.course-item-popup .search-course input[type="text"] {
  background: #fff;
  color: var(--td-lp-dark);
  border-color: var(--td-lp-line);
}

body.postid-585.course-item-popup .search-course input[type="text"]:focus {
  border-color: var(--td-lp-yellow);
  outline: 3px solid rgba(246, 184, 0, 0.24);
}

body.postid-585.course-item-popup .search-course button {
  color: var(--td-lp-blue);
}

/* Lesson comments / feedback form */
.learnpress-page #respond,
.learnpress-page .comment-respond {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--td-lp-line);
}

.learnpress-page #reply-title,
.learnpress-page .comment-reply-title {
  color: var(--td-lp-blue);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.2;
  font-weight: 750;
  margin-bottom: 22px;
}

.learnpress-page .comment-form label {
  color: var(--td-lp-dark);
  font-weight: 700;
}

.learnpress-page .comment-form textarea,
.learnpress-page .comment-form input[type="text"],
.learnpress-page .comment-form input[type="email"],
.learnpress-page .comment-form input[type="url"] {
  width: 100%;
  background: #fff;
  color: var(--td-lp-dark);
  border: 1px solid var(--td-lp-line);
  border-radius: 12px;
  box-shadow: none;
  padding: 14px 16px;
}

.learnpress-page .comment-form textarea:focus,
.learnpress-page .comment-form input:focus {
  outline: 3px solid rgba(246, 184, 0, 0.28);
  border-color: var(--td-lp-yellow);
}

.learnpress-page .comment-form .submit,
.learnpress-page .form-submit input[type="submit"] {
  background: var(--td-lp-yellow);
  border: 2px solid var(--td-lp-yellow);
  color: var(--td-lp-blue);
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 22px;
  box-shadow: none;
}

.learnpress-page .comment-form .submit:hover,
.learnpress-page .comment-form .submit:focus,
.learnpress-page .form-submit input[type="submit"]:hover,
.learnpress-page .form-submit input[type="submit"]:focus {
  color: var(--td-lp-dark);
  filter: brightness(0.97);
}

@media (max-width: 760px) {
  body.postid-585 .post-password-form {
    margin: 24px 16px;
    padding: 22px 18px;
  }

  body.postid-585.course-item-popup .content-item-summary {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.postid-585.course-item-popup .content-item-summary h1,
  body.postid-585.course-item-popup .content-item-summary h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
    line-height: 1.2;
  }

  body.postid-585.course-item-popup .course-item-nav {
    gap: 14px;
    margin-top: 28px;
    padding-top: 18px;
  }

  body.postid-585.course-item-popup .button-complete-lesson {
    max-width: 100%;
    min-height: 46px;
    padding: 10px 20px;
  }

  .learnpress-page .lp-overlay .lp-modal-dialog,
  .learnpress .lp-overlay .lp-modal-dialog {
    width: calc(100vw - 32px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .learnpress-page .lp-overlay .lp-modal-header,
  .learnpress-page .lp-overlay .lp-modal-body,
  .learnpress-page .lp-overlay .lp-modal-footer,
  .learnpress .lp-overlay .lp-modal-header,
  .learnpress .lp-overlay .lp-modal-body,
  .learnpress .lp-overlay .lp-modal-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .learnpress-page #reply-title,
  .learnpress-page .comment-reply-title {
    font-size: 1.55rem;
  }
}

/* ThinkingDog Checkout */
body.learnpress-checkout {
  --td-checkout-blue: #07549A;
  --td-checkout-dark: #0B3554;
  --td-checkout-yellow: #F6B800;
  --td-checkout-sand: #F4EFE7;
  --td-checkout-line: #D7E3E8;
  --td-checkout-soft: #EEF5F8;
  background: var(--td-checkout-sand);
  color: var(--td-checkout-dark);
}

body.learnpress-checkout .wp-site-blocks > .wp-block-group:has(.wp-block-post-title) {
  background: linear-gradient(180deg, #ffffff 0%, var(--td-checkout-sand) 100%) !important;
  border-bottom: 4px solid var(--td-checkout-yellow);
  padding: clamp(34px, 5vw, 64px) 24px !important;
}

body.learnpress-checkout .wp-block-post-title {
  max-width: 1140px;
  margin: 0 auto !important;
  color: var(--td-checkout-blue) !important;
  font-size: clamp(2.35rem, 5vw, 4rem) !important;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.learnpress-checkout main {
  background: var(--td-checkout-sand);
  padding: clamp(28px, 4vw, 52px) 20px clamp(52px, 7vw, 84px) !important;
}

body.learnpress-checkout #learn-press-checkout {
  max-width: 1140px;
  margin: 0 auto;
  color: var(--td-checkout-dark);
}

body.learnpress-checkout #learn-press-checkout h2,
body.learnpress-checkout #learn-press-checkout h3,
body.learnpress-checkout #learn-press-checkout h4 {
  color: var(--td-checkout-blue);
}

body.learnpress-checkout #learn-press-checkout a {
  color: var(--td-checkout-blue);
  text-underline-offset: 3px;
}

body.learnpress-checkout #learn-press-checkout .learn-press-message,
body.learnpress-checkout #learn-press-checkout .lp-message {
  background: #fff9df !important;
  color: var(--td-checkout-dark) !important;
  border: 1px solid #eadf9b !important;
  border-left: 5px solid var(--td-checkout-yellow) !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  box-shadow: none !important;
}

body.learnpress-checkout #learn-press-checkout input[type="text"],
body.learnpress-checkout #learn-press-checkout input[type="email"],
body.learnpress-checkout #learn-press-checkout input[type="tel"],
body.learnpress-checkout #learn-press-checkout input[type="password"],
body.learnpress-checkout #learn-press-checkout textarea,
body.learnpress-checkout #learn-press-checkout select {
  width: 100%;
  min-height: 48px;
  background: #fff !important;
  color: var(--td-checkout-dark) !important;
  border: 1px solid var(--td-checkout-line) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

body.learnpress-checkout #learn-press-checkout textarea {
  min-height: 140px;
}

body.learnpress-checkout #learn-press-checkout input::placeholder,
body.learnpress-checkout #learn-press-checkout textarea::placeholder {
  color: #71808C !important;
  opacity: 1;
}

body.learnpress-checkout #learn-press-checkout input:focus,
body.learnpress-checkout #learn-press-checkout textarea:focus,
body.learnpress-checkout #learn-press-checkout select:focus {
  outline: 3px solid rgba(246, 184, 0, .22);
  border-color: var(--td-checkout-yellow) !important;
}

body.learnpress-checkout #learn-press-checkout table {
  width: 100%;
  background: #fff;
  color: var(--td-checkout-dark);
  border: 1px solid var(--td-checkout-line);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,53,84,.06);
}

body.learnpress-checkout #learn-press-checkout th,
body.learnpress-checkout #learn-press-checkout td {
  padding: 16px 18px;
  color: var(--td-checkout-dark);
  border-color: var(--td-checkout-line);
  vertical-align: middle;
}

body.learnpress-checkout #learn-press-checkout th {
  color: var(--td-checkout-blue);
  font-weight: 800;
  background: #fbfdfe;
}

body.learnpress-checkout #learn-press-checkout img {
  border-radius: 8px;
}

body.learnpress-checkout #learn-press-checkout .payment-method,
body.learnpress-checkout #learn-press-checkout .lp-payment-method,
body.learnpress-checkout #learn-press-checkout [class*="payment-method"] {
  background: #fff !important;
  color: var(--td-checkout-dark) !important;
  border: 1px solid var(--td-checkout-line) !important;
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

body.learnpress-checkout #learn-press-checkout button,
body.learnpress-checkout #learn-press-checkout .button,
body.learnpress-checkout #learn-press-checkout .lp-button,
body.learnpress-checkout #learn-press-checkout input[type="submit"] {
  background: var(--td-checkout-yellow) !important;
  color: var(--td-checkout-blue) !important;
  border: 2px solid var(--td-checkout-yellow) !important;
  border-radius: 999px !important;
  min-height: 50px;
  padding: 12px 24px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.learnpress-checkout #learn-press-checkout button:hover,
body.learnpress-checkout #learn-press-checkout .button:hover,
body.learnpress-checkout #learn-press-checkout .lp-button:hover,
body.learnpress-checkout #learn-press-checkout input[type="submit"]:hover,
body.learnpress-checkout #learn-press-checkout button:focus,
body.learnpress-checkout #learn-press-checkout .button:focus,
body.learnpress-checkout #learn-press-checkout .lp-button:focus,
body.learnpress-checkout #learn-press-checkout input[type="submit"]:focus {
  background: var(--td-checkout-blue) !important;
  border-color: var(--td-checkout-blue) !important;
  color: #fff !important;
}

body.learnpress-checkout #learn-press-checkout .secure-connection,
body.learnpress-checkout #learn-press-checkout [class*="secure"] {
  color: #6D7D88 !important;
}

@media (max-width: 700px) {
  body.learnpress-checkout .wp-site-blocks > .wp-block-group:has(.wp-block-post-title) {
    padding: 30px 18px !important;
  }

  body.learnpress-checkout main {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.learnpress-checkout #learn-press-checkout th,
  body.learnpress-checkout #learn-press-checkout td {
    padding: 13px 12px;
  }

  body.learnpress-checkout #learn-press-checkout button,
  body.learnpress-checkout #learn-press-checkout .button,
  body.learnpress-checkout #learn-press-checkout .lp-button,
  body.learnpress-checkout #learn-press-checkout input[type="submit"] {
    width: 100%;
  }
}

/* LearnPress checkout: Bestellbestaetigung / order received (page ID 6) */
body.page-id-6 {
  --td-checkout-blue: #07549A;
  --td-checkout-dark: #0B3554;
  --td-checkout-yellow: #F6B800;
  --td-checkout-sand: #F4EFE7;
  --td-checkout-line: #D7E3E8;
  background: var(--td-checkout-sand);
  color: var(--td-checkout-dark) !important;
}

body.page-id-6 .wp-site-blocks > .wp-block-group:has(.wp-block-post-title) {
  background: linear-gradient(180deg, #ffffff 0%, var(--td-checkout-sand) 100%) !important;
  border-bottom: 4px solid var(--td-checkout-yellow);
  padding: clamp(34px, 5vw, 64px) 24px !important;
}

body.page-id-6 .wp-block-post-title {
  max-width: 1140px;
  margin: 0 auto !important;
  color: var(--td-checkout-blue) !important;
  font-size: clamp(2.35rem, 5vw, 4rem) !important;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.page-id-6 main {
  background: #fff;
  color: var(--td-checkout-dark) !important;
}

body.page-id-6 main,
body.page-id-6 main p,
body.page-id-6 main div,
body.page-id-6 main span,
body.page-id-6 main li,
body.page-id-6 main th,
body.page-id-6 main td,
body.page-id-6 main strong {
  color: var(--td-checkout-dark) !important;
}

body.page-id-6 main a {
  color: var(--td-checkout-blue) !important;
  text-decoration-color: var(--td-checkout-yellow);
  text-underline-offset: 3px;
}

body.page-id-6 main table {
  width: 100%;
  background: #fff;
  color: var(--td-checkout-dark) !important;
  border: 1px solid var(--td-checkout-line);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,53,84,.06);
}

body.page-id-6 main th,
body.page-id-6 main td {
  padding: 14px 16px;
  border-color: var(--td-checkout-line);
  vertical-align: middle;
}

body.page-id-6 main th {
  color: var(--td-checkout-blue) !important;
  font-weight: 800;
  background: #fbfdfe;
}

body.page-id-6 main tr:last-child td,
body.page-id-6 main tr:last-child th {
  background: #eef5fb;
}

@media (max-width: 700px) {
  body.page-id-6 .wp-site-blocks > .wp-block-group:has(.wp-block-post-title) {
    padding: 30px 18px !important;
  }

  body.page-id-6 main th,
  body.page-id-6 main td {
    padding: 12px 10px;
  }
}

/* ThinkingDog – Bestellbestätigung: Lesbarkeit erzwingen */
body.page-id-6 main,
body.page-id-6 main #learn-press-checkout,
body.page-id-6 main #learn-press-checkout *,
body.page-id-6 main .learn-press-checkout,
body.page-id-6 main .learn-press-checkout *,
body.page-id-6 main [class*="order-received"],
body.page-id-6 main [class*="order-received"] *,
body.page-id-6 main table,
body.page-id-6 main table * {
  color: #0B3554 !important;
}

body.page-id-6 main a,
body.page-id-6 main #learn-press-checkout a,
body.page-id-6 main [class*="order-received"] a {
  color: #07549A !important;
}

body.page-id-6 main table th,
body.page-id-6 main table td {
  background-color: #fff !important;
  border-color: #D7E3E8 !important;
}

body.page-id-6 main table tr:nth-child(even) th,
body.page-id-6 main table tr:nth-child(even) td {
  background-color: #F8FBFC !important;
}

/* TD-LIVE-ORDER-POLISH-20260927 */
/* Nur die Bestellbestaetigung verfeinern; der normale Checkout bleibt unveraendert. */
body.page-id-6:has(.order_details) .wp-site-blocks > .wp-block-group:has(.wp-block-post-title) {
  display: none !important;
}

body.page-id-6:has(.order_details) main {
  background: #fff !important;
  padding: clamp(38px, 5vw, 64px) 20px clamp(52px, 7vw, 84px) !important;
}

body.page-id-6:has(.order_details) main .entry-content,
body.page-id-6:has(.order_details) main .lp-content-area {
  width: 100%;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-6:has(.order_details) .lp-content-area > p:first-child {
  position: relative;
  margin: 0 0 18px !important;
  padding: 20px 24px 20px 66px !important;
  background: #FFF9DF !important;
  color: #0B3554 !important;
  border: 1px solid #EADF9B !important;
  border-left: 5px solid #F6B800 !important;
  border-radius: 14px !important;
  font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
  line-height: 1.45 !important;
  font-weight: 750 !important;
}

body.page-id-6:has(.order_details) .lp-content-area > p:first-child::before {
  content: "\2713";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F6B800;
  color: #07549A;
  font-size: 17px;
  font-weight: 900;
}

body.page-id-6:has(.order_details) .lp-content-area > p:nth-of-type(2) {
  margin: 0 0 28px !important;
  color: #52677A !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

body.page-id-6:has(.order_details) .lp-content-area > p:nth-of-type(2) a {
  display: inline-block;
  margin-inline: .16em;
  color: #07549A !important;
  font-weight: 750 !important;
  text-decoration: underline;
  text-decoration-color: #F6B800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.page-id-6:has(.order_details) .lp-table-wrap {
  overflow: hidden;
  border: 1px solid #D7E3E8;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(11, 53, 84, .08);
}

body.page-id-6:has(.order_details) table.order_details {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page-id-6:has(.order_details) table.order_details th,
body.page-id-6:has(.order_details) table.order_details td {
  border: 0 !important;
  border-top: 1px solid #D7E3E8 !important;
  vertical-align: middle !important;
}

body.page-id-6:has(.order_details) table.order_details tr:first-child th,
body.page-id-6:has(.order_details) table.order_details tr:first-child td {
  border-top: 0 !important;
}

body.page-id-6:has(.order_details) table.order_details th {
  width: 200px !important;
  min-width: 200px !important;
  padding: 17px 20px !important;
  background: #F4EFE7 !important;
  color: #0B3554 !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.page-id-6:has(.order_details) table.order_details td {
  padding: 17px 24px !important;
  background: #fff !important;
  color: #0B3554 !important;
}

body.page-id-6:has(.order_details) table.order_details tr:nth-child(even) th {
  background: #EEF5F8 !important;
}

body.page-id-6:has(.order_details) table.order_details tr:nth-child(even) td {
  background: #F8FBFC !important;
}

body.page-id-6:has(.order_details) table.order_details tr.method th,
body.page-id-6:has(.order_details) table.order_details tr.method td {
  background: #FFF9DF !important;
}

body.page-id-6:has(.order_details) table.order_details a {
  color: #07549A !important;
  font-weight: 650;
  text-decoration: none;
}

body.page-id-6:has(.order_details) table.order_details a:hover,
body.page-id-6:has(.order_details) table.order_details a:focus {
  text-decoration: underline;
  text-decoration-color: #F6B800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

@media (max-width: 700px) {
  body.page-id-6:has(.order_details) main {
    padding: 28px 14px 48px !important;
  }

  body.page-id-6:has(.order_details) .lp-content-area > p:first-child {
    padding: 18px 18px 18px 58px !important;
  }

  body.page-id-6:has(.order_details) .lp-content-area > p:first-child::before {
    left: 18px;
  }

  body.page-id-6:has(.order_details) table.order_details th,
  body.page-id-6:has(.order_details) table.order_details td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  body.page-id-6:has(.order_details) table.order_details th {
    padding: 13px 16px 6px !important;
    border-top: 1px solid #D7E3E8 !important;
  }

  body.page-id-6:has(.order_details) table.order_details td {
    padding: 6px 16px 14px !important;
    border-top: 0 !important;
  }
}

/* Checkout: Registrierung oberhalb der Anmeldung hervorheben */
body.learnpress-checkout #checkout-account-login .td-checkout-signup-card,
body.page-id-6 #checkout-account-login .td-checkout-signup-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  width: 100%;
  margin: 0 0 26px !important;
  padding: 18px 20px !important;
  background: #FFF9DF !important;
  color: #0B3554 !important;
  border: 1px solid #EADF9B !important;
  border-left: 5px solid #F6B800 !important;
  border-radius: 14px !important;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 650;
  box-sizing: border-box;
}

body.learnpress-checkout #checkout-account-login .td-checkout-signup-card a,
body.page-id-6 #checkout-account-login .td-checkout-signup-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 15px;
  background: #07549A !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
}

body.learnpress-checkout #checkout-account-login .td-checkout-signup-card a:hover,
body.learnpress-checkout #checkout-account-login .td-checkout-signup-card a:focus,
body.page-id-6 #checkout-account-login .td-checkout-signup-card a:hover,
body.page-id-6 #checkout-account-login .td-checkout-signup-card a:focus {
  background: #0B3554 !important;
  color: #fff !important;
}
