#logo			{ display:block; margin:0 auto; width:210px; height:80px; background:url(https://txt.sexhelper.info/assets/img/logo.png) center center no-repeat; }

.container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-button {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
}
.search-form {
    display: flex;
    border: 1px solid #ccc;
}

article {  margin: 0 auto; }

.h1,h1 { font-size: 20pt; font-family:var(--heading-font) }
.h2,h2 { font-size: 18pt; }
.h3,h3 { font-size: 16pt; }
.h4,h4 { font-size: 14pt; }
.h5,h5 { font-size: 14pt; }
.h6,h6 { font-size: 14pt; }

h2+*,h3+*,h4+*,h5+*,h6+*{
    margin-top:calc(var(--baseline) * 2 + .25vw)
    }
b,strong{
    font-variation-settings:"wght" var(--font-weight-bold)
    }
blockquote{
    border-top:2px solid var(--dark);
    border-bottom:2px solid var(--dark);
    color:var(--headings-color);
    font-family:var(--heading-font);
    font-style:italic;
    font-variation-settings:"wght" var(--font-weight-bold);
    padding:calc(var(--baseline) * 6 + 1vw) 2rem;
    font-size: 14pt;)
    }

.pb1 { padding-bottom: 1rem; }
.pb2 { padding-bottom: 2rem; }

.mb1 { margin-bottom: 1rem; }
.mb2 { margin-bottom: 2rem; }
.mb3 { margin-bottom: 3rem; }

.hero__content { }
.hero__content h1>sup { vertical-align:top; }
.hero__content--centered { text-align:center; }
.hero__content--centered .content__meta { justify-content:center; }
.hero__cta { }
.hero__image { }
.hero__image-wrapper { position:relative; background:var(--lighter); border-radius:calc(var(--border-radius) * 4) }
.hero__image-wrapper img { border-radius:inherit; display:block; height:100%; -o-object-fit:cover; object-fit:cover;width:100%; }

@media all and (min-width:56.25em) { .hero__image-wrapper {height:var(--hero-height)} }

:root { 
--page-margin:6vw;
--page-width:66rem;
--content-text:40rem;
--content-img:50rem;
--entry-width:42rem;
--navbar-height:4.4rem;
--border-radius:3px;
--baseline:0.28333rem;
--gallery-gap:calc(var(--baseline) * 1.5);
--body-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
--heading-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
--logo-font:var(--body-font);
--menu-font:var(--body-font);
--font-size:clamp(1rem, 1rem + (0.19999999999999996 * ((100vw - 20rem) / 70)), 1.2rem);
--font-weight-normal:400;
--font-weight-bold:600;
--line-height:1.75;
--letter-spacing:0em;
--headings-weight:500;
--headings-transform:none;
--headings-style:normal;
--headings-letter-spacing:0em;
--headings-line-height:1.2;
--hero-height:1vh;
--feed-image-size:8rem;
--white:#FFFFFF;
--black:#17181E;
--helper:#FFFFFF;
--dark:#17181E;
--gray:#57585a;
--light:#CACBCF;
--lighter:#F3F3F3;
--page-bg:#FFFFFF;
--color:#D73A42;
--text-color:#17181E;
--headings-color:#17181E;
--link-color:#17181E;
--link-color-hover:#D73A42;
--nav-link-color:#17181E;
--nav-link-color-hover:#17181E;
--logo-color:#17181E;
--highlight-color:#FFC700;
--info-color:#67B1F3;
--success-color:#00A563;
--warning-color:#EE4E4E
}

.hero__content { }
.hero__content h1>sup { }
.hero__content--centered {text-align:center}
.hero__content--centered .content__meta {justify-content:center}
.hero__cta { }
.hero__image { )}
.hero__image-wrapper {position:relative;background:var(--lighter);border-radius:calc(var(--border-radius) * 4)}

.brd { border: 1px solid #000; margin: -1px; }

.content-text {width:var(--content-text);}
.content-img {width:var(--content-img);}


.sh_maintag { display: block; text-transform: uppercase; letter-spacing: 1px; }
.sh_meta { color: #666; line-height: 1.6; }
.sh_author { font-weight: bold; color: #000; }
.sh_title { line-height: 1.1; color: #000; }

.article-hero {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px; /* Расстояние между текстом и картинкой */
    align-items: center; /* Вертикальное выравнивание по центру */
}

.article-hero__content { text-align: left; min-width:var(--content-img); width: 100%; }

.article-hero__title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.article-hero__subtitle {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
    font-family: serif; /* Можно убрать, если не нужен шрифт с засечками */
}

.article-hero__meta {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.article-hero__author {
    font-weight: bold;
    color: #000;
}

.article-hero__image {
    min-width:var(--content-img);
    width: 100%;
    display: flex;
    justify-content: center;
}

.article-hero__image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Чтобы картинка заполняла пространство красиво */
    border-radius: 4px; /* Легкое скругление углов (по желанию) */
}

@media (max-width: 768px) {
    .article-hero {
        grid-template-columns: 1fr; /* Переключаем в одну колонку */
        gap: 20px;
        margin-top: 20px;
    }

    /* Если хотите, чтобы картинка была СВЕРХУ на телефоне, раскомментируйте строчку ниже: */
    /* .article-hero__image { order: -1; } */

    .article-hero__title {
        font-size: 32px; /* Чуть меньше шрифт на телефоне */
    }
}


.post__toc { background:#f9f9f9; border: 2px dashed #ccc; padding: 2rem; }
.post__toc[aria-expanded="false"] { padding: 2rem 2rem 1rem 2rem; }
.post__toc a { color: #887a61; border-bottom: 2px dashed #887a61;}

.sx_title a { color: #e43b00; border-bottom: 1px solid #887a61; }

ol ol { margin: 0 0 0 0.5rem; }

.archive-list { margin: 0 auto; }
.archive-item { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }

.title-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; max-width: 80%; order: 1; }
.title { color: #333; text-decoration: none; font-size: 0.8rem; line-height: 3; text-transform: uppercase; }
.title.italic { font-style: italic; }

.title:hover { text-decoration: underline; }

.date { color: #666; font-size: 0.8rem; white-space: nowrap; text-align: right; order: 3; }
.badge { display: inline-flex; }

.main-tag-link { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.05em; background: #fdf6ea; color: #887a61; border: 1px solid #efe4d1; padding: 2px 6px; border-radius: 3px; text-decoration: none; line-height: 1; }
.main-tag-link:hover { background: #f5ecd7; }

.sx_home_lyt { width: 100%; max-width: 1200px; }
.archive-item::after { content: ""; flex-grow: 1; border-bottom: 1px dotted #bbb; margin: 0 12px; position: relative; top: -4px; order: 2; }

body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

small, .post-meta, .footer-info {
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}



.sx_post_l,.sx_post_r {min-width: 3rem;}
.content-text {
	flex-direction: column;
	text-align: left;
	align-items: baseline;
	margin: 0;
	}

.sx_title_lyt, .sx_img_lyt, .sx_txt_lyt, .sx_home_lyt
{
    display: grid;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.sx_title_lyt { grid-template-columns: 6fr 4fr; gap: 20pt; }
.sx_img_lyt { grid-template-columns: 0.8fr; }
.sx_txt_lyt { grid-template-columns: 10% 85% 1fr; }

.sx_img_lyt * { width: 100%; }

.h1,.h2,.h3,h1,h2,h3 { font-family: 'Montserrat', sans-serif; }
.h1,h1 { font-size: 40pt; margin: 1rem 0; }

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr; 
    gap: 20pt;
    max-width: 1200px;
    width: 100%;
    margin: 20pt auto;
    box-sizing: border-box;
}

.hero-layout__content { text-align: left; }

/* Синяя рубрика сверху */
.hero-layout__category {
    display: inline-block;
    color: #333;
    font-size: 10pt;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 7pt;
    letter-spacing: 0.5px;
}

/* Главный заголовок */
.hero-layout__title {
    color: #000;
    letter-spacing: -0.5px;
}

/* Подзаголовок (с засечками, как на скрине) */
.hero-layout__subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.4;
}

/* Блок автора и даты */
.hero-layout__meta {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.hero-layout__author a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.hero-layout__date {
    display: block;
    color: #666;
    margin-top: 4px;
    font-size: 13px;
}

.hero-layout__image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-layout__image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px; 
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr; /* Одна колонка */
        gap: 30px;
        margin: 30px auto;
    }

    .hero-layout__title {
        font-size: 32px; /* Чуть меньше заголовок */
    }
    
    /* Если хочешь картинку СВЕРХУ на телефоне, раскомментируй строку ниже: */
    /* .hero-layout__image-wrapper { order: -1; } */
}

#cusdis_thread iframe {min-height: 300px; border: 1px solid #000; margin-bottom: -20px;}
.post__image--wide{display:content}
@media all and (min-width:56.25em){.post__image--wide{margin-left:0;margin-right:0;}