


/*--------------------------------------------------------------
# Category Section Section
--------------------------------------------------------------*/
.category-section .featured-post {
    margin-bottom: 40px;
}

.category-section .featured-post .post-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.category-section .featured-post .post-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.category-section .featured-post .category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.category-section .featured-post .post-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-section .featured-post .author-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.category-section .featured-post .author-meta .author-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.category-section .featured-post .author-meta .author-name {
    color: var(--heading-color);
    font-weight: 500;
}

.category-section .featured-post .author-meta .post-date {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-section .featured-post .author-meta .post-date:before {
    /*content: "-";*/
    margin: 0 8px;
}

.category-section .featured-post .title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}

.category-section .featured-post .title a {
    color: var(--heading-color);
    transition: color 0.3s;
}

.category-section .featured-post .title a:hover {
    color: var(--accent-color);
}

.category-section .list-post {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.category-section .list-post .post-img {
    flex: 0 0 100px;
    border-radius: 8px;
    overflow: hidden;
}

.category-section .list-post .post-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.category-section .list-post .post-content {
    flex: 1;
}

.category-section .list-post .post-category {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 8px;
    display: inline-block;
}

.category-section .list-post .title {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.category-section .list-post .title a {
    color: var(--heading-color);
    transition: color 0.3s;
}

.category-section .list-post .title a:hover {
    color: var(--accent-color);
}

.category-section .list-post .post-meta {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-section .list-post .post-meta .read-time:after {
    content: "•";
    margin: 0 8px;
}

@media (max-width: 992px) {
    .category-section .featured-post .title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .category-section .list-post .post-img {
        flex: 0 0 80px;
    }

    .category-section .list-post .post-img img {
        width: 80px;
        height: 80px;
    }

    .category-section .list-post .title {
        font-size: 15px;
    }
}

/*--------------------------------------------------------------
# Call To Action 2 Section
--------------------------------------------------------------*/
.call-to-action-2 {
    position: relative;
    padding: 3rem;
    background-color: color-mix(in srgb, var(--accent-color), transparent 97%);
    border-radius: 1rem;
    overflow: hidden;
}

.call-to-action-2 .badge {
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
}

.call-to-action-2 h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.call-to-action-2 p {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
}

.call-to-action-2 .features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--surface-color);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.call-to-action-2 .features .feature-item:hover {
    transform: translateY(-2px);
}

.call-to-action-2 .features .feature-item i {
    color: var(--accent-color);
    font-size: 1.25rem;
}

.call-to-action-2 .features .feature-item span {
    font-weight: 500;
}

.call-to-action-2 .cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.call-to-action-2 .cta-buttons .btn.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
}

.call-to-action-2 .cta-buttons .btn.btn-primary:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    border-color: color-mix(in srgb, var(--accent-color), transparent 15%);
    transform: translateY(-2px);
}

.call-to-action-2 .cta-buttons .btn.btn-outline {
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--accent-color);
}

.call-to-action-2 .cta-buttons .btn.btn-outline:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.call-to-action-2 .content-right {
    flex-shrink: 0;
    max-width: 100%;
    width: 450px;
}

.call-to-action-2 .content-right img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.call-to-action-2 .content-right .floating-card {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: var(--surface-color);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.call-to-action-2 .content-right .floating-card .card-icon {
    width: 3rem;
    height: 3rem;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-to-action-2 .content-right .floating-card .card-icon i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.call-to-action-2 .content-right .floating-card .card-content {
    display: flex;
    flex-direction: column;
}

.call-to-action-2 .content-right .floating-card .card-content .stats-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}

.call-to-action-2 .content-right .floating-card .card-content .stats-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.call-to-action-2 .decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.call-to-action-2 .decoration .circle-1,
.call-to-action-2 .decoration .circle-2 {
    position: absolute;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.call-to-action-2 .decoration .circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    opacity: 0.5;
}

.call-to-action-2 .decoration .circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    opacity: 0.3;
}

@media (max-width: 991.98px) {
    .call-to-action-2 {
        padding: 2rem;
    }

    .call-to-action-2 .content-right {
        width: 100%;
        margin-top: 2rem;
    }

    .call-to-action-2 .content-right .floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -3rem;
        margin-right: 1rem;
        z-index: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.call-to-action .cta-form .form-control:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}


/*--------------------------------------------------------------
# Category Postst Section
--------------------------------------------------------------*/
.category-postst article {
    background-color: var(--surface-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.category-postst .post-img {
    max-height: 240px;
    margin: -30px -30px 15px -30px;
    overflow: hidden;
}

.category-postst .post-category {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.category-postst .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 20px 0;
}

.category-postst .title a {
    color: var(--heading-color);
    transition: 0.3s;
}

.category-postst .title a:hover {
    color: var(--accent-color);
}

.category-postst .post-author-img {
    width: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.category-postst .post-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.category-postst .post-date {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 0;
}


.blog-details .article-content .content blockquote cite {
    font-style: normal;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    font-size: 0.95rem;
    display: block;
}

.blog-details .article-content .meta-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    display: grid;
    gap: 2rem;
}

.blog-details .article-content .meta-bottom h4 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.blog-details .article-content .meta-bottom .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-details .article-content .meta-bottom .tags .tag {
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .tags .tag:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.blog-details .article-content .meta-bottom .social-links {
    display: flex;
    gap: 1rem;
}

.blog-details .article-content .meta-bottom .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.blog-details .article-content .meta-bottom .social-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.blog-details .article-content .meta-bottom .social-links a i {
    font-size: 1.2rem;
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/

.blog-author .author-box {
    padding: 2rem;
    background-color: var(--surface-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.blog-author .author-box:hover {
    transform: translateY(-5px);
}

.blog-author .author-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--surface-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-author .author-img:hover {
    transform: scale(1.05);
}

.blog-author .author-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
    color: var(--accent-color);
    margin: 0 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-author .author-social-links a:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: translateY(-3px);
}

.blog-author .author-social-links a.linkedin:hover {
    background-color: #0077b5;
}

.blog-author .author-social-links a.twitter:hover {
    background-color: #000000;
}

.blog-author .author-social-links a.github:hover {
    background-color: #333333;
}

.blog-author .author-social-links a.facebook:hover {
    background-color: #1877f2;
}

.blog-author .author-social-links a.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.blog-author .author-content {
    padding-left: 1rem;
}

