.frame-15 {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  padding: 3rem;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  z-index: 1;
}

.main-search {
  padding: 0 24px;
  width: 100%;
  border: 1px solid #485FC7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin: 3px 0;
  transition: border-color 0.2s ease;
}
.main-search:focus-within {
  border-color: #6B82FF;
  box-shadow: 0 0 0 2px rgba(72, 95, 199, 0.1);
}

.has-addons {
  display: flex;
  flex-direction: row;
  margin-left: 0;
  left: 0;
}
.control {
  width: auto;
}

.input{
    background-color: white !important;
}

.tablet-header-row,
.tablet-filter-row,
.tablet-pagination-row {
  display: none;
}

.tablet-header-row h1{
  width: 430px;
  margin-bottom: 0 !important;
  font-family: Raleway;
  font-weight: 700;
  font-style: Bold;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 0%;
}

.tablet-header-row{
    max-width: 1344px;
    margin: 0 auto !important;
    z-index: 10;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
    margin-bottom: 52pxg;
    min-height: 80px;
}

.tablet-header-row .custom-width-460 {
  flex: 0 0 430px;
  max-width: 430px;
}

.tablet-header-row .main-search .input {
  border: none !important;
  box-shadow: none !important;
  outline: none;
}

.tablet-header-row .main-search .button.is-info {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tablet-header-row .main-search .input {
  border: none !important;
  box-shadow: none !important;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  line-height: 23px;
  letter-spacing: 0;
}

.column{
  padding-top: 0 !important;
}

.book-main {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
  max-width: 1344px !important;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding-top: 24px;
  flex-direction: row;
}

.books-left-col {
  flex-shrink: 0;
  flex: none;
  height: auto !important; 
}

.filter-button {
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background-color: #FFFFFF;
  transition: background-color 0.2s ease;
}

.filter-button:hover {
  background-color: #D0E0FF;
}

.btn-filter {
  display: flex;
}

.filter-content {
  display: flex;
  flex-direction: column;
  width: 432px;
  border-radius: 15px;
  padding: 36px 25px;
  background-color: #F3FBFF;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.filter-content .field {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;  
  margin-bottom: 0;      
}

.columns.is-variable>.column{
  padding-right: 0 !important;
}


.filter-content .field > .label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 0;
  color: #141313;
  margin-bottom: 0;
}

.filter-header {
  max-width: 1344px;
  width: 100%;
}

.paginationjs-pages ul li.paginationjs-page {
  width: 35px !important;
  height: 35px !important;
  margin-right: 8px !important;
}

.paginationjs-prev.disabled > a {
    font-size: 24px;
    text-align: center;
    font-weight: 400;
    color: #485FC7;
}

li.paginationjs-prev.J-paginationjs-previous > a {
  font-size: 24px;              
  color: var(--color-primary);   
  padding: var(--spacing-xs);    
  display: inline-block;         
  text-decoration: none;         
  font-weight: 600;
}

.paginationjs-next.disabled > a {
  font-size: 24px;
  text-align: center;
  color: #485FC7;
  font-weight: 400;
}

li.paginationjs-next.J-paginationjs-next > a {
  font-size: 24px;               
  color: var(--color-primary);  
  padding: var(--spacing-xs);    
  display: inline-block;         
  text-decoration: none;         
  font-weight: 600;
}

.paginationjs-pages ul{
  align-items: center;
}

.paginationjs-size-changer select{
  margin-left: 12px;
  width: 63px;
  height: 40px;
}

.books-right-col{
  width: 100%;
  flex: 1;
}

.btn-filter{
    display: none;
}

.close-filter {
  display: none;
}

  .input{
    width: 100%;
    background-color: #F3FBFF;
  }

@media (max-width: 885px) {
    .frame-15 {
        padding: 0 16px 160px;
        width: 393px;
        top: 15px;
    }
    .tablet-header-row {
        display: flex !important;
        flex-direction: column !important;
    }
    .column{
        width: 100vw;
    }
    .control{
        width: auto;
    }
    .book-main{
        padding-top: 0px !important;
        /* Auto layout */
        flex-direction: column;
        padding: 24px 0px;

        width: 361px;
        height: 100%;

        /* Inside auto layout */
        flex: none;
        order: 0;
        align-self: stretch;
        flex-grow: 1;
    }
    .books-left-col {
        position: static;
        width: 100%;
    }
    .filter-button {
        display: flex;
        flex-direction: row;
        max-width: 288px;
        width: 100%;
        height: 51.56px;
        border-radius: 15px;
        justify-content: space-between;
        padding: 16px 22px;
        align-items: center;
        background-color: #FFFFFF;
    }

    .btn-filter {
        display: flex;
        max-height: 29px;
        height: auto;
        border-radius: 18px;
        padding: 6px 20px;
        color: #485FC7;
        font-family: Roboto, Arial, Helvetica, sans-serif;
        font-weight: 400;
        size: 14px;
        line-height: 120%;
        letter-spacing: 0%;
        vertical-align: middle;
    }

    .filter-content {
        display: none;
        flex-direction: column;
        width: 95vw;
        height: auto;
        border-radius: 30px;
        padding-top: 24px;
        padding-right: 10px;
        padding-bottom: 35px;
        padding-left: 34px;
        gap: 20px;
        z-index: 2;
    }

    .filter-content.active {
        display: flex;
    }

    .filter-content .field > .label{
        font-size: 14px;
        font-weight: 600;
    }
    .filter-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .close-filter {
      display: flex;
      background: none;
      border: none;
      font-size: 20px;
      align-self: flex-end;
      cursor: pointer;
    }

    .tablet-header-row .custom-width-460 {
        flex: 0 0 100%;
        max-width: 100%;
    }

  .mobile-filter-row{
    display: block;
  }

  .mobile-filter-row .btn-filter {
    background: #F3FBFF;
    color: #141313;
    border: none;
    border-radius: 8px;
    height: 44px !important;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 12px 16px;
    max-height: none !important;
    width: 157px;
    margin-top: 12px;
  }
}


@media (min-width: 886px) and (max-width: 1200px) {
    .frame-15 {
        max-width: 100%;
        padding: 0 25px 25px;
        padding-bottom: 160px;
    }

    .tablet-header-row,
    .tablet-filter-row,
    .tablet-pagination-row {
        display: flex;
    }

    

    .tablet-header-row h1{
        width: 420px;
    }

    .tablet-header-row .custom-width-460 {
        flex: 0 0 430px;
        max-width: 430px;
    }

    .book-main {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 5px 0;
    }

    .books-left-col{
        width: 100%;
        position: static; 
    }

    .tablet-filter-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
        background-color: #F3FBFF;
        border-radius: 16px;
        padding: 16px 0px;
    }

    .filter-button {
        display: block;
        background-color: #F3FBFF;;
    }

    .btn-filter {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 48px;
        font-size: 16px;
        border-radius: 18px;
        padding: 6px 20px;
        color: #485FC7;
        line-height: 1.2;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        background-color: transparent;
        font-weight: 400px;
        
    }


    .mobile-filter-row{
        display: none !important;
    }

    .btn-filter:hover {
        background-color: #FFFFFF;
    }

    .filter-content {
        display: none;
        position: fixed;
        top: 50%;
        left: 0%;
        transform: translate(0%, -25%);
        width: 90%;
        max-width: 500px;
        border-radius: 20px;
        padding: 30px;
        z-index: 1000;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        flex-direction: column;
    }

    .filter-content.active {
        display: flex;
    }

    .filter-header {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .tablet-pagination-row .pages {
        display: flex;
        justify-content: flex-end;
        order: 4;
        width: 100%;
    }

    .close-filter {
    display: flex;
    background: none;
    border: none;
    font-size: 24px;
    align-self: flex-end;
    cursor: pointer;
    color: #485FC7;
    margin-bottom: 10px;
  }
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }


}

@media (min-width: 1201px) {
  .books-left-col {
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    z-index: 10;
  }
    .pages .paginationjs {
    justify-content: flex-start;
  }
  
  .pages .paginationjs-pages {
    margin-right: 16px;
  }
  .mobile-filter-row{
    display: none !important;
  }
}

@media (min-width: 1600px) {
    .frame-15 {
        padding: 0 64px 160px;
    }
}

@media (min-width: 1920px) {
    .frame-15 {
        padding: 0 128px 160px;
    }
}

@media print {
    .frame-15 {
        top: 0;
        position: static;
    }
    .filter-content,
    .btn-filter,
    .close-filter,
    .pages {
        display: none !important;
    }
}

.filter-content {
  contain: layout style paint;
}


.blog-card-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-image .image {
  position: relative;
  overflow: hidden;
}

.columns.is-multiline {
  margin-top: 0 !important;
}

.blog-item .container {
  max-width: 1040px !important;
  margin: 0 auto;
  padding: 0 20px;
}

.post-content img,
.post-content video,
.post-content iframe {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}

.post-image {
  text-align: center;
  margin: 20px 0;
}

.post-image img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
ы
.post-text img,
.post-text video,
.post-text iframe {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  height: auto;
}

.post-text figure {
  text-align: center;
  margin: 20px 0;
}

.post-text figure img {
  margin: 0 auto;
}