/* ==========================================================================
   PAGES - Sayfa Özel Stilleri
   ========================================================================== */

/* Modern Başlık Kart Tasarımı */
.title-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.title-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: var(--bs-primary);
    text-decoration: none !important;
}

.title-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-success));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.title-card:hover::before {
    opacity: 1;
}

.title-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.title-card-title {
    color: var(--bs-primary) !important;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.title-card:hover .title-card-title {
    color: var(--bs-primary) !important;
}

.title-card-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.title-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 12px;
}

.title-card-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-success));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: 600;
}

.continue-btn {
    background: var(--bs-primary) !important;
    background-image: none !important;
    color: white !important;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.continue-btn:hover {
    background: var(--bs-primary) !important;
    background-image: none !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0.9 !important;
    filter: brightness(0.95) !important;
}

.titles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 12px;
}

.titles-header h1 { 
    margin: 0; 
}

.titles-header .new-title-btn { 
    flex-shrink: 0; 
}

.titles-header h1 {
    color: #374151;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Yeni Başlık Detay Sayfası - Temiz ve Minimalist */
.post-detail {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.post-header {
    padding: 32px 32px 24px 32px;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.5), rgba(241, 245, 249, 0.3));
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.post-title {
    color: #1f2937;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.25;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.post-chip {
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-chip.category {
    background: var(--bs-primary);
    color: #ffffff;
}

.post-chip:hover {
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
    transform: translateY(-1px);
}

.post-chip.category:hover {
    background: var(--bs-primary);
    opacity: 0.9;
    color: #ffffff;
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
}

.post-entries {
    background: #ffffff;
}

.post-entry {
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background-color 0.2s ease;
}

.post-entry:last-child {
    border-bottom: none;
}

.post-entry:hover {
    background: rgba(248, 250, 252, 0.4);
}

.post-entry-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.entry-number {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    font-weight: 700;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 8px;
    min-width: 36px;
    text-align: center;
}

.entry-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-name {
    color: #374151;
    font-weight: 600;
    font-size: 14px;
}

.spacer {
    flex: 1;
}

.entry-date {
    color: #9ca3af;
    font-size: 12px;
}

.entry-actions {
    display: flex;
    gap: 8px;
}