/* Today in Hip Hop WordPress Widget Styles */

.tihh-slider-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.tihh-slider-wrapper {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.tihh-card {
    min-width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #3e3e3e;
    border-radius: 20px;
    padding: 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none !important; /* Gölge tamamen kaldırıldı */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tihh-card:hover {
    border-color: rgba(255, 170, 0, 0.2);
}

/* BULLETPROOF KARE FOTOĞRAF (ASPECT RATIO 1:1 HACK) */
.tihh-card-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 100% !important; /* Mükemmel 1:1 kare oranı garantiler */
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #1c1c1c !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-sizing: border-box !important;
}

.tihh-card-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 14px !important;
    transition: transform 0.5s ease;
}

.tihh-card:hover .tihh-card-img {
    transform: scale(1.03) !important;
}

/* Placeholder for missing images */
.tihh-card-img-placeholder {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%) !important;
    border-radius: 14px !important;
}

.tihh-placeholder-emoji {
    font-size: 72px;
    opacity: 0.25;
    user-select: none;
}

/* Footer info area: Title, Subtitle */
.tihh-card-footer {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
    gap: 8px;
}

.tihh-card-info {
    width: 100%;
}

/* Title matching the bold layout */
.tihh-card-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Meta Satırı (Yıl Solda, Rozet Sağda) */
.tihh-card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 6px;
}

.tihh-card-year {
    color: #a3a3a3;
    font-size: 13px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Rozet (Badge) Temel Stilleri - Sitedeki Görselin Birebir Aynısı */
.tihh-card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    border-radius: 9999px !important;
    border: 1px solid !important;
    padding: 3px 10px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.tihh-badge-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* --- Rozet Renk Eşleşmeleri (Sitedeki Renkler) --- */

/* Album */
.tihh-badge-album {
    background-color: rgba(239, 68, 68, 0.15) !important; /* red-500/15 */
    color: #f87171 !important; /* red-400 */
    border-color: rgba(239, 68, 68, 0.45) !important; /* red-500/45 */
}
.tihh-dot-album {
    background-color: #f87171 !important;
}

/* Single */
.tihh-badge-single {
    background-color: rgba(245, 158, 11, 0.15) !important; /* amber-500/15 */
    color: #fbbf24; /* amber-400 */
    border-color: rgba(245, 158, 11, 0.45) !important; /* amber-500/45 */
}
.tihh-dot-single {
    background-color: #fbbf24 !important;
}

/* EP */
.tihh-badge-ep {
    background-color: rgba(168, 85, 247, 0.15) !important; /* purple-500/15 */
    color: #c084fc; /* purple-400 */
    border-color: rgba(168, 85, 247, 0.45) !important; /* purple-500/45 */
}
.tihh-dot-ep {
    background-color: #c084fc !important;
}

/* Mixtape */
.tihh-badge-mixtape {
    background-color: rgba(249, 115, 22, 0.15) !important; /* orange-500/15 */
    color: #fb923c; /* orange-400 */
    border-color: rgba(249, 115, 22, 0.45) !important; /* orange-500/45 */
}
.tihh-dot-mixtape {
    background-color: #fb923c !important;
}

/* Birthday */
.tihh-badge-birthday {
    background-color: rgba(14, 165, 233, 0.15) !important; /* sky-500/15 */
    color: #38bdf8; /* sky-400 */
    border-color: rgba(14, 165, 233, 0.45) !important; /* sky-500/45 */
}
.tihh-dot-birthday {
    background-color: #38bdf8 !important;
}

/* Death */
.tihh-badge-death {
    background-color: rgba(113, 113, 122, 0.15) !important; /* zinc-500/15 */
    color: #a1a1aa; /* zinc-400 */
    border-color: rgba(113, 113, 122, 0.45) !important; /* zinc-500/45 */
}
.tihh-dot-death {
    background-color: #a1a1aa !important;
}

/* Default / Fallback */
.tihh-badge-default {
    background-color: rgba(64, 64, 64, 0.15) !important;
    color: #a3a3a3 !important;
    border-color: rgba(64, 64, 64, 0.45) !important;
}
.tihh-dot-default {
    background-color: #a3a3a3 !important;
}

/* --- Kart İçi Logo Header Stili (Büyütülmüş ve Arası Açılmış) --- */
.tihh-card-header {
    text-align: center !important;
    margin-bottom: 26px !important; /* Fotoğrafla arayı açtık */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.tihh-card-logo {
    max-width: 180px !important; /* Logoyu 180px yaptık */
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Navigation buttons overlaying the image */
.tihh-slider-nav {
    position: absolute;
    top: 190px; /* Aligns visually with the middle of the square image below the logo */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
}

.tihh-nav-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: all 0.2s ease;
    font-size: 11px !important;
    line-height: 1 !important;
    user-select: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.tihh-nav-btn:hover {
    background: #ffaa00 !important;
    color: #2b2b2b !important;
    border-color: #ffaa00 !important;
}
