/* Tuular: lisastiil uuele saidile (Payload). Vana kujundus jääb samaks.
   1) Pealkirjade parandused: element on vahetatud õige taseme vastu, välimus on sama mis enne.
   2) Ventilatsiooni ABC artiklite nimekiri ja artiklileht.
   3) Vormi lõks ja ostukorvi pisiasjad. */

/* --- 1. pealkirjad ---------------------------------------------------- */

/* lehe päise suur pealkiri, kui see pole H1 (kategooria, toode, artikkel) */
.tl-h1 { margin: 1.414em 0 .5em; font-weight: inherit; line-height: 1.2; font-family: inherit; font-size: inherit; }
@media (min-width: 768px) { .tl-h1 { margin-top: 0; line-height: 1; } }

/* plastventilatsiooni sissejuhatus: oli h3, nüüd lõik */
.tl-h3 { margin: 1.414em 0 .5em; font-weight: inherit; line-height: 1.2; font-family: 'Roboto', sans-serif; color: #000; font-size: 1.75rem; }
@media (min-width: 768px) { .tl-h3 { font-size: 1.477em; } }

/* AIRI ja privaatsuse vahepealkirjad: olid <p><strong> / <p><span><b>, nüüd h2 (rasvane tuleb sisemisest b/strong-ist) */
.tl-h2p { margin: 0 0 1.3em; font-size: .97em; font-weight: inherit; line-height: inherit; font-family: inherit; color: inherit; }
@media (min-width: 768px) { .tl-h2p { font-size: .97em; } }

/* kategooria nimi: oli h2, nüüd lehe H1 */
.tl-h2l { margin: 1.414em 0 .5em; line-height: 1.2; font-family: 'Roboto', sans-serif; font-size: 2rem; font-weight: inherit; color: #000; }
@media (min-width: 768px) { .tl-h2l { margin-top: 1.414em; font-size: 1.569em; line-height: 1.2; } }

/* toote nimi: oli h2, nüüd lehe H1 (suurus ja veerised on reasiseses stiilis) */
.tl-ph1 { font-family: 'Roboto', sans-serif; line-height: 1.2; font-weight: inherit; color: #000; }

/* toote kaart nimekirjas: oli h4, nüüd h3 */
.tl-h4 { font-size: 1.5rem; }
@media (min-width: 768px) { .tl-h4 { font-size: .87em; } }

/* --- 2. Ventilatsiooni ABC artiklid ------------------------------------ */

.tl-artiklid { padding-top: 10px; padding-bottom: 60px; }
.tl-artiklid > .container > h2 { margin-bottom: 24px; }
.tl-art { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #eceaf5; border-radius: 14px; overflow: hidden; color: #111116; text-decoration: none; transition: box-shadow .25s ease, transform .25s ease; }
.tl-art:hover { color: #111116; text-decoration: none; box-shadow: 0 12px 30px rgba(17, 17, 22, .08); transform: translateY(-2px); }
.tl-art-img { display: block; aspect-ratio: 16 / 9; background: #f3f3fb center / cover no-repeat; }
.tl-art-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.tl-art-date { font-size: 13px; color: #666b78; margin-bottom: 6px; }
.tl-art h3 { font-family: 'Poppins', 'Roboto', sans-serif; font-size: 1.12rem; font-weight: 600; line-height: 1.35; margin: 0 0 10px; color: #111116; }
.tl-art p { font-size: .95rem; color: #484848; margin: 0 0 14px; }
.tl-art-more { margin-top: auto; font-weight: 600; font-size: .92rem; color: #5d35ac; }
.tl-artiklid .row > div { margin-bottom: 24px; }

.tl-artikkel { padding-top: 10px; padding-bottom: 50px; }
.tl-artikkel .tl-crumb { font-size: 14px; margin-bottom: 10px; }
.tl-artikkel .tl-crumb a { color: #5d35ac; }
.tl-artikkel h1 { font-family: 'Poppins', 'Roboto', sans-serif; font-weight: 600; font-size: 2rem; line-height: 1.2; margin: 0 0 10px; color: #111116; }
@media (min-width: 768px) { .tl-artikkel h1 { font-size: 2.3rem; line-height: 1.2; } }
.tl-artikkel .tl-art-date { display: block; margin-bottom: 22px; }
.tl-artikkel .tl-kaas { width: 100%; height: auto; border-radius: 14px; margin-bottom: 26px; display: block; }
.tl-sisu { font-size: 1.04rem; line-height: 1.7; color: #333; }
.tl-sisu h2 { font-size: 1.5rem; margin: 1.6em 0 .55em; font-weight: 500; }
.tl-sisu h3 { font-size: 1.22rem; margin: 1.4em 0 .5em; font-weight: 500; }
.tl-sisu p { font-size: 1em; margin-bottom: 1.1em; }
.tl-sisu ul, .tl-sisu ol { margin: 0 0 1.2em 1.2em; padding: 0; }
.tl-sisu li { margin-bottom: .4em; }
.tl-sisu img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0 18px; }
.tl-sisu a { color: #5d35ac; text-decoration: underline; }
.tl-sisu blockquote { border-left: 3px solid #5d35ac; padding: 4px 0 4px 16px; margin: 1.2em 0; color: #484848; }
.tl-sisu table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95em; }
.tl-sisu th, .tl-sisu td { border: 1px solid #eceaf5; padding: 8px 10px; text-align: left; }

/* --- 3. muu -------------------------------------------------------------- */

.tl-trap { position: absolute !important; left: -9999px !important; top: auto !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; }
#tl-korv .qty-pill-static a { cursor: pointer; }
#tl-korv .tl-viga { color: #c0392b; margin: 10px 0; }
.tl-404 { padding: 60px 0 80px; }

/* Avalehe päis telefonis: pikk sõna H1-s ("ventilatsioonimaterjalid", soome "ilmanvaihtomateriaalit")
   ja nuppude nowrap venitasid lehe 390 px ekraanil 442 kuni 488 px laiuseks, leht keris külgsuunas.
   Viga oli ka vanal saidil. Alates 576 px laiusest on kõik nagu enne. */
@media (max-width: 575.98px) {
  .hero-content-col { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-content { min-width: 0; }
  .hero-title { font-size: clamp(21px, 6.9vw, 30px); overflow-wrap: break-word; }
  .hero-content .btn, .solution-band .btn-outline-purple { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
}
