/* ── BLOG PAGE NEW DESIGN ── */

/* Typography & Base */
.blog-main-page {
    background-color: #FAFAFA; /* Light background for the whole page */
    color: #1a1a2e;
    font-family: 'Inter', sans-serif;
}

/* ── HERO SECTION ── */
.blog-hero-section {
    background: linear-gradient(135deg, #FFFDF8 0%, #FDF4E3 40%, #F5EAD4 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #EBE4D5;
}

.blog-hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.blog-hero-left {
    flex: 1;
    max-width: 550px;
}

.blog-tag {
    display: inline-block;
    color: #C98516;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.blog-hero-left h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.1;
    margin-bottom: 20px;
    -webkit-text-stroke: 0.5px #1a1a2e;
}

.blog-hero-left h1 span {
    color: #C98516;
    -webkit-text-stroke: 0px; /* Don't stroke the gold */
}

.blog-hero-left p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Search Bar */
.blog-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 450px;
}

.blog-search input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    border-radius: 8px;
    color: #333;
}

.blog-search button {
    background: #C98516;
    color: #fff;
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-search button:hover {
    background: #B9760D;
}

.blog-hero-right {
    flex: 1;
    text-align: right;
    position: relative;
}

.blog-hero-right img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    transform: scale(1.3);
    transform-origin: center right;
}

/* ── CATEGORIES BAR ── */
.blog-categories-bar {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border-bottom: 1px solid #f0f0f0;
}

.cat-pill-container {
    display: flex;
    align-items: center;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.cat-pill-container::-webkit-scrollbar {
    height: 4px;
}
.cat-pill-container::-webkit-scrollbar-thumb {
    background-color: #EBE4D5;
    border-radius: 4px;
}

.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: #fff;
    border: 1px solid #EAEAEA;
    border-radius: 12px;
    color: #555;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 90px;
    flex-shrink: 0;
}

.cat-pill i {
    font-size: 20px;
    color: #C98516;
    opacity: 0.6;
    transition: 0.3s;
}

.cat-pill:hover {
    border-color: #C98516;
    box-shadow: 0 5px 15px rgba(201,133,22,0.1);
}

.cat-pill.active {
    border-color: #C98516;
    color: #1a1a2e;
}

.cat-pill.active i {
    opacity: 1;
}

/* ── MAIN BLOG CONTENT (TWO COLUMNS) ── */
.blog-content-area {
    padding: 60px 0;
}

.blog-two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* LEFT COLUMN: ARTICLES */
.blog-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.blog-col-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    -webkit-text-stroke: 0.3px #1a1a2e;
}

.blog-col-header span {
    font-size: 16px;
    color: #666;
}

.blog-article-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-list-card {
    display: flex;
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    gap: 35px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.blc-img-wrap {
    width: 260px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.blc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #C98516;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blc-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.blc-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
}

.blc-cat {
    color: #C98516;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blc-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blc-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blc-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.blc-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F5EDE0;
    color: #C98516;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.blc-author span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.blc-time {
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pg-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #EAEAEA;
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

.pg-btn:hover:not(.disabled) {
    border-color: #C98516;
    color: #C98516;
}

.pg-btn.active {
    background: #C98516;
    border-color: #C98516;
    color: #fff;
}

.pg-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pg-dots {
    color: #777;
    font-weight: 600;
}

/* RIGHT COLUMN: SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.side-widget {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.side-widget h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
}

.widget-divider {
    width: 40px;
    height: 3px;
    background: #C98516;
    margin-bottom: 20px;
    border-radius: 2px;
}

.widget-about p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.widget-about .btn-outline-gold {
    width: 100%;
    justify-content: center;
    padding: 10px;
}

/* Popular Posts */
.pop-post-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pop-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.pop-post-item:hover h5 {
    color: #C98516;
}

.pop-post-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.pop-post-item div {
    flex: 1;
}

.pop-post-item h5 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: 0.3s;
}

.pop-post-item span {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Categories List */
.cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-list li {
    border-bottom: 1px dashed #eaeaea;
}

.cat-list li:last-child {
    border-bottom: none;
}

.cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    text-decoration: none;
    color: #444;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.cat-list a:hover {
    color: #C98516;
    padding-left: 5px;
}

.cat-list a span {
    background: #F5EDE0;
    color: #C98516;
    font-size: 12px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Newsletter Widget */
.widget-newsletter p {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #C98516;
}

.newsletter-form button {
    width: 100%;
    justify-content: center;
    padding: 12px;
}

/* Expert Widget - Premium Redesign */
.widget-expert {
    background: linear-gradient(145deg, #1A1A1A 0%, #2A2A2A 100%);
    border: 1px solid rgba(201,133,22,0.3);
    position: relative;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.widget-expert::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201,133,22,0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.widget-expert:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(201,133,22,0.15);
}

.widget-expert h4, .widget-expert p, .widget-expert .btn-gold, .widget-expert .expert-call {
    position: relative;
    z-index: 1;
}

.widget-expert h4 {
    color: #fff;
    font-size: 22px;
    letter-spacing: 0.5px;
}

.widget-expert .widget-divider {
    background: #C98516;
    width: 40px;
    height: 3px;
    border-radius: 2px;
}

.widget-expert p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

.widget-expert .btn-gold {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    margin-bottom: 25px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #C98516 0%, #D4A017 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(201,133,22,0.3);
    gap: 10px;
    transition: all 0.3s ease;
}

.widget-expert .btn-gold:hover {
    box-shadow: 0 12px 25px rgba(201,133,22,0.5);
    transform: translateY(-2px);
}

.expert-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.expert-call .icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(201,133,22,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C98516;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.widget-expert:hover .expert-call .icon-circle {
    background: #C98516;
    color: #fff;
    transform: rotate(15deg);
}

.expert-call .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.expert-call .text span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expert-call .text strong {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ── BOTTOM CTA BANNER ── */
.blog-cta-banner {
    background: linear-gradient(135deg, #FFFDF8 0%, #F5EDE0 100%);
    padding: 60px 0;
    text-align: center;
    border-top: 2px solid #EBE4D5;
}

.cta-banner-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    -webkit-text-stroke: 0.3px #1a1a2e;
}

.cta-banner-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.cta-banner-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}


.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #C98516;
    text-decoration: none;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.read-more-btn:hover {
    color: #A87016;
}

.read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .blog-two-col {
        grid-template-columns: 1fr;
    }
    
    .blog-hero-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-hero-left {
        max-width: 100%;
    }
    
    .blog-search {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .blog-list-card {
        flex-direction: column;
        gap: 15px;
    }
    
    .blc-img-wrap {
        width: 100%;
        height: 200px;
    }
    
    .cta-banner-btns {
        flex-direction: column;
    }
}

.cat-pill-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: 0.3s;
    filter: brightness(0.9) contrast(1.2);
}
.cat-pill:hover .cat-pill-icon {
    filter: brightness(1);
    transform: scale(1.1);
}
.cat-pill.active .cat-pill-icon {
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(201,133,22,0.3));
}

@media (max-width: 992px) {
    .blog-hero-right {
        text-align: center;
        margin-top: 20px;
    }
    .blog-hero-right img {
        transform: scale(1.1) translateX(2%);
    }
}
