/* WordPress frame only. All site design values come from v13 CSS. */
html { scroll-behavior: smooth; }
body { margin: 0; }
h3 { font-family: var(--sans); }
/* v13 targets three crops by its original relative asset/page URLs. The
   equivalent WordPress permalinks and Media Library URLs need the same crop. */
.area-card[href$="/berufliche-neuorientierung/"] .area-photo { object-position: 68% 45%; }
.area-card[href$="/beziehungen/"] .area-photo { object-position: 50% 40%; }
.subhero-image img.subhero-photo[src$="/andreas-speaking.webp"],
.editorial-photo[src$="/andreas-speaking.webp"] { object-position: 50% 12%; }
.prisma-al-page #stimmen > .wrap:last-of-type { padding-top: 0 !important; }
.prisma-al-page #stimmen .testimonial-video { margin-bottom: 38px !important; }
@media (max-width: 760px) { .prisma-al-page #stimmen .testimonial-video { margin-bottom: 30px !important; } }
/* The same testimonial carousel is used on every page. Double only real
   portrait diameters; initial-only placeholders retain their original size. */
.al-v13-testimonial-track .quote figcaption:has(> .testimonial-portrait) {
    grid-template-columns: 76px minmax(0, 1fr);
}
.al-v13-testimonial-track .testimonial-portrait { width: 76px; height: 76px; }
.wp-site-blocks { overflow: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content { margin: 0; }
.wp-block-template-part { margin: 0; }
.wp-block-post-content > * { margin-block-start: 0; }
.wp-block-post-content > section { max-width: none; }
.wp-site-blocks .wp-block-post-content :where(button,a) { cursor: pointer; }
/* v13's Human Design markup contains historical WordPress class names, but
   its standalone reference has no injected core block-gap rule. */
.wp-site-blocks :where(.is-layout-flow) > * + * { margin-block-start: 0; }
/* The imported v13 blocks preserve native semantic elements. */

/* Linkable page with a submenu: the label remains a direct page link. */
.desktop-nav .nav-group-linkable { gap: 6px; }
.desktop-nav .nav-group-linkable > a { font-size: .82rem; }
.desktop-nav .nav-group-linkable > .nav-toggle-icon { padding: 13px 0; }
.drawer .mobile-nav-group-linkable > .mobile-nav-row {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0; padding: 0; border: 0;
}
.drawer .mobile-nav-group-linkable > .mobile-nav-row > a {
    flex: 1; padding: 14px 0; border: 0; font-size: 1.07rem;
}
.drawer .mobile-nav-group-linkable .mobile-nav-expand {
    width: 44px; height: 44px; border: 0; background: transparent;
    color: var(--gold); font-size: 1.5rem; line-height: 1;
}
.drawer .mobile-nav-group-linkable > .mobile-nav-children {
    margin: 0 0 10px; padding: 0 0 10px 16px; border-left: 2px solid #F08A50;
}
.drawer .mobile-nav-group-linkable > .mobile-nav-children[hidden] { display: none; }

/* Only the two additional pages use these layout refinements. */
.al-academy-page .subhero-image img { width: 100%; height: auto; object-fit: contain; }
.al-book-page .subhero-image img { width: auto; max-width: 100%; max-height: 430px; height: auto; margin: auto; object-fit: contain; }
/* The approved area cards place their content in .area-card-body. These two
   pages use that same editable inner layout for all text and buttons. */
.al-academy-pain figure { width: 100%; margin: 0; }
.al-academy-pain figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.al-academy-pain .al-pain-body { justify-content: center; }
.al-academy-pain .al-pain-body h3 {
    margin: 0; font-size: 1.725rem; line-height: 1.08;
    overflow-wrap: anywhere;
}
@media (max-width: 1200px) {
    .al-academy-pain .al-pain-body h3 { font-size: 1.5375rem; }
}
@media (max-width: 1070px) {
    .al-academy-pain .al-pain-body h3 { font-size: 1.3875rem; }
}
@media (max-width: 760px) {
    .al-academy-pain .al-pain-body h3 { font-size: 1.6125rem; }
}
.al-book-order-gap { margin-top: 27px; }
.al-academy-module .al-module-body .eyebrow {
    min-height: 4.5em; margin: 0 0 14px; line-height: 1.5;
    overflow-wrap: anywhere;
}
.al-academy-module .al-module-body h3 {
    margin: 0 0 14px; font-size: clamp(1.7rem, 2.1vw, 2rem);
    line-height: 1.12; overflow-wrap: anywhere;
}
.al-academy-module .al-module-body p { margin: 0; }
.al-academy-module .al-module-list { margin: 18px 0 0; padding-left: 21px; color: var(--muted); }
.al-academy-module .al-module-list li { margin: 0 0 8px; line-height: 1.58; }
.al-academy-module .al-module-list li:last-child { margin-bottom: 0; }
.al-academy-grid { row-gap: 24px; }
.al-academy-community img { width: 100%; height: auto; object-fit: cover; border-radius: 32px; }
.al-book-resources .al-book-card-body .eyebrow { margin-bottom: 14px; }
.al-book-resources .al-book-card-body h3 {
    margin-bottom: 16px; font-size: clamp(1.85rem, 2.15vw, 2.15rem);
    line-height: 1.12; overflow-wrap: anywhere;
}
.al-book-resources .al-book-card-body p { margin: 0 0 22px; }
.al-book-resources .al-book-card-body .btn {
    align-self: flex-start; max-width: 100%; margin-top: auto;
}
.al-book-back img { max-height: 560px; width: auto; margin: auto; }
.al-page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.cta-section .al-page-actions { justify-content: center; }
.cta-section .al-page-actions .btn-outline { background: transparent; border-color: #fff; color: #fff; }
@media (max-width: 760px) {
    .al-page-actions { flex-direction: column; align-items: stretch; }
    .al-page-actions .btn { width: 100%; }
    .al-academy-pain figure img { aspect-ratio: 16 / 9; }
    .al-academy-module .al-module-body .eyebrow { min-height: 0; }
    .al-academy-community img { border-radius: 24px; }
}
