body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #1b1b1b;
}

a {
    color: #ef644c;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Container chính */
.main-container {
    max-width: 1380px;
    margin: 70px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

/* Content chính */
.main-content {
    flex: 1;
    min-width: 300px;
    max-width: 995px;
}

/* Article Styles */
.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-header {
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #ababab;
    margin-bottom: 15px;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta-item:not(:last-child)::after {
    content: "•";
    margin-left: 15px;
    color: #ef644c;
}

.post-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #ffffff;
}

.post-title em {
    color: #ef644c;
    font-style: italic;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Post Footer */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #7b7c88;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag-link {
    background: rgba(239, 100, 76, 0.2);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #ef644c;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: #ef644c;
    color: #ffffff;
    text-decoration: none;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #7b7c88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ef644c;
    border-color: #ef644c;
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    padding-bottom: 10px;
    border-bottom: 2px solid #ef644c;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -2px;
    width: 20px;
    height: 2px;
    background: #ef644c;
}

/* Search Widget */
.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #7b7c88;
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
}

.search-input::placeholder {
    color: #ababab;
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #ef644c;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-button:hover {
    background: #d54a2c;
}

/* Categories Widget */
.category-list {
    list-style: none;
}

.category-item {
    margin-bottom: 12px;
}

.category-link {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: rgba(239, 100, 76, 0.2);
    text-decoration: none;
    transform: translateX(5px);
}

/* Latest Posts Widget */
.latest-posts-list {
    list-style: none;
}

.latest-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.post-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.post-info h4 a {
    color: #ffffff;
}

.post-info h4 a:hover {
    color: #ef644c;
}

.post-date {
    font-size: 12px;
    color: #ababab;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        margin: 40px auto;
        padding: 0 15px;
    }

    .sidebar {
        width: 100%;
        order: -1;
    }

    .post-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-share {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.8rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 10px;
    }

    .post-meta-item:not(:last-child)::after {
        display: none;
    }

    .blog-post {
        padding: 20px;
    }

    .sidebar-widget {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 0 10px;
    }

    .post-title {
        font-size: 1.5rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #ef644c;
    outline-offset: 2px;
}
