/* === Search bar === */
.ds-article-search{
    width:100%;
    max-width:100%;
    margin-bottom:2rem;
}
.ds-article-search__inner{
    display:flex;
    gap:30px;
    align-items:stretch;
    justify-content:center;
}
.ds-article-search__field-wrap{
    position:relative;
    flex:1;
    display:flex;
    align-items:center;
    box-shadow:0px 3px 12px #00000029;
    border-radius:29px;
    max-width:1095px;
    max-height:58px;
    height:58px;
}
.ds-article-search__icon{
    position:absolute;
    left:12px;
    top:50%;
    transform:translateY(-50%);
    display:inline-flex;
    pointer-events:none;
    font-size:18px;
}
.ds-article-search__icon svg{
    width:24px;
    height:24px;
    stroke:#D0D0D0;
}
.ds-article-search__input{
    width:100% !important;
    padding:10px 12px 10px 40px !important;
    border:none !important;
    font-size:14px !important;
    font-family: "Roboto", Sans-serif !important;
    border-radius:29px !important;
    max-width:1095px !important;
    max-height:58px !important;
    height:58px !important;
    outline:none !important;
    margin:0 !important;
    background:transparent !important;
    color:#000 !important;
}
.ds-article-search__year-wrap{
    width:100%;
    max-width:220px;
    height:58px;
    position:relative;
    display:flex;
    align-items:center;
    box-shadow:0px 3px 12px #00000029;
    border-radius:29px;
    background:#fff;
}
.ds-article-search__year{
    width:100%;
    height:58px;
    border-radius:29px;
    border:3px solid #4C9BAB;
    background:transparent;
    color:#4C9BAB;
    font-family: "Roboto", Sans-serif !important;
    font-size:18px;
    font-weight:700;
    padding:0 52px 0 18px;
    outline:none;
    box-shadow:none;
    cursor:pointer;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    margin: 0 !important;
}
.ds-article-search__year-wrap::after{
    content:"";
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    width:14px;
    height:14px;
    pointer-events:none;
    background-repeat:no-repeat;
    background-size:14px 14px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234C9BAB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.ds-article-search__year:hover{
    background:rgba(76,155,171,0.06);
}
.ds-article-search__year:focus{
    outline:none !important;
}
.ds-article-search__btn{
    white-space:nowrap;
    padding:16px 36px;
    border-radius:29px;
    border:3px solid #4C9BAB;
    cursor:pointer;
    font-size:20px;
    font-family: "Roboto", Sans-serif !important;
    font-weight:700;
    background:transparent;
    color:#4C9BAB;
    outline:none;
    transition:all 0.5s ease;
    width:100%;
    max-width:220px;
    max-height:58px;
}
.ds-article-search__btn:focus{
    outline:none !important;
}
.ds-article-search__btn:hover{
    background:#4C9BAB;
    color:#fff;
    font-size:1.5em;
}

/* Responsive tweaks */
@media (max-width:768px){
    .ds-article-search__inner{
        flex-direction:column;
    }
    .ds-article-search__btn{
        width:100%;
        text-align:center;
        max-width:100%;
    }
    .ds-article-search__year-wrap{
        max-width:100%;
    }
}

/* === Results grid === */
.ds-article-results{
    position:relative;
    min-height:40px;
}
.ds-article-results--loading::after{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.7);
    z-index:2;
}
.ds-article-results--loading::before{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:32px;
    height:32px;
    margin:-16px 0 0 -16px;
    border-radius:50%;
    border:3px solid rgba(99,198,204,0.25);
    border-top-color:#4C9BAB;
    animation:ds-article-spinner 0.7s linear infinite;
    z-index:3;
}
@keyframes ds-article-spinner{
    to{
        transform:rotate(360deg);
    }
}
.ds-article-results__no-results{
    margin:1rem 0;
}
.ds-article-results__grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:40px;
}
@media (max-width:1180px){
    .ds-article-results__grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}
@media (max-width:600px){
    .ds-article-results__grid{
        grid-template-columns:1fr;
    }
}

/* === Card layout === */
.ds-article-card{
    background:#ffffff;
    box-shadow:4px 3px 30px #00000029;
    border-radius:0;
    overflow:hidden;
    position:relative;
}
.ds-article-card__image-wrap{
    width:100%;
    aspect-ratio:468/356;
    line-height:0;
    overflow:hidden;
}
.ds-article-card__image{
    width:100%;
    height:100% !important;
    display:block;
    object-fit:cover;
}
.ds-article-card__body{
    padding:33px;
    display:flex;
    flex-direction:column;
    gap:14px;
}
.ds-article-card__title{
    font-family: "Roboto", Sans-serif !important;
    font-size:30px;
    font-weight:700;
    color:#4C9BAB;
    margin:0;
    word-break: break-word;
}
.ds-article-card__title a{
    color:#4C9BAB;
    text-decoration:none;
}
.ds-article-card__title a:hover{
    color:#4C9BAB;
}
.ds-article-card__meta{
    font-family: "Roboto", Sans-serif !important;
    font-size:18px;
    font-weight:400;
    color:#9E3240;
    margin:0;
}
.ds-article-card__excerpt{
    font-family: "Roboto", Sans-serif !important;
    font-size:18px;
    line-height:36px;
    color:#000000;
    margin:0 0 10px 0;
}
.ds-article-card__more{
    display:inline-flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    background:none;
    border:none;
    padding:0;
    color:#4C9BAB;
    cursor:pointer;
    font-family: "Roboto", Sans-serif !important;
    font-size:24px;
    font-weight:700;
    width:fit-content;
}
.ds-article-card__more-text{
    display:inline-block;
}
.ds-article-card__more-icon{
    display:inline-flex;
    transition:all 0.5s ease;
}
.ds-article-card__more svg{
    width:36px;
    height:36px;
}
.ds-article-card__more:hover .ds-article-card__more-text{
    text-decoration:none;
    color:#4C9BAB;
}
.ds-article-card__more:hover .ds-article-card__more-icon{
    transform:translateY(5px);
}

/* === Load more button === */
.ds-article-results__load-more-wrap{
    text-align:center;
    margin-top:30px;
}
.ds-article-results__load-more{
    padding:8px 16px;
    border-radius:29px;
    border:3px solid #4C9BAB;
    cursor:pointer;
    font-size:18px;
    font-family: "Roboto", Sans-serif !important;
    font-weight:500;
    background:transparent;
    color:#4C9BAB;
    outline:none;
    transition:all 0.5s ease;
    width:100%;
    max-width:160px;
}
.ds-article-results__load-more:hover{
    background:#4C9BAB;
    color:#fff;
    font-size:20px;
}

/* === Responsive: desktops (≤1440px) === */
@media (max-width:1440px){
    .ds-article-search__inner{
        gap:24px;
    }
    .ds-article-card__body{
        padding:28px;
    }
    .ds-article-card__title{
        font-size:28px;
    }
    .ds-article-card__more{
        font-size:22px;
    }
    .ds-article-card__more svg{
        width:32px;
        height:32px;
    }
}

/* === Responsive: laptops (≤1180px) === */
@media (max-width:1180px){
    .ds-article-search__inner{
        gap:18px;
    }
    .ds-article-search__btn{
        font-size:18px;
        padding:14px 28px;
    }
    .ds-article-search__year{
        font-size:16px;
    }
    .ds-article-card__body{
        padding:24px;
        gap:12px;
    }
    .ds-article-card__title{
        font-size:26px;
    }
    .ds-article-card__meta{
        font-size:16px;
    }
    .ds-article-card__excerpt{
        font-size:16px;
        line-height:30px;
    }
    .ds-article-card__more{
        font-size:20px;
        gap:14px;
    }
    .ds-article-card__more svg{
        width:28px;
        height:28px;
    }
}

/* === Responsive: tablets (≤768px) === */
@media (max-width:768px){
    .ds-article-search__inner{
        flex-direction:column;
        gap:14px;
    }
    .ds-article-search__field-wrap{
        height:54px;
        max-height:54px;
    }
    .ds-article-search__input{
        height:54px !important;
        max-height:54px !important;
        font-size:14px !important;
    }
    .ds-article-search__year-wrap{
        height:54px;
    }
    .ds-article-search__year{
        height:54px;
        font-size:16px;
        padding:0 50px 0 16px;
    }
    .ds-article-search__btn{
        max-width:100%;
        font-size:18px;
        padding:14px 24px;
    }
    .ds-article-card__body{
        padding:22px;
    }
    .ds-article-card__title{
        font-size:24px;
    }
    .ds-article-card__meta{
        font-size:16px;
    }
    .ds-article-card__excerpt{
        font-size:16px;
        line-height:28px;
    }
    .ds-article-card__more{
        font-size:20px;
    }
    .ds-article-results__load-more{
        font-size:16px;
    }
}

/* === Responsive: mobiles (≤480px) === */
@media (max-width:480px){
    .ds-article-search{
        margin-bottom:1.25rem;
    }
    .ds-article-search__field-wrap{
        height:50px;
        max-height:50px;
        border-radius:26px;
    }
    .ds-article-search__input{
        height:50px !important;
        max-height:50px !important;
        padding:10px 12px 10px 38px !important;
    }
    .ds-article-search__icon{
        left:10px;
    }
    .ds-article-search__icon svg{
        width:22px;
        height:22px;
    }
    .ds-article-search__year-wrap{
        height:50px;
        border-radius:26px;
    }
    .ds-article-search__year{
        height:50px;
        border-radius:26px;
        font-size:15px;
        padding:0 46px 0 14px;
        border-width:2px;
    }
    .ds-article-search__year-wrap::after{
        right:14px;
    }
    .ds-article-search__btn{
        border-width:2px;
        font-size:16px;
        padding:12px 18px;
    }
    .ds-article-card__body{
        padding:18px;
        gap:10px;
    }
    .ds-article-card__title{
        font-size:20px;
    }
    .ds-article-card__meta{
        font-size:14px;
    }
    .ds-article-card__excerpt{
        font-size:15px;
        line-height:24px;
        margin:0 0 6px 0;
    }
    .ds-article-card__more{
        font-size:18px;
        gap:12px;
    }
    .ds-article-card__more svg{
        width:24px;
        height:24px;
    }
    .ds-article-results__load-more{
        font-size:15px;
    }
}
