/**
 * Theme Name:     Repositioningfund Divi Child
 * Author:         side•sea
 * Author URI: https://sidesea.com/
 * Template:       Divi
 * Version: 1.0.0
 * Text Domain:	   divi-child
 * Description:    Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
 */

body, html {
    overflow-x: clip;
}

 .portfolio-grid-section {
    font-family: "Noto Sans";
    font-weight: 400;
}

.portfolio-grid-section .container::before,
.resources-grid-section .container::before {
    display: none;
}

.alm-paging-content {
    height: fit-content !important;
}

.portfolio-grid-section .alm-paging-content {
    display: flex;
    flex-wrap: wrap;
}

.resources-grid-section .alm-paging-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center !important;
}

.featured-portfolio {
    border: 1px solid #154D4D;
}

.heading-wrapper {
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0% 100%);

    h1 {
        font-family: "Noto Sans";
        font-weight: 400;
    }
}

.alm-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
    flex-wrap: wrap;

    @media (min-width: 767px) {
        flex-direction: row;
    }

    @media (min-width: 1320px) {
        justify-content: space-between;
    }
}

.alm-filter--title {
    min-height: 3.44rem;
}

.alm-filter--toggle {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 3.44rem;
    display: flex;
    align-items: center;
    padding-left: 15px !important;
    font-size: 1rem !important;
}

.alm-filter--toggle::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="9" viewBox="0 0 14 9" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.7071 8.2071C7.51957 8.39457 7.26526 8.49989 7.0001 8.49989C6.73493 8.49989 6.48063 8.39457 6.2931 8.2071L0.636099 2.5501C0.540589 2.45785 0.464406 2.34751 0.411997 2.2255C0.359588 2.1035 0.332002 1.97228 0.330848 1.8395C0.329694 1.70672 0.354996 1.57504 0.405277 1.45215C0.455558 1.32925 0.529811 1.2176 0.623704 1.1237C0.717597 1.02981 0.829248 0.955558 0.952145 0.905277C1.07504 0.854996 1.20672 0.829694 1.3395 0.830848C1.47228 0.832002 1.6035 0.859588 1.7255 0.911997C1.84751 0.964406 1.95785 1.04059 2.0501 1.1361L7.0001 6.0861L11.9501 1.1361C12.1387 0.95394 12.3913 0.853146 12.6535 0.855424C12.9157 0.857703 13.1665 0.962872 13.3519 1.14828C13.5373 1.33369 13.6425 1.5845 13.6448 1.8467C13.6471 2.10889 13.5463 2.3615 13.3641 2.5501L7.7071 8.2071Z" fill="black"/></svg>') !important;
    display: inline-block;
    border: none !important;
    top: 19px !important;
    right: 30px !important;
}

/* Disable pointer events on .field-parent .field-checkbox */
.field-parent:has(ul) > .field-checkbox {
    pointer-events: none !important;
}

/* Enable pointer events for .field-child elements */
.field-parent ul .field-child {
    pointer-events: auto !important;
}


.field-parent ul {   
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    min-height: fit-content !important;
    padding: 0 !important;
    pointer-events: all !important;

    li {
        height: 55px;

        @media (max-width: 1320px) {
            padding-left: 15px !important;
        }
    }

    @media (min-width: 1320px) {
        position: absolute !important;
        top: -1px !important;
        left: 100% !important;
        padding: 0 !important;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }

    @media (max-width: 1320px) {
       border: none !important;
    }
}

.field-parent:hover ul {
    opacity: 1;
    visibility: visible;
}

.alm-filters-container .alm-filter .field-parent:has(ul) .field-checkbox:after {
    left: auto !important;
    right: 24px !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"><path d="M8.64741 11.101L14.6113 5.13714C14.752 4.9964 14.9162 4.92603 15.1039 4.92603C15.2915 4.92603 15.4557 4.9964 15.5965 5.13714C15.7372 5.27788 15.8076 5.44512 15.8076 5.63888C15.8076 5.83263 15.7372 5.99964 15.5965 6.13991L9.14001 12.614C8.99927 12.7547 8.83507 12.8251 8.64741 12.8251C8.45976 12.8251 8.29556 12.7547 8.15482 12.614L5.12889 9.58806C4.98815 9.44732 4.9206 9.28031 4.92623 9.08703C4.93186 8.89374 5.00528 8.72649 5.14649 8.58528C5.2877 8.44407 5.45494 8.3737 5.64823 8.37417C5.84151 8.37464 6.00852 8.44501 6.14927 8.58528L8.64741 11.101Z" fill="%23009395"/></svg>');
    display: inline-block;
    width: 19px;
    height: 19px;
    border: none !important;
}

.alm-filters-container .alm-filter .field-parent:has(ul) .field-checkbox:before {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="9" viewBox="0 0 14 9" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.7071 8.2071C7.51957 8.39457 7.26526 8.49989 7.0001 8.49989C6.73493 8.49989 6.48063 8.39457 6.2931 8.2071L0.636099 2.5501C0.540589 2.45785 0.464406 2.34751 0.411997 2.2255C0.359588 2.1035 0.332002 1.97228 0.330848 1.8395C0.329694 1.70672 0.354996 1.57504 0.405277 1.45215C0.455558 1.32925 0.529811 1.2176 0.623704 1.1237C0.717597 1.02981 0.829248 0.955558 0.952145 0.905277C1.07504 0.854996 1.20672 0.829694 1.3395 0.830848C1.47228 0.832002 1.6035 0.859588 1.7255 0.911997C1.84751 0.964406 1.95785 1.04059 2.0501 1.1361L7.0001 6.0861L11.9501 1.1361C12.1387 0.95394 12.3913 0.853146 12.6535 0.855424C12.9157 0.857703 13.1665 0.962872 13.3519 1.14828C13.5373 1.33369 13.6425 1.5845 13.6448 1.8467C13.6471 2.10889 13.5463 2.3615 13.3641 2.5501L7.7071 8.2071Z" fill="black"/></svg>') !important;
    transform: rotate(-90deg) translateX(.7rem) !important;
    border: none !important;
}


.alm-filters-container .alm-filter .field-parent:has(ul) .field-checkbox:hover:before {
    border: none !important;
    box-shadow: none !important;
}

/* .alm-filters-container .alm-filter .field-parent:has(ul) .field-checkbox:after {
    display: none !important;
} */

.alm-filters-container .alm-filter .field-parent:has(ul) .field-child .field-checkbox::before {
    left: auto !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 1px solid #AAAAAA !important;
    border-radius: 5px !important;
    display: block !important;
    content: "" !important;
}

.alm-filters-container .alm-filter .field-parent:has(ul) .field-child .field-checkbox::after {
    left: auto !important;
    right: 11px !important;
    top: 51% !important;
    transform: translateY(-50%) !important;
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"><path d="M8.64741 11.101L14.6113 5.13714C14.752 4.9964 14.9162 4.92603 15.1039 4.92603C15.2915 4.92603 15.4557 4.9964 15.5965 5.13714C15.7372 5.27788 15.8076 5.44512 15.8076 5.63888C15.8076 5.83263 15.7372 5.99964 15.5965 6.13991L9.14001 12.614C8.99927 12.7547 8.83507 12.8251 8.64741 12.8251C8.45976 12.8251 8.29556 12.7547 8.15482 12.614L5.12889 9.58806C4.98815 9.44732 4.9206 9.28031 4.92623 9.08703C4.93186 8.89374 5.00528 8.72649 5.14649 8.58528C5.2877 8.44407 5.45494 8.3737 5.64823 8.37417C5.84151 8.37464 6.00852 8.44501 6.14927 8.58528L8.64741 11.101Z" fill="%23009395"/></svg>') !important;
    display: inline-block;
    width: 19px;
    height: 19px;
    border: none !important;
}



.alm-filter--group {
    height: fit-content;
    min-height: 3.44rem;
    width: 100%;
    border: 1px solid #154D4D;
    background: #F3F3F3;
    border-radius: 10px;
    color: black;

    @media (min-width: 767px) {
        width: 48%;
    }

    @media (min-width: 992px) {
        width: fit-content;
    }

    @media (min-width: 1320px) {
        width: auto !important;
        flex: 1 1 calc(25% - 20px);
    }
}

.field-checkbox {
    padding-left: 15px !important;
    padding-right: 50px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    color: #154D4D !important;
    min-height: 55px !important;
}

.alm-filters-container {
    opacity: 1 !important;
}

.alm-filters-container .alm-filter li div.alm-filter--link:before {
    left: auto !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: 1px solid #AAAAAA !important;
    border-radius: 5px !important;
}

.alm-filters-container .alm-filter li div.alm-filter--link.field-checkbox:after {
    left: auto !important;
    right: 24px !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"><path d="M8.64741 11.101L14.6113 5.13714C14.752 4.9964 14.9162 4.92603 15.1039 4.92603C15.2915 4.92603 15.4557 4.9964 15.5965 5.13714C15.7372 5.27788 15.8076 5.44512 15.8076 5.63888C15.8076 5.83263 15.7372 5.99964 15.5965 6.13991L9.14001 12.614C8.99927 12.7547 8.83507 12.8251 8.64741 12.8251C8.45976 12.8251 8.29556 12.7547 8.15482 12.614L5.12889 9.58806C4.98815 9.44732 4.9206 9.28031 4.92623 9.08703C4.93186 8.89374 5.00528 8.72649 5.14649 8.58528C5.2877 8.44407 5.45494 8.3737 5.64823 8.37417C5.84151 8.37464 6.00852 8.44501 6.14927 8.58528L8.64741 11.101Z" fill="%23009395"/></svg>');
    display: inline-block;
    width: 19px;
    height: 19px;
    border: none !important;
}

.portfolio-grid-section .alm-filter--search {
    @media (min-width: 1320px) {
        max-width: calc(25% - 20px)
    }
}

.alm-filter--inner {
    padding-bottom: 0 !important;
    position: relative;
}

.alm-filter--inner[aria-hidden="true"] {
    display: block !important;
    opacity: 0;
    height: 0;
    visibility: hidden;
    min-width: 20rem;
    width: fit-content;

    @media (min-width: 1320px) {
        min-width: 100%;
    }
}

.alm-filter--inner[aria-hidden="false"] {
    display: block !important;
    min-width: 20rem;
    width: fit-content;

    @media (min-width: 1320px) {
        min-width: 100%;
    }
}

.alm-filter--inner ul {
    position: absolute;
    top: 0;
    left: -1px;
    width: 100.7%;
    background: #F3F3F3;
    z-index: 9;
    border-left: 1px solid #154D4D;
    border-right: 1px solid #154D4D;
    border-bottom: 1px solid #154D4D;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.alm-filter--group:has(.alm-filter--inner[aria-hidden="false"]) {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0;
}

.alm-filter--checkbox {    
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;

    @media (min-width: 1320px) {
        height: 3.44rem;
    }
}

.alm-filter--checkbox {
   border-top: 1px solid #154D4D;
}

.alm-filter--textfield  {
    background: transparent !important;
    border: none !important;
}

.alm-filter--textfield::placeholder {
    color: #AAAAAA !important;
    font-size: 1rem !important;    
}

.alm-filter--text-wrap.has-button {
    height: 3.44rem;
    display: flex;
    align-items: center;
    min-width: 16rem;
    border-radius: 10px;
}

.alm-filter--text-wrap.has-button button {
    background: transparent !important;
    box-shadow: none !important;
    height: 100% !important;
}

.num a {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    color: #BEBEBE !important;
    font-size: 2.05rem;
    border-radius: 0 !important;
    margin-left: .5rem !important;
    margin-right: .5rem !important;
    border-bottom: 5px solid transparent !important;
}

.num.active a {
    color: #154D4D !important;
    border-bottom: 5px solid #009395 !important;
}

.next a,
.prev a {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.next a {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="26" viewBox="0 0 16 26" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.7714 11.6448C15.1307 12.0043 15.3326 12.4917 15.3326 12.9999C15.3326 13.5081 15.1307 13.9956 14.7714 14.355L3.92882 25.1976C3.75201 25.3806 3.54052 25.5267 3.30668 25.6271C3.07283 25.7276 2.82133 25.7804 2.56684 25.7826C2.31234 25.7849 2.05996 25.7364 1.82441 25.64C1.58885 25.5436 1.37485 25.4013 1.19489 25.2213C1.01493 25.0414 0.872613 24.8274 0.776241 24.5918C0.67987 24.3563 0.631375 24.1039 0.633587 23.8494C0.635798 23.5949 0.688672 23.3434 0.789122 23.1096C0.889573 22.8757 1.03559 22.6642 1.21865 22.4874L10.7061 12.9999L1.21865 3.51241C0.869512 3.15092 0.676323 2.66677 0.68069 2.16423C0.685057 1.66168 0.88663 1.18096 1.242 0.825594C1.59736 0.470228 2.07809 0.268654 2.58063 0.264286C3.08317 0.25992 3.56733 0.453108 3.92882 0.802244L14.7714 11.6448Z" fill="%23154D4D"/></svg>') !important;
    margin-left: 1rem;
}

.prev a {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="26" viewBox="0 0 16 26" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M14.7714 11.6448C15.1307 12.0043 15.3326 12.4917 15.3326 12.9999C15.3326 13.5081 15.1307 13.9956 14.7714 14.355L3.92882 25.1976C3.75201 25.3806 3.54052 25.5267 3.30668 25.6271C3.07283 25.7276 2.82133 25.7804 2.56684 25.7826C2.31234 25.7849 2.05996 25.7364 1.82441 25.64C1.58885 25.5436 1.37485 25.4013 1.19489 25.2213C1.01493 25.0414 0.872613 24.8274 0.776241 24.5918C0.67987 24.3563 0.631375 24.1039 0.633587 23.8494C0.635798 23.5949 0.688672 23.3434 0.789122 23.1096C0.889573 22.8757 1.03559 22.6642 1.21865 22.4874L10.7061 12.9999L1.21865 3.51241C0.869512 3.15092 0.676323 2.66677 0.68069 2.16423C0.685057 1.66168 0.88663 1.18096 1.242 0.825594C1.59736 0.470228 2.07809 0.268654 2.58063 0.264286C3.08317 0.25992 3.56733 0.453108 3.92882 0.802244L14.7714 11.6448Z" fill="%23154D4D"/></svg>') !important;
    margin-right: 1rem;
    transform: rotate(180deg);
}

.alm-paging {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 4rem !important;
}

.resource-card {
    border: 1px solid transparent;
}

.resource-card:hover {
    border: 1px solid #009395;
}

.resource-card-icon-wrapper {
    position: relative;
    height: 85px;
    width: 85px;
    transition: all 300ms ease-out;
}

.resource-card-icon {
    object-fit: contain;
}

.resource-card-content {
    max-height: 0;
    height: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-out;  
    line-height: normal;
}

.resource-card:hover .resource-card-icon-wrapper {
    height: 50px;
    width: 50px;
}

.resource-card:hover .resource-card-content {
    /* max-height: 100px; */
    opacity: 1;
    visibility: visible;
}

.resource-card-tag {
    height: auto;
    overflow: hidden;
    transition: 
        height 0.3s ease-out,
        padding 0.3s ease-out,
        margin 0.3s ease-out,
        opacity 0.3s ease-out;
}

.resource-card:hover .resource-card-tag {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    opacity: 0;
}

.resource-card-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255) 95%
    );
    transition: opacity 0.3s ease-out;
}

/* Show fade on hover */
.resource-card:hover .resource-card-fade {
    opacity: 1;
}

.resources-grid-section .alm-filter--group {
    @media (min-width: 992px) {
        max-width: 19.06rem;
    }
}

.resources-grid-section .alm-filters {
    width: 100%;
}

.resources-grid-section .alm-listing {
    display: flex;
    justify-content: center;
}

.resources-grid-section .alm-filter--text-wrap {
    min-width: 19.06rem;

    @media (min-width: 992px) {
        max-width: 19.06rem;
    }
}

.resources-grid-section .alm-filter--inner ul {
    width: 100%;

    @media (min-width: 1320px) {
        min-width: 19.06rem;
    }
}

.resources-grid-section .alm-filter--inner[aria-hidden="true"] {
    min-width: 100.6%;

    @media (min-width: 992px) {
        min-width: 19.06rem;
    }
}

.resources-grid-section .alm-filter--inner[aria-hidden="false"] {
    min-width: 100.6%;

    @media (min-width: 992px) {
        min-width: 19.06rem;
    }
}

.portfolio-grid-section .alm-filter--search {
    width: 100% !important;
    border-radius: 10px !important;

    @media (min-width: 767px) {
       width: 48% !important;
    }

    @media (min-width: 992px) {
        width: 16rem !important;
    }

    .alm-filter--inner {
        width: 100% !important;
    }
}

.alm-filter--search {
    border: 1px solid transparent !important;
    border-radius: 10px !important;
}

.alm-filter--search:has(.alm-filter--inner[aria-hidden="false"]) {
    border-radius: 10px !important;
}

.resources-grid-section .alm-paging-content {
    justify-content: start !important;
}

.logos-pagination {
    flex-wrap: wrap;
}

.swiper-pagination-bullet {
    width: 45% !important;
    aspect-ratio: 1/1;
    height: 100% !important;
    padding: 9px !important;
    border-radius: 4.459px !important;
    background: #F3F3F3 !important;    
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;

    @media (min-width: 992px) {
        width: 8.5rem !important;
        height: 8.72rem !important;
    }
}

.swiper-pagination-bullet img {
    max-width: 95%;
    object-fit: contain;
}

.et_pb_menu_0_tb_header.et_pb_menu ul li a {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    color: #154d4e!important;
}

/* Portfolio Filter Reset */
.portfolio-grid-section .alm-filters .alm-filters--controls {
    width: auto;
    /* margin-right: auto; */
    position: absolute;
    top: -44px;
}
.portfolio-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button {
    align-items: center;
}
.portfolio-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button span {
    color: #154d4e !important;
    font-size: 16px;
    display: flex;
    position: relative;
    padding-right: 32px;
}
.portfolio-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button span::after {
    content: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.75175 7.48257C4.33242 4.75454 6.85064 2.69392 9.83753 1.68441C12.8244 0.674887 16.0764 0.785269 18.988 1.995C21.8995 3.20473 24.2722 5.43136 25.6643 8.26029C27.0563 11.0892 27.3728 14.3276 26.5549 17.3726C25.7369 20.4175 23.8403 23.0614 21.218 24.812C18.5958 26.5626 15.4267 27.3005 12.3009 26.8885C9.17507 26.4764 6.30552 24.9424 4.22655 22.572C2.14758 20.2017 1.0009 17.1566 1 14.0037' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.125 7.5037H2.625V1.0037' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    position: absolute;
    width: 26px;
    height: 26px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.portfolio-grid-section .alm-filters .alm-filter.alm-filter--search {
    @media (min-width: 992px) {
        max-width: calc(100%);
    }
    
    @media (min-width: 1320px) {
        max-width: calc(25% - 20px);
    }
}

/* RESOURCES Filter Reset */
.resources-grid-section .alm-filters .alm-filters--controls {
    width: auto;
    /* margin-right: auto; */
    position: absolute;
    top: -44px;
}
.resources-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button {
    align-items: center;
}
.resources-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button span {
    color: #154d4e !important;
    font-size: 16px;
    display: flex;
    position: relative;
    padding-right: 32px;
}
.resources-grid-section .alm-filters .alm-filters--controls .alm-filters--reset button span::after {
    content: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.75175 7.48257C4.33242 4.75454 6.85064 2.69392 9.83753 1.68441C12.8244 0.674887 16.0764 0.785269 18.988 1.995C21.8995 3.20473 24.2722 5.43136 25.6643 8.26029C27.0563 11.0892 27.3728 14.3276 26.5549 17.3726C25.7369 20.4175 23.8403 23.0614 21.218 24.812C18.5958 26.5626 15.4267 27.3005 12.3009 26.8885C9.17507 26.4764 6.30552 24.9424 4.22655 22.572C2.14758 20.2017 1.0009 17.1566 1 14.0037' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M9.125 7.5037H2.625V1.0037' stroke='black' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    position: absolute;
    width: 26px;
    height: 26px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.resources-grid-section .alm-filters .alm-filter.alm-filter--search {
    @media (min-width: 992px) {
        max-width: calc(100%);
    }
    
    @media (min-width: 1320px) {
        max-width: calc(25% - 20px);
    }
}


/* //////////////////////////// */
/* PORTFOLIO FEATURED CARD */
.portfolio__featured__logo-container {
    aspect-ratio: 1/1.04;
}
.portfolio__featured__logo {
    width: 100%;
    height: 100%;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    background-color: #F3F3F3;
    border: 1px solid #154D4D;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
}

.portfolio__featured__logo .logo-wrapper:not(:first-child) {
    border-top: 0.5px solid black;
}

.portfolio__featured__logo:has(> .logo-wrapper:nth-of-type(2)):not(:has(> .logo-wrapper:nth-of-type(3))) .logo-wrapper {
    height: 50% !important;
}

.portfolio__featured__logo:has(> .logo-wrapper:nth-of-type(3)):not(:has(> .logo-wrapper:nth-of-type(4))) .logo-wrapper {
    height: 33.3333% !important;
}

.portfolio__featured__content {
    padding: 20px;
    background-color: #154D4D;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.portfolio__featured__content .line {
    height: 1px; 
    background-color: white; 
    margin: 32px 0;
}

.portfolio__featured__content h3 {
   font-size: 20px !important;
   font-weight: 700;
}

.portfolio__featured__content * {
   line-height: normal;
}

.portfolio__featured__content .info a {
   font-weight: 700;
   color: white;
}

.portfolio__featured__text {
    font-size: 16px;
}

/* responsive */
@media (max-width: 1200px) {
    .portfolio__featured__content h3 {
        font-size: 18px !important;
    }

     .portfolio__featured__text {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .portfolio__featured__content h3 {
        font-size: 17px !important;
    }
}

/* //////////////////////////// */
/* PORTFOLIO CARD */
/* .portfolio .alm-paging-content {
    margin-top: 0;
    padding: 0;
    min-width: calc(100% + 20px) !important;
} */

.portfolio__grid__card-container {
    aspect-ratio: 1/1.04;
}
.portfolio__grid__card {
    height: 100%;
    border-radius: 10px;
    background-color: #F3F3F3;
    border: 1px solid #F3F3F3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 300ms ease-out;
}

.portfolio__grid__card:hover {
    background-color: white;
    border: 1px solid #009395;
}

.logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.logo-wrapper img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.portfolio__grid__card .logo-wrapper:not(:first-child) {
    border-top: 0.5px solid black;
}

.portfolio__grid__card:has(> .logo-wrapper:nth-of-type(2)):not(:has(> .logo-wrapper:nth-of-type(3))) .logo-wrapper {
    height: 50% !important;
}

.portfolio__grid__card:has(> .logo-wrapper:nth-of-type(3)):not(:has(> .logo-wrapper:nth-of-type(4))) .logo-wrapper {
    height: 33.3333% !important;
}


/* responsive */
@media (max-width: 576px) {

    .portfolio__grid__card {
        max-width: 320px;
        margin: 0 auto;
    }
}