@charset "UTF-8";

@media only screen and (min-width: 1201px) {
  #main-nav {
    display: block !important;
  }

  .article .article-sidebar > :first-child {
    margin-top: 6px;
  }
}

@media only screen and (max-width: 1200px) {
  #header .sidebar > .child.child-theme {
    display: none;
  }

  .main-logo {
    margin-right: auto;
  }

  #header .sidebar {
    gap: 1em;
  }

  .article article {
    float: none;
    padding-right: 0;
    width: 100%;
    max-width: 770px;
    margin: 0 auto;
  }

  .article .article-sidebar {
    float: none;
    max-width: 770px;
    margin: 0 auto;
  }

  .blog-listing h2 {
    font-size: 2.2em;
  }

  .search-results h2 {
    text-align: left;
    font-size: 2.2em;
    margin-top: 18px;
  }

  .word-listing .word {
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
  }

  .column[class*="col-"] {
    width: 100%;
    padding: 0;
  }

  #header #mobile-search-toggle,
  #header #mobile-menu-toggle {
    display: block;
  }

  #header.search-active #main-nav,
  #header.menu-active #main-nav {
    display: block;
  }

  #header.search-active .mainmenu .child:not(.child-search) {
    display: none;
  }

  #header.menu-active .mainmenu .child-search {
    display: none;
  }

  #header #search-query {
    width: 100%;
  }

  #header .mainmenu {
    flex-direction: column;
    gap: 0;
  }

  #header .mainmenu .child-search {
    padding: 2px 12px 18px 12px;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    float: none;
    margin: 0;
    font-size: 1.1em;
    background-color: var(--background-color);
    text-align: center;
    z-index: 9999;
    border-bottom: 1px solid var(--gray-lightest);
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height));
  }

  #header .mainmenu .child {
    width: 100%;
    box-sizing: border-box;
  }

  #header .mainmenu .child > span,
  #header .mainmenu .child.child-lang > a,
  #header .mainmenu .child > a {
    display: block;
    color: var(--accent-color);
    padding: 18px 12px;
  }

  #header .mainmenu .child.child-lang > a:last-child {
    padding-right: 18px;
  }

  #header .mainmenu .child > span:hover,
  #header .mainmenu .child > a:hover {
    background-color: var(--accent-color);
    color: #FFF;
  }

  #header .mainmenu > .child > .submenu {
    width: 100%;
    position: initial;
    padding: 0;
    box-shadow: none;
    border: none;
    text-align: center;
  }

  #header .mainmenu > .child > .submenu > .child {
    margin: 0;
  }

  section .imagetext {
    flex-direction: column;
  }

  section .imagetext .content-image {
    width: 100%;
    min-height: 420px;
  }

  section .imagetext .content-text {
    display: block;
    max-width: none;
    padding: 6%;
  }

  section .imagetext .content-container {
    width: 100%;
  }

  section .cover-image .cover-content h1, section .cover-image .cover-content h2 {
    font-size: 3em;
  }

  section .accordion .accordion-item .accordion-title {
    font-size: 1.2em;
  }

  .article .accordion {
    margin-bottom: 24px;
  }

  .mobile-align-center {
    text-align: center;
  }

  .subscriber-form .form-field,
  .subscriber-form button {
    display: inline-block;
    width: 100%;
    max-width: 374px;
  }

  blockquote {
    font-size: 1.45em;
  }

  h1 {
    font-size: 3em;
  }

  h2 {
    font-size: 2.4em;
  }

  h3 {
    font-size: 1.8em;
  }

  h4 {
    font-size: 1.6em;
  }

  h5 {
    font-size: 1.2em;
  }

  h6 {
    font-size: 1em;
  }

  section.padding-normal {
    padding: 8% 0;
  }

  .blog-listing h1 {
    font-size: 2.4em;
  }

  .blog-listing .blog .blog-title > h3 {
    font-size: 1.4em;
  }

  .blog-listing .blog .blog-title {
    height: auto;
  }

  .blog-listing .blog {
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
  }

  .blog-listing .blog p {
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  .photo-list {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .photo-list .photo {
    aspect-ratio: 1 / 1;
    font-size: 0.9em;
  }

  .photo-list .photo .title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .photo-list .photo::before {
    height: 60%;
  }

  .photo-list .photo:not(:hover).visible .photo-article,
  .photo-list .photo:not(:hover).visible::before,
  .photo-list .photo:not(:hover).visible::after,
  .photo-list .photo:not(:hover).visible .title {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 800px) {
  .photo-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 770px) {
  .article .author-about {
    display: block;
    margin: 0 0 12px 0;
  }

  .article .author-about .avatar-default,
  .article .author-about .author-photo {
    width: 100px;
    line-height: 100px;
    font-size: 40px;
  }

  .article .author-about .author-content{
    margin-left: 0;
  }

  .article .profile-compact .author-about .author-content h1,
  .article .author-about .author-content h1 {
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 1.8em;
  }

  .profile .author-description {
    margin: 0;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .scroller-items .item:not(:last-child) {
    margin-right: 22px;
  }

  .article .user-roles .user {
    width: 100%;
  }

  .discussions-feed .post-item .post-body {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .search-results h1,
  .search-results .related-tags,
  .search-results .discussions-feed {
    padding-left: 18px;
    padding-right: 18px;
  }

  .blog-listing .blog {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .word-listing .word {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .word-listing .word p {
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  .pagination-item {
    display: none;
  }

  .pagination-results .pagination-item {
    display: inline-block;
  }

  .pagination-item.active,
  .pagination-item.pre-active,
  .pagination-item.post-active,
  .pagination-item:first-child,
  .pagination-item:last-child {
    display: inline-block;
  }

  section .cover-image #search-button .label-text {
    display: none;
  }
}

@media only screen and (max-width: 640px) {
  :root {
    --header-height: 60px;
  }

  #header .header-wrapper {
    gap: 1em;
  }

  #header .sidebar > .child.child-auth > span,
  #header #mobile-search-toggle,
  #header #mobile-menu-toggle {
    font-size: 0.9em;
  }

  body {
    margin-top: 60px;
  }

  .main-logo {
    font-size: 1.56em;
    padding: 12px 0 13px 0;
  }

  #header .sidebar {
    gap: 0.5em;
  }
}

@media only screen and (max-width: 540px) {
  p {
    font-size: 1.125em;
  }

  blockquote {
    margin: 24px 0;
  }

  article ol:not([class]),
  section .text ol:not([class]),
  .cke_editable ol:not([class]),
  article ul:not([class]),
  section .text ul:not([class]),
  .cke_editable ul:not([class]) {
    margin: 24px 0;
    font-size: 18px;
  }

  .article h1 {
    font-size: 2.3em;
  }

  .article h2 {
    font-size: 2em;
    margin: 48px 0 30px;
  }

  .discussions-feed {
    padding-bottom: 10%;
  }

  .discussions-feed .post-item .post-user {
    display: none;
  }

  .discussions-feed .post-item .post-date {
    display: block;
    margin-top: 5px;
  }

  .related-post.discussions-feed .post-item .post-user {
    display: block;
  }
}

@media only screen and (max-width: 480px) {
  .modal {
    padding: 0;
  }

  .modal .modal-wrapper {
    max-height: none;
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .image-field-widget {
    grid-template-columns: 85px auto;
    font-size: 0.85em;
  }

  .photo-list {
    grid-template-columns: 1fr;
  }

  .photo-list .photo {
    aspect-ratio: auto;
    min-height: calc(100vw - var(--site-padding) / 2);
  }
}

@media only screen and (max-width: 430px) {
  .article .article-author .post-updated-label {
    display: none;
  }
}

@media only screen and (max-width: 380px) {
  .pagination-prev {
    font-size: 0;
  }

  .pagination-prev .bi {
    font-size: 14px;
  }
}

@media only screen and (max-width: 380px) {
  #header .sidebar > .child.child-auth > span,
  #header #mobile-search-toggle,
  #header #mobile-menu-toggle {
    font-size: 0.85em;
  }

  .main-logo {
    font-size: 1.5em;
    padding: 13px 0 14px 0;
  }
}