/*
Theme Name: İmgelem PRO
Author: imgelem
Description: Edebiyat ve Sanat odaklı, pastel tonlarda profesyonel WordPress teması.
Version: 2.0
*/

/* 1. RESET & TEMEL AYARLAR */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Inter', sans-serif; 
    background-color: #fcfaf8; /* Çok hafif pastel krem */
    color: #4a4a4a; 
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 2. HEADER & LOGO AREA */
.img-header { background: #fff; padding: 50px 0 30px; text-align: center; border-bottom: 1px solid #f2ece8; }
.img-logo img { max-height: 100px; width: auto; margin-bottom: 30px; transition: 0.3s; }
.img-logo img:hover { opacity: 0.8; }

/* 3. ZARİF NAVİGASYON */
.img-nav { border-top: 1px solid #f9f6f4; margin-top: 10px; }
.img-nav ul { list-style: none; display: flex; justify-content: center; gap: 40px; padding: 20px 0; }
.img-nav ul li a { 
    text-decoration: none; 
    color: #666; 
    font-size: 13px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: 0.3s;
}
.img-nav ul li a:hover, .img-nav .current-menu-item a { color: #d68f6a; }

/* 4. PASTEL GRID & KARTLAR */
.post-grid { 
    display: grid; 
    grid-template-columns: repeat(var(--grid-cols, 4), 1fr); 
    gap: 30px; 
    margin: 50px 0; 
}

.post-card { 
    background: #fff; 
    border-radius: 20px; 
    overflow: hidden; 
    height: 400px; 
    display: flex; 
    flex-direction: column; 
    text-decoration: none; 
    border: 1px solid #f0e9e4; 
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 20px 40px rgba(214, 143, 106, 0.1); 
    border-color: #d68f6a; 
}

.post-card .img-box { height: 240px; overflow: hidden; position: relative; }
.post-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: 1s; }
.post-card:hover .img-box img { transform: scale(1.1); }

/* BAŞLIKLAR (Inter 700 - Zarif ve Güçlü) */
.post-card .title-box { flex: 1; padding: 25px; display: flex; align-items: center; justify-content: center; text-align: center; }
.post-card h3 { 
    font-size: 16px; 
    font-weight: 700; 
    color: #2c2c2c; 
    line-height: 1.5; 
    letter-spacing: -0.02em; 
    display: -webkit-box; 
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* 5. SAYFALAMA (Modern Butonlar) */
.mpg-pagination { text-align: center; margin: 60px 0; }
.mpg-pagination .page-numbers { 
    padding: 12px 20px; 
    margin: 0 5px; 
    border-radius: 12px; 
    border: 1px solid #eee; 
    text-decoration: none; 
    color: #888; 
    font-weight: 600; 
    transition: 0.3s;
    background: #fff;
}
.mpg-pagination .current { background: #d68f6a; color: #fff; border-color: #d68f6a; }
.mpg-pagination a:hover { border-color: #d68f6a; color: #d68f6a; }

/* 6. MOBİL UYUM */
@media (max-width: 1024px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { 
    .post-grid { grid-template-columns: 1fr; }
    .img-nav ul { gap: 15px; flex-wrap: wrap; }
}
img {
    max-width: 100%;
    height: auto;
}

iframe, video, embed {
    max-width: 100%;
}

.boxed-container, .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}