@charset "UTF-8";

body {      margin: 0 auto;    position: relative;}


body div .journal-meta-top:has(.meta-cite) {    gap: 0 35px;}
body .journal-meta-top {    flex-wrap: wrap;}
body .vremenno-ubrali-sobitiya{		/* Удали после опубликации событий на англ версии. откроется в меню пункт и на главной ссылка в блоке событий*/  display: none !important;}

body.postid-46456 .bp-popup-box, body.postid-46419 .bp-popup-box {    max-width: 750px;}

body div#wrap, body #site-header.full_screen-header {    max-width: 2000px;    margin: 0 auto;}

body .issue-single-page.container.clr .issue-header {    display: none !important;}
body .issue-articles-list {        padding: 40px 0;   border-top: 2px solid;    margin-top: 40px;     padding: 0px 0 40px;    border-top: 0px solid;}
body h2.mulano {    text-align: center;}

body .falang ul {    display: flex;    gap: 20px;    padding: 20px 0 0 0;    }
body .falang ul a{    padding: 2px 0 !important;}
body .falang ul li:not(:last-child){    border-right: 1px solid #8d8d8d;    padding-right: 12px;    margin-right: 0;}
body .falang ul li.current-lang a{       opacity: 1 !important;    }
body .falang ul a{    opacity: 0.7;}
body .falang ul{    opacity: 1;}
body.admin-bar .falang ul{    opacity: 1;}
body .falang ul a {       letter-spacing: 0;    font-size: 25px;}
body nav#site-navigation.gop.navigation.main-navigation .falang ul {    margin-top: 70px;    margin-bottom: 30px;}
body .gafa .falang ul a { letter-spacing: 0;    font-size: 20px;}
.co.entry-content.clr table th, .co.entry-content.clr table td {    border: 1px solid #e9e9e9;}


body div .gafa ul#menu-yazyki-3{    display: flex;    flex-direction: row;    gap: 14px;}
ul#menu-yazyki-2 {    display: flex;    flex-direction: row;    gap: 16px;}

.contx {
    padding: 70px 0;
}
.conx {
    padding: 140px 0px;
    margin: 0px auto 0;
    background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 18%)), url(../../../../../wp-content/uploads/2026/11/5c2f76d1-c5b7-4355-9a79-509bfdb13ef3.webp) no-repeat top 0px center !important;
    background-size: cover !important;
}
body .bp-popup-box {    max-width: 850px;}

body.single .author-block-wrapper {    padding: 0 0 20px;}

body ul#menu-languages-2, body ul#menu-languages-3 {    display: flex;    flex-direction: row;    gap: 10px;}
body .falang ul#menu-languages-3 a {    font-weight: inherit;    letter-spacing: 0;    font-size: inherit;}
span.article-author {    min-height: 3em;}

.event-date-wrapper {    text-align: center;}
span.links-events a {    text-decoration: underline;}
body.post-in-category-events .meta-author, body.post-in-category-events.single div .journal-met {    display: none !important;}

body.post-in-category-events .raun {  	/*  текст события справа по центру картинки*/   display: flex;    flex-direction: column;    justify-content: space-evenly;}
body.post-in-category-events.postid-45094 .raun {  	
/*  текст события справа по верху картинки, по ID выборочно. Некоторые события много текста и я обратно по высоте переназначаю*/   display: flex;    flex-direction: column;    justify-content: space-evenly;}

body.home .kf-mobile-bar, body.home .kf-overlay {    display: none !important;}
body .videos{width: 100%;max-width: 720px;height: auto;display: block;}

.author-block-wrapper .post-author-name {    padding: 0 0 20px;}

body.single-post .entry-title {    text-align: center;}
.journal-meta-top li.meta-share.meta-cite {    list-style: none;}
body .logo-dull {    display: table;    padding: 25px 0 90px 200px;}
sup {    top: -0.3em;}
body .bp-note-link {    padding: 2px 4px 0 !important;       border-bottom: none !important;font-weight: normal !important;}
body .bp-note-link:hover {    background: none;}

.event-custom-info-text {    padding: 0 0 15px 0;}
.journal-article-meta .journal-meta-wrapper {    padding: 0 0 20px;}

body div#full-screen-menu-inner ul:hover li a{    opacity: 0.55;} 

body.archive.category .drt__card-title, body div div .texthome > a, body .issue-articles-list span.article-title,  body div #related-posts article span.related-post-title a, body .blog-entry.post .blog-entry-header .entry-title a,
.lena .drt__card-title a {      display: -webkit-box;    -webkit-line-clamp: 2;     -webkit-box-orient: vertical;    overflow: hidden;            word-wrap: break-word;
    overflow-wrap: break-word;padding: 0;    margin: 10px 0;    min-height: inherit;}


body.content-full-screen div#content-wrap.container {   /* 100% full width */    width: 100%;}
body.content-full-width div#content-wrap.container, body .max1980{/*  full width */     max-width: 1800px;    margin: 0 auto;    margin: 0 auto;    padding-left: 20px !important;    padding-right: 20px !important;}
body.single-post div#content-wrap.container, body.content-full-screen div#content-wrap.container.ar.index-php, body div#content-wrap.issue-single-page{  /*  только записи + авторы +выпуски*/  width: 1280px;    margin: 0 auto;}
body .lena, body.archive.category div#content-wrap.container, body .year-section.scheduled-events .ut-list2.ut-list{ /*  индивидуально */   max-width: 1500px;       width: 100%; margin: 0 auto;    position: relative;}


		/* Если слайд один, курсор обычный */
.mag-slider--single .mag-slide {    cursor: default !important;}

/* Если слайдов несколько, курсор перетаскивания (ваше текущее правило) */
.mag-slider--multiple .mag-slide {    cursor: w-resize;}
div.wpforms-field.wpforms-field-checkbox, div.wpforms-field.wpforms-field-checkbox * {    font-size: 14px !important;    line-height: 1.3;}







body .splide__slide {    margin-left: 40px !important;}

body.home #main {    padding-top: 0px;}
body div#site-logo-inner nav#site-navigation, body #site-header.full_screen-header button.search-submit-, body .pl div.pr span, .max1980.containera.clr, body.category-360 .page-content p, body.category-351 .page-content p, body.category-438 .page-content p, span.edit-link, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .post-meta-user .categories-links a:not(:first-child), body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .post-meta-user .categories-links span, body #mobile-fullscreen nav ul#menu-avtoram-ru, body #mobile-fullscreen nav ul#menu-avtoram-ru-1 {     display: none !important;  }
body #site-header.full_screen-header,body #site-header.full_screen-header *,body ul.meta *,body a,body .oceanwp-row .col * {    outline: 0 !important;    box-shadow: none !important;}
body h3.home-h, body .pl .pl-name, body .mau .max1980 .xu, body .mau h3.home-h, .texthome > a, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail h4, .post-card.scheduled .texthome, body .va p, h1, h2, h3, h4, h5, h6, body .issue-card-title, body .issue-articles-list span.article-title,  body .oh, body .blog-entry.post .blog-entry-header .entry-title a, body .related-post-title a,body.single .post-author-name a, body .co.entry-content.clr, .drt__card-title{     font-family: 'Forum', Georgia, serif !important;}

body, body .oha .ac_title_class, body a.smvse, body a.ehe, .cite-trigger-btn{    font-family: 'VelaSans', Arial, sans-serif ;}

body.page-id-45167 #main {    /* min-height: 100vh; */    display: flex;    align-items: center;    align-content: center;}

*:focus::after,*:focus::before,*:focus-visible::after,*:focus-visible::before {    outline: 0 !important;    box-shadow: none !important;    border: none !important;
    background: none !important;}
body.archive h1 {    text-align: center;}
body.page-id-45154 #main {    position: relative;    padding-top: 0;}
body.archive .blog-entry-inner.clr ul.meta {    margin: 20px 0;}
body.archive .blog-entry-inner.clr ul.meta *{    margin: 0;    padding: 0;}
body.separate-blog.separate-layout .blog-entry.grid-entry .thumbnail {    margin: 0;    display: block;    overflow: hidden;    aspect-ratio: 1 / 1;    flex-shrink: 0;}
body.separate-blog.separate-layout .blog-entry.grid-entry .thumbnail *{    width: 100%;    height: 100%;    object-fit: cover;    transition: transform 0.4s ease;    display: block;}

.article-actions {    padding: 10px 0;}
.article-thumb img, .post-thumbnail img, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-img-holder a img {    aspect-ratio: 2 / 3;}

figure.related-post-media.clr a img{    aspect-ratio: 3 / 2;}

body a.smvse, body a.ehe, body .issue-pdf-download a{ opacity: 0.8; text-decoration: underline; }
body .issue-pdf-download {    text-align: center;    padding: 10px 0 30px;}
body a.smvse {       display: table;    margin: 30px auto 0;       position: absolute;    right: 0;     top: 0;}
body a.ehe {  text-align: center;    display: table;    position: absolute;    right: 30px;    top: 27px;    z-index: 99;    }

.article-keywords span {    display: block;}
body #site-header.full_screen-header{     position: sticky;           /* ← КЛЮЧЕВОЕ ИЗМЕНЕНИЕ */
    top: 0;    left: 0;    width: 100%;    z-index: 9999;              /* Поверх всего контента */
  padding: 35px;    background: transparent;   }
.bp-bib h3 {
    font-weight: bold;
}

body.single-post li.ffd-single.meta-author span {    display: block;}
	body.home div#content {    padding-bottom: 0;}
	body.home .mau.avt {    margin-bottom: 0;}



.xf a:hover, body .issue-doi-block a { text-decoration: underline; }
body .issue-doi-block{    text-align: center;    padding: 10px 0 20px;opacity: 0.8;     display: none;}





body.single nav.post-navigation .nav-previous, body.single nav.post-navigation {    border-color:  #f1f1f1;}

body.content-full-screen.home .container {    width: 100%;}


body .wpsm_panel-body strong {    display: block;    padding: 10px 0;}

body #site-header.full_screen-header button.search-submit,
#mobile-fullscreen #mobile-search form button.search-submit {      background: none !important;    z-index: 88;
    font-weight: normal;    color: inherit;     letter-spacing: 0;    text-transform: none !important;    padding: 0;
    position: absolute;    right: 0;    top: 10px;}

body .gadisa-list > * {    min-width: 0; /* или 0% */
    overflow: hidden; /* если нужно обрезать/переносить контент */
}

body .va.gdeke address{}
body .va.gdeke address a{    text-decoration: underline;}
body address {    padding: 20px 0;    font-style: normal;}

body .mau.aytoram {
    background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 69%)), url(../../../../../wp-content/uploads/2026/04/banner_avtoram.webp) no-repeat center;
    background-size: cover;
    padding: 140px 0px;
    margin: 0px auto 0;
  }
body .mau.gdekupi {
    background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 70%)), url(../../../../../wp-content/uploads/2026/09/vis-gde-new.webp) no-repeat top -195px center;
    background-size: cover;
    padding: 140px 0px;
    margin: 0px auto 0;

}


body .gaf span.kp {    display: flex;    gap: 10px;}
body .gaf span.kp a img{       width: 33px;    filter: brightness(0) invert(0);}

body .journal-met,body .content-grid, body.single header.entry-header.clr {    display: grid;    grid-auto-flow: column;    grid-template-columns: calc(45% - 100px) calc(55% - 100px);    column-gap: 200px;      padding: 0px 0 80px;
		align-content: start;}

body div .journal-met {    align-items: center;}

body div.la {     /* width: 600px; */        margin: -10px auto 0;    width: 100%;}


body a.sogl {    text-decoration: underline !important;}
body div#wpforms-740 input[type=email], body div#wpforms-740 input[type=text], body div#wpforms-740 textarea{    border: 0;    border-bottom: 1px solid #dbdfe4;    padding: 15px 15px 15px 0 !important;    height: auto;}
body div#wpforms-740 select{  border: 0;    border-bottom: 1px solid #dbdfe4;    padding: 15px 15px 15px 0 !important;    height: auto;}
body div#wpforms-740-field_13-container {    margin: 50px 0 0 0;}
body div#wpforms-740 button[type=submit]{      border: 0;
    font-weight: normal;
    letter-spacing: 0.6px;
    text-transform: none;
    width: 100%;
  }
body div#wpforms-confirmation-740 {    border: 0 !important;    background: none !important;}



body .max1980.sob, body .max1980.len {    padding-top: 50px;}

body .raun {    display: flex;    flex-direction: column;    justify-content: space-between;}
body div .journal-met{    padding: 30px 0 60px;}
body.single .thumbnail {    position: relative;    margin-bottom: 0px;    max-width: 500px;min-width: 500px;}

body .journal-meta-top {    display: flex;   gap:37px;align-items: center;}
body ul.meta.obem-default *, body.single-post ul.meta *{       margin: 0;}

ul.meta li {    list-style: none;}
body .xf {      padding: 20px 0 50px;   display: flex;    gap: 14px;}
body.single .sio.author-bio {    padding: 10px 30px;}
body.single .author-block-wrapper {    text-align: center;}
body.single ul.meta {    display: flex;    margin: 0;    list-style: none;    align-items: center;}
body.single ul.meta li.meta-share {    margin-left: auto;}
body.single ul.meta li.meta-share a{    text-decoration: underline;}
body.single .sio.author-bio *{    font-weight: normal;}

body .oha {    margin-top: -9px;}
body .oha .wpsm_panel-heading {    padding: 5px 0;}
body #wpsm_accordion_45348 .wpsm_panel-title a{border-bottom: 1px solid #DEDEDE !important;}

body footer#footer {    background-color: #000000;    background: #dbdfe4;   }
body footer#footer *{    color: inherit;}

body .gafa {       display: grid;
    grid-template-columns: max-content max-content max-content;
    /* grid-template-columns: 1fr 2fr 1.5fr; */
    gap: 120px;
    padding: 0;
    align-items: start;}
body .gaf {    display: flex;    flex-direction: column;    gap: 20px;}
body .container-fo.max1980 {    display: grid;       grid-template-columns: 4fr 5fr;   gap: 150px;       padding: 70px 20px;}

body #site-logo #site-logo-inner a img, body .logo-dull img{    filter: brightness(0) invert(0);}

body img.botlog{      filter: brightness(0) invert(0); display: block;    margin: 0;    padding: 0 0 50px;    max-width: 600px;}

body img.botlogo{    filter: brightness(0) invert(1);    display: block;    margin: 0 auto;    padding: 0 0 50px;}


body [id^="rt-tpg-container-"] .rt-tpg-isotope-buttons button.selected,
body [id^="rt-tpg-container-"] .rt-tpg-isotope-buttons button:hover{color: #000 !important; }
body .mau *, body .mau a:hover{color: #fff;}

body #site-header.full_screen-header .fs-dropdown-menu >li >a {   font-weight: 300; }
body .pl .pl-date {   font-weight: 400; }
bodyk {    font-weight: 500;}

body .mau h3.home-h, body div .sob h3    { border-color: #fff;}
body .rt-container-fluid.rt-tpg-container .rt-tpg-isotope-buttons button{color: #0a0000}

body .peno span.kp a:hover{       opacity: .4;}



body #main {    position: relative;   }




body #site-header.full_screen-header #site-header-inner #site-navigation-wrap{    position: absolute;    right: 0;    top: 0;    z-index: 9999;}
#related-posts{margin-top:30px;padding-top:30px;border-top:1px solid #222}

body #site-logo #site-logo-inner a img, body .logo-dull img{    max-width: 207px;}



body .tpg-shortcode-main-wrapper .masonry-grid-item {    margin-bottom: 0px;}




body .moh {    display: grid;    grid-template-columns: 2fr 2fr;    gap: 100px;    padding: 70px 0;}

body .tpg-shortcode-main-wrapper .rt-holder .rt-detail .categories-links a, body .post-meta-tags>span, body .post-meta-user>span {    margin: 0;}
body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail h4{margin-bottom: 0;}
body  .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .post-meta-tags, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .post-meta-user {      margin: 20px 0;}

body #site-header.full_screen-header .fs-dropdown-menu >li >a, body #site-header.full_screen-header button.search-submit, #mobile-fullscreen #mobile-search form button.search-submit {    font-size: inherit;    }

.mag-slider {  font-size: 0;}

.article-meta, .issue-card-meta, .post-issue, .post-item--accent .post-issue, .cite-table, .cite-hint, .citelink {    font-size: 14px;}

		
.post-author, .post-card.scheduled .post-date, body.archive .blog-entry-inner.clr ul.meta *, body div#wpforms-740 button[type=submit], body .issue-doi-block,
body .pl div.pr span, body .pl .pl-date, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .tpg-excerpt, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail span.author, .btn-go-to-author, body .post-excerpt, body ul.meta.obem-default *, body .issue-card-theme, body a.ehe, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail .post-meta-user *, body a.smvse, body.single-post div ul.meta .cite-trigger-btn, .post-item--accent .post-author, body .issue-pdf-download a, .drt__card-author, .drt__card-author a, .drt__card-meta *, .drt__card-meta{     font-size: 15px; }

.year-section.scheduled-events .no-posts, body .journal-article-meta *, body .journal-met *, body.single nav.post-navigation .nav-links a, body.single-post ul.meta *,body.single .sio.author-bio * {    font-size: 16px;}

.post-item--accent .texthome > a {    font-size: 18px;}

body.search-results h2.search-entry-title.entry-title a, body .author-result-text.search-entry-content a, body .blog-entry.post .blog-entry-header .entry-title a, body .issue-card-title{    font-size: 22px; }
body.single .post-author-name a{    font-size: 25px; }
body .va p,body .co.entry-content.clr{    font-size: 21px; }

body .to b,  body .mau .max1980 .xu, body .texthome > a, body  .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail h4, .post-card.scheduled .texthome,  body .issue-articles-list span.article-title,  body .oh, body .related-post-title a, .drt__card-title{    font-size: 22px; }

.cite-modal-close, body div #site-header.full_screen-header .fs-dropdown-menu >li >a{      font-size: 30px; }

body h3.home-h, body .pl .pl-name, body h2.kakh1{      font-size: 42px; }


body .rek b1{   font-size: 86px; }

body .rek a{font-size: 20px !important;    }



body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail{    padding: 15px 0;    padding: 15px 0 60px;}
body .mau h3.home-h, body div .sob h3 {    display: block;    width: 100%;}
body .blog-entry.post .blog-entry-header .entry-title a {    text-decoration: none;}
body .splide__slide:hover .issue-card-title, body .issue-articles-list li.article-item:hover span.article-title {    text-decoration: underline;}




body .la b.reda{    opacity: 0;}
body .la b{    display: block;    padding: 0 0 15px 0;}
body .tree ul b{      display: block;       padding: 5px 0 20px 0;     font-weight: 600;}
body .to b{      display: block;    padding: 5px 0 20px 0;   font-weight: 400;}
body .ju {    display: grid;   grid-template-columns: 2fr 3fr;   gap: 100px;    padding: 70px 0;}
body .tree {    display: grid;    gap: 50px;    grid-template-columns: 1fr 1fr 1fr;    line-height: 1.55;}
body .tree ul{    opacity: 1;      list-style: none;    margin: 0;    transition-delay: 0.1s;}
body .tree ul li{}


ul li {    margin: 0 0 10px;}

body .mau.jur {  background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 69%)), url(../../../../../wp-content/uploads/2026/04/arhiv-zernistost.webp) no-repeat center;
    background-size: cover;    padding: 140px 60px;    margin: 100px auto;    margin-bottom: 0;}
body .post-meta-top {    display: flex;    flex-direction: column;    gap: 0px;}

body .avt ul{     margin: 0;    display: flex;    list-style-position: inside;    gap: 15px;    padding: 20px 0 0 0;    flex-direction: column;list-style: none;}
body .avt {      background: linear-gradient(rgb(0 0 0 / 7%), rgb(0 0 0 / 79%)), url(../../../../../wp-content/uploads/2026/04/banner_avtoram.webp) no-repeat center fixed;
    background-size: cover;
    padding: 100px 60px;
    margin: 70px auto;}
body .avt.mau .max1980 .xug {    flex: 1;}

body .tpg-shortcode-main-wrapper .carousel1 .rt-holder, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder, body .tpg-shortcode-main-wrapper .layout1 .rt-holder {
    box-shadow: none !important;    -webkit-box-shadow: none !important;    -moz-box-shadow: none !important;    border: none !important;}
body #site-header.full_screen-header .fs-dropdown-menu >li >a{      letter-spacing: 0;}


body .tpg-shortcode-main-wrapper .isotope1 .rt-holder, .post-card.scheduled .post-thumbnail, .post-thumbnail, .blog-entry.post .thumbnail .overlay, .blog-entry.post .thumbnail img, figure.related-post-media.clr a, figure.related-post-media.clr a img, body .issue-card, body.search-results article .thumbnail img {    border-radius: 0px;}

body span.article-doi {    display: block;}
body .journal-article-meta .article-meta-row {    display: flex;    flex-direction: column;    gap: 8px;    padding-bottom: 10px;}

.gadisa-list5.gadisa-list span.post-thumbnail a {    width: 100%;    height: 100%;    object-fit: cover;    transition: transform 0.4s ease;    display: block;}

body .masus{   		     background: linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 69%)), url(https://ottiskjournal.ru/wp-content/uploads/2026/09/1509.png) no-repeat center !important;
    background-size: cover !important;
    padding: 100px 60px 100px;
    margin: 0 auto;
    margin-bottom: 0;}


body .mau .max1980-{    display: flex;    flex-wrap: wrap;    gap: 180px;    align-content: flex-end;}
body .mau .max1980 {    display: grid;    flex-wrap: wrap;    gap: 180px;    align-content: flex-end;    grid-template-columns: 4fr 2fr;    padding: 0;}


body .mau .max1980 .xu, body .mau .max1980 .xug{    display: flex;    align-content: flex-end;    flex-wrap: wrap;}
body .mau .max1980 .xu{    flex: 2;padding-right: 200px;}
body .mau .max1980 .xug{    flex: 3;}




body span.author-avatar.thumbnail img { min-width: 220px;    display: block;    margin: 0 auto;}

body.search-results article .search-entry-inner,
body .issue-single-page.container.clr .issue-header {    display: flex;    align-items: center;    gap: 60px;}
body.search-results article .thumbnail, body .issue-single-page.container.clr .issue-header .issue-cover {  min-width: 280px;  max-width: 280px !important;    flex-shrink: 0; /* Не сжимать при нехватке места */}
body .issue-single-page.container.clr .issue-header .issue-cover img {    width: 100%;    height: auto;    display: block;   }



body .fullscreen-search-wrapper {      position: absolute;    left: 240px;    bottom: 60px;}
body div div#full-screen-menu-inner ul li a:hover{    opacity: 1;} 

body div#full-screen-menu-inner ul{       text-align: left;    padding: 0 0 0 200px;}


body input#ocean-search-form-2 {      width: 950px;      border: 0;    border-bottom: 2px solid #222;    background: none;    padding: 5px 0;    font-weight: normal;}


body .serg,body .issues-archive-page.container.clr {    padding: 0 0 40px;    border-bottom: 0px solid;    margin-bottom: 0px;}

body.post-in-category-events ul.meta.ospm-none.clr{display: flex;    justify-content: space-between;    justify-content: left;gap: 50px;    padding: 0 0 30px;}

body .journal-met ul.meta.ospm-none.clr{    padding-bottom: 0;}

body .sectin span.editorial-role, body .sectin span.office-city{    display: block;    font-weight: bold;    text-transform: uppercase;    padding-top: 25px;}
body .sectin span.editorial-name, body .sectin span.office-details, body .sectin a.office-email,
body .sectin span.editorial-title{    display: block;   }
body h2.kakh1 {   font-weight: 700;      color: #222222;    line-height: 1.2;}

body.faq-temp .entry.clr strong{    border-top: 1px solid #DEDEDE;    display: block;    padding-top: 40px;    margin-top: 40px;}
body div#content {    padding: 0 0 60px;}


/* При наведении сдвиг ровно на 1px */
body #site-header.full_screen-header .menu-bar:hover .ham:before {    transform: translateY(-1px);}
body #site-header.full_screen-header .menu-bar:hover .ham:after {    transform: translateY(1px);}
body #site-header.full_screen-header .menu-bar .ham:before, body #site-header.full_screen-header .menu-bar .ham:after{   transition: transform 0.3s ease;}

body div#test {    padding: 20px;    background: #d7d7d777;    margin: 30px auto;}
body .isotope-term-no-post {    min-height: 0;}

body nav.main-boto.grid-container ul li{     margin: 0 0 15px; }
body nav.main-boto.grid-container ul{    margin: 0;    list-style: none;  }
body .peno{display: flex;    justify-content: space-between;}
body .peno span {  flex: 1;   box-sizing: border-box; }
body .peno span.kp{    text-align: right;}
body .peno span.kp a{padding: 5px 10px;}

body .to{    display: grid;    gap: 50px;     grid-template-columns: 1fr;}
body .to ul{    margin: 0;}

body .to li{        margin: 0 0 7px 0;}


body .posl{    padding: 100px 0 80px;}
body .ce {    text-align: center;}

body .rek{display: flex;    justify-content: space-between;    align-items: center;    padding: 0px 0 0px;    margin-bottom: 60px;    position: relative;}
body .rek b1{      color: #16304a;    font-weight: 700;    line-height: 0.3;    padding-left: 14px;    opacity: 0.89;}
body .rek a{   font-family: inherit !important;}
body .rek span:after{content:'';}


body h3.home-h{    padding-bottom: 20px;    border-bottom: 0px solid #000;    position: relative;}




body div#content-wrap.ar{    display: flex;}
body div#content-wrap.ar .author-avatar-wrap{ width: 230px;    height: 230px;      margin-bottom: 15px;    padding: 3px;    display: flex;    align-items: center;    justify-content: center;    background: #f5f5f5;}
body div#content-wrap.ar .author-avatar-wrap img{   width: 100%;    height: 100%;     object-fit: cover;    padding: 10px;}
body div#content-wrap.ar .hr {      flex: 50%;    padding: 0 50px 0 0;}
body div#content-wrap.ar .author-affiliation {    border-top: 2px solid;    border-bottom: 2px solid;    padding: 20px 0;    margin: 20px 0;}


body section.author-publications {    border-top: 2px solid;    padding: 20px;    margin: 20px 0 0;   }
body header.author-header {    border-bottom: 2px solid;    margin-bottom: 20px;}

body div#content-wrap.ar .author-avatar-wrap, body div#content-wrap.ar .author-avatar-wrap img, .author-avatar-wrap, .author-avatar-img{  border-radius: 50%; }

body .peno span.kp a:nth-of-type(even){ border: 1px solid;   }


body .zh {    display: grid;    grid-template-columns: 2fr 1fr 1fr;    gap: 20px;    border-bottom: 0px solid;    padding-bottom: 60px;    margin-bottom: 60px;}



.authors-grid {    display: grid;    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;    gap: 35px;    padding: 20px 0;}

.author-card {    position: relative;    background-size: 100% 100%;    background-repeat: no-repeat;    padding: 55px 30px 20px;    text-align: center;
    transition: transform 0.25s ease, border-color 0.25s ease;    display: flex;    flex-direction: column;    align-items: center;    box-shadow: none;
    overflow: hidden;    border: 2px solid #000;}

.btn-go-to-author {    padding: 10px;    text-decoration: none;    width: 100%;        border-top: 2px solid #000;}
.author-name {    margin: 0 0 20px;    font-weight: 600;    line-height: 1.4;}
.author-avatar-wrap {    width: 130px;    height: 130px;      margin-bottom: 15px;    padding: 3px;    display: flex;    align-items: center;    justify-content: center;}
.author-avatar-img {    width: 100%;    height: 100%;     object-fit: cover;    padding: 7px;}			
	.btn-go-to-author {    position: relative;    overflow: hidden;    display: block;
    padding: 10px;    text-decoration: none;    width: 100%;    border-top: 2px solid #000;      transition: color 0.5s ease;    z-index: 1;}

.btn-go-to-author::before {    content: "";    position: absolute;    top: 0;    left: 0;    width: 100%;    height: 100%; background: linear-gradient(180deg, #2c2c2c 0%, #000000 100%);    transform: translateY(-100%);    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);    z-index: -1;}
.author-card:hover .btn-go-to-author::before {    transform: translateY(0);}
.author-card:hover .btn-go-to-author {    color: #ffffff;}






body .pl {      margin: 0 auto;    position: relative;   margin: 0 auto;    align-items: stretch;display: flex;
    align-items: center;}
body .pl div.pr1{    display: flex;    justify-content: center;    width: 100%;    display: flex;   align-items: stretch;    gap: 20px;
    width: auto;    padding: 30px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    box-sizing: content-box;}
body .pl div.pr img{     height: 100%;    object-fit: cover;    display: block;}
body .pl div.pr span{      width: 36%;    background: #f1f1f1;    padding: 20px;     box-sizing: border-box;   line-height: 1.5;}

body .pl div.in{        display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;}

/* === Magazine Slider Styles === */
.pl {  margin: 0 auto; }

.pl-content {
 
    width: 100%;
     text-align: center; /* для центрирования текста внутри */
}


.mag-slider { 
  position: relative;
  margin: 0px auto;
  padding: 0 40px;
  line-height: 1;
}

.mag-track {
  position: relative;
  width: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  transition: height 0.2s ease;
}

.mag-slide { 
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(6px) scale(0.98) rotateY(0);
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mag-slide.enter-right { transform: translateX(10px) scale(0.97) rotateY(-1.5deg); }
.mag-slide.enter-left  { transform: translateX(-10px) scale(0.97) rotateY(1.5deg); }
.mag-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0);
  pointer-events: auto;
  z-index: 2;
}

.mag-slide img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.mag-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 10;
  padding: 0;
}
.mag-arrow:hover:not(:disabled) { opacity: 1; transform: translateY(-50%) scale(1.05); }
.mag-arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
.mag-arrow svg { width: 40px;
    height: 44px;display: block; }
.mag-prev { left: 4px; }
.mag-next { right: 4px; }

/* Блок с текстом под слайдером */
.pl .in {    text-align: center;
    padding: 0px 0;
     margin-top: -80px;}
body .pl .pl-name{    margin: 0;}
body .pl .pl-name {
    text-align: center;
    display: block;
    position: relative;
    padding: 0px 0 0px;
    margin: 0;
    text-transform: uppercase;
}
.xf a {text-decoration: none;}




body .vh{text-align: center;padding: 0px 0 20px;}





.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    /* Карточка статьи */
}

.article-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: opacity 0.3s ease;
}

.article-link:hover .article-thumb {
    opacity: 0.8;
}

.article-thumb {
    display: block;
    margin-bottom: 15px;
}

.article-thumb img {
    width: 100%;
    height: auto;

    object-fit: cover;
}

.article-text {
    display: flex;
    flex-direction: column;
    gap: 20px;      flex: 1;
}



.article-meta {   
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #666; margin-top: auto;
}

.article-date,
.article-author {
    display: block;
}

























/* === Контейнер — 4 колонки === */
.year-section.scheduled-events .ut-list2.ut-list { 
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
    padding: 40px 0;
    margin: 0 auto;
    align-items: stretch;
}

/* === Карточка мероприятия === */
.post-card.scheduled {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent;
  
    transition: transform 0.3s ease;
}

.post-card.scheduled:hover {
    transform: translateY(-4px);
}

/* Ссылка-обёртка — растягиваем на всю карточку */
.post-card.scheduled > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* === Изображение === */
.post-card.scheduled .post-thumbnail {
    display: block;
    overflow: hidden;
    aspect-ratio: 1/1;
       flex-shrink: 0;
}

.post-card.scheduled .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.post-card.scheduled:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* === Дата — сверху, всегда видна === */
.post-card.scheduled .post-date {
       display: inline-block;
    margin: 10px 0 10px;
    padding: 5px 0px;

    letter-spacing: 0.3px;
    flex-shrink: 0;
}

/* === Заголовок === */
.post-card.scheduled .texthome {
    
    display: -webkit-box;
    transition: border-color 0.2s ease;
    margin-top: auto;
}

.post-card.scheduled:hover .texthome {
    border-bottom-color: #092942;
}

/* === Сообщение "нет мероприятий" === */
.year-section.scheduled-events .no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #5a6b7c;
}






/* === Контейнер — фикс ширина + одинаковая высота === */
.gadisa-list5.gadisa-list {
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    padding: 40px 0;
    margin: 0 auto;
    flex-wrap: wrap;
    display: grid;

    grid-template-columns: repeat(6, 1fr);
}
/* === Карточка === */
.post-item {
    display: flex;
    flex-direction: column;
    background: transparent;
   
    transition: transform 0.3s ease;
    flex-shrink: 0;
    flex-grow: 0;
}

/* Все 6 карточек одинаковой ширины */


.post-item:hover {
    transform: translateY(-4px);
}





.post-thumbnail, figure.related-post-media.clr a {
    display: block;
    overflow: hidden;
}

.post-thumbnail img, figure.related-post-media.clr a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.post-item:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* === Текстовый блок — растягиваем на всю оставшуюся высоту === */
.texthome {
    display: flex;
    flex-direction: column;
    gap: 20px;    flex: 1;
    min-height: 0; 
		    padding-top: 10px;
}



.texthome > a, body .tpg-shortcode-main-wrapper .isotope1 .rt-holder .rt-detail h4 {
    text-decoration: none;
    padding-top: 0px;
    padding-bottom: 0px;
    flex-shrink: 0;
    line-height: 1.3em;
		    min-height: 4em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.texthome > a:hover {
    border-bottom-color: #092942;
}

/* === Мета-блок — тоже растягиваем === */
.post-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0; /* ? Критично для margin-top: auto */
    line-height: 1.5;
}

.issue-card-meta,
.post-issue {
    display: inline-block;
       padding: 5px 0px;

    width: fit-content;
      letter-spacing: 0.3px;
    flex-shrink: 0;
}

.post-author {
    flex-shrink: 0;
}

.post-author a {

    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.post-author a:hover {
    opacity: 0.8;
}

/* Анонс — всегда прижат к низу, даже если .post-issue есть только у одной карточки */
.post-excerpt{    display: none;}

body .tpg-excerpt {
    margin:  0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  line-height: 1.5em;
    min-height: 4.5em;
}


/* === Акцентная карточка (первая) === */
.post-item--accent {
    grid-column: span 2; /* Занимает 2 из 4 колонок */
}



.post-item--accent .post-thumbnail img {
    transition: transform 0.5s ease;
}

.post-item--accent:hover .post-thumbnail img {
    transform: scale(1.03);
}

/* Заголовок акцента — крупнее */
.post-item--accent .texthome > a {

    font-weight: 700;         /* Жирнее */
    -webkit-line-clamp: 3;    /* Показываем 3 строки вместо 2 */
    padding-bottom: 6px;
    border-bottom-width: 3px; /* Жирнее граница */
}

/* Анонс акцента — тоже крупнее */
.post-item--accent .post-excerpt {
    -webkit-line-clamp: 4;    /* 4 строки вместо 3 */
    color: #3a4d5e;           /* Чуть темнее для контраста */
}

/* Мета-блок акцента — чуть больше отступы */
.post-item--accent .post-meta {
    gap: 10px;
}

.post-item--accent .post-issue {
 
    padding: 5px 12px;
}






























/* === Анимации для .mau (ОБЯЗАТЕЛЬНО) === */
.mau-title {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.mau-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mau-col {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.mau-col.is-visible {
    opacity: 1;
    transform: translateY(0);    list-style: none;
}

/* Задержки для «лесенки» */
.mau-col:nth-child(1) { transition-delay: 0.1s; }
.mau-col:nth-child(2) { transition-delay: 0.25s; }
.mau-col:nth-child(3) { transition-delay: 0.4s; }

/* Пульсация при «фиксации» */
.mau-grid.is-paused {
    animation: mauPulse 0.4s ease;
}
@keyframes mauPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}








/* === Контейнер .pr — база для анимации === */
body .pl div.pr {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: auto;
    padding: 30px;    padding: 0 30px;
    box-sizing: content-box;
    
    /* ? Критично для псевдоэлементов */
    position: relative;
    overflow: visible; /* Чтобы границы не обрезались при анимации */
    
    /* Убираем обычные границы — их заменят анимированные псевдоэлементы */
    border: none !important;
}

/* === Правая граница (анимация сверху вниз) === */
body .pl div.pr::before {

    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: #000; /* Цвет границы */
    
    /* Начальное состояние: сжата по вертикали в точку */
    transform: scaleY(0);
    transform-origin: top center; /* Рост сверху вниз */
    
    /* Анимация */
    animation: drawVertical 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
    will-change: transform;
}

/* === Нижняя граница (анимация слева направо) === */
body .pl div.pr::after {

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000; /* Цвет границы */
    
    /* Начальное состояние: сжата по горизонтали в точку */
    transform: scaleX(0);
    transform-origin: left center; /* Рост слева направо */
    
    /* Анимация с небольшой задержкой после правой */
    animation: drawHorizontal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    will-change: transform;
}

/* === Ключевые кадры === */
@keyframes drawVertical {
    to { transform: scaleY(1); }
}

@keyframes drawHorizontal {
    to { transform: scaleX(1); }
}

/* === Отключаем анимацию при повторной загрузке (опционально) === */
/* Если хочешь, чтобы анимация срабатывала только 1 раз за сессию: */
@media (prefers-reduced-motion: reduce) {
    body .pl div.pr::before,
    body .pl div.pr::after {
        animation: none;
        transform: scale(1); /* Сразу видимые */
    }
}







body::-webkit-scrollbar {    width: 5px; /* Ширина всего элемента навигации */}
body::-webkit-scrollbar-track {    border-color:#eff3f6;  background: #333; /* Цвет дорожки */}
body::-webkit-scrollbar-thumb {    background-color:#e0e0e0; /* Цвет бегунка */  border-radius: 5px; /* Округление */  border: 3px solid #333; /* Оформление границ  */}
::selection {  background: #333;  text-shadow: none;}

body footer#footer {    padding: 50px 0 20px;}



/* Контейнер карточки */












#site-logo {    transform-origin: center top; /* Ключевое: масштабирование от верхнего центра, убирает дрейф */
    will-change: opacity, transform;    transition: opacity 0.3s ease, transform 0.3s ease;}

/* Включаем scroll-driven анимацию только в поддерживающих браузерах */
@supports (animation-timeline: scroll()) {
    #site-logo {
        transition: none; /* Отключаем transition, чтобы не конфликтовал с keyframes */
        animation: logoHideUp linear both;
        animation-timeline: scroll(root block);
        animation-range: 50px 200px; /* Начало и конец анимации (в пикселях скролла) */
    }
}

@keyframes logoHideUp {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
        filter: blur(0px);
    }
    100% {
        opacity: 0;
        transform: translate(0, -40px) scale(0.85); /* 0 по X = строго вверх */
        filter: blur(1px);
        visibility: hidden;
        pointer-events: none;
    }
}

/* Фоллбэк: в браузерах без поддержки логотип остаётся статичным */
@supports not (animation-timeline: scroll()) {
    #site-logo {
        animation: none;
    }
}






.botlogo {
  opacity: 0;
  transform: translateY(50px) rotateX(14deg) scale(0.94);
  filter: brightness(0) invert(1) blur(4px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.botlogo.reveal {
  opacity: 1;
  transform: translateY(0) rotateX(0deg) scale(1);
  filter: brightness(0) invert(1) blur(0);
}















/* слайдер Выпуски */



.issue-card-meta{margin-bottom: 10px;}
body .splide__pagination__page.is-active {    background: #0f0f0f;   ransform: scale(1.1);    z-index: 1;}
body .splide__pagination {    bottom: -3.5em;}


.issues-slider-wrapper { width: 100%; overflow: hidden; padding: 40px 0; }
.splide__arrow { opacity: 0.9 !important; background: none!important;}
.splide__arrow:hover { opacity: 1 !important; }
.splide__arrow svg { width: 44px; height: 44px; }

.issue-card { overflow: hidden;  height: 100%; }
.issue-link { display: block; height: 100%; text-decoration: none; color: inherit; }

.issue-cover-wrapper { position: relative; padding-top: 100%; overflow: hidden;             aspect-ratio: 424 / 600;
        height: auto;
        max-height: 450px; }

.issue-cover-wrapper img { 
    position: absolute; top: 0; left: 0; 
    width: 100%; height: 100%; 
    object-fit: cover; 
    transition: transform 0.4s ease; 
}
.issue-card:hover .issue-cover-wrapper img { transform: scale(1.05); }

.issue-card-info {     padding: 20px 0;}
.issue-card-title {display: block;
    margin: 10px 0 20px;
    line-height: 1.3; }
.issue-card-theme { display: block;  }




.splide__slide { 
    opacity: 0.45; 
    transition: opacity 0.3s ease; 
}
/* Убираем прозрачность у активного и соседних с ним */
.splide__slide.is-active,
.splide__slide.is-prev,
.splide__slide.is-next { 
    opacity: 1; 
}



















/* Кнопка цитирования */
.cite-trigger-btn {
  background-color: inherit;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s, border-color 0.2s;
       opacity: 0.8;
    text-decoration: underline;
}
.cite-trigger-btn:hover, .cite-modal-close:hover {
    background-color: #e8e8e8;
    border-color: #c0c0c0;
}

/* Модальное окно: затемнение фона */
.cite-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99980;
}

/* Модальное окно: контейнер */
.cite-modal {
   display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    padding: 24px;
    border-radius: 2px;
    z-index: 99990;
    width: 90%;
    max-width: 650px;
    border: 0px;
}

/* Заголовок модального окна */
.cite-modal-header {
 display: flex;
    justify-content: space-between;
    margin-bottom: 0px;
    padding-bottom: 0;
}


.cite-modal-close {
    background: none;
    border: none;
  
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}


/* Таблица цитирования */
.cite-table {   
    width: 100%;
    border-collapse: collapse;    margin: 0 0 10px 0;    table-layout: fixed;
 
}
.cite-table th, .cite-table td {
    padding: 16px;
    border: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}
.cite-table th {
    background-color: #f9f9f9;
    width: 100px;
    font-weight: 600;
 }



/* Блок с текстом цитаты */
.citelink {
    cursor: pointer;
       outline: none;
    padding: 0 10px;
    border-radius: 0px;
    transition: background-color 0.2s;
}
/* Подсказка под таблицей */
.cite-hint {    opacity: 0.6;}























/* ==========================================================
   1. ТВОИ РОДНЫЕ СТИЛИ ДЛЯ ПК
   ========================================================== */
.drt__tabs {
    display: flex;
    gap: 0px;
    margin-bottom: 24px;
    border: none;
    align-items: center;
    justify-content: center;
}

.drt__btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    margin: 4px;
    outline: 0;
    padding: 8px 20px;
    text-shadow: none !important;
    text-transform: none;
    color: #646464;
}

.drt__btn.--act--temnz, .drt__btn:hover {
    color: #000;
}

.drt__panel {
    display: none;
    border: none;
}

.drt__panel.--act--mint {
    display: block;
    animation: drtFadeIn 0.4s ease-in-out;
}

@keyframes drtFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.drt__grid {
    display: grid;
    gap: 30px;
}

.drt--cols-3 .drt__grid { grid-template-columns: repeat(3, 1fr); }
.drt--cols-4 .drt__grid { grid-template-columns: repeat(4, 1fr); }

.drt__card-author a, .drt__card-meta a {
    color: #646464;
}

.drt__card {
    background: #fff;
    border: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

.drt__card-img-wrap {
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #eee;
    display: block;
    position: relative;
}

.drt__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 1s !important;
    transform: scale(1.2);
}

.drt__card-img-wrap:hover .drt__card-img {
    transform: scale(1);
}

.drt__card-title {
    flex-grow: 1;
    line-height: 1.3em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    padding: 15px 0 10px;
    font-weight: 400;
    color: #000;
}

.drt__card-title a {
    text-decoration: none;
    color: #000;
}

.drt__card-author, .drt__card-meta {
    padding-top: 20px;
    text-decoration: none;
    color: #646464;
}

.drt__panel .drt__card-author {
    display: none;
}

/* ==========================================================
   2. СКРЫТИЕ МОБИЛЬНЫХ ЭЛЕМЕНТОВ НА ПК
   ========================================================== */


.kf-mobile-bar,.kf-overlay {    display: none !important;}

/* ==========================================================
   3. МОБИЛЬНЫЕ СТИЛИ
   ========================================================== */
@media (max-width: 768px) {
    .drt__tabs {
        display: none !important;
    }

    .kf-mobile-bar {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
        margin-bottom: 24px;
        border-bottom: 1px solid #eaeaea;
    }

    .kf-btn {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #1c1c1c;
        letter-spacing: 0.1px;
        font-family: 'Forum', Georgia, serif !important;
        font-size: 21px;
        line-height: 1.2;
    }

    .kf-overlay, .kf-overlay-header {
        background-color: #dbe0e5;
    }

    .kf-overlay {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #dbe0e5;
        z-index: 99999;
        transform: translateY(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        flex-direction: column;
        overflow: hidden;
        box-sizing: border-box;
    }

    .kf-overlay.is-open {
        transform: translateY(0);
    }

    .kf-overlay-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 0px solid #eaeaea;
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .kf-overlay-title {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #1c1c1c;
    }

    .kf-close-btn {
        background: none;
        border: none;
        font-size: 74px;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        line-height: 1;
        font-weight: 300;
        font-family: serif;
    }

    /* Базовые стили для inner (для выпусков) */
    .kf-overlay-inner {
        padding: 40px 24px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Центрирование ТОЛЬКО для оверлея категорий */
    .kf-overlay-center .kf-overlay-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .kf-tabs-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .kf-tab-item {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        font-size: 23px;
        font-weight: 400;
        color: #1c1c1c;
        cursor: pointer;
        transition: color 0.2s, padding-left 0.3s ease;
        line-height: 1.2;
        padding: 12px 0;
    }

    .kf-tab-item:hover {
    }

    /* Сетка выпусков */
    .kf-issues-grid {
        display: grid;
             grid-template-columns: repeat(2, 1fr);
        gap: 25px 25px;
        padding-top: 10px;
    }

    .kf-issue-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
        color: #1c1c1c;
        transition: opacity 0.2s ease;        max-width: 240px;
    }

    .kf-issue-card:hover {
        opacity: 1;
    }

    .kf-issue-thumb {
        flex-shrink: 0;
        width: 100%;
        aspect-ratio: 2 / 3;
        overflow: hidden;
        background: #f0f0f0;
        margin-bottom: 12px;
    }

    .kf-issue-img {
        width: 100%;
        height: 100%;
              /* object-fit: cover; */
        display: block;
    }


    .kf-issue-img-placeholder {
        width: 100%;
        height: 100%;
        background: #e0e0e0;
    }

    .kf-issue-title {
     flex-grow: 1;
        display: flex;
        align-items: flex-start;
        font-weight: 500;
        text-align: left;
        font-family: 'Forum', Georgia, serif !important;
        font-size: 18px;
        line-height: 1.2;
    }
}














/* Если высота экрана 800px или меньше */
@media (max-height: 800px) {
    body .fullscreen-search-wrapper {
        position: relative; /* Отменяем жесткое позиционирование */
        left: auto;
        bottom: auto;
        width: 100%;
        max-width: 600px;
        
        /* Добавляем отступ сверху, чтобы поиск "оттолкнулся" от меню */
        margin-top: 40px; 
        margin-left: 200px; /* Сохраняем ваш визуальный стиль выравнивания */
        margin-bottom: 30px;
    }
    
    body input#ocean-search-form-2 {
        width: 100%;
        max-width: 100%;
    }
}