.banner-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.banner-content {
    text-align: left;
    color: var(--text-white);
    position: relative;
    z-index: 2;
}

.banner-content.text-center {
    text-align: center;
}

/* ============================================
           BREADCRUMB STYLES
        ============================================ */

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: var(--font-size-14);
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.breadcrumb-nav .separator {
    color: var(--text-light);
    opacity: 0.6;
    font-size: var(--font-size-12);
}

.breadcrumb-nav .current {
    color: var(--text-white);
    font-size: var(--font-size-14);
    font-weight: 600;
}

/* ============================================
           BANNER TAG & CONTENT
        ============================================ */

.banner-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(21, 105, 253, 0.2);
    border-left: 3px solid var(--primary-color);
    color: var(--text-white);
    font-size: var(--font-size-16);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.banner-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-54);
    font-weight: var(--heading-xl-weight);
    line-height: 62px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.3s backwards;
    letter-spacing: -0.5px;
    color: var(--text-white);
}

.banner-title .highlight {
    color: var(--primary-color);
}

.banner-description {
    font-family: var(--mulish);
    font-size: var(--text-lg);
    line-height: 28px;
    color: var(--text-light);
    opacity: 0.85;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.banner-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.7s backwards;
}

.banner-buttons.justify-center {
    justify-content: center;
}

/* ============================================
           BLOG META INFORMATION
        ============================================ */

.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease 0.9s backwards;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    font-size: var(--font-size-14);
    font-weight: 500;
    color: var(--text-light);
    margin-right: 1.5rem;
}

.blog-meta span:last-child {
    margin-right: 0;
}

.blog-meta strong {
    color: var(--text-white);
    font-weight: 600;
}

.blog-meta i {
    opacity: 0.8;
    margin-right: 0.5rem;
}

/* ============================================
           BANNER HEIGHT VARIANTS
        ============================================ */

.banner-fullheight {
    min-height: 100vh;
}

.banner-large {
    min-height: 80vh;
}

.banner-medium {
    min-height: 60vh;
}

.banner-small {
    min-height: 40vh;
}

/* ============================================
           ANIMATIONS
        ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
           RESPONSIVE STYLES
        ============================================ */

@media (max-width: 991px) {
    .banner-section {
        min-height: 50vh;
    }

    .banner-title {
        font-size: var(--font-size-44);
        line-height: 52px;
    }
}

@media (max-width: 768px) {
    .banner-section {
        min-height: 45vh;
        padding: 5rem 2rem 3rem;
    }

    .banner-title {
        font-size: var(--font-size-36);
        line-height: 44px;
    }

    .banner-description {
        font-size: var(--font-size-16);
    }

    .banner-buttons {
        gap: 1rem;
    }

    .breadcrumb-nav {
        font-size: var(--font-size-12);
    }

    .blog-meta {
        font-size: var(--font-size-13);
    }

    .blog-meta span {
        margin-right: 1rem;
    }
}

@media (max-width: 480px) {
    .banner-section {
        min-height: 40vh;
    }

    .banner-title {
        font-size: var(--font-size-30);
        line-height: 38px;
    }

    .banner-tag {
        font-size: var(--font-size-14);
        padding: 0.4rem 1.2rem;
    }

    .breadcrumb-nav a,
    .breadcrumb-nav .current {
        font-size: var(--font-size-12);
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .blog-meta span {
        margin-right: 0;
    }
}

/* ============================================
           GLASS EFFECT PILL BUTTONS
        ============================================ */

.blog-meta-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease 0.9s backwards;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--text-white);
    font-size: var(--font-size-14);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Glass Shine Effect */
.pill-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.pill-button:hover::before {
    left: 100%;
}

.pill-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pill-button i {
    font-size: var(--font-size-14);
    opacity: 0.9;
}

.pill-button strong {
    font-weight: 600;
    color: var(--text-white);
}

/* Primary Pill Variant */
.pill-button.pill-primary {
    background: rgba(21, 105, 253, 0.3);
    border-color: rgba(21, 105, 253, 0.5);
}

.pill-button.pill-primary:hover {
    background: rgba(21, 105, 253, 0.5);
    border-color: rgba(21, 105, 253, 0.7);
}

/* Secondary Pill Variant */
.pill-button.pill-secondary {
    background: rgba(11, 60, 93, 0.3);
    border-color: rgba(11, 60, 93, 0.5);
}

.pill-button.pill-secondary:hover {
    background: rgba(11, 60, 93, 0.5);
    border-color: rgba(11, 60, 93, 0.7);
}

/* ============================================
           RESPONSIVE STYLES FOR PILLS
        ============================================ */

@media (max-width: 768px) {
    .blog-meta-pills {
        gap: 0.75rem;
    }

    .pill-button {
        padding: 0.625rem 1.25rem;
        font-size: var(--font-size-13);
    }

    .pill-button i {
        font-size: var(--font-size-13);
    }
}

@media (max-width: 480px) {
    .blog-meta-pills {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .pill-button {
        padding: 0.625rem 1.25rem;
        font-size: var(--font-size-12);
        width: 100%;
        justify-content: flex-start;
    }

    .pill-button i {
        font-size: var(--font-size-12);
    }
}

/* ============================================
   CONTAINER
============================================ */



.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* ============================================
   BLOG MAIN CONTENT
============================================ */

.blog-main {
    width: 100%;
}

/* ============================================
   ENHANCED SEARCH & FILTER BAR
============================================ */

.search-filter-container {
    margin-bottom: 30px;
}

.search-filter-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    align-items: center;
}

/* Search Box */
.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: var(--font-size-16);
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-15);
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: #F8F9FA;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(21, 105, 253, 0.1);
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* Sort Dropdown */
.sort-wrapper {
    position: relative;
    min-width: 220px;
}

.sort-select {
    width: 100%;
    padding: 14px 45px 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-15);
    color: var(--text-dark);
    background: #F8F9FA;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    font-weight: 500;
}

.sort-select:hover {
    border-color: var(--primary-color);
    background: white;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(21, 105, 253, 0.1);
}

.sort-wrapper::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.sort-wrapper:hover::after {
    color: var(--primary-color);
}

/* Filter Pills (Optional - shows active filters) */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-size: var(--font-size-13);
    font-weight: 600;
}

.filter-pill i {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.filter-pill i:hover {
    opacity: 1;
}

.clear-all-filters {
    padding: 6px 14px;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: var(--font-size-13);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-all-filters:hover {
    background: #FEE;
    color: #D32F2F;
    border-color: #D32F2F;
}

/* Results Count */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 5px;
}

.results-count {
    font-size: var(--font-size-15);
    color: var(--text-secondary);
    font-weight: 500;
}

.results-count strong {
    color: var(--primary-color);
    font-weight: 700;
}

.view-toggle {
    display: flex;
    gap: 8px;
    background: #F8F9FA;
    padding: 4px;
    border-radius: 8px;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: var(--font-size-16);
}

.view-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn:hover:not(.active) {
    color: var(--primary-color);
}

/* ============================================
   BLOG CARD WITH OVERLAY
============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    position: relative;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    background: var(--text-white);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
    transform: scale(1.1);
}

.blog-card .card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(11, 60, 93, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 1;
}

.blog-card .card-category {
    background: white;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: var(--font-size-12);
    font-weight: 600;
    width: fit-content;
    margin-bottom: 15px;
}

.blog-card .card-title {
    font-size: var(--font-size-22);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card .card-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: var(--font-size-13);
}

/* Overlay that appears on hover */
.blog-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 18px;
    background: var(--secondary-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: scale(0);
    transition: 0.3s all ease;
    z-index: 10;
}

.blog-card:hover .card-overlay {
    transform: scale(1);
}

.blog-card .card-overlay .overlay-category {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: var(--font-size-12);
    font-weight: 600;
    width: fit-content;
    margin-bottom: 20px;
}

.blog-card .card-overlay .overlay-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-24);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card .card-overlay .overlay-description {
    color: var(--text-light);
    font-size: var(--font-size-15);
    line-height: 1.6;
    margin-bottom: 25px;
}

.blog-card .card-overlay .overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-16);
    transition: gap 0.3s ease;
}

.blog-card .card-overlay .overlay-link:hover {
    gap: 12px;
}

.blog-card .card-overlay .overlay-link i {
    transition: transform 0.3s ease;
}

.blog-card .card-overlay .overlay-link:hover i {
    transform: translateX(3px);
}

/* ============================================
   SIDEBAR
============================================ */

.blog-sidebar {
    position: sticky;
    top: 110px;
}

.widget {
    /* background: #F8F9FA; */
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.category-list {
    list-style: none;
    padding-left: 0px !important;
}

.category-item {
    margin-bottom: 8px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: white;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.category-link:hover {
    background: #F0F7FF;
    box-shadow: 0 4px 12px rgba(21, 105, 253, 0.15);
    transform: translateX(4px);
}

.category-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 6px 16px rgba(21, 105, 253, 0.3);
}

.category-count {
    background: var(--border-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.category-link.active .category-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.widget .newsletter-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-family: 'Epilogue', sans-serif;
    transition: all 0.3s ease;
}

.widget .newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 105, 253, 0.1);
}

.widget .newsletter-btn {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Epilogue', sans-serif;
    box-shadow: 0 4px 12px rgba(21, 105, 253, 0.3);
}

.widget .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 105, 253, 0.4);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tag-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 105, 253, 0.3);
}


/* ============================================
   ANIMATIONS
============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(5) {
    animation-delay: 0.5s;
}

.blog-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: relative;
        top: 0;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .search-filter-wrapper {
        grid-template-columns: 1fr;
    }

    .sort-wrapper {
        min-width: 100%;
    }

    .results-info {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card {
        height: 350px;
    }

    .blog-card .card-gradient {
        padding: 25px;
    }

    .blog-card .card-title {
        font-size: var(--font-size-20);
    }

    .blog-card .card-overlay {
        padding: 25px;
        margin: 15px;
    }

    .blog-card .card-overlay .overlay-title {
        font-size: var(--font-size-22);
    }

    .blog-card .card-overlay .overlay-description {
        font-size: var(--font-size-14);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }



    .blog-layout {
        gap: 30px;
    }

    .search-input {
        padding: 12px 15px 12px 45px;
        font-size: var(--font-size-14);
    }

    .search-box i {
        left: 15px;
        font-size: var(--font-size-14);
    }

    .blog-card {
        height: 300px;
    }

    .blog-card .card-gradient {
        padding: 20px;
    }

    .blog-card .card-title {
        font-size: var(--font-size-18);
    }

    .blog-card .card-category {
        font-size: 11px;
        padding: 5px 14px;
    }

    .blog-card .card-overlay {
        padding: 20px;
        margin: 12px;
    }

    .blog-card .card-overlay .overlay-title {
        font-size: var(--font-size-20);
    }

    .blog-card .card-overlay .overlay-description {
        font-size: var(--font-size-13);
        margin-bottom: 20px;
    }
}

/* Blog Details Specific Styles */
.blog-details-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.blog-details-main {
    width: 100%;
}

.blog-details-sidebar {
    position: sticky;
    top: 110px;
}

/* ============================================
           PREMIUM AUTHOR SECTION WITH GRADIENT & DOT PATTERN
        ============================================ */

.premium-author-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient Background Layer */
.premium-author-section::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -100vw;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: 0;
}

/* Dot Pattern Overlay */
.premium-author-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: -100vw;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='white' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    z-index: 0;
}

.premium-author-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.author-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-image-container {
    flex-shrink: 0;
}

.author-image-border {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.5));
    position: relative;
}

.author-image-border::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    opacity: 0.5;
    z-index: -1;
}

.author-image-border img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
}

.author-info-content h3 {
    font-size: var(--font-size-24);
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.author-role {
    font-size: var(--font-size-14);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.author-bio {
    font-size: var(--font-size-15);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.author-social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
           ARTICLE CONTENT
        ============================================ */

.article-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-content:hover .featured-image img {
    transform: scale(1.05);
}

.article-body {
    padding: 50px;
}

.article-body h2 {
    font-size: var(--font-size-32);
    font-weight: 700;
    color: var(--secondary-color);
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: var(--font-size-24);
    font-weight: 600;
    color: var(--secondary-color);
    margin: 30px 0 15px 0;
    line-height: 1.4;
}

.article-body p {
    font-size: var(--font-size-16);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ============================================
           ARTICLE TAGS WITH GRADIENT & DOT PATTERN
        ============================================ */

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px 50px;
    background: #F8F9FA;
    border-top: 2px solid #E0E0E0;
    position: relative;
    overflow: hidden;
}

/* Gradient Background Layer */
.article-tags::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -100vw;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    z-index: 0;
}

/* Dot Pattern Overlay */
.article-tags::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: -100vw;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='2' fill='white' opacity='0.1'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    z-index: 0;
}

.tags-label {
    font-size: var(--font-size-16);
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.article-tags .tag {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-size: var(--font-size-14);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.article-tags .tag:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
           SHARE SECTION
        ============================================ */

.share-section {
    padding: 40px 50px;
    background: white;
    border-top: 2px solid #E0E0E0;
}

.share-section h4 {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: var(--font-size-14);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.facebook {
    background: #1877F2;
    color: white;
}

.share-btn.facebook:hover {
    background: #0C63D4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.twitter:hover {
    background: #0C85D0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.share-btn.linkedin {
    background: #0A66C2;
    color: white;
}

.share-btn.linkedin:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.4);
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.share-btn.email {
    background: #6C757D;
    color: white;
}

.share-btn.email:hover {
    background: #545B62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

/* ============================================
           COMMENTS SECTION
        ============================================ */

.comments-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


.comment-form-wrapper {
    background: #F8F9FA;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.comment-form-wrapper h4 {
    font-size: var(--font-size-20);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.comment-form .form-group {
    width: 100%;
    margin-bottom: 15px;
}

.comment-form .form-group:last-of-type {
    margin-bottom: 0;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: var(--font-size-15);
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: white;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(21, 105, 253, 0.1);
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form .btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 28px;
    margin-top: 10px;
}

.comment-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 105, 253, 0.4);
}

.comments-list {
    margin-top: 40px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #E0E0E0;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-reply-item {
    margin-left: 80px;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-header h5 {
    font-size: var(--font-size-16);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-badge {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: var(--font-size-12);
    font-weight: 600;
}

.comment-date {
    font-size: var(--font-size-13);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.comment-content p {
    font-size: var(--font-size-15);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.comment-reply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-14);
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.comment-reply:hover {
    color: var(--secondary-color);
    gap: 8px;
}

/* ============================================
           RESPONSIVE DESIGN
        ============================================ */

@media (max-width: 991px) {
    .blog-details-layout {
        grid-template-columns: 1fr;
    }

    .blog-details-sidebar {
        position: relative;
        top: 0;
    }

    .author-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .author-image-border {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .premium-author-section {
        padding: 30px;
    }

    .article-body {
        padding: 35px;
    }

    .article-tags,
    .share-section {
        padding: 25px 35px;
    }

    .comments-section {
        padding: 30px;
    }

    .comment-form .form-row {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        gap: 8px;
    }

    .share-btn {
        padding: 10px 18px;
        font-size: var(--font-size-13);
    }
}

@media (max-width: 480px) {
    .premium-author-section {
        padding: 20px;
    }

    .author-image-border {
        width: 80px;
        height: 80px;
    }

    .article-body {
        padding: 25px;
    }

    .article-body h2 {
        font-size: var(--font-size-26);
    }

    .article-body h3 {
        font-size: var(--font-size-20);
    }

    .featured-image {
        height: 300px;
    }

    .article-tags,
    .share-section {
        padding: 20px 25px;
    }

    .comments-section {
        padding: 25px;
    }

    .comment-reply-item {
        margin-left: 20px;
        padding: 15px;
    }

    .comment-avatar img {
        width: 50px;
        height: 50px;
    }
}