body{
    /* background-color: aqua; */
}

.wac-publications-listing {
    padding: 40px 0;
}

@media (min-width: 576px) {
    .wac-publications-listing {
        padding: 60px 0;
    }
}

.wac-publications-listing-wrapper {
    display: grid;
    column-gap: 34px;
    row-gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .wac-publications-listing-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .wac-publications-listing-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}


.wac-publications-card {
    position: relative;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0px 6px 45px 13px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: all 0.2s ease;
    will-change: transform;
}

@media (hover: hover) {
    .wac-publications-card:hover {
        transform: translateY(-4px);
        box-shadow: 0px 6px 45px 13px rgba(0, 0, 0, 0.08);
    }
}

.wac-publications-card figure {
    position: relative;
    width: 100%;
    padding-bottom: 63%;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.wac-publications-card figure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wac-content-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .wac-content-wrapper {
        padding: 20px 40px;
    }
}

.wac-content-wrapper .wac-date {
    font-family: "Inter", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #6D7073;
    margin-bottom: 5px;
}

.wac-content-wrapper .wac-title {
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    color: #000;
    min-height: 52px; /* !change in media query */

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.wac-content-wrapper .wac-btn {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    background: none;
    max-width: max-content;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #000;
    margin-top: 27px;
    margin-bottom: 4px;
    cursor: pointer;
    transition: color 0.2s ease;
}

@media (min-width: 1200px) {
    .wac-content-wrapper .wac-btn {
        margin-bottom: 22px;
    }
}


@media (hover :hover) {
    .wac-publications-card:hover .wac-content-wrapper .wac-btn {
        color: #0390DF;
    }
}

.wac-banner {
    overflow: hidden;
    position: relative;
    padding-top: 30px;
    padding-bottom: 40px;
    background: linear-gradient(87deg, rgba(102, 102, 102, 0.20) -5.49%, rgba(0, 0, 0, 0.00) 71.33%);
}

@media (min-width: 576px) {
    .wac-banner {
        padding-bottom: 60px;
    }
}

@media (min-width: 992px) {
    .wac-banner {
        padding-bottom: 100px;
    }
}

.wac-banner .container {
    position: relative;
    z-index: 1;
}


.wac-banner-fig::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35%, rgba(226, 226, 226, 1) 100%);
}
@media (min-width: 576px) {
    .wac-banner-fig::before {
        display: none;
    }
    
}

.wac-banner-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 100%;
}

.wac-banner .wac-breadcrumb {
    display: flex;
    gap: 16px;
}

.wac-breadcrumb a {
    position: relative;
    font-family: "Inter", serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color:#585858;
    text-decoration: none;
    text-underline-offset: 2px;
}

.wac-breadcrumb a:last-child {
    color: #000;
    pointer-events: none;
}

.wac-breadcrumb a:not(:last-child):after {
    content: "/";
    color: #585858;
    position: absolute;
    top: 50%;
    right: -11px;
    transform: translateY(-50%);
}

@media (hover :hover) {
    .wac-breadcrumb a:not(:last-child):hover {
        text-decoration: underline;
    }
}



.wac-banner .wac-title {
    margin-top: 32px;
    margin-bottom: 24px;
    font-family: "Inter", serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.4px;
    color: #000;
    max-width: 100%;
}

.wac-banner .wac-title .wac-highlight {
   color: #0390DF;
   display: block;
}


@media (min-width: 576px) {
    .wac-banner .wac-title  {
        letter-spacing: -3.4px;
        margin-top: 48px;
        font-size: 50px;
        max-width: 50%;
    }

    .wac-banner .wac-title .wac-highlight {
        display: inline;
     }
     
}
@media (min-width: 992px) {
    .wac-banner .wac-title  {
        margin-top: 80px;
        font-size: 68px;
    }
}



.wac-banner .wac-description {
    margin-bottom: 0;
    font-family: "Inter", serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    max-width: 32ch;
}

@media (min-width: 576px) {
    .wac-banner .wac-description  {
        line-height: 1.6;
        font-size: 20px;
    }
}

.wac-view-pdf-link {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

}


/* for animation */

.wac-banner .wac-breadcrumb,
.wac-banner .wac-title,
.wac-banner .wac-description {
    opacity: 0;
}

.no-content {
    text-align: center;
}

.no-content .wac-title {
    font-size: 28px;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

.wac-publications-listing:has( .no-content ) {
    padding: 120px 0;
}