/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 .sff-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
 .sff-posts-wrap, .sff-wrapper-ctn {
    position: relative;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}
.sff {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/* page info */
.sff-wrapper .sff-visual-header.sff-has-name {
    min-height: 100px;
}
.sff-wrapper .sff-visual-header {
    margin-bottom: 24px !important;
}

.sff-wrapper .sff-visual-header .sff-header-inner-wrap {
    position: relative;
    display: block;
    text-decoration: none !important;
}
.sff-wrapper .sff-visual-header .sff-header-hero {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.sff-visual-header .sff-header-img {
    top: -25px;
    left: 10px;
}
.sff-visual-header.has-cover-image .sff-header-img {
    left: 0px;
}
.sff-visual-header .sff-header-img {
    position: absolute;
    display: inline-block;
    line-height: 1;
}
.sff-visual-header .sff-header-img img {
    border: 2px solid #fff;
}
.sff-visual-header .sff-header-img img {
    display: block;
    width: 100px;
    border-radius: 3px;
    padding: 0;
    margin: 0;
}

.sff-visual-header.sff-has-name .sff-header-text {
    min-height: 75px;
    margin-left: 125px;
}
.sff-visual-header .sff-header-text {
    display: inline-block;
    padding-top: 20px;
    margin: 0;
}
.sff-visual-header .sff-header-inner-wrap a {
    color: inherit !important;
    border: 0;
}

.sff-visual-header .sff-header-text h3,.sff-visual-header .sff-header-text h3 {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    line-height: 1.2em;
}


/* post item */

.sff .sff-item {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
    padding: 20px 0 15px;
    margin: 0;
    border-bottom: 1px solid #ddd;
}
@media only screen and (max-width: 767px) {
    .sff .sff-item {
        flex-direction: column;
        gap: 10px;
    }
}
.sff .sff-item:first-child {
    padding-top: 0;
}

.sff .sff-text-wrapper, .sff .sff-meta-wrap {
    margin: 0;
    padding: 0;
}
.sff .sff-meta-wrap {
    order: 1;
}
.sff .sff-text-wrapper {
    order: 2;
}
@media only screen and (max-width: 767px) {
    .sff .sff-meta-wrap {
        order: 2;
    }
    .sff .sff-text-wrapper {
        order: 1;
    }
}
@media only screen and (min-width: 768px) {
    .sff.sff-half-layout .sff-meta-wrap, .sff.sff-half-layout .sff-text-wrapper {
        width: 50%;
    }
}
.sff .sff-author, .sff-lightbox-wrapper .sff-author {
    float: left;
    clear: both;
    margin: 0 0 15px;
    padding: 0;
    line-height: 1.2;
    width: 100%;
}
.sff-author>a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
}
.sff .sff-author a, .sff-lightbox-wrapper .sff-author a {
    border: none;
    text-decoration: none;
}
.sff .sff-author-img {
    margin: unset !important;
    flex-shrink: 0;
}
.sff .sff-author img, .sff-lightbox-wrapper .sff-author img {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0;
    border-radius: 40px;
}

.sff .sff-author .sff-page-name.sff-author-date {
    font-size: 14px;
}
.sff .sff-author .sff-page-name {
    color: #000;
}
.sff .sff-page-name h3 {
    margin-top: 0px;
    margin-bottom: 6px;
    padding: 0;
    font-size: 14px;
    line-height: 1.2em;
}
.sff .sff-author .sff-date, .sff .sff-author .sff-page-name {
    font-weight: 700;
    line-height: 1.2;
}
.sff .sff-author .sff-date {
    color: #9197a3;
    font-weight: 400;
    font-size: 11px;
    margin-top: 1px !important;
    margin-bottom: 0 !important;
}

.sff.sff-half-layout .sff-post-text, .sff.sff-thumb-layout .sff-post-text {
    margin-top: 0;
    margin-bottom: 7px;
}

.sff.sff-half-layout .sff-photo img, .sff.sff-thumb-layout .sff-photo img {
    width: 100%;
}

.sff .sff-photo img {
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}

/* comments */
.sff-view-comments-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.sff .sff-view-comments, .sff-lightbox-wrapper .sff-view-comments {
    display: block;
    overflow: hidden;
    outline: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    cursor: pointer;
    background: rgba(0, 0, 0, .05);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .07);
    border-radius: 4px;
}

.sff .sff-meta {
    display: flex;
    padding: 7px 10px;
    margin: 0;
}
.sff .sff-meta>span {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    padding: 0;
    font-size: 11px;
}

.sff .sff-meta .sff-count{
    position: relative;
    z-index: 2;
    margin-left: 5px;
}
.sff-icon img {
    width: 16px;
    height: 16px;
    transition: .1s;
}

.sff-post-links a {
    text-decoration: none !important;
    font-size: 14px;
}

.sff-toggle {
    color: #1877f2;
    cursor: pointer;
    font-weight: 600;
}

.sff-load-more {
    width: 100%;
    display: block;
    min-height: 30px;
    position: relative;
    box-sizing: border-box;
    outline: 0;
    text-align: center;
    text-decoration: none;
}

.load {
    text-decoration: none !important;
    border: none;
    background: rgba(0, 0, 0, .05);
    padding: 5px 0;
    margin: 10px 0 0;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-transition: background .1s ease-in-out;
    -webkit-transition: background .1s ease-in-out;
    -o-transition: background .1s ease-in-out;
    transition: background .1s ease-in-out;
}
.sff-load-more.remove {
    display: none;
}

/* Extra */
.loaderx {
    display: inline-block;
    animation: spin 2s linear infinite; /* Apply the spin animation */
}

/* Define the animation */
@keyframes spin {
    0% { transform: rotate(0deg); } /* Starts at 0 degrees rotation */
    100% { transform: rotate(360deg); } /* Ends at 360 degrees rotation, completing a full circle */
}