/* Blog page styles */

.ka-blog-page {
    padding: 60px 0;
    background: #F8F7F0;
}

.ka-blog-hero {
    text-align: center;
    margin-bottom: 80px;
}

.ka-blog-hero h2 {
    font-size: 36px;
    color: #30302E;
    margin-bottom: 20px;
}

.ka-blog-hero p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ka-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.ka-blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
}

.ka-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(181, 201, 154, 0.2);
}

.ka-blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ka-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ka-blog-card:hover .ka-blog-image img {
    transform: scale(1.05);
}

.ka-blog-content {
    padding: 30px;
}

.ka-blog-category {
    color: #fff079;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ka-blog-title {
    font-size: 24px;
    color: #30302E;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.ka-blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ka-blog-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.ka-blog-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ka-blog-meta-item i {
    color: #fff079;
}

.ka-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.ka-pagination-item {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: #666;
    background: white;
    box-shadow: 0 4px 15px rgba(48, 48, 46, 0.1);
    transition: all 0.3s ease;
}

.ka-pagination-item:hover,
.ka-pagination-item.active {
    background: #fff079;
    color: #30302E;
    text-decoration: none;
}

/* Blog Detail Page */
.ka-blog-detail-page {
    padding: 60px 0;
    background: #F8F7F0;
}

.ka-blog-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.ka-blog-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(48, 48, 46, 0.1);
}

.ka-blog-header {
    padding: 40px;
    padding-bottom: 20px;
}

.ka-blog-category {
    color: #fff079;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ka-blog-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: #30302E;
    margin-bottom: 20px;
    line-height: 1.2;
}

.ka-blog-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.ka-blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.ka-blog-meta-item i {
    color: #fff079;
    font-size: 16px;
}

.ka-blog-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.ka-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ka-blog-body {
    padding: 40px;
}

.ka-blog-intro {
    font-size: 18px;
    color: #30302E;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 240, 121, 0.1), rgba(246, 220, 18, 0.1));
    border-left: 4px solid #fff079;
    border-radius: 0 8px 8px 0;
}

.ka-blog-body h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #30302E;
    margin: 40px 0 20px 0;
    border-bottom: 2px solid #fff079;
    padding-bottom: 10px;
}

.ka-blog-body h2:first-of-type {
    margin-top: 0;
}

.ka-blog-body p {
    color: #30302E;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.ka-blog-quote {
    background: #F8F7F0;
    border-left: 4px solid #f6dc12;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.ka-blog-quote p {
    font-style: italic;
    font-size: 18px;
    color: #30302E;
    margin-bottom: 10px;
}

.ka-blog-quote footer {
    color: #666;
    font-size: 14px;
}

.ka-blog-tips {
    background: white;
    border: 2px solid #fff079;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
}

.ka-blog-tips h3 {
    font-family: 'Oswald', sans-serif;
    color: #30302E;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ka-blog-tips h3 i {
    color: #f6dc12;
    font-size: 20px;
}

.ka-blog-tips ul {
    list-style: none;
    padding: 0;
}

.ka-blog-tips li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #30302E;
    position: relative;
    padding-left: 25px;
}

.ka-blog-tips li:last-child {
    border-bottom: none;
}

.ka-blog-tips li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #fff079;
    font-weight: bold;
}

.ka-blog-tags,
.ka-blog-share {
    padding: 0 40px 20px;
}

.ka-blog-tags h4,
.ka-blog-share h4 {
    font-family: 'Oswald', sans-serif;
    color: #30302E;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ka-blog-tags h4 i,
.ka-blog-share h4 i {
    color: #fff079;
}

.ka-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ka-tag {
    background: #fff079;
    color: #30302E;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.ka-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ka-share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ka-share-btn.facebook {
    background: #1877F2;
    color: white;
}

.ka-share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.ka-share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.ka-share-btn.copy {
    background: #30302E;
    color: white;
}

.ka-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ka-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ka-sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(48, 48, 46, 0.1);
}

.ka-sidebar-card h3 {
    font-family: 'Oswald', sans-serif;
    color: #30302E;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ka-sidebar-card h3 i {
    color: #fff079;
}

.ka-popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ka-popular-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #F8F7F0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ka-popular-post:hover {
    background: #fff079;
    color: white;
}

.ka-popular-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.ka-popular-content h4 {
    font-size: 14px;
    color: #30302E;
    margin-bottom: 5px;
    line-height: 1.3;
}

.ka-popular-post:hover .ka-popular-content h4 {
    color: white;
}

.ka-popular-date {
    font-size: 12px;
    color: #666;
}

.ka-popular-post:hover .ka-popular-date {
    color: rgba(255, 255, 255, 0.8);
}

.ka-categories-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ka-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #30302E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ka-category-item:hover {
    color: #fff079;
}

.ka-category-count {
    background: #fff079;
    color: #30302E;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ka-archive-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ka-archive-item {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #30302E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ka-archive-item:hover {
    color: #fff079;
}

.ka-newsletter {
    background: linear-gradient(135deg, rgba(255, 240, 121, 0.1), rgba(246, 220, 18, 0.1));
    border: 2px solid #fff079;
}

.ka-newsletter p {
    color: #30302E;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ka-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ka-newsletter-form input {
    padding: 12px;
    border: 2px solid #fff079;
    border-radius: 8px;
    font-size: 14px;
}

.ka-newsletter-form button {
    background: linear-gradient(135deg, #fff079, #f6dc12);
    color: #30302E;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ka-newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ka-related-posts {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(48, 48, 46, 0.1);
}

.ka-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ka-related-post {
    background: #F8F7F0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.ka-related-post:hover {
    transform: translateY(-5px);
}

.ka-related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.ka-related-content {
    padding: 20px;
}

.ka-related-category {
    color: #fff079;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ka-related-content h3 {
    font-family: 'Oswald', sans-serif;
    color: #30302E;
    margin: 10px 0;
    font-size: 18px;
}

.ka-related-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ka-related-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.ka-related-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ka-related-meta i {
    color: #fff079;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ka-blog-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .ka-blog-sidebar {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .ka-blog-header {
        padding: 30px 20px 15px;
    }
    
    .ka-blog-body {
        padding: 30px 20px;
    }
    
    .ka-blog-tags,
    .ka-blog-share {
        padding: 0 20px 20px;
    }
    
    .ka-blog-title {
        font-size: 28px;
    }
    
    .ka-blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .ka-share-buttons {
        flex-direction: column;
    }
    
    .ka-share-btn {
        justify-content: center;
    }
    
    .ka-related-grid {
        grid-template-columns: 1fr;
    }
    
    .ka-blog-grid {
        grid-template-columns: 1fr;
    }
} 