/* Hőmérséklet átváltó */

.page-homerseklet .hero {
  text-align: center;
  margin-bottom: 2rem;
}

.page-homerseklet .hero p {
  max-width: 700px;
  margin: 0 auto;
}

/* Kalkulátor kártyák */

.card-calculator {
  margin-bottom: 2rem;
}

.converter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.converter-header span {
  font-weight: 600;
  font-size: 1rem;
}

.swap-btn {
  border: none;
  cursor: pointer;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.25s;
}

.swap-btn:hover {
  transform: translateY(-2px);
}

.calc-grid {
  display: grid;
  gap: 1rem;
}

.calc-grid input {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  border-radius: 8px;
}

.result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.result-box p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

/* SEO tartalom */

.article {
  margin-top: 3rem;
}

.article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article p,
.article li {
  line-height: 1.7;
}

.article ul {
  padding-left: 1.5rem;
}

/* Tippdoboz */

.info-box {
  padding: 1rem;
  border-left: 4px solid #0077ff;
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Táblázat */

.conversion-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 8px;
}

.conversion-table th,
.conversion-table td {
  padding: 0.9rem;
  text-align: center;
}

.conversion-table th {
  font-weight: 700;
}

.conversion-table tr:last-child td {
  border-bottom: none;
}

/* Mobil */

@media (max-width: 768px) {
  .converter-header {
    flex-direction: column;
    align-items: stretch;
  }

  .swap-btn {
    width: 100%;
  }

  .result-box p {
    font-size: 1.1rem;
  }

  .conversion-table {
    font-size: 0.9rem;
  }

  .conversion-table th,
  .conversion-table td {
    padding: 0.6rem;
  }
}