/* Animations */
.move-up-down {
    -webkit-animation: moverY 4s ease-in-out alternate infinite;
    animation: moverY 4s ease-in-out alternate infinite;
}
@keyframes moverY {
	0% {
        -webkit-transform: translateX(-20px) translateY(50px);
        -moz-transform: translateX(-20px) translateY(50px);
        -ms-transform: translateX(-20px) translateY(50px);
        transform: translateX(-20px) translateY(50px);
    }
    100% {
        -webkit-transform: translateX(-20px) translateY(0px);
        -moz-transform: translateX(-20px) translateY(0px);
        -ms-transform: translateX(-20px) translateY(0px);
        transform: translateX(-20px) translateY(0px);
    }
}

.move-left-right {
    -webkit-animation: moverX 4s ease-in-out alternate infinite;
    animation: moverX 4s ease-in-out alternate infinite;
}
@keyframes moverX {
	0% {
        -webkit-transform: translateY(-20px) translateX(50px);
        -moz-transform: translateY(-20px) translateX(50px);
        -ms-transform: translateY(-20px) translateX(50px);
        transform: translateY(-20px) translateX(50px);
    }
    100% {
        -webkit-transform: translateY(-20px) translateX(0px);
        -moz-transform: translateY(-20px) translateX(0px);
        -ms-transform: translateY(-20px) translateX(0px);
        transform: translateY(-20px) translateX(0px);
    }
}

.ellipse-2-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ellipse-3-line {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.gap-15{
    gap: 15px;
}
.gap-30{
    gap: 30px;
}
.gap-40{
    gap: 40px;
}

.ellipsis-1-line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal
}

.ellipsis-2-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal
}

.ellipsis-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal
}

.elementor-editor-active .loader-wrapper{
    display: none;
}

.highlighted-text{
    background: var(--ult-gradient-secondary);
    background-clip: text;
    color: transparent;
}

.ult-text-background{
    background-color: var(--ult-accent-color);
    color: var(--ult-accent-foreground-color);
    padding: 0px 10px;
}

.ult-text-underline {
    color: var(--ult-accent-color);
    border-bottom: 2px solid var(--ult-accent-color);
    padding-bottom: 5px;
}

.appfusion-loop-before{
    padding: 0px 25px 30px 25px;
    margin-bottom: 50px;
    border-radius: 25px;
    box-shadow: 0px 1.85px 3.15px 0px #00000001,0px 8.15px 6.52px 0px #00000002,0px 20px 13px 0px #00000003,0px 38.52px 25.48px 0px #00000003,0px 64.81px 46.85px 0px #00000004,0px 100px 80px 0px #00000005;
}

.card-post-meta .author-image {
    width: 56px;
    height: 56px;
}

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

.appfusion-post-category,
.post-categories, .wp-block-tag-cloud{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.blog-category-list .appfusion-post-category{
    justify-content: center;
}

.appfusion-post-category .category-link, .post-categories a, .wp-block-tag-cloud a, .ult-post-tags a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    line-height: 1.3;
    padding: 7px 14px;
    border: 1px solid #d5d5d7;
    color: var(--bs-body-color);
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.appfusion-post-category .category-link:hover, .post-categories a:hover, .wp-block-tag-cloud a:hover, .ult-post-tags a:hover {
    background-color: var(--ult-accent-color);
    color: #fff;
    border-color: var(--ult-accent-color);
}

.appfusion-post-category .category-link.active {
    background-color: var(--ult-accent-color);
    color: #fff;
}

.sticky-badge {
    position: absolute;
    right: 30px;
    top: 30px;
    background-color: var(--ult-accent-color);
    color: #fff;
    border-radius: 15px;
    padding: 5px 15px;
}

.badge-pill{
    padding: 3px 12px;
    background-color: #F7F7F7;
    border: 1px solid #F7F7F7;
    color: #000;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.25s ease-in-out;
}

.post-breadcrumb {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 30px;
    margin-top: 20px;
    font-size: 1.25rem;
}
.post-breadcrumb li{
    position: relative;
}
.post-breadcrumb li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: calc(50% - 4px);
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}
.post-breadcrumb a{
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease-in-out;
}
.post-breadcrumb a:hover{
    color: var(--ult-secondary-color);
}
.post-breadcrumb .current-item{
    color: var(--ult-secondary-color);
}

.featured-post{
    margin-top: 80px;
}

.appfusion-loop-before .blog-category-list{
    margin-top: 80px;
}

/* Page banner */
.ult-page-banner {
    position: relative;
    padding: 150px 0px 65px 0px;
    background-color: var(--ult-accent-color);
    background-image: var(--ult-page-banner-bg-image);
    background-position: center;
    background-repeat: no-repeat;
	background-size: cover;
	max-width: 1920px;
	margin: 0 auto;
}

.ult-page-banner .ult-banner-wrapper {
    max-width: 900px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.ult-page-banner .banner-overlay {
    background-color: var(--ult-accent-color);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.90;
    z-index: 1;
}

.ult-page-banner .title{
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.4;
    color: white;
    text-align: center;
}

.featured-post .post-image{
    width: calc(50% - 12px);
    flex-basis: calc(50% - 12px);
}
.featured-post .post-content{
    width: calc(50% - 12px);
    flex-basis: calc(50% - 12px);
    gap: 24px;
}

.featured-post .post-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.featured-post .desc{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.post-card.card{
    --bs-card-border-width: 0;
    --bs-card-border-radius: 10px;
    --bs-card-cap-padding-y: 0.5rem;
    --bs-card-cap-padding-x: 1rem;
    --bs-card-bg: var(--bs-body-bg);
    box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.05);
}

.post-card .post-img-holder{
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.post-card:hover .card-img-top{
    transform: scale(1.05);
}

.post-card.card .card-body{
    --bs-card-spacer-y: 40px;
    --bs-card-spacer-x: 30px;
}

.post-card.card .card-img, .post-card.card .card-img-top {
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 350px;
    min-height: 350px;
    object-fit: cover;
    transition: all 0.4s ease-in-out;
}

.post-card .card-title{
    font-size: 22px;
}

.post-card .appfusion-post-category{
    position: absolute;
    left: 15px;
    top: 15px;
}

.card-post-meta .meta-author{
    text-decoration: none;
    color: var(--bs-body-color);
    text-transform: capitalize;
    transition: all 0.2s ease-in-out;
}
.card-post-meta .meta-author:hover{
    color: var(--ult-accent-color);
}

.post-card .read-more-btn {
    display: flex;
    align-items: center;
    gap: 7px;
	font-size: 1rem;
    text-decoration: none;
    margin-top: 10px;
	width: 100%;
    color: var(--ult-accent-color);
    transition: all 0.2s ease-in-out;
}

.post-card .read-more-btn:hover{
    gap: 12px;
}

.post-card .reading-time img{
    width: 20px;
    position: relative;
    top: -3px;
}

.ult-pagination{
    width: 100%;
}

.wp-block-query-pagination-numbers,
.ult-pagination ul.page-numbers {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
}

.wp-block-query-pagination-numbers .page-numbers,
.ult-pagination a.page-numbers,
.ult-pagination span.page-numbers{
    color: #292F36;
    border: 1px solid var(--ult-accent-color);
    border-radius: 50%;
    padding: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.wp-block-query-pagination-numbers .page-numbers:hover,
.ult-pagination a.page-numbers:hover{
    background-color: var(--ult-accent-color);
    color: #fff;
}

.wp-block-query-pagination-numbers .page-numbers.current, .ult-pagination span.page-numbers.current {
    border: 1px solid transparent;
    background-color: var(--ult-accent-color);
    color: #fff;
}

.ult-pagination .prev{
    transform: rotate(180deg);
}

.cta-section .section-title{
    font-size: 3rem;
    margin:  0 0 35px 0;
}

/* Newsletter */
.newsletter-section {
    background-color: #605e9b;
    color: #fff;
    background-position: center;
    background-attachment: fixed;
}
.newsletter-section::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ult-accent-color);
    opacity: 0.90;
    z-index: 1;
}
.newsletter-section .container{
    position: relative;
    z-index: 2;
}
.newsletter-section .subscription-form form {
    display: flex;
    justify-content: center;
}
.newsletter-section .section-title-holder{
    max-width: 900px;
    margin-bottom: 50px;
}
.newsletter-section .section-title{
    font-size: 36px;
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

.sidebar .widget-title,
.sidebar .wp-block-heading{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sidebar ul, ol{
    margin-bottom: 0;
}

.sidebar img{
    max-width: 100%;
    height: auto;
}

.sidebar select{
   width: 100%;
}

.sidebar a{
    text-decoration: none;
    color: var(--bs-body-color);
    transition: all 0.2s ease-in-out;
}

.sidebar a:hover{
    color: var(--ult-accent-color);
}

.sidebar .wp-block-tag-cloud a:hover{
    color: #fff;
}

.sidebar .wp-block-latest-posts li{
    border-radius: 5px;
    overflow: hidden;
}

.sidebar .wp-block-latest-posts .wp-post-image{
    border-radius: 5px;
}

.sidebar .wp-block-latest-posts .wp-block-latest-posts__post-title {
    font-size: 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 22px;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.sidebar .sidebar-post-data li{
    display: flex;
    gap: 15px;
}

.sidebar .sidebar-post-data li:not(:last-child){
   margin-bottom: 15px;
}

.sidebar .sidebar-post-data li .label{
    min-width: 115px;
}

.sidebar .sidebar-post-data li .post-data img{
    display: none;
}

.sidebar .wp-block-tag-cloud a{
    margin-bottom: 0px;
    margin-right: 0;
}

.cta-common{
    padding: 100px 0px;
}

.cta-common .section-title{
    font-size: 2.5rem;
    margin: 0 0 20px 0;
}

.cta-common .subscription-form {
    margin: 50px auto 0;
    max-width: 940px;
}

.cta-common .subscription-form .form-control {
    padding: 30px 20px 30px 80px;
}

.cta-common .subscription-form .btn {
    --bs-btn-padding-y: 1.5rem;
    --bs-btn-padding-x: 3.5rem;
}

.footer-social-links svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    color: #fff;
}

.error404 .header-area{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.error404 .error404-wrapper{
    padding: 80px 20px;
}

/* ---------------------------------
5. PRELOADER STYLING
--------------------------------- */

.loader-wrapper{ position: fixed; top: 0; bottom: 0; left: 0; right: 0; z-index: 100000; background: #fff; }


@-webkit-keyframes mainAnimation {
	0% {  width: 50px; -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); }
	20% { width: 50px; -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); }
	40% { width: 150px;  -webkit-transform: translateX(-50px) translateY(0px) rotate(0deg); }
	60% { width: 150px;  -webkit-transform-origin: bottom right; -webkit-transform: translateX(-150px) translateY(0px) rotate(90deg); }
	80% { width: 50px;  -webkit-transform: translateX(-25px) translateY(0px) rotate(90deg); }
	100% { width: 50px; -webkit-transform: translateX(-50px) translateY(0px) rotate(90deg); }
}
@keyframes mainAnimation {
	0% { width: 50px; transform: translateX(0px) translateY(0px) rotate(0deg); }
	20% { width: 50px; transform: translateX(0px) translateY(0px) rotate(0deg); }
	40% { width: 150px; transform: translateX(-50px) translateY(0px) rotate(0deg); }
	60% { width: 150px; transform-origin: bottom right;  transform: translateX(-150px) translateY(0px) rotate(90deg); }
	80% {  width: 50px; transform: translateX(-25px) translateY(0px) rotate(90deg); }
	100% { width: 50px; transform: translateX(-50px) translateY(0px) rotate(90deg); }
}
@-webkit-keyframes secundaryAnimation {
	0% {   -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); }
	20% { -webkit-transform: translateX(0px) translateY(0px) rotate(180deg); }
	40% { -webkit-transform: translateX(0px) translateY(0px) rotate(180deg); }
	60% { -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); }
	80% {  -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); }
	100% {  -webkit-transform: translateX(0px) translateY(0px) rotate(180deg); }
}
@keyframes secundaryAnimation {
	0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
	20% { transform: translateX(0px) translateY(0px) rotate(180deg); }
	40% { transform: translateX(0px) translateY(0px) rotate(180deg); }
	60% { transform: translateX(0px) translateY(0px) rotate(0deg); }
	80% { transform: translateX(0px) translateY(0px) rotate(0deg); }
	100% { transform: translateX(0px) translateY(0px) rotate(180deg); }
}
@-webkit-keyframes shadowAnimation {
	0% { width: 150px; -webkit-transform: translateX(-25px) translateY(0px) rotate(0deg); }
	20% { width: 75px; -webkit-transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	40% { width: 200px; -webkit-transform: translateX(-25px) translateY(0px) rotate(0deg); }
	60% { width: 75px; -webkit-transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	80% { width: 75px; -webkit-transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	100% { width: 150px; -webkit-transform: translateX(-25px) translateY(0px) rotate(0deg); }
}
@keyframes shadowAnimation {
	0% { width: 150px; transform: translateX(-25px) translateY(0px) rotate(0deg); }
	20% { width: 75px; transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	40% { width: 200px; transform: translateX(-25px) translateY(0px) rotate(0deg); }
	60% { width: 75px; transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	80% { width: 75px; transform: translateX(37.5px) translateY(0px) rotate(0deg); }
	100% { width: 150px; transform: translateX(-25px) translateY(0px) rotate(0deg); }
}
@-webkit-keyframes float {
	0% { top: 50%; }
	50% { top: 51%; }
	100% { top: 50%; }
}
@keyframes float {
	0% { top: 50%; }
	50% { top: 51%; }
	100% { top: 50%; }
}

.loader { position: absolute; width: 50px; height: 50px; top: 50%; left: 50%; margin-top: -25px; margin-left: -25px; z-index: 2;
  background-color: var(--appfusion-preloader-block-color, var(--ult-accent-color));
  -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); transform: translateX(0px) translateY(0px) rotate(0deg);
  -webkit-animation: mainAnimation 2.6s ease 0s infinite forwards; animation: mainAnimation 2.6s ease 0s infinite forwards; }

.loader:after { content: ''; display: inline-block; position: absolute; width: 50px; height: 50px; top: 0; left: -50px;
  background-color: var(--appfusion-preloader-block-color, var(--ult-accent-color));
  -webkit-transform-origin: top right; transform-origin: top right;
  -webkit-transform: translateX(0px) translateY(0px) rotate(0deg); transform: translateX(0px) translateY(0px) rotate(0deg);
  -webkit-animation: secundaryAnimation 2.6s ease 0s infinite forwards; animation: secundaryAnimation 2.6s ease 0s infinite forwards; }

.shadow { position: absolute; width: 100px; height: 10px; top: 50%; left: 50%; margin-top: 50px; margin-left: -75px;
	border-radius: 50%; z-index: 1; background-color: #95a5a6;
	-webkit-transform: translateX(0px) translateY(0px) rotate(0deg); transform: translateX(0px) translateY(0px) rotate(0deg);
	-webkit-animation: shadowAnimation 2.6s ease 0s infinite forwards, float 5s ease-in-out 0s infinite forwards;
	animation: shadowAnimation 2.6s ease 0s infinite forwards, float 5s ease-in-out 0s infinite forwards; 
}

/* ---------------------------------
3. GO TOP
--------------------------------- */

#back-to-top:focus,
#back-to-top{ height: 45px; width: 45px; line-height: 41px; border-radius: 50px; text-align: center; position: fixed; 
	bottom: 20px; right: 20px; z-index: 1000; font-size: 1.1em; opacity: 0; box-shadow: 2px 10px 30px rgba(0,0,0,.2); 
	background: #fff; border: 2px solid var(--ult-accent-color); color: #000;
	-webkit-transform: scale(0);  transform: scale(0); 
	-webkit-transition: all 0.3s ease-out;  transition: all 0.3s ease-out; 
}
#back-to-top svg{
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
}

#back-to-top svg path,
#back-to-top svg line{ 
    stroke: var(--ult-accent-color);
}

#back-to-top:hover{ 
    box-shadow: 2px 5px 20px rgba(0,0,0,.3); background: var(--ult-accent-color); color: #fff; 
}
#back-to-top:hover svg path,
#back-to-top:hover svg line{ 
    stroke: #fff;
}

#back-to-top.show{ opacity: 1; -webkit-transform: scale(1); transform: scale(1); }

.grecaptcha-badge{
    display: none;
}

@media screen and (max-width: 1400px) {
    .featured-post .desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media screen and (max-width: 767px) {
    .ult-text-underline {
        padding-bottom: 1px;
    }

    .featured-post .post-image {
        width: 100%;
        flex-basis: 100%;
    }

    .featured-post .post-content {
        width: 100%;
        flex-basis: 100%;
        gap: 16px;
    }
}

@media screen and (max-width: 575px) {
	.ult-page-banner {
    	padding: 120px 0px 60px 0px;
	}
	
	.post-card.card .card-body {
		--bs-card-spacer-y: 20px;
		--bs-card-spacer-x: 20px;
	}
	
    .read-more-btn {
        width: 50px;
        height: 50px;
    }

    .read-more-btn svg{
        width: 20px;
        height: 20px;
    }

    .sidebar {
        gap: 50px;
    }
}