/*
Theme Name: Эвакуатор Тема
Author: BAS DIGITAL
Description: Главная страница частного эвакуатора для Санкт-Петербурга и Ленинградской области.
Version: 1.2.0
Requires at least: 6.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: tema-evakuator
*/
html{background:#fbfcfa}
body{margin:0;padding:clamp(1rem,4vw,3rem);font-family:system-ui,sans-serif;color:#153128}
.tema-hero{min-height:19rem}
.tema-brand{margin-bottom:1rem}
.tema-brand img{display:block;max-width:min(100%,12rem);height:auto}
.tema-photo{margin:1rem 0 0;overflow:hidden;border-radius:1rem}
.tema-photo img{display:block;width:100%;height:auto;max-height:34rem;object-fit:cover}
.tema-content{max-width:48rem;margin-inline:auto;line-height:1.55}
.tema-page{--ink:#153128;--soft:#edf5ef;--orange:#ffd099;box-sizing:border-box;width:min(100%,70rem);margin-inline:auto;color:var(--ink);font-family:system-ui,sans-serif;line-height:1.55;overflow-wrap:break-word}
.tema-page *{box-sizing:border-box}
.tema-page h1,.tema-page h2,.tema-page p{margin:0}
.tema-page h1{max-width:18ch;font-size:clamp(2.1rem,5vw,4rem);line-height:1.08;letter-spacing:-.035em;color:inherit}
.tema-page h2{font-size:clamp(1.4rem,3vw,2rem);line-height:1.2;color:inherit}
.tema-page .tema-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;align-items:end;padding:clamp(1.25rem,5vw,3.75rem);background:#153128;color:#fff;border-radius:1.25rem}
.tema-page .tema-hero p{margin-top:1rem}
.tema-page .tema-card{padding:1.25rem;border-radius:1rem;background:var(--soft);color:var(--ink)}
.tema-page .tema-hero .tema-card p{margin-top:.5rem}
.tema-page .tema-price{display:block;font-size:clamp(1.65rem,4vw,2.5rem);font-weight:750;line-height:1.1}
.tema-page .tema-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.35rem}
.tema-page .tema-action{display:inline-flex;align-items:center;min-height:44px;padding:.6rem .95rem;border:1px solid #a8bdb0;border-radius:.65rem;color:inherit;text-decoration:none;font-weight:650}
.tema-page .tema-call{background:var(--orange);color:#2e2215;border-color:transparent}
.tema-page a:hover{text-decoration:underline}
.tema-page a:focus-visible{outline:3px solid #d27b20;outline-offset:3px}
.tema-page .tema-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-block:1rem}
.tema-page .tema-info p{margin-top:.6rem}
.tema-page .tema-info ul{margin:.6rem 0 0;padding-inline-start:1.25rem}
.tema-page .tema-contact{padding:1.25rem;border:1px solid #c8d8cc;border-radius:1rem}
.tema-page .tema-contact p{margin-top:.6rem}
@media(max-width:42rem){.tema-page .tema-hero,.tema-page .tema-info{grid-template-columns:1fr}.tema-page .tema-hero{gap:1.25rem}}

.tema-gallery {
  margin-block: 1.75rem;
}
.tema-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.tema-gallery figure {
  margin: 0;
}
.tema-gallery figure a {
  display: block;
  overflow: hidden;
  border-radius: .75rem;
  background: var(--soft);
}
.tema-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.tema-gallery figcaption {
  margin-top: .4rem;
  font-size: .9rem;
  font-weight: 600;
}
@media (max-width: 50rem) {
  .tema-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
