@font-face {
    src: url("../fonts/InterTight-Bold.ttf");
    font-family: "InterTight-Bold";
}
@font-face {
    src: url("../fonts/InterTight-Medium.ttf");
    font-family: "InterTight-Medium";
}
@font-face {
    src: url("../fonts/InterTight-Light.ttf");
    font-family: "InterTight-Light";
}
@font-face {
    src: url("../fonts/InterTight-Regular.ttf");
    font-family: "InterTight-Regular";
}
@font-face {
    src: url("../fonts/Webstart-Regular.ttf");
    font-family: "Webstart-Regular";
}
@font-face {
    src: url("../fonts/Webstart-Bold.ttf");
    font-family: "Webstart-Bold";
}
@font-face {
    src: url("../fonts/Webstart-Light.ttf");
    font-family: "Webstart-Light";
}
/* Même logique que portfolio.css : pas de font sur html (sinon conflit avec Unbounded). */
.portfolio_single_section,
.grey_back_portfolio {
    font-family: "InterTight-Regular", system-ui, sans-serif;
}
html:lang(hy-AM) .portfolio_single_section,
html:lang(hy-AM) .grey_back_portfolio {
    font-family: "Webstart-Regular", system-ui, sans-serif;
}
.portfolio_single_section{
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 80px;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 100px;
}
.portfolio_img{
    height: 640px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio_img video,
.portfolio_img img{
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}
.about_portfolio_blck{
    color: rgba(255, 255, 255, 0.60);
    flex-direction: column;
    gap: 32px;
    align-items: start;
}
.about_portfolio_blck h1, .about_portfolio_blck h2, .about_portfolio_blck h3,
.about_portfolio_blck h4, .about_portfolio_blck h5, .about_portfolio_blck h6{
    font-size: 40px;
    color: var(--white);
    text-align: center;
}
.servies_info{
    justify-content: start;
    flex-wrap: wrap;
    gap: 8px;
}
.serv_types{
    color: var(--white);
    padding: 18px 20px;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #111;
}
.highlights_section{
    flex-direction: column;
    align-items: start;
    gap: 16px;
}
.mini_sp{
    font-size: var(--forteen);
    color: rgba(255, 255, 255, 0.60);
}
.highlights_title{
    color: var(--white);
    font-size: 30px;
    max-width: 400px;
    line-height: 140%; 
}

/* work_content — читаемая типографика редактора WordPress (long-form контент проекта) */
.work_content {
    width: 100%;
    max-width: 760px;
    margin: 24px 0 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    text-align: left;
    font-weight: 400;
    letter-spacing: 0;
}
.work_content > *:first-child {
    margin-top: 0;
}
.work_content p {
    margin: 0 0 1.25em;
    font-size: 1em;
    line-height: 1.75;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
}
.work_content p:last-child {
    margin-bottom: 0;
}
/* Override global .about_portfolio_blck h2/h3/h4 rules (40px, center, uppercase) */
.about_portfolio_blck .work_content h2,
.about_portfolio_blck .work_content h3,
.about_portfolio_blck .work_content h4,
.work_content h2,
.work_content h3,
.work_content h4 {
    color: var(--white);
    text-align: left;
    text-transform: none;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 2em 0 0.6em;
}
.about_portfolio_blck .work_content h2,
.work_content h2 {
    font-size: 28px;
    line-height: 1.25;
}
.about_portfolio_blck .work_content h3,
.work_content h3 {
    font-size: 22px;
    line-height: 1.3;
}
.about_portfolio_blck .work_content h4,
.work_content h4 {
    font-size: 19px;
    line-height: 1.35;
}
.work_content h2:first-child,
.work_content h3:first-child,
.work_content h4:first-child {
    margin-top: 0;
}
.work_content ul,
.work_content ol {
    margin: 0 0 1.4em;
    padding-left: 1.35em;
}
.work_content ul li::marker {
    color: rgba(255, 255, 255, 0.45);
}
.work_content li {
    margin-bottom: 0.45em;
    font-size: 1em;
    line-height: 1.7;
    text-align: left;
}
.work_content strong,
.work_content b {
    color: var(--white);
    font-weight: 700;
}
.work_content a {
    color: var(--pink, #ff29d0);
    text-decoration: underline;
}
.work_content a:hover {
    text-decoration: none;
}
.work_content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1em 0;
}
.work_content blockquote {
    margin: 1.25em 0;
    padding-left: 1.5em;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
}
.work_content .one_block_description {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.work_content .work_footer_block {
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.work_content .footer_description {
    margin-top: 0.75em;
}

.work_footer_block{
    margin-top: 30px;
}
.highlight_items{
    display: grid;
    grid-template-columns: repeat( 3,1fr );
    gap: 26px;
}
.highlight_item_blck{
    height: 270px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.highlight_items .portfolio_image_info_blck{
    height: 270px;
    position: relative;
    overflow: hidden;
    display: flex;
}
.highlight_items .portfolio_image_info_blck img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.highlight_items .portfolio_image_info_blck .info_on_hover{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex !important;
    z-index: 2;
    background: rgb(0 0 0 / 50%);
    padding: 20px;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}
.highlight_items .portfolio_image_info_blck .info_on_hover .share_btn{
    pointer-events: auto;
}
.highlight_items .portfolio_image_info_blck:hover .info_on_hover{
    opacity: 1 !important;
}
.for_slider_back{
    align-items: start;
    min-height: auto;
    padding: 70px;
}
.portfolioSlider .portfolio_link_item{
    max-width: 576px;
}
.for_slider_back .highlights_title{
    max-width: none;
}

/* chosen filter */
.portfolio_img{
    display: flex;
    justify-content: center;
}
.chosen_filters_blck{
    position: absolute;
    bottom: -62px;
    z-index: 1;
    border-radius: 14px;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(17, 17, 17, 0.60);
    backdrop-filter: blur(8.5px);
}
.filters_scrollbar{
    overflow: auto;
    gap: 4px;
    align-items: stretch;
    padding: 10px;
}
.back_portfolio, .chosen_filter_name, .look_site{
    min-width: fit-content;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 8px;
    background: #262525;
    color: var(--white);
    font-size: 18px;
}
.back_portfolio{
    cursor: pointer;
}
.back_portfolio:hover{
    background-color: var(--pink);
}
.look_site{
    border: 1px solid var(--pink);
    background-color: var(--pink);
}
.look_site:hover{
    background-color: transparent;
}
.filters_scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--pink);
    background-clip: padding-box;
    transition: all 300ms ease-out;
    cursor: pointer;
    border-radius: 90px;
}
.filters_scrollbar::-webkit-scrollbar{
    height: 2px;
    width: 2px;
}
.filters_scrollbar::-webkit-scrollbar-track {
    border-radius: 90px;
    background-color: #272727;
}











/* popup  */
.popup_section{
    position: fixed;
    height: calc(100vh - 120px);
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 120px 0 70px 0;
    background-color: #111;
    border-radius: 40px 40px 0 0;
    transform: translateY(100%);
    transition: transform 0.7s ease;
}
.popup_section_active{
    transform: translateY(0);
}
.portfolio_popup{
    max-height: 100%;
    overflow: auto;
    padding: 0 10px;
    flex-direction: column;
    align-items: start;
    gap: 60px;
}
.portfolio_popup::-webkit-scrollbar-thumb {
    background-color: var(--pink);
    background-clip: padding-box;
    transition: all 300ms ease-out;
    cursor: pointer;
    border-radius: 90px;
}
.portfolio_popup::-webkit-scrollbar{
    height: 2px;
    width: 2px;
}
.portfolio_popup::-webkit-scrollbar-track {
    border-radius: 90px;
    background-color: #272727;
}
.portfolio_popup .close_popup{
    cursor: pointer;
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #181818;
}
.portfolio_popup .close_popup:hover{
    border-color: var(--pink);
}
.portfolio_popup .close_popup:hover svg path{
    fill: var(--pink);
}
.title_btn_blck{
    gap: 10px;
}
.see_page_btn{
    padding: 22px;
    background-color: var(--pink);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    border: 1px solid var(--pink);
}
.see_page_btn:hover{
    color: var(--pink);
    background-color: transparent;
}
.video_or_image_popup img,
.video_or_image_popup video{
    display: none;
    width: 100%;
}
.popuup_height{
    height: 100%;
}
.video_or_image_popup {
    min-height: 640px;
    height: 640px;
    border-radius: 20px;
    overflow: hidden;
}


@media screen and (max-width: 1600px){
    .portfolioSlider .portfolio_link_item {
        max-width: 530px;
    }
    .video_or_image_popup {
        min-height: 560px;
        height: 560px;
    }
    .portfolio_popup .close_popup{
        top: 20px;
        right: 30px;
        width: 50px;
        height: 50px;
    }
    .popup_section{
        padding: 100px 0 50px 0;
    }
    .portfolio_popup{
        gap: 40px;
    }
    

}
@media screen and (max-width: 1280px){
    .serv_types{
        font-size: 13px;
    }
    .video_or_image_popup {
        min-height: 500px;
        height: 500px;
    }
    .see_page_btn {
        padding: 18px;
    }
}
@media screen and (max-width: 1024px){
    .highlight_items .portfolio_image_info_blck {
        height: 230px;
    }
    .highlight_items{
        gap: 20px;
    }
    .portfolioSlider .portfolio_link_item {
        max-width: 430px;
    }
    .for_slider_back{
        padding: 50px;
        gap: 30px;        
    }
    .portfolio_single_section{
        gap: 85px;
    }
    .serv_types{
        padding: 14px 18px;
    }
    .video_or_image_popup {
        min-height: 480px;
        height: 480px;
    }
    .popup_section{
        height: calc(100vh - 75px);
    }


}
@media screen and (max-width: 768px){
    .highlight_items{
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio_img{
        height: 400px;
    }
    .video_or_image_popup {
        min-height: 380px;
        height: 380px;
    }
}
@media screen and (max-width: 600px){
    .highlight_items{
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio_img{
        height: 320px;
    }
    .about_portfolio_blck h1, .about_portfolio_blck h2, .about_portfolio_blck h3, .about_portfolio_blck h4, .about_portfolio_blck h5, .about_portfolio_blck h6 {
        font-size: 26px;
    }
    .for_slider_back {
        padding: 30px
    }
    .highlights_title{
        font-size: 22px;
    }
    .work_content {
        font-size: 16px;
        line-height: 1.7;
        max-width: 100%;
    }
    .about_portfolio_blck .work_content h2,
    .work_content h2 {
        font-size: 24px;
        line-height: 1.25;
        margin-top: 1.5em;
    }
    .about_portfolio_blck .work_content h3,
    .work_content h3 {
        font-size: 20px;
        line-height: 1.3;
    }
    .about_portfolio_blck .work_content h4,
    .work_content h4 {
        font-size: 17px;
    }
    .work_content p,
    .work_content li {
        font-size: 1em;
        line-height: 1.7;
    }
    .video_or_image_popup {
        min-height: 230px;
        height: 230px;
    }

}

/* Bloc liens contextuels (services, hub réalisations, contact) — single work */
.work-page-seo-context {
    margin-top: 1.75rem;
    padding: 1.2rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.025);
}
.work-page-seo-context__intro {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.78);
}
.work-page-seo-context__links {
    margin: 0 0 0.85rem;
    padding-left: 1.15rem;
}
.work-page-seo-context__links li {
    margin: 0.35rem 0;
}
.work-page-seo-context__links a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}
.work-page-seo-context__cta {
    margin: 0;
    font-weight: 600;
}
.work-page-seo-context__cta a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

