/* Blog System Styles - Based on Inside Design Aesthetic */

/* Blog System Styles - Based on Inside Design Aesthetic */
html {
    overflow-x: visible;
}

body {
    overflow-x: clip;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}



.feed-section #latest-stories-section .all-cards-hover:hover {
    background-color: #f6f7f7;
}

.grid-post-card .excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-hero {
    padding: 100px 0 100px 0;
    background: radial-gradient(circle at top right, rgba(33, 216, 145, 0.4) 0%, transparent 50%),
        radial-gradient(circle at bottom left, rgba(9, 136, 255, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #0988FF 0%, #101828 100%);
    text-align: center;
    padding-top: 180px;
    position: relative;
    z-index: 1050;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.breadcrumb {
    margin-top: 5rem;
    margin-bottom: 24px;
}

@media (max-width: 767px) {
    .breadcrumb {
        margin-top: 3rem;
        margin-bottom: 12px;
        font-size: 12px;
    }
}

.newsletter-form h5 {
    color: white !important;
}

.link-whitebold {
    color: white !important;
}

/* Micro-grid Texture (White on Color) */
.blog-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-blob-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.blob-1 {
    width: 200px;
    height: 200px;
    background: #21D891;
    top: -100px;
    right: -50px;
}

.blob-2 {
    width: 200px;
    height: 200px;
    background: #0988FF;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, 40px) scale(1.1);
    }
}

.badge-container {
    animation: fadeInUp 0.5s ease-out;
}

.badge-new {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease-out 0.1s both;
    line-height: 1.1;
}

.blog-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 40px auto;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.search-container {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 1060;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.search-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px;
    border-radius: 16px;
    box-shadow: 0px 20px 24px -4px rgba(0, 0, 0, 0.1), 0px 8px 8px -4px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: center;
}

.search-form:focus-within {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-primary);
    box-shadow: 0px 24px 48px -12px rgba(16, 24, 40, 0.25);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 2;
}

#blog-search-input {
    width: 100%;
    padding: 12px 16px 12px 46px;
    border: none;
    font-size: 1rem;
    color: #ffffff;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
}

#blog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.btn-search {
    background-color: #ffffff;
    color: #101828;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
}


.search-icon {
    color: #667085;
}

#blog-search-input {
    color: #101828;
}

#blog-search-input::placeholder {
    color: #98A2B3;
}

.btn-search {
    background-color: #101828;
    color: #ffffff;
}


.btn-search:active {
    transform: scale(0.9);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-center {
    transform: translateX(-50%);
    left: 50%;
}



/* Search Dropdown Modal/List Styles */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    max-height: 450px;
    overflow-y: auto;
    border: 1px solid #EAECF0;
    padding: 8px;
    margin-top: 4px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    align-items: center;
}

.search-result-item:hover {
    background: #F9FAFB;
}

.search-result-item .res-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-item .res-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-item .res-content {
    flex: 1;
    text-align: left;
}

.search-result-item h6 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #101828;
    line-height: 1.4;
}

.search-result-item .res-meta {
    font-size: 0.8rem;
    color: #667085;
}

#blog-search-input:focus {
    outline: none;
    border-color: var(--color-secondary);
}

#blog-search-input::placeholder {
    color: #667085;
}

/* Category Badges */
.blog-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #344054;
    border: 1px solid #D0D5DD;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.blog-badge:hover {
    background-color: #F9FAFB;
    color: #101828;
}

/* Featured Post Layout */
.featured-post-card {
    cursor: pointer;
    padding: 12px;
}

.featured-post-card .img-container {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    max-height: 400px;
    overflow: hidden;
}

.featured-post-card img,
.mini-post-card img,
.grid-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-post-card:hover img,
.mini-post-card:hover img,
.grid-post-card:hover img {
    transform: scale(1.1);
}

.post-author-info img,
.normal-author {
    width: 34px;
    height: 34px;
    min-width: 34px;
    object-fit: cover;
    border: 1px solid #EAECF0;
    border-radius: 50%;
}

.small-author {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
}

/* Feed Arrow Logic for Blog Cards */
.feed-arrow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c757d;
    transform: rotate(-45deg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
}

.recent-post-card-hover {
    transition: all 0.3s ease;
}

.recent-post-card-hover:hover {
    background: #f6f7f7;
    border-radius: 20px;
}

.featured-post-card:hover .feed-arrow,
.mini-post-card:hover .feed-arrow,
.grid-post-card:hover .feed-arrow {
    transform: rotate(0deg);
    color: var(--color-secondary);
}

.featured-post-card:hover h2,
.mini-post-card:hover h3,
.grid-post-card:hover h3 {
    color: var(--color-secondary);
}

.share-icon,
.share-icon-sm {
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.share-icon.li {
    background-color: #0077b5;
}

.share-icon.fb {
    background-color: #1877F2;
}

.share-icon.wa {
    background-color: #25D366;
}

.share-icon.tw {
    background-color: #000000;
}

.share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.featured-post-card .arrow {
    font-size: 1.5rem;
    color: #101828;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .arrow {
    transform: translate(4px, -4px);
}

.featured-post-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
    gap: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-post-card p.excerpt {
    color: #667085;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Mini Post List */
.mini-post-card {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
    cursor: pointer;
    padding: 12px 12px;
    transition: all 0.3s ease;
}

.mini-post-card .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-content {
    transition: all 0.3s ease;
}


#featured-blog-section:hover {
    background: #f6f7f7;
    border-radius: 20px;
}

#featured-blog-section:hover .featured-post-content {
    /* Fixed: Removed padding change to prevent layout jump on hover */
}


.mini-post-card .img-container {
    flex: 0 0 120px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.mini-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-post-card .content {
    flex: 1;
}

.mini-post-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 8px;
}

/* Grid Layout */
.more-posts {
    margin-top: 64px;
}

.tags-row {
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
}

/* Recent Post Card (Horizontal Layout) */
.recent-post-card {
    display: flex;
    gap: 20px;
    padding: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    height: 100%;
    align-items: center;
    padding: 12px 12px;
}

.all-cards-hover {
    padding: 12px 12px;
    transition: 0.3s ease;
}

.mini-post-card:hover,
.all-cards-hover:hover,
.recent-post-card:hover {
    background: #f6f7f7;
    border-radius: 20px;
}


.recent-post-card:hover .title {
    color: var(--color-secondary);
}

.recent-post-card:hover .feed-arrow {
    transform: rotate(0deg);
    color: var(--color-secondary);
}

.recent-post-card .img-container {
    width: 140px;
    height: 100px;
    min-width: 140px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recent-post-card:hover .img-container img {
    transform: scale(1.1);
}

.recent-post-card .content-container {
    flex: 1;
    min-width: 0;
    /* Prevents overflow */
}

.recent-post-card .post-meta {
    font-size: 0.75rem;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 6px;
}

.recent-post-card .dot {
    opacity: 0.5;
}

.recent-post-card .title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.recent-post-card .blog-badge {
    padding: 2px 8px;
    font-size: 0.7rem;
}

.grid-post-card {
    cursor: pointer;
    border-radius: 20px;
}

.grid-post-card .img-container {
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.grid-post-card .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-item {
    margin-right: 0.5rem;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 0;
}

.grid-post-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.25rem !important;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-form {
        flex-direction: column;
        gap: 12px;
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .search-form:focus-within {
        background: transparent;
        border-color: var(--color-primary);
        box-shadow: 0px 24px 48px -12px rgba(16, 24, 40, 0.25);
    }

    #blog-search-input {
        background: #fff;
        border: 1px solid #D0D5DD;
        border-radius: 8px;
        padding: 12px 12px 12px 40px;
    }

    .btn-search {
        width: 100%;
        padding: 14px;
    }

    .featured-post-card {
        margin-bottom: 48px;
    }

    .featured-post-card h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .featured-post-card .img-container {
        max-height: 250px;
    }

    .blog-post-article h1 {
        font-size: 1.875rem !important;
        line-height: 1.25;
    }

    .recent-post-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .recent-post-card .img-container {
        width: 100%;
        height: 200px;
        min-width: unset;
    }

    .featured-image-wrapper img {
        max-height: 300px !important;
    }
}

@media (max-width: 767px) {
    .mini-post-card {

        gap: 16px;
    }

    .mini-post-card .img-container {
        flex: none;
        width: 100%;
        max-width: 120px;
    }

    .grid-post-card h3 {
        font-size: 1.25rem;
    }

    .post-meta {
        font-size: 0.75rem !important;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px !important;
    }

    .author-box img {
        margin-right: 0 !important;
        margin-bottom: 12px;
        width: 60px !important;
        height: 60px !important;
    }

    .blog-content {
        font-size: 1rem;
    }

    /* Stack spacing for Trending and Newsletter */
    #mini-blog-list,
    .newsletter-card.mt-5 {
        margin-top: 2rem !important;
    }

    .col-lg-5 h4.fw-bold.mb-4 {
        margin-top: 3rem;
        border-top: 1px solid #EAECF0;
        padding-top: 2rem;
    }
}

@media (max-width: 576px) {
    .blog-hero {
        padding-top: 140px;

        padding-bottom: 60px;
    }

    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

    .featured-post-card h2 {
        font-size: 1.35rem;
    }

    .mini-post-card .img-container {
        max-height: 120px;
    }

    .search-input-wrapper input {
        font-size: 0.9rem !important;
    }

    .blog-post-article h1 {
        font-size: 1.6rem !important;
    }

    .sticky-author-strip {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.5rem;
    }

    .sticky-author-strip .share-actions {
        justify-content: flex-start;
        padding-top: 1rem;
    }

    .blog-post-article .share-icon {
        width: 25px;
        height: 25px;
        border-radius: 50%;
    }

    .share-icon i {
        font-size: 0.7rem;
    }
}


/* --- Single Blog Page Specific Styles --- */

.blog-post-article .blog-badge {
    background: rgba(33, 216, 145, 0.1);
    color: #0b9e6a;
    border: none;
    font-weight: 600;
}

.follow-us-badge {
    background: #eef4ff;
    color: #0b57d0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    border: 1px solid #d3e3fd;
}

.share-icon-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.share-icon-sm.fb {
    background: #1877F2;
}

.share-icon-sm.x {
    background: #000;
}

.share-icon-sm.wa {
    background: #25D366;
}

.share-icon-sm.li {
    background: #0077b5;
}

.share-icon-sm:hover {
    transform: translateY(-2px);
    color: #fff;
}

.blog-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-tag-link {
    text-decoration: none;
    color: #667085;
    background: #F9FAFB;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    transition: all 0.2s;
    border: 1px solid #EAECF0;
}

.blog-tag-link:hover {
    background: #101828;
    color: #fff;
}

/* Sidebar Styling */
.widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    position: relative;
    color: #101828;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #0988FF, transparent);
}

.mini-post-card-sidebar:hover h6 {
    color: #0988FF;
}

/* Sidebar Newsletter (White Theme) */
.sidebar-newsletter-card {
    background: #fff;
    border: 1px solid #EAECF0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.sidebar-newsletter-card .form-control {
    border: 1px solid #D0D5DD;
    padding: 12px 16px;
    border-radius: 8px;
}

/* Related Articles */
.related-post-card {
    cursor: pointer;
}

.related-post-card .img-container {
    transition: transform 0.3s;
}

.related-post-card:hover .img-container {
    transform: translateY(-5px);
}

.related-post-card .title-link {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    transition: color 0.2s;
}

.related-post-card:hover .title-link {
    color: #0988FF !important;
}


.blog-single-main {
    overflow: visible !important;
}

/* Sticky Content Overrides */
.sticky-author-strip {
    position: sticky !important;
    top: 75px !important;
    background: #ffffff !important;
    z-index: 101 !important;
    /* Higher than other content */
    padding-top: 15px !important;
    margin-top: -15px !important;
    display: flex !important;
    align-self: flex-start !important;
    border-bottom: 1px solid #EAECF0 !important;
}

.sticky-sidebar-newsletter {
    position: sticky !important;
    top: 120px !important;
    z-index: 100 !important;
    align-self: flex-start !important;
}

@media (max-width: 991px) {

    .sticky-sidebar-newsletter {
        position: static !important;
        background: transparent !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Mobile-specific sticky adjustments */
    .sticky-author-strip {
        top: 55px !important;
        /* Adjusted for smaller mobile header */
        padding: 10px 16px !important;
        margin-left: -15px;
        margin-right: -15px;
        width: auto;
    }
}



/* Newsletter Subscription Section */
.newsletter-card {
    background: linear-gradient(135deg, #101828 0%, #1D2939 100%);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
    z-index: 10;
}

.newsletter-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(33, 216, 145, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.newsletter-card::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(9, 136, 255, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-card h4 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-card p {
    color: #98A2B3;
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form {
    margin-top: 24px;
}

.newsletter-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-post-article .h3,
.blog-post-article h3 {
    font-size: 1.2rem !important;
    font-weight: 700;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #21D891;
    box-shadow: 0px 0px 0px 4px rgba(33, 216, 145, 0.1);
    outline: none;
}

.btn-subscribe {
    background-color: #21D891;
    color: #101828;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.btn-subscribe:hover {
    background-color: #1bbd7e;
    box-shadow: 0px 4px 12px rgba(33, 216, 145, 0.3);
}

.btn-subscribe:active {
    transform: translateY(0);
}

@media (min-width: 576px) {
    .newsletter-input-group {
        flex-direction: row;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 6px;
        border-radius: 12px;
        gap: 8px;
    }

    .newsletter-form .form-control {
        background: transparent;
        border: none;
        flex: 1;
        padding: 10px 12px;
    }

    .newsletter-form .form-control:focus {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .btn-subscribe {
        width: auto;
    }
}

/* --- Related Articles Slider Styles --- */
.related-articles-section {
    position: relative;
    padding-bottom: 2rem;
}

.slider-nav-buttons .slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #EAECF0;
    background: #FFFFFF;
    color: #344054;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-nav-buttons .slider-btn:not(:disabled):not(.swiper-button-disabled):hover {
    background: #0988FF;
    color: #FFFFFF;
    border-color: #0988FF;
    box-shadow: 0 4px 12px rgba(9, 136, 255, 0.2);
}

.slider-nav-buttons .slider-btn.swiper-button-disabled:hover,
.slider-nav-buttons .slider-btn:disabled:hover {
    background: #F9FAFB;
    color: #344054;
    border-color: #EAECF0;
    box-shadow: none;
    cursor: not-allowed;
}


.slider-nav-buttons .slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F9FAFB;
}

/* Scrollbar Customization */
.related-scrollbar.swiper-scrollbar {
    position: relative !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 40px auto 0 auto !important;
    height: 6px !important;
    background: #EAECF0;
    border-radius: 50px;
    overflow: hidden;
    max-width: 150px;
    cursor: grab;
}

.related-scrollbar.swiper-scrollbar .swiper-scrollbar-drag {
    background: #0988FF;
    border-radius: 50px;
    cursor: grabbing;
}

.related-swiper {
    padding-bottom: 10px;
}

.related-swiper .swiper-slide {
    height: auto;
}

/* --- Sidebar Widget Styles --- */
.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #101828;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.widget-title .title-line {
    flex: 1;
    height: 2px;
    background-color: #0988FF;
    border-radius: 2px;
}

.editor-image-wrapper .image-caption {
    text-align: center;
}

@media (min-width: 1200px) {

    .blog-post-article .h3,
    .blog-post-article h3 {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
    }
}