/* Remove category / author / post meta */
.single-post .entry-meta {
    display: none !important;
}

/* Remove Previous / Next Post navigation */
.single-post .post-navigation,
.single-post .nav-previous,
.single-post .nav-next {
    display: none !important;
}

/* Active category in project menu */
.menu-item.active > a,
.menu-item.current-menu-item > a,
.menu-item.current_page_item > a,
.elementor-nav-menu a.active {
    color: #5e6c51 !important;
}

/* Optional underline */
.menu-item.active > a::after,
.menu-item.current-menu-item > a::after {
    width: 100%;
    opacity: 1;
}

/* SAS child category active state */
.sas-child-active > a {
    color: #5e6c51 !important;
}


/* =========================================
   SAS TEAM — GLOBAL TYPOGRAPHY
   TT NORMS PRO MEDIUM
   ========================================= */

/* Load TT Norms Pro Medium */
@font-face {
    font-family: "SAS TT Norms";
    src: url("https://sasteam.in/wp-content/uploads/2026/09/TTNormsPro-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}


/* =========================================
   GLOBAL TEXT
   ========================================= */

html body {
    font-family: "SAS TT Norms", sans-serif !important;
}


/* =========================================
   HEADINGS
   ========================================= */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
    font-family: "SAS TT Norms", sans-serif !important;
    font-weight: 500 !important;
}


/* =========================================
   NORMAL TEXT
   ========================================= */

p,
li,
label,
input,
textarea,
select,
button,
blockquote,
figcaption,
th,
td,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-icon-list-text {
    font-family: "SAS TT Norms", sans-serif !important;
    font-weight: 500 !important;
}


/* =========================================
   ELEMENTOR TEXT
   ========================================= */

.elementor,
.elementor-widget,
.elementor-widget-container,
.elementor-button,
.elementor-tab-title,
.elementor-tab-content,
.elementor-accordion-title,
.elementor-accordion-content,
.elementor-toggle-title,
.elementor-toggle-content {
    font-family: "SAS TT Norms", sans-serif !important;
}


/* =========================================
   NAVIGATION / MENU
   ========================================= */

.elementor-nav-menu a,
.elementskit-navbar-nav > li > a,
.elementskit-menu-container a,
.elementskit-megamenu-panel a,
.elementskit-dropdown a,
.elementskit-submenu-panel a {
    font-family: "SAS TT Norms", sans-serif !important;
    font-weight: 500 !important;
}


/* =========================================
   WORDPRESS / ASTRA TEXT
   ========================================= */

body,
button,
input,
select,
textarea,
.ast-button,
.ast-custom-button,
.wp-block-button__link,
.wp-block-heading {
    font-family: "SAS TT Norms", sans-serif !important;
    font-weight: 500 !important;
}


/* =========================================
   DO NOT CHANGE ICON FONTS
   ========================================= */

.elementor-icon,
.elementor-social-icon,
.elementor-social-icon i,
.elementor-widget-social-icons i,
.elementskit-menu-hamburger,
i[class*="fa-"],
.fa,
.fas,
.far,
.fal,
.fab {
    font-family: initial !important;
}

/* REMOVE ASTRA RELATED POSTS FROM SINGLE PROJECT POSTS */

.single-post .ast-single-related-posts-container,
.single-post .ast-related-posts-wrapper,
.single-post .ast-related-posts-title-section {
    display: none !important;
}

.single-post .ast-single-related-posts-container {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}


/* SAS TEAM — Elementor category active underline */
.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"] {
    position: relative;
}

.elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: #5e6c51;
}


/* Hide related posts on individual project posts */
.single-post .jp-relatedposts,
.single-post .wp-block-jetpack-related-posts,
.single-post .ast-single-related-posts-container {
    display: none !important;
}

/* SAS TEAM - Sticky Footer Layout */

/* Make the page fill the screen */
html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Allow the main page content to grow */
body > #page,
body > .site,
body > .wp-site-blocks {
    flex: 1 0 auto;
}

/* Keep the footer at the bottom */
body footer,
body .elementor-location-footer {
    margin-top: auto;
}
