
/* Granit blog card: full-bleed photo, dark shade, text over the bottom. Excerpt opens on hover; always open on touch. */
.cc_il0xsd7y_4fW3Twt3C2 .blog-card, .cc_il0xsd7y_g68qlilVY9 .blog-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
  aspect-ratio: var(--bs-aspect-ratio, 4 / 5);
  overflow: hidden;
  border-radius: 0;
  background: var(--gr-color-bg-dark);
  color: var(--gr-color-text-inverse);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-image, .cc_il0xsd7y_g68qlilVY9 .blog-card-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-shade, .cc_il0xsd7y_g68qlilVY9 .blog-card-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 25%, rgba(0, 0, 0, 0.4) 55%, rgba(0, 0, 0, 0) 85%);
  transition: opacity var(--gr-transition-base);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-date, .cc_il0xsd7y_g68qlilVY9 .blog-card-date {
  position: absolute;
  top: var(--gr-space-md);
  left: var(--gr-space-md);
  padding: 6px 14px;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-primary);
  color: var(--gr-color-text-inverse);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-category, .cc_il0xsd7y_g68qlilVY9 .blog-card-category {
  align-self: flex-start;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-body, .cc_il0xsd7y_g68qlilVY9 .blog-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--gr-space-sm);
  padding: var(--gr-space-lg);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-title, .cc_il0xsd7y_g68qlilVY9 .blog-card-title {
  margin: 0;
  color: inherit;
  font-weight: 700;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Grid-rows trick animates 0 → auto height. */
.cc_il0xsd7y_4fW3Twt3C2 .blog-card-reveal, .cc_il0xsd7y_g68qlilVY9 .blog-card-reveal {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 500ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 400ms ease;
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-excerpt, .cc_il0xsd7y_g68qlilVY9 .blog-card-excerpt {
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-more, .cc_il0xsd7y_g68qlilVY9 .blog-card-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--gr-space-sm);
  margin-top: var(--gr-space-xs);
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-arrow, .cc_il0xsd7y_g68qlilVY9 .blog-card-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--gr-radius-full);
  background: var(--gr-color-text-inverse);
  color: var(--gr-color-text-strong);
  transition: background-color var(--gr-transition-base), color var(--gr-transition-base), transform var(--gr-transition-base);
}

/* Stretched link: the whole card is clickable. */
.cc_il0xsd7y_4fW3Twt3C2 .blog-card-link, .cc_il0xsd7y_g68qlilVY9 .blog-card-link {
  color: inherit;
  text-decoration: none;
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-link::after, .cc_il0xsd7y_g68qlilVY9 .blog-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.cc_il0xsd7y_4fW3Twt3C2 .blog-card-link:focus-visible::after, .cc_il0xsd7y_g68qlilVY9 .blog-card-link:focus-visible::after {
  outline: 2px solid var(--gr-color-accent);
  outline-offset: -4px;
}

/* Hover-reveal only on desktop; on mobile (or touch) the excerpt stays open. */
@media (hover: hover) and (min-width: 768px) {
  .cc_il0xsd7y_4fW3Twt3C2 .blog-card-reveal, .cc_il0xsd7y_g68qlilVY9 .blog-card-reveal {
    grid-template-rows: 0fr;
    opacity: 0;
  }

  .cc_il0xsd7y_4fW3Twt3C2 .blog-card:hover .blog-card-reveal, .cc_il0xsd7y_g68qlilVY9 .blog-card:hover .blog-card-reveal, .cc_il0xsd7y_4fW3Twt3C2 .blog-card:focus-within .blog-card-reveal, .cc_il0xsd7y_g68qlilVY9 .blog-card:focus-within .blog-card-reveal {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

@media (hover: hover) {
  .cc_il0xsd7y_4fW3Twt3C2 .blog-card:hover .blog-card-image, .cc_il0xsd7y_g68qlilVY9 .blog-card:hover .blog-card-image {
    transform: scale(1.06);
  }

  .cc_il0xsd7y_4fW3Twt3C2 .blog-card:hover .blog-card-arrow, .cc_il0xsd7y_g68qlilVY9 .blog-card:hover .blog-card-arrow {
    background: var(--gr-color-primary);
    color: var(--gr-color-text-inverse);
    transform: translateX(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_il0xsd7y_4fW3Twt3C2 .blog-card-image, .cc_il0xsd7y_g68qlilVY9 .blog-card-image, .cc_il0xsd7y_4fW3Twt3C2 .blog-card-reveal, .cc_il0xsd7y_g68qlilVY9 .blog-card-reveal, .cc_il0xsd7y_4fW3Twt3C2 .blog-card-arrow, .cc_il0xsd7y_g68qlilVY9 .blog-card-arrow {
    transition: none;
  }

  .cc_il0xsd7y_4fW3Twt3C2 .blog-card:hover .blog-card-image, .cc_il0xsd7y_g68qlilVY9 .blog-card:hover .blog-card-image, .cc_il0xsd7y_4fW3Twt3C2 .blog-card:hover .blog-card-arrow, .cc_il0xsd7y_g68qlilVY9 .blog-card:hover .blog-card-arrow {
    transform: none;
  }
}
