/*
Theme Name: ljbeauty.vn
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

#top-bar{
    background: #004032;
}

#masthead{
    background: #0040321c;
}

#footer{
    background: #004032;
    padding-top: 30px;
    color: #fff;
}

#footer a{
    color: #fff;
}

#footer .section-title {
    color: #fff;
}

#footer .absolute-footer{
    background: #003127;
}




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* =========================================================
   LJ BEAUTY CUSTOM THEME CSS (Replaces Tailwind) 
   ========================================================= */
.lj-page-wrapper {
    background-color: #f9fafb; /* gray-50 */
    color: #111827; /* gray-900 */
    padding: 3rem 1rem;
    font-family: 'Inter', sans-serif;
    width: 100%;
}
@media (min-width: 768px) {
    .lj-page-wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
.lj-container {
    max-width: 80rem; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* gap-12 */
}

/* Category Header */
.lj-category-header {
    margin-bottom: 3rem; /* mb-12 */
    border-bottom: 1px solid #e5e7eb; /* border-gray-200 */
    padding-bottom: 1.5rem; /* pb-6 */
}
.lj-category-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .lj-category-title { font-size: 3rem; /* md:text-5xl */ }
}
.lj-category-desc {
    color: #4b5563; /* text-gray-600 */
    max-width: 48rem; /* max-w-3xl */
    font-size: 1.125rem; /* text-lg */
}

/* Grid Layout (Category) */
.lj-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem; /* gap-8 */
}
@media (min-width: 1024px) {
    .lj-grid-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.lj-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* gap-6 */
}
@media (min-width: 1024px) {
    .lj-main-content { grid-column: span 2 / span 2; }
    .lj-sidebar { grid-column: span 1 / span 1; display: flex; flex-direction: column; gap: 2rem; }
}

/* Article Card (Category) */
.lj-article-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* gap-6 */
    background-color: #ffffff;
    padding: 1rem; /* p-4 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    transition: all 0.3s;
}
.lj-article-card:hover {
    border-color: rgba(59, 130, 246, 0.5); /* hover:border-[#3b82f6]/50 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* hover:shadow-md */
}
@media (min-width: 768px) {
    .lj-article-card { flex-direction: row; }
}
.lj-article-thumbnail {
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
    .lj-article-thumbnail { width: 40%; }
}
.lj-article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.lj-article-card:hover .lj-article-thumbnail img {
    transform: scale(1.1);
}
.lj-no-image {
    width: 100%;
    height: 100%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}
.lj-no-image svg { width: 3rem; height: 3rem; opacity: 0.2; }
.lj-article-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 768px) {
    .lj-article-info { width: 60%; }
}
.lj-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lj-article-info a { text-decoration: none; }
.lj-article-info a:hover .lj-article-title { color: #3b82f6; }
.lj-article-excerpt {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lj-article-meta {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    margin-top: auto;
}
.lj-author { color: #3b82f6; font-weight: 500; }
.lj-dot { margin: 0 0.5rem; color: #d1d5db; }
.lj-date { color: #6b7280; }

/* Pagination */
.lj-pagination-wrapper { margin-top: 2.5rem; display: flex; justify-content: center; }
.lj-pagination .nav-links { display: flex; gap: 0.5rem; }
.lj-pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    transition: all 0.3s ease;
    text-decoration: none;
}
.lj-pagination .page-numbers:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}
.lj-pagination .page-numbers.current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Sidebar & Default Box */
.lj-no-posts {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #4b5563;
}
.widget.lj-widget-default, .lj-sidebar .widget {
    background-color: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}
.lj-widget-title, .lj-sidebar .widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.lj-widget-icon {
    width: 0.5rem;
    height: 1.5rem;
    background-color: #3b82f6;
    border-radius: 9999px;
    display: inline-block;
}

/* Section Header (Front Page) */
.lj-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
}
.lj-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}
@media (min-width: 768px) {
    .lj-section-title { font-size: 1.875rem; }
}
.lj-section-icon {
    width: 0.5rem;
    height: 2rem;
    background-color: #3b82f6;
    border-radius: 9999px;
    display: inline-block;
}
.lj-section-icon.bg-green { background-color: #10b981; }
.lj-view-all {
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
}
.lj-view-all:hover { text-decoration: underline; }

/* Posts Grid (Front Page) */
.lj-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) { .lj-posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lj-posts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.lj-grid-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.lj-grid-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
}
.lj-grid-thumbnail {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}
.lj-grid-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.lj-grid-card:hover .lj-grid-thumbnail img { transform: scale(1.1); }
.lj-grid-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.lj-grid-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.lj-grid-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.lj-grid-info a { text-decoration: none; }
.lj-grid-info a:hover .lj-grid-title { color: #3b82f6; }
.lj-grid-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #6b7280;
}
.lj-no-posts-text { color: #4b5563; grid-column: 1 / -1; }

/* Page Content (Front Page) */
.lj-page-content { margin-top: 2rem; }
.lj-content-box {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.lj-entry-content {
    padding: 1.5rem;
    color: #374151;
    font-size: 1.125rem;
    line-height: 1.75;
}
@media (min-width: 768px) { .lj-entry-content { padding: 2.5rem; } }

.lj-entry-content h2 { font-size: 1.5rem; font-weight: 700; color: #111827; margin-bottom: 1rem; margin-top: 2rem; }
.lj-entry-content h3 { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; margin-top: 1.5rem; }
.lj-entry-content p { margin-bottom: 1rem; line-height: 1.625; }
.lj-entry-content a { color: #3b82f6; text-decoration: none; }
.lj-entry-content a:hover { text-decoration: underline; }
.lj-entry-content ul { list-style-type: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.lj-entry-content ol { list-style-type: decimal; margin-left: 1.5rem; margin-bottom: 1rem; }
.lj-entry-content img { border-radius: 0.75rem; margin: 1.5rem 0; max-width: 100%; height: auto; box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.lj-entry-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    font-style: italic;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 1rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    margin-bottom: 1rem;
}

/* WordPress Core Widgets Override */
.lj-sidebar .widget ul { margin: 0; padding: 0; list-style: none; }
.lj-sidebar .widget ul li { 
    padding: 0.625rem 0; 
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}
.lj-sidebar .widget ul li:last-child { border-bottom: none; }
.lj-sidebar .widget ul li a { 
    color: #111827;
    text-decoration: none;
    transition: color 0.3s;
}
.lj-sidebar .widget ul li a:hover { color: #3b82f6; }

/* =========================================================
   SINGLE POST LAYOUT (single.php)
   ========================================================= */
.lj-single-article {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
}
.lj-breadcrumbs {
    padding: 1.5rem 1.5rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
@media (min-width: 768px) { .lj-breadcrumbs { padding: 2.5rem 2.5rem 0; } }
.lj-breadcrumbs a { color: #3b82f6; text-decoration: none; }
.lj-breadcrumbs a:hover { text-decoration: underline; }
.lj-sep { color: #d1d5db; }
.lj-current { color: #9ca3af; max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lj-single-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}
@media (min-width: 768px) { .lj-single-header { padding: 1rem 2.5rem 2rem; } }
.lj-single-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    margin-top: 0;
}
@media (min-width: 768px) { .lj-single-title { font-size: 2.5rem; } }

.lj-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}
.lj-meta-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #111827;
}
.lj-meta-author a { color: #111827; text-decoration: none; }
.lj-meta-author a:hover { color: #3b82f6; }
.lj-author-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    object-fit: cover;
}
.lj-meta-date, .lj-meta-comments { color: #6b7280; }

.lj-single-thumbnail {
    width: 100%;
}
.lj-single-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.lj-single-content {
    /* Uses .lj-entry-content */
    padding-top: 2rem !important;
}

.lj-single-tags {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 768px) { .lj-single-tags { padding: 0 2.5rem 2.5rem; } }
.lj-tags-label {
    font-weight: 600;
    color: #111827;
    margin-right: 0.5rem;
}
.lj-single-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    color: #4b5563;
    border-radius: 9999px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.lj-single-tags a:hover {
    background-color: #3b82f6;
    color: #ffffff;
}

.lj-single-share {
    padding: 1.5rem;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 1rem;
}
@media (min-width: 768px) { .lj-single-share { padding: 1.5rem 2.5rem; } }
.lj-share-label {
    font-weight: 600;
    color: #111827;
}

.lj-author-bio {
    background-color: #f9fafb;
    padding: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .lj-author-bio {
        flex-direction: row;
        align-items: center;
    }
}
.lj-author-bio-avatar img {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.lj-author-bio-info { flex: 1; }
.lj-author-bio-name {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    color: #4b5563;
}
.lj-author-bio-name strong { color: #111827; }
.lj-author-bio-desc {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.lj-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
}
@media (min-width: 768px) { .lj-post-navigation { padding: 2rem 2.5rem; } }
.lj-nav-prev a, .lj-nav-next a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.lj-nav-next a { text-align: right; }
.lj-nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-top: 0.25rem;
}
.lj-nav-prev a:hover .lj-nav-title, .lj-nav-next a:hover .lj-nav-title { color: #3b82f6; }

.lj-comments-area {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}
@media (min-width: 768px) { .lj-comments-area { padding: 2.5rem; } }

/* Comments Custom Styles */
.lj-comments-area .comments-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}