:root{
--ink:#0d1f35;
--ink-soft:#4a6080;
--ink-muted:#8a9db5;
--sky:#e8f3ff;
--sky-mid:#cce3ff;
--blue:#1a6fc4;
--blue-bright:#2484e8;
--blue-pale:#f0f7ff;
--surface:#fff;
--bg:#f5f8fc;
--line:rgba(26,111,196,.13);
--line-soft:rgba(26,111,196,.07);
--radius:16px;
--ease:360ms cubic-bezier(.22,1,.36,1);
}

.updates-page *,
.updates-page *:before,
.updates-page *:after{
box-sizing:border-box;
}

.updates-page{
font-family:"Outfit",sans-serif;
background:var(--bg);
color:var(--ink);
padding-bottom:80px;
}

 
/* FILTER */

.filter-section{
max-width:1280px;
margin:auto;
padding:0 40px 28px;
}

.filter-scroll{
display:flex;
align-items:center;
gap:8px;
overflow-x:auto;
padding-bottom:4px;
scrollbar-width:none;
}

.filter-scroll::-webkit-scrollbar{
display:none;
}

.filter-label{
font-size:.72rem;
font-weight:600;
color:var(--ink-muted);
letter-spacing:.13em;
text-transform:uppercase;
white-space:nowrap;
margin-right:6px;
}

.f-btn{
display:inline-flex;
align-items:center;
gap:6px;
padding:7px 14px;
border-radius:999px;
border:1.5px solid var(--line);
background:#fff;
font-size:.8rem;
cursor:pointer;
transition:.3s;
white-space:nowrap;
}

.f-btn:hover{
border-color:var(--blue);
color:var(--blue);
background:var(--blue-pale);
}

.f-btn.on{
background:var(--blue);
border-color:var(--blue);
color:#fff;
}

.f-btn .n{
display:flex;
align-items:center;
justify-content:center;
min-width:18px;
height:18px;
border-radius:50%;
font-size:.65rem;
background:rgba(255,255,255,.18);
}

.f-btn:not(.on) .n{
background:var(--sky);
color:var(--surface);
}


/* GRID */

.grid-section{
max-width:1280px;
margin:auto;
padding:0 40px;
}

.updates-grid{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
gap:22px;
}


/* CARD */

.u-card{
background:#fff;
border-radius:6px;
overflow:hidden;
border: 1px solid rgb(134 184 233 / 55%);
display:flex;
flex-direction:column;
height:100%;

text-decoration:none;
color:inherit;

transition:.3s;
}

.u-card:hover{
transform:translateY(-5px);
box-shadow:0 18px 44px rgba(26,111,196,.1);
}

.u-card-thumb{
position:relative;
aspect-ratio:16/10;
overflow:hidden;
background:var(--sky);
}

.u-card-thumb img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.u-card-date{
position:absolute;
top:12px;
left:12px;
padding:4px 10px;
border-radius:999px;
background:rgba(255,255,255,.95);
font-size:.68rem;
font-weight:600;
}

.u-card-body{
padding:18px 20px 20px;
display:flex;
flex-direction:column;
flex:1;
}

.u-card-tags{
display:flex;
flex-wrap:wrap;
gap:5px;
margin-bottom:12px;
min-height:8px;
align-content:flex-start;
}

.u-card-tag{
padding:3px 9px;
border-radius:999px;
background:var(--blue);
font-size:.65rem;
font-weight:500;
color:#fff !important;
}

.u-card-title{
font-family:"Barlow Condensed";
font-size:1.25rem;
font-weight:700;
line-height:1.1;
margin-bottom:10px;
min-height:5px;
}

.u-card-desc{
font-size:.83rem;
line-height:1.55;
color:var(--ink-soft);

display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;
overflow:hidden;

min-height:42px;
margin-bottom:12px;
}

.u-card-foot{
display:flex;
align-items:center;
justify-content:space-between;
margin-top:auto;
padding-top:14px;
border-top:1px solid var(--line-soft);
}

.u-card-foot-date{
font-size:.72rem;
font-weight:500;
color:var(--ink-muted);

display:flex;
align-items:center;
gap:5px;
}

.u-card-more{
font-size:.75rem;
font-weight:600;
color:var(--blue-bright);
white-space:nowrap;
}


/* MOBILE */

@media(max-width:768px){

.hero{
grid-template-columns:1fr;
padding:32px 20px;
}

.grid-section,
.filter-section{
padding:0 20px;
}

.updates-grid{
grid-template-columns:1fr;
}

}

 