/* assets/css/blog.css - Xperts Creations Luxury Jewellery Journal Styles */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa820a;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa820a 100%);
    --gold-soft-bg: rgba(212, 175, 55, 0.08);
    --gold-border: rgba(212, 175, 55, 0.22);
    --card-bg: #161616;
    --card-hover-bg: #1c1c1c;
    --text-primary: #f0f0f0;
    --text-muted: #a6a6a6;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Droid Serif', Georgia, serif;
}

/* Page Title Area Elevation */
#page-title-area {
    background: #0f0f0f linear-gradient(180deg, rgba(15,15,15,0.95) 0%, rgba(20,20,20,0.85) 100%), url('../img/page-title-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--gold-border);
    padding: 60px 0 50px;
    position: relative;
}
#page-title-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--gold-gradient);
}
.page-title-content h1 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.page-title-content .journal-subtitle {
    font-family: var(--font-serif);
    color: var(--gold-light);
    font-size: 1.05rem;
    font-style: italic;
    max-width: 680px;
    margin: 0 auto 15px;
    line-height: 1.6;
}
.page-title-content .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}
.page-title-content .breadcrumb li {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.page-title-content .breadcrumb li a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.page-title-content .breadcrumb li a:hover,
.page-title-content .breadcrumb li a.active {
    color: var(--gold-primary);
}

/* Category Filter Bar */
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-filter-btn {
    background: #1a1a1a;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}
.blog-filter-btn:hover {
    color: #fff;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.12);
}
.blog-filter-btn.active {
    background: var(--gold-gradient);
    color: #111;
    border-color: var(--gold-primary);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
}

/* Blog Article Cards */
.xj-blog-card {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.xj-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.5);
}

.xj-blog-card .card-thumb-wrap {
    position: relative;
    overflow: hidden;
    max-height: 380px;
    background: #000;
}
.xj-blog-card .card-thumb-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}
.xj-blog-card:hover .card-thumb-wrap img {
    transform: scale(1.05);
}
.xj-blog-card .card-category-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(8px);
    color: var(--gold-light);
    border: 1px solid var(--gold-border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
}
.xj-blog-card .card-read-time {
    position: absolute;
    bottom: 18px;
    right: 18px;
    background: rgba(0, 0, 0, 0.75);
    color: #ddd;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

/* Card Body */
.xj-blog-card .card-body-content {
    padding: 30px 32px 34px;
}
.xj-blog-card .post-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
}
.xj-blog-card .post-meta-row .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.xj-blog-card .post-meta-row .meta-item i {
    color: var(--gold-primary);
}
.xj-blog-card .post-meta-row .author-avatar-tiny {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold-border);
}

.xj-blog-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #ffffff;
}
.xj-blog-card .card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}
.xj-blog-card .card-title a:hover {
    color: var(--gold-primary);
}

.xj-blog-card .card-excerpt {
    font-family: var(--font-serif);
    font-size: 0.96rem;
    line-height: 1.7;
    color: #b5b5b5;
    margin-bottom: 22px;
}

.xj-blog-card .card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.xj-blog-card .btn-read-article {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}
.xj-blog-card .btn-read-article i {
    transition: transform 0.2s ease;
}
.xj-blog-card .btn-read-article:hover {
    color: #ffffff;
}
.xj-blog-card .btn-read-article:hover i {
    transform: translateX(4px);
    color: var(--gold-primary);
}

.xj-blog-card .card-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.xj-blog-card .card-tags-list a {
    font-size: 0.72rem;
    color: #888;
    background: #111;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #262626;
    text-decoration: none;
    transition: all 0.2s;
}
.xj-blog-card .card-tags-list a:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

/* Sidebar Modernization */
#sidebar-area-wrap .single-sidebar-wrap {
    background: #161616;
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
#sidebar-area-wrap .single-sidebar-wrap .sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #ffffff;
    padding-bottom: 12px;
    margin-bottom: 18px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0.5px;
}
#sidebar-area-wrap .single-sidebar-wrap .sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold-gradient);
}

/* Sidebar Search */
.sidebar-search form {
    position: relative;
}
.sidebar-search input {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid #333;
    border-radius: 25px;
    padding: 10px 45px 10px 18px;
    color: #fff;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sidebar-search input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.sidebar-search button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--gold-primary);
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Sidebar Categories List */
.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-category-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.sidebar-category-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #c0c0c0;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s, padding-left 0.2s;
}
.sidebar-category-list li a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}
.sidebar-category-list .cat-badge {
    background: #222;
    color: var(--gold-light);
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Recent Posts in Sidebar */
.recent-guides-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.recent-guide-item {
    display: flex;
    gap: 14px;
    align-items: center;
}
.recent-guide-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--gold-border);
    flex-shrink: 0;
}
.recent-guide-info {
    flex: 1;
    min-width: 0;
}
.recent-guide-info .post-date {
    font-size: 0.75rem;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 4px;
}
.recent-guide-info h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    line-height: 1.35;
    margin: 0;
    color: #eee;
}
.recent-guide-info h4 a {
    color: #eee;
    text-decoration: none;
    transition: color 0.2s;
}
.recent-guide-info h4 a:hover {
    color: var(--gold-primary);
}

/* Popular Tags in Sidebar */
.sidebar-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sidebar-tags-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    color: #b0b0b0;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s;
}
.sidebar-tags-cloud a:hover {
    border-color: var(--gold-primary);
    color: #fff;
    background: rgba(212, 175, 55, 0.12);
}

/* Sidebar Callout Card */
.sidebar-consult-card {
    background: linear-gradient(145deg, #1f1a10 0%, #121212 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    text-align: center;
}
.sidebar-consult-card .consult-icon {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}
.sidebar-consult-card h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.sidebar-consult-card p {
    font-size: 0.86rem;
    color: #bbb;
    margin-bottom: 18px;
    line-height: 1.5;
}
.sidebar-consult-card .btn-consult {
    display: inline-block;
    background: var(--gold-gradient);
    color: #111;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.25s;
}
.sidebar-consult-card .btn-consult:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
    color: #000;
}

/* Single Blog Page Elements */
.single-blog-article-wrap {
    background: var(--card-bg);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.45);
    color: #e0e0e0;
}
@media (max-width: 767px) {
    .single-blog-article-wrap {
        padding: 22px 18px;
    }
}
.single-blog-article-wrap .article-hero-thumb {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid var(--gold-border);
}
.single-blog-article-wrap .article-hero-thumb img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}
.single-blog-article-wrap .article-header {
    margin-bottom: 25px;
}
.single-blog-article-wrap .article-title {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 18px;
}
@media (max-width: 767px) {
    .single-blog-article-wrap .article-title {
        font-size: 1.65rem;
    }
}
.single-blog-article-wrap .author-bar-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 16px 20px;
    background: #111;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}
.single-blog-article-wrap .author-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.single-blog-article-wrap .author-profile img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
}
.single-blog-article-wrap .author-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.single-blog-article-wrap .author-role {
    font-size: 0.78rem;
    color: var(--gold-light);
}

/* Article Typography */
.single-blog-article-wrap .article-body {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    line-height: 1.85;
    color: #d1d1d1;
}
.single-blog-article-wrap .article-body h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.55rem;
    margin-top: 36px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 15px;
}
.single-blog-article-wrap .article-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: var(--gold-gradient);
    border-radius: 2px;
}
.single-blog-article-wrap .lead-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #f5f5f5;
    font-style: italic;
    border-left: 3px solid var(--gold-primary);
    padding-left: 20px;
    margin-bottom: 25px;
}

/* Quote Box */
.blog-quote-box {
    background: linear-gradient(135deg, rgba(35, 30, 15, 0.7) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid var(--gold-border);
    border-left: 5px solid var(--gold-primary);
    border-radius: 6px;
    padding: 25px 30px;
    margin: 35px 0;
    position: relative;
}
.blog-quote-box i.fa-quote-left {
    font-size: 1.8rem;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
    display: block;
}
.blog-quote-box blockquote {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    color: #f7eed2;
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 10px;
}
.blog-quote-box cite {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlight Card */
.blog-highlight-card {
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 24px;
    margin: 30px 0;
}
.blog-highlight-card h4 {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-highlight-card ul {
    margin-bottom: 0;
    padding-left: 20px;
    color: #ccc;
    font-size: 0.94rem;
}
.blog-highlight-card li {
    margin-bottom: 8px;
}

/* Social Sharing & Tags Footer */
.article-footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.article-share-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-share-links span {
    font-size: 0.82rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-share-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #222;
    border: 1px solid #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    text-decoration: none;
    transition: all 0.2s;
}
.article-share-links a:hover {
    background: var(--gold-gradient);
    color: #000;
    border-color: var(--gold-primary);
}

/* Comments Section */
.article-comments-block {
    margin-top: 50px;
}
.article-comments-block .comments-header-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.5rem;
    padding-bottom: 12px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.comment-item-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #111;
    border: 1px solid #282828;
    border-radius: 8px;
    margin-bottom: 18px;
}
.comment-item-card img.commenter-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--gold-border);
    flex-shrink: 0;
}
.comment-item-card .comment-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.comment-item-card .comment-author-name {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}
.comment-item-card .comment-time {
    font-size: 0.75rem;
    color: var(--gold-primary);
}
.comment-item-card .comment-text {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

/* Leave Comment Form */
.leave-comment-wrap {
    margin-top: 40px;
    background: #141414;
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 30px;
}
.leave-comment-wrap h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 6px;
}
.leave-comment-wrap p {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 20px;
}
.leave-comment-wrap .form-control {
    background: #0b0b0b;
    border: 1px solid #333;
    color: #eee;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.leave-comment-wrap .form-control:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    background: #0d0d0d;
    color: #fff;
}
.leave-comment-wrap button.btn-submit-comment {
    background: var(--gold-gradient);
    color: #111;
    font-weight: 700;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transition: all 0.25s;
}
.leave-comment-wrap button.btn-submit-comment:hover {
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.45);
    color: #000;
    transform: translateY(-2px);
}

/* Modern Clean Pagination */
.xj-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    list-style: none;
    padding: 0;
}
.xj-pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #161616;
    border: 1px solid var(--gold-border);
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.xj-pagination li a:hover,
.xj-pagination li a.current {
    background: var(--gold-gradient);
    color: #111;
    border-color: var(--gold-primary);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

