/* =========================================================
   Autano Article List
   Shortcode: [autano_article_list]
   ========================================================= */

.autano-article-list-wrap{
    width:100%;
    max-width:1440px;
    margin:26px auto 36px;
    padding:0 18px;
    box-sizing:border-box;
    font-family:Ubuntu,Arial,Helvetica,sans-serif;
}

.autano-article-list-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:18px;
    margin:0 0 16px;
    padding:18px;
    border:1px solid rgba(148,163,184,.35);
    border-radius:22px;
    background:rgba(255,255,255,.72);
    box-shadow:0 10px 28px rgba(15,23,42,.06);
}

.autano-article-list-titlebox h2{
    margin:0 0 4px;
    color:#111827;
    font-size:26px;
    line-height:1.15;
    font-weight:800;
}

.autano-article-list-titlebox p{
    margin:0;
    color:#64748b;
    font-size:15px;
}

.autano-article-list-controls{
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:10px;
}

.autano-article-list-controls label{
    display:flex;
    flex-direction:column;
    gap:5px;
    color:#64748b;
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.autano-article-list-controls input,
.autano-article-list-controls select{
    height:42px;
    min-width:150px;
    box-sizing:border-box;
    border:1px solid #cbd5e1;
    border-radius:14px;
    background:#fff;
    color:#111827;
    padding:0 13px;
    font-size:14px;
    font-weight:700;
    outline:none;
}

.autano-article-list-controls input{
    min-width:240px;
}

.autano-article-list-controls input:focus,
.autano-article-list-controls select:focus{
    border-color:#0f67b1;
    box-shadow:0 0 0 3px rgba(15,103,177,.12);
}

.autano-article-list-table{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.autano-article-row{
    display:grid;
    grid-template-columns:82px minmax(220px,1fr) minmax(180px,auto);
    align-items:center;
    gap:16px;
    min-height:86px;
    padding:10px 14px 10px 10px;
    border:1px solid rgba(148,163,184,.32);
    border-radius:20px;
    background:rgba(255,255,255,.82);
    box-shadow:0 8px 22px rgba(15,23,42,.045);
}

.autano-article-row[hidden]{
    display:none !important;
}

.autano-article-thumb{
    width:72px;
    height:72px;
    border-radius:16px;
    overflow:hidden;
    background:#dbe7ef;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#0f67b1;
    font-size:28px;
    font-weight:900;
}

.autano-article-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.autano-article-main{
    min-width:0;
}

.autano-article-title{
    display:inline-block;
    color:#111827 !important;
    font-size:17px;
    line-height:1.25;
    font-weight:800;
    text-decoration:none !important;
}

.autano-article-title:hover{
    color:#0f67b1 !important;
}

.autano-article-meta{
    margin-top:6px;
    color:#64748b;
    font-size:14px;
    font-weight:700;
}

.autano-article-tags{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
}

.autano-article-tags a,
.autano-article-tags span{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:5px 12px;
    border-radius:999px;
    background:#eef4f8;
    border:1px solid #d8e3ea;
    color:#334155 !important;
    font-size:13px;
    font-weight:800;
    text-decoration:none !important;
    white-space:nowrap;
}

.autano-article-tags a:hover{
    background:#0f67b1;
    border-color:#0f67b1;
    color:#fff !important;
}

.autano-article-list-foot{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-top:16px;
    color:#64748b;
    font-size:14px;
    font-weight:700;
}

.aal-more{
    border:0;
    border-radius:999px;
    background:#111827;
    color:#fff;
    padding:11px 18px;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

.aal-more:hover{
    opacity:.9;
}

.autano-article-empty{
    margin:0;
    padding:18px;
    border-radius:18px;
    background:#fff;
    color:#64748b;
    font-weight:700;
}

html.autano-theme-dark .autano-article-list-head,
html.autano-theme-dark .autano-article-row,
body.autano-theme-dark .autano-article-list-head,
body.autano-theme-dark .autano-article-row{
    background:rgba(15,23,32,.86);
    border-color:rgba(148,163,184,.25);
    box-shadow:0 10px 28px rgba(0,0,0,.22);
}

html.autano-theme-dark .autano-article-list-titlebox h2,
html.autano-theme-dark .autano-article-title,
body.autano-theme-dark .autano-article-list-titlebox h2,
body.autano-theme-dark .autano-article-title{
    color:#eaf2f8 !important;
}

html.autano-theme-dark .autano-article-list-titlebox p,
html.autano-theme-dark .autano-article-meta,
html.autano-theme-dark .autano-article-list-foot,
body.autano-theme-dark .autano-article-list-titlebox p,
body.autano-theme-dark .autano-article-meta,
body.autano-theme-dark .autano-article-list-foot{
    color:#a9bfd3;
}

html.autano-theme-dark .autano-article-list-controls input,
html.autano-theme-dark .autano-article-list-controls select,
body.autano-theme-dark .autano-article-list-controls input,
body.autano-theme-dark .autano-article-list-controls select{
    background:#0f1c2b;
    border-color:#29415c;
    color:#fff;
}

html.autano-theme-dark .autano-article-tags a,
html.autano-theme-dark .autano-article-tags span,
body.autano-theme-dark .autano-article-tags a,
body.autano-theme-dark .autano-article-tags span{
    background:#162333;
    border-color:#29415c;
    color:#dbeafe !important;
}

@media (max-width:900px){
    .autano-article-list-head{
        align-items:stretch;
        flex-direction:column;
    }

    .autano-article-list-controls{
        justify-content:flex-start;
    }

    .autano-article-list-controls label,
    .autano-article-list-controls input,
    .autano-article-list-controls select{
        width:100%;
        min-width:0;
    }

    .autano-article-row{
        grid-template-columns:70px minmax(0,1fr);
        gap:12px;
    }

    .autano-article-thumb{
        width:64px;
        height:64px;
    }

    .autano-article-tags{
        grid-column:1 / -1;
        justify-content:flex-start;
        padding-left:2px;
    }
}

@media (max-width:520px){
    .autano-article-list-wrap{
        padding:0 10px;
    }

    .autano-article-list-head{
        padding:14px;
        border-radius:18px;
    }

    .autano-article-list-titlebox h2{
        font-size:22px;
    }

    .autano-article-row{
        padding:9px;
        border-radius:17px;
    }

    .autano-article-title{
        font-size:15.5px;
    }

    .autano-article-list-foot{
        flex-direction:column;
        align-items:stretch;
    }

    .aal-more{
        width:100%;
    }
}
