/*---------------------------------------
  MAIN CASE STUDY
-----------------------------------------*/
:root {
    --accent: #1f9d55;
    --text-main: #1a1a1a;
    --text-secondary: #4a4a4a;
    --sidebar-bg: #f4f5f7;
    --border: #e2e4e8;
    --gap: 64px;
}

/* .body {
    width: 100%;
    font-size: 16px;
} */

/* .sectionImage {
    max-width: 100%;
    position: relative;
    max-height: 200px;
    overflow: hidden;
    margin-bottom: 2.2rem;
    margin-right: 10%;
    margin-left: 10%;
} */

/* .secImg {
    margin: auto;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 10;
} */

.sectionLabel {
    font-size: 4.2rem;
    font-weight: 600;
    color: #ffffff;
    position: absolute;
    bottom: -67px;
    /* height: 100%; */
    /* width: 100%; */
    vertical-align: middle;
    line-height: 5rem;
    font-family: 'gilroy';
    padding-left: 6%;
    text-align: center;
}


@media(max-width:890px) {
    .sectionLabel {
        font-size: 3rem;
        bottom: -40px;
        line-height: 3.5rem;
        color: #ffffff;
        text-align: center;
        width: 100%;
        padding: 0;
    }

    .sectionImage {
        height: 200px;
    }
}

.parOne {
    font-weight: 300;
}




/*---------------------------------------
  CASE STUDY — MAIN + SIDEBAR
-----------------------------------------*/

/* LEFT — main content */
.case-study__main :is(h1, h2, h3, h4, h5, h6) {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 6px;
}

.case-study__main {
    /* background-color: #caced4; */
    flex: 0 0 68%;
    width: 68%;
    max-width: 68%;
    padding: 26px 64px 56px 0px;
}

.case-study {
    display: flex;
    flex-wrap: nowrap;
    /* width: 84%; */
    max-width: 2000px;
    margin: 0 auto;
    /* background-color: #525d6c; */
    padding-left: 15%;
    padding-right: 15%;
}

/* .case-study__main .subtitle {
    color: var(--text-main);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin: 0 0 32px;
    text-transform: uppercase;
} */

.case-study__main p,
.case-study__main ul {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0 0 8px;
    font-family: var(--font-body);
}

.case-study__main ul {
    list-style: none;
    padding: 0;
}

.case-study__main ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

.case-study__main ul li::before {
    content: "–";
    position: absolute;
    left: 0;
}

.case-study__main strong {
    color: var(--text-main);
}




/* RIGHT — sidebar */
.case-study__sidebar :is(h1, h2, h3, h4, h5, h6) {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.4px;
    margin: 0 0 6px;
}

.case-study__sidebar {
    flex: 0 0 32%;
    width: 32%;
    max-width: 32%;
    height: fit-content;
    background: var(--sidebar-bg);
    padding: 26px 26px 26px;
    border-radius: 8px;
}

/* .case-study__sidebar>.role {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 32px;
} */



/*---------------------------------------
  SIDEBAR BLOCKS
-----------------------------------------*/

.sidebar-block {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.sidebar-block:last-child {
    margin-bottom: 0;
}

.sidebar-block__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-secondary);
}

.sidebar-block__icon svg {
    width: 100%;
    height: 100%;
}

/* .sidebar-block__content h3 {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
} */

/* .sidebar-block__content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
} */

@media (max-width: 900px) {

    /* CASE STUDY — stack only here */
    .case-study {
        padding-left: 0%;
        padding-right: 0%;
        width: 100%;
        flex-wrap: wrap;
    }

    .case-study__main,
    .case-study__sidebar {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 40px 24px;
    }

    .sidebar-block {
        margin-bottom: 28px;
    }
}





/*---------------------------------------
  CONTAINERS
-----------------------------------------*/

.containerMainMh {
    /* display: block; */
    /* background-color: rgb(218, 206, 206); */
    padding-left: 15%;
    padding-right: 15%;
    /* margin-bottom: 4rem; */
    max-width: 2000px;
    margin: auto;
}

@media (max-width: 860px) {
    .containerMainMh {
        padding-left: 5%;
        padding-right: 5%;
        margin-bottom: 6rem;
    }
}

.containerMidMh {
    display: block;
    /* background-color: rgb(182, 182, 182); */
}

.ConFullWidth {
    height: fit-content;
    width: 100%;
    background-color: #22c55e;
    padding: 24px 120px 24px 120px;
    /* góra prawo dół lewo */

    gap: 32px;
    /* odstęp między zdjęciami */
}




/*---------------------------------------
  OTHER
-----------------------------------------*/

.imgRow {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
}

.imgCon {
    flex: 1 1 0;
    min-width: 0;
    /* pozwala dzieciom się zwężać */
}

.imgCon img {
    width: 100%;
    height: auto;
}

/* poniżej 768px obrazki jeden pod drugim */
@media (max-width: 767px) {
    .imgRow {
        flex-direction: column;
        align-items: center;
    }

    .imgCon {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
}

.ReImgWide {
    width: 120%;
}

hr {
    width: 100%;
}

.imgCon {
    text-align: center;
    /* padding: 5px; */
    /* display: table; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: center; */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* .imgCon2 {
    max-width: 200px;
    text-align: center;
    margin: auto;
} */



.capTxt {
    margin-top: 1em;
    font-size: .8rem;
    font-weight: 300;
    color: #4f4f4f;
    text-align: left;
    display: table-caption;
    caption-side: bottom;
    width: 75%;
    font-style: italic;
    /* background-color: #4AeEF1; */
}




.researchAnswers {
    text-align: center;
    height: 30px;
    border-bottom: 1px solid rgb(235, 235, 235);
}

.researchAnswers::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 4px;
    /* background-repeat: no-repeat; */
    background-size: contain;
    vertical-align: middle;
    border-radius: 30%;
    /* border: 2px solid rgb(255, 255, 255); */
    background-color: #b3ffbd;
    background-image: url(../images/svg/check.svg);
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

.questions {
    height: 100%;
    background-color: #f9f9fc;
    padding-right: 10px;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 400px;
    flex: 1 1 400px;
    border-radius: 12px;
    margin-right: 5px;
    margin-bottom: 10px;
    padding-right: 10px;

}

.answers {
    height: 100%;
    background-color: #f3f6ff;
    padding-right: 10px;
    -webkit-box-flex: 2;
    -ms-flex: 2 1 400px;
    flex: 2 1 400px;
    border-radius: 12px;
    margin-left: 5px;
}

*/ .recomList ul li {
    list-style-type: none;
}


.recomList ul li:before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    border-radius: 50%;
    /* border: 2px solid rgb(255, 255, 255); */
    background-color: #ffd45e;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
}

ul li:first-child:before {
    background-image: url(../images/svg/exclamation-mark.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
}


ul li:nth-child(2):before {
    background-image: url(../images/svg/exclamation-mark.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;

}

ul li:nth-child(3):before {
    background-image: url(../images/svg/exclamation-mark.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
}

ul li:nth-child(4):before {
    background-image: url(../images/svg/exclamation-mark.svg);
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center center;
}



/*---------------------------------------
  SIDEBAR
  ----------------------------------------
-*/

.sidebar {
    position: fixed;
    top: 50%;
    left: .5%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 22;
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    padding: 8px;
    color: #363636;
    text-decoration: none;
    background-color: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    mix-blend-mode: exclusion;
}

.sidebar-link.active {
    font-weight: bold;
    color: #b3ffbd;
}

.sidebar a:hover {
    font-weight: 800;
    color: #000000;
}

.section {
    padding: 50px;
    background-color: #fff;
    color: #333;
    font-size: 1.5em;
}

.section.active {
    background-color: #b3ffbd;
}


@media(max-width:1200px) {

    .sidebar {
        position: fixed;
        top: 50%;
        left: 1%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        z-index: 22;
    }
}

@media (max-width: 890px) {
    .sidebar {
        visibility: hidden;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border: none;
    outline: none;
    background-color: #f0f0f0;
    color: rgb(180, 180, 180);
    cursor: pointer;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    -webkit-animation: fadeIn 400ms ease-in-out forwards;
    animation: fadeIn 400ms ease-in-out forwards;
}

.scroll-to-top::before {
    content: '\2191';
    font-size: 24px;
}


@media(max-width:800px) {
    .scroll-to-top {
        visibility: hidden;
    }
}


@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}




/*---------------------------------------
    MEDIA
----------------------------------------*/

@media (max-width: 860px) {

    .capTxt {
        margin-left: 0;
        margin-right: 0;
    }


    .capTxt {
        margin-top: 1em;
        font-size: .9rem;
        font-weight: 400;
        color: #4f4f4f;
        display: table-caption;
        caption-side: bottom;
        width: 95%;
        line-height: 1.6rem;
    }


    .mainTxt {
        margin-left: 1vw;
        margin-right: 1vw;
        font-size: 0.9rem;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }

    .headTxt {
        font-size: 2.4rem;
    }

    #headingFive {
        font-size: 2rem;
    }
}

@media (max-width: 1100px) {

    .containerMain {
        margin-left: 1vw;
        margin-right: 1vw;
    }

    .parOne {
        /* margin-left: 9vw;
      margin-right: 9vw; */
        /* font-size: 1rem; */
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
        /* text-align: left !important; */
        text-align: justify;
        text-justify: inter-word;
    }
}


.designContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    max-width: 900px;
    margin: auto;
}

.designItem1,
.designItem2 {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 calc(50% - 30px);
    flex: 1 0 calc(50% - 30px);
    /* Zmniejszamy szerokość elementów o wartość marginesu */
    min-width: 200px;
    max-width: 450px;

    -webkit-box-sizing: border-box;

    box-sizing: border-box;
    margin-right: 30px;
    /* Dodajemy margines między elementami */
    margin-bottom: 30px;

}

@media (max-width: 800px) {
    .designContainer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .cntClr {
        margin-left: 5vw;
        margin-right: 5vw;
    }


    .imageAppXL {
        padding: 0;
        max-width: 100%;
    }

}












.slider {
    position: relative;
    width: 300px;
    /* Ustaw odpowiednią szerokość */
    height: 100%;
    /* Ustaw odpowiednią wysokość */
    overflow: hidden;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-images img {
    width: 100%;
    height: auto;
    display: none;
}

.slider-images img.active {
    display: block;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 100px;
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 10px;
    z-index: 1;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    -ms-border-radius: 100px;
    -o-border-radius: 100px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

}

.prev {
    left: 10px;
    /* Odległość od lewej krawędzi */
}

.next {
    right: 10px;
    /* Odległość od prawej krawędzi */
}





/*---------------------------------------
CARD NEW 
-----------------------------------------*/

.func-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.func-list__row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    align-items: center;
    column-gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid currentColor;
    border-color: rgba(0, 0, 0, 0.1);
}

.func-list__row:last-child {
    border-bottom: none;
}

.func-list__row--head {
    padding-top: 0;
}

.func-list__cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot--a {
    background: #378ADD;
}

/* clinician software */
.dot--b {
    background: #1D9E75;
}

/* mobile app */
.func-list {
    font-size: 14px;
    font-family: var(--font-body)
}


/* new dot color — "where it breaks" */
.dot--c {
  background: #D64545;
}

/* 5-column variant of .func-list__row for before/after scenarios */
.func-list__row--scenario {
  grid-template-columns: 0.8fr 1.6fr 2fr 0.3fr 2fr;
}

.func-list__arrow {
  display: flex;
  justify-content: center;
}

.func-list__cell {
  align-items: flex-start;
}

.func-list__cell .dot {
  margin-top: 6px; /* keeps the dot aligned to the first line when the text wraps */
}







/*---------------------------------------
IMAGES 
-----------------------------------------*/

.shadow {
    -webkit-box-shadow: rgba(100, 100, 111, 0.2) 0px 2px 2px 0px;
    box-shadow: rgba(189, 189, 189, 0.2) 4px 4px 20px 10px;
}

.imageApp {
    padding: 0;
    max-width: 210px;
    margin: 0px auto;
    display: inline-block;
    cursor: -webkit-zoom-in;
    /* cursor: zoom-in; */
    overflow: hidden;
    border-radius: 8%;
}

.imageApp-Lg {
    padding: 0;
    max-width: 250px;
    margin: 0px auto;
    display: inline-block;
    cursor: -webkit-zoom-in;
    /* cursor: zoom-in; */
    overflow: hidden;
    border-radius: 8.5%;
}


.imageAppXL {
    padding: 0;
    max-width: 900px;
    margin: 0px auto;
    display: inline-block;

    /* -webkit-box-shadow: rgba(100, 100, 111, 0.2) 4px 4px 20px 0px; */
    /* box-shadow: rgba(184, 184, 184, 0.2) 4px 4px 20px 0px; */
    /* margin-top: 4em; */
    cursor: -webkit-zoom-in;
    cursor: zoom-in;

}








/*---------------------------------------
  USE CASE CARDS
-----------------------------------------*/

.uc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.uc-card {
    --uc-accent: #1f7f70;
    /* Progressive */
    position: relative;
    overflow: hidden;
    padding: 22px 28px 22px 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    text-align: left;
}

.uc-card--general {
    --uc-accent: #35507c;
    /* General */
}

/* pionowy pasek w kolorze typu */
.uc-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--uc-accent);
}

/* nagłówek: badge + ID */
.uc-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 12px;
    margin: 0 0 14px;
}

.uc-badge {
    padding: 4px 12px;
    border-radius: 4px;
    background: var(--uc-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.uc-id {
    color: var(--text-secondary, #6b7280);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* tytuł karty */
.uc-card__title {
    margin: 0 0 16px;
    color: var(--text-main, #111827);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

/* Situation / System / Why it matters */
.uc-card__body {
    margin: 0;
}

.uc-card__body dt {
    margin: 14px 0 2px;
    color: var(--text-secondary, #6b7280);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.uc-card__body dt:first-child {
    margin-top: 0;
}

.uc-card__body dd {
    margin: 0;
    color: var(--text-main, #1f2937);
    font-size: 0.875rem;
    line-height: 1.5;
}

.uc-card__body dd span {
    display: block;
    /* każde zdanie w osobnej linii */
}

@media (max-width: 767px) {
    .uc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .uc-card {
        padding: 18px 20px 18px 24px;
    }
}








/*---------------------------------------
  PATH CARDS: Wellbeing / Patient / Shared
-----------------------------------------*/

.path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.path-card {
    --path-accent: #525d6c;
    /* domyślnie: neutralny */
    position: relative;
    overflow: hidden;
    padding: 24px 28px 24px 32px;
    background: #f7f7f5;
    /* fallback */
    background: color-mix(in srgb, var(--path-accent) 7%, #fff);
    border: 1px solid color-mix(in srgb, var(--path-accent) 25%, transparent);
    border-radius: 14px;
    text-align: left;
}

/* pionowy pasek w kolorze ścieżki */
.path-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--path-accent);
}

/* kolory ścieżek: zmieniasz tylko tutaj */
.path-card--wellbeing {
    --path-accent: #8a6d3b;
}

/* ochra */
.path-card--patient {
    --path-accent: #3d6a8f;
}

/* stalowy błękit */
.path-card--shared {
    --path-accent: #525d6c;
}

/* grafit */

/* trzecia ramka na całą szerokość */
.path-card--shared {
    grid-column: 1 / -1;
}

.path-card h5 {
    margin: 0 0 8px;
    color: var(--path-accent);
    text-align: left;
}

.path-card .parOne {
    margin: 0;
    max-width: none;
    font-weight: 500;
}

@media (max-width: 767px) {
    .path-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .path-card {
        padding: 20px 20px 20px 24px;
    }
}





.wellbeing-list {
    list-style: none !important;
    padding-left: 0;
    margin: 0;
}

.wellbeing-list li {
    list-style: none !important;
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px;
}

.wellbeing-list li::marker {
    content: "";
}

.wellbeing-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.wellbeing-list .self-directed::before {
    background: #4CAF50;
}

.wellbeing-list .goal-oriented::before {
    background: #8B5CF6;
}

.wellbeing-list .companion::before {
    background: #F59E0B;
}




/*---------------------------------------
SECTION SETTINGS
-----------------------------------------*/


.secClr-1 {
    background-color: #1D9E75;
}

.secClr-1 p,
h1,
h2,
h3,
h4 li {
    color: #ffffff;
}

.secClr-1 li {
    color: #ffffff;
    font-size: 14px;
}







.secClr-2 {
    background-color: #002668;
}

.secClr-2 p,
h1,
h2,
h3,
h4 {
    color: #ffffff;
}

.secClr-2 h1,
h2,
h3,
h4 {
    color: #74ce7d;
}

.secClr-2 li {
    color: #ffffff;
}






.secPad-1 {
    padding-bottom: 5rem;
    padding-top: 3rem;
    /* background-color: #1f7f70; */

}







.headerButton {
    display: flex;
    align-items: center;
    /* tytuł i przycisk na tej samej wysokości */
    justify-content: space-between;
    /* tytuł z lewej, przycisk w prawym rogu */
    gap: 16px;
    flex-wrap: wrap;
    /* na wąskim ekranie przycisk zejdzie pod tytuł */
}

.headerButton h4 {
    margin: 0;
    /* inaczej margines h4 przesunie go względem przycisku */
}








.goal-model-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.goal-model-diagram__origin {
  width: 220px;
  max-width: 100%;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.goal-model-diagram__arrow {
  /* line-height: ; */
  color: rgba(241, 235, 235, 0.3);
}

.goal-model-diagram__divider {
  width: 100%;
  border-top: 2px dashed rgba(235, 227, 227, 0.2);
}

.goal-model-diagram__types {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.goal-model-diagram__types span {
  font-size: 14px;
  font-family: var(--font-body);
}

.goal-model-diagram__type {
  flex: 1 1 220px;
  max-width: 280px;
  height: 170px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 8px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
}

.goal-model-diagram__type--a { border-top-color: #378ADD; background-color: #f0f4ff; }
.goal-model-diagram__type--b { border-top-color: #1D9E75; background-color: #f0fff8}
.goal-model-diagram__type--c { border-top-color: #E0A030; background-color: #fffdf0}

/* below this width the three types stack full-width — own fixed height
   for mobile, same across all three, independent of the desktop value */
@media (max-width: 640px) {
  .goal-model-diagram__origin {
    width: 100%;
  }

  .goal-model-diagram__types {
    flex-direction: column;
  }

  .goal-model-diagram__type {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 190px;
  }
}







/*---------------------------------------
NOT SHARED COMPONENTS
-----------------------------------------*/

.goal-coverage {
  --icon-yes: "✓";
  --icon-no: "–";
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: auto;
}

.goal-coverage__row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 0.8fr;
  align-items: center;
  column-gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  min-width: 640px;
}

.goal-coverage__row:last-child {
  border-bottom: none;
}

.goal-coverage__row--group {
  grid-template-columns: 2fr 0.8fr 2.4fr;
  border-bottom: none;
  padding-bottom: 0;
}

.goal-coverage__row--head {
  padding-top: 0;
}

.goal-coverage__group-label {
  text-align: center;
  font-weight: 600;
}

/* dashed separator between "Old model" and the new goal types —
   lands on the 3rd column in both the 5-col and 3-col row layouts */
.goal-coverage__row > :nth-child(3) {
  border-left: 1px dashed rgba(0, 0, 0, 0.2);
  padding-left: 16px;
}

.goal-coverage__mark {
  display: flex;
  justify-content: center;
}

.goal-coverage__mark::before {
  content: var(--icon-no);
  opacity: 0.35;
}

.goal-coverage__mark--yes::before {
  content: var(--icon-yes);
  color: #1D9E75;
  opacity: 1;
  font-weight: 600;
}

.goal-coverage span {
color: #ffffff;

}





/* Zewnętrzny flexbox — oba bloki obok siebie, zawijają się jeden pod drugi */
.screens-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Każdy blok (zdjęcie + tekst) to osobny flexbox */
.screen-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;   /* było: center */
  gap: 1rem;
  margin: 0;
  flex: 1 1 420px;
  max-width: 500px;
}

/* Proporcja i próg zawijania ustawione niezależnie */
.screen-block img {
  flex: 1.3 1 0;          /* proporcja: obrazek względem tekstu */
  min-width: 200px;     /* poniżej tej szerokości następuje zawinięcie */
  max-width: 100%;
  height: auto;
}

.screen-block figcaption {
  flex: 2 1 0;          /* proporcja: tekst względem obrazka */
  min-width: 180px;
}

/* Kosmetyka treści wewnątrz figcaption (p, h, ul/li itd.) */
.screen-block figcaption > *:first-child {
  margin-top: 0;
}

.screen-block figcaption > *:last-child {
  margin-bottom: 0;
}

.screen-block figcaption ul,
.screen-block figcaption ol {
  padding-left: 1.2em;
  margin: 0.5em 0;
}









/* Locked content */

.lockedBlock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.lockedNote {
    margin: 0 auto 12px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.7;
    max-width: 480px;
}

.lockedLink {
    display: flex;
    justify-content: center;
    align-self: center;
    text-decoration: none;
}

.lockIcon {
    flex-shrink: 0;
}
