/* ===========================
   Feeling of Life — спільні стилі
   =========================== */

/* ---------- Скидання ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Утиліти ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Розділювач ---------- */
.divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.14),
    transparent
  );
}

/* ---------- Картка (latest, album grid) ---------- */
.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--radius, 22px);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
  transform: translate3d(0, 0, 0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
  will-change: transform;
}

.card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  border-color: rgba(255, 255, 255, 0.16);
  filter: brightness(1.06);
}

.coverLink { display: block; }

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.cardBody {
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(27, 43, 65, 0), rgba(27, 43, 65, 0.28));
}

/* ---------- Рядки всередині картки / плитки ---------- */
.row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.titleText {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}

/* ---------- Сторінковий layout ---------- */
.page {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.backLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Футер ---------- */
.siteFooter {
  margin-top: 28px;
  padding: 18px 6px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.siteFooter strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.siteFooter p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- Мобільна адаптація (спільне) ---------- */
@media (max-width: 720px) {
  .page {
    width: calc(100vw - 24px);
    padding-top: 16px;
  }
}
