/*
Theme Name: For Tiles Global
Theme URI: https://times-global.ru/
Author: Lithops Group
Author URI: https://lithops-group.ru/
Description: A basic WordPress theme for testing AJAX and includes Bootstrap.
Version: 1.0
*/




.header-h1-description {
  box-shadow: 0 0 2px rgba(145, 158, 171, .2), 0 12px 24px -4px rgba(145, 158, 171, .12);
    border-radius: .5rem;
    padding: 10px 15px;
}

.header-h1-description__text p {
  margin-bottom: 1rem;
}

.header-h1-description__text p:last-child {
  margin-bottom: 0;
}

.header-h1-description__text strong,
.header-h1-description__text b {
  font-weight: 700;
}

.header-h1-description__text a {
  text-decoration: underline;
}


body {
  font-family: 'PT Sans', sans-serif; /* Основной текст */
}

h1, h2, h3 {
  font-family: 'PT Sans', sans-serif; /* Заголовки */
  font-weight: 700;
}

.include-nav {
  background-color: #f0f3f2;
  border-radius: 5px;
  padding: 7px 10px;
}

.image-rounded {
  border-radius: 10px;
    max-width: 100%;
    max-height: 300px;
}


.classic-card {
  box-shadow: 0 0 2px rgba(145, 158, 171, .2), 0 12px 24px -4px rgba(145, 158, 171, .12);
  border-radius: .5rem;
  padding: 10px 15px;
}


h1 {
  font-size: 2.5rem; /* 40px */
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
  line-height: 1.4;
}

h4 {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  line-height: 1.5;
}

h5 {
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  line-height: 1.6;
}

h6 {
  font-size: 1rem; /* 16px */
  font-weight: 700;
  line-height: 1.7;
}

p {
  font-size: 1rem; /* 16px */
  font-weight: 400; /* Обычный текст */
  line-height: 1.6; /* Увеличенный межстрочный интервал для удобства чтения */
  margin-bottom: 1rem; /* Расстояние между абзацами */
}

small {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  line-height: 1.5;
}

a {
  color:rgb(255,145,77);
}

h2 a, h3 a, h4 a {
  color:#000;
}


.calculation-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 20px auto;
}

.calculation-card h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.calculation-card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 20px;
}

.calculation-table {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

thead {
  background-color: #f4f4f4;
}

thead th {
  font-weight: bold;
  text-align: left;
  padding: 10px;
  color: #333;
}

tbody td {
  padding: 10px;
  border-bottom: 1px solid #eaeaea;
  color: #555;
}

tbody .total-row td {
  font-weight: bold;
  color: #000;
}

tbody tr:last-child td {
  border-bottom: none;
}

@media (max-width: 600px) {
  .calculation-card {
    padding: 15px;
  }

  table {
    font-size: 0.9rem;
  }
}

.tg-404-page {
  min-height: 45vh;
}

.tg-404-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px;
}

.tg-404-code {
  font-size: 72px;
  line-height: 1;
  font-weight: 700;
  color: rgb(255,145,77);
}

@media (max-width: 768px) {
  .tg-404-code {
    font-size: 56px;
  }

  .tg-404-card {
    padding: 24px 16px;
  }
}
