/**
 * WCU Blog Styles
 */

/* Base Container */
.wcu-blog {
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px;
}

/* Section 1 */
.wcu-blog-section-1 {
    margin-bottom: 32px;
}
.wcu-blog-hero-container {
    max-width:1440px;
    padding: 96px 64px 64px 64px;
	margin:0 auto;
}
/* Blog Hero */
.wcu-blog-hero {
    margin-bottom: 0px;
    padding: 40px 0 0 0;
	background-color:#FAFAFA;
}

.wcu-blog-hero-label {
    font-size:14px;
    font-weight: 400;
    color:#525B53;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.blog .wcu-blog-hero-heading {
    color: #000;
    margin: 0 0 16px;
    line-height:57px;
}

.blog .wcu-blog-hero-description {
    font-size:18px;
    color:#525B53;
    margin: 0;
	font-weight:400;
	line-height:28px;
    max-width: 700px;
}

.wcu-blog-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    background: #e6f0ff;
    border-radius: 0.5rem;
}

.wcu-blog-active-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wcu-blog-active-filter-term {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.wcu-blog-clear-filter-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

/* Featured Post */
.wcu-blog-featured {
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.wcu-blog-featured-link {
    display: block;
    text-decoration: none;
}

.wcu-blog-featured-image {
    position: relative;
    height: 355px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}

.wcu-blog-featured-image img {
    width: 100%;
    height:100%;

    object-fit: cover;
    transition: transform 0.4s ease;
}

.wcu-blog-featured-link:hover .wcu-blog-featured-image img {
    transform: scale(1.05);
}

.wcu-blog-featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.wcu-blog-featured-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.wcu-blog-featured-category {
    color:#525B53;
font-family: "Inter Tight";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 19.6px; 
text-transform: uppercase;
    padding-bottom: 8px;
}

.blog .wcu-blog-featured-title {
color:#000;
font-family: "Inter Tight";
font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: 28.6px;
max-width:600px;
margin:0px;
}

.wcu-blog-featured-action {
    flex: 0 0 auto;
color:#0865FF;
font-family: "Inter Tight";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 25.6px; 
}

.wcu-blog-featured-link:hover .wcu-blog-featured-action {
    text-decoration:none;
}

/* Section 2 Layout */
.wcu-blog-section-2 {
    position: relative;
	margin-top:32px;
}

.wcu-blog-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* Sidebar */
.wcu-blog-sidebar {
    flex: 0 0 300px;
    position: sticky;
    top: 40px;
}

/* Main Content */
.wcu-blog-main {
    flex: 1;
    position: relative;
}

/* Filters */
.wcu-blog-filters {
    background:transparent;
    padding: 0px;
    border-radius: 0px;
    margin-bottom:32px;
}

.blog .wcu-blog-filters-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 24px;
    color: #000;
	display:none;
}

.wcu-blog-filter {
    margin-bottom: 32px;
}

.wcu-blog-filter:last-child {
    margin-bottom: 16px;
}

.blog .wcu-blog-filter-title {
color:#525B53;
font-family: "Inter Tight";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 21px;
margin-bottom:4px;
}

.wcu-blog-filter-select {
    width: 100%;
    padding:0px 0px 12px 0px;
    font-size:14px;
    border-top:none;
	border-right:none;
	border-left:none;
	border-bottom:0.6px solid #E4E7E5;
    border-radius: 0px;
    background: white;
    color: #000;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.wcu-blog-filter-select:hover {
    border-color: #E4E7E5;
}

.wcu-blog-filter-select:focus {
    outline: none;
    border-color:#E4E7E5;
}

.wcu-blog-clear-filters {
    width: 100%;
    padding: 12px 14px 0px 14px;
    background:none;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

/* .wcu-blog-clear-filters:hover {
    background: #0052a3;
} */

/* CTA */
.wcu-blog-cta {
    background: white;
    padding: 0;
    border-radius: 8px;
    border: 0.6px solid #E4E7E5;
    overflow: hidden;
    text-align: left;
	    display: flex;
    justify-content: end;
    align-items: end;
    align-self: end;
}
 

.wcu-blog-cta-content-wrapper {
    display: flex;
    gap: 32px;
    align-items: center;
}

.wcu-blog-cta-image {
    flex: 0 0 auto;
	    align-items: center;
    align-self: center;
    padding: 8px;
}

.wcu-blog-cta-image img {
    width: 130px;
    height:160px;
    border-radius: 8px;
    object-fit: cover;
}
.wcu-blog-cta-content-wrapper{
display:flex;
}
.wcu-blog-cta-content {
    flex: 1;
    padding: 0px 12px 0px 8px;
    display: flex;
    flex-direction: column;
    justify-content:center;
    gap: 16px;
}

.blog .wcu-blog-cta-heading {
    color:#000;
font-family: "Inter Tight";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 25.6px;
margin:0px;
}

.blog .wcu-blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background:#0865FF;
    color: white;
    border: none;
    border-radius: 8px;
color:#FFF;
font-family: "Inter Tight";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 25.6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.blog .wcu-blog-cta-btn:hover {
    background:#075CE8;
}

/* Responsive CTA */
@media (max-width: 900px) {
    .wcu-blog-cta-content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .wcu-blog-cta-image img {
        width: 100%;
        height: 220px;
    }
    
    .wcu-blog-cta-content {
        padding: 0 24px 24px;
        text-align: center;
        gap: 16px;
    }
    
    .wcu-blog-cta-heading {
        font-size: 1.5rem;
    }
    
    .wcu-blog-cta-btn {
        width: 100%;
        justify-content: center;
        align-self: center;
    }
}

/* Buttons */
.blog .wcu-blog-btn {
    color:#0865FF !important;
font-family: "Inter Tight";
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 25.6px;
cursor:pointer;
	margin-top:4px;
	height:fit-content;
    transition: all 0.2s ease;
}
.blog .wcu-blog-btn svg{
width:20px !important;
height:20px !important;
}
.wcu-blog-featured-btn {
    background: white;
    color: #1a1a1a;
}

.wcu-blog-featured-btn:hover {
    background: #f0f0f0;
}

.wcu-blog-cta-btn {
    background: white;
    color: #667eea;
}

.wcu-blog-cta-btn:hover {
    background: rgba(255,255,255,0.9);
}

/* Posts Grid */
.wcu-blog-grid-wrapper {
    position: relative;
}

.wcu-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Blog Card */
.wcu-blog-card {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.wcu-blog-card-link {
    text-decoration: none;
    display: block;
}

.wcu-blog-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
	border-radius:8px;
}

.wcu-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wcu-blog-card-link:hover .wcu-blog-card-image img {
    transform: scale(1.05);
}

.wcu-blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.wcu-blog-card-content {
    padding: 24px 0px 0px 0px;
	display:flex;
	justify-content:space-between;
}

.wcu-blog-card-category {
    color:#525B53;
font-family: "Inter Tight";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 19.6px; /* 140% */
text-transform: uppercase;
    margin-bottom: 10px;
}

.blog .wcu-blog-card-title {
    font-size:18px;
    font-weight: 400;
    color: #000;
    margin:0px;
    line-height:28px;
	max-width:312px;
}

.blog .wcu-blog-card-btn {
    padding:0px;
    background:transparent;
    color:#0865FF;
}

/* No Posts */
.wcu-blog-no-posts {
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

/* Pagination */
.wcu-blog-pagination {
    margin-top: 48px;
}

.wcu-blog-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    justify-content:end;
    flex-wrap: wrap;
}

.wcu-blog-pagination li {
    display: inline-block;
}

.wcu-blog-pagination a,
.wcu-blog-pagination span {
    display: flex;
width:36px;
height:36px;
justify-content: center;
align-items: center;
	color:#000;
font-family: "Inter Tight";
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 21px;
    transition: all 0.2s ease;
}

.wcu-blog-pagination a:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.wcu-blog-pagination span.current {
   border-radius:8px;
border: 0.6px solid #E4E7E5;
background:#FFF;
}

/* Loader */
.wcu-blog-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
    padding: 100px 0;
}

.wcu-blog-loader.active {
    display: flex;
}

.wcu-blog-grid-wrapper {
    position: relative;
}

.wcu-blog-loader img {
    width: 60px;
    height: 60px;
}

/* Mobile Filter */
.wcu-blog-mobile-filter {
    display: none;
    margin-bottom: 24px;
}

.wcu-blog-mobile-filter-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: white;
    border: 1px solid #d6d6d6;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    color: #222;
    box-shadow: none;
}

.wcu-blog-mobile-filter-btn:hover {
    border-color: #c4c4c4;
    color: #222;
}

.wcu-blog-mobile-filter-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}

.wcu-blog-mobile-filter-icon svg {
    width: 100%;
    height: 100%;
}

.wcu-blog-mobile-filter-content {
    display: none;
    margin-top: 16px;
    border: 1px solid #d9d9d9;
    background: #fff;
    overflow: hidden;
}

.wcu-blog-mobile-filter.active .wcu-blog-mobile-filter-content {
    display: block;
}

.wcu-blog-mobile-filter-content .wcu-blog-filters {
    margin-bottom: 0;
    padding: 0;
    background: #fff;
    border-radius: 0;
}

.wcu-blog-mobile-filter-content .wcu-blog-filters-title {
    margin: 0;
    padding: 0 0 8px;
    font-size: 1rem;
    font-weight: 400;
    color: #222;
}

.wcu-blog-mobile-filter-content .wcu-blog-filter {
    margin-bottom: 0;
    padding: 24px 16px 14px;
    border-bottom: 1px solid #d9d9d9;
}

.wcu-blog-mobile-filter-content .wcu-blog-filter-title {
    margin: 0 0 6px;
    font-size: 0.875rem;
    font-weight: 400;
    color: #767676;
}

.wcu-blog-mobile-filter-content .wcu-blog-filter-select {
    padding: 0 28px 0 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    background-position: right center;
    font-size: 1rem;
    font-weight: 400;
    color: #222;
    box-shadow: none;
}

.wcu-blog-mobile-filter-content .wcu-blog-filter-select:focus {
    box-shadow: none;
}

.wcu-blog-mobile-clear-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border: 0;
    background: #fff;
    color: #222;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
}

.wcu-blog-mobile-clear-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.wcu-blog-cta-mobile {
    display: none;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .wcu-blog-layout {
        flex-direction: column;
    }
    
    .wcu-blog-sidebar {
        display: none;
    }
    
    .wcu-blog-mobile-filter {
        display: block;
		margin:0px;
		width:100%;
    }
    
    .wcu-blog-cta-mobile {
        display: block;
    }
    
    .wcu-blog-grid {
        grid-template-columns: 1fr;
    }
	.wcu-blog-mobile-filter-content .wcu-blog-filters{
    display:flex;
	flex-direction:column;
	gap:24px;
}
	.blog #wcuMobileFilterBtn{
display: flex;
width:100%;
padding: 8px 14px;
justify-content: center;
align-items: center;
gap: 4px;
color:#27272A;
font-family: "Inter Tight";
font-size: 14px;
font-weight: 400;
border-radius: 8px;
border: 0.6px solid #D4D4D8;
background:#FFF;
}
	.wcu-blog-mobile-filter-content{
    border:none;
}
	.wcu-blog-mobile-filter-content .wcu-blog-filters-title{
    display:block;
		color:#27272A;
font-family: "Inter Tight";
font-size: 16px;
font-weight: 400;
padding:0px;
}
	.wcu-blog-mobile-filter-content .wcu-blog-filter-title{
   color:#71717A;
}
	.wcu-blog-mobile-filter-content .wcu-blog-filter-select{
color:#27272A;
font-family: "Inter Tight";
font-size: 14px;
font-weight: 400;
}
	.wcu-blog-mobile-filter-content .wcu-blog-filter {
    margin-bottom: 0;
    padding: 12px 14px;
    border-bottom: 0.6px solid #D4D4D8;
}
	.blog #wcuMobileClearFilters{
display: flex;
width:100%;
padding: 8px 14px;
justify-content: center;
align-items: center;
gap: 4px;
color:#27272A;
font-family: "Inter Tight";
font-size: 14px;
font-weight: 400;
margin-top:24px;
border-radius: 8px;
border: 0.6px solid  #D4D4D8;
background:none;
}
	
}

@media (max-width: 600px) {
    .wcu-blog {
        padding: 32px 16px 0px 16px; 
    }
    
    .wcu-blog-heading {
        font-size: 1.75rem;
    }
    
    .wcu-blog-featured-image {
        height: 255px;
    }

    .wcu-blog-featured-content {
        flex-direction: column;
        gap:4px;
    }

    .wcu-blog-featured-title {
        font-size: 1.375rem;
    }

    .wcu-blog-featured-action {
        margin-top: 0;
    }
    
    .wcu-blog-section-1 {
        margin-bottom: 32px;
    }
	.wcu-blog-layout{
     gap:24px;
}
}
@media screen and (max-width:500px){
	.wcu-blog-hero-container{
    padding:32px 16px 32px 16px;
}
	.wcu-blog-hero{
     padding:32px 0 0;
}
	.blog .wcu-blog-hero-heading {
    color: #000;
    margin: 0 0 16px;
    line-height: 38px;
}
	.wcu-blog-featured-image img{
    object-fit:cover;
  }
	.blog .wcu-blog-featured-title{
font-size: 18px;
line-height: 23.4px;
}
	.wcu-blog-card-content{
display: flex;
    justify-content: start;
    flex-direction: column;
}
	.wcu-blog-card-category{
    margin-bottom:8px;
	}
	.blog .wcu-blog-card-title{
     color:#000;
font-size: 18px;
font-weight: 500;
line-height: 23.4px;
margin-bottom:4px;
max-width:100%;
}
	.wcu-blog-pagination{
margin-top:24px;
}
	.wcu-blog-cta-mobile{
    display:none;
}

}
