/*
Theme Name: Everything about hemorrhoids — Newspaper transfer
Template: newspaper
Version: 2.0
Description: gemorroi.su Newspaper layout with preserved vseogemorroe.ru content and URLs.
*/
.page-outer{min-height:100vh;display:flex;flex-direction:column}.page-content-outer{flex:1;width:100%;padding:30px 0 48px;background:#fff}.main-page-wrap{padding-top:32px}
.header-logo.site-logo_main{padding:28px 20px 22px;margin:0;text-align:center;position:relative}.vseo-brand{font-family:Roboto,Arial,sans-serif;font-size:34px;font-weight:800;color:#52acb2!important;line-height:1.2;text-decoration:none!important}.vseo-subtitle{font-size:13px;color:#687779;margin-top:8px}.header-menu__wrap{box-shadow:0 3px 8px #00000010}.vseo-nav .sd-menu{display:flex;justify-content:center;flex-wrap:wrap;list-style:none;margin:0;padding:0}.vseo-nav .sd-menu li{float:none}.vseo-nav .sd-menu a{display:block;padding:18px 16px;font-size:14px;font-weight:700;text-transform:uppercase;color:#202c30}.vseo-nav .sd-menu a:hover{color:#287f87}.v-menu-button{display:none}.vseo-home-title{font-size:25px;line-height:1.35;margin:0 0 25px;font-weight:700}.big-grid__thumb{width:100%;height:100%;object-fit:cover}.big-grid__info-container a{pointer-events:auto}.v-notice{background:#eff8f7;border-left:4px solid #52acb2;padding:16px 20px;font-size:14px;line-height:1.65;margin:24px 0;color:#33474a}.vseo-section-title{font-size:24px;font-weight:700;line-height:1.35;padding-bottom:13px;border-bottom:2px solid #52acb2;margin:28px 0 22px}.vseo-breadcrumb{font-size:13px;color:#748083;margin:0 0 22px}.vseo-breadcrumb a{color:#287f87}.post-date{font-size:13px;color:#728185;margin:14px 0 22px}.page-title{font-size:34px;line-height:1.25}.page-sidebar,.vseo-sidebar{position:static!important;top:auto!important}.v-panel{margin:0 0 28px;padding:0;border:0;background:transparent}.v-panel h2{font-size:20px;font-weight:700;margin:0 0 15px;padding-bottom:12px;border-bottom:2px solid #52acb2;color:#202c30}.v-panel ul{list-style:none;padding:0;margin:0}.v-panel li{margin:0}.v-panel li a{display:block;padding:8px 0;color:#287f87}.v-story{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #edf0f0;font-size:14px;font-weight:700;line-height:1.45;color:#202c30}.v-story img{width:90px;height:70px;object-fit:cover;flex-shrink:0}.v-story:hover{color:#287f87}.v-meta{font-size:12px;line-height:1.5;color:#687779}.vseo-search{display:flex;gap:0}.vseo-search input{min-width:0;flex:1;width:150px;border:1px solid #d7e3e4;padding:10px 12px}.vseo-search button{padding:10px 14px;border:0;background:#287f87;color:#fff}.vseo-pagination{display:flex;flex-wrap:wrap;gap:8px;margin:25px 0}.vseo-pagination .page-numbers{display:block;border:1px solid #d7e3e4;padding:8px 14px;color:#287f87}.vseo-pagination .current{background:#287f87;color:#fff}.vseo-directions>a{display:block;padding:14px 0;border-bottom:1px solid #e7eeee;font-size:17px;color:#287f87}.vseo-directions span{float:right;font-size:13px;color:#6e7f82}.footer{background:#26383c!important;color:#e5eeef!important;padding:40px 0;margin-top:auto}.footer h2{font-size:18px;color:#fff;margin:0 0 18px}.footer a{color:#e5eeef}.footer p{font-size:13px;line-height:1.7;margin:14px 0}.footer ul{list-style:none;margin:0;padding:0}.footer li{margin:10px 0;font-size:14px}.footer .vseo-brand{font-size:26px;color:#fff!important}.vseo-footer-notice{border-top:1px solid #4e6266;padding-top:20px;margin-top:30px!important}.vseo-service{max-width:1000px}.btpr_module_3_container .btpr_module__title{line-height:1.4}.btpr_module_3_container .btpr_module{margin-bottom:28px}.btpr_module_3_container img{max-width:100%;object-fit:cover}.btpr_module_3_container .btpr_module:has(img){min-height:255px}.btpr_module_3_container .btpr_module:not(:has(img)){min-height:100px}.btpr_module__thumb-inner img{width:100%}
dialog.v-lightbox{border:0;background:#172632;color:white;max-width:95vw;max-height:95vh;padding:40px 12px 12px}dialog.v-lightbox::backdrop{background:#000b}dialog.v-lightbox img{max-width:90vw;max-height:80vh}dialog.v-lightbox button{position:absolute;right:12px;top:8px;color:white;background:transparent;border:1px solid #aaa;padding:2px 12px;cursor:pointer}
.wpcf7{max-width:680px}.wpcf7 textarea{width:100%;min-height:160px}.wpcf7 input:not([type=submit]){width:100%}.wpcf7 input[type=submit]{background:#287f87;color:#fff;border:0;padding:12px 22px;cursor:pointer}
@media(max-width:767px){.header-logo.site-logo_main{padding:22px 15px}.vseo-brand{font-size:28px}.vseo-nav .sd-menu{display:none;flex-direction:column;text-align:left}.vseo-nav.is-open .sd-menu{display:flex}.v-menu-button{display:block;width:100%;background:#fff;color:#202c30;padding:14px 0;border:0;text-align:left;font-size:16px;font-weight:700}.vseo-nav .sd-menu a{padding:12px 0}.vseo-home-title{font-size:23px}.big-grid__item{height:210px!important}.big-grid__item .big-grid__title{font-size:20px;line-height:1.3}.big-grid__side{width:100%}.page-title{font-size:28px}.page-sidebar{margin-top:30px}.footer__col{margin-bottom:28px}.vseo-service{padding:0 20px}.vseo-directions span{float:none;display:block;margin-top:6px}}
/* Article typography: comfortable reading and clear hierarchy. */
.v-body{font-size:18px;line-height:1.8;overflow-wrap:break-word}
.v-body p{margin:0 0 1.2em}
.v-body h2{font-size:28px;line-height:1.3;margin:1.8em 0 .7em;clear:both}
.v-body h3{font-size:22px;line-height:1.4;margin:1.5em 0 .65em}
.v-body h4{font-size:19px;line-height:1.45;margin:1.4em 0 .6em}
.v-body ul,.v-body ol{padding-left:1.5em;margin:.8em 0 1.4em}
.v-body li{padding-left:.2em;margin:.45em 0}
.v-body li::marker{color:#287f87;font-weight:700}
.v-body li>ul,.v-body li>ol{margin:.45em 0 .7em}
.v-body a{text-decoration:underline;text-underline-offset:.17em}
.v-body blockquote{font-style:normal}
.v-body figure{margin:1.5em 0}
.v-body img{max-width:100%;width:auto;height:auto;border-radius:4px}
.v-body figcaption,.v-body .wp-caption-text{font-size:14px;line-height:1.5;margin:.6em 0 0;color:#526773}
.v-body .v-table-scroll{width:100%;overflow-x:auto;margin:24px 0}
.v-body table{width:100%;border-collapse:collapse;font-size:16px;text-align:left}
.v-body th,.v-body td{border:1px solid #d7e3e4;padding:12px;vertical-align:top}
.v-body th{background:#edf6fa}
.v-body .medical-sources,.v-body .v-sources{font-size:15px;line-height:1.6;padding-top:18px;border-top:1px solid #d7e3e4;margin-top:36px}
.v-body .medical-sources h2,.v-body .v-sources h2{font-size:22px;margin-top:0}
.v-body .wp-caption{max-width:100%}
.v-body .arve-embed-container{padding-bottom:0!important}
.v-body #ez-toc-container{width:100%;margin:24px 0;background:#f5f9fb;border:1px solid #d7e3e4;box-shadow:none}
.v-body #ez-toc-container ul{padding-left:0;margin:0}
.v-body #ez-toc-container li{margin:.35em 0}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #52acb2;outline-offset:3px}
@media(max-width:760px){.v-body{font-size:17px;line-height:1.75}.v-body h2{font-size:24px}.v-body h3{font-size:20px}.v-paper{padding:22px 18px}.v-body table{min-width:520px}}
.v-body #ez-toc-container .ez-toc-link::before{content:none!important}
.v-body #ez-toc-container{padding:20px}
.v-body #ez-toc-container .ez-toc-title{font-size:19px;font-weight:700}


.vseo-header-search{display:flex;justify-content:flex-end;margin-top:-64px;margin-bottom:28px;pointer-events:none}.vseo-header-search form{width:240px;pointer-events:auto}.header-logo.site-logo_main{min-height:116px}@media(max-width:991px){.vseo-header-search{margin:0 auto 18px;justify-content:center}.vseo-header-search form{width:100%;max-width:360px}}

/* Parent big-grid JS normally supplies side widths. Set them without donor page-builder dependencies. */
.big-grid__side{width:calc(50% - 3px)}.big-grid__item_4x4,.big-grid__item_4x2{width:100%}.big-grid__item_2x2{width:calc(50% - 3px)}.big-grid__item_2x2:not(:last-child){margin-right:6px}.vseo-header-search{position:relative;z-index:2}.vseo-header-search input,.vseo-header-search button{display:block!important;visibility:visible!important;opacity:1!important}.vseo-header-search input{color:#253b3e;background:#fff}.vseo-header-search button{background:#287f87;color:#fff}@media(max-width:767px){.big-grid__side,.big-grid__item_2x2{width:100%}.big-grid__item_2x2:not(:last-child){margin-right:0}}

.btpr_module_3_container .btpr_module:not(:has(img)){min-height:0;padding-bottom:22px;border-bottom:1px solid #edf0f0}.btpr_module_3_container .btpr_module__title{font-size:18px}

.v-body a{color:#287f87}.footer ul{display:grid;grid-template-columns:1fr;gap:0}.footer li{break-inside:avoid}

@media(max-width:767px){.header .header-logo.site-logo_main{display:block!important}.header-logo.site-logo_main{min-height:0}.vseo-header-search{margin-top:0}.vseo-brand{display:inline-block}}

/* Compact illustrated navigation, with readable headlines rather than oversized bold text. */
.vseo-sidebar .v-panel{padding:20px;background:#f6faf9;border:1px solid #e0ebea;border-radius:8px}.vseo-sidebar .v-story{align-items:flex-start;gap:12px;font-weight:400;padding:14px 0}.vseo-sidebar .v-story:last-child{border-bottom:0;padding-bottom:0}.vseo-sidebar .v-story img{width:88px;height:68px;border-radius:4px}.v-story__body{min-width:0;display:flex;flex-direction:column;gap:5px}.v-story__body small,.vseo-card-category{color:#54807f;font-size:11px;font-weight:500;line-height:1.3}.v-story__title{font-size:14px;font-weight:500;line-height:1.5}.vseo-latest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.vseo-latest-card{border:1px solid #e0ebea;border-radius:8px;overflow:hidden;background:#fff}.vseo-latest-card>a{display:flex;height:100%;flex-direction:column;color:#25383b;text-decoration:none}.vseo-latest-card img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}.vseo-latest-card__body{padding:16px;display:flex;flex-direction:column;flex:1}.vseo-latest-card h3{font-size:18px;font-weight:500;line-height:1.45;margin:8px 0 14px}.vseo-latest-card time{font-size:12px;color:#7b8a8b;margin-top:auto}.vseo-latest-card a:hover h3{color:#287f87}.v-story:focus-visible,.vseo-latest-card a:focus-visible{outline:3px solid #287f87;outline-offset:2px}@media(max-width:767px){.vseo-latest-grid{grid-template-columns:1fr}.vseo-sidebar{margin-top:30px}.vseo-sidebar .v-story img{width:88px;height:68px}}

@media(min-width:992px){.vseo-nav .sd-menu a{font-size:12px;padding:18px 10px}}

@media(max-width:767px){.home .page-sidebar{display:block!important}}

/* Sitemap: native, consistently aligned markers instead of the parent theme's check icons. */
.page-id-582 .v-body li::before{content:none!important;display:none!important}
.page-id-582 .v-body ul{list-style:none!important;padding-left:0;margin:14px 0 28px}
.page-id-582 .v-body li{padding:0;margin:0;line-height:1.6}
.page-id-582 .v-body>ul.wsp-posts-list>li{margin:0 0 30px}
.page-id-582 .v-body .wsp-category-title{display:block;margin:0 0 10px}
.page-id-582 .v-body ul.wsp-pages-list,.page-id-582 .v-body li>ul.wsp-posts-list{list-style:disc outside!important;padding-left:24px;margin:10px 0 24px}
.page-id-582 .v-body li.wsp-post,.page-id-582 .v-body .wsp-pages-list>li{display:list-item;list-style:disc outside!important;padding-left:5px;margin:8px 0}
.page-id-582 .v-body li::marker{color:#287f87;font-size:.8em;font-weight:400}
.page-id-582 .v-body li>ul.wsp-posts-list>li:not(.wsp-post){list-style:none!important;margin-top:22px}
@media(max-width:767px){.page-id-582 .v-body{font-size:16px}.page-id-582 .v-body ul.wsp-pages-list,.page-id-582 .v-body li>ul.wsp-posts-list{padding-left:20px}}

/* Give the eight section links two readable columns and keep service links together. */
.footer .vseo-footer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr) minmax(0,.7fr);gap:40px;margin:0}
.footer .vseo-footer-grid>.footer__col{width:auto;float:none;padding:0;margin:0!important;min-width:0}
.footer .vseo-footer-sections ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.footer .vseo-footer-grid li{line-height:1.5;padding:0;margin:0 0 14px}
@media(max-width:991px){.footer .vseo-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.footer .vseo-footer-sections{grid-column:1/-1;grid-row:2}}
@media(max-width:479px){.footer .vseo-footer-grid{grid-template-columns:1fr;gap:24px}.footer .vseo-footer-sections{grid-column:auto;grid-row:auto}.footer .vseo-footer-sections ul{column-gap:20px}.footer .vseo-footer-grid li{font-size:14px}}

.footer .vseo-footer-grid::before,.footer .vseo-footer-grid::after{display:none;content:none}

/* Keep breadcrumbs clear of the navigation bar, including the parent archive styles. */
.page-content-outer:has(>.container>.vseo-breadcrumb){padding-top:36px!important}
@media(max-width:767px){.page-content-outer:has(>.container>.vseo-breadcrumb){padding-top:24px!important}}
