.section {
  padding: var(--space-8) 0;
}

@media (max-width: 760px) {
  .section {
    padding-top: var(--space-7);
  }
}

.dig-hero {
  padding-bottom: var(--space-4);
}

.dig-grid-section {
  padding-top: var(--space-4);
}

.dig-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.4rem + 3.5vw, 3.4rem);
  text-align: left;
  background: linear-gradient(90deg, #A11F24, #DC2F35 60%, #D9861A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 var(--space-3);
}

.dig-subtitle {
  text-align: left;
  max-width: 60ch;
  margin: 0;
  color: var(--text-secondary);
}

.dig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

/* Z-Kitap (ilk kart) öne çıksın diye satırın tamamını kaplayan, uzunlamasına
   bir banner gibi duruyor; ikonu da diğerlerinden bir tık büyük. */
.dig-grid > .dig-card:first-child {
  grid-column: 1 / -1;
}

.dig-grid > .dig-card:first-child .dig-card-icon {
  width: 84px;
  height: 84px;
}

.dig-grid > .dig-card:first-child .dig-card-icon img {
  width: 66px;
  height: 66px;
}

.dig-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.dig-ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: rgba(0, 180, 196, .35);
  pointer-events: none;
  animation: digRipple .6s ease-out;
}

@keyframes digRipple {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(18); opacity: 0; }
}

.dig-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.dig-card-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dig-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.dig-card-teal .dig-card-icon {
  background: #E3F3F1;
}

.dig-card-orange .dig-card-icon {
  background: #FDEEDF;
}

.dig-card-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.dig-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

.dig-card-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
  .dig-card:hover {
    transform: none;
  }
}

@media (max-width: 700px) {
  .dig-grid {
    grid-template-columns: 1fr;
  }

  .dig-card {
    flex-direction: column;
    text-align: center;
  }
}
