/* Az Akadémia címkéi, kísérőszövegei és űrlapjai ugyanarra a méretskálára épülnek. */
body {
    --academy-small-text: max(14px, .875rem);
    --academy-control-text: max(16px, 1rem);
}

body :is(.site-header .site-brand-logo, .site-brand-mark, .site-footer-generic-logo, .footer-logo img, .academy-portal .brand img, .akademia-page .brand img) {
    filter: none;
    box-shadow: none;
}

body :is(
    .site-nav a, .site-nav-cta, .site-crumb, .shop-crumb,
    .site-footer-generic h2, .site-footer-generic a, .site-footer-generic-about,
    .site-footer-generic-cookie-link, .site-footer-generic-copyright,
    .site-footer-generic .site-platform-credit,
    .page-section-eyebrow, .hero-kicker, .hero-micro-note, .eyebrow,
    .section-card-note, .section-card-badge, .section-card-cue, .section-card-code-kicker,
    .section-card-package-audience, .section-footnote, .section-tabs-badge,
    .section-form-note, .section-form-checkbox-text, .section-form-card label,
    .pk-consent-credit, .pk-consent-text, .pk-consent button,
    .blog-category, .blog-featured-label, .blog-meta, .blog-post-meta time,
    .evidence-strip-eyebrow, .evidence-strip-link,
    .hero-showcase-title, .hero-showcase-label,
    .hero-marketing-series__card-kicker, .hero-marketing-series__kicker, .hero-marketing-series__note,
    .hero-workflow-bar, .hero-workflow-kicker, .hero-workflow-sheet > span,
    .hero-workflow-steps :is(span, strong, p), .hero-workflow-footer, .hero-workflow-note,
    .hero-workflow-note strong, .course-email-mockup__top,
    .worksheet-eyebrow, .worksheet-result, .worksheet-paper-top, .worksheet-rows :is(dt, dd),
    .worksheet-tabs :is(span, b), .section-tabs-rows :is(dt, dd),
    .decision-options label, .decision-section legend span, .section-card-features li, .section-tabs-tab,
    .case-journey-eyebrow, .case-journey-rail-label, .case-journey-step-badge, .case-journey-step small,
    .tool-orbit-brand span,
    .hero-marketing-series__steps span, .hero-marketing-series__card-footer,
    .hero-marketing-series__highlight p,
    .trend-source, .trend-column :is(figcaption, strong), .plain-photo-badge,
    .proof-metric :is(b, p), .proof-source-note, .proof-info-panel, .section-proof details summary,
    .proof-eyebrow, .proof-source-label, .proof-timeline p, .collapsed-gallery summary,
    .review-wall-eyebrow, .review-wall-footnote, .review-wall-course, .review-wall-person,
    .review-wall-person :is(b, small), .review-wall-avatar, .section-review-wall button,
    .day-journey-step a, .day-journey-dashboard-top, .day-journey-dashboard-foot, .day-journey-node,
    .account-footer, .account-remember, .shop-field-label,
    .section-layout-table :is(td, th), .fi-fo-field-label-required-mark,
    .shop-input-help, .shop-field-error, .shop-muted, .form-hint
) {
    font-size: var(--academy-small-text);
}

body :is(
    .hero-marketing-series__button,
    .section-card--code-panel .section-card-body,
    .evidence-strip-body, .hero-marketing-series__card-lead, .review-wall-intro, .proof-intro, .account-lede,
    input:not([type="hidden"]), select, textarea
) {
    font-size: var(--academy-control-text);
}

body :is(.btn-cta, .btn-cta-secondary) {
    font-size: max(var(--academy-control-text), var(--spec-btn-font-size, var(--fs-base, 1rem)));
}

body .section-card-body {
    font-size: max(var(--academy-control-text), var(--fs-base, 1rem));
}

body .section-card--code-panel .section-card-code-kicker {
    max-width: 15ch;
    letter-spacing: .06em;
}

body .hero-workflow {
    height: auto;
    padding-bottom: 1rem;
}

body .hero-workflow-window {
    position: relative;
    top: auto;
    left: auto;
    margin-inline-start: 32%;
}

body .hero-workflow-bar {
    line-height: 1.4;
}

@media (max-width: 800px) {
    body #bluehome-tanulsag {
        width: calc(100% - 24px);
    }
}

@media (max-width: 640px) {
    body .hero-workflow-sheet {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 0;
        margin-block-end: .75rem;
        transform: none;
    }

    body .hero-workflow-window {
        width: 100%;
        margin-inline-start: 0;
        transform: none;
    }

    body .hero-workflow-note {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin: .75rem 0 0;
        transform: none;
    }
}

/* A szerző-sor betűi: 14px az alsó határ, egy oldal nagyobbat kérhet a
   --quote-author-size változóval (a rétegen kívüli fix méret minden oldalszintű
   szabályt felülírt, K-20261120-220842). */
body .quote-author :is(span, b, small) {
    font-size: max(var(--academy-small-text), var(--quote-author-size, 0px));
}

body figcaption {
    font-size: max(var(--academy-small-text), .875em);
}

body :is(.academy-flow + h1, .academy-legal-title, .legal-page > h1) {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.15;
}

body .academy-flow + h1 { margin-bottom: 1rem; }
