



.learning-page-header {
    background: #fff;
    padding: 60px 20px 30px;
    text-align: center;
}

.learning-page-header h1 {
    font-size: 42px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.learning-page-header p {
    font-size: 18px;
    color: #666;
    font-weight: 400;
}


.learning-content {
    padding: 60px 20px;
    background: #fff;
}


.article {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
}

.article h2 {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.article-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 30px 0 16px;
}

.article-content ul, 
.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 8px;
    color: #444;
}

.article-content strong {
    color: #000;
    font-weight: 600;
}


.video-embed {
    margin: 30px 0;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.video-embed h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.step-by-step {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.step-by-step h3 {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin-bottom: 24px;
}

.step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.step-content p {
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}


.tips-box {
    background: #fffbf0;
    border: 1px solid #f0e68c;
    border-left: 4px solid #000;
    padding: 24px;
    border-radius: 8px;
    margin: 30px 0;
}

.tips-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tips-box h4:before {
    content: "💡";
    font-size: 24px;
}

.tips-box ul {
    list-style: none;
    margin-top: 12px;
}

.tips-box li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #444;
    font-size: 15px;
}

.tips-box li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #000;
}


.warning-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-left: 4px solid #ff6b6b;
    padding: 24px;
    border-radius: 8px;
    margin: 30px 0;
}

.warning-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #856404;
}

.warning-box p {
    color: #856404;
    font-size: 15px;
    line-height: 1.6;
}

.warning-box strong {
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 20px;
    margin-top: 24px;
}
.lc-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.lc-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}
.lc-card p {
    font-size: 14px;
    color: #555;
}
.lc-card a.btn {
    margin-top: 12px;
    align-self: flex-start;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
}
.page-header {
    margin: 32px 0 12px;
}
.page-header h1 { font-size: 26px; }

.loader-container {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-bottom-color: #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}


.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 20px 0;
    display: none; 
}


.yt-card {
    text-decoration: none;
    color: inherit;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.yt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}


.yt-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    background: #eee;
    overflow: hidden;
}

.yt-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.yt-content {
    padding: 16px;
}

.yt-title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #0d0d0d;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-desc {
    font-size: 14px;       
    color: #606060;        
    margin-top: 8px;       
    line-height: 1.5;      
    
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-meta {
    font-size: 14px;
    color: #606060;
    font-weight: 400;
}


.error-404-section { display: none; }      

.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-bottom: 40px;
    display: none; 
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: scale(1.05);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #eee;
    color: #999;
}

.page-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.page-info {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-width: 100px;
    text-align: center;
}



@media (max-width: 768px) {
    .learning-page-header {
        padding: 40px 20px 30px;
    }

    .learning-page-header h1 {
        font-size: 28px;
    }

    .learning-page-header p {
        font-size: 16px;
    }

    .learning-content {
        padding: 40px 20px;
    }

    .article {
        padding: 24px;
    }

    .article h2 {
        font-size: 24px;
    }

    .article-content h3 {
        font-size: 20px;
    }

    .step {
        grid-template-columns: 1fr;
    }

    .step-number {
        margin: 0 auto 16px;
    }
}
