/* ===========================
   AYATOLLAH KHAMENEI MULTIMEDIA
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0b1117;
    color:#fff;
}

/* HERO */

.hero{

    height:420px;

    background:url("../images/hero.jpg") center center/cover no-repeat;

    position:relative;

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.65);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:20px;

}

.overlay h1{

    font-size:52px;

    color:#d4af37;

}

.overlay h2{

    font-size:30px;

    margin:15px 0;

}

.overlay p{

    color:#ddd;

    margin-bottom:30px;

}

/* SEARCH */

.search-box{

    width:100%;

    max-width:600px;

}

.search-box input{

    width:100%;

    padding:16px;

    border:none;

    border-radius:40px;

    font-size:16px;

}

/* FILTERS */


.filters{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;

    padding:25px;
    background:#f7f3eb;
}

.filters select,
.filters input{

    padding:12px 15px;

    border:1px solid #ddd;
    border-radius:8px;

    font-size:15px;

    min-width:180px;

}

.filters input{

    flex:1;
    min-width:280px;
}




/* SECTION */

.latest{

    width:95%;

    max-width:1400px;

    margin:40px auto;

}

.latest h2{

    color:#d4af37;

    margin-bottom:25px;

    font-size:30px;

}

/* GRID */

.media-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

    gap:25px;

}

/* ==========================
   Language Switcher
========================== */

.language-switcher{
    position:absolute;
    top:25px;
    right:30px;
    z-index:1000;
}

.language-switcher select{

    min-width:170px;
    padding:10px 15px;

    border:none;
    border-radius:30px;

    background:#ffffff;

    color:#222;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    outline:none;

    box-shadow:0 8px 25px rgba(0,0,0,.15);

    transition:.3s;
}

.language-switcher select:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

.language-switcher select:focus{

    box-shadow:0 0 0 4px rgba(0,120,255,.2);

}

@media(max-width:768px){

.language-switcher{

    top:15px;
    right:15px;

}

.language-switcher select{

    min-width:140px;
    font-size:14px;
    padding:8px 12px;

}

}


/* CARD */

.media-card{

    background:#161b22;

    border-radius:18px;

    overflow:hidden;

    transition:.35s;

    border:1px solid rgba(212,175,55,.15);

}

.media-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.45);

    border-color:#d4af37;

}

/* IMAGE */

.thumb{

    position:relative;

}

.thumb img{

    width:100%;

    height:220px;

    object-fit:cover;

}

/* TYPE */

.type{

    position:absolute;

    left:12px;

    top:12px;

    background:#d4af37;

    color:#000;

    padding:5px 12px;

    border-radius:30px;

    font-size:13px;

    font-weight:bold;

}

/* FEATURED */

.featured{

    position:absolute;

    right:12px;

    top:12px;

    background:#e53935;

    color:#fff;

    padding:5px 12px;

    border-radius:30px;

    font-size:13px;

}

/* CONTENT */

.content{

    padding:20px;

}

.category{

    color:#d4af37;

    font-size:14px;

    margin-bottom:10px;

}

.content h3{

    font-size:22px;

    line-height:1.4;

    margin-bottom:15px;

    min-height:62px;

}

/* META */

.meta{

    display:flex;

    justify-content:space-between;

    font-size:14px;

    color:#bbb;

    margin-bottom:15px;

}

/* STATS */

.stats{

    display:flex;

    justify-content:space-between;

    margin-bottom:20px;

    color:#ddd;

    font-size:15px;

}

/* BUTTON */

.btn{

    display:block;

    width:100%;

    text-align:center;

    text-decoration:none;

    background:#d4af37;

    color:#000;

    padding:13px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    background:#f2ca52;

}

/* LOAD MORE */

.load-more{

    text-align:center;

    margin:40px;

}

.load-more button{

    background:#d4af37;

    border:none;

    padding:15px 35px;

    border-radius:30px;

    font-size:17px;

    cursor:pointer;

}

/* FOOTER */

.footer{

    text-align:center;

    padding:35px;

    background:#111827;

    color:#aaa;

    margin-top:60px;

}

/* MOBILE */

@media(max-width:768px){

.hero{

height:300px;

}

.overlay h1{

font-size:34px;

}

.overlay h2{

font-size:20px;

}

.filters{

flex-direction:column;

}

.filters select{

width:100%;

}

.media-grid{

grid-template-columns:1fr;

}

.content h3{

font-size:18px;

min-height:auto;

}

}



