/*
Theme Name: Teplo
Author: Teplo
Version: 1.0
Description: Легка SEO-тема
*/

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #f5f6f7;
    color: #1a1a1a;
}

/* ===== CONTAINER ===== */
.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    height: 70px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
	padding: 0 15px;

}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo a {
    font-weight: 700;
    font-size: 22px;
    color: #111;
    text-decoration: none;
}


/* ===== BURGER ===== */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
	margin-left: auto;

}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #111;
	transition: 0.3s ease;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MENU LINKS ===== */

.main-nav .menu a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.main-nav .menu a:hover {
    opacity: 0.7;
}


/* ===== MOBILE ===== */
@media (max-width: 767px) {

    .main-nav .menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #f2f3f5;
        padding: 20px;
        border-bottom: 1px solid #eee;

        list-style: none;
        display: none;
        flex-direction: column;
        gap: 15px;
    }

    .main-nav .menu.active {
        display: flex;
    }
}


/* ===== DESKTOP ===== */
@media (min-width: 768px) {

    .menu-toggle {
        display: none;
    }

    .main-nav .menu {
        list-style: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 30px;
        margin: 0;
        padding: 0;
    }
}

.site-content {
    padding: 40px 0;
}

.content-wrapper {
    display: flex;
    gap: 40px;
}

.content-wrapper.no-sidebar {
    justify-content: center;
}

.main-content {
    flex: 1;
    max-width: 760px;
}

.sidebar {
    width: 300px;
}
.post-card {
    font-size: 18px;
    line-height: 1.7;
	max-width: 760px;
}

.post-card p {
    margin-bottom: 18px;
}

.post-card h2 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.post-card h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.post-card ul {
    margin-bottom: 18px;
    padding-left: 22px;
}

.post-card li {
    margin-bottom: 8px;
}

