.hidden {
    display: none;
}

.cat-banner {
    position: relative;
}

.cat-banner:before {
    content: '';
    display: block;
    padding-top: 25%;
}

.cat-banner img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.archive-page .box-crumbs {
    margin: 30px 0 50px;
}

.breadcrumbs, .breadcrumbs a {
    font-weight: 400;
    font-size: 16px;
    text-align: right;
    color: #525252;
}

.breadcrumbs a:hover {
    color: var(--blue);
}



span.sep:before {
    content: '>';
    font-weight: 400;
    font-size: 16px;
    text-align: right;
    color: #525252;
    display: inline-block;
    margin: 0 8px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
}

h1.cat-title {
    font-weight: 500;
    font-size: 55px;
    text-align: center;
    color: #181818;
    line-height: 1;
}

.cat-desc {
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    color: #3f3f3f;
}

.cat-desc:after {
    content: '';
    display: block;
    width: 56px;
    background: linear-gradient(101deg,rgba(69, 0, 177, 1) 0%, rgba(50, 80, 255, 1) 100%);
    height: 4px;
    border-radius: 4px;
    margin: 20px auto 55px;
}

.preview {
    display: grid;
    grid-template-columns: 350px 1fr 25px;
    gap: 36px;
}

.preview__img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.preview__img:before {
    content: '';
    display: block;
    padding-top: 66%;
}

.preview__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview__meta h2 {
    font-weight: 700;
    font-size: 22px;
    color: #1d1d1b;
    margin: 0 0 9px;
}

.preview__date {
    font-weight: 400;
    font-size: 24px;
    color: #747474;
    margin: 0 0 20px;
}

.preview__desc {
    font-weight: 400;
    font-size: 18px;
    color: #1d1d1b;
    line-height: 1.25;
}

.preview {
    position: relative;
    padding: 0 0 50px;
    margin: 0 0 65px;
}

.preview:after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: #d9d9d9;
    position: absolute;
    bottom: 0;
    left: 0;
}

.preview__arrow {
    display: flex;
    align-items: center;
}

.preview__arrow a:before {
    content: '';
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-indent: -999em;
    white-space: nowrap;
    z-index: 1;
}

.p-single .breadcrumbs {
    justify-content: flex-start;
    margin: 65px 0 16px;
}

.p-single__banner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.p-single__banner:before {
    content: '';
    display: block;
    padding-top: 31%;
}

.p-single__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}

.p-single__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
}


h1.article-title {
    font-weight: 600;
    font-size: 24px;
    color: #181818;
    line-height: 1.2;
}

.p-single__banner {
    margin: 0 0 40px;
}

h1.article-title:after {
    content: '';
    display: block;
    width: 56px;
    background: linear-gradient(101deg, rgba(69, 0, 177, 1) 0%, rgba(50, 80, 255, 1) 100%);
    height: 4px;
    border-radius: 4px;
    margin: 14px 0 16px;
}

.article__date {
    display: flex;
    align-items: center;
}

.article__date img {
    margin-left: 12px;
}



.article__date span:nth-child(2) {
    font-weight: 700;
    font-size: 22px;
    text-align: right;
    color: #000;
}

span.date-value {
    font-weight: 400;
    font-size: 22px;
    text-align: right;
    color: #000;
    margin-right: 5px;
}

.article__date {
    margin: 0 0 30px;
}


.article__date {
    margin: 0 0 30px;
}

.editor p, .editor li {
    font-size: 20px;
    line-height: 1.25;
    color: #000;
}

.editor a {
    color: var(--blue);
    text-decoration: underline;
    font-size: 18px;
    font-weight: 700;
}

.editor p {
    margin: 0 0 24px;
}

.editor p:last-child {
    margin: 0px;
}

h3.related-title {
    font-weight: 600;
    font-size: 20px;
    color: #000;
    margin: 0 0 26px;
    padding: 0 0 10px;
    border-bottom: 1px solid #d9d9d9;
}

.r-preview a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.r-preview__img {
    position: relative;
}

.r-preview__img:before {
    content: '';
    display: block;
    padding-top: 94%;
}

.r-preview__img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.r-preview__meta {
    background: rgb(16 16 16 / 60%);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
   
    font-weight: 500;
    font-size: 18px;
}
.r-preview__meta {
    display: grid;
    grid-template-columns: 1fr 24px;
    gap: 16px;
    align-items: center;
}
.r-preview__meta h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}


.r-preview__meta svg {
    fill: #fff;
}

.r-preview__img img {
    transition: .75s;
    scale: 1;
}

.r-preview a:hover img {
    scale: 1.1;
}
.r-preview {
    margin: 0 0 38px;
}

.r-preview:last-child {
    margin: 0;
}


.post-share {
    border-top: 1px solid #D9D9D9;
    padding: 15px 0 0 0;
    margin: 90px 0 110px;
}

.post-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
   position: relative;
}

.post-share__btn--fb:before,
.post-share__btn--fb:after,
.post-share__btn--wa:before,
.post-share__btn--wa:after,
.print-box button:before,
.print-box button:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
}
.post-share__btn--fb:after {
    opacity: 0;
    background: url(/wp-content/themes/wp-bootstrap-starter/img/face-icon-h.svg) no-repeat center;
}
.post-share__btn--fb:before {
    opacity: 1;
    background: url(/wp-content/themes/wp-bootstrap-starter/img/face-icon.svg) no-repeat center;
}

.post-share__btn--fb:hover:before,
.post-share__btn--wa:hover:before,
.print-box button:hover:before {
    opacity: 0;
}

.post-share__btn--fb:hover:after,
.post-share__btn--wa:hover:after,
.print-box button:hover:after {
    opacity: 1;
}

.post-share__btn--wa:before {
    opacity: 1;
    background: url(/wp-content/themes/wp-bootstrap-starter/img/wh-icon.svg) no-repeat center;
}

.post-share__btn--wa:after {
    opacity: 0;
    background: url(/wp-content/themes/wp-bootstrap-starter/img/wh-icon-h.svg) no-repeat center;
}

.post-share__btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    border: 0;
    padding: 0;
}

.print-box button:before {
    background: url(/wp-content/themes/wp-bootstrap-starter/img/print-icon.svg) no-repeat center;
    opacity: 1;
    
}

.print-box button {
    position: relative;
    background: transparent;
}

.print-box button:after {
    background: url(/wp-content/themes/wp-bootstrap-starter/img/prin-icon-h.svg) no-repeat center;
    opacity: 0;
}

.print-box {
    display: flex;
    align-items: center;
    gap: 10px;
}
@media print {
   header, 
   footer,
   .p-single__banner,
   .p-single__side,
   div#contact-us,
   iframe {
    display: none;
   }
   .p-single__grid {
    grid-template-columns: 1fr;
}
}
.editor iframe {
    max-width: 653px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}



.archive-load-more-btn img {
    
    transition: transform 0.3s ease;
    transform-origin: center center; 
}

button.archive-load-more-btn {
    font-weight: 600;
    font-size: 22px;
    text-align: right;
    color: #1d1d1b;
    background: transparent;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

button.archive-load-more-btn.js-archive-load-more.hide {
    display: none;
}

.archive-load-more-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 90px;
}
.archive-load-more-btn:hover img {
    animation: spinRotate 1s linear infinite;
}

@keyframes spinRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}









@media screen and (max-width: 1400px) {
    .editor p, .editor li {
        font-size: 18px;    
    }
}
.p-single__side {
    padding-top: 90px;
}
@media screen and (max-width: 1199px) {
    .p-single__grid {
        gap: 30px;
    }
    .p-single .breadcrumbs {
        margin: 30px 0 15px;
    }
    .archive-page .box-crumbs {
        margin: 16px 0 24px;
    }
    h1.cat-title {
        font-size: 32px;
    }
    .cat-desc {
    
        font-size: 16px;
    }
    .cat-desc:after {
        margin: 16px auto 30px;
    }
    .preview__desc {
        font-size: 16px;
        line-height: 1.2;
    }
    .preview__meta h2 {
        font-size: 20px;
        margin: 0 0 9px;
    }
    .preview__date {
        font-size: 18px;
        margin: 0 0 16px;
    }
    .preview {
        gap: 16px;
    }
    .preview {
        padding: 0 0 30px;
        margin: 0 0 40px;
    }

} 

@media screen and (max-width: 991px) {
.p-single__grid {
    grid-template-columns: 1fr;
}
.p-single__side {
    padding-top: 0;
}
.post-share {
    margin: 40px 0 60px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}
.r-preview__meta svg {
    width: 18px;
    height: 18px;
}
.related-posts__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}
.p-single__banner:before {
    content: '';
    display: block;
    padding-top: 56%;
}
}

@media screen and (max-width: 820px) {
.editor p, .editor li {
    font-size: 16px;
}
.editor p {
    margin: 0px 0 16px;
}
.article__date span:nth-child(2), .article__date span:nth-child(3) {
    font-size: 16px;
}
.article__date img {
    margin-left: 8px;
}
.article__date {
    margin: 0 0 20px;
}
.p-single__banner {
    margin: 0 0 24px;
}
.preview {
    grid-template-columns: 1fr;
    gap: 0;
}
.preview__img {
    margin: 0 0 16px;
}
.preview__arrow svg {
    display: none;
}
.cat-banner:before {
    padding-top: 180px;
}
} 

@media screen and (max-width: 767px) {
.related-posts__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}
.r-preview:last-child {
    margin: 0 0 60px;
}
}