
@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";
}
/* Inter Tight uniquement dans les blocs portfolio — ne pas toucher à html, sinon
 * quand ce fichier est enqueue sur une autre page (ex. landing artisan) tout le
 * site passe en Inter et écrase Unbounded de style.css. */
.portfolio_section,
.grey_back_portfolio {
    font-family: "InterTight-Regular", system-ui, sans-serif;
}
html:lang(hy-AM) .portfolio_section,
html:lang(hy-AM) .grey_back_portfolio {
    font-family: "Webstart-Regular", system-ui, sans-serif;
}
.portfolio_header{
    gap: 30px;
    align-items: start;
    margin-bottom: 50px;
}
.portfolio_section{
    margin-top: 80px;
}
.portfolio_section h1{
    font-size: 60px;
}
.blog_changecolor {
    font-size: 26px;
    max-width: 1200px;
}
.portfolio_header h1{
    font-size: 50px
}
.grey_back_portfolio{
    max-width: 1920px;
    margin: 0 auto;
    border-radius: 60px 60px 0 0;
    background: #111;
    flex-direction: column;
    gap: 40px;
    padding: 70px;
    min-height: 80vh;
}
.portfolio_grid_blck{
    display: grid;
    grid-template-columns: repeat( 3, 1fr );
    gap: 46px 26px;
}
.portfolio_link_item{
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 30px;
}
.portfolio_name_item{
    font-size: 22px;
}
.portfolio_image_info_blck{
    border-radius: 14px;
    overflow: hidden;
    height: 436px;
    position: relative;
    cursor: pointer;
}
.portfolio_image_info_blck.media-loading{
    background: rgba(255, 255, 255, 0.08);
}
.portfolio_image_info_blck.media-loading::after{
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
    animation: portfolioShimmer 1.1s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}
.portfolio_image_info_blck.media-loading img,
.portfolio_image_info_blck.media-loading video{
    opacity: 0;
}
.info_on_hover{
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    height: 100%;
    justify-content: center;
    background: rgb(0 0 0 / 50%);
    flex-direction: column;
    opacity: 0;
}
.portfolio_link_item:hover .info_on_hover{
    opacity: 1;
}
.view_more_portfolio{
    position: absolute;
    margin: auto;
    border-radius: 8px;
    gap: 6px;
    font-size: 14px;
    padding: 14px 20px;
    color: black;
    background-color: var(--white);
}
.about_project{
    align-items: end;
    gap: 20px;
    margin-top: auto;
}
.titles_infs{
    flex-direction: column;
    align-items: start;
    gap: 16px;
}
.typeof_proj{
    font-weight: 300;
    font-size: 14px;
    text-transform: uppercase;
}
.nameof_proj{
    font-size: 22px;
}
.save_share_items{
    gap: 20px;
}
.save_share_items .share_btn,
.save_share_items .save_btn{
    cursor: pointer;
}
.save_share_items .share_btn.is-disabled{
    opacity: 0.4;
    cursor: default;
}
.save_share_items .share_btn:hover svg path{
    stroke: var(--pink) !important;
    fill: var(--pink) !important;
}
.save_share_items .save_btn:hover svg path{
    stroke: var(--pink) !important;
}
.save_share_items .save_btn.is-active svg path{
    stroke: var(--pink) !important;
    fill: var(--pink) !important;
}
.load_more_porfolio{
    color: var(--white);
    cursor: pointer;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #181818;
    width: fit-content;
}
.load_more_porfolio.is-loading{
    opacity: 0.7;
    pointer-events: none;
}
.load_more_porfolio:hover{
    background-color: var(--pink);
}
/* filter */
.portfolio_filter_blck{
    /* display: none; */
    position: fixed;
    bottom: 40px;
    gap: 20px;
    z-index: 10;
    align-items: stretch;
    margin-bottom: 50px;
    padding: 10px 10px 10px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(17, 17, 17, 1);
    backdrop-filter: blur(8.5px);
}
.w_logo{
    cursor: pointer;
}
.w_logo:hover svg path{
    stroke: var(--pink);
    fill: var(--pink);
}
.filter_form{
    gap: 4px;
    position: relative;
    align-items: stretch;
}
.open_search_blck{
    width: 62px;
    padding: 12px;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    cursor: pointer;
}
.open_search_blck:hover{
    background-color: var(--pink);
}
.dropdown_rel{
    position: relative;
}
.choose_filter_type{
    gap: 12px;
    cursor: pointer;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    height: 100%;
}
.filter_type{
    font-size: 18px;
    color: white;
}
.chosen_num{
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--white);
}
.choose_filter_type:hover{
    background-color: var(--pink);
}
.dropdown_portfolio{
    min-width: 240px;
    padding: 12px;
    max-height: 300px;
    overflow: auto;
    background: #111;
    flex-direction: column;
    align-items: start;
}
.hidden_border{
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    position: absolute;
    left: 50%;
    bottom: 85px;
    transform: translate(-50%, 0);
}
.hidden_border_active{
    display: flex;
}
.dropdown_portfolio::-webkit-scrollbar-thumb {
    background-color: var(--pink);
    background-clip: padding-box;
    transition: all 300ms ease-out;
    cursor: pointer;
    border-radius: 90px;
}
.dropdown_portfolio::-webkit-scrollbar{
    height: 2px;
    width: 2px;
}
.dropdown_portfolio::-webkit-scrollbar-track {
    border-radius: 90px;
    background-color: #272727;
}
.portfolio_image_info_blck video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.radio_lab {
    cursor: pointer;
    gap: 10px;
    padding: 10px 14px;
    justify-content: start;
    border-radius: 12px;
}
.radio_lab:hover{
    background: #181818;
}
.accept_descrip{
    color: rgba(255, 255, 255, 0.60);
    font-size: 16px;
}
.checko_, .check_inp, .checkbox_form {
    padding: 0;
    width: 20px;
    height: 20px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
.check_inp {
    opacity: 0;
    z-index: 2;
    position: absolute;
    cursor: pointer;
}
.checkbox_form {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #272727;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    z-index: 0;
}
.checko_svg {
    display: none;
    justify-content: center;
    align-items: center;
}
.checko_ {
    position: relative;
}
.checko_ input:checked~.checkbox_form .checko_svg {
    display: flex;
}
.checko_ input:checked~.checkbox_form {
    background-color: var(--pink);
}
.radio_lab:hover .accept_descrip{
    color: white;
}
.apply_btn{
    padding: 18px 20px;
    border-radius: 8px;
    background-color: var(--pink);
    color: var(--white);
    font-size: 16px;
    border: 1px solid var(--pink);
}
.apply_btn:hover{
    background-color: transparent;
}
.full_filter_search_blck{
    width: 0;
    overflow: hidden;
    opacity: 0;
    position: absolute;
    left: 0;
    z-index: 1;
    height: 100%;
    gap: 4px;
    align-items: stretch;
    border-radius: 8px;
    backdrop-filter: blur(8.5px);
    background: rgba(17, 17, 17, 1);
}
.full_filter_search_blck_active{
    width: 100%;
    opacity: 1;
}
.inp_rel{
    position: relative;
}
.search_filter_inp{
    color: white;
    font-size: 18px;
    padding: 18px 18px 18px 56px;
    border-radius: 8px;
    height: 100%;
    background-color: transparent;  
    background: rgba(17, 17, 17, 1);
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.close_search{
    position: absolute;
    left: 20px;
    cursor: pointer;
}
.close_search:hover svg path{
    fill: var(--pink);
}
.search_btn_f{
    cursor: pointer;
    background-color: var(--pink);
    width: 82px;
    border-radius: 8px;
    justify-content: center;
}
.active_num{
    width: 24px;
    min-width: 24px;
    height: 24px;
    font-size: 12px;
    background-color: var(--pink);
    color: var(--white);
    justify-content: center;
    display: flex;
    align-items: center;
}
.restart_filter_btn{
    opacity: 0;
    width: 0;
    overflow: hidden;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.restart_filter_btn_active{
    width: 62px;
    opacity: 1;
}
.restart_filter_btn:hover{
    border-color: var(--pink);
}
.restart_filter_btn:hover svg path{
    stroke: var(--pink);
}
.filter_btn_mob{
    display: none;
    padding: 10px 14px;
    gap: 12px;
    cursor: pointer;
    font-size: 12px;
    color: white;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}
.btns_blck_flt{
    align-items: stretch;
    gap: 4px;
}
.underline_for_mob{
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.goto_drop_mob{
    display: none;
}
.drops_title_mob{
    gap: 10px;
    margin-bottom: 16px;
    display: none;
}
.backto_popup{
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #262525;
    justify-content: center;
}
.reset_text_mob{
    color: white;
    font-size: 14px;
    display: none;
}





/* Pagination */
ul.pagination{
    list-style: none;
}
.pagination{
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 10px auto 0;
}
/*
 * Pagination uniquement : ne pas cibler `.page_item` globalement — WordPress utilise aussi
 * la classe `page_item` pour les entrées du menu des pages (ex. footer « Navigation » sur /works/).
 */
.pagination .page_item,
.pagination .page_link{
    justify-content: center;
    display: flex;
}
.pagination .page_item{
    align-items: center;
    background-color: var(--white);
    cursor: pointer;
    border-radius: 12px;
}
.pagination .page_link{
    color: inherit;
    width: 50px;
    height: 50px;
    align-items: center;
}
.pagination .page_link > span{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--black);
    font-weight: 600;
}
.pagination .page_item.active,
.pagination .page_item:hover{
    background-color: var(--pink);
}
.pagination .page_item.active .page_link > span,
.pagination .page_item.active .page_link > span > svg > path,
.pagination .page_item:hover .page_link > span{
    color: var(--white);
}
.pagination .page_item:hover .page_link > span > svg > path{
    stroke: var(--white);
}
.portfolio_image_info_blck video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skeleton loader for portfolio cards */
.portfolio_skeleton_group{
    display: contents;
}
.portfolio_link_item.is-skeleton{
    pointer-events: none;
}
.portfolio_link_item.is-skeleton .portfolio_image_info_blck{
    background: rgba(255, 255, 255, 0.08);
}
.portfolio_link_item.is-skeleton .portfolio_name_item{
    height: 18px;
    width: 60%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}
.skeleton-shimmer{
    position: relative;
    overflow: hidden;
}
.skeleton-shimmer::after{
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0) 100%);
    animation: portfolioShimmer 1.1s ease-in-out infinite;
}
@keyframes portfolioShimmer{
    100%{ transform: translateX(100%); }
}





@media screen and (max-width: 1600px){
    .portfolio_image_info_blck{
        height: 400px;
    }
    .grey_back_portfolio{
        padding: 60px;
    }

}
@media screen and (max-width: 1440px){
    .portfolio_grid_blck{
        gap: 26px;
    }
    .portfolio_image_info_blck {
        height: 350px;
    }
    .portfolio_name_item {
        font-size: 18px;
    }
    .titles_infs{
        gap: 10px;
    }
    .nameof_proj {
        font-size: 18px;
    }
    .typeof_proj {
        font-size: 12px;
    }
    .grey_back_portfolio{
        border-radius: 50px 50px 0 0;
    }
    .filter_type {
        font-size: 16px;
    }
    .choose_filter_type, .apply_btn{
        padding: 16px 18px;
        gap: 10px;
    }
    .open_search_blck {
        width: 60px;
    }
    .grey_back_portfolio{
        padding-bottom: 160px !important;
    }
    .portfolio_filter_blck{
        bottom: 10px;
    }


}
@media screen and (max-width: 1280px){
    .grey_back_portfolio {
        padding: 50px;
    }
    .portfolio_image_info_blck {
        height: 300px;
    }
    .view_more_portfolio{
        font-size: 12px;
        padding: 12px 14px;
    }

}
@media screen and (max-width: 1024px){
    .portfolio_grid_blck{
        grid-template-columns: repeat(2, 1fr);
    }
    /* Скрывать hover только в сетке портфолио, не в highlight_items на single-work */
    .portfolio_grid_blck .info_on_hover {
        display: none;
    }
    .filter_form{
        flex-direction: column;
    }
    .filter_btn_mob{
        display: flex;
    }
    .portfolio_filter_blck{
        margin-bottom: 10px;
    }
    .grey_back_portfolio {
        padding-bottom: 130px !important;
    }
    .gray_back {
        background: rgba(17, 17, 17, 0.60);
        display: none;
        position: fixed;
        width: 100%;
        z-index: 32;
        height: 100%;
        top: 0;
        right: 0;
        left: 0;
    }
    .gray_back_active {
        display: block;
    }
    .parent_pop {
        position: relative;
        display: flex;
        justify-content: center;
    }
    .filter_popup_blck {
        z-index: 33;
        position: fixed;
        display: none;
        width: 92%;
        z-index: 32;
        top: 10%;
        max-width: 525px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 12px;
    }
    .popup_block_active {
        display: flex;
    }
    .filter_form_popup{
        padding: 12px;
        position: relative;
        flex-direction: column;
        gap: 16px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.10);
        background: #111;
    }
    .popup_title_close_blck{
        gap: 10px;
    }
    .popup_title{
        font-size: 18px;
        color: white;
    }
    .close_title{
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 6px;
        background: #262525;
    }
    .grey_underline{
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    }
    .full_filter_search_blck{
        margin-bottom: 12px;
        width: 100%;
        opacity: 1;
        position: inherit;
    }
    .open_search_blck, .close_search{
        display: none;
    }
    .btns_blck_flt{
        margin-top: 12px;
    }
    .apply_btn, .restart_filter_btn {
        width: 100%;
        opacity: 1;
    }
    .search_filter_inp{
        padding: 12px;
        font-size: 16px;
    }
    .underline_for_mob{
        display: block;
        margin-bottom: 12px;
    }
    .chosen_num{
        margin-right: auto;
    }
    .goto_drop_mob, .reset_text_mob{
        display: block;
    }
    .restart_filter_btn svg{
        display: none;
    }
    .search_btn_f{
        min-width: 40px;
        width: 40px;
    }
    .search_btn_f svg{
        width: 16px;
        height: 16px;
    }
    .choose_filter_type, .apply_btn{
        padding: 14px;
    }
    .filter_form, .filter_form .dropdown_rel{
        position: initial;
    }
    .hidden_border{
        width: 100%;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        transform: none;
        flex-direction: column;
        background: #111;
        padding: 12px;
    }
    .dropdown_portfolio{
        max-height: 100%;
    }
    .drops_title_mob{
        display: flex;
    }
    .dropdown_portfolio{
        padding: 0;
    }
    .drops_title_mob .filter_type{
        margin-right: auto;
    }
    .choose_filter_type{
        min-height: 54px;
    }

    



}
@media screen and (max-width: 768px){
    .grey_back_portfolio {
        padding: 30px;
    }
    .portfolio_image_info_blck {
        height: 270px;
    }
    .portfolio_header{
        flex-direction: column;
        align-items: start;
    }
}
@media screen and (max-width: 600px){
    .portfolio_grid_blck {
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio_image_info_blck{
        height: 220px;
    }
}

/* ——— SEO intro (/works/) : texte + chips, sans impacter la grille ——— */
.works-seo-intro{
    margin: 0 auto 32px;
    padding: 0 clamp(16px, 3vw, 28px);
    max-width: 1160px;
    width: 100%;
    box-sizing: border-box;
}
.works-seo-intro__inner{
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.works-seo-intro__title{
    font-size: clamp(22px, 2.8vw, 30px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    color: #111111;
    font-weight: 650;
}
.works-seo-intro__lead{
    margin: 0;
    max-width: 72ch;
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.55;
    color: rgba(17, 17, 17, 0.82);
}
.works-seo-intro__ctx{
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(17, 17, 17, 0.78);
    max-width: 72ch;
}
.works-seo-intro__ctx a{
    color: var(--pink, #ff29d0);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.works-seo-intro__ctx a:hover{
    color: #111111;
}
.works-seo-intro__chips{
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.works-seo-intro__chips li{
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    background: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #111111;
}
html:lang(hy-AM) .works-seo-intro__title,
html:lang(hy-AM) .works-seo-intro__lead,
html:lang(hy-AM) .works-seo-intro__ctx,
html:lang(hy-AM) .works-seo-intro__chips li{
    font-family: "Webstart-Regular", system-ui, sans-serif;
}

