/*
Theme Name: Kalium
Theme URI: https://kaliumtheme.com
Author: Laborator
Author URI: https://laborator.co/
Description: Start creating that amazing website that you have always wanted, only with Kalium &mdash; Connect with Laborator on: <a href="https://themeforest.net/user/laborator">Envato</a> &bull; <a href="https://twitter.com/thelaborator">Twitter</a> &bull; <a href="https://www.facebook.com/laboratorcreative">Facebook</a> &bull; <a href="https://www.instagram.com/laboratorcreative/">Instagram</a>
Version: 3.2.1
License: GNU General Public License version 3.0
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kalium
*/

/* Header scroll shadow - Added 2025-11-23 */
.stf-header.has-scroll-shadow {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
	transition: box-shadow 0.3s ease;
}

/* Blog posts column - stretch to full width */
.column--posts {
	width: 100% !important;
	max-width: 100% !important;
}

/* Sticky footer to bottom */
html, body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
}

#page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.kalium_wrapper {
	flex: 1;
}

footer,
.footer,
.stf-footer-alt {
	margin-top: auto;
	width: 100%;
}
/* Smooth scroll and anchor offset - Added 2025-11-27 */
html {
	scroll-behavior: smooth;
}

/* Offset for fixed header (120px height) */
section, [id] {
	scroll-margin-top: 120px;
}

/* Additional offset for common anchor elements */
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id],
.section[id], .container[id], .content[id] {
	scroll-margin-top: 120px;
}

/* 03.10: «Каталог» в нижнем меню телефона - заголовок секции сразу под шапкой
   (видимый низ сжатой шапки 70px + 15px), надпись над ним (низ на 50px) уходит под шапку.
   20 = 85 - 65: заголовок на 65px ниже верха секции. */
@media (max-width: 767px) {
	#catalog {
		scroll-margin-top: 20px;
	}
}
