.updates {
    padding: 2rem 0;
    background-color: #031227;
}

.container {
    margin-top: 100px;
}

.page-title{
    font-weight: bold;
    font-size: 27px;
    color: #fff;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
}

.tab {
    padding: .4rem .9rem;
    border-radius: 10px;
    background: #fff;
    color: #0E5050;
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
}

.tab.is-active {
    background: #0F3F82;
    color: #fff;
}

.years {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.year {
    font-size: .9rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    background: #0e2a3a;
    color: #b8d3e0;
    text-decoration: none;
}

.year.is-active {
    background: #1f6e8c;
    color: #fff;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 767px) {
    .grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.card {
    grid-column: span 12;
    background: #0d2130;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}


@media (min-width: 768px) {
    .card {
        grid-column: span 6;
    }

    
    

}

.media {
    position: relative;
    display: block;
}

.media.no-image {
    height: 12rem;
    background: linear-gradient(180deg, #183447, #0f2331);
}

.img {
    width: 100%;
    height: auto;
    display: block;
}

.date {
    position: absolute;
    right: .6rem;
    bottom: .6rem;
    font-size: .8rem;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    padding: .2rem .5rem;
    border-radius: 8px;
}

.content {
    padding: .9rem 1rem 1.1rem;
}

.title {
    margin: 0 0 .4rem;
    font-size: 1rem;
    color: #fff;
}

.title a {
    color: inherit;
    text-decoration: none;
}

.intro {
    margin: 0;
    color: #bdd4e1;
    font-size: .95rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: .75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.pagination .page {
    color: #cfe7f3;
    text-decoration: none;
}

.pagination .state {
    color: #86a9bb;
}

/* Card shell */
.overlay-card{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0d2130;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
}
.overlay-card__link{ display:block; position:relative; }

/* Consistent height (16:9) */
.overlay-card__media{ aspect-ratio: 16 / 9; }
.overlay-card__img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* Fallback for announcements (no image) */
.overlay-card__noimg{
  width:100%; height:100%;
  color: #fff;
  font-size: 15px;
  background: #0B366F;
  /* background: linear-gradient(180deg,#274355 0%,#0f2231 100%); */
}

/* Dark bottom gradient like the mock */
.overlay-card__veil{
  position:absolute; inset:0;
  background: linear-gradient(
    to top,
    rgba(6,17,26,.88) 15%,
    rgba(6,17,26,.45) 55%,
    rgba(6,17,26,0) 75%
  );
  pointer-events:none;
}

/* Date at top-right */
.overlay-card__date{
  position:absolute; top:.75rem; inset-inline-end:.9rem; /* RTL aware */
  background: rgba(0,0,0,.45);
  color:#fff; font-size:.85rem;
  padding:.25rem .55rem; border-radius:8px; z-index:2;
}

/* Title on image (bottom area) */
.overlay-card__title{
  position:absolute; inset-inline:1.1rem; bottom:1.1rem; /* RTL aware */
  margin:0; color:#fff; z-index:2;
  font-weight:500;
  line-height:1.35;
  font-size: 19px;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  max-width: 80%;
}



/* Subtle hover */
.overlay-card:hover .overlay-card__img{ transform: scale(1.012); transition: transform .35s ease; }

.suppliers-url{ text-decoration: none; color: #d1ceff;}
.suppliers-url:hover{ text-decoration: none; color: rgb(168, 188, 255);}

.register {
    width: min(600px,100%);
    color: white;
    font-size: 19px;
    font-weight:500;
    background: #3d78c7;
    border-radius: 16px;
    padding: 30px;
    margin-top: 120px;
    text-align: start;
    text-decoration: none;
}

.register i {
    rotate: -20deg;
}





.no-updates-box {
  grid-column: span 12;
  background: #0B366F;
  color: #cfe7f3;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}


@media (max-width:768) {
    
}