/* ============================================================
   UBCAR.ro — Home Page Styles
   ============================================================ */

/* ----------------------------------------
   About Preview Section
   ---------------------------------------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about-preview {
    grid-template-columns: 1fr 1fr;
  }
}

.about-preview__image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}

/* ----------------------------------------
   Quick Links Grid
   ---------------------------------------- */
.quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quick-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-100);
  text-decoration: none;
  transition: all var(--transition-base);
}

.quick-link:hover {
  border-color: var(--color-primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.quick-link__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-50);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-2xl);
  color: var(--color-primary-600);
}

.quick-link__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
  margin-bottom: var(--space-2);
}

.quick-link__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ----------------------------------------
   News Teaser
   ---------------------------------------- */
.news-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.news-teaser__item {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
  text-decoration: none;
  transition: all var(--transition-base);
}

.news-teaser__item:hover {
  border-color: var(--color-primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-teaser__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.news-teaser__body {
  padding: var(--space-4) var(--space-5);
}

.news-teaser__date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.news-teaser__title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-900);
  line-height: var(--line-height-snug);
}

.news-teaser__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ----------------------------------------
   Verse of the Day
   ---------------------------------------- */
.votd {
  text-align: center;
  padding: var(--space-8) var(--container-padding);
  background: linear-gradient(135deg, #f8f6f0 0%, #eee8d5 100%);
  border-top: 3px solid var(--color-secondary-400, #f0be55);
  border-bottom: 3px solid var(--color-secondary-400, #f0be55);
  -webkit-text-size-adjust: 100%;
}

.votd__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-2);
}

.votd__ornament {
  font-size: var(--font-size-sm);
  color: var(--color-secondary-500, #edb336);
  letter-spacing: 0.3em;
  margin-bottom: var(--space-3);
}

.votd__label {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary-600, #385ea4);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-4);
}

.votd__text {
  font-size: var(--font-size-lg, 1.25rem);
  font-style: italic;
  line-height: var(--line-height-relaxed, 1.75);
  color: var(--color-gray-800, #343a40);
  margin-bottom: var(--space-4);
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.votd__ref {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary, #495057);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.03em;
}

@media (min-width: 768px) {
  .votd {
    padding: var(--space-16) var(--container-padding);
  }

  .votd__label {
    margin-bottom: var(--space-6);
  }

  .votd__text {
    font-size: 1.625rem;
  }
}
