.project_title {
    display: flex;
    flex-direction: row;
    gap: 2px;
    height: fit-content;
    padding-top: 25px;
    padding-bottom: 35px;
}

.redline {
    width: 5px;
    background-color: var(--secondary-color);
    margin-right: 20px;
}

.project_title h1 {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: var(--font-secondary);
    font-size: var(--size-48);
}

.project_first_block {
    padding: 0px 8% 40px 8%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project_first_block a, .project_first_block p, .project_first_block span {
    font-size: var(--size-16);
    line-height: var(--line-height-25);
}

.project_first_block img {
    width: 100%;
}

.project_first_block a {
    text-decoration: underline;
    color: #178fd9;
}

.project_menu_block {
    background-color: var(--blue-green-color);
    /* width: calc(31% - 60px); */
    padding: 25px 30px;
    height: fit-content;
    /* overflow-y: auto;
    max-height: calc(100vh - 155px); */
    border-radius: 5px;
}

.project_second_blocks::-webkit-scrollbar {
    width: 0px;
    background-color: rgba(18, 18, 18, 0.2);
    border-radius: 100px;
}

.project_menu_block::-webkit-scrollbar-thumb {
    background-color: #121212;
    /* Цвет кнопки прокрутки */
    border: 1px solid #121212;
    /* Граница кнопки прокрутки */
    border-radius: 100px;
}

.project_menu_block::-webkit-scrollbar-thumb:hover {
    background-color: #121212;
    /* Цвет кнопки прокрутки при наведении */
}

.project_menu_block p,
.project_menu_block h2,
.project_menu_block h3 {
    color: var(--white-color);
}

.share_block {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share_block_download,
.share_block_print,
.share_block_share {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    width: fit-content;
}

.share_block_download:hover h3,
.share_block_print:hover h3,
.share_block_share:hover h3 {
    /* text-decoration: underline; */
    opacity: 0.7;
}

.share_block_download h3,
.share_block_print h3,
.share_block_share h3 {
    transition: 0.2s ease-out;
    font-size: var(--size-18);
    line-height: 25px;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.share_block_download img {
    width: 40px;
    height: 40px;
    transition: 0.2s ease-out;
}

/* .share_block_download:hover img {
    content: url(material-symbols-light_sim-card-download.svg);
} */

.share_block_share img {
    width: 40px;
    height: 40px;
    transition: 0.2s ease-out;
}

/* .share_block_share:hover img {
    content: url(share-hover.svg);
} */

.share_block_print img {
    content: url(print.svg);
    width: 40px;
    height: 40px;
    transition: 0.2s ease-out;
}

.share_block_print:hover img {
    content: url(print-hover.svg);
}

.p_on_p_p {
    text-transform: uppercase;
    font-weight: 700;
    line-height: 25px;
    width: fit-content;
    font-family: var(--font-secondary);
    font-size: var(--size-18);
}

.project_titlelink_text {
    display: flex;
    flex-direction: row;
    transition: 0.2s ease-out;
    padding: 12px 10px;
    justify-content: space-between;
    border-left: 2px solid rgba(183, 4, 4, 0.001);
}

.project_titlelink_text:hover {
    background-color: rgba(183, 4, 4, 0.1);
}

.project_on_page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.titlelinks {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0px 10px;
    display: none;
}

.titlelinks a {
    font-size: var(--size-18);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: 0.2s ease-out;
    color: var(--white-color);
    font-family: var(--font-secondary);
}

.titlelinks a:hover {
    opacity: 0.7;
}

.project_menu_block hr {
    opacity: 0.4000000059604645;
    border: 1px solid #33FBE7;
    padding: 0;
    margin: 25px 0;
}

.project_titlelink.open .project_titlelink_text {
    background-color: rgba(51, 251, 231, 0.4);
    border-left: 2px solid var(--secondary-color);
}

.project_titlelink.open .titlelinks {
    display: flex;
}

.project_titlelink.open .project_titlelink_text img {
    transform: rotate(180deg);
}

.project_titlelink {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project_titlelink_text a {
    width: fit-content;
    font-size: var(--size-22);
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--white-color);
    font-family: var(--font-secondary);
}

.project_second_block {
    display: flex;
    flex-direction: row;
    gap: 40px;
    /* width: calc(69% - 60px); */
}

.project_second_blocks {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 50px);
    width: 25%;
}

.project_art_blocks {
    width: 69%;
    gap: 30px;
    display: flex;
    flex-direction: column;
    position: sticky;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
}

.project_art_blocks::-webkit-scrollbar {
    display: none;
}

.project_art_block:first-child {
    padding-top: 0px;
}

.project_art_block {
    padding-top: 20px;
}

.ptilte,
.psubtitle {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    transition: 0.2s ease-out;
}

.ptilte img:hover,
.psubtitle img:hover {
    opacity: 0.7;
}

.ptilte {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* .project_art_block .psubtitle:first-child {
    padding-top: 0px !important;
    padding-bottom: 30px !important;
} */

.project_art_block .psubtitle {
    /* padding-top: 30px; */
    padding-bottom: 30px;
}

.project_art_block .psubtitle {
    padding-top: 30px;
}

.project_art_block *:nth-child(2) {
    padding-top: 0px !important;
}

.project_art_block .psubtitle:nth-child(1) {
    padding-top: 0px !important;
}

.ptext {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.readproject {
    padding-bottom: 30px;
}

.ptext span,
.ptext a,
.ptext p,
.ptext li {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: var(--size-16);
    line-height: var(--line-height-25);
}

.ptext h1,
.ptext h2,
/* .ptext h3, */
.ptext h4,
.ptext h5,
.ptext h6 {
    font-family: 'e-Ukraine';
    font-style: normal;
    line-height: 25px;
}

.project_art_block .ptext>h3 {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 400;
    font-size: var(--size-16);
    line-height: var(--line-height-25);
}

.ptext ul {
    /* list-style: none; */
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ptext ol {
    gap: 15px;
}


.ptext ul li div {
    width: calc(100% - 8px);
}

.ptext ul li::before {
    content: "";
    display: inline-block;
    width: 8px;
    min-width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;  /* Вирівнювання по центру тексту */

}

.ptext img {
    max-width: 100%;
    object-fit: cover;
}

/* .fourth_block_popup_front_text span,
.fourth_block_popup_front_text a,
.fourth_block_popup_front_text p {
    font-family: 'e-Ukraine';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 25px;
}

.fourth_block_popup_front_text h1,
.fourth_block_popup_front_text h2,
.fourth_block_popup_front_text h3,
.fourth_block_popup_front_text h4,
.fourth_block_popup_front_text h5,
.fourth_block_popup_front_text h6
{
font-family: 'e-Ukraine';
font-style: normal;
line-height: 25px;
}

.fourth_block_popup_front_text ul {
    list-style: none;
    padding-left: 0;
}

.fourth_block_popup_front_text ul li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #B70404;
    border-radius: 50%;
    margin-right: 5px;
} */

.ptext a {
    text-decoration: underline;
    color: #178fd9;
    transition: 0.2s ease-out;
}

.ptext a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.share_block_share_menu {
    display: none;
}

.share_block_share_menu.open {
    display: flex;
    gap: 20px;
    align-items: center;
    /* justify-content: space-between;
    padding: 0px 30px; */
}

.share_media {
    display: flex;
    padding: 8px;
    border: 2px solid rgba(40, 44, 45, 0.40);
    border-radius: 3px;
    transition: 0.2s ease-out;
}

.share_media img {
    transition: 0.2s ease-out;
}

.share_media:hover img {
    opacity: 0.6;
}

/* .project_menu_block, */
.project_art_blocks {
    position: sticky;
    top: calc(5px + 1rem);
}

.project_second_blocks {
    position: sticky;
    top: calc(5px + 1rem);
}

html {
    scroll-behavior: smooth;
  }

.share_block_mobile {
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.share_block_mobile_block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.project_titlelink_mob {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.titlelink_mob_list {
    flex-direction: column;
    gap: 20px;
    display: flex;
}

.project_art_block.active {
    display: block;
}

.titlelink_mob_click {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* background-color: rgba(183, 4, 4, 0.2);
    border-left: 2px solid #B70404; */
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.titlelink_mob_click.toggled {
    display: flex;
}

.titlelink_mob_click.toggled.act {
    background-color: rgba(183, 4, 4, 0.2);
    border-left: 2px solid #B70404;
}

.titlelink_mob_click.active {
    display: flex;
}

.titlelink_mob_list.toggled .titlelink_mob_click.active svg {
    display: none;
}

.titlelink_mob_click * {
    pointer-events: none;
}

.project_first_block h2 {
    font-family: var(--font-secondary);
    font-size: var(--size-40);
    font-weight: 700;
}

.project_first_block h3 {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: var(--size-16);
    color: var(--primary-color);
}

.e-UkraineHeadh2 {
    font-family: var(--font-secondary);
    font-size: var(--size-40);
    font-weight: 700;
}

.psubtitle h2, .psubtitle h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: var(--size-24);
}

.psubtitle h3::before {
    content: '';
    display: inline-block;
    width: 0.7vw;
    height: 0.7vw;
    background-color: #33FBE7;
    border-radius: 50%;  /* Робимо елемент круглим */
    margin-right: 0.7vw;  /* Відступ від тексту */
    vertical-align: middle;  /* Вирівнювання по центру тексту */

}


.ptext h3 {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 700;
    font-size: var(--size-24);
    line-height: var(--line-height-25)
}

.project_second_block2 {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    border-radius: 5px;
    border: 1px solid #0E1E2866
}

.project_second_block2 p {
    font-size: var(--size-19);
    font-weight: 300;
    font-family: var(--font-secondary);
    color: var(--primary-color);
}

.related_to_projects p:first-child, .related_authors p:first-child {
    font-weight: 300;
}

.project_second_block2 hr {
    opacity: 0.2;
    border: 1px solid #0E1E28;
    padding: 0;
    margin: 20px 0;
}

.related_authors_list {
    display: flex;
    flex-direction: column;
}

.related_authors_list p {
    width: fit-content;
    font-weight: 600;
}

.related_authors_list a, .related_to_projects a:last-child {
    font-weight: 600 !important;
    font-family: var(--font-secondary);
    font-size: var(--size-19);
    transition: 0.2s ease-out;
}

.related_authors_list a:hover, .related_to_projects a:last-child:hover {
    opacity: 0.8;
}

.titlelink_mob_click a {
    font-family: var(--font-secondary);
    font-size: var(--size-18);
    color: var(--white-color);
    font-weight: 700;
}

.project_related_analytics h2 {
    font-family: var(--font-main);
    font-size: var(--size-40);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
}

.project_related_analytics {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 20px;
}

.project_related_analytics_list .slider-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.project_related_analytics_list .news {
    width: 48%;
}

.news_mainpage_counter {
    width: 100%;
    align-items: center;
    justify-content: center;
}

.analitics_subblock {
    margin-top: 25px;
}

.analitics_subblock h4 {
    font-family: var(--font-secondary);
    font-style: normal;
    font-weight: 600;
    font-size: var(--size-24);
    line-height: var(--line-height-25);
}

.dropdown_body {
    background: #F0F0F0;
    padding: 15px 20px;
    height: fit-content;
    overflow: hidden;
    transition: 0.2s ease-out;
    position: absolute;
    z-index: 10;
    margin-top: 10px;
    display: none;
}

.dropdown_body_active {
    border: 1px solid rgba(1, 21, 15, 0.1);
    box-sizing: content-box;
    display: block;
}

.dropdown_body > li {
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: var(--size-16);
    font-weight: 300;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: left;
    color: #121212;
    transition: 0.2s ease-out;
}

.dropdown_body > li:hover {
    opacity: 0.8;
}

.dropdown_body > hr {
    margin: 15px 0;
}

.share_block_mobile_block .dropdown {
    position: relative;
}

.share_block_mobile_block .dropdown .dropdown_body {
    position: absolute;
    left: -50px;
}

.project_analytic_content {
    width: calc(100% - 30px);
    height: 100%;
}