.elementor-6777 .elementor-element.elementor-element-f8605e5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-6777 .elementor-element.elementor-element-07db20a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-3e60f06 *//* ===== LADMA News Tiles (scoped) ===== */
.news-tiles {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.news-tiles .grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* mobile default */
}

@media (min-width: 768px) {
  .news-tiles .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .news-tiles .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card / Tile */
.news-tiles .tile {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-tiles .tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

@media (prefers-reduced-motion: reduce) {
  .news-tiles .tile,
  .news-tiles .tile:hover {
    transition: none;
    transform: none;
  }
}

/* Image */
.news-tiles .thumb {
  position: relative;
  overflow: hidden;
}
.news-tiles .thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;           /* keeps a consistent tile height */
  object-fit: cover;
}

/* Content */
.news-tiles .content {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.news-tiles .content h2 {
  font-size: 1.1rem;
  line-height: 1.35;
  margin: 0;
  color: #111;
  font-weight: 700;
}

/* Date */
.news-tiles .date {
  font-size: 0.875rem;
  color: #666;
}

/* Excerpt */
.news-tiles .content p {
  margin: 0;
  color: #444;
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1; /* pushes readmore to the bottom for equal-height tiles */
}

/* Read more link */
.news-tiles .readmore {
  align-self: flex-start;
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: #ff5722;                 /* LADMA orange */
  padding-top: 0.15rem;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}
.news-tiles .readmore:hover,
.news-tiles .readmore:focus-visible {
  border-color: #ff5722;
  outline: none;
}

/* Optional: subtle divider between tiles if you stack them */
.news-tiles .tile + .tile {
  /* no border by default; uncomment to use */
  /* border-top: 1px solid #eee; */
}

/* Dark mode polish (optional) */
@media (prefers-color-scheme: dark) {
  .news-tiles .tile {
    background: #161616;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  }
  .news-tiles .content h2 { color: #fafafa; }
  .news-tiles .content p { color: #d6d6d6; }
  .news-tiles .date { color: #aaa; }
}/* End custom CSS */