:root {
    --snlk-primary-blue: #0054A6;
    --snlk-text-black: #000000;
    --snlk-text-dark-gray: #333333;
    --snlk-text-light-gray: #666666;
    --snlk-border-color: #E5E5E5;
    --sonlika-max-width: 1200px!important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.blog .snlk-blog-container,
body.single-post .snlk-detail-container {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5;
    color: var(--snlk-text-black);
    background-color: #fff;
}

/* Blog Archive Styles from blog.html */
body.blog {
    padding: 60px 20px;
}

body.blog .snlk-blog-container {
    max-width: var(--sonlika-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}

body.blog .snlk-blog-sidebar {
    position: sticky;
    top: 60px;
    height: fit-content;
}

body.blog .snlk-blog-sidebar h1 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 5px;
}

body.blog .snlk-blog-sidebar h1 span {
    color: var(--snlk-primary-blue);
    display: block;
}

body.blog .snlk-sidebar-desc {
    font-size: 14px;
    color: var(--snlk-text-dark-gray);
    margin: 20px 0 35px;
    max-width: 200px;
}

body.blog .snlk-category-list {
    list-style: none;
}

body.blog .snlk-category-item {
    margin-bottom: 12px;
}

body.blog .snlk-category-link {
    text-decoration: none;
    color: var(--snlk-text-black);
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s;
}

body.blog .snlk-category-link:hover {
    color: var(--snlk-primary-blue);
}

body.blog .snlk-category-link.active {
    color: var(--snlk-primary-blue);
    font-weight: 700;
}

body.blog .snlk-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

body.blog .snlk-blog-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

body.blog .snlk-blog-card:hover {
    transform: translateY(-5px);
}

body.blog .snlk-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 20px;
}

body.blog .snlk-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.blog .snlk-card-category {
    font-size: 14px;
    color: var(--snlk-text-light-gray);
    margin-bottom: 10px;
}

body.blog .snlk-card-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.25;
    color: var(--snlk-text-black);
    text-decoration: none;
}

body.blog .snlk-card-heading:hover {
    color: var(--snlk-primary-blue);
}

body.blog .snlk-card-text {
    font-size: 15px;
    color: var(--snlk-text-dark-gray);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.blog .snlk-card-link {
    font-size: 15px;
    color: var(--snlk-text-black);
    text-decoration: underline;
    margin-bottom: 25px;
    display: inline-block;
}

body.blog .snlk-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

body.blog .snlk-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
}

body.blog .snlk-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.blog .snlk-author-body {
    display: flex;
    flex-direction: column;
}

body.blog .snlk-author-title {
    font-size: 15px;
    font-weight: 400;
}

body.blog .snlk-author-subtitle {
    font-size: 12px;
    color: var(--snlk-text-light-gray);
}

body.blog .snlk-blog-pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

body.blog .snlk-page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--snlk-border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--snlk-text-light-gray);
    font-size: 18px;
    transition: all 0.3s;
}

body.blog .snlk-page-btn:hover {
    border-color: var(--snlk-primary-blue);
    color: var(--snlk-primary-blue);
}

body.blog .snlk-page-btn.active,
body.blog .snlk-page-btn.current {
    background-color: var(--snlk-primary-blue);
    border-color: var(--snlk-primary-blue);
    color: #fff;
}

body.blog .snlk-page-next {
    font-size: 24px;
    color: var(--snlk-text-light-gray);
    text-decoration: none;
    margin-left: 10px;
}

/* Single Post Styles from blog-detail.html */
body.single-post {
    padding: 40px 20px 100px;
}

body.single-post .snlk-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

body.single-post .snlk-back-btn {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 30px;
    transition: opacity 0.3s;
}

body.single-post .snlk-back-btn:hover {
    opacity: 0.8;
}

body.single-post .snlk-back-btn span {
    margin-right: 8px;
    font-size: 14px;
}

body.single-post .snlk-publish-date {
    font-size: 13px;
    color: var(--snlk-text-light-gray);
    margin-bottom: 8px;
}

body.single-post .snlk-post-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--snlk-text-black);
    letter-spacing: -1px;
}

body.single-post .snlk-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
}

body.single-post .snlk-author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    background: #eee;
}

body.single-post .snlk-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.single-post .snlk-author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

body.single-post .snlk-author-name {
    font-size: 15px;
    font-weight: 700;
}

body.single-post .snlk-author-role {
    font-size: 13px;
    color: var(--snlk-text-light-gray);
}

body.single-post .snlk-featured-img-wrapper {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
}

body.single-post .snlk-featured-img {
    width: 100%;
    /*aspect-ratio: 21 / 9;*/
    aspect-ratio: 21 / 12;
    object-fit: cover;
    display: block;
}

body.single-post .snlk-share-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--snlk-border-color);
    padding-bottom: 25px;
}

body.single-post .snlk-share-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #b0b0b0;
    font-weight: 700;
    letter-spacing: 1px;
}

body.single-post .snlk-share-icons {
    display: flex;
    gap: 18px;
}

body.single-post .snlk-share-icon {
    color: #b0b0b0;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

body.single-post .snlk-share-icon:hover {
    color: var(--snlk-primary-blue);
}

body.single-post .snlk-share-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

body.single-post .snlk-post-content {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

body.single-post .snlk-post-content p {
    margin-bottom: 25px;
}

body.single-post .snlk-post-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 60px 0 25px;
    color: var(--snlk-text-black);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

body.single-post .snlk-post-content img {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0 40px;
    background: #f5f5f5;
}

body.single-post .snlk-footer-share {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--snlk-border-color);
    border-bottom: none;
}

/* Responsive */
@media (max-width: 991px) {
    body.blog .snlk-blog-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    body.blog .snlk-blog-sidebar {
        position: static;
    }
    
    body.blog .snlk-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    body.blog .snlk-sidebar-desc {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    body.blog .snlk-blog-grid {
        grid-template-columns: 1fr;
    }
    
    body.blog,
    body.single-post {
        padding: 40px 15px;
    }
    
    body.single-post .snlk-post-title {
        font-size: 36px;
        letter-spacing: -0.5px;
    }
    
    body.single-post .snlk-post-content h2 {
        font-size: 24px;
    }
}
