/* single-temp.sk – doplnky k štýlom wermaly.sk (wermaly.css). Prefix st-*. */

/* ── hlavička: logo SINGLE + partner ───────────────────────────── */
.st-logo a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.st-logo img { width: 170px; height: auto; max-height: none; }
.st-logo-by { display: block; border-left: 2px solid var(--wm-green); padding-left: 14px; font-size: 12px; line-height: 1.45; color: #666; white-space: nowrap; }
.st-logo-by strong { color: var(--wm-dark); font-size: 13px; letter-spacing: .5px; }
.st-mobile-logo img { width: 150px; height: auto; }
.st-mobile-logo small { display: block; font-size: 12px; color: #666; margin-top: 4px; }
.st-footer-logo { width: 170px; height: auto; margin-bottom: 18px; }
.wm-footer .devien-description-area p a { color: var(--wm-green); }

/* tenký pás pod menu – horúce a studené médium */
.st-banner { background-image: url(/assets/img/single/banner.webp); opacity: .85; }

.st-h1 { font-size: 38px; line-height: 1.2; margin: 6px 0 16px; }

/* ── hero s videom ─────────────────────────────────────────────── */
.st-hero { position: relative; overflow: hidden; background: var(--wm-dark); color: #fff; }
.st-hero::before { content: ""; position: absolute; inset: 0; background: url(/assets/img/single/hero-poster.webp) center / cover no-repeat; opacity: .28; }
.st-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 45%, rgba(139,211,14,.16) 0%, rgba(9,17,37,0) 55%), linear-gradient(90deg, rgba(9,17,37,.85) 0%, rgba(9,17,37,.4) 100%); }
.st-hero-inner { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 50px; }
.st-hero-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000 url(/assets/img/single/firma-montaz.webp) center / cover no-repeat; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.04); }
.st-hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-hero-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--wm-green); margin-bottom: 14px; }
.st-hero h1 { color: #fff; font-size: 54px; line-height: 1.08; font-weight: 700; margin: 0 0 22px; }
.st-hero h1 span { color: var(--wm-green); }
.st-hero p { color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.7; margin-bottom: 28px; }
.st-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.st-hero-btns .witr_button_area { margin: 0; }
.st-btn-ghost { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 2px solid rgba(255,255,255,.7); border-radius: 4px; color: #fff; font-weight: 600; transition: background .25s, color .25s, border-color .25s; }
.st-btn-ghost:hover { background: #fff; color: var(--wm-dark); border-color: #fff; }
.st-hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 70px; }
.st-hero-stats > div { padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.st-hero-stats strong { display: block; font-size: 30px; line-height: 1.1; color: var(--wm-green); font-weight: 700; }
.st-hero-stats span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.85); }
.st-stats-light { margin-top: 40px; }
.st-stats-light > div { background: #f7f9f3; border-color: #e6ebdd; backdrop-filter: none; }
.st-stats-light span { color: #555; }

/* ── kategórie produktov (dlaždice s textúrou) ─────────────────── */
.st-cats-section { padding: 70px 0 50px; }
.st-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.st-cat { position: relative; display: block; height: 340px; border-radius: 14px; overflow: hidden; background: var(--wm-dark); color: #fff; box-shadow: 0 10px 28px rgba(9,17,37,.12); transition: transform .3s, box-shadow .3s; }
.st-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.st-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,17,37,.05) 20%, rgba(9,17,37,.85) 100%); }
.st-cat-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.st-cat-body strong { font-size: 24px; line-height: 1.2; font-weight: 700; color: #fff; }
.st-cat-body small { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.88); }
.st-cat-body em { font-style: normal; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--wm-green); margin-top: 6px; }
.st-cat:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(9,17,37,.22); color: #fff; }
.st-cat:hover img { transform: scale(1.06); }
.st-cat-catalog { background: linear-gradient(135deg, var(--wm-green-dark), var(--wm-dark)); }
.st-cat-catalog::after { display: none; }
.st-cat-catalog .st-cat-body { top: 0; justify-content: center; }
.st-cat-catalog .st-cat-body i.fas.fa-shopping-cart { font-size: 40px; color: #fff; margin-bottom: 8px; }
.st-cats-more { text-align: center; margin: 30px 0 0; font-size: 16px; }
.st-cats-more a { font-weight: 700; }

/* ── úspora energie (úvod) ─────────────────────────────────────── */
.st-energy { padding: 80px 0; background: linear-gradient(120deg, #f6f8f3 0%, #eef5e0 100%); }
.st-energy .wm-heading { font-size: 34px; }
.st-energy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.st-energy-grid > div { background: #fff; border: 1px solid #e3ebd2; border-top: 4px solid var(--wm-green); border-radius: 12px; padding: 24px; box-shadow: 0 8px 22px rgba(9,17,37,.06); }
.st-energy-grid strong { display: block; font-size: 34px; color: var(--wm-dark); font-weight: 700; line-height: 1.1; }
.st-energy-grid span { display: block; margin-top: 8px; color: #555; font-size: 15px; line-height: 1.5; }

/* ── odvetvia (úvod) ───────────────────────────────────────────── */
.st-ind-section { padding: 70px 0 50px; }
.st-ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.st-ind { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #ececec; transition: transform .25s, box-shadow .25s, border-color .25s; }
.st-ind img { width: 100%; height: 110px; object-fit: cover; display: block; }
.st-ind span { display: block; padding: 12px 14px; font-weight: 700; font-size: 14.5px; color: var(--wm-dark); line-height: 1.35; }
.st-ind:hover { transform: translateY(-4px); border-color: var(--wm-green); box-shadow: 0 10px 24px rgba(139,211,14,.18); }

.st-service-strip { background: #f7f9f3; padding: 60px 0 40px; }

/* ── novinky (úvod) ────────────────────────────────────────────── */
.st-news-section { padding: 70px 0 40px; }
.st-news-card { display: flex; flex-direction: column; height: calc(100% - 30px); margin-bottom: 30px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #ececec; color: var(--wm-text); transition: transform .25s, box-shadow .25s; }
.st-news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(9,17,37,.12); color: var(--wm-text); }
.st-news-img { display: block; height: 200px; overflow: hidden; background: #f3f3f3; }
.st-news-img img { width: 100%; height: 100%; object-fit: cover; }
.st-news-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.st-news-body small { color: var(--wm-green-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; font-size: 12.5px; }
.st-news-body strong { color: var(--wm-dark); font-size: 19px; line-height: 1.3; }
.st-news-body span { font-size: 15px; line-height: 1.6; color: #555; }

/* ── hlavička produktovej kategórie ────────────────────────────── */
.st-page-head { position: relative; background-size: cover; background-position: center; padding: 90px 0 80px; color: #fff; }
.st-page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,17,37,.85) 0%, rgba(9,17,37,.55) 55%, rgba(9,17,37,.15) 100%); }
.st-page-head .container { position: relative; z-index: 1; }
.st-page-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--wm-green); margin-bottom: 10px; }
.st-page-head h1 { color: #fff; font-size: 44px; line-height: 1.15; max-width: 760px; margin: 0; }

/* ── produktové karty ──────────────────────────────────────────── */
.st-products { padding: 60px 0 40px; }
.st-products-alt { background: #f7f9f3; }
.st-products .witr_section_title { margin-bottom: 34px; }
.st-products .witr_section_title_inner h2 { color: var(--wm-green-dark); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.st-products .witr_section_title_inner h3 { font-size: 30px; font-weight: 700; color: var(--wm-dark); margin: 0; }
.st-product { display: flex; flex-direction: column; height: calc(100% - 30px); margin-bottom: 30px; background: #fff; border: 1px solid #e6ebdd; border-radius: 14px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.st-product:hover { transform: translateY(-4px); border-color: var(--wm-green); box-shadow: 0 12px 28px rgba(139,211,14,.18); }
.st-product-img { height: 250px; display: flex; align-items: center; justify-content: center; padding: 18px; background: #fff; border-bottom: 1px solid #eef1e8; }
.st-product-img img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.st-product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.st-product-body h3 { font-size: 21px; color: var(--wm-dark); margin: 0 0 10px; }
.st-product-body p { font-size: 15px; line-height: 1.6; color: #555; margin-bottom: 14px; }
.st-tags { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.st-tags li { font-size: 12.5px; font-weight: 600; color: var(--wm-dark); background: #eef7da; border: 1px solid #d9eab4; border-radius: 20px; padding: 3px 10px; }
.st-product-ask { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--wm-green-dark); }
.st-product-ask:hover { color: var(--wm-dark); }
.st-product-wide { flex-direction: row; }
.st-product-wide .st-product-img { flex: 0 0 42%; height: auto; min-height: 300px; border-bottom: 0; border-right: 1px solid #eef1e8; }
.st-product-wide .st-product-body { padding: 30px 34px; }

.st-side-box { background: #fff; border: 1px solid #e6ebdd; border-radius: 14px; padding: 28px 28px 22px; box-shadow: 0 6px 20px rgba(9,17,37,.06); }
.st-side-box h3 { font-size: 21px; color: var(--wm-dark); margin: 4px 0 12px; }
.st-side-box .wm-catalog-links { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 16px; }
.st-side-box .wm-catalog-links a { font-weight: 600; }
.st-side-note { font-size: 14px; color: #666; border-top: 1px solid #eee; padding-top: 12px; margin-top: 10px; }
.st-side-note i { color: var(--wm-green-dark); }
.st-green-box { margin-top: 40px; border-left: 5px solid var(--wm-green); }
.st-green-box h3 i { color: var(--wm-green-dark); }

.st-other-cats { padding: 40px 0 60px; border-top: 1px solid #ececec; }
.st-other-cats .wm-heading { font-size: 24px; margin-bottom: 20px; }
.st-other-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.st-other-links a { padding: 9px 18px; border: 1px solid #d9eab4; border-radius: 30px; background: #f7f9f3; font-weight: 600; font-size: 14.5px; color: var(--wm-dark); transition: background .2s, color .2s, border-color .2s; }
.st-other-links a:hover { background: var(--wm-green); border-color: var(--wm-green); color: #fff; }

/* Variotherm detail */
.st-att { padding: 60px 0; }
.st-att-img img { width: 100%; border-radius: 12px; }
.st-att-apps { margin-top: 20px; background: #f7f9f3; border-radius: 12px; padding: 22px 24px; }
.st-att-apps h3 { font-size: 19px; margin: 0 0 10px; color: var(--wm-dark); }
.st-att-apps ul { list-style: none; padding: 0; margin: 0 0 10px; }
.st-att-apps li { padding: 3px 0; }
.st-att-apps li i { color: var(--wm-green-dark); margin-right: 8px; }
.st-att-apps p { font-size: 14.5px; color: #555; margin: 0; }

/* Služby */
.st-service { display: flex; gap: 20px; align-items: stretch; background: #fff; border: 1px solid #e6ebdd; border-radius: 14px; overflow: hidden; margin-bottom: 30px; height: calc(100% - 30px); }
.st-service img { flex: 0 0 38%; width: 38%; object-fit: cover; object-position: right center; }
.st-service > div { padding: 22px 22px 18px 0; }
.st-service h3 { font-size: 19px; color: var(--wm-dark); margin: 0 0 8px; }
.st-service p { font-size: 15px; line-height: 1.6; color: #555; margin: 0; }

/* Úspora energie */
.st-energy-block { margin: 40px 0; }
.st-energy-block img { width: 100%; border-radius: 14px; }
.st-energy-block .wm-heading { font-size: 28px; }

/* O SINGLE – história */
.st-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.st-tl-item { position: relative; padding: 18px 18px 14px; background: #fff; border: 1px solid #e6ebdd; border-top: 4px solid var(--wm-green); border-radius: 10px; }
.st-tl-item strong { display: block; font-size: 24px; color: var(--wm-dark); }
.st-tl-item p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: #555; }
.st-photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.st-photo-row img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.st-photo-row-2 { grid-template-columns: repeat(2, 1fr); margin: 20px 0; }

/* Odvetvia – zoznam */
.st-ind-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 20px; }
.st-ind-item { background: #fff; border: 1px solid #e6ebdd; border-radius: 14px; overflow: hidden; scroll-margin-top: 90px; }
.st-ind-item-img img { width: 100%; height: 190px; object-fit: cover; display: block; }
.st-ind-item-body { padding: 22px 24px 18px; }
.st-ind-item-body h2 { font-size: 22px; color: var(--wm-dark); margin: 0 0 8px; }
.st-ind-teaser { font-weight: 600; color: var(--wm-green-dark); }
.st-ind-item-body p { font-size: 15px; line-height: 1.65; }

/* Novinky – články */
.st-article { display: grid; grid-template-columns: 5fr 7fr; gap: 34px; padding: 40px 0; border-bottom: 1px solid #ececec; scroll-margin-top: 90px; }
.st-article:last-child { border-bottom: 0; }
.st-article-img img { width: 100%; border-radius: 14px; position: sticky; top: 100px; }
.st-article-body .wm-heading { font-size: 28px; }
.st-article-body p { font-size: 16px; line-height: 1.7; }

/* Kontakt */
.st-team-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--wm-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.st-company-ids { font-size: 14.5px; color: #555; }
.st-downloads { margin: 20px 0 30px; }

/* ── responzívne ───────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .st-hero h1 { font-size: 46px; }
    .st-ind-grid { grid-template-columns: repeat(3, 1fr); }
    .st-timeline { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .st-hero-inner { padding-top: 60px; }
    .st-hero h1 { font-size: 38px; }
    .st-hero-media { margin-top: 40px; }
    .st-hero-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
    .st-cats { grid-template-columns: repeat(2, 1fr); }
    .st-energy .row > div + div { margin-top: 30px; }
    .st-page-head h1 { font-size: 34px; }
    .st-product-wide { flex-direction: column; }
    .st-product-wide .st-product-img { min-height: 260px; border-right: 0; border-bottom: 1px solid #eef1e8; }
    .wm-brand-details .col-lg-5 { margin-top: 30px; }
    .st-ind-list { grid-template-columns: 1fr; }
    .st-article { grid-template-columns: 1fr; gap: 20px; }
    .st-article-img img { position: static; }
    .st-timeline { grid-template-columns: repeat(2, 1fr); }
    .st-logo-by { display: none; }
    /* šablóna Devien dáva drobčekom na tablete/mobile padding 100 px (rovnaká chyba je aj na wermaly.sk) */
    .wm-breadcrumb { padding-top: 0 !important; padding-bottom: 0 !important; }
    .wm-brand-intro { padding-top: 20px !important; }
}
@media (max-width: 767px) {
    .st-h1 { font-size: 30px; }
    .st-hero h1 { font-size: 32px; }
    .st-hero p { font-size: 16px; }
    .st-hero-media { display: none; }
    .st-hero-stats strong { font-size: 24px; }
    .st-cats { grid-template-columns: 1fr; }
    .st-cat { height: 280px; }
    .st-energy-grid { grid-template-columns: 1fr; }
    .st-ind-grid { grid-template-columns: repeat(2, 1fr); }
    .st-page-head { padding: 60px 0 50px; }
    .st-page-head h1 { font-size: 28px; }
    .st-products .witr_section_title_inner h3 { font-size: 24px; }
    .st-service { flex-direction: column; gap: 0; }
    .st-service img { width: 100%; height: 180px; flex: none; }
    .st-service > div { padding: 18px 20px; }
    .st-timeline { grid-template-columns: 1fr; }
    .st-photo-row { grid-template-columns: 1fr; }
    .st-photo-row img { height: 200px; }
}
