/* Article detail Custom Styles for Modern Theme */
.content-area {
    flex: 1;
    padding: 15px;
    margin-top: 20px;
    border-radius: 10px;
    background-color: white;
}

/* Breadcrumb */
/* .breadcrumb {
    padding: 25px 0;
    background-color: var(--accent);
    border-radius: 10px;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    margin: 0 10px;
    color: var(--gray);
    font-size: 14px;
}

.breadcrumb .current {
    color: var(--primary);
    font-weight: 500;
} */


/* .share-box-position {
    left: calc(((100% - 1160px) / 2) - 60px);
    bottom: 50%;
    transform: translateY(50%);
    visibility: visible;
    opacity: 1;
}

.share-box {
    position: fixed;
    bottom: 250px;
    left: 40px;
    z-index: 999;
}

.share-transition {
    -webkit-transition: all .2s;
    transition: all .2s;
}



.share-box .share-platform {
    -webkit-flex-direction: column;
    flex-direction: column;
}

.share-platform {
    display: -webkit-flex;
    display: flex;
    -webkit-transition: all .2s;
    transition: all .2s;
}

.share-box .share-platform>button:not(:last-child) {
    margin: 0 0 8px;
}

.share-box .share-platform button {
    background-size: 80px 200px;
}

.share-platform button {
    position: relative;
    width: 40px;
    height: 40px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background-size: 80px 200px;
} */

/* .share {
    margin-bottom: 7px;
    margin-left: 3px;
}

.share-platform a {
    margin-bottom: 5px;
}
*/

.share-emoji {
    filter: grayscale(100%);
} 


/* Share Box */
.share-box {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 99;
    animation: slideInLeft 0.5s ease;
}

.share-platform {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.share {
    margin-bottom: 10px;
}

.share-emoji {
    width: 30px;
    height: 30px;
}

.socials {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
}

.socials:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.google {
    background: #db4437;
}

.linkedin {
    background: #0077b5;
}

.overview {
    background: var(--light);
    padding: 20px;
    border-left: 4px solid var(--primary);
    margin-bottom: 25px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}


button {
    font: inherit;
    cursor: pointer;
    background: transparent;
    border: 0;
    outline: 0;
}

.heading {
    font-family: Poppins, helvetica, PingFang SC, Arial;
    font-size: 2rem;
    color: #242424;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 40px;
}



/* Main Content Layout */
.main-layout {
    /* display: flex; */
    /* gap: 30px; */
    margin-bottom: 40px;
}



.right-sidebar {
    width: 410px;
    border-radius: 8px;
    padding: 20px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    margin-top: 15px;
    color: var(--dark);
}

.article-meta {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.meta-item i {
    margin-right: 5px;
}

.featured-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-body {
    font-size: 1.20rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.article-content img {
    width: 100%;
    border-radius: 10px;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--dark);
    font-weight: 600;
}

.article-body h3 {
    font-size: 1.4rem;
    margin: 25px 0 12px;
    color: var(--dark);
    font-weight: 600;
}

.article-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}


.code-block {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
}

/* .sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
} */

.widget-content {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tools-list {
    list-style: none;
}

.tools-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.tools-list li:last-child {
    border-bottom: none;
}

.tools-list a {
    color: var(--secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.tools-list a:hover {
    color: var(--primary);
}

.tools-list i {
    margin-right: 10px;
    color: var(--primary);
}

.featured-post {
    display: flex;
    flex-direction: column;
}

.featured-post-image {
    width: 100%;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.featured-post-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.featured-post-link i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.featured-post-link:hover i {
    transform: translateX(3px);
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.subscribe-box {
    background-color: var(--accent);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.subscribe-text {
    margin-bottom: 15px;
}

/* Related Articles */
.related-articles {
    margin: 60px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.article-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 20px;
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Comments Section */
.comments-section {
    margin: 60px 0;
}

.comment-form {
    background-color: #eef3f7;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}



.share_box {
    line-height: 40px;
    padding-top: 5px;
}

.awesome {
    margin: 0;
    font-family: cursive;
    font-size: 16px;
    color: #086056;
    font-weight: bold;
    line-height: 2.5;
    -webkit-animation: colorchange 15s infinite alternate;
}


/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(58, 12, 163, 0.05) 100%);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
}

.author-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--primary);
    transition: transform var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info:hover .author-avatar {
    transform: scale(1.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    flex: 1;
}

.author-name {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.subscribe-box {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.subscribe-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
    animation: shine 3s infinite linear;
}

@keyframes shine {
    from {
        transform: translateX(-100%) rotate(30deg);
    }

    to {
        transform: translateX(100%) rotate(30deg);
    }
}

.subscribe-box:hover {
    transform: translateY(-5px);
}

.subscribe-text {
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}


@-webkit-keyframes colorchange {
    25% {
        color: #898682;
    }

    50% {
        color: #966767;
    }

    75% {
        color: #16baa9;
    }

    100% {
        color: #1abc9c;
    }
}

a.socials {
    width: 33px;
    height: 33px;
}

a.socials-small {
    width: 22px;
    height: 22px;
}

a.socials, a.socials-small {
    display: inline-block;
    margin-right: 0;
    text-align: left;
    text-indent: -9999px;
}

a.socials {
    background-position: left bottom !important;
    height: 34px;
    width: 34px;
}

a.socials-small {
    background-position: left bottom !important;
    height: 22px;
    width: 22px;
}

a.facebook:hover {
    background-position: -18px -17px !important;
}

a.twitter:hover {
    background-position: -68px -17px !important;
}

a.linkedin:hover {
    background-position: -118px -17px !important;
}

a.google:hover {
    background-position: -167px -17px !important;
}

a.youtube:hover {
    background-position: -221px -16px !important;
}

a.pinterest:hover {
    background-position: -271px -17px !important;
}

a.rss:hover {
    background-position: -324px -17px !important;
}

a.facebook-small:hover {
    background-position: -18px -102px !important;
}

a.twitter-small:hover {
    background-position: -51px -102px !important;
}

a.linkedin-small:hover {
    background-position: -84px -102px !important;
}

a.google-small:hover {
    background-position: -118px -102px !important;
}

a.youtube-small:hover {
    background-position: -151px -102px !important;
}

a.pinterest-small:hover {
    background-position: -189px -102px !important;
}

a.rss-small:hover {
    background-position: -226px -102px !important;
}

a.facebook {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -18px -50px !important;
}

a.twitter {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -68px -50px !important;
}

a.linkedin {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -118px -50px !important;
}

a.google {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -167px -50px !important;
}

a.youtube {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -220px -49px !important;
}

a.pinterest {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -271px -50px !important;
}

a.rss {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -324px -50px !important;
}

a.flickr {
    background: url("/images/icons/socials/flickr.png") no-repeat scroll 0 0 transparent;
}

a.skype {
    background: url("/images/icons/socials/skype.png") no-repeat scroll 0 0 transparent;
}

a.bookmark {
    background: url("/images/icons/socials/bookmark.png") no-repeat scroll 0 0 transparent;
}

a.facebook-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -18px -124px !important;
}

a.twitter-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -51px -124px !important;
}

a.linkedin-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -84px -124px !important;
}

a.google-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -118px -124px !important;
}

a.youtube-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -151px -124px !important;
}

a.pinterest-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -189px -124px !important;
}

a.rss-small {
    background: url("/images/icons/social-media-icon.png") no-repeat scroll -226px -124px !important;
}

a.flickr-small {
    background: url("/images/icons/small-socials/flickr.png") no-repeat scroll 0 0 transparent;
}

a.skype-small {
    background: url("/images/icons/small-socials/skype.png") no-repeat scroll 0 0 transparent;
}

a.google-small {
    background: url("/images/icons/small-socials/google.png") no-repeat scroll 0 0 transparent;
}

a.bookmark-small {
    background: url("/images/icons/small-socials/bookmark.png") no-repeat scroll 0 0 transparent;
}


@media (min-width: 768px) {
    .main-layout {
        display: flex;
        /* gap: 30px; */
        margin-bottom: 40px;
    }

}

@media (max-width: 768px) {

    .right-sidebar {
        width: 335px;
        background-color: var(--sidebar-bg);
        border-radius: 8px;
        padding: inherit;
    }
}


/* Responsive Design */
@media (max-width: 992px) {

    .share-box {
        position: static;
        transform: none;
        margin-bottom: 20px;
        margin-top: 20px;
        border-radius: 10px;
        width: 100%;
        background: aliceblue;
    }

    .share-platform {
        flex-direction: row;
        justify-content: center;
    }

    .share {
        margin-bottom: 0;
        margin-right: 15px;
    }

    .socials {
        margin: 0 5px;
    }
}