#loading-bar { 
    position: fixed; 
    top: 0; left: 0; 
    height: 4px; 
    width: 0; 
    background-color: #1877f2;
    transition: width 0.2s ease;
}

.articles-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
}

.breadcrumbs-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 15px 20px;
    margin-bottom: 20px;
    height: 55px;
    border-bottom: 1px solid #ddd;
}

.breadcrumbs {
    font-size: 13px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f1f7f3;
    padding: 8px 10px;
    border-radius: 8px;
    color: #1877f2;
    transition: background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    max-width: 100%;
}

.breadcrumb-item:hover {
    background: #c7dfce;
}

.breadcrumb-item.active {
    background: #1877f2;
    color: #ffffff;
}

.breadcrumb-item.active.homepage-title {
    color: black;
    font-weight: bold;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 16px;
}

.fs-title,
.h-title,
.h-title a {
    color: #000;
}

.h-title:hover,
.h-title a:hover {
    color: #000;
}

.category-fs-title-wrapper {
    background: #fff;
    border-bottom: 1px solid #ddd;
    width: 100%;
    margin-bottom: 20px;
}

.category-fs-title {
    padding: 0 20px 20px 20px;
}

.category-fs-title .fs-title {
    font-size: 18px;
    margin: 0;
}

.tag-title {
    font-size: 18px;
    margin: 0;
    color: #000;
}

.category-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-image {
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 7px;
    padding: 2px;
    flex-shrink: 0;
}

.share-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 5px 10px 0 0;
}

.share-button img {
    width: 24px;
    height: 24px;
    min-width: 24px; min-height: 24px;
    max-width: 24px; max-height: 24px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(7%) saturate(353%) hue-rotate(180deg) brightness(93%) contrast(85%);
    transition: filter 0.3s ease;
}

.share-button:hover img,
.share-button.active img,
.fs-article-share-icon:hover img,
.fs-article-share-icon.clicked img,
.fs-article-share-icon.clicked:hover img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(93%) saturate(4073%) hue-rotate(192deg) brightness(92%) contrast(92%);
}

.fs-article-share-icon {
    position: absolute;
    bottom: 2px;
    right: -2em;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fs-article-share-icon.search {
    right: -2.5em;
}

.fs-article-share-icon {
    width: 20px;
    height: 20px;
    background: #d8dce0;
    padding: 3px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.fs-article-share-icon img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(78%) saturate(2413%) hue-rotate(196deg) brightness(90%) contrast(90%);
}

.fs-article-share-icon:hover,
.fs-article-share-icon.clicked,
.fs-article-share-icon.clicked:hover {
    background: #c3d7f9;
}

.article-wrapper {
    position: relative;
    width: 800px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 45px 20px 20px;
}

.article-wrapper.single {
    padding: 0 20px 10px 20px;
}

article {
    background: #ffffff;
    border-radius: 20px 20px 20px 5px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #ddd;
}

article .post-thumbnail {
    padding: 2px;
}

article .post-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px 20px 7px 7px;
}

.alignnone.size-medium {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

article .content-wrapper {
    padding: 20px 20px 0 20px;
}

article .author-date a,
article .author-date a:hover {
    color: #565a61;
}

article .post-date,
.result-section .post-date {
    font-size: 13px;
    color: #565a61;
    text-align: right;
    padding: 0 10px 5px 10px;
    white-space: nowrap;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.wp-block-group {
   margin: 15px 0;
}

.fs-comments-icon {
    width: 18px;
    height: 18px;
    margin-left: 8px;
    vertical-align: middle;
}

.fs-comments-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border: 0;
    border-radius: 0 0 20px 5px;
    text-decoration: none;
    color: #1877f2;
    position: relative;
}

.fs-comments-post-meta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 0;
    height: 0.5px;
    background-color: #ddd;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.fs-comments-post-meta:hover::before {
    opacity: 0;
}

.fs-comments-post-meta:hover::before,
.fs-comments-post-meta.active::before {
    opacity: 0;
}

.fs-comments-post-meta span {
    margin-right: 10px;
}

.fs-comment-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0) saturate(100%) invert(35%) sepia(84%) saturate(4285%) hue-rotate(193deg) brightness(90%) contrast(95%);
}

.fs-comments-post-meta:hover .fs-comment-icon,
.fs-comments-post-meta.active .fs-comment-icon {
    transform: translateX(-5px);
    filter: brightness(0) saturate(100%) invert(35%) sepia(84%) saturate(4285%) hue-rotate(193deg) brightness(90%) contrast(95%);
}

.fs-comments-post-meta:hover,
.fs-comments-post-meta.active {
    background-color: #e3f0ff;
    color: #1877f2;
}

.result-section {
    position: relative;
    margin-left: 10px;
}

.result-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 0.5px;
    background-color: #ddd; 
}

.result-section.result {
    margin-left: 0;
}

.result-section.result::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 0.5px;
    background-color: #ddd;
}

.result-section h3 {
    margin: 0;
    font-size: medium;
    font-weight: normal;
    padding: 15px;
    font-size: 16px;
    font-weight: 550;
}

.result-section p {
    margin: 10px 15px;
    font-size: 16px;
}

.notifications-wrapper .line {
    position: absolute;
    top: -5px;
    bottom: 10px;
    left: 10px;
    width: 3px;
    background-color: #bbd4fa;
    border-radius: 50px;
    z-index: 1;
}

.line.line-preview{
    background-color: #e6f4ff;
}

.categories-list {
    padding: 10px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.categories-list-single {
    padding: 20px 20px 0 20px;
}

.category-link {
    background-color: #f1f8ff;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 50px;
    text-decoration: none;
}

.category-link:hover {
    background-color: #1877f2;
    color: #fff;
}

article h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 16px;
}

article h2 {
  font-size: 28px;
  font-weight: 650;
  line-height: 40px;
  margin: 0 0 14px;
}

article h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  margin: 0 0 12px;
}

article h4 {
  font-size: 20px;
  font-weight: 550;
  line-height: 30px;
  margin: 0 0 10px;
}

article h5 {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  margin: 0 0 8px;
}

article h6 {
  font-size: 16px;
  font-weight: 450;
  line-height: 24px;
  margin: 0 0 6px;
}

article p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    margin: 5px 0 15px 0;
}

article a {
    color: #1877f2;
    transition: all 0.3s ease;
}

.result-section-content li, 
.result-section-content ol {
    line-height: 24px;
    margin: 5px 0;
}

.result-section-content {
    padding: 15px 10px;
}

.result-section-content.result {
    padding: 0 5px;
}

.result-section-content img, 
.result-section-content video {
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

article a:hover {
    color: #145dbf;
}

.wp-block-image img {
    border-radius: 10px;
    width: 100%;
}

.wp-block-video video {
    vertical-align: middle;
    width: 100%;
    height: auto;
    max-height: 40em;
    margin: 0 auto;
    display: flex;
    border-radius: 10px;
    box-sizing: border-box;
    background: rgb(18 19 19);
}

.wp-block-separator {
    border: none;
    border-top: 1px solid;
    color: #d2e3d2;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 10px;
    border-radius: 10px;
    flex-wrap: wrap;
}

.pagination-wrapper a,
.pagination-wrapper span {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 34px;
  border-radius: 50%;
  background-color: #1877f2;
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 0;
  margin: 0;
  user-select: none;
  vertical-align: middle;
}

.pagination-wrapper a:hover {
    background-color: #145dbf;
    transform: scale(1.1);
}

.pagination-wrapper .current {
    background-color: #0f457f;
    color: #ffffff;
    cursor: default;
    transform: none;
}

.no-found-post {
    font-size: 18px;
    color: #0b2f7f;
    line-height: 1.8;
    background: linear-gradient(90deg, rgba(24, 119, 242, 0.1), rgba(24, 119, 242, 0.05));
    border-right: 5px solid #1877f2;
    padding: 10px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #1877f242;
    font-style: italic;
    font-weight: 550;
    width: fit-content;
}

.scroll-to-top {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(221, 221, 221, 0.5);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    background-clip: padding-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover img {
    opacity: 1;
}

.copy-for-tweet {
    color: #1877f2;
    border: none;
    background: none;
}


.load-more-wrapper {
    text-align: center;
    margin: 35px;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#load-more-btn {
    position: relative;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.2px;
    font-family: inherit;
    color: #ffffff;
    cursor: pointer;
    border: none; 
    outline: none;
    border-radius: 50px; 
    background: linear-gradient(135deg, #0a58ca 0%, #3b82f6 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25), 
                0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#load-more-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4), 
                0 2px 4px rgba(0, 0, 0, 0.1);
}

#load-more-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

#load-more-btn:disabled {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    transform: translateY(0);
    box-shadow: none;
    pointer-events: none;
    animation: btnMinimalPulse 1.5s infinite ease-in-out;
}

@keyframes btnMinimalPulse {
    0% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.99); }
    100% { opacity: 0.8; transform: scale(1); }
}

@media (max-width: 1024px) {
    .breadcrumbs-wrapper {
        padding: 0 10px;
        border-top: 0.5px solid #ddd;
        border-bottom: none;
        max-width: 100%;
    }
    
    .category-fs-title-wrapper {
        border-top: 0.5px solid #ddd;
        border-bottom: none;
        margin-top: -20px;
    }
    
    .category-fs-title {
        padding: 15px;
    }
    
    .articles-header {
        position: relative;
        z-index: 0;
    }
    
    .article-wrapper {
        padding: 0 45px 20px 10px;
    }
    
    article {
        border: none;
    }
    
    article .content-wrapper {
        padding: 20px 20px 10px 20px;
    }
    
    article .content-wrapper.content-wrapper-custom-post{
        padding: 10px;
    }
    
    .article-wrapper.single {
        padding: 0 10px 10px 10px;
    }
    
    .share-button {
        display: none;
    }
    
    .notifications-wrapper {
        margin-left: 10px;
    }
    
    .result-section {
        margin-left: 0;
    }
    
    .notifications-wrapper .line {
        left: 0;
    }
    
    article h1 {
        font-size: 22px;
        line-height: 28px;
    }
    article h2 {
        font-size: 20px;
        line-height: 26px;
    }
    article h3 {
        font-size: 18px;
        line-height: 24px;
    }
    article h4 {
        font-size: 16px;
        line-height: 22px;
    }
    article h5 {
        font-size: 15px;
        line-height: 20px;
    }
    article h6 {
        font-size: 14px;
        line-height: 18px;
    }
    article p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }
    
    .result-section h3,
    .result-section p {
        font-size: 14px;
    }
    
    .scroll-to-top {
        bottom: 100px;
        width: 38px;
        height: 38px;
        left: auto;
    }
    
    .scroll-to-top:hover img {
        opacity: 0.2;
    }
}

@media (max-width: 333px) {
    article .post-date {
        font-size: 12px;
    }
}