/* ===== Typography ===== */


.a-CardView-subTitle:not(:first-child) {
    line-height: 1.625;
    font-size: 13px;
}

.a-CardView-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.a-CardView-headerBody {
    grid-area: body;
    min-width: 0;
    order: 2;
    margin-top: 35px;
}

#news .a-CardView-item:hover h3 {
    color: #3b82f6;
}

/* REGION */
#news {
  --card-radius: 24px;
}

/* SCROLLER / GRID */
#news .a-CardView-items {
  display: grid;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

/* CARD */
#news .a-CardView-item {
  scroll-snap-align: start;
  min-inline-size: 22rem;
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: all .5s ease;
}


#news .a-CardView-item:hover {
  /*border-color: #d1d5db;*/
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
}

/* IMAGE */
#news .a-CardView-media {
  height: 224px;
  overflow: hidden;
  border-radius: 22px;
}

#news .a-CardView-mediaImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
  border-radius: 22px;
}

#news .a-CardView-item:hover .a-CardView-mediaImg {
  transform: scale(1.1);
}

/* GRADIENT OVER IMAGE */
#news .a-CardView-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* BADGE (CATEGORY) */
#news .a-CardView-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
}

/* CONTENT */
#news .a-CardView-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* DATE */
#news .a-CardView-mainContent  {
  font-size: 14px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* TITLE */
#news .a-CardView-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  transition: color .3s;
}

#news .a-CardView-item:hover .a-CardView-title {
  color: #3b82f6;
}

/* READ MORE (Card Actions) */
#news .a-CardView-actions {
  margin-top: auto;
}

#news .a-CardView-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #3b82f6;
  transition: gap .3s;
}

#news .a-CardView-item:hover .a-CardView-action {
  gap: 12px;
}


/* READ MORE BUTTON */
#news .a-CardView-button.news-more,
#news .a-CardView-button {
  padding: 0;
  background: none;
  border: none;
  color: #3b82f6;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: gap .3s ease, color .3s ease;
}

#news .a-CardView-item:hover .a-CardView-button {
  gap: 12px;
}

/* ICON */
#news .a-CardView-buttonIcon {
  font-size: 14px;
  transition: transform .3s ease;
}

#news .a-CardView-item:hover .a-CardView-buttonIcon {
  transform: translateX(4px);
}

.a-CardView {
    border-style: none;
}