/* Blog Modern Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f7a400;
    --primary-light: #ffc14d;
    --secondary: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --bg-light: #f4f7f6;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    --glass: rgba(255, 255, 255, 0.85);
}

.blog-modern-wrap {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    padding: 40px 0;
}

/* Page Title Customization */
.sigma_subheader {
    padding: 80px 0;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.sigma_subheader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.sigma_subheader-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sigma_subheader-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.sigma_subheader-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Cards */
.sigma_post {
    border: none !important;
    border-radius: 24px !important;
    background: var(--white);
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.sigma_post:hover {
    transform: translateY(-12px);
    box-shadow: var(--hover-shadow);
}

.sigma_post-thumb {
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    position: relative;
}

.sigma_post-thumb img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sigma_post:hover .sigma_post-thumb img {
    transform: scale(1.1);
}

.sigma_post-body {
    padding: 24px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sigma_post-meta {
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sigma_post-category {
    background: rgba(247, 164, 0, 0.15);
    color: var(--primary) !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sigma_post-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sigma_post-body h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sigma_post-body h5 a {
    color: var(--secondary);
    transition: color 0.3s;
}

.sigma_post-body h5 a:hover {
    color: var(--primary);
}

.sigma_post-body p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.sigma_btn-custom.light {
    margin-top: auto;
    background: var(--secondary);
    color: var(--white) !important;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.sigma_btn-custom.light:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Sidebar Widgets */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar .widget {
    background: var(--white);
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.02);
    margin-bottom: 40px;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 10px;
}

.widget-categories ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.widget-categories ul li:last-child {
    border-bottom: none;
}

.widget-categories ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--secondary);
    transition: all 0.3s;
}

.widget-categories ul li a:hover, 
.widget-categories ul li.active a {
    color: var(--primary);
    padding-left: 5px;
}

/* Search Widget */
.sigma_search-adv-input {
    position: relative;
}

.sigma_search-adv-input input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #f8f9fa;
    transition: all 0.3s;
}

.sigma_search-adv-input input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(247, 164, 0, 0.1);
    outline: none;
}

.sigma_search-adv-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pagination */
.sigma_pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.pagination li a, 
.pagination li span {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    box-shadow: var(--card-shadow);
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.pagination li.active span,
.pagination li a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* ----------------------------------------------------------------
   Blog Details Page Styles
---------------------------------------------------------------- */

/* Main Post Container */
.sigma_post-details-body {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

/* Featured Image in Details */
.sigma_post-details-body .sigma_post-thumb {
    margin: -30px -30px 25px -30px; /* Pull to edges */
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    height: 350px; /* Taller for detail view */
}

.sigma_post-details-body .sigma_post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Author Section & Meta Items */
.sigma_post-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sigma_post-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    padding: 2px;
}

.sigma_post-author-content,
.sigma_post-meta-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sigma_post-author-content span,
.sigma_post-meta-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 2px;
}

.sigma_post-author-content a,
.sigma_post-meta-item a {
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sigma_post-meta-item a i {
    color: var(--primary);
    font-size: 0.9em;
}

/* Meta Section in Details */
.sigma_post-details-body .sigma_post-meta {
    margin-bottom: 20px !important;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    gap: 30px; /* More breathing room */
}

/* Post Content Typography */
.sigma_post-content {
    margin: 20px 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.sigma_post-content p {
    margin-bottom: 20px;
}

.sigma_post-content h2, 
.sigma_post-content h3, 
.sigma_post-content h4 {
    color: var(--secondary);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.sigma_post-content blockquote {
    background: #fff9f0;
    border-left: 5px solid var(--primary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--secondary);
    border-radius: 0 12px 12px 0;
}

.sigma_post-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 20px 0;
}

/* Post Footer (Tags & Share) */
.sigma_post-details-footer {
    border-top: 1px solid #eee;
    padding-top: 30px;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sigma_post-details-tags, 
.sigma_post-details-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sigma_post-details-footer .title {
    font-weight: 700;
    color: var(--secondary);
    margin-right: 5px;
}

.sigma_post-details-tags a {
    background: #f8f9fa;
    color: var(--text-muted);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    transition: all 0.3s;
    text-decoration: none;
}

.sigma_post-details-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Social Share Icons */
.sigma_sm {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.sigma_sm li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
    color: var(--secondary);
    transition: all 0.3s;
    text-decoration: none;
}

.sigma_sm li a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

