/*=====================================
SHORT TRICKS PAGE
======================================*/

.short-tricks-section{

    padding:80px 0;

    background:#f8fafc;

}

.short-tricks-section .section-title{

    text-align:center;

    margin-bottom:50px;

}

.short-tricks-section .section-title h2{

    font-size:52px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:15px;

}

.short-tricks-section .section-title p{

    max-width:760px;

    margin:auto;

    color:#64748b;

    font-size:18px;

    line-height:1.8;

}


/*=====================================
FILTER
======================================*/

.short-trick-filter{

    background:#fff;

    padding:20px;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(15,23,42,.08);

    margin-bottom:45px;

}

.short-trick-filter form{

    display:grid;

    grid-template-columns:2fr 1fr 170px;

    gap:18px;

}

.short-trick-filter input,
.short-trick-filter select{

    height:58px;

    border:1px solid #dbe2ea;

    border-radius:12px;

    padding:0 18px;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.short-trick-filter input:focus,
.short-trick-filter select:focus{

    border-color:#2563eb;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.short-trick-filter button{

    height:58px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.short-trick-filter button:hover{

    background:#1d4ed8;

}


/*=====================================
LIST
======================================*/

.short-tricks-list{

    display:flex;

    flex-direction:column;

    gap:25px;

}


/*=====================================
CARD
======================================*/

.short-trick-card{

    background:#fff;

    border-radius:18px;

    padding:30px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 10px 25px rgba(15,23,42,.07);

    transition:.3s;

}

.short-trick-card:hover{

    transform:translateY(-4px);

    box-shadow:0 20px 40px rgba(15,23,42,.12);

}

.short-trick-left{

    display:flex;

    align-items:flex-start;

    gap:22px;

    flex:1;

}

.short-trick-icon{

    width:72px;

    height:72px;

    border-radius:18px;

    background:#eff6ff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#2563eb;

    font-size:28px;

    flex-shrink:0;

}

.short-trick-content{

    flex:1;

}

.short-trick-content h3{

    font-size:28px;

    color:#1e3a8a;

    margin-bottom:15px;

}

.short-trick-meta{

    display:flex;

    flex-wrap:wrap;

    gap:25px;

    margin-bottom:18px;

    color:#64748b;

    font-size:15px;

}

.short-trick-meta strong{

    color:#334155;

}

.short-trick-content p{

    color:#64748b;

    line-height:1.9;

    font-size:16px;

}


/*=====================================
BUTTON
======================================*/

.short-trick-actions{

    margin-left:30px;

}

.short-trick-actions .btn{

    background:#2563eb;

    color:#fff;

    padding:15px 30px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    display:inline-flex;

    align-items:center;

    gap:10px;

    transition:.3s;

}

.short-trick-actions .btn:hover{

    background:#1d4ed8;

}


/*=====================================
EMPTY
======================================*/

.alert{

    background:#fff3cd;

    color:#856404;

    padding:20px;

    border-radius:12px;

    text-align:center;

}


/*=====================================
RESPONSIVE
======================================*/

@media(max-width:768px){

.short-tricks-section{

    padding:60px 0;

}

.short-tricks-section .section-title{

    margin-bottom:30px;

}

.short-tricks-section .section-title h2{

    font-size:30px;
    line-height:1.3;

}

.short-tricks-section .section-title p{

    font-size:14px;
    line-height:1.6;

}

/* Filter */

.short-trick-filter{

    padding:15px;
    margin-bottom:30px;

}

.short-trick-filter form{

    grid-template-columns:1fr;
    gap:12px;

}

.short-trick-filter input,
.short-trick-filter select,
.short-trick-filter button{

    width:100%;
    height:46px;
    font-size:14px;

}

/* Cards */

.short-tricks-list{

    gap:15px;

}

.short-trick-card{

    flex-direction:column;
    align-items:flex-start;
    gap:15px;
    padding:20px 15px;

}

.short-trick-left{

    flex-direction:column;
    gap:15px;
    width:100%;

}

.short-trick-icon{

    width:60px;
    height:60px;
    font-size:24px;
    border-radius:14px;

}

.short-trick-content h3{

    font-size:18px;
    line-height:1.4;
    margin-bottom:10px;

}

.short-trick-meta{

    flex-direction:column;
    gap:8px;
    margin-bottom:12px;
    font-size:13px;

}

.short-trick-content p{

    font-size:13px;
    line-height:1.6;

}

.short-trick-actions{

    width:100%;
    margin-left:0;

}

.short-trick-actions .btn{

    width:100%;
    justify-content:center;
    padding:12px;
    font-size:13px;

}

/* Pagination */

.pagination-wrapper{

    margin-top:30px;

}

.pagination{

    gap:8px;
    flex-wrap:wrap;

}

.pagination a{

    width:40px;
    height:40px;
    font-size:14px;

}

}

@media(max-width:320px){

.short-tricks-section .section-title h2{

    font-size:24px;

}

.short-tricks-section .section-title p{

    font-size:13px;

}

.short-trick-card{

    padding:15px;

}

.short-trick-icon{

    width:50px;
    height:50px;
    font-size:20px;

}

.short-trick-content h3{

    font-size:16px;

}

.short-trick-meta{

    font-size:12px;

}

.short-trick-content p{

    font-size:12px;

}

.short-trick-actions .btn{

    font-size:12px;
    padding:10px;

}

.pagination a{

    width:36px;
    height:36px;
    font-size:13px;

}

}
/*==============================
PAGINATION
==============================*/

.pagination-wrapper{

    margin-top:50px;

    display:flex;

    justify-content:center;

}

.pagination{

    display:flex;

    gap:12px;

    list-style:none;

    padding:0;

}

.pagination a{

    display:flex;

    align-items:center;

    justify-content:center;

    width:45px;

    height:45px;

    border-radius:10px;

    background:#ffffff;

    color:#1e3a8a;

    text-decoration:none;

    font-weight:600;

    box-shadow:0 5px 15px rgba(0,0,0,.08);

    transition:.3s;

}

.pagination a:hover{

    background:#2563eb;

    color:#ffffff;

}

.pagination a.active{

    background:#2563eb;

    color:#ffffff;

}