/**
 * Post Filter Styles - Version 3.0
 */

/* ==========================================
   SIDEBAR STYLES
   ========================================== */

.post-filter-sidebar {
    background: #fff;
    padding: 0;
}

.filter-section {
    margin-bottom: 0px;
}

.filter-section-title {
    font-size: 1.25vw;
    font-weight: 600;
    color: #0095DA;
    margin-bottom: 15px;
    line-height: 30px;
}

tags-list .tag-link {
    outline: none;
}

.tags-list .tag-link,
.tags-list .tag-link:focus,
.tags-list .tag-link:active {
    outline: none !important;
    box-shadow: none;
	text-decoration: none !important;
}

/* Remove dotted outline on category tabs */
.category-tabs .category-tab,
.category-tabs .category-tab:focus,
.category-tabs .category-tab:active {
    outline: none;
    box-shadow: none;
	text-decoration: none !important;
}

/* Keep active styling clean */
.category-tabs .category-tab.active {
    outline: none;
}

/* ==========================================
   SEARCH SECTION
   ========================================== */

.filter-search {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.filter-search-input {
    width: 100% !important;
    padding: 16px 24px !important;
    border-bottom: 1px solid #9B9C9C !important;
    border-radius: 8px !important;
    font-size: 1.15vw !important;
    transition: border-color 0.3s !important;
    border: none !important;
    letter-spacing: -0.72px;
}

.filter-search-input:focus {
    outline: none;
    border-color: #0095DA;
}

.filter-search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    box-shadow: none;
}

.search-icon:hover{
	background-color: transparent;
}

input#post-search {
    border-bottom: 1px solid #9B9C9C !important;
    box-shadow: none;
}
/* ==========================================
   CATEGORY TABS
   ========================================== */

.filter-category-tabs {
    margin-bottom: 60px;
}

.category-tabs {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.category-tabs li {
    margin: 0;
}

.category-tab {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    border-left: 1px solid rgba(35, 169, 205, 0.2);
    transition: all 0.3s;
	color: var(--Solid-Colors-Black-30, #363939);
	font-size: 1.12vw;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.64px;
}

.category-tab:hover {
    
    color: #363939;
}

.category-tab.active {
    border-left: 3px solid #0095DA;
    color: var(--Solid-Colors-Black-30, #363939);
    font-size: 1.12vw;
    font-style: normal;
	font-weight: 600;
	line-height: 15px;
	letter-spacing: -0.64px;
}

/* ==========================================
   YEAR DROPDOWN
   ========================================== */

.filter-year {
    margin-bottom: 30px;
}

.year-dropdown {
    position: relative;
}

.year-dropdown-toggle {
    width: 68%;
    padding: 16px 20px;
    background: #363939 !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15vw;
    font-weight: 500;
    transition: background-color 0.3s;
}

.dropdown-arrow img {
    width: 80%;
}

.year-dropdown-toggle:hover {
    background: #3d3d3d;
}

.year-dropdown-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s;
}

.year-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    width: 68%;
    margin: 0 !important;
	padding: 0 !important;
}

.year-dropdown-menu li {
    list-style: none;
}

.year-dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none !important;
    font-size: 1.12vw;
    transition: background-color 0.3s;
}

.year-dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* ==========================================
   TAGS FILTER
   ========================================== */

.tags-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.tag-link {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    border-left: 1px solid rgba(35, 169, 205, 0.2);
    transition: all 0.3s;
	color: var(--Solid-Colors-Black-30, #363939);
	font-size: 1.12vw;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.64px;
}

.tag-link.active {
    border-left: 3px solid #0095DA;
    color: var(--Solid-Colors-Black-30, #363939);
    font-size: 1.12vw;
    font-style: normal;
    font-weight: 600;
    line-height: 10px;
    letter-spacing: -0.64px;
}

/* ==========================================
   RESULTS GRID - 2 COLUMNS
   ========================================== */

.post-filter-results {
    min-height: 400px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    transition: opacity 0.3s;
}

/* ==========================================
   FEATURED POST (Full Width)
   ========================================== */

.post-item-featured {
    grid-column: 1 / -1;
}

.featured-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
}

.featured-thumbnail {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 16px;
}

/* .post-item-featured:hover .featured-thumbnail img {
    transform: scale(1.05);
} */

.featured-content {
    padding: 40px;
}

.post-featured-badge {
    display: inline-block;
    letter-spacing: -0.56px;
    color: #686A6A;
    font-size: 1.12vw;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-item-featured .post-title {
    margin: 0 0 10px 0;
    font-size: 1.8vw;
    line-height: 1.3;
}

.post-item-featured .post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-item-featured .post-title a:hover {
    color: #0095DA;
}

/* ==========================================
   REGULAR POST (2x4 Grid)
   ========================================== */

/* .post-item:not(.post-item-featured) {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-item:not(.post-item-featured):hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-item:not(.post-item-featured):hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #0095DA;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.post-category {
    color: #666;
    font-weight: 500;
}

.post-date::before {
    content: "•";
    margin-right: 15px;
    color: #ddd;
}

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0095DA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: gap 0.3s;
}

.post-read-more:hover {
    gap: 12px;
}

.post-read-more .arrow {
    font-size: 16px;
} */

/* ==========================================
   LOAD MORE BUTTON
   ========================================== */

.load-more-wrapper {
    margin-top: 50px;
    text-align: center;
}

.load-more-btn {
    padding: 16px 24px;
    background: #363939;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: -0.72px;
}

.load-more-btn:hover:not(:disabled) {
    background: #007ab8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 149, 218, 0.4);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================
   NO RESULTS
   ========================================== */

.no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-posts-found p {
    font-size: 16px;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

@media (max-width: 1024px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-thumbnail {
        min-height: 250px;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .post-item-featured .post-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
    }
    
    .category-tab {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .post-item-featured .post-title {
        font-size: 20px;
    }
    
    .post-filter-sidebar {
        margin-bottom: 30px;
    }
    
    .filter-section-title {
        font-size: 16px;
    }
}







/* ==========================================
   POST GRID ITEM – FINAL MERGED VERSION
   Partial Border → Full Border on Hover
   ========================================== */

.post-item:not(.post-item-featured) {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: visible;
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent; /* for hover full border */
}

/* Keep inner content rounded */
.post-item:not(.post-item-featured) > * {
    overflow: hidden;
}

/* ===============================
   PARTIAL BORDER (DEFAULT STATE)
   =============================== */

/* Right border – 60% from bottom */
.post-item:not(.post-item-featured)::before {
    content: '';
    position: absolute;
    right: -2px;
    bottom: 0;
    width: 0;
    height: 60%;
    background: linear-gradient(
        to top,
        rgba(35,169,205,0.6),
        transparent
    );
    border-bottom-right-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Bottom border – 60% from right */
.post-item:not(.post-item-featured)::after {
    content: "";
    position: absolute;
    bottom: 0;          /* anchor to bottom */
    right: 0;
    width: 60%;         /* bottom border length */
    height: 60%;        /* right border height */
    border-right: 2px solid rgb(0 0 0 / 11%);
    border-bottom: 1px solid rgb(0 0 0 / 11%);
    box-sizing: border-box;
    border-bottom-right-radius: 8px;
}



/* ===============================
   HOVER STATE
   =============================== */


.post-item:not(.post-item-featured) {
  position: relative;
  border-radius: 8px;
}

.post-item:not(.post-item-featured):hover {
  border: 1px solid transparent;
  background: 
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(167deg, #0095DA 18.67%, #013356 72.89%) border-box;
}


/* Expand right border to full height 
.post-item:not(.post-item-featured):hover::before {
    bottom: -2px;
    height: calc(100% + 4px);
    background: #0095DA;
}

/* Expand bottom border to full width 
.post-item:not(.post-item-featured):hover::after {
    right: -2px;
    width: calc(100% + 4px);
    background: #0095DA;
} */

/* ===============================
   THUMBNAIL
   =============================== */

.post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 8px 8px 0px 0px;
}

/* .post-item:not(.post-item-featured):hover .post-thumbnail img {
    transform: scale(1.05);
} */

/* ===============================
   CONTENT
   =============================== */

.post-content {
    padding: 25px;
}

.post-title {
    margin: 0 0 15px 0;
    font-size: 1.25vw;
    line-height: normal;
    letter-spacing: -0.96px;
    font-weight: 600;
    
}

h3.post-title {
	width: 85%;
}

.post-title a {
    color: #000;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #0095DA;
}

.post-meta{
	display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0;
 }

.post-date {
    color: #686A6A;
	font-size: 1.12vw;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.64px;
}

.post-category {
    color: #000;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.64px;
}

.post-date::before {
    content: "•";
    margin-right: 15px;
    color: #5E5E5E;
    fill: #5E5E5E;
    opacity: 0.6;
	width: 6px;
	height: 6px;
	aspect-ratio: 1/1;
}

.post-tags{
	color: var(--Solid-Colors-Black-50, var(--Primary-Black, #000));
	font-size: 1.12vw;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: -0.64px;
}

a.post-read-more {
    color: var(--Primary-Black, #000);
    text-align: center;
    font-family: "Proxima Nova";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.72px;
}

/* ===============================
   READ MORE
   =============================== */

.post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0095DA;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.post-read-more:hover {
    gap: 12px;
}

.post-read-more .arrow {
    font-size: 16px;
}

/* Wrap meta + arrow in a single row */
.post-content {
    position: relative;
}

/* One-line layout */
.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

/* Container row for meta + arrow */
.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Arrow link default state */
.post-read-more {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Arrow image sizing */
.post-read-more img {
    width: 18px;
    height: auto;
}

/* Show arrow ONLY on card hover */
.post-item:hover .post-read-more {
    opacity: 1;
    transform: translateX(0);
}





/**
 * Additional CSS for Reports Layout and Hover States
 * ADD THIS to your existing post-filter.css file
 */

/* ==========================================
   REPORTS PAGE - HORIZONTAL CARDS ONLY
   ========================================== */

/* Reports grid - single column for horizontal cards */
/* .post-filter-results[data-category="reports"] .posts-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
} */

/* All reports posts use featured layout */
.post-reports.post-item-featured {
    grid-column: 1;
}

/* Reports - Remove featured badge */
.post-reports .post-featured-badge {
    display: none;
}

/* Reports featured content wrapper */
.post-reports .featured-content-wrapper {
    display: flex;
    grid-template-columns: 400px 1fr;
    gap: 32px;
    align-items: start;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    transition: box-shadow 0.3s ease;
}

.post-reports .featured-content-wrapper:hover {
    box-shadow: none;
}

/* Reports image - no overlay, clean */
.post-reports .featured-thumbnail {
    min-height: 15vw;
    background: transparent;
    border-radius: 8px;
	width: 38%;
}

.post-reports .featured-thumbnail img {
    mix-blend-mode: normal;
    opacity: 1;
    border-radius: 8px;
	min-height: 15vw;
}

/* Reports content spacing */
.post-reports .featured-content {
    padding: 32px 32px 32px 0;
}

/* Reports title */
.post-reports .post-title {
    font-size: 1.6vw;
    line-height: 1.3;
    margin-bottom: 12px;
    font-weight: 700;
}

/* Reports excerpt */
.post-reports .post-excerpt {
    margin-bottom: 20px;
    font-size: 1.15vw;
    line-height: 133.33%;
    color: #666;
}

/* ==========================================
   FEATURED POST - READ ARTICLE ON HOVER
   ========================================== */

/* Featured posts (Blogs & Case Studies) - meta row layout */
.post-item-featured .post-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.post-item-featured .post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

/* Featured - Hide Read article by default, show on hover */
.post-item-featured .post-read-more {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none !important;
    font-size: 1.15vw;
    font-weight: 600;
	position: absolute;
	bottom: 0;
}

.post-item-featured:hover .post-read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   BLOGS & CASE STUDIES - GRID WITH HOVER
   ========================================== */

/* Regular grid posts - keep existing styles */
.post-blogs .post-meta-row,
.post-casestudy .post-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

/* Grid posts - Read article on hover only (already in your CSS) */
.post-item:not(.post-item-featured) .post-read-more {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.post-item:not(.post-item-featured):hover .post-read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   REPORTS - SHOW READ ARTICLE ON HOVER
   ========================================== */

/* Reports also hide/show on hover */
.post-reports.post-item-featured .post-read-more {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
	position: relative;
}

.post-reports.post-item-featured:hover .post-read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   RESPONSIVE - REPORTS
   ========================================== */

@media (max-width: 1024px) {
    .post-reports .featured-content-wrapper {
        grid-template-columns: 1fr !important;
    }
    
    .post-reports .featured-thumbnail {
        min-height: 280px;
    }
    
    .post-reports .featured-thumbnail img {
        border-radius: 12px 12px 0 0;
    }
    
    .post-reports .featured-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .post-reports .post-title {
        font-size: 20px;
    }
    
    .post-reports .post-excerpt {
        font-size: 14px;
    }
}

/* ==========================================
   GRID LAYOUT CONTROLS BY CATEGORY
   ========================================== */

/* Default: Blogs & Case Studies */
.posts-grid.is-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* Reports: single column */
.posts-grid.is-reports {
    grid-template-columns: 1fr;
}

.post-reports .featured-content {
    padding: 0px 32px 0 0;
    display: flex;
    flex-direction: column;
    height: -webkit-fill-available;
	width: 60%;
	position: relative;
}

.post-reports .post-meta-row {
    margin-top: auto;
	position: absolute;
	bottom: 0;
	width: 100%;
}

/* ==========================================
   CASE STUDY – FEATURED FIRST POST (STACKED)
   ========================================== */

/* ==========================================
   CASE STUDY – FEATURED POST (IMAGE TOP)
   ========================================== */

/* Stack image + content */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .featured-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
	
}

/* Image full width */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .featured-thumbnail {
    width: 100%;
    position: relative;
    height: 50vh;
}

/* Image behavior */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Featured badge ON image */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .post-featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* Content below image */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .featured-content {
    padding: 24px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Meta row layout */
#post-results[data-category="casestudy"]
.posts-grid > .post-item:first-child .post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}


#post-results[data-category="casestudy"] .posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

#post-results[data-category="casestudy"] .post-item.post-casestudy {
    display: flex;
    flex-direction: column;
    height: 100%;
	border-color: transparent;
	
}

#post-results[data-category="casestudy"] .post-thumbnail {
    width: 100%;
    height: 220px; /* adjust if needed */
    overflow: hidden;
    border-radius: 8px;
}

#post-results[data-category="casestudy"] .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#post-results[data-category="casestudy"] .post-content {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


#post-results[data-category="casestudy"] .post-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

#post-results[data-category="casestudy"] .post-content {
    padding: 25px 0;
}

/* Image full width */
#post-results[data-category="blogs"]
.posts-grid > .post-item:first-child .featured-thumbnail {
    height: 23vw;
}

#post-results[data-category="blogs"]
.posts-grid > .post-item:first-child .featured-content {
    padding: 0 20px;
	position: relative;
	height: 15vw;
    
}

#post-results[data-category="casestudy"] .post-item:not(.post-item-featured)::before {
    content: '';
    position: absolute;
    right: -2px;
    bottom: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to top, rgba(35, 169, 205, 0.6), transparent);
    border-bottom-right-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#post-results[data-category="casestudy"] .post-item:not(.post-item-featured)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(
        to left,
        rgba(35,169,205,0.6),
        transparent
    );
    border-bottom-right-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.post-item:not(h3.post-title ):hover {
    color: #0095DA;
}

input[type="text"]::placeholder {
    color: #5E5E5E;
	height: 60px;
    opacity: 1; /* ensures full color visibility */
}


/* ==========================================
   MOBILE SIDEBAR — COMPLETE REWRITE
   Replace ALL previous mobile sidebar styles
   ========================================== */

@media (max-width: 768px) {

    /* ==============================
       HIDE DESKTOP-ONLY ELEMENTS
       ============================== */

    .post-filter-sidebar .filter-category-tabs,
    .post-filter-sidebar .filter-tags .filter-section-title {
        display: none !important;
    }

    /* Hide year dropdown button (replaced by arrow nav) */
    .post-filter-sidebar .year-dropdown-toggle,
    .post-filter-sidebar .year-dropdown-menu {
        display: none !important;
    }

    /* Hide the old search icon */
    .search-icon {
        display: none !important;
    }

    /* ==============================
       SIDEBAR WRAPPER
       ============================== */

    .post-filter-sidebar {
        background: #f5f7f8;
        padding: 0 0 16px 0;
    }

    /* ==============================
       1. MOBILE CATEGORY DROPDOWN
       ============================== */

    .mobile-category-dropdown {
        display: block !important;
        background: #EBF6FC;
        padding: 0;
        margin-bottom: 0;
    }

    .mobile-category-toggle {
        width: 100%;
        background: transparent;
        border: none;
        padding: 18px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 18px;
        font-weight: 600;
        color: #0095DA;
        letter-spacing: -0.5px;
        box-shadow: none;
    }

    .mobile-category-toggle:hover,
    .mobile-category-toggle:focus {
        background: transparent !important;
        box-shadow: none !important;
        outline: none;
    }

    .mobile-dropdown-arrow {
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
    }

    .mobile-dropdown-arrow svg {
        width: 20px;
        height: 20px;
    }

    .mobile-category-toggle.open .mobile-dropdown-arrow {
        transform: rotate(180deg);
    }

    .mobile-category-menu {
        display: none;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
        position: absolute;
        left: 0;
        right: 0;
        z-index: 999;
    }

    .mobile-category-menu.open {
        display: block;
    }

    .mobile-category-menu a {
        display: block;
        padding: 18px 24px;
        font-size: 16px;
        font-weight: 500;
        color: #363939;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        transition: background 0.2s;
    }

    .mobile-category-menu a:last-child {
        border-bottom: none;
    }

    .mobile-category-menu a.active {
        color: #0095DA;
        font-weight: 600;
    }

    /* ==============================
       2. YEAR NAVIGATOR (arrows + search)
       ============================== */

    .mobile-year-nav {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        margin-bottom: 0;
    }

    .mobile-year-nav .year-prev,
    .mobile-year-nav .year-next {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 8px;
        color: #888;
        font-size: 16px;
        display: flex;
        align-items: center;
        box-shadow: none;
    }

    .mobile-year-nav .year-prev:hover,
    .mobile-year-nav .year-next:hover {
        background: transparent !important;
        color: #0095DA;
    }

    .mobile-year-nav .year-prev svg,
    .mobile-year-nav .year-next svg {
        width: 16px;
        height: 16px;
        stroke: #888;
        fill: none;
    }

    .mobile-year-nav .year-label {
        font-size: 15px;
        font-weight: 500;
        color: #363939;
        letter-spacing: -0.3px;
        flex: 1;
        text-align: center;
    }

    .mobile-year-nav .year-search-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px 8px;
        display: flex;
        align-items: center;
        box-shadow: none;
    }

    .mobile-year-nav .year-search-btn:hover {
        background: transparent !important;
    }

    .mobile-year-nav .year-search-btn svg {
        width: 20px;
        height: 20px;
        stroke: #666;
        fill: none;
    }

    /* Search bar that slides in when search icon clicked */
    .mobile-search-bar {
        display: none;
        padding: 12px 16px;
        background: #fff;
        border-bottom: 1px solid #e8e8e8;
        position: relative;
    }

    .mobile-search-bar.open {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-search-bar .filter-search-input {
        flex: 1;
        padding: 10px 14px !important;
        border: 1px solid #E0E0E0 !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        background: #f9f9f9;
        box-shadow: none !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .mobile-search-bar .mobile-search-close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        color: #999;
        box-shadow: none;
        flex-shrink: 0;
    }

    .mobile-search-bar .mobile-search-close svg {
        width: 18px;
        height: 18px;
        stroke: #999;
        fill: none;
    }

    /* Hide original search section on mobile */
    .post-filter-sidebar .filter-search {
        display: none !important;
    }

    /* ==============================
       3. TAG PILLS (horizontal scroll)
       ============================== */

    .post-filter-sidebar .filter-tags {
        display: block !important;
        padding: 14px 16px 4px;
        background: #fff;
    }

    .post-filter-sidebar .tags-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding-bottom: 10px !important;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .post-filter-sidebar .tags-list::-webkit-scrollbar {
        display: none;
    }

    .post-filter-sidebar .tags-list li {
        flex-shrink: 0;
    }

    .post-filter-sidebar .tag-link {
        display: inline-block !important;
        padding: 8px 18px !important;
        border: 1.5px solid #E0E0E0 !important;
        border-left: 1.5px solid #E0E0E0 !important;
        border-radius: 100px !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        color: #363939 !important;
        white-space: nowrap;
        background: #fff;
        line-height: normal !important;
        letter-spacing: -0.3px;
        transition: all 0.2s ease;
    }

    .post-filter-sidebar .tag-link.active {
        background: #EBF6FC !important;
        border-color: #0095DA !important;
        color: #0095DA !important;
        font-weight: 600 !important;
        border-left: 1.5px solid #0095DA !important;
    }

    /* Active indicator line below active pill */
    .post-filter-sidebar .tags-list {
        position: relative;
    }

    /* Blue underline bar for active pill (like screenshot) */
    .mobile-tag-underline {
        display: block;
        height: 3px;
        background: #0095DA;
        border-radius: 2px;
        margin: 0 16px;
        transition: width 0.3s ease;
    }

}

/* Desktop: hide all mobile-only elements */
@media (min-width: 769px) {
    .mobile-category-dropdown,
    .mobile-year-nav,
    .mobile-search-bar,
    .mobile-tag-underline {
        display: none !important;
    }
}

/* 017-03 */

@media (max-width:767px){
	#post-results .posts-grid.is-grid {
    grid-template-columns: repeat(1, 1fr);
}
	#post-results h3.post-title a {
    font-size: 1.4rem;
}
	#post-results .post-meta span.post-tags ,#post-results .post-meta span.post-date,#post-results span.post-featured-badge {
    font-size: 1rem;
}
	#post-results h3.post-title {
    width: 100%;
}
	#post-results .post-content {
    padding: 15px;
}
	#post-results .post-item.post-blogs:hover {
    border: unset;
		    background: unset;
		    transition: unset;
}
	.resource_block .resource_block_sc{
    width: 100%!important;
}
	#post-results .post-item-featured:hover .post-read-more {
    display:none;
}
#post-results .post-item:not(.post-item-featured):hover .post-read-more{
    display:none;
}
}