:root{
  --primary--color: #2575fc;
  --bg--color: #000000;
}

/*header*/
.header-two,
.affix.sticky-menu{
  background-color: var(--bg--color);
}

@media (min-width: 992px) {
    .main-navigation .menu .page_item a, .main-navigation .menu .menu-item a, .main-navigation .menu .dropdown-item a, .main-navigation .menu .nav-link {
        color: #ffffff;
    }
}

#primary-menu .nav-link:focus {
    background-color: transparent;
    border: none;
}

.header-two .site-title a{
  color: #fff;
}

@media (min-width: 992px) {
    .main-navigation .menu .children .page_item > a::before, .main-navigation .menu .dropdown-menu .menu-item > a::before {
        content: none;
    }
}

#primary-menu li.active > a{
  color: var(--primary--color);
}

.header-two #site-navigation .btn-wrapper{
  display: none;
}

/*footer*/

footer.footer-one .widget_block a:hover{
  color: var(--primary--color);
}

footer.footer-one .widget_block ul.wp-block-list{
  padding-left: 16px;
}

footer.footer-one .widget_block ul.wp-block-list li{
  margin-bottom: 5px;
}

footer.footer-one .widget_block li{
  list-style: square;
}

footer.footer-one .widget_block h5.wp-block-heading,
footer.footer-one .widget_block h6.wp-block-heading{
  margin-bottom: 5px;
}

/*scroll*/
.fa-arrow-up:before {
  content: "\f077";
}

#c-scroll:hover {
  background-color: var(--bg--color);
}

/*sidebar*/
.widget_block a{
  display: inline;
  padding-bottom: 0;
  background-image: linear-gradient(to bottom, var(--primary--color) 0%, var(--primary--color) 98%);
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: all 0.7s;
}

.widget_block a:hover{
  background-size: 100% 1px;
}

.wp-block-group li a:hover{
  color: var(--primary--color);
}

.widget-area .widget_block{
  border: 1px solid #d7d7d7;
}

.widget-area .widget_block .wp-block-heading{
  border-left: 5px solid var(--primary--color);
  padding: 0.5rem 0.9rem 0.5rem;
  background-color: #efeded;
  margin-bottom: 0;
}

.widget-area .widget_block .wp-block-group__inner-container h2:after.widget-area .widget-area .widget-title::after{
  content: none;
}

.widget-area .widget_block .wp-block-group ul,
.widget-area .widget_block .wp-block-group ol,
.widget-area .widget_block .wp-block-search__inside-wrapper{
  padding: 1.563rem 1.000rem 1.563rem;
}

.widget-area .widget_block .wp-block-group ul,
.widget-area .widget_block .wp-block-group ol{
  margin: 0;
}

.widget-area .widget_block .wp-block-latest-posts li, 
.widget-area .widget_block .wp-block-page-list li,
.widget-area .widget_pages ul li,
.widget-area .widget_nav_menu ul li,
.widget-area .widget_recent_entries ul li,
.widget-area .widget_recent_comments ul li,
.widget-area .widget_meta ul li,
.widget-area .widget_block .wp-block-archives li,
.widget-area .widget_block .wp-block-categories li{
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.widget-area .widget_block .wp-block-group__inner-container h2:after, .widget-title::after{
  content: unset;
}

/*single page*/
.site-main .blog-detail h4{
  text-align: center;
  margin-top: 15px;
  line-height: inherit;
}

/*blog page*/
.read-more{
  border-radius: 12px;
  padding: 10px 24px;
  border: none;
}

.read-more:hover::after{
  opacity: 0;
}

.read-more{
  background-color: var(--primary--color);
  opacity: 0.85;
}

.read-more:hover{
  opacity: 1;
}

.blog-item .post-content p{
  margin-bottom: 24px;
  text-align: justify;
}

/* ==========================================================
   CUSTOM SINGLE BLOG POST
   ========================================================== */

.single-post {
    background: #f6f7f9 !important;
}

.custom-single-post {
    width: 100%;
    background: #f6f7f9;
    color: #252525;
    font-family: Inter, Arial, sans-serif;
	margin-top:50px;
}


/* HERO */

.custom-post-hero {
    background: #fff;
    padding: 65px 0 60px;
    border-bottom: 1px solid #e8e8e8;
}

.custom-post-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* CATEGORY */

.custom-post-category {
    display: inline-block;
    padding: 7px 15px;
    background: var(--primary--color);
    color: #fff;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}


/* TITLE */

.custom-post-title {
    max-width: 1000px !important;
    margin: 0 0 20px !important;
    padding: 0 !important;

    color: #111 !important;

    font-size: clamp(40px, 5vw, 64px) !important;
    line-height: 1.08 !important;

    font-weight: 800 !important;

    letter-spacing: -2px !important;

    text-align: left !important;

    background: transparent !important;
}


/* META */

.custom-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    color: #777;
    font-size: 14px;
    margin-bottom: 40px;
}


/* FEATURED IMAGE */

.custom-post-featured-image {
    width: 100%;
    max-height: 600px;
    overflow: hidden;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.custom-post-featured-img {
    display: block !important;

    width: 100% !important;
    height: auto !important;

    max-height: 600px;

    object-fit: cover;

    margin: 0 !important;

    border-radius: 0 !important;
}


/* MAIN LAYOUT */

.custom-post-layout {
    width: min(1180px, calc(100% - 40px));
    margin: auto;

    padding: 70px 0 90px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    gap: 60px;

    align-items: start;
}


/* ARTICLE */

.custom-post-content {
    min-width: 0;

    background: #fff;

    padding: 50px;

    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(0,0,0,.05);
}


/* PARAGRAPHS */

.custom-post-content p {
    color: #333 !important;

    font-size: 18px !important;

    line-height: 1.85 !important;

    margin: 0 0 28px !important;

    text-align: left !important;
}


/* HEADINGS */

.custom-post-content h2 {
    color: #111 !important;

    font-size: 34px !important;

    line-height: 1.25 !important;

    font-weight: 800 !important;

    margin: 60px 0 22px !important;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}

.custom-post-content h3 {
    color: #151515 !important;

    font-size: 27px !important;

    line-height: 1.3 !important;

    font-weight: 800 !important;

    margin: 45px 0 18px !important;

    padding: 0 !important;

    border: 0 !important;
}

.custom-post-content h4 {
    color: #222 !important;

    font-size: 22px !important;

    line-height: 1.35 !important;

    font-weight: 700 !important;

    margin: 35px 0 15px !important;
}


/* IMAGES */

.custom-post-content img {
    display: block !important;

    max-width: 100% !important;

    height: auto !important;

    margin: 40px auto !important;

    border-radius: 14px !important;
}

.custom-post-content figure {
    margin: 40px 0 !important;
}

.custom-post-content figure img {
    width: 100% !important;
    margin: 0 !important;
}


/* LISTS */

.custom-post-content ul,
.custom-post-content ol {
    margin: 25px 0 32px !important;
    padding-left: 28px !important;
}

.custom-post-content li {
    color: #333 !important;

    font-size: 18px !important;

    line-height: 1.75 !important;

    margin-bottom: 10px !important;
}


/* LINKS */

.custom-post-content a {
    color: #2575fc;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* BLOCKQUOTE */

.custom-post-content blockquote {
    margin: 45px 0 !important;

    padding: 25px 30px !important;

    background: #f5f6f8 !important;

    border-left: 4px solid var(--primary--color) !important;

    border-radius: 0 12px 12px 0 !important;
}


/* SIDEBAR */

.custom-post-sidebar {
    position: sticky !important;
    top: 100px !important;
    align-self: start;

    display: flex;
    flex-direction: column;

    gap: 25px;
}

.custom-sidebar-card {
    background: #fff;

    padding: 24px 20px;

    border-radius: 18px;

    border: 1px solid #e7e7e7;

    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.custom-sidebar-heading {
    color: #111;

    font-size: 21px;

    font-weight: 800;

    margin-bottom: 5px;
}

.custom-sidebar-subtitle {
    color: #999;

    font-size: 12px;

    margin-bottom: 18px;
}


/* RECENT POSTS */

.custom-recent-post {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 12px;

    padding: 14px 0;

    border-bottom: 1px solid #eee;

    text-decoration: none !important;
}

.custom-recent-post:last-child {
    border-bottom: 0;
}

.custom-recent-image {
    width: 80px;
    height: 62px;

    overflow: hidden;

    border-radius: 9px;

    background: #eee;
}

.custom-recent-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover;

    margin: 0 !important;

    border-radius: 0 !important;
}

.custom-recent-no-image {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;

    font-size: 11px;
}

.custom-recent-title {
    color: #222;

    font-size: 14px;

    line-height: 1.4;

    font-weight: 700;
}

.custom-recent-date {
    color: #999;

    font-size: 11px;

    margin-top: 6px;
}

.custom-recent-post:hover .custom-recent-title {
    color: var(--primary--color);
}


/* CATEGORIES */

.custom-category-list {
    list-style: none;

    padding: 0;
    margin: 15px 0 0;
}

.custom-category-list li {
    padding: 9px 0;

    border-bottom: 1px solid #eee;
}

.custom-category-list li:last-child {
    border-bottom: 0;
}

.custom-category-list a {
    color: #555;

    font-size: 13px;

    text-decoration: none;
}

.custom-category-list a:hover {
    color: var(--primary--color);
}


/* TAGS */

.custom-post-tags {
    margin-top: 60px;

    padding-top: 30px;

    border-top: 1px solid #e5e7eb;
}

.custom-tags-title {
    color: #111;

    font-size: 13px;

    font-weight: 800;

    text-transform: uppercase;

    margin-bottom: 15px;
}

.custom-tags-list {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.custom-tag {
    display: inline-block;

    padding: 6px 12px;

    background: #f5f6f7;

    color: #555 !important;

    border: 1px solid #e1e3e6;

    border-radius: 50px;

    font-size: 12px;

    text-decoration: none !important;
}

.custom-tag:hover {
    background: #111;

    color: #fff !important;
}


/* PREVIOUS / NEXT */

.custom-post-navigation {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 55px;

    padding-top: 30px;

    border-top: 1px solid #e5e7eb;
}

.custom-navigation-label {
    display: block;

    color: #999;

    font-size: 11px;

    text-transform: uppercase;

    margin-bottom: 7px;
}

.custom-prev-post a,
.custom-next-post a {
    color: #222 !important;

    font-size: 14px;

    line-height: 1.5;

    font-weight: 700;

    text-decoration: none !important;
}

.custom-next-post {
    text-align: right;
}

.custom-prev-post a:hover,
.custom-next-post a:hover {
    color: var(--primary--color) !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .custom-post-layout {
        grid-template-columns: 1fr;
    }

    .custom-post-sidebar {
        position: static;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    .custom-post-container,
    .custom-post-layout {
        width: calc(100% - 30px);
    }

    .custom-post-hero {
        padding: 45px 0 40px;
    }

    .custom-post-title {
        font-size: 36px !important;
        line-height: 1.12 !important;
        letter-spacing: -1px !important;
    }

    .custom-post-meta {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .custom-post-featured-image {
        border-radius: 14px;
    }

    .custom-post-layout {
        padding: 40px 0 60px;
    }

    .custom-post-content {
        padding: 28px 20px;
        border-radius: 14px;
    }

    .custom-post-content p {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }

    .custom-post-content h2 {
        font-size: 28px !important;
        margin-top: 45px !important;
    }

    .custom-post-content h3 {
        font-size: 23px !important;
    }

    .custom-post-content li {
        font-size: 17px !important;
    }

    .custom-post-navigation {
        grid-template-columns: 1fr;
    }

    .custom-next-post {
        text-align: left;
    }

}

/* ==========================================================
   HIDE DENEB'S ORIGINAL SINGLE POST HEADER
   Our custom PHP layout provides its own title + image.
   ========================================================== */
/* Hide original Deneb featured image */
.site-main .blog-detail img.attachment-post-thumbnail {
    display: none !important;
}

/* Hide original Deneb title */
.site-main .blog-detail h4.text-capitalize {
    display: none !important;
}

/* Hide only direct h4 titles in the original blog wrapper */
.site-main .blog-detail > h4 {
    display: none !important;
}
.custom-post-sidebar .custom-sidebar-card:first-child {
    position: sticky !important;
    top: 100px !important;
}

/* ==========================================================
   STICKY RECENT POSTS — FINAL
   ========================================================== */

.site-main,
.blog-detail,
.custom-single-post,
.custom-post-layout {
    overflow: visible !important;
}

.custom-post-sidebar {
    position: static !important;
    overflow: visible !important;
}

.custom-post-sidebar .custom-sidebar-card:first-child {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
}
.custom-post-sidebar .custom-sidebar-card:first-child {
    z-index: 20 !important;
    box-sizing: border-box !important;
}


/* Permanent Sticky Navbar for ID #navbar_CT */
#navbar_CT {
  position: sticky !important;
  top: 0 !important;
  z-index: 999999 !important;
  width: 100% !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#navbar_CT.is-sticky-active {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}