/* AKADEMIA FOTOGRAFII — B2B 2026
   WSPÓLNY CSS: desktop + mobile + TinyMCE

   Desktop HTML: #af-b2b
   Mobile HTML:  #af-b2b-mobile

   Reguły wspólne są zapisane jeden raz dla obu wrapperów.
   Różnice desktopowe pozostają w blokach @media dla #af-b2b.
   Różnice mobilne są zapisane na końcu dla #af-b2b-mobile.

   Wersje referencyjne zachowane osobno:
   - desktop v39
   - ostatnia czysto mobilna
*/

/* AKADEMIA FOTOGRAFII — B2B 2026
   Pełny CSS dla zawartości wewnątrz .column-rowset
   Wersja bazowa po zmianach wg nowej koncepcji Pawła.
*/

#af-b2b.af-b2b-scope,
#af-b2b-mobile.af-b2b-scope {
    --afb-yellow: #fff600;
    --afb-black: #111111;
    --afb-dark: #172029;
    --afb-text: #252525;
    --afb-muted: #6c6c6c;
    --afb-line: #dddddd;
    --afb-soft: #f5f5f3;
    --afb-white: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    color: var(--afb-text);
    line-height: 1.45;
}

#af-b2b *,
#af-b2b-mobile * {
    box-sizing: border-box;
}

#af-b2b img,
#af-b2b-mobile img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
}

#af-b2b a,
#af-b2b-mobile a {
    color: inherit;
    text-decoration: none;
}

#af-b2b .afb-wrap,
#af-b2b-mobile .afb-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

#af-b2b .afb-section,
#af-b2b-mobile .afb-section {
    margin: 62px 0 0;
}

#af-b2b .afb-section-head,
#af-b2b-mobile .afb-section-head {
    margin: 0 0 24px;
}

#af-b2b .afb-eyebrow,
#af-b2b-mobile .afb-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--afb-muted);
}

#af-b2b .afb-section-title,
#af-b2b-mobile .afb-section-title {
    margin: 0;
    font-size: 29px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--afb-black);
}

#af-b2b .afb-section-lead,
#af-b2b-mobile .afb-section-lead {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: 16px;
    color: var(--afb-muted);
}

#af-b2b .afb-mark,
#af-b2b-mobile .afb-mark {
    display: block;
    width: 34px;
    height: 4px;
    margin: 0 0 12px;
    background: var(--afb-yellow);
}

/* HERO */

#af-b2b .afb-hero,
#af-b2b-mobile .afb-hero {
    position: relative;
    height: 350px;
    margin-top: 0;
    overflow: hidden;
    background: #222;
}

#af-b2b .afb-hero-image,
#af-b2b-mobile .afb-hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #222;
}

#af-b2b .afb-hero-image:after,
#af-b2b-mobile .afb-hero-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.76) 0%,
        rgba(0,0,0,.58) 38%,
        rgba(0,0,0,.20) 68%,
        rgba(0,0,0,.05) 100%
    );
}

#af-b2b .afb-hero-image img,
#af-b2b-mobile .afb-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center 42%;
}

#af-b2b .afb-hero-copy,
#af-b2b-mobile .afb-hero-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 52%;
    height: 100%;
    padding: 28px 34px;
    color: #fff;
}

#af-b2b .afb-hero .afb-eyebrow,
#af-b2b-mobile .afb-hero .afb-eyebrow {
    color: rgba(255,255,255,.82);
}

#af-b2b .afb-hero-copy h2,
#af-b2b-mobile .afb-hero-copy h2 {
    max-width: 520px;
    margin: 0 0 15px;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

#af-b2b .afb-hero-copy p,
#af-b2b-mobile .afb-hero-copy p {
    max-width: 480px;
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.45;
    color: #fff;
}

#af-b2b .afb-actions,
#af-b2b-mobile .afb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#af-b2b .afb-btn,
#af-b2b-mobile .afb-btn {
    display: inline-block;
    padding: 12px 17px;
    border: 1px solid var(--afb-black);
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#af-b2b .afb-btn-primary,
#af-b2b-mobile .afb-btn-primary {
    border-color: var(--afb-yellow);
    background: var(--afb-yellow);
    color: #000;
}

#af-b2b .afb-hero .afb-btn:not(.afb-btn-primary),
#af-b2b-mobile .afb-hero .afb-btn:not(.afb-btn-primary) {
    border-color: rgba(255,255,255,.88);
    color: #fff;
}

#af-b2b .afb-hero-link,
#af-b2b-mobile .afb-hero-link {
    display: inline-block;
    margin-left: 4px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.7);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* PRELUDIUM DO SZKOLEŃ */

#af-b2b .afb-training-intro,
#af-b2b-mobile .afb-training-intro {
    border-top: 1px solid var(--afb-line);
    border-bottom: 0;
}

#af-b2b .afb-training-intro-copy,
#af-b2b-mobile .afb-training-intro-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 34px 0;
}

#af-b2b .afb-training-intro-copy h2,
#af-b2b-mobile .afb-training-intro-copy h2 {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--afb-black);
}

#af-b2b .afb-training-intro-copy .afb-intro-main,
#af-b2b-mobile .afb-training-intro-copy .afb-intro-main {
    margin: 0 0 14px;
    font-size: 19px;
    line-height: 1.32;
    color: var(--afb-black);
}

#af-b2b .afb-training-intro-copy .afb-intro-small,
#af-b2b-mobile .afb-training-intro-copy .afb-intro-small {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--afb-muted);
}

/* SZKOLENIA — zachowujemy dotychczasowy wygląd */

#af-b2b #afb-szkolenia .afb-section-head,
#af-b2b-mobile #afb-szkolenia .afb-section-head {
    margin-bottom: 20px;
}

#af-b2b .afb-course-grid,
#af-b2b-mobile .afb-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    overflow: visible;
}

#af-b2b .afb-course,
#af-b2b-mobile .afb-course {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
    border: 1px solid var(--afb-line);
    background: var(--afb-white);
}

#af-b2b .afb-course-photo,
#af-b2b-mobile .afb-course-photo {
    position: relative;
    aspect-ratio: 16 / 7.7;
    overflow: hidden;
    background: #ddd;
}

#af-b2b .afb-course-photo img,
#af-b2b-mobile .afb-course-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#af-b2b .afb-course-num,
#af-b2b-mobile .afb-course-num {
    position: absolute;
    top: 4px;
    right: 8px;
    z-index: 0;
    margin: 0;
    font-size: 62px;
    line-height: .9;
    font-weight: 800;
    letter-spacing: -.05em;
    color: rgba(0,0,0,.07);
    pointer-events: none;
}

#af-b2b .afb-course-body,
#af-b2b-mobile .afb-course-body {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 16px 35px;
}

#af-b2b .afb-course h3,
#af-b2b-mobile .afb-course h3 {
    position: relative;
    z-index: 1;
    min-height: 0;
    margin: 0 0 5px;
    padding-bottom: 0;
    font-size: 20px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--afb-black);
}

#af-b2b .afb-course-summary,
#af-b2b-mobile .afb-course-summary {
    margin: 0 0 12px;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--afb-muted);
}

#af-b2b .afb-course-more,
#af-b2b-mobile .afb-course-more {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 35px);
    z-index: 5;
    margin: 0;
    background: #fff;
}

#af-b2b .afb-toggle:checked + .afb-course-more,
#af-b2b-mobile .afb-toggle:checked + .afb-course-more {
    z-index: 50;
    border-left: 1px solid var(--afb-line);
    border-right: 1px solid var(--afb-line);
    border-bottom: 1px solid var(--afb-line);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

#af-b2b .afb-toggle,
#af-b2b-mobile .afb-toggle {
    position: absolute;
    left: -9999px;
}

#af-b2b .afb-more-label,
#af-b2b-mobile .afb-more-label {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 35px;
    margin: 0;
    padding: 10px 58px 10px 16px;
    border-top: 1px solid var(--afb-line);
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#af-b2b .afb-more-close,
#af-b2b-mobile .afb-more-close {
    display: none;
}

#af-b2b .afb-toggle:checked + .afb-course-more .afb-more-open,
#af-b2b-mobile .afb-toggle:checked + .afb-course-more .afb-more-open {
    display: none;
}

#af-b2b .afb-toggle:checked + .afb-course-more .afb-more-close,
#af-b2b-mobile .afb-toggle:checked + .afb-course-more .afb-more-close {
    display: inline;
}

#af-b2b .afb-more-label:after,
#af-b2b-mobile .afb-more-label:after {
    content: "→";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--afb-yellow);
    color: #000;
    font-size: 25px;
    line-height: 1;
    font-weight: 400;
}

#af-b2b .afb-course-detail,
#af-b2b-mobile .afb-course-detail {
    display: none;
    margin: 0;
    padding: 14px 16px 17px;
    border-top: 1px solid var(--afb-line);
    background: #fffef0;
    font-size: 14px;
}

#af-b2b .afb-course-detail p,
#af-b2b-mobile .afb-course-detail p {
    margin: 0 0 10px;
}

#af-b2b .afb-course-detail ul,
#af-b2b-mobile .afb-course-detail ul {
    margin: 8px 0 0 18px;
    padding: 0;
}

#af-b2b .afb-course-detail li,
#af-b2b-mobile .afb-course-detail li {
    margin: 0 0 5px;
}

#af-b2b .afb-toggle:checked + .afb-course-more .afb-more-label:after,
#af-b2b-mobile .afb-toggle:checked + .afb-course-more .afb-more-label:after {
    content: "↑";
}

#af-b2b .afb-toggle:checked + .afb-course-more .afb-course-detail,
#af-b2b-mobile .afb-toggle:checked + .afb-course-more .afb-course-detail {
    display: block;
}

/* NIE ZNALEŹLIŚCIE GOTOWEGO SZKOLENIA */

#af-b2b .afb-custom-training,
#af-b2b-mobile .afb-custom-training {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 210px;
    margin-top: 56px;
    background: var(--afb-soft);
    border: 1px solid var(--afb-line);
}

#af-b2b .afb-custom-training-photo,
#af-b2b-mobile .afb-custom-training-photo {
    overflow: hidden;
}

#af-b2b .afb-custom-training-photo img,
#af-b2b-mobile .afb-custom-training-photo img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    object-fit: cover;
}

#af-b2b .afb-custom-training-copy,
#af-b2b-mobile .afb-custom-training-copy {
    display: flex;
    flex-direction: column;
    padding: 20px 30px 0;
}

#af-b2b .afb-custom-training-copy h3,
#af-b2b-mobile .afb-custom-training-copy h3 {
    margin: 0 0 8px;
    padding: 0;
    font-size: 23px;
    line-height: 1.1;
    color: var(--afb-black);
}

#af-b2b .afb-custom-training-copy p,
#af-b2b-mobile .afb-custom-training-copy p {
    margin: 0 0 10px;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--afb-muted);
}

#af-b2b .afb-custom-training-action,
#af-b2b-mobile .afb-custom-training-action {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: auto -30px 0;
    padding: 10px 30px;
    border-top: 1px solid var(--afb-line);
    background: #fff;
    color: #000;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

#af-b2b .afb-mail-glyph,
#af-b2b-mobile .afb-mail-glyph {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
}

/* REALIZACJE — istniejący blok 3 kart */

#af-b2b .afb-service-grid,
#af-b2b-mobile .afb-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#af-b2b .afb-service,
#af-b2b-mobile .afb-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--afb-line);
    background: var(--afb-white);
}

#af-b2b .afb-service-photo,
#af-b2b-mobile .afb-service-photo {
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

#af-b2b .afb-service-photo img,
#af-b2b-mobile .afb-service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#af-b2b .afb-service-copy,
#af-b2b-mobile .afb-service-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px 16px 0;
}

#af-b2b .afb-service-copy h3,
#af-b2b-mobile .afb-service-copy h3 {
    margin: 0 0 5px;
    padding-bottom: 0;
    font-size: 20px;
    line-height: 1.08;
    font-weight: 800;
    color: var(--afb-black);
}

#af-b2b .afb-service-action,
#af-b2b-mobile .afb-service-action {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: auto -16px 0;
    border-top: 1px solid var(--afb-line);
    background: #fff;
    color: #000;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: uppercase;
}

#af-b2b .afb-service-action > span:first-child,
#af-b2b-mobile .afb-service-action > span:first-child {
    display: flex;
    align-items: center;
    padding: 10px 14px 10px 16px;
}

#af-b2b .afb-service-contact,
#af-b2b-mobile .afb-service-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    align-self: stretch;
    padding: 0;
    background: var(--afb-yellow);
    color: #000;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    text-align: center;
}

#af-b2b .afb-service-copy p,
#af-b2b-mobile .afb-service-copy p {
    margin: 0 0 12px;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: var(--afb-muted);
}

/* WYBRANE REALIZACJE */

#af-b2b .afb-cases-grid,
#af-b2b-mobile .afb-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#af-b2b .afb-case,
#af-b2b-mobile .afb-case {
    border: 1px solid var(--afb-line);
    background: #fff;
}

#af-b2b .afb-case-photo,
#af-b2b-mobile .afb-case-photo {
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
}

#af-b2b .afb-case-photo img,
#af-b2b-mobile .afb-case-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#af-b2b .afb-case-copy,
#af-b2b-mobile .afb-case-copy {
    padding: 12px 14px 15px;
}

#af-b2b .afb-case-copy h3,
#af-b2b-mobile .afb-case-copy h3 {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.2;
    color: var(--afb-black);
}

#af-b2b .afb-case-copy p,
#af-b2b-mobile .afb-case-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--afb-muted);
}

#af-b2b .afb-studio-photo,
#af-b2b-mobile .afb-studio-photo {
    position: relative;
    min-height: 290px;
    overflow: hidden;
    margin-top: 0;
}

#af-b2b .afb-studio-photo img,
#af-b2b-mobile .afb-studio-photo img {
    width: 100%;
    height: 290px;
    object-fit: cover;
}

#af-b2b .afb-studio-caption,
#af-b2b-mobile .afb-studio-caption {
    position: absolute;
    right: 26px;
    bottom: 24px;
    padding: 14px 16px;
    background: rgba(0,0,0,.58);
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

#af-b2b .afb-studio-caption strong,
#af-b2b-mobile .afb-studio-caption strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
}

/* ZAUFALI NAM */

#af-b2b .afb-trust,
#af-b2b-mobile .afb-trust {
    padding: 28px 30px 30px;
    border: 1px solid var(--afb-line);
    border-top: 0;
    background: #fff;
}

#af-b2b .afb-trust h2,
#af-b2b-mobile .afb-trust h2 {
    margin: 0 0 22px;
    font-size: 25px;
    color: var(--afb-black);
}

#af-b2b .afb-trust-grid,
#af-b2b-mobile .afb-trust-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px 28px;
    align-items: center;
}

#af-b2b .afb-trust-item,
#af-b2b-mobile .afb-trust-item {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

/* CIEMNY PASEK DLACZEGO — istniejący */

#af-b2b .afb-why,
#af-b2b-mobile .afb-why {
    padding: 34px 38px;
    background: var(--afb-dark);
    color: #fff;
}

#af-b2b .afb-why-inner,
#af-b2b-mobile .afb-why-inner {
    display: grid;
    grid-template-columns: 1.15fr repeat(4, 1fr);
    align-items: center;
}

#af-b2b .afb-why-title,
#af-b2b-mobile .afb-why-title {
    padding-right: 28px;
}

#af-b2b .afb-why-title h2,
#af-b2b-mobile .afb-why-title h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.1;
    color: #fff;
}

#af-b2b .afb-why-point,
#af-b2b-mobile .afb-why-point {
    min-height: 68px;
    padding: 8px 22px;
    border-left: 1px solid rgba(255,255,255,.28);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

#af-b2b .afb-why-icon,
#af-b2b-mobile .afb-why-icon {
    display: block;
    width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0 auto 8px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
}

#af-b2b .afb-icon-years,
#af-b2b-mobile .afb-icon-years {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-height: 34px;
    border: 1.7px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    text-indent: 3px;
}

#af-b2b .afb-icon-people,
#af-b2b-mobile .afb-icon-people {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 32 32'%3E%0A%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%0A%3Ccircle cx='12' cy='10' r='4'%2F%3E%0A%3Ccircle cx='22' cy='12' r='3'%2F%3E%0A%3Cpath d='M5 27c.8-5.6 3.1-8.5 7-8.5s6.2 2.9 7 8.5'%2F%3E%0A%3Cpath d='M18.5 19c1-1.7 2.5-2.6 4.5-2.6 3 0 4.8 2.2 5.3 6.2'%2F%3E%0A%3C%2Fg%3E%3C%2Fsvg%3E");
}

#af-b2b .afb-icon-camera,
#af-b2b-mobile .afb-icon-camera {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 32 32'%3E%0A%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%0A%3Cpath d='M5 10h5l2-3h8l2 3h5v15H5z'%2F%3E%0A%3Ccircle cx='16' cy='17.5' r='5'%2F%3E%0A%3Cpath d='M24 13h1'%2F%3E%0A%3C%2Fg%3E%3C%2Fsvg%3E");
}

#af-b2b .afb-icon-team,
#af-b2b-mobile .afb-icon-team {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg' viewBox='0 0 32 32'%3E%0A%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%0A%3Ccircle cx='16' cy='9' r='3.5'%2F%3E%0A%3Ccircle cx='7.5' cy='12.5' r='2.8'%2F%3E%0A%3Ccircle cx='24.5' cy='12.5' r='2.8'%2F%3E%0A%3Cpath d='M10 27c.5-4.7 2.7-7 6-7s5.5 2.3 6 7'%2F%3E%0A%3Cpath d='M2.8 26c.4-3.7 2-5.7 4.7-5.7 1.5 0 2.7.6 3.5 1.7'%2F%3E%0A%3Cpath d='M29.2 26c-.4-3.7-2-5.7-4.7-5.7-1.5 0-2.7.6-3.5 1.7'%2F%3E%0A%3C%2Fg%3E%3C%2Fsvg%3E");
}

/* CTA — istniejący */

#af-b2b .afb-cta,
#af-b2b-mobile .afb-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 35px;
    align-items: center;
    margin-bottom: 22px;
    padding: 36px 38px;
    background: #f4f2ed;
}

#af-b2b .afb-cta h2,
#af-b2b-mobile .afb-cta h2 {
    margin: 0 0 7px;
    font-size: 30px;
    line-height: 1.05;
    color: var(--afb-black);
}

#af-b2b .afb-cta p,
#af-b2b-mobile .afb-cta p {
    max-width: 690px;
    margin: 0;
    color: var(--afb-muted);
}

/* =========================================================
   DESKTOP — zachowane zachowanie responsywne v39
   ========================================================= */

/* TABLET */

@media (max-width: 980px) {

    #af-b2b .afb-hero {
        height: 360px;
    }

    #af-b2b .afb-hero-image,
    #af-b2b .afb-hero-image img {
        height: 360px;
    }

    #af-b2b .afb-hero-copy {
        width: 60%;
        padding: 26px;
    }

    #af-b2b .afb-hero-copy h2 {
        font-size: 31px;
    }

    #af-b2b .afb-course-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #af-b2b .afb-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
#af-b2b .afb-why-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    #af-b2b .afb-why-title {
        grid-column: 1 / -1;
        margin-bottom: 22px;
    }

    #af-b2b .afb-why-point:nth-child(2),
    #af-b2b .afb-why-point:nth-child(4) {
        border-left: 0;
    }
}

/* MOBILE */

@media (max-width: 680px) {

    #af-b2b .afb-section {
        margin-top: 44px;
    }

    #af-b2b .afb-hero {
        height: 430px;
    }

    #af-b2b .afb-hero-image,
    #af-b2b .afb-hero-image img {
        height: 430px;
    }

    #af-b2b .afb-hero-image:after {
        background: linear-gradient(
            90deg,
            rgba(0,0,0,.80) 0%,
            rgba(0,0,0,.62) 72%,
            rgba(0,0,0,.32) 100%
        );
    }

    #af-b2b .afb-hero-copy {
        width: 88%;
        padding: 26px 22px;
    }

    #af-b2b .afb-hero-copy h2 {
        font-size: 29px;
    }

    #af-b2b .afb-training-intro {
        grid-template-columns: 1fr;
    }

    #af-b2b .afb-training-intro-copy {
        padding: 28px 22px;
    }

    #af-b2b .afb-training-intro-photo {
        min-height: 220px;
    }

    #af-b2b .afb-course-grid,
    #af-b2b .afb-service-grid,
    #af-b2b .afb-cases-grid {
        grid-template-columns: 1fr;
    }

    #af-b2b .afb-custom-training {
        grid-template-columns: 1fr;
    }

    #af-b2b .afb-custom-training-photo img {
        min-height: 190px;
    }
    #af-b2b .afb-custom-training-action {
        margin: auto -22px 0;
        padding-left: 22px;
        padding-right: 22px;
    }
#af-b2b .afb-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #af-b2b .afb-why {
        padding: 30px 24px;
    }

    #af-b2b .afb-why-inner {
        grid-template-columns: 1fr;
    }

    #af-b2b .afb-why-point {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.22);
        padding: 16px 0;
    }

    #af-b2b .afb-cta {
        grid-template-columns: 1fr;
        padding: 30px 24px;
    }
}

/* Korekta ciągłości: zagajenie -> karty szkoleń */
#af-b2b #afb-szkolenia,
#af-b2b-mobile #afb-szkolenia {
    margin-top: 24px;
}

#af-b2b #afb-realizacje-wybrane,
#af-b2b-mobile #afb-realizacje-wybrane {
    display: none;
}

/* =========================================================
   MOBILE — reguły bez media query.
   Ten CSS jest używany wyłącznie w treści mobilnej strony.
   ========================================================= */

/* Ochrona przed globalnymi stylami starego szablonu mobilnego Akademii */
#af-b2b-mobile h1,
#af-b2b-mobile h2,
#af-b2b-mobile h3,
#af-b2b-mobile h4,
#af-b2b-mobile h5,
#af-b2b-mobile h6 {
    border-top: 0;
    border-bottom: 0;
    padding-top: 0;
}

#af-b2b-mobile ul,
#af-b2b-mobile ol {
    margin-top: 0;
    margin-bottom: 0;
}

#af-b2b-mobile .afb-section {
    margin-top: 44px;
}

#af-b2b-mobile .afb-hero {
    height: 430px;
}

#af-b2b-mobile .afb-hero-image,
#af-b2b-mobile .afb-hero-image img {
    height: 430px;
}

#af-b2b-mobile .afb-hero-image:after {
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.80) 0%,
        rgba(0,0,0,.62) 72%,
        rgba(0,0,0,.32) 100%
    );
}

#af-b2b-mobile .afb-hero-copy {
    width: 88%;
    padding: 26px 22px;
}

#af-b2b-mobile .afb-hero-copy h2 {
    font-size: 29px;
}

#af-b2b-mobile .afb-training-intro {
    grid-template-columns: 1fr;
}

#af-b2b-mobile .afb-training-intro-copy {
    padding: 28px 22px;
}

#af-b2b-mobile .afb-training-intro-photo {
    min-height: 220px;
}

#af-b2b-mobile .afb-course-grid,
#af-b2b-mobile .afb-service-grid,
#af-b2b-mobile .afb-cases-grid {
    grid-template-columns: 1fr;
}

#af-b2b-mobile .afb-custom-training {
    grid-template-columns: 1fr;
}

#af-b2b-mobile .afb-custom-training-photo img {
    min-height: 190px;
}

#af-b2b-mobile .afb-custom-training-copy {
    padding-left: 22px;
    padding-right: 22px;
}

#af-b2b-mobile .afb-custom-training-action {
    margin: auto -22px 0;
    padding-left: 22px;
    padding-right: 22px;
}

#af-b2b-mobile .afb-trust-grid {
    grid-template-columns: 1fr;
}

#af-b2b-mobile .afb-why {
    padding: 30px 24px;
}

#af-b2b-mobile .afb-why-inner {
    grid-template-columns: 1fr;
}

#af-b2b-mobile .afb-why-title {
    padding-right: 0;
    margin-bottom: 10px;
}

#af-b2b-mobile .afb-why-point {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.22);
    padding: 16px 0;
}

#af-b2b-mobile .afb-cta {
    grid-template-columns: 1fr;
    padding: 30px 24px;
}

