.ContentSectionOuter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ContentSectionInner {
    max-width: 1000px;
    width: 100%;
    padding-top: 80px;
}

.GrayBackground {
    background-color: var(--colorGrayLight);
}

.DarkGrayBackground {
    background-color: var(--colorGrayDark);
}

.BlueRegularBackground {
    background-color: var(--colorBlueRegular);
}

.ContentSectionStandard {
    display: flex;
    gap: 10px;
    /* padding-left: 40px; */
    align-items: flex-start;
}

.LeftBranch {
    border-left: 2px dotted var(--colorBranchColor);
}

.ContentSectionStandard > div:nth-child(2) {
    flex: 1;
}

/* --------------------------- 
   Zeleni krug ispred naziva sekcija
   --------------------------- */

.APISectionBullet {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4px;
}

.APISectionBullet::before {
    content: "";
    width: 20px;
    border-top: 2px dotted var(--colorBranchColor);
}

.APISectionBullet::after {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--colorGreenRegular);
    border-radius: 50%;
    border: 2px solid var(--colorBranchColor);
}

/* --------------------------- 
   Plavi bullets ispred stavki nabrajanja
   --------------------------- */

.APIList {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 32px;
}

.APIList li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    line-height: 180%;
}

.APIList li strong {
    margin-right: 5px;
}

.APIBlueBullets {
    width: 35px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 8px;
    flex-shrink: 0;
}

/* Plavi krug */
.APIBlueBullets::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--colorBlueRegular);
    border-radius: 50%;
    border: 2px solid var(--colorBranchColor);
}

/* Horizontalna linija */
.APIBlueBullets::after {
    content: "";
    width: 15px;
    height: 1;
    border-top: 2px dotted var(--colorBranchColor);
}

/* --------------------------- 
   Kartica članova rukovodstva 
   --------------------------- */

.MemberCardCntr {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0 40px 0;
}

.MemberTitle {
    font-family: "Cascadia Mono", monospace;
    font-weight: 300;
    font-size: 12px;
    color: var(--colorGrayRegular);
    margin: 0 0 5px 0 !important;
}

.MemberName {
    font-family: "Cascadia Mono", monospace;
    font-weight: normal;
    font-size: 18px;
    margin: 0 0 5px 0 !important;
}

.MemberPosition {
    font-family: "Cascadia Mono", monospace;
    font-weight: normal;
    font-size: 14px;
    color: var(--colorBranchColor);
    margin: 0 0 10px 0 !important;
}

.MemberDescription {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 200%;
    margin: 0 0 0 0 !important;
}

.MemberEmail {
    font-family: "Cascadia Mono", monospace;
    font-weight: 300;
    font-size: 12px;
    color: var(--colorBranchColor);
    margin: 0px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.MemberEmail a,
.MemberEmail a:visited,
.MemberEmail a:hover,
.MemberEmail a:active {
    text-decoration: none;
    color: var(--colorBranchColor);
}

/* --------------------------- 
   Partneri
   --------------------------- */

#PartnersLogoLinks {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
}

#PartnersLogoLinks img {
    transition: transform 0.4s;
}

#PartnersLogoLinks img:hover {
    transform: scale(1.05);
}

/* --------------------------- 
   Datum i lokacija
   --------------------------- */

#APIDateLocation {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 20px;
    background-color: var(--colorGrayLight);
    padding: 15px 15px;
}

#APIDateLocation div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

#APIDateLocation div span {
    font-family: "Cascadia Mono", monospace;
    font-weight: normal;
}

#APIDateLocation div span:first-of-type {
    font-size: 16px;
}

#APIDateLocation div span:last-of-type {
    font-weight: bold;
    font-size: 20px;
}

/* --------------------------- 
   Registrujte se
   --------------------------- */

#RegisterLinkCntr {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 70px;
    padding-bottom: 60px;
    padding-top: 0 !important;
    justify-content: flex-start;
    transition: gap 0.5s;
}

.RegisterLink img {
    width: 60px;
}

.RegisterLink a,
.RegisterLink a:visited,
.RegisterLink a:hover,
.RegisterLink a:active {
    text-decoration: none;
    display: flex;
    align-items: center;
    /* flex-direction: column; */
    gap: 20px;
    justify-self: flex-start;
}

.RegisterLink span {
    font-family: "Cascadia Mono", monospace;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--colorBranchColor);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px dotted var(--colorBranchColor);
    padding-bottom: 2px;
    transition:
        color 0.3s,
        border-color 0.3s;
}

.RegisterLink a:hover span {
    color: var(--colorBlueRegular);
}

/* --------------------------- 
   Kotizacija
   --------------------------- */

#Kotizacija {
    align-items: flex-start;
}

/* --------------------------- 
   Za više informacija...
   --------------------------- */

#MoreInformation {
    padding-bottom: 50px;
}

#MoreInformation a,
#MoreInformation a:hover,
#MoreInformation a:active,
#MoreInformation a:visited {
    color: var(--colorBlueRegular);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --------------------------- 
   Pillar cards
   --------------------------- */

.PillarCardCntr {
    display: flex;
    /* align-items: flex-start; */
    gap: 20px;
}

.PillarCard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 10px; */
    padding: 10px 24px 24px;
    min-height: 200px;
    /* border-right: 2px solid var(--colorGrayLight); */
    max-width: 300px;
    background-color: white;
    border: 1px dotted var(--colorBranchColor);
}

/* .PillarCard:not(:last-child) {
    border-right: 1px dotted var(--colorGrayRegular);
} */

/* .PillarCard:first-child {
    padding-left: 0;
    max-width: 276px;
} */

.PillarCardNr {
    font-family: "Cascadia Mono", monospace;
    font-size: 12px;
    color: var(--colorGrayRegular);
    font-weight: 300;
    color: var(--colorBlueRegular);
}

.PillarCardTitle {
    font-family: "Newsreader", serif;
    font-size: 24px;
    line-height: 1.15;
    margin: 10px 0 12px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.PillarCardBody {
    font-family: "Open Sans", sans-serif;
    /* font-size: 14px; */
    line-height: 1.8;
    color: var(--colorGrayDark);
    font-weight: 400;
}

.PillarCard a.LinkButtonSecondaryMedium {
    margin-top: 40px;
    margin-bottom: 0 !important;
}

#MembershipDescription {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

#MembershipDescription p {
    flex: 1 1 auto;
    margin: 0;
    /* ili prilagodi postojeći margin, da ne remeti flex layout */
    min-width: 0;
    /* važno! sprečava da dugačak tekst “gura” flex kontejner van granica */
}

#MembershipDescription a {
    flex: 0 0 auto;
    /* ne raste, ne skuplja se — ostaje na prirodnoj širini sadržaja */
    white-space: nowrap;
    /* opciono — sprečava prelamanje teksta unutar dugmeta u novi red */
}

@media screen and (max-width: 1300px) {
    .ContentSectionInner {
        max-width: 100% !important;
        width: 100%;
        padding-top: 60px;
        padding-left: 100px;
        padding-right: 30px;
    }
}

@media screen and (max-width: 1023px) {
    .APIList {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 32px;
        margin-bottom: 32px;
    }

    .APIList li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .MemberCardCntr {
        margin: 20px 0 20px 0 !important;
    }
    .MemberCardCntr:last-of-type {
        margin: 20px 0 40px 0 !important;
    }
}

@media screen and (max-width: 900px) {
    .PillarCardCntr {
        flex-direction: column;
        align-items: center;
    }

    .PillarCard {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 750px) {
    .ContentSectionInner {
        padding-left: 60px;
    }
}

@media screen and (max-width: 600px) {
    #RegisterLinkCntr {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }

    #MembershipDescription {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    #MembershipDescription a {
        order: 2;
    }
}

@media screen and (max-width: 480px) {
    #RegisterLinkCntr {
        gap: 30px;
    }
}
