.services.after_header {
    position: relative;
    /* background: #f2f5f7; */
    padding: 80px 0 100px;
    overflow: hidden;
}

.services.after_header:before {
    position: absolute;
    content: '';
    background: url(/wp-content/themes/abagency/assets/images/decor-background.webp);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .6;
}

.after_header-inner,
.after_header-breadcrumbs {
    position: relative;
    z-index: 2;
}

.after_header-breadcrumbs {
    padding: 5px 0;
    margin: 0 0 20px;
    font-size: 14px;
    color: #9a9a9a;
}

.after_header-breadcrumbs a {
    font-size: 14px;
    color: #9a9a9a;
}

.after_header-inner-titles {
    flex: 70%;
}

.services .after_header-title h1 {
    font-size: 8rem;
    text-transform: uppercase;
    -webkit-text-stroke: 10px #272b2f;
    letter-spacing: 5px;
}

.after_header-circle {
    margin: 0 auto;
}

.after_header-inner-content-qty {
    min-width: 250px;
    width: 100%;
    flex: 30%;
    margin: 50px 0 0;
}

.content-qty__content {
    position: relative;
    font-family: 'Decorated';
    padding: 10px 0;
    margin: 10px 0;
}

.content-qty__content:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 5px;
    background: #24272b;
    bottom: 0;
}

.after_header-inner-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.after_header-short-desc {
    max-width: 800px;
}

.after_header-types-inner-item a {
    font-size: 4rem;
    font-family: 'FixelDisplay';
    color: transparent;
    -webkit-text-stroke: #ffffff 1px;
}

.services_page {
    margin: 80px 0;
}

.services_page-sidebar-inner {
    position: sticky;
    top: 70px;
}

.services_page-sidebar-title {
    font-size: 2rem;
    font-weight: 700;
}

.services_page-sidebar-desc {
    margin: 30px 0;
    font-size: 15px;
}

.services_page-types-inner {
    margin: 10px 0 30px;
}

.services_page-types-inner-item-link {
    padding: 5px 0;
}

.services_page-types-inner-item-link a {
    border-bottom: 1px solid #000000;
}

.services_page-content__items {
    margin: 0 0 5rem;
}

.services_page-content__items:last-child {
    margin-bottom: 0;
}

.services_page-content__items-inner-title {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px dashed #000000;
    margin-bottom: 20px;
}

.services_page-content__items-inner-title svg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

.services_page-content__items-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 50px;
    row-gap: 30px;
    margin-top: 3rem;
}

.services_page-content__items-inner>div {
    flex: 1 500px;
}

.services_page-content__items-image {
    position: relative;
    max-width: 400px;
    overflow: hidden;
    border-radius: 0.83em;
    -webkit-border-radius: 0.83em;
    -moz-border-radius: 0.83em;
    -ms-border-radius: 0.83em;
    -o-border-radius: 0.83em;
}

.services_page-content__items-image > div {
    position: absolute !important;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    background: #fff;
    transform-origin: left;
    transform: translate(100%, 0);
    -webkit-transform: translate(100%, 0);
    -moz-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    -o-transform: translate(100%, 0);
}

.slide_image__animation {
    visibility: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 500px;
    overflow: hidden;
}

.services_page-content__items-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.services_page-content__items-inner-desc {
    max-width: 400px;
    margin-bottom: 40px;
}

.services_page-content__items-inner-content-title {
    padding-bottom: 10px;
}

.services_page-content__items-inner-content a {
    padding: 5px 0;
    border-bottom: 1px dashed var(--ab-dark-color);
    display: block;
    width: fit-content;
}

/*
* TAXONOMY
*/

.tax-types .services .after_header-title h1 {
    font-size: 4rem;
    font-family: 'FixelDisplay';
    -webkit-text-stroke: 0;
    letter-spacing: 0;
}

.term_inner-top {
    margin-top: -50px;
}

.term_inner-top img {
    position: relative;
    z-index: 2;
}

.term_inner-top-content {
    margin-top: 70px;
    max-width: 400px;
}

.term_inner-top-content h2 {
    font-size: 3rem;
}

.term_inner-top-info {
    margin: 30px 0;
}

.marquee {
    font-size: 6rem !important;
    padding: 50px 0 !important;
    overflow: visible !important;
    z-index: 1;
}

.marquee-item:nth-child(odd) {
    -webkit-text-stroke: 0px !important;
    color: var(--ab-dark-color) !important;
}

.marquee-item:hover,
.marquee-item span {
    color: var(--accent-color) !important;
}

.marquee-item:hover:nth-child(odd) {
    -webkit-text-stroke: 0px transparent !important;
}

.marquee-item span {
    -webkit-text-stroke: 1px var(--ab-dark-color) !important;
    color: transparent !important;
}

.marquee-item:hover span {
    color: var(--accent-color) !important;
    -webkit-text-stroke: 1px transparent !important;
}

@media(max-width: 768px) {
    .tax-types .services .after_header-title h1 {
        font-size: 3rem;
    }

    .marquee {
        font-size: 3rem !important;
        padding: 10px 0 !important;
    }

    .services .after_header-title h1 {
        font-size: 6rem;
        -webkit-text-stroke: 5px #272b2f;
        letter-spacing: 0px;
    }
}

.term_inner-services {
    position: relative;
    max-width: 800px;
    margin: 20px auto 80px;
}

.term_inner-services-item a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 0 15px;
    width: 100%;
    position: relative;
    border-bottom: 1px solid #00000020;
    text-decoration: none;
    cursor: pointer;
    flex-wrap: nowrap;
}

.term_inner-services-item a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--ab-dark-color);
    content: "";
    z-index: 1;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
}

.term_inner-services-item:hover a:after {
    transform-origin: left;
    transform: scaleX(1);
    transition: transform 0.4s ease-in-out;
}

.term_inner-services-item h3 {
    font-size: 1.2rem;
}

.term_inner-services-item a>div {
    display: flex;
    column-gap: 20px;
    row-gap: 20px;
}

/*
* PORTFOLIO SLIDER
*/

.term_portfolio {
    position: relative;
    padding: 80px 0 30px !important;
    margin: 0 !important;
    background: #f2f5f7;
}

.term_portfolio:before {
    position: absolute;
    content: '';
    background: url(/wp-content/themes/abagency/assets/images/decor-background.webp);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .6;
}

.section-title {
    margin-bottom: 60px !important;
}

#term_portfolio-slider {
    position: relative;
    overflow: visible;
}

.term_portfolio-slide-inner-item {
    position: relative;
    display: block;
}

.term_portfolio-slide.swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.term_portfolio-slide {
    transform: scale(0.9);
    opacity: .5;
    transition: all .4s ease-in;
    -webkit-transition: all .4s ease-in;
    -moz-transition: all .4s ease-in;
    -ms-transition: all .4s ease-in;
    -o-transition: all .4s ease-in;
}

.term_portfolio-slide-inner-item .works {
    overflow: hidden;
    transition: -webkit-clip-path 0.4s ease-out 0s;
    transition: clip-path 0.4s ease-out 0s;
    transition: clip-path 0.4s ease-out 0s, -webkit-clip-path 0.4s ease-out 0s;
    background-color: #333;
    -webkit-clip-path: inset(0% 0% 0% 0%);
    clip-path: inset(0% 0% 0% 0%);
    margin-bottom: 30px;
}

.term_portfolio-slide-inner-item:hover .works {
    -webkit-clip-path: inset(4% 4% 4% 4%);
    clip-path: inset(4% 4% 4% 4%);
}

.term_portfolio-slide-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    margin-bottom: 50px;
}

.term_portfolio-slide-item-decor {
    position: relative;
    overflow: hidden;
    width: 8vw;
    min-width: 70px;
}

.term_portfolio-slide-item-decor-item {
    overflow: hidden;
    width: 38px;
    height: 26px;
    position: relative;
    top: -2px;
    left: 0;
    transition: left 0.3s ease-out;
}

.term_portfolio-slide-inner-item:hover .term_portfolio-slide-item-decor-item {
    left: 22px;
    transition: left 0.3s ease-in-out;
}

.term_portfolio-slide-item-decor-item svg {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 100%;
    top: 0;
    transition: right 0.3s ease-out, opacity 0.2s ease;
    opacity: 0;
}

.term_portfolio-slide-item-decor span {
    width: 100%;
    height: 2px;
    background-color: currentColor;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: block;
    position: absolute;
    opacity: 1;
    transition: right 0.3s ease, opacity 0.2s ease;
}

.term_portfolio-slide-inner-item:hover .term_portfolio-slide-item-decor span {
    right: 100%;
    transition: right 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.term_portfolio-slide-inner-item:hover .term_portfolio-slide-item-decor svg {
    right: 0;
    opacity: 1;
    transition: right 0.2s ease-out, opacity 0.2s ease;
}

.term_portfolio-slide-item-content {
    width: 100%;
}

.term_portfolio-slide-item-content-desc {
    font-family: 'Decorated';
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    margin-bottom: 10px;
}

.term_portfolio-slide-inner-item:hover .term_portfolio-slide-item-content-desc {
    margin-left: 22px;
}

.term_portfolio-slide-item-content-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.term_portfolio-slide-item-content-excerpt {
    font-family: 'Decorated';
    font-size: 16px;
}

@media(max-width: 478px) {
    .term_portfolio-slide {
        max-width: 320px;
    }
}

/*
* FORM STYLES
*/

.term_form,
.seo_text {
    max-width: 100%;
    overflow: hidden;
}

.term_form-content {
    position: relative;
    padding: 5rem 0;
}

.term_form-content .section-title h2 {
    font-size: 3rem;
}

/*
* SEO TEXT
*/

.seo_wrapper-inner {
    max-width: 900px;
    margin: 0 auto;
}

.seo_wrapper-content {
    height: 340px;
    overflow: hidden;
}

.seo_wrapper-inner .section-title h2 {
    font-size: 2.3rem;
    text-transform: inherit;
}

@media(max-width: 479px) {
    .seo_wrapper-inner .section-title h2 {
        font-size: 1.8rem;
    }
}

.more_less_buttons {
    position: relative;
    margin-top: 10px;
    color: #9a9a9a;
    cursor: pointer;
}

.more_less_buttons:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 50px;
    background: linear-gradient(0deg, #ffffff, transparent);
    top: -60px;
}

.post-type-archive .more_less_buttons:before {
    display: none;
}

.seo_text {
    margin-bottom: 50px;
}

.seo_wrapper {
    position: relative;
    padding: 50px 0 75px;
}

.seo_wrapper-inner .section-title h2 {
    font-size: 3rem;
}

.scrolled {
    max-height: 500px;
    padding-right: 20px;
    overflow-y: scroll;
}

.scrolled::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.scrolled::-webkit-scrollbar-button {
    background-color: transparent;
}

.scrolled::-webkit-scrollbar-corner {
    background-color: #999;
}

.scrolled::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #666;
    border-radius: 0px;
}

.scrolled::-webkit-scrollbar-track {
    background-color: #999;
}

.scrolled::-webkit-scrollbar-track-piece {
    background-color: #f2f5f7;
}

.ifn-decor {
    display: flex;
    justify-content: center;
    fill: var(--ab-dark-color);
    opacity: 0.3;
}

@media(max-width:478px) {
    .term_form-content .section-title h2 {
        font-size: 2rem;
    }

    .services .after_header-title h1 {
        font-size: 4rem;
        -webkit-text-stroke: 5px #272b2f;
        letter-spacing: 0px;
    }
}

/*
* FAQ SECTION
*/

.faq_wrapper {
    position: relative;
    margin: 7vw 0 10vw;
}

.faq_section .section_title {
    font-family: 'NeueMachina';
    margin-bottom: 80px;
}

.faq_section {
    position: relative;
    margin: 30px 0 10vw;
}

.faq_section:before {
    position: absolute;
    content: '';
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    top: -200px;
    right: 0;
    filter: blur(200px);
    opacity: 1;
    z-index: -1;
    -webkit-filter: blur(200px);
}

.vallenato-header {
    overflow: hidden;
    margin-top: 5px;
}

.vallenato-header:hover {
    cursor: pointer;
}

.vallenato-content {
    overflow: hidden;
    padding: 10px 0 30px;
    display: none;
    padding-bottom: 2.4rem;
    padding-left: 27.7777777778vw;
    padding-top: 2.4rem;
}

/* .faq_inner {
    max-width: 1000px;
} */

.faq_inner-content-question-inner {
    display: flex;
    align-items: flex-end;
    column-gap: 20px;
}

.faq_inner-content {
    border-top: 1px solid rgba(0 0 0 / 30%);
    padding-top: 1.7rem;
}

.faq_inner-content:last-child {
    border-bottom: 1px solid rgba(0 0 0 / 30%);
}

.faq_inner-content-question-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0px;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.item-dot {
    height: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0.8rem;
    border: 1px solid #28282e;
    border-radius: 50%;
    pointer-events: none;
    position: absolute;
}

.vallenato-active .item-dot {
    background: rgba(0 0 0);
}

.faq_inner-content-question-inner {
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    width: 64.6153846154vw;
}

.faq_inner-content-icon {
    position: relative;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
}

.faq_inner-content-question-inner-number {
    margin-left: 11.1111111111vw;
    padding-left: 0;
    width: 16.6666666667vw;
}

.faq_inner-content-icon span {
    position: absolute;
    content: '';
    width: 60px;
    height: 2px;
    background: #000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq_inner-content-icon span:before {
    display: block;
    position: absolute;
    content: '';
    width: 2px;
    height: 20px;
    background: #000000;
    top: -6px;
    right: 15px;
    transform: rotate(75deg);
}

.faq_inner-content-question-inner-number span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ab-dark-color);
}

.vallenato-active .faq_inner-content-icon span {
    width: 60px;
    transform: translate(-50%, -50%) rotate(90deg);
}

.vallenato-active .faq_inner-content-icon span:before {
    right: 9px;
}

@media(max-width: 768px) {
    .faq_inner-content-question-inner {
        font-size: 0.8rem;
    }

    .vallenato-content {
        padding-bottom: 1.4rem;
        padding-left: 2.777778vw;
        padding-top: 0.4rem;
        font-size: 14px;
    }
}