/* Recent Work Block — Garage Door Kingdom LLC
   Drop into existing site CSS or include as a separate file before </head>. */

.recent-work-block {
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-top: 1px solid #e6eaf0;
}
.recent-work-inner {
  max-width: 1180px;
  margin-inline: auto;
}
.recent-work-header {
  text-align: center;
  margin-bottom: 2rem;
}
.recent-work-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin: 0 0 .5rem;
  color: #0f172a;
  letter-spacing: -.01em;
}
.recent-work-sub {
  color: #475569;
  margin: 0;
  font-size: 1rem;
}

.recent-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.recent-work-card {
  background: #ffffff;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.recent-work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -16px rgba(15, 23, 42, .25);
  border-color: #cbd5e1;
}

.recent-work-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #e2e8f0;
  overflow: hidden;
}
.recent-work-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-work-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.recent-work-date {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b45309;
}
.recent-work-title {
  font-size: 1.12rem;
  margin: 0;
  color: #0f172a;
  line-height: 1.3;
}
.recent-work-location {
  font-size: .9rem;
  color: #475569;
  margin: 0;
}
.recent-work-text {
  font-size: .95rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}
.recent-work-highlights {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.recent-work-highlights li {
  position: relative;
  padding-left: 1.25rem;
  font-size: .88rem;
  color: #1e293b;
}
.recent-work-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #15803d;
  font-weight: 700;
}
.recent-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: auto;
  padding-top: .6rem;
}
.recent-work-link {
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  font-size: .92rem;
}
.recent-work-link:hover { text-decoration: underline; }
.recent-work-cta {
  background: #b45309;
  color: #fff;
  padding: .55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.recent-work-cta:hover { background: #92400e; }

.recent-work-footer {
  text-align: center;
  margin-top: 2rem;
}
.recent-work-footer a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}
.recent-work-footer a:hover { text-decoration: underline; }
