/*
Theme Name: akp
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Template: athens
Author: Ovatheme
Description: Ovadefault is a modernized take on an ever-popular WordPress. It has custom color options with beautiful default color schemes, a harmonious fluid grid using a mobile-first approach, and impeccable polish in every detail. Ovadefault will make your WordPress look beautiful everywhere. Created by Ovatheme
Tags: two-columns,three-columns,left-sidebar,right-sidebar,custom-menu,editor-style,featured-images,flexible-header,full-width-template,post-formats,rtl-language-support,sticky-post,translation-ready
Version: 1.1.7.1770378412
Updated: 2026-02-06 13:46:52

*/

/* =========================================================
   AKP — universal Case Study single
   ========================================================= */

.akp-case-single {
    --akp-case-green: #004b4e;
    --akp-case-dark: #002f2d;
    --akp-case-gold: #bd893c;
    --akp-case-text: #172625;
    --akp-case-muted: #667170;
    --akp-case-line: #e5e8e7;
    background: #fff;
    color: var(--akp-case-text);
}

.akp-case-container {
    width: min(1300px, calc(100% - 48px));
    margin-inline: auto;
}

.akp-case-hero {
    position: relative;
    min-height: clamp(390px, 43vw, 590px);
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.akp-case-hero.no-image {
    background: linear-gradient(135deg, var(--akp-case-dark), var(--akp-case-green));
}

.akp-case-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 31, 30, .82) 0%, rgba(0, 31, 30, .56) 58%, rgba(0, 31, 30, .26) 100%),
        linear-gradient(0deg, rgba(0, 24, 23, .52) 0%, rgba(0, 24, 23, 0) 58%);
}

.akp-case-hero__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(58px, 7vw, 96px);
}

.akp-case-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: .02em;
}

.akp-case-hero__type {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #e0b66c;
}

.akp-case-hero__separator {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, .65);
}

.akp-case-hero__category {
    font-weight: 500;
}

.akp-case-hero__title {
    max-width: 1120px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 66px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.025em;
    text-transform: none;
}

.akp-case-body {
    padding-block: clamp(64px, 7vw, 110px);
}

.akp-case-article {
    max-width: 930px;
    margin-inline: auto;
}

.akp-case-entry {
    font-size: 18px;
    line-height: 1.78;
    color: var(--akp-case-text);
}

.akp-case-entry > *:first-child {
    margin-top: 0;
}

.akp-case-entry > p:first-child {
    font-size: clamp(20px, 1.65vw, 24px);
    line-height: 1.6;
    color: #31403f;
}

.akp-case-entry p {
    margin: 0 0 24px;
}

.akp-case-entry h2,
.akp-case-entry h3,
.akp-case-entry h4 {
    color: var(--akp-case-dark);
    font-weight: 600;
    letter-spacing: -.018em;
}

.akp-case-entry h2 {
    margin: 62px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--akp-case-line);
    font-size: clamp(29px, 2.4vw, 38px);
    line-height: 1.2;
}

.akp-case-entry h3 {
    margin: 42px 0 18px;
    font-size: clamp(23px, 1.8vw, 29px);
    line-height: 1.3;
}

.akp-case-entry h4 {
    margin: 32px 0 14px;
    font-size: 21px;
    line-height: 1.35;
}

.akp-case-entry ul,
.akp-case-entry ol {
    margin: 0 0 28px;
    padding-left: 26px;
}

.akp-case-entry li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.akp-case-entry li::marker {
    color: var(--akp-case-gold);
}

.akp-case-entry strong {
    color: var(--akp-case-dark);
    font-weight: 650;
}

.akp-case-entry a {
    color: var(--akp-case-green);
    text-decoration-color: rgba(0, 75, 78, .35);
    text-underline-offset: 3px;
}

.akp-case-entry a:hover {
    color: var(--akp-case-gold);
}

.akp-case-entry blockquote {
    margin: 38px 0;
    padding: 6px 0 6px 28px;
    border-left: 3px solid var(--akp-case-gold);
    color: #344443;
    font-size: 20px;
    line-height: 1.65;
}

.akp-case-entry img {
    max-width: 100%;
    height: auto;
}

.akp-case-entry table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.akp-case-entry th,
.akp-case-entry td {
    padding: 14px 16px;
    border: 1px solid var(--akp-case-line);
    text-align: left;
    vertical-align: top;
}

.akp-case-entry th {
    background: #f5f7f6;
    color: var(--akp-case-dark);
}

@media (max-width: 767px) {
    .akp-case-container {
        width: min(100% - 32px, 1300px);
    }

    .akp-case-hero {
        min-height: 430px;
    }

    .akp-case-hero__inner {
        padding-block: 52px;
    }

    .akp-case-hero__title {
        font-size: clamp(34px, 10vw, 46px);
        line-height: 1.1;
    }

    .akp-case-body {
        padding-block: 54px 70px;
    }

    .akp-case-entry {
        font-size: 17px;
        line-height: 1.72;
    }

    .akp-case-entry h2 {
        margin-top: 48px;
        padding-top: 20px;
    }
}
/* =========================================================
   AKP Case Study v2 — header fix + projects sidebar
   Add AFTER the existing Case Study styles.
   ========================================================= */

/* Athens global Header Banner already prints the Case Study title.
   Hide it ONLY for OVA Case Study singles because our universal
   Case Study template has its own hero. */
body.single-ova_case_study .wrap_header_banner {
    display: none !important;
}

/* Main content + projects sidebar */
.akp-case-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(48px, 5vw, 78px);
    align-items: start;
}

.akp-case-article {
    max-width: none;
    min-width: 0;
    margin: 0;
}

.akp-case-sidebar {
    min-width: 0;
}

.akp-case-sidebar__inner {
    position: sticky;
    top: 120px;
    padding: 30px 0 0;
    border-top: 2px solid var(--akp-case-dark, #002f2d);
}

.akp-case-sidebar__title {
    margin: 0 0 22px;
    color: var(--akp-case-dark, #002f2d);
    font-size: 25px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.akp-case-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.akp-case-sidebar__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--akp-case-line, #e5e8e7);
}

.akp-case-sidebar__link {
    position: relative;
    display: block;
    padding: 20px 34px 20px 0;
    color: var(--akp-case-dark, #002f2d);
    text-decoration: none;
}

.ova-ctfrom7 .form-contact-us .ova_wrap_input {
  margin-bottom: 20px!important;
}

.ova_wrap_input p {
    margin-bottom: 0;
}

.akp-case-sidebar__category {
    display: block;
    margin-bottom: 7px;
    color: var(--akp-case-gold, #bd893c);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.akp-case-sidebar__name {
    display: block;
    color: inherit;
    font-size: 16px;
    line-height: 1.48;
    font-weight: 550;
}

.akp-case-sidebar__arrow {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--akp-case-gold, #bd893c);
    font-size: 20px;
    line-height: 1;
    transition: transform .2s ease;
}

.akp-case-sidebar__link:hover {
    color: var(--akp-case-green, #004b4e);
}

.akp-case-sidebar__link:hover .akp-case-sidebar__arrow {
    transform: translate(5px, -50%);
}

.akp-case-sidebar__empty {
    margin: 0;
    color: var(--akp-case-muted, #667170);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1023px) {
    .akp-case-layout {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .akp-case-sidebar__inner {
        position: static;
        top: auto;
    }

    .akp-case-sidebar__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 34px;
    }
}

@media (max-width: 640px) {
    .akp-case-sidebar__list {
        grid-template-columns: 1fr;
    }

    .akp-case-sidebar__title {
        font-size: 23px;
    }
}
/* =========================================================
   AKP Case Study v3 — sidebar filters
   Add AFTER the existing Case Study/sidebar styles.
   ========================================================= */

.akp-case-sidebar__filters {
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
    padding: 0;
}

.akp-case-sidebar__filter {
    appearance: none;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 9px 8px;
    border: 1px solid var(--akp-case-line, #e5e8e7);
    border-radius: 0;
    background: #f5f5f5;
    color: var(--akp-case-dark, #002f2d);
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.akp-case-sidebar__filter:hover {
    border-color: var(--akp-case-dark, #002f2d);
}

.akp-case-sidebar__filter.is-active {
    border-color: var(--akp-case-dark, #002f2d);
    background: var(--akp-case-dark, #002f2d);
    color: #fff;
}

.akp-case-sidebar__filter:focus-visible {
    outline: 2px solid var(--akp-case-gold, #bd893c);
    outline-offset: 2px;
}

.akp-case-sidebar__item[hidden] {
    display: none !important;
}

.akp-case-sidebar__filter-empty {
    margin: 18px 0 0;
    color: var(--akp-case-muted, #667170);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 1023px) {
    .akp-case-sidebar__filters {
        max-width: 430px;
    }
}

@media (max-width: 480px) {
    .akp-case-sidebar__filters {
        width: 100%;
        max-width: none;
    }

    .akp-case-sidebar__filter {
        padding: 9px 6px;
        font-size: 11px;
    }
}


.ova-testimonial2 {
  padding-top: 30px!important;
}

@media (max-width: 1024px) {
    .ova-testimonial2 .slide-testimonial2 .owl-item .item {
        height: 100%!important;
        min-height: 0;
    }
}

[type=checkbox], [type=radio] {
    box-sizing: border-box;
    padding: 0;
    width: 16px !important;
    height: 16px;
    margin-right: 8px;
}

/* =========================================================
   AKP HERO — TABLET + DESKTOP
   UA + EN
   Shared rules without duplicate Elementor IDs
   ========================================================= */

/* ---------------------------------------------------------
   Shared structure for all non-mobile AKP hero sections
   --------------------------------------------------------- */
@media (min-width: 768px) {

    .akp-hero {
        position: relative !important;
        isolation: isolate;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-color: #07342d !important;
        overflow: hidden !important;
    }

    .akp-hero::after {
        content: "";
        position: absolute !important;
        inset: 0 !important;
        z-index: 1;
        pointer-events: none;
    }

    .akp-hero > .e-con-inner {
        position: relative !important;
        z-index: 2;
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .akp-hero .akp-hero__content {
        position: absolute !important;
        z-index: 3;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-end !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .akp-hero .akp-hero__content > .elementor-element {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .akp-hero .hero-title {
        padding: 0 !important;
        color: #fff !important;
    }

    .akp-hero .hero-title__top {
        display: block !important;
        letter-spacing: 0 !important;
        color: rgba(255, 255, 255, .97) !important;
    }

    .akp-hero .hero-title__name,
    .akp-hero .hero-title__brand {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        font-weight: 700 !important;
        color: #fff !important;
        white-space: normal !important;
    }

    .akp-hero .hero-title > br,
    .akp-hero .hero-title__name > br {
        display: none !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2) {
        width: 100% !important;
        letter-spacing: 0 !important;
        color: rgba(255, 255, 255, .98) !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2)
    .elementor-widget-container,
    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2)
    p {
        margin: 0 !important;
        font: inherit !important;
        color: inherit !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-button {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-button
    .elementor-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
}


/* =========================================================
   AKP HERO — TABLET
   768–1024px
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

    .akp-hero {
        height: clamp(620px, 76vw, 760px) !important;
        background-position: 55% center !important;
    }

    .akp-hero::after {
        background:
            radial-gradient(
                ellipse 78% 72% at 0% 100%,
                rgba(3, 42, 36, .86) 0%,
                rgba(3, 42, 36, .76) 27%,
                rgba(3, 42, 36, .56) 43%,
                rgba(3, 42, 36, .30) 56%,
                rgba(3, 42, 36, .12) 67%,
                rgba(3, 42, 36, 0) 78%
            ),
            linear-gradient(
                to top,
                rgba(3, 42, 36, .93) 0%,
                rgba(3, 42, 36, .80) 16%,
                rgba(3, 42, 36, .54) 29%,
                rgba(3, 42, 36, .28) 40%,
                rgba(3, 42, 36, .10) 50%,
                rgba(3, 42, 36, 0) 61%
            );
    }

    .akp-hero .akp-hero__content {
        left: clamp(34px, 4.8vw, 60px) !important;
        bottom: clamp(38px, 5vw, 56px) !important;
        width: min(590px, 64%) !important;
        max-width: 590px !important;
    }

    .akp-hero .hero-title {
        margin: 0 0 18px !important;
        text-shadow: 0 2px 14px rgba(0, 25, 22, .20);
    }

    .akp-hero .hero-title__top {
        margin: 0 0 9px !important;
        font-size: clamp(19px, 2.3vw, 25px) !important;
        line-height: 1.2 !important;
    }

    .akp-hero .hero-title__name,
    .akp-hero .hero-title__brand {
        max-width: 570px !important;
        font-size: clamp(34px, 4.25vw, 45px) !important;
        line-height: 1.04 !important;
        letter-spacing: -0.025em !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2) {
        max-width: 500px !important;
        margin: 0 0 27px !important;
        font-size: clamp(19px, 2.25vw, 23px) !important;
        line-height: 1.42 !important;
        text-shadow: 0 2px 12px rgba(0, 25, 22, .22);
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2)
    .elementor-widget-container {
        max-width: 500px !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-button
    .elementor-button {
        min-width: 190px !important;
        min-height: 54px !important;
        padding: 15px 28px !important;
        font-size: 17px !important;
    }
}


/* =========================================================
   AKP HERO — PORTRAIT TABLET
   768–850px
   ========================================================= */
@media (min-width: 768px) and (max-width: 850px) {

    .akp-hero {
        height: 650px !important;
        background-position: 57% center !important;
    }

    .akp-hero .akp-hero__content {
        left: 34px !important;
        bottom: 38px !important;
        width: 62% !important;
        max-width: 480px !important;
    }

    .akp-hero .hero-title__name,
    .akp-hero .hero-title__brand {
        font-size: 35px !important;
        line-height: 1.04 !important;
    }

    .akp-hero .hero-title__top {
        font-size: 19px !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2),
    .akp-hero
    .akp-hero__content
    > .elementor-widget-text-editor:nth-child(2)
    .elementor-widget-container {
        max-width: 430px !important;
        font-size: 19px !important;
        line-height: 1.4 !important;
    }

    .akp-hero
    .akp-hero__content
    > .elementor-widget-button
    .elementor-button {
        min-width: 180px !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
    }
}

/* =========================================================
   AKP HERO — FINAL DESKTOP
   Content centered vertically inside left container
   ========================================================= */

@media (min-width: 1025px) {

    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .akp-hero--wide {
        position: relative !important;
        isolation: isolate;

        display: block !important;

        width: 100% !important;

        height: clamp(720px, 52vw, 840px) !important;
        min-height: 720px !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;

        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: 50% 34% !important;

        background-color: #073d3b !important;
    }


    


    /* -----------------------------------------------------
       CENTERED SITE CONTAINER
       ----------------------------------------------------- */

    .akp-hero--wide > .e-con-inner {
        position: relative !important;
        z-index: 2;

        display: block !important;

        width: min(1440px, calc(100% - 80px)) !important;
        max-width: 1440px !important;

        height: 100% !important;
        min-height: 100% !important;

        margin: 0 auto !important;
        padding: 0 !important;
    }


    /* -----------------------------------------------------
       CONTENT

       По вертикалі рівно по центру Hero.
       По горизонталі — від лівої межі site container.
       ----------------------------------------------------- */

    .akp-hero--wide
    > .e-con-inner
    > .e-con {
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 56% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        z-index: 3;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: min(760px, 58%) !important;
        max-width: 760px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        text-align: left !important;
    }


    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-element {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* -----------------------------------------------------
       TITLE
       ----------------------------------------------------- */

    .akp-hero--wide .hero-title {
        margin: 0 0 24px !important;
        padding: 0 !important;

        color: #fff !important;

        text-align: left !important;

        text-shadow:
            0 2px 16px rgba(0, 25, 23, .28) !important;
    }


   /*
     * Назва бюро — один рядок
     */
    .akp-hero--wide .hero-title__name {
        display: block !important;
        width: max-content !important;
        max-width: none !important;
       white-space: nowrap !important;
    }


    .akp-hero--wide .hero-title__brand {
        display: inline-block !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        font-size: clamp(44px, 3.1vw, 58px) !important;
        line-height: 1.02 !important;
        font-weight: 700 !important;
        letter-spacing: -0.03em !important;
        color: #fff !important;
        white-space: nowrap !important;
    }


    /* зайві br у title */
    .akp-hero--wide .hero-title > br,
    .akp-hero--wide .hero-title__name > br {
        display: none !important;
    }


    /* -----------------------------------------------------
       SUBTITLE
       ----------------------------------------------------- */

    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-widget-text-editor:nth-child(2) {
        width: 100% !important;
        max-width: 570px !important;

        margin: 0 0 34px !important;

        font-size: clamp(21px, 1.55vw, 26px) !important;
        line-height: 1.45 !important;

        font-weight: 400 !important;
        letter-spacing: 0 !important;

        color: rgba(255, 255, 255, .98) !important;

        text-align: left !important;

        text-shadow:
            0 2px 14px rgba(0, 25, 23, .24) !important;
    }


    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-widget-text-editor:nth-child(2)
    .elementor-widget-container,

    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-widget-text-editor:nth-child(2)
    p {
        margin: 0 !important;

        font: inherit !important;
        color: inherit !important;
    }


    /* -----------------------------------------------------
       BUTTON
       ----------------------------------------------------- */

    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-widget-button {
        width: auto !important;
        max-width: none !important;

        margin: 0 !important;

        text-align: left !important;
    }


    .akp-hero--wide .elementor-button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-width: 220px !important;
        min-height: 60px !important;

        padding: 17px 34px !important;

        font-size: 18px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;

        border-radius: 0 !important;

        box-shadow: none !important;
    }

}


/* =========================================================
   AKP HERO — 1440+
   Dedicated wide image
   ========================================================= */

@media (min-width: 1440px) {

        .akp-hero--wide .hero-title__brand {
        font-size: clamp(46px, 2.75vw, 62px) !important;
    }


    .akp-hero--wide
    > .e-con-inner
    > .e-con
    > .elementor-widget-text-editor:nth-child(2) {
        max-width: 600px !important;

        font-size: clamp(23px, 1.35vw, 28px) !important;
    }

}


/* =========================================================
   AKP HERO — EXTRA WIDE
   1920+
   ========================================================= */

@media (min-width: 1920px) {

    .akp-hero--wide {
        background-position: 50% 15% !important;
    }

}

/* =========================================================
   AKP CASE STUDY — CATEGORY LINKS
   ========================================================= */

/* Ajax2 card: year + clickable project category */
.ova-case-study-ajax2 .akp-case-card-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: auto;
    max-width: calc(100% - 120px);

    margin: 0 0 30px 12px;
    padding: 7px 12px 7px 11px;

    vertical-align: middle;

    color: #8f682c !important;
    background: rgba(189, 137, 60, 0.08);
    border-left: 2px solid #bd893c;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none !important;

    transition:
        color .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        transform .22s ease;
}

.ova-case-study-ajax2 .akp-case-card-category::after {
    content: "↗";
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    opacity: .7;
    transition: transform .22s ease, opacity .22s ease;
}

.ova-case-study-ajax2 .akp-case-card-category:hover,
.ova-case-study-ajax2 .akp-case-card-category:focus-visible {
    color: #fff !important;
    background: #073d3b;
    border-left-color: #bd893c;
    transform: translateY(-1px);
}

.ova-case-study-ajax2 .akp-case-card-category:hover::after,
.ova-case-study-ajax2 .akp-case-card-category:focus-visible::after {
    transform: translate(2px, -2px);
    opacity: 1;
}

.ova-case-study-ajax2 .case-study-item .item-content .date {
    vertical-align: middle;
}

/* Ajax2 alternates content alignment on desktop; keep category beside the year. */
.ova-case-study-ajax2 .case-study-item:nth-child(even) .akp-case-card-category {
    margin-left: 12px;
    margin-right: 0;
}

/* Single Case Study hero category */
.akp-case-hero__category-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 2px 0 4px;

    color: #fff !important;
    font-weight: 500;
    text-decoration: none !important;

    transition: color .22s ease, opacity .22s ease;
}

.akp-case-hero__category-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: #d4a34b;
    transform: scaleX(.35);
    transform-origin: left center;
    transition: transform .25s ease;
}

.akp-case-hero__category-link:hover,
.akp-case-hero__category-link:focus-visible {
    color: #e0b66c !important;
}

.akp-case-hero__category-link:hover::after,
.akp-case-hero__category-link:focus-visible::after {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .ova-case-study-ajax2 .akp-case-card-category,
    .ova-case-study-ajax2 .case-study-item:nth-child(even) .akp-case-card-category {
        max-width: calc(100% - 105px);
        margin-left: 8px;
        margin-right: 0;
        margin-bottom: 24px;
        padding: 6px 9px;
        font-size: 14px;
    }

    .akp-case-hero__category-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ova-case-study-ajax2 .case-study-item .item-content .date {
        margin-bottom: 12px;
    }

    .ova-case-study-ajax2 .akp-case-card-category,
    .ova-case-study-ajax2 .case-study-item:nth-child(even) .akp-case-card-category {
        display: flex;
        width: fit-content;
        max-width: 100%;
        margin: 0 0 24px 0;
    }
}


/* =========================================================
   AKP CASE STUDY AJAX — CLICKABLE CARD CATEGORY
   ========================================================= */

.ova-case-study .akp-case-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 18px;
}

/* Keep Athens' original Year styling, but let it sit in the same meta row. */
.ova-case-study .akp-case-card-meta .post-date {
    margin-bottom: 0 !important;
}

.ova-case-study .akp-case-card-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px 6px 9px;

    color: #8f682c !important;
    background: rgba(189, 137, 60, 0.08);
    border-left: 2px solid #bd893c;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    text-decoration: none !important;

    transition:
        color .22s ease,
        background-color .22s ease,
        border-color .22s ease,
        transform .22s ease;
}

.ova-case-study .akp-case-card-category::after {
    content: "↗";
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    opacity: .7;
    transition: transform .22s ease, opacity .22s ease;
}

.ova-case-study .akp-case-card-category:hover,
.ova-case-study .akp-case-card-category:focus-visible {
    color: #fff !important;
    background: #073d3b;
    border-left-color: #bd893c;
    transform: translateY(-1px);
}

.ova-case-study .akp-case-card-category:hover::after,
.ova-case-study .akp-case-card-category:focus-visible::after {
    transform: translate(2px, -2px);
    opacity: 1;
}

@media (max-width: 767px) {
    .ova-case-study .akp-case-card-meta {
        align-items: flex-start;
        gap: 9px 12px;
        margin-bottom: 18px;
    }

    .ova-case-study .akp-case-card-category {
        padding: 6px 9px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .ova-case-study .akp-case-card-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .ova-case-study .akp-case-card-meta .post-date {
        width: 100%;
    }

    .ova-case-study .akp-case-card-category {
        margin-left: 0;
    }
}

/* =========================================================
   AKP PROJECT CATEGORY ARCHIVE — TABLET / MOBILE VISIBILITY
   Athens parent theme hides .case-study-posts at <= 1024px
   and expects the legacy .case-study-posts-mobile duplicate.
   The child archive now uses one shared posts container for
   all breakpoints, so keep it visible and disable legacy copy.
   ========================================================= */

@media screen and (max-width: 1024px) {
    body.tax-cat_case_study .archive-case-study .case-study-posts {
        display: block !important;
        position: relative;
        width: 100%;
    }

    body.tax-cat_case_study .archive-case-study .case-study-posts-mobile {
        display: none !important;
    }
}


/* =========================================================
   AKP — MOBILE MENU GLOBAL BACKGROUND
   Єдиний фон мобільного меню на всіх сторінках
   ========================================================= */

@media (max-width: 1024px) {

    body .menu-canvas .container-menu,
    body .menu-canvas .container-menu.dir_left,
    body .menu-canvas.toggled .container-menu,
    body .menu-canvas.toggled .container-menu.dir_left {
        background-color: #043F42 !important;
    }


    /* Внутрішні елементи не повинні задавати свій фон */
    body .menu-canvas .container-menu .main-navigation,
    body .menu-canvas .container-menu .menu,
    body .menu-canvas .container-menu ul,
    body .menu-canvas .container-menu li {
        background-color: transparent !important;
    }
    body .menu-canvas .container-menu a {
        color: #fff !important;
    }

    .menu-canvas ul li a {
       border-bottom: 1px solid #ffffff26;
}

}