@charset "UTF-8";
/* Kezdőlap ([drkriza-fooldal]) — home-specific styles.
 *
 * The page rides on the certificate page's design system: its wrapper carries
 * .drkriza-igazolas-app, so sicknote.css supplies the palette (CSS custom
 * properties) + the hero / card / info-box vocabulary. This sheet adds only the two
 * home-specific pieces — the consultation-hours table and the contact list — under
 * the .drkriza-home-app scope. Separate file, printed AFTER sicknote.css, so that
 * shared stylesheet never needs recompiling to gain these rules (H-21).
 *
 * The palette vars resolve because .drkriza-home-app sits on the SAME element as
 * .drkriza-igazolas-app (see templates/home.php), so no @use 'tokens' is needed.
 */
/* ── Under-development notice ──────────────────────────── */
/* Uses the shared .info-box; nudge the icon colour towards the warm accent so the
   notice reads as a status, not a neutral hint. */
.drkriza-home-app .home-notice svg {
  color: var(--coral);
}

/* ── Consultation-hours table ─────────────────────────── */
/* Scrolls horizontally on narrow phones rather than collapsing, so it stays
   language-agnostic (no per-language data-labels to keep in sync). */
.drkriza-home-app .home-hours {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.drkriza-home-app .home-hours table {
  width: 100%;
  min-width: 460px; /* keeps the four columns legible; scrolls below */
  border-collapse: collapse;
  font-size: 0.92rem;
}

.drkriza-home-app .home-hours thead th {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.drkriza-home-app .home-hours tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  white-space: nowrap;
}

.drkriza-home-app .home-hours tbody tr:nth-child(even) td {
  background: var(--green-faint);
}

.drkriza-home-app .home-hours tbody tr:last-child td {
  border-bottom: none;
}

.drkriza-home-app .home-hours tbody td:first-child {
  font-weight: 600;
  color: var(--text);
}

/* ── Contact list ─────────────────────────────────────── */
.drkriza-home-app .home-contact {
  display: flex;
  flex-direction: column;
}

.drkriza-home-app .home-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.drkriza-home-app .home-contact-row:first-child {
  padding-top: 4px;
}

.drkriza-home-app .home-contact-row:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.drkriza-home-app .home-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  font-weight: 700;
  color: var(--text);
}

.drkriza-home-app .home-contact-label svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
}

.drkriza-home-app .home-contact-row a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.drkriza-home-app .home-contact-row a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 600px) {
  .drkriza-home-app .home-contact-label {
    min-width: 0;
    width: 100%;
  }
}
