/**
 * @file post.css
 * @description Eğitim içerik detay sayfası stilleri - Kompakt ve çekici tasarım
 * @author Erdinç Taze
 * @copyright 
 */

/* ========== RENK PALETİ ========== */
:root {
    --primary-green: #28a745;
    --primary-green-dark: #218838;
    --primary-green-light: #34ce57;
    --accent-green: #20c997;
    --accent-green-dark: #1ba085;
    --light-green: #d4edda;
    --very-light-green: #f8fffe;
    --success-green: #155724;
    --gradient-green: linear-gradient(135deg, #28a745, #20c997);
    --gradient-green-light: linear-gradient(135deg, #d4edda, #f8fffe);
}

/* ========== TEMEL SAYFA STİLLERİ ========== */
.page-content {
    background: #ffffff;
}

/* ========== BREADCRUMB STİLLERİ ========== */
.breadcrumb-row {
    background: var(--gradient-green-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--light-green);
    position: relative;
}

.breadcrumb-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
}

.breadcrumb-row ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb-row ul li {
    display: inline-block;
    position: relative;
    margin-right: 18px;
    font-size: 13px;
    font-weight: 500;
}

.breadcrumb-row ul li:not(:last-child)::after {
    content: "›";
    position: absolute;
    right: -10px;
    color: var(--primary-green);
    font-weight: 600;
}

.breadcrumb-row ul li a {
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-row ul li a:hover {
    color: var(--primary-green-dark);
    text-decoration: underline;
}

.breadcrumb-row ul li:last-child {
    color: var(--success-green);
    font-weight: 600;
}

/* ========== ANA İÇERİK ========== */
.content-block {
    padding: 40px 0;
    background: #f8f9fa;
}

.education-post {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.08);
    border: 1px solid var(--light-green);
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
}

.education-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
}

/* ========== POST HEADER ========== */
.post-header {
    padding: 25px 30px 20px;
    background: var(--very-light-green);
    border-bottom: 1px solid var(--light-green);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--success-green);
    font-size: 12px;
    font-weight: 500;
    background: rgba(40, 167, 69, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.post-meta span:hover {
    background: var(--light-green);
    transform: translateY(-1px);
}

.post-meta span i {
    color: var(--primary-green);
    font-size: 11px;
}

.post-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--success-green);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== POST MEDYA ========== */
.post-media {
    position: relative;
    overflow: hidden;
    max-height: 300px;
}

.post-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-media:hover img {
    transform: scale(1.02);
}

/* ========== POST İÇERİK ========== */
.post-content {
    padding: 30px;
}

.post-body {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
    color: var(--success-green);
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.post-body h2 {
    font-size: 1.4rem;
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
    margin-left: -15px;
}

.post-body p {
    margin-bottom: 15px;
    text-align: justify;
}

.post-body ul, .post-body ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.post-body li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.post-body blockquote {
    background: var(--very-light-green);
    border-left: 4px solid var(--primary-green);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--success-green);
}

.post-body code {
    background: var(--light-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-green-dark);
}

.post-body pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--light-green);
    overflow-x: auto;
    margin: 15px 0;
}

/* ========== SOSYAL PAYLAŞIM ========== */
.post-share {
    padding: 25px 30px;
    background: var(--gradient-green-light);
    border-top: 1px solid var(--light-green);
    border-radius: 0 0 16px 16px;
}

.post-share h6 {
    margin-bottom: 20px;
    color: var(--success-green);
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-share {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 2px solid var(--light-green);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary-green);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.btn-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-share svg,
.btn-share i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-share:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
    border: none;
}

.btn-share:hover::before {
    opacity: 1;
}

.btn-share:hover svg,
.btn-share:hover i {
    color: #ffffff;
}

/* Platform spesifik hover renkleri */
.btn-share.facebook:hover {
    box-shadow: 0 8px 25px rgba(59, 89, 152, 0.3);
}

.btn-share.facebook:hover::before {
    background: #3b5998;
}

.btn-share.twitter:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-share.twitter:hover::before {
    background: #000000;
}

.btn-share.linkedin:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.btn-share.linkedin:hover::before {
    background: #0077b5;
}

.btn-share.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-share.whatsapp:hover::before {
    background: #25d366;
}

.btn-share.email:hover {
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.btn-share.email:hover::before {
    background: #dc3545;
}

.btn-share.copy-link:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.btn-share.copy-link:hover::before {
    background: var(--gradient-green);
}

/* ========== SIDEBAR WİDGET'LARI ========== */
.post-sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.08);
    border: 1px solid var(--light-green);
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.post-sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
}

.post-sidebar-title {
    background: var(--very-light-green);
    color: var(--success-green);
    padding: 18px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--light-green);
}

.post-related-content, .post-popular-content {
    padding: 20px;
}

.post-list-item, .post-popular-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.post-list-item:hover, .post-popular-item:hover {
    background: var(--very-light-green);
    transform: translateY(-1px);
}

.post-list-item:last-child, .post-popular-item:last-child {
    margin-bottom: 0;
}

.post-item-thumb, .post-popular-thumb {
    width: 60px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
    background: var(--light-green);
}

.post-item-thumb img, .post-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-list-item:hover .post-item-thumb img,
.post-popular-item:hover .post-popular-thumb img {
    transform: scale(1.05);
}

.post-item-info h6, .post-popular-info h6 {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.3;
    font-weight: 600;
}

.post-item-info h6 a, .post-popular-info h6 a {
    color: var(--success-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-item-info h6 a:hover, .post-popular-info h6 a:hover {
    color: var(--primary-green);
}

.post-date {
    font-size: 11px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.post-stats {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6c757d;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.post-stats span i {
    color: var(--primary-green);
    font-size: 10px;
}

/* ========== PAYLAŞIM MODAL ========== */
.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modal-header {
    background: var(--gradient-green);
    color: #fff;
    border: none;
    padding: 20px 25px;
}

.modal-title {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    padding: 25px;
}

.share-modal-content {
    padding: 0;
}

.share-url-section {
    margin-bottom: 25px;
}

.share-url-section label {
    font-weight: 600;
    color: var(--success-green);
    margin-bottom: 8px;
    font-size: 14px;
}

.share-url-section .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-url-section .form-control {
    border: 1px solid var(--light-green);
    padding: 12px 15px;
    font-size: 13px;
}

.share-url-section .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

#copyUrlBtn {
    background: var(--primary-green);
    border: 1px solid var(--primary-green);
    color: #fff;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

#copyUrlBtn:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}

.share-platforms h6 {
    font-weight: 600;
    color: var(--success-green);
    margin-bottom: 15px;
    font-size: 14px;
}

.platform-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.platform-buttons .btn {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--light-green);
    background: #ffffff;
    color: var(--primary-green);
    position: relative;
    overflow: hidden;
}

.platform-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-buttons .btn:hover {
    transform: translateY(-2px);
    border: none;
    color: #ffffff;
}

.platform-buttons .btn:hover::before {
    opacity: 1;
}

.btn-facebook:hover {
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.3);
}

.btn-facebook:hover::before {
    background: #3b5998;
}

.btn-twitter:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-twitter:hover::before {
    background: #000000;
}

.btn-linkedin:hover {
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.btn-linkedin:hover::before {
    background: #0077b5;
}

.btn-whatsapp:hover {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover::before {
    background: #25d366;
}

/* ========== KOPYALAMA BAŞARI ANİMASYONU ========== */
.copy-success {
    background: var(--primary-green) !important;
    border-color: var(--primary-green) !important;
    animation: copySuccess 0.5s ease;
}

@keyframes copySuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ========== TOAST BİLDİRİMLERİ ========== */
#toast-container {
    z-index: 9999;
}

.toast {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.toast.bg-success {
    background: var(--gradient-green) !important;
}

.toast.bg-danger {
    background: linear-gradient(135deg, #dc3545, #c82333) !important;
}

.toast.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
}

.toast-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* ========== RESPONSİVE TASARIM ========== */
@media (max-width: 768px) {
    .content-block {
        padding: 25px 0;
    }
    
    .post-header {
        padding: 20px 20px 15px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-share {
        padding: 15px 20px;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .post-meta span {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
         .btn-share {
         width: 42px;
         height: 42px;
         font-size: 14px;
     }
    
    .platform-buttons {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb-row ul li {
        margin-right: 15px;
        font-size: 12px;
    }
    
    .breadcrumb-row ul li:not(:last-child)::after {
        right: -8px;
    }
    
         .post-sidebar-title {
         padding: 15px 18px;
         font-size: 15px;
     }
     
     .post-related-content, .post-popular-content {
         padding: 15px 18px;
     }
     
     .post-list-item, .post-popular-item {
         padding: 10px;
         margin-bottom: 12px;
     }
     
     .post-item-thumb, .post-popular-thumb {
         width: 55px;
         height: 45px;
         margin-right: 10px;
     }
     
     .post-item-info h6, .post-popular-info h6 {
         font-size: 12px;
     }
    
    .post-body {
        font-size: 14px;
    }
    
    .post-media img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .post-header {
        padding: 15px 15px 12px;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .post-share {
        padding: 12px 15px;
    }
    
    .post-title {
        font-size: 1.3rem;
    }
    
    .post-body {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .post-media img {
        height: 180px;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
         .btn-share {
         width: 38px;
         height: 38px;
         font-size: 13px;
     }
    
    .modal-body {
        padding: 20px;
    }
    
    .breadcrumb-row {
        padding: 10px 0;
    }
}

/* ========== ACCESSIBILITY ========== */
.education-post:focus,
.post-sidebar-widget:focus,
.btn-share:focus,
.category-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

/* ========== HOVER EFEKTLERİ ========== */
.education-post:hover {
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.15);
    transform: translateY(-2px);
}

.post-sidebar-widget:hover {
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.12);
    transform: translateY(-1px);
}

/* ========== ANIMASYONLAR ========== */
.education-post,
.post-sidebar-widget {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-meta span,
.btn-share,
.post-list-item,
.post-popular-item {
    transition: all 0.3s ease;
}

/* ========== LOADING STATES ========== */
.loading-shimmer {
    background: linear-gradient(90deg, var(--light-green) 25%, var(--very-light-green) 50%, var(--light-green) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--light-green);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-green);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}

/* ========== EĞİTİM LİSTE SAYFA STİLLERİ ========== */

/* Bootstrap Button Override - En yüksek öncelik */
a.btn.btn-read-more,
.btn.btn-read-more {
    background: var(--primary-green) !important;
    background-color: var(--primary-green) !important;
    color: #ffffff !important;
    border: none !important;
    border-color: var(--primary-green) !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    line-height: 1 !important;
    min-height: auto !important;
    vertical-align: middle !important;
}

a.btn.btn-read-more:hover,
a.btn.btn-read-more:focus,
a.btn.btn-read-more:active,
a.btn.btn-read-more:visited,
.btn.btn-read-more:hover,
.btn.btn-read-more:focus,
.btn.btn-read-more:active {
    background: var(--primary-green-dark) !important;
    background-color: var(--primary-green-dark) !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
    border: none !important;
    border-color: var(--primary-green-dark) !important;
}

/* Page Header */
.education-page-header {
    text-align: center;
    padding: 30px 0;
    background: var(--gradient-green-light);
    border-radius: 16px;
    border: 1px solid var(--light-green);
    margin-bottom: 40px;
    position: relative;
}

.education-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-green);
    border-radius: 16px 16px 0 0;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 10px;
}

.page-description {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Education Cards */
.education-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.08);
    border: 1px solid var(--light-green);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(40, 167, 69, 0.15);
}

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

/* Card Image */
.education-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.education-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.education-card:hover .education-card-image img {
    transform: scale(1.05);
}

.education-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.education-card:hover .education-card-overlay {
    opacity: 1;
}

.btn-view-education {
    background: #ffffff;
    color: var(--primary-green);
    border: 2px solid #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-education:hover {
    background: var(--primary-green);
    color: #ffffff;
    transform: scale(1.05);
}

/* Card Content */
.education-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.education-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.education-date,
.education-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--success-green);
    background: rgba(40, 167, 69, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
}

.education-date i,
.education-category i {
    color: var(--primary-green);
    font-size: 11px;
}

.education-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.education-card-title a {
    color: var(--success-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.education-card-title a:hover {
    color: var(--primary-green);
}

.education-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Card Footer */
.education-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--light-green);
}

.education-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
}

.education-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.education-stats span i {
    color: var(--primary-green);
    font-size: 11px;
}

.btn-read-more {
    background: var(--primary-green) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    line-height: 1 !important;
}

.btn-read-more:hover {
    background: var(--primary-green-dark) !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
}

.btn-read-more:focus,
.btn-read-more:active {
    background: var(--primary-green-dark) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3) !important;
}

.btn-read-more i {
    font-size: 10px !important;
    transition: transform 0.3s ease !important;
}

.btn-read-more:hover i {
    transform: translateX(2px) !important;
}

/* Bootstrap override için daha spesifik selector */
.education-card .btn.btn-read-more {
    background: var(--primary-green) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    line-height: 1 !important;
    min-height: auto !important;
}

.education-card .btn.btn-read-more:hover,
.education-card .btn.btn-read-more:focus,
.education-card .btn.btn-read-more:active {
    background: var(--primary-green-dark) !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
    border: none !important;
}

/* Pagination */
.education-pagination {
    margin-top: 30px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}

.education-pagination nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination {
    margin: 0;
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    align-items: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    color: var(--primary-green);
    border: 1px solid var(--light-green);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    text-decoration: none;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination .page-link:hover {
    background: var(--light-green);
    border-color: var(--primary-green);
    color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.15);
}

.pagination .page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.pagination .page-item.active .page-link {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.pagination .page-item.active .page-link:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    transform: none;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background: #f8f9fa;
    border-color: #dee2e6;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination .page-item.disabled .page-link:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Ok işaretleri için özel stiller */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-size: 16px;
    font-weight: 600;
}

.pagination .page-item:first-child .page-link {
    border-radius: 8px;
}

.pagination .page-item:last-child .page-link {
    border-radius: 8px;
}

/* No Content Found */
.no-education-found {
    text-align: center;
    padding: 80px 20px;
}

.no-content-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.no-content-wrapper i {
    font-size: 4rem;
    color: var(--light-green);
    margin-bottom: 20px;
}

.no-content-wrapper h3 {
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 15px;
}

.no-content-wrapper p {
    color: #6c757d;
    margin-bottom: 25px;
}

/* Search Widget */
.education-search-content {
    padding: 20px;
}

.education-search-form .input-group {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.education-search-form .form-control {
    border: 1px solid var(--light-green);
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.education-search-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.btn-search {
    background: var(--gradient-green);
    border: 1px solid var(--primary-green);
    color: #ffffff;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
    color: #ffffff;
}

/* Categories Widget */
.education-categories-content {
    padding: 20px;
}

.education-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-categories-list li {
    margin-bottom: 12px;
}

.education-categories-list li:last-child {
    margin-bottom: 0;
}

.education-categories-list a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--success-green);
    background: var(--very-light-green);
    border: 1px solid var(--light-green);
    transition: all 0.3s ease;
    font-weight: 500;
}

.education-categories-list a:hover {
    background: var(--light-green);
    color: var(--primary-green-dark);
    transform: translateX(5px);
}

.education-categories-list a i {
    margin-right: 10px;
    color: var(--primary-green);
    width: 16px;
    text-align: center;
}

.category-count {
    margin-left: auto;
    background: var(--primary-green);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Stats Widget */
.education-stats-content {
    padding: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-green);
    transition: all 0.3s ease;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-item:hover {
    background: var(--very-light-green);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid var(--light-green);
}

.stat-icon i {
    font-size: 18px;
    color: var(--primary-green);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--success-green);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
}

/* ========== RESPONSİVE TASARIM - EĞİTİM LİSTESİ ========== */
@media (max-width: 768px) {
    .education-page-header {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .education-card-image {
        height: 180px;
    }
    
    .education-card-content {
        padding: 20px;
    }
    
    .education-card-title {
        font-size: 1.1rem;
    }
    
    .education-card-excerpt {
        font-size: 13px;
    }
    
    .education-card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .education-stats {
        width: 100%;
        justify-content: space-between;
    }
    
         .btn-read-more,
     a.btn.btn-read-more {
         align-self: flex-end;
         padding: 5px 10px !important;
         font-size: 10px !important;
         border-radius: 12px !important;
     }
    
         .education-search-content,
     .education-categories-content,
     .education-stats-content {
         padding: 15px 18px;
     }
}

@media (max-width: 576px) {
    .education-page-header {
        padding: 15px 12px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .education-card-image {
        height: 160px;
    }
    
    .education-card-content {
        padding: 15px;
    }
    
    .education-card-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .education-card-title {
        font-size: 1rem;
    }
    
    .education-card-excerpt {
        font-size: 12px;
    }
    
     .pagination .page-link {
         padding: 6px 10px;
         font-size: 12px;
         min-width: 35px;
         height: 35px;
     }
     
     .pagination {
         gap: 6px;
     }
     
     /* Ok işaretleri mobil için */
     .pagination .page-item:first-child .page-link,
     .pagination .page-item:last-child .page-link {
         font-size: 14px;
     }
 }

/* ========== EĞİTİM LİSTESİ ANİMASYONLARI ========== */

/* Kart giriş animasyonu */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.education-card.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

/* Zoom efekti */
.zoom-effect {
    transform: scale(1.05) !important;
}

/* Ok animasyonu */
@keyframes arrowMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
}

.animate-arrow {
    animation: arrowMove 0.6s ease-in-out infinite;
}

/* Aktif kategori stili */
.education-categories-list a.active-category {
    background: var(--gradient-green) !important;
    color: #ffffff !important;
    transform: translateX(8px);
}

.education-categories-list a.active-category i {
    color: #ffffff !important;
}

.education-categories-list a.active-category .category-count {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Başarı butonu stili */
.btn-success {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

/* Loading animasyonu */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Hover efektleri iyileştirmesi */
.education-card:hover .btn-view-education {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* ========== DEVAMINI OKU BUTONU - FİNAL OVERRIDE ========== */
/* Tüm diğer stillerin üzerine çıkmak için en sonda tanımlıyoruz */

[class*="btn-read-more"] {
    background: #28a745 !important;
    background-color: #28a745 !important;
    color: #ffffff !important;
    border: none !important;
    border-color: #28a745 !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    line-height: 1 !important;
    min-height: auto !important;
    vertical-align: middle !important;
}

[class*="btn-read-more"]:hover,
[class*="btn-read-more"]:focus,
[class*="btn-read-more"]:active,
[class*="btn-read-more"]:visited {
    background: #218838 !important;
    background-color: #218838 !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
    text-decoration: none !important;
    border: none !important;
    border-color: #218838 !important;
}

/* Mobil için özel stil */
@media (max-width: 768px) {
    [class*="btn-read-more"] {
        padding: 5px 10px !important;
        font-size: 10px !important;
        border-radius: 12px !important;
    }
}

