/*====================================================================
   Custom CSS File for most of Desktop and Mobile look for Kipya Template
   Developed by Amazing LWEGATECH LTD team.
===================================================================**/
:root {
	--kpy-font: "Open Sans", sans-serif;
	--kpy-font-2: "Oswald", sans-serif;
	--kpy-font-3: "Roboto", sans-serif;
	--kpy-font-4: "Roboto Condensed", sans-serif;
	--kpy-font-5: "Inter", sans-serif;
	--kpy-base: #e82a2a;
	--kpy-base-rgb: 232, 42, 42;
	--kpy-yellow: #fcd20a;
	--kpy-yellow-rgb: 252, 210, 10;
	--kpy-green: #50C878;
	--kpy-green-rgb:135, 196, 65 ;
	--kpy-grey: #7f7873;
	--kpy-grey-rgb: 127, 120, 115;
	--kpy-white: #ffffff;
	--kpy-orange:rgb(239 99 0);
	--kpy-white-rgb: 255, 255, 255;
	--kpy-black: #000;
	--kpy-black-rgb: 51, 51, 51;
	--kpy-primary:#2375b1;
	--kpy-primary-rgb: 37, 137, 202;
	--kpy-font-size: 16px;
	--kpy-font-size-1: 40px;
	--kpy-font-size-2: 22px;
	--kpy-font-size-3: 19px;
  }
  
  html,body {
	font-family: var(--kpy-font-5)!important;color:var(--kpy-black);font-size: var(--kpy-font-size);font-weight: 300;line-height: 1.6; text-rendering: auto; height:100vh;margin: 0;  font-optical-sizing: auto;}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-family: var(--kpy-font-4);
  font-weight: 800;
}

/** =========================================================
Fading Effects
==========================================================**/
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.animate {
  animation: fadeUp 0.8s ease-out forwards;
}
	
/** ==========================================================
Header Section
===========================================================**/
.menu-section {font-family: var(--kpy-font);height: auto;top: 0;z-index: 1000;background: var(--kpy-black);display: flex; align-items: center;transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 2px 10px rgba(0, 0, 0, 0);}
.menu-section .top-right-widget{margin-top:10px;display:flex;align-items:center;flex-wrap:nowrap;gap:20px;justify-content:flex-end;white-space:nowrap;}.menu-section .top-right-widget>*{display:inline-block;white-space:nowrap}.menu-section .top-right-widget div{margin-right: 10px;}
.menu-section .top-right-widget span {font-size:16px;padding-right: 30px;}
.menu-section .top-right-widget span strong{font-size: 22px; color: #ffcb01;font-family: var(--kpy-font-3);}
.menu-section .top-right-widget ul {margin-bottom:0;}
.main-header-menu {margin:auto 80px;margin-top: -35px;}

.menu-section img {	width: 150px;height: 60px; margin-top:5px; padding: 2px;background: transparent;border-radius: 0; transition: .4s ease-in-out;}
.menu-section .menu-item .nav-link{font-size: 15px; font-weight: 500;color:#fff;text-transform: uppercase;padding-right: 10px !important;}
.menu-section .menu-item .nav-link.active,
.menu-section .menu-item .nav-link:hover{color:var(--kpy-primary);}
.menu-section .menu-item .nav-link:focus .dropdown-item:hover{background: #E82A2A; color: #fff;}

.menu-section .dropdown-toggle::after {content: "\F282";display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-weight: 600 !important; font-variant: normal;text-transform: none;
  line-height: 1; vertical-align: -.125em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-right: .5rem; border:none!important;
margin-left: .3rem;
}
.menu-section .dropdown-menu{border-radius: 0px;width: 250px;padding: 0;border: 0;box-shadow: 0px 5px 25px #0000000d;}
.menu-section .dropdown-menu ul{min-width: 100% !important;}
.menu-section .dropdown-item{list-style:none;min-width: 100% !important;height:auto;  transition: .4s ease all;font-size: 16px;padding: 15px 20px 15px 5px;font-weight: 400;border-bottom: solid 1px #f9f9f9;color: var(--kpy-black);}
.menu-section .dropdown-item:before{font-family:'bootstrap-icons'; content:" \F285";margin-right:5px;font-size:80%;}
.menu-section .dropdown-item:hover{background:#E82A2A;color: #fff;transition: .3s ease-in-out;border-bottom: 0;padding-left: 15px;font-weight: 600;}
.menu-section .dropdown-item.active, .dropdown-item:active{background:#E82A2A;color: #fff;}
.menu-section .dropdown-item li {  font-weight: 400;  font-size: 16px; padding: 7px 20px;margin-bottom: 0;}
.menu-section .menu-item:hover > .dropdown-menu {display: block;}
.sticky-logo {display: none;}
.sticky-header {position: fixed;top: 0;width: 100%;box-shadow: 0 0 10px rgba(0, 0, 0, 0.21);background-color:var(--kpy-green); z-index: 1000; height:auto;}
.post-category a{color:var(--kpy-white);font-size:25px;}
.sticky-header.menu-section .nav-link{font-size:12px;color:var(--kpy-white);}
/* Hide sticky logo by default */
.sticky-logo {
    display: none;
}

/* Show sticky logo only in sticky header */
.sticky-header .sticky-logo {
    display: none;
}

/* Hide regular logo in sticky header */
.sticky-header .logo {
    display: none;
}

/** =====================================================================
*search
=======================================================================**/
.header-search i{color:var(--kpy-white);}
.header-search input{visibility: hidden;}
.header-search ul.search-dropdown{display: none;}
.header-search label{position: relative;display: block;cursor: pointer;margin-top: -20px}
.header-search input:checked~ul.search-dropdown{display: block;position: absolute;z-index: 119;}
.search-dropdown .input-group{right:100%;flex-wrap: unset;margin-top:28px;}
.search-dropdown ul li{list-style: none !important;}
.search-dropdown .input-group input{visibility:visible;width: 600px !important;height: 60px;}
.search-dropdown .input-group .btn-search{background:#0b5a5f;color:#fff;}
#search-results {display: none;right: 100%;position: relative;background:rgba(57, 139, 255, 0.7);padding: 1em;
    font-size: small;list-style: none;max-height: 300px;overflow-y: auto;width: 100%;border: 1px solid #ccc;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
#search-results a{color:#fff}
.search-result-item {margin-bottom: 3px;padding: 5px;}
.search-result-item h5 {margin: 0;font-size: 1.1em;}
.search-result-item p {margin-top: 2px;color: #fff;font-size: 0.9em;margin-bottom: 5px;}
.search-result-item:hover{background: rgba(245, 227, 225, 0.2);}

/**modal search**/
.modal-search{background: rgba(57, 139, 255, 0.57);}
.modal-search .modal-body{align-items: center;}
.modal-search input{height: 60px;width: 600px;}
.modal-search .input-group .btn-search{background: #00AEEF;color:#fff;}
.modal-search #search-results {display: none;right: 0;position: relative;background: rgba(57, 139, 255, 0.57);	padding: 1em;list-style: none;width: 100%;border: 0px solid #ccc;color:#fff;}
.modal-search  #search-results a{color:#00aeef;}
.modal-search .search-result-item {margin-bottom: 3px;padding: 5px;}
.modal-search .search-result-item h5 {margin: 0;font-size: 1.15em;}
.modal-search .search-result-item p {margin-top: 2px;color: #eee;font-size: 0.95em;margin-bottom: 5px;}
.modal-search .search-result-item:hover{background: rgba(0, 175, 239, 0.139);}


/*==========================================================
# Back to top button
==========================================================**/
.back-to-top {position: fixed;opacity: 0; visibility: hidden;right: 15px;bottom: 15px;z-index: 99999;    background: var(--kpy-base);width: 40px;height: 40px;border-radius: 4px;transition: all 0.4s;}
.back-to-top i {font-size: 24px;color: #fff;padding: 5px;text-align: center;}
.back-to-top:hover {background: var(--kpy-yellow);color: #fff;}
.back-to-top.active {visibility: visible;opacity: 1;}


/** ==========================================================
Homepage Layout
===========================================================**/
.home-sidebar{margin-top:150px;}
.sidebar-title h3{border-bottom: 3px solid #007cba;}
.latest-news-container {
        margin-bottom: 40px;
    }
.top-news-container{margin-top:50px;}
    .category-section {
        margin-bottom: 50px;
    }
    
    .category-title {
        font-size: 2.2em;
        font-weight: bold;
        margin-bottom: 25px;
        color: #333;
        border-bottom: 3px solid #007cba;
        padding-bottom: 10px;
    }
    
    .articles-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
        min-height: 400px;
    }
    
    .featured-article {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .featured-article .article-title{font-size:28px;}
    .featured-article:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .small-articles {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .small-article {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex: 1;
    }
    
    .small-article:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    }
    
    .article-thumbnail {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    
    .featured-article .article-thumbnail {
        height: 100%;
        max-height:500px;
        object-fit:cover;
    }
    
    .small-article .article-thumbnail {
        height: 150px;
    }
    
    .article-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
        color: white;
        padding: 20px;
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
    
    .small-article .article-overlay {
        padding: 15px;
    }
    
    .article-title {
        font-size: 22px;
        font-weight: 600;
        line-height: 1.0;
        margin: 0 0 8px 0;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .small-article .article-title {
        font-size: var(--kpy-font-size-3);
        margin-bottom: 5px;
    }
    
    .article-meta {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 0.9em;
        opacity: 0.9;
    }
    
    .small-article .article-meta {
        font-size: 0.8em;
    }
    
    .article-author,
    .article-date {
        margin: 0;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .article-author {
        font-weight: 500;
    }
    
    .article-date {
        font-style: italic;
    }
    
    .article-link {
        text-decoration: none;
        color: inherit;
        display: block;
        height: 100%;
    }
    
    .category-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.8em;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 2;
        backdrop-filter: blur(4px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
    
    .small-article .category-badge {
        top: 8px;
        right: 8px;
        padding: 4px 8px;
        font-size: 0.4em;
        font-family:var(--kpy-font-5);
    }
    
    .no-articles {
        grid-column: 1 / -1;
        text-align: center;
        padding: 40px;
        color: #666;
        font-style: italic;
    }
    .sticky-container{position:relative;min-height:100vh;}
    .sticky-side{position:sticky;top:20px;}
    @media (max-width: 768px) {
        .articles-grid {
            grid-template-columns: 1fr;
            gap: 15px;
        }
        
        .small-articles {
            flex-direction: row;
            overflow-x: auto;
            gap: 10px;
        }
        
        .small-article {
            min-width: 200px;
            flex-shrink: 0;
        }
        
        .category-title {
            font-size: 1.8em;
        }
        
        .featured-article .article-thumbnail {
            height: 250px;
        }
        
        .category-badge {
            top: 8px;
            right: 8px;
            font-size: 0.7em;
            padding: 4px 8px;
        }
        
        .small-article .category-badge {
            top: 6px;
            right: 6px;
            font-size: 0.6em;
            padding: 3px 6px;
        }
    }
/** ============================================================
Photo Gallery Page CSS
=============================================================**/
.gallery-page{padding:60px 0;}.gallery-container{display:flex;flex-wrap:wrap;justify-content:space-between;}
.gallery-item{flex:1 1 28%;box-sizing:border-box;margin:1% 1.5% 2.5%;text-align:center;}
.gallery-info a.gallery-img-link .gallery-img-title{font-size:1rem;font-weight:700;color:#555;}
.gallery-info .gallery-img-count{color:#E82A2A;font-size:0.9rem;font-weight:600;}
.gallery-stack{border:6px solid #fff;position:relative;height:320px;width:100%;margin-bottom:20px;box-shadow:2px 2px 5px rgba(0,0,0,0.3);}
.gallery-stack:before,.gallery-stack:after{content:"";position:absolute;width:100%;height:320px;border:6px solid #fff;box-shadow:2px 2px 5px rgba(0,0,0,0.3);}
.gallery-stack:before{background:#eff4de;z-index:-1;top:0;left:-10px;transform:rotate(-5deg);}
.gallery-stack:after{background:#768590;z-index:-1;top:5px;left:0;transform:rotate(4deg);}.gallery-stack img{width:100%;object-fit:cover;object-position:center top;height:100%;}
.gallery-info{padding:5px 0;}.gallery-img-title,.gallery-img-count{margin:0;}


/** ==========================================================
Single Article Page
===========================================================**/
.bottom-ad{width:400px;margin-bottom:20px;}
.single-article-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    margin-right: 10px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.single-article-badge:hover {
    opacity: 0.9;
}
.post-content { box-shadow: 3px 3px 17px 0 rgba(0,0,0,.05); padding: 0; border-radius: 6px; background: linear-gradient(0deg,rgba(223, 223, 223, 0.03) 20%,#fff 70%,#fff 100%); }
.post-content h1 { font-size: 26px; font-weight: 500; color: #000; margin-bottom: .7rem; }
.post-content img { width: 100%; height: 500px; object-fit: cover; margin-bottom: 20px;border-radius: 15px;}
.post-content p { margin: 0 0 1.6875rem; }
.post-content h3 {font-size:1.25rem;}
.news-inner-title{font-family:var(--kpy-font-2);color:var(--kpy-primary);}
.post-content img { width: 100%; height: auto; }
p.author { line-height: 3; border-bottom: dotted 1px #eee; margin-bottom: 2rem; color: #E82A2A; }
p.post-meta { position: relative; color: #fec679; font-size: 20px; margin: -18px 0 25px; }
p.post-meta i { margin-right: 10px; }
.newsletter h2 { font-size: 36px; font-weight: 800; color: #E82A2A; text-align: center; margin-bottom: 2.5rem; }
.about-side .post-thumbnail img { width: 100%; height: 150px; object-fit: cover; }
.about-side .card-body h5 { font-size: 16px; }
.about-side .card-body .catz { font-size: 12px; color: #E82A2A; }
.related-news {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 20px;
                margin-bottom: 40px;
            }
            
            .related-news-item {
                position: relative;
                border-radius: 8px;
                overflow: hidden;
                transition: transform 0.3s ease;
                background: #fff;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }
            
            .related-news-badge {
                position: absolute;
                top: 12px;
                right: 12px;
                padding: 6px 12px;
                border-radius: 20px;
                background-color: #0073aa;
                color: white;
                font-size: 10px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                z-index: 3;
                text-decoration: none;
                transition: opacity 0.3s ease;
            }
            
            .related-news-item:hover {
                transform: translateY(-5px);
            }
            
            .related-news-thumbnail {
                width: 100%;
                height: 200px;
                overflow: hidden;
            }
            
            .related-news-thumbnail img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: transform 0.3s ease;
                border-radius: 8px 8px 0 0;
            }
            
            .related-news-item:hover .related-news-thumbnail img {
                transform: scale(1.05);
            }
            
            .related-news-content {
                padding: 15px;
            }
            
            .related-news-title h3 {
                margin: 0 0 10px 0;
                font-size: 18px;
                line-height: 1.3;
                color: #333;
                font-weight: 600;
            }
            
            .related-news-title a {
                text-decoration: none;
                color: inherit;
            }
            
            .related-news-title a:hover {
                color: #0073aa;
            }
            
            .related-news-excerpt {
                font-size: 14px;
                color: #666;
                margin-bottom: 10px;
                line-height: 1.5;
            }
            
            .related-news-meta {
                font-size: 12px;
                color: #999;
                display: flex;
                align-items: center;
            }
            
            .related-news-meta svg {
                width: 12px;
                height: 12px;
                margin-right: 5px;
                fill: currentColor;
            }
            
            @media (max-width: 1024px) {
                .related-news {
                    grid-template-columns: repeat(2, 1fr);
                }
            }
            
            @media (max-width: 600px) {
                .related-news {
                    grid-template-columns: 1fr;
                }
            }

/** =====================================================
INYANA INNER PAGES
========================================================**/
.header-programs{min-height:400px;position:relative;overflow:hidden;} 
.header-programs .overlay {position:absolute;height:100%;width:100%;top:0;left:0;background:linear-gradient(to right, rgba(70, 31, 14, 0.451), rgba(70, 31, 14, 0.12));color:white;display:flex;align-items:end;padding:0 0 0 70px;box-sizing:border-box;z-index: 9;}
.header-programs h1{font-weight: 700;text-shadow: 0 0 20px #000;width: 100%;}
.header-programs p{text-shadow: 0 0 20px #000;}
.header-programs .breadcrumb{font-size: 12px;color: #ff0;}
.header-programs .breadcrumb a{color:#ff9;}
.overlay .page-title {width:90%;}
.header-wrap{min-height:500px;overflow:hidden;top: 110px;padding-top: 200px;}
.header-wrap1{margin-top: 100px;position: relative;}
.default-title{font-size: 60px;font-weight: 700;}
.news-title{font-size: var(--kpy-font-size-1);font-weight: 700;text-align: left;margin-top:20px;padding-bottom:0px;color:var(--kpy-black);}
.post-thumbnail img{width:100%;height:500px;margin-bottom:10px;object-fit:cover;border-radius:15px;}



/** =========================================================
Event Details - Canvas
===============================================================**/
.kpy_event_details { height: calc(100vh - 6px ); padding: 20px 30px 20px 25px; margin-bottom: 6px; }
.kpy_event_details img.wp-post-image { height: 200px !important; }
.kpy_event_details .offcanvas-header { padding: 10px 10px 0; }
.kpy_event_details .offcanvas-title { font-size: 20px; font-weight: 500; line-height: 2; color: #E82A2A; border-bottom: dotted 1px #eee; }
.kpy_event_details .time, .kpy_event_details .location { color: #E82A2A; font-weight: 500; }
.kpy_event_details .btn-close { width: 35px; height: 35px; display: inline-block; text-align: center; border: 1px solid transparent; position: relative; cursor: pointer; transition: all .2s; top: 0; }

/**====================================================
Category Pages
=======================================================**/
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem !important;
    }
    
    /* Stack columns on mobile */
    .col-lg-6:first-child {
        margin-bottom: 2rem;
    }
    
    /* Adjust right column height on mobile */
    .d-flex.flex-column {
        height: auto !important;
        overflow-y: visible !important;
    }
    
    /* Grid adjustments on mobile */
    .col-lg-4.col-md-6.mb-4 {
        margin-bottom: 2rem !important;
    }
}


/* Smooth transitions */
a, img {
    transition: all 0.3s ease !important;
}

/* Custom scrollbar for the right column */
.d-flex.flex-column::-webkit-scrollbar {
    width: 6px;
}

.d-flex.flex-column::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
}

.d-flex.flex-column::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.d-flex.flex-column::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Card hover effect for grid articles */
.col-lg-4 article:hover {
    transform: translateY(-2px);
}

/* Ensure proper spacing */
.container {
    padding-left: 15px;
    padding-right: 15px;
}
.cat-article{font-size: 22px; font-weight: 600; letter-spacing: 0.1em;}
/* Main Layout */
.cat-main-content {
    background-color: #ffffff;
}

/* Header Section */
.cat-header-wrap {
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.cat-header-title {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cat-header-description {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.cat-content-section {
    padding: 3rem 0;
}

.cat-content-container {
    max-width: 1200px;
}

/* Breadcrumbs */
.cat-breadcrumb-custom {
    background: none;
    padding: 0;
}

/* Featured Article */
.cat-featured-image-wrapper {
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.cat-featured-image {
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.cat-featured-image:hover {
    transform: scale(1.02);
}

/* Category Tags */
.cat-category-tag {
    color: var(--kpy-grey);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cat-category-tag-small {
    color: var(--kpy-grey);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Article Titles */
.cat-article-title {
    font-size:22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--kpy-black);
    margin-bottom: 1rem;
}

.cat-article-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-article-link:hover {
    color: var(--kpy-primary);
}

/* Article Meta */
.cat-article-date {
    color: var(--kpy-grey);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Article Content */
.cat-article-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Read More Links */
.cat-read-more-link {
    color: var(--kpy-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.cat-read-more-link:hover {
    color: #0052a3;
}

.cat-read-more-link-small {
    color: #0066cc;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.cat-read-more-link-small:hover {
    color: var(--kpy-primary);
}

/* Sidebar Articles */
.cat-sidebar-articles {
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow-y: auto;
    padding-right: 15px;
}

.cat-sidebar-article {
    margin-bottom: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.cat-sidebar-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 150px;
}

.cat-sidebar-image {
    object-fit: cover;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.cat-sidebar-image:hover {
    transform: scale(1.05);
}

.cat-sidebar-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.cat-sidebar-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-sidebar-link:hover {
    color: var(--kpy-primary);
}

.cat-sidebar-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cat-sidebar-excerpt {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--kpy-black);
    margin: 0;
}

/* Advertisement */
.cat-center-ad {
    text-align: center;
}

.cat-ad-image {
    width: 400px;
    margin-bottom: 20px;
}

/* Bottom Grid Section */
.cat-bottom-section {
    border-top: 1px solid #e9ecef;
    padding-top: 0.5rem;
    margin-top: 0.25rem;
}

.cat-grid-article {
    height: 100%;
    display: flex;
    transition: transform 0.3s ease;
}

.cat-grid-image-wrapper {
    width: 40%;
    flex-shrink: 0;
    margin-right: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.cat-grid-image {
    max-height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    height: 100%;
}

.cat-grid-image:hover {
    transform: scale(1.05);
}

.cat-grid-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.cat-grid-link {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-grid-link:hover {
    color: var(--kpy-primary);
}

.cat-grid-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.cat-grid-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

/* Pagination */
.cat-pagination-wrapper {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.cat-page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cat-page-numbers:hover,
.cat-page-numbers.current {
    background-color: #0066cc;
    color: white;
    text-decoration: none;
}
@media (max-width: 767px) {
    .cat-header-wrap {
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(168, 169, 173, 0.3)), url('<?php echo esc_url($header_image_url); ?>') no-repeat center center;
        background-size: cover;
        padding: 80px 0;
    }
    
    .cat-sidebar-article .row {
        flex-direction: column;
    }
    
    .cat-sidebar-article .col-4 {
        width: 100%;
        margin-bottom: 15px;
    }
}
/** ==========================================================
Upcoming Events Page
===========================================================**/
.event-container{width:60% !important;margin:0 auto;}
.kpy_events .card{min-height:300px;}
.kpy_events img {width: 100%; height: 150px;  object-fit: cover;}
.kpy_events .date {font-size: 13px;font-weight: 500; color: #E82A2A; margin-bottom: 1rem;}
.kpy_events h2 {font-family:var(--kpy-font);color: var(--kpy-primary);}
.kpy_events h3 {font-family:var(--kpy-font); font-size: 17px;font-weight: 500;color: #333;overflow: hidden;  text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;line-clamp: 3; -webkit-box-orient: vertical;}
.kpy_events .location {color: #E82A2A;}
.kpy_events .cal-badge{position: relative;float: left;width: 80px;height: 75px;
    padding-top: 18px;border: 2px solid rgba(var(--kpy-base-rgb), 0.4);border-radius: 2px;text-align: center;}
.kpy_events .cal-badge:before {content: "";position: absolute;top: -7px;left:13px;width: 2px;height: 11px;border-radius: 2px;background: rgba(var(--kpy-base-rgb), 0.4);}
.kpy_events .cal-badge:after {content: "";position: absolute;top: -7px;right: 13px;width: 2px;height: 11px;border-radius: 2px;background: rgba(var(--kpy-base-rgb), 0.4);}
.kpy_events .cal-badge .kdate{margin-bottom: 4px;font-size: 36px; color:var(--kpy-base);line-height: 22px;font-weight:800;}
.kpy_events .cal-badge .kmonth{font-size: 14px;color:var(--kpy-primary);line-height: 22px;}
.upcoming-events{background-color: rgba(101, 93, 93, 0.05);padding:30px 15px;}
.upcoming-events h2{font-family:var(--kpy-font); color: #5EC401;font-weight: 600;margin-bottom: 20px;}
.all_events h2{font-family:var(--kpy-font); font-size: 26px;color:#000;font-weight: 700;line-height: 1.5;margin-bottom: 10px;}
.all_events .time{font-size: 14px;color:#E82A2A;margin-bottom: 10px;}
.all_events .time small{color:#000;}
.all_events .content{font-size: 15px;margin-bottom: 10px !important;}
.all_events .btn-outline-danger{margin-top:10px;color: #E82A2A;border: 0px solid #E82A2A;}
.all_events .btn-outline-danger:hover{background-color: #E82A2A;}
.ev-details{color:#000}
.ev-details i{font-size: 35px;}

/** =========================================================
NEWS section
===============================================================**/
.news-section{padding: 5px 15px;}
.news-section .card{min-height: 300px;}
.news-section h2{text-align: center;font-weight: 600 !important;color:#5EC401;margin-bottom: 20px;}
.news-section h3{font-size:24px;font-family: 'Khand','Roboto', sans-serif;color:#333; margin-top:10px;display: -webkit-box; -webkit-line-clamp: 3;  -webkit-box-orient: vertical;  overflow: hidden; }
.news-section .catz{font-size:14px;background:rgb(94, 196, 1, 0.95);color:#fff; padding:2px 5px;top:165px;position: absolute;min-width:150px}
.news-section .post-thumbnail img{width:100%;height:180px !important;object-fit: cover;}
.kpy-news img {width: 100%; height: 150px;  object-fit: cover;}
.kpy-news .date {font-size: 13px;font-weight: 500; color: #E82A2A; margin-bottom: 1rem;}
.kpy-news h3 {font-size: 24px;font-family: 'Khand','Roboto', sans-serif;font-weight: 600;color: #333;overflow: hidden;  text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 3;line-clamp: 3; -webkit-box-orient: vertical;margin-bottom: 1rem;}
.kpy-news a.btn-outline-info {color: #E82A2A; border-color:#E82A2A;border-radius: 50px;padding: 2px 20px;font-size: 14px;font-size: 500;}
.kpy-news a.btn-outline-info:hover {color:#fff; background-color:#E82A2A;}
.kpy-news .catz{font-size: 16px; font-weight: 500; color: #3d9846;margin-bottom: .3rem;font-family: 'Roboto condensed','Roboto',sans-serif;}
.kpy-news .catz i::before {padding-right:0.5rem;}

.kpy-all-news .post-thumbnail{margin: 20px 0 20px 0;border-radius: 15px;width: 100%;overflow: hidden;transition: all .3s cubic-bezier(.3,.58,.55,1);}
.kpy-all-news img {width: 100%; height: 400px;  object-fit: cover;overflow-clip-margin: content-box;overflow: clip;}
.kpy-all-news .post-thumbnail:hover img{zoom: 1;transform: scale(1.05) !important; transition: transform 2.4s cubic-bezier(.075,.82,.165,1);vertical-align: top;}
.kpy-all-news h3{font-size: 34px;font-weight: 700;margin: 20px 0 5px 0;color: #000000;letter-spacing: 0px;line-height: 1.5;}
.kkpy-all-news .catz{margin: 0 0 10px 0;display: inline-block;font-size: 15px;font-weight: 500;}
.kpy-all-news .catz i::before {padding-right:0.5rem;}
.kpy-all-news .post-excerpt p{padding-top: .7em;padding-bottom: 1.3em;color: #000000;line-height: 1.7;}
.kpy-all-news .read-more{color: #000;display: flex;transition: 0.5s all;}
.kpy-all-news .read-more::after{content:"\F138" ;font-family: bootstrap-icons;font-size: 15px;margin-left: 5px;}
.kpy-all-news .read-more:hover{color:#E82A2A; transition: 0.3s all;}
.kpy-all-news .read-more:hover:before{content:"\F63B" ;font-family: bootstrap-icons;font-size: 15px;margin-right: 5px;color:#E82A2A;}

/** =========================================================
TEAM section
===============================================================**/
.team{padding-right: 15px;}
.team .card{background: aliceblue;margin-bottom: 2rem !important;border-radius: 0px;box-shadow: none;}
.team .post-thumbnail img{height:280px;width:100%;object-fit: cover;object-position: top;}
.team-details h4 {font-size:32px; font-weight: 560;color: #e82a2a;font-family: 'Khand', 'Roboto',sans-serif;}
.team-details p {font-size: 15px;margin-bottom: 10px;}
.team .team-details .btn-outline-primary{color: #E82A2A;font-size: 14px;padding: 5px 20px;border: solid 1px #E82A2A;border-radius: 0px;}
.team .team-details .btn-outline-primary:hover{border:1px solid #E82A2A !important;color:#fff;background-color:#E82A2A;}
.member-details img{height:450px;width:100%;object-fit: cover;object-position: top;}
.member-details .btx{margin-left: 90%;  margin-top: 10px;}
.member-details h4, .partner-details h4{font-weight: 500; font-size: 25px !important; line-height: 1.5;}
.member-details .modal-body span::after, .partner-details .modal-body span::after {border-bottom: 2px solid #eee; padding-bottom:10px;margin-bottom: 10px;}
.member-details .modal-body p.title,.partner-details .modal-body p.title{border-bottom: dotted 2px #eee; color:#E82A2A;}
.modal.show .modal-dialog {padding: 20px; background: #fff;}
.modal-content {max-height: 450px; overflow-y: auto;}
.steering, .management{padding-top:30px;}
.nhteam {padding-left:0 !important;}
.nhteam .steering{color:#c84034;}
.nhteam .management{color:#125e63;}



/** ============================================================
Publication Page CSS
=============================================================**/
.pub-content-area {padding:60px 0;width:75%!important;font-family:var(--kpy-font);}
.publications .pdf-thumbnail img {width: 100%; object-fit: cover; height: 300px; object-position:top;}
.publications .member-thumbnail img { margin: auto;  width:60%;height: auto;display: block;}
.publications .member-link a {color: #E82A2A;font-weight: 500;}
.publications .member-link a::after { content: "\F141"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-variant: normal; text-transform: none; vertical-align: -.2em;   padding-left: 5px;}
.publications .member-link {padding:10px 0;}
.publications h4{font-family:var(--kpy-font); }
.publications h4.pub-title {font-size: 20px;margin: 10px 0 0;font-weight: 600; color: var(--kpy-primary); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;}
.publications h4.member-title {color: #c53f33; font-weight: 700; font-size: 26px;transition:.5s all;}
.publications h4.member-title:hover {text-decoration:underline;}
.publications h3.pub-title {font-size: 20px;margin: 10px 0 0;font-weight: 700; color: #333;overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}

.publications h5.pub-summ, .about-side-pub h4.pub-summ, .publications .member-summ strong{font-weight:800;}
.publications .member-summ {margin-top:-.75em;}
.publications .pub-desc {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 0 1em 0; font-size: 1rem; line-height: 1.5;}
.publications .pub-link a {color: #E82A2A; font-size: 16px;}
.publications .pub-link a::after { content: "\f138"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-variant: normal; text-transform: none; vertical-align: -.3em;   }

.pub-download a {border: 2px solid #333333; padding: 8px 15px; font-size: 18px; font-weight: 500;	color: #333333; transition:.5s all;display: inline-block;}
.pub-download a::before { content: "\f30A"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-variant: normal; text-transform: none; vertical-align: -.1em;   padding-right: 0.6rem;}
.pub-download:hover a {color:#fff; background:#333333;}
.table > thead {display:none;} 
tr:hover td, tbody tr:hover th {transition:.5s;}
tr:hover td, tbody tr:hover th {   background-color: #f9fafc; }
table.dataTable tbody tr {margin: 15px 0; display: block; border-bottom: solid 1px #25aae03d;}
table.dataTable tbody th, table.dataTable tbody td {padding: 15px 10px;}
#downloads-table small {font-weight:500;}
table.dataTable.no-footer {border-bottom:none!important;border-top: 1px solid #eee;padding-top: 10px;}
#downloads-table_length label, #downloads-table_info, #downloads-table_paginate, .dataTables_wrapper .dataTables_paginate .paginate_button, #downloads-table_filter label {font-weight: 500; padding: 10px 15px; color:var(--kpy-black) !important;}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color:#00aeef!important;}
.dataTables_wrapper .dataTables_length select {border: 1px solid #00aeef !important; border-radius: 0px !important; padding: 5px !important;color: #00aeef;}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {background:transparent!important; color:#00aeef !important; border:1px solid !important; transition:.5s all;border-radius: 0;}
.dataTables_wrapper .dataTables_filter input {border: 1px solid #00aeef!important; border-radius: 0px!important; margin-left: 5px!important;}
/**===================================================
*Photo Gallery
====================================================**/
.gallery-grid .card-img-top{height: 200px; object-fit: cover;}
.gallery-grid h5{font-family:var(--kpy-font)}
.allgallery img{height:300px;width: 100%; object-fit: cover;object-position: top;}
.allgallery .card-body h3{font-size:15px;font-family:var(--kpy-font);}
.allgallery  .card-body:hover{background: #E82A2A;transition:.5s all;}
.allgallery  .card-body:hover h3{color:#fff;}
.mygallery .ksmall{height: 200px;width: 300px; object-fit: cover;object-position: top;}
.about-side h5{font-family:var(--kpy-font);}

/** ============================================================
Single Publication Page CSS
=============================================================**/
.about-side-pub {padding-left: 5%;	border-left: 1px solid #ccc;}
.about-side-pub h1 {margin-bottom:1.5rem 0 1rem;}
.pub-stats {color: #E82A2A;	font-size: 16px;}
.pub-single .post-thumbnail {position:sticky;}

/** ============================================================
Contact Page CSS
=============================================================**/
.contact-map { padding: 3%; box-shadow: 0px 0px 23px 0px rgba(0, 0, 0, 0.08); background: #fff;}
.contact-details ul {padding: 0; margin: 0;}
.contact-details li {display: flex; align-items: center; gap: 10px; margin-bottom: 10px;}
.contact-details i {color: #e82a2a; font-size: 20px;}
.contact-details a {text-decoration: none; color: #333; font-size: 16px;line-height: 24px;font-weight: 300;}
.contact-details a:hover {color: #e82a2a;}
.get_directions{padding-top:20px;} 
.get_directions a{border:1px solid #fff; font-size:18px;font-weight:400;color:#fff; transition:0.4s;background:#e82a2a;border-color:#e82a2a;} 
.get_directions a:hover{background-color:transparent;color:#e82a2a;border:1px solid #e82a2a;} 
.get_directions a:hover img{filter:brightness(0) saturate(100%) invert(11%) sepia(95%) saturate(6648%) hue-rotate(346deg) brightness(83%) contrast(95%);}
.get_directions a::after, .inyana-blog .card-body a.read-more::after {content: "\F138"; display: inline-block; font-family: bootstrap-icons !important; font-style: normal; font-variant: normal; text-transform: none; vertical-align: -.3em; padding-left: .6rem; font-size: 1.1rem;}

/** ============================================================
Error 404 Page Not Found CSS
=============================================================**/
.Error_404 {overflow: hidden; padding:80px 0 120px;}
.Error_404 .error_pic {width: 35%; float: left; text-align: center;}
.Error_404 .error_pic i {color: #E82A2A; font-size: 250px; line-height: 250px; margin-right: .2em; text-align: center; font-variant: normal; text-transform: none; margin-left: .2em;}
.Error_404 .error_desk {width: 65%; float: left; padding-top: 40px;}
.Error_404 .error_desk h2 {font-size: 55px; line-height: 60px;color: #E82A2A;font-weight: 500;}
.Error_404 .error_desk h4 {font-size: 28px; line-height: 30px;}
.Error_404 .error_desk p .check {line-height: 45px; font-size: 16px;}
.Error_404 .error_desk p .button {padding: 13px 20px; margin: 0; border-radius: 5px; display: inline; margin-left: 10px; box-shadow: inset 0 0 0 0;}
.Error_404 .error_desk p .button:hover{color:#f9f9f9; text-decoration: none; background: #E82A2A;}
a.button, a.tp-button {transition:.2s all; background: transparent; color: #E82A2A; border:solid 2px;}
.wp-block-ub-tabbed-content-tab-title strong {font-weight:500!important;}
.text-dark {color:#a88343;}


/** ============================================================
Footer CSS
=============================================================**/
.footer {
    text-align: center;
    width: 100%;
    color:#fff;
    background:#222324;
}

.footer-top {
    width: 100%;
    padding: 20px 0;
}

.footer-top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-top .row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer-top h1 {
    margin: 0;
    text-align: center;
    width: 100%;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer .links ul {
    list-style: none;
    padding: 10px;
    width:60%;
    margin: 20px auto;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 30px; 
}

.footer ul li {
    display: inline-block;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    font-size:17px;
}

.footer ul li a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    margin: 10px 0;
    width: 100%;
}

.copyright span {
    display: inline;
}

.copyright small {
    display: inline-block;
    margin-top: 5px;
}

.copyright a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #007cba;
}

.credits {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #007cba;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #005a8b;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-top .container,
    .footer .container {
        padding: 0 10px;
    }
    
    .footer-top h1 {
        font-size: 1.5rem;
    }
    
    .copyright {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .copyright small {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .footer-top h1 {
        font-size: 1.3rem;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .back-to-top {
        width: 35px;
        height: 35px;
    }
}

/* Ensure main wrapper doesn't interfere */
.main-wrapper,
#main-area,
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.footer {
    margin-top: auto; /* Push footer to bottom if content is short */
}
.footer-top{display:flex;justify-content:center;margin:auto;}
.footer-menus ul { padding-left: 0; display: block; list-style-type: none; line-height: 1.8; margin-bottom: 2rem; }
.footer-menus ul li a {color:#f9f9f9; font-weight:400; font-size:15px;transition:.5s;}
.footer-menus ul li a:hover {color:#ffb810;}
.footer .copyright { font-weight: 300; font-size: 14px; padding: 10px 0;color: #f9f9f9}
.footer .copyright a {color: #f9f9f9;}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width: 480px) { 
    .wrapper .mainz { width:100%; height:100%; float:left; padding: 15px; background-color: transparent; }
    .main-header-menu {margin-top: 0;}
    .menu-section .top-right-widget {display:none;}
    .menu-section .top-right-widget span {font-size:14px;padding-right: 0px;}
    .home-curricula {padding:3rem 0;}
    .home-curricula h2, .home-gallery h2, .iisu-cta-section h2, .inyana-blog h2, .iisu-sections h2{font-size:30px;}
    .iisu-bgcolored, .principal-msg {padding: 0 20px;}
    .inyana-blog, .iisu-sections {padding:3rem 2rem;}
    .home-end-teaser h2 {font-size:20px;}
    .home-end .wp-block-image {margin-top: -100px;}
    .iisu-sticky-buttons {background:#e82a2ad9;}
    .publications table.dataTable tbody td{display: flex !important;flex-direction: column !important;}
}
@media only screen and (max-width: 767px) {
    
.sticky-header, .menu-section { padding:10px 0;}
.menu-section .member-btn a {padding:3px 15px;}
.menu-section .main-header-menu {margin-left: auto;}
.sticky-header img {margin-top:0;}
.menu-section img { height:70px;}
.sticky-header i.bi-list { color:#555 !important; }
.main-title {font-size: 40px !important;}
.subtitle{font-size:22px !important;}
.text-slider p{font-size: math;}
.kpy_intro_curve {margin-top: -38px;}
.kpy_intro{padding:10px;}
.kpy-container {width: 100% !important;}
.kpy_intro .cyears {top: -70px;width: 85%;}
.intro-serve h2 {font-size: 32px;}
.intro-serve p, .home-nuz p {width:95%;}
.home-event {width: 95% !important;padding-top: 40px;padding-bottom: 30px;}
.home-event h2 {font-size: 40px !important;}
.home-event h4 {font-size: 28px;font-weight: 300;}
.home-nuz h2 {font-size: 32px;}
.default-title {font-size: 42px;}
.kpy-all-news h3, .news-title {font-size: 24px;}
.footer .footer-logo img { margin-top: 0; padding: 10px;  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.footer-mob, .footer .footer-top h4 { text-align: center; display: block; }
.footer .footer-top h4::after { margin: auto; }
.footer-menus ul li a { font-size: math;}
.main-slider .main-slider-content .big-title h2 { font-size:24px; }
.main-slider .main-slider-content .text p { font-size:14px; line-height:inherit; }
.main-slider .main-slider-content__inner, .focus-areas .focus-area-items { width:100%; }
.main-slider__nav, .focus-areas h1, .inyana-news h1, .nhp-numbers h1 { display:none; }
#offcanvasNavbar { max-width: 400px; padding: 0px; margin: auto; width:100%;  color: #fff;}
.collapse.navbar-collapse:not(.show) {display: block !important;}
.offcanvas-body{padding: 0 !important;background: var(--kpy-primary);}
.offcanvas-body ul li { font-size: 20px; font-weight: 500; margin-bottom: 0px; }
  .offcanvas-body ul li .dropdown-toggle::after { margin-left: 0.55em; float: right; margin-top: 10px; content: "\F282"; font-family: bootstrap-icons !important; font-style: normal; font-variant: normal; text-transform: none; border:none!important; }
  .offcanvas-body .dropdown-menu { border: none; padding: 5px; width: 100%; background: #E82A2A; }
  .offcanvas-body ul.dropdown-menu li a, .offcanvas-body ul.dropdown-menu li a.nav-link { color:#fff; font-weight:400; }
  .dropdown-item { padding: 5px; font-size: 17px; }
  .menu-section .menu-item .nav-link {padding-left: 10px !important;text-align: left;}
  .menu-section2 .menu-item .nav-link {color: #fff;padding-left: 10px !important;}
  .menu_kipya .menu-item .nav-link {color: #fff;padding-left: 10px !important;}
  .menu_kipya .menu-item .nav-link.active, .menu-section2 .menu-item .nav-link.active{color: #fff;}
 .inyana-news .inyana-news-feed {padding: 0 20px;}
.main-slider .swiper-slide { height:500px; }
.main-slider .container { padding-top:200px; }
.nhp-intro,.nhp-prog, .focus-areas, .nhp-numbers, .inyana-news,.page-content{ padding:30px 20PX!important; }
.inner-menu {display: none;}
.footer { padding:10px;}
.breadcrumb{display:none!important;}
.header-search input:checked~ul.search-dropdown{display: block;position: absolute;z-index: 119;}
.header-search ul.search-dropdown {display: none;}
.search-dropdown .input-group {right: 75%;margin-top: 40px;}
.search-dropdown .input-group input{visibility:visible;width: 250px !important;height: 60px;}
#search-results {display: none;right: 0%;position: relative;background: rgba(255,255,255,0.93);padding: 1em;
    font-size: small;list-style: none;max-height: 300px;overflow-y: auto;width: 100%;border: 1px solid #ccc;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
#search-results {display: none;right: 75%;position: relative;background: rgba(255,255,255,0.93);padding: 1em;
        font-size: small;list-style: none;max-height: 300px;overflow-y: auto;width: 100%;border: 1px solid #ccc;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);}
.menu-section .member-btn a {margin-left: 0px;}
/**modal search**/
.modal-search input{height: 60px;width: 320px;}
.modal-search .input-group .btn-search{background: #00AEEF;color:#fff;}
.modal-search #search-results {display: none;right: 0;position: relative;background: transparent;	padding: 1em;list-style: none;width: 100%;border: 0px solid #ccc;color:#fff;}
  
  .team .team-details{padding:20px 30px;}
.admission-process, .news-container, .about-values-intro, .event-container{width:100% !important;}
.pub-content-area {width:100% !important;}
}


@media only screen and (max-width: 1024px) and (min-width: 768px) {
.header-menu-item .menu-item a { font-size:14px; }
.menu-section img {height:80px;width: auto; }
.home-event {width: 95% !important;padding-top: 40px;padding-bottom: 30px;}
.home-event h2 {font-size: 50px !important;}
.main-title {font-size: 50px;}

#menu-copyright-menu ul li a { font-size:12.5px; }
.main-menu .menu-item a {font-size:9.5px;}
.main-menu ul li {padding-right:0;}

.main-header-menu {margin-left:auto;}
    
}


@media only screen and (min-width:1140px) {

}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    TYPOGRAPHY
\*------------------------------------*/
