/* #Blog
--------------------------------------------------------------- */

.nm-blog-wrap {
   padding-bottom: 64px;
}

.nm-blog.nm-blog-categories-disabled {
   padding-top: 46px;
}

#nm-blog-list.nm-search-results>div,
#nm-blog-list>.post {
   -webkit-transition: opacity 0.3s ease;
   transition: opacity 0.3s ease;
}

#nm-blog-list.nm-search-results>div.fade-out,
#nm-blog-list>.post.fade-out {
   opacity: 0;
}

/* Image border radius */
.nm-blog img {
   border-radius: var(--nm--border-radius-image);
}

/* Heading */
.nm-blog-heading {
   padding-top: 46px;
   padding-bottom: 46px;
}

.nm-blog-heading h1 {
   font-size: 18px;
   line-height: 1.4;
   color: inherit;
}

.nm-blog-heading h1 strong {
   font-weight: inherit;
   color: #282828;
}

/* Sticky post */
.nm-blog .sticky .nm-post-thumbnail:before,
.nm-blog .category-sticky .nm-post-thumbnail:before {
   display: block;
   position: absolute;
   top: 6px;
   right: 10px;
   z-index: 100;
   content: "*";
   font-family: Arial, Helvetica, sans-serif;
   font-size: 46px;
   line-height: 1;
   color: #dc9814;
}

/* Categories */
.nm-blog-categories-wrap {
   padding-top: 46px;
   padding-bottom: 46px;
}

/* Categories: Toggle link */
.nm-blog-categories-toggle {
   display: none;
}

.nm-blog-categories-toggle li a {
   font-size: 18px;
   color: #888;
}

.nm-blog-categories-toggle li a.active,
.nm-blog-categories-toggle li a:hover {
   color: #282828;
}

.nm-blog-categories-toggle li .count {
   font-size: 14px;
   font-style: normal;
   color: #c0c0c0;
   vertical-align: top;
   padding-left: 1px;
}

/* Categories: List */
.nm-blog-categories-list li {
   display: inline-block;
   vertical-align: middle;
}

.nm-blog-categories-list li a {
   font-size: 18px;
   line-height: 2;
   color: inherit;
   margin: 0 17px;
}

.nm-blog-categories-list li a:hover {
   color: #dc9814;
}

.nm-blog-categories-list li:first-child a {
   margin-left: 0;
}

.nm-blog-categories-list li:last-child a {
   margin-right: 0;
}

.nm-blog-categories-list li.current-cat a {
   color: #dc9814;
}

.nm-blog-categories-list li span {
   color: #ccc;
}

/* Categories: List (no separator) */
.nm-blog-categories-list.list_nosep li a {
   margin: 0 19px 0 0;
}

.nm-blog-categories-list.list_nosep li.current-cat a {
   padding-bottom: 0;
}

.nm-blog-categories-list.list_nosep li span {
   display: none;
}

/* Categories: Columns */
.nm-blog-categories-list.columns {
   overflow: hidden;
}

.nm-blog-categories-list.columns li {
   display: block;
   float: left;
   padding-right: 17px;
   padding-bottom: 0;
}

.nm-blog-categories-list.columns li a {
   font-size: 16px;
   margin: 0;
}

.nm-blog-categories-list.columns li.current-cat a {
   padding-bottom: 1px;
}

.nm-blog-categories-list.columns li span {
   display: none;
}

/* Term (category/tag) description */
.nm-term-description {
   font-size: 18px;
   line-height: 1.6;
   padding: 0 0 46px;
}

/* Meta */
.nm-post-meta {
   position: relative;
   color: #a0a0a0;
   padding-left: 40px;
}

.nm-post-meta:before {
   position: absolute;
   top: 15px;
   left: 0;
   display: block;
   content: " ";
   width: 26px;
   height: 1px;
   background: #dadada;
}

/* Page links - wp_link_pages() */
.page-links {
   margin-top: 11px;
}

/* Pagination */
#nm-blog-pagination {
   position: relative;
   margin-top: 50px;
}

.nm-blog-prev,
.nm-blog-next {
   width: 100%;
   max-width: 250px;
   /*margin-bottom: 10px;*/
}

.nm-blog-prev {
   float: left;
}

.nm-blog-next {
   float: right;
}

#nm-blog-pagination a {
   display: block;
   font-size: 16px;
   line-height: 1;
   text-align: center;
   width: 100%;
   padding: 12px 0;
}

/* Pagination: Infinite load */
#nm-blog-pagination.infinite-load {
   border-top: 1px solid #eaeaea;
   border-bottom: 1px solid #eaeaea;
}

#nm-blog-pagination.all-pages-loaded {
   display: none;
}

#nm-blog-infinite-load {
   text-align: center;
}

#nm-blog-infinite-load a {
   padding: 23px 0;
   border: 0 none;
}

#nm-blog-infinite-load a:hover {
   color: #888;
   background: none;
}

.loading #nm-blog-infinite-load a {
   opacity: 0;
}

#nm-blog-pagination.scroll-mode #nm-blog-infinite-load a {
   text-indent: -1000em;
   overflow: hidden;
}

/* Pagination: WP-PageNavi */
#nm-blog-pagination .wp-pagenavi span.pages {
   margin-right: 10px;
}

#nm-blog-pagination .wp-pagenavi a,
#nm-blog-pagination .wp-pagenavi span.current {
   display: inline;
   margin: 2px;
   padding: 10px;
}

#nm-blog-pagination .wp-pagenavi a.previouspostslink,
#nm-blog-pagination .wp-pagenavi a.nextpostslink,
#nm-blog-pagination .wp-pagenavi a.last {
   background-color: #f5f5f5;
}

/* Sidebar */
.nm-blog.sidebar-right .nm-sidebar {
   padding-left: 34px;
}

.nm-blog.sidebar-left .nm-sidebar {
   padding-right: 34px;
}

.nm-blog.sidebar-left .nm-blog-content-col {
   float: right;
}

.nm-blog.sidebar-left .nm-blog-sidebar-col {
   float: left;
}

.nm-blog .nm-sidebar .widget:last-child {
   margin-bottom: 0;
}

@media (max-width: 1199px) {

   /* Sidebar */
   .nm-blog.sidebar-right .nm-sidebar {
      padding-left: 24px;
   }

   .nm-blog.sidebar-left .nm-sidebar {
      padding-right: 24px;
   }
}

@media all and (max-width: 991px) {
   .nm-blog-wrap {
      padding-bottom: 50px;
   }

   /* Heading */
   .nm-blog-heading {
      padding-top: 36px;
      padding-bottom: 36px;
   }

   /* Categories */
   .nm-blog-categories-wrap {
      padding-top: 36px;
      padding-bottom: 36px;
   }

   /* Categories: Toggle link */
   .nm-blog-categories .toggle-1 .nm-blog-categories-toggle {
      display: block;
   }

   /* Categories: Common */
   .nm-blog-categories .toggle-1 ul.nm-blog-categories-list {
      display: none;
      padding-top: 16px;
   }

   /* Pagination */
   #nm-blog-pagination {
      margin-top: 40px;
   }

   .has-sidebar #nm-blog-pagination {
      margin-bottom: 64px;
   }

   /* Sidebar */
   .nm-blog .nm-sidebar {
      padding-top: 50px;
   }

   .nm-blog.sidebar-right .nm-sidebar {
      padding-left: 0;
   }

   .nm-blog.sidebar-left .nm-sidebar {
      padding-right: 0;
   }
}

@media all and (max-width: 768px) {
   .nm-blog.nm-blog-categories-disabled {
      padding-top: 38px;
   }

   /* Term (category/tag) description */
   .nm-term-description {
      font-size: 16px;
   }
}

@media all and (max-width: 610px) {

   /* Pagination */
   .nm-blog-prev,
   .nm-blog-next {
      width: 48%;
      max-width: none;
   }
}

@media all and (max-width: 550px) {

   /* Categories: List */
   .nm-blog-categories-list li span {
      display: none;
   }

   .nm-blog-categories-list li a {
      margin: 0 24px 0 0;
   }

   .nm-blog-categories-list li:last-child a {
      margin-right: 0;
   }

   .nm-blog-categories-list li.current-cat a {
      padding-bottom: 3px;
   }
}

@media all and (max-width: 400px) {
   .nm-blog.nm-blog-categories-disabled {
      padding-top: 30px;
   }

   /* Heading */
   .nm-blog-heading {
      padding-top: 30px;
      padding-bottom: 30px;
   }

   /* Categories */
   .nm-blog-categories-wrap {
      padding-top: 30px;
      padding-bottom: 30px;
   }

   /* Categories: List */
   .nm-blog-categories-list li {
      display: block;
   }

   .nm-blog-categories-list li:last-child {
      margin-bottom: 0;
   }

   .nm-blog-categories-list li a {
      font-size: 16px;
      margin: 0;
   }

   .nm-blog-categories-list li.current-cat a {
      padding-bottom: 0;
      border-bottom: 0 none;
   }

   /* Categories: Columns */
   .nm-blog-categories-list.columns li {
      width: 100%;
   }
}


/* #Blog: Classic
--------------------------------------------------------------- */

#nm-blog-list.nm-blog-classic {
   margin-bottom: 10px;
}

/* Title */
.nm-blog-classic .nm-post-title {
   font-size: 24px;
}

.nm-blog-classic .nm-post-title a {
   color: inherit;
}

/* Meta */
.nm-blog-classic .nm-post-meta {
   margin: 8px 0 0;
}

/* Thumbnail */
.nm-blog-classic .nm-post-thumbnail {
   position: relative;
   padding-bottom: 18px;
}

.nm-blog-classic .nm-post-thumbnail a {
   display: block;
   border-radius: var(--nm--border-radius-image);
}

.nm-blog-classic .nm-post-thumbnail img {
   width: 100%;
   height: auto;
}

/* Content/Excerpt */
.nm-blog-classic .nm-post-content {
   font-size: 16px;
   line-height: 1.8;
   margin-top: 10px;
}

.nm-post-content-comments-link {
   padding-top: 37px;
}

.nm-post-content-comments-link a {
   color: #282828;
}

.nm-post-content-comments-link a i {
   position: relative;
   top: 2px;
}

.nm-post-content-comments-link a span {
   padding-left: 10px;
}

/* Divider */
.nm-blog-classic .nm-post-divider {
   height: 60px;
   background: none;
}

.nm-blog-classic .post:first-child .nm-post-divider {
   display: none;
}

@media (max-width: 991px) {
   #nm-blog-list.nm-blog-classic {
      margin-bottom: 0;
   }

   /* Divider */
   .nm-blog-classic .nm-post-divider {
      height: 50px;
   }
}

@media (max-width: 400px) {

   /* Title */
   .nm-blog-classic .nm-post-title {
      font-size: 20px;
   }

   /* Content/Excerpt */
   .nm-blog-classic .post .nm-post-content {
      font-size: inherit;
   }

   /* Divider */
   .nm-blog-classic .nm-post-divider {
      height: 36px;
   }
}


/* #Blog: Grid
--------------------------------------------------------------- */

.nm-blog-grid [class*="block-grid-"] {
   margin: 0 -1.6% -66px;
}

.nm-blog-grid [class*="block-grid-"]>li {
   padding: 0 1.6% 66px;
}

/* Thumbnail */
.nm-blog-grid .nm-post-thumbnail {
   position: relative;
   margin-bottom: 19px;
}

.nm-blog-grid .nm-post-thumbnail a {
   position: relative;
   display: block;
}

.nm-blog-grid .nm-post-thumbnail img {
   width: 100%;
   height: auto;
}

/* Thumbnail overlay */
.nm-blog-grid .nm-post-thumbnail a:hover .nm-image-overlay {
   opacity: 1;
}

/* Meta */
.nm-blog-grid .nm-post-meta {
   margin-bottom: 14px;
}

/* Title */
.nm-blog-grid .nm-post-title {
   font-size: 22px;
   line-height: 1.2;
}

.nm-blog-grid .nm-post-title a {
   color: inherit;
}

/* Content/Excerpt */
.nm-blog-grid .nm-post-content {
   font-size: 16px;
   line-height: 1.6;
   margin-top: 14px;
}

.nm-blog-grid .nm-post-content .nm-post-excerpt p {
   margin-bottom: 0;
}

.nm-blog-grid .nm-post-content .nm-post-read-more {
   display: block;
   margin-top: 14px;
}

.nm-blog-grid .nm-post-content .nm-post-read-more i {
   display: inline-block;
   line-height: 1;
   margin-left: 5px;
   vertical-align: text-bottom;
}

/* Media queries */
@media all and (max-width: 991px) {
   .nm-blog-grid [class*="block-grid-"] {
      margin-bottom: -52px;
   }

   .nm-blog-grid [class*="block-grid-"]>li {
      padding-bottom: 52px;
   }
}

@media all and (max-width: 400px) {

   /* Title */
   .nm-blog-grid .nm-post-title {
      font-size: 20px;
   }

   /* Content/Excerpt */
   .nm-blog-grid .nm-post-content {
      font-size: 14px;
   }
}


/* #Blog: List
--------------------------------------------------------------- */

#nm-blog-list.nm-blog-list {
   margin-bottom: 10px;
}

#nm-blog-list.nm-blog-list .post>.nm-row {
   display: flex;
   flex-wrap: wrap;
   align-items: center;
}

/* Title */
.nm-blog-list .nm-post-title {
   font-size: 24px;
}

.nm-blog-list .nm-post-title a {
   color: inherit;
}

/* Meta */
.nm-blog-list .nm-post-meta {
   margin-top: 8px;
   margin-bottom: 8px;
}

/* Thumbnail */
.nm-blog-list .nm-post-thumbnail {
   position: relative;
   padding-left: 2vw;
}

.nm-blog-list .nm-post-thumbnail a {
   display: block;
}

.nm-blog-list .nm-post-thumbnail img {
   width: 100%;
   height: auto;
}

/* Content/Excerpt */
.nm-blog-list .nm-post-content {
   font-size: 16px;
   line-height: 1.6;
}

.nm-blog-list .nm-post-content .nm-post-excerpt p {
   margin-bottom: 0;
}

.nm-blog-list .nm-post-content .nm-post-read-more {
   display: block;
   margin-top: 14px;
}

.nm-blog-list .nm-post-content .nm-post-read-more i {
   display: inline-block;
   line-height: 1;
   margin-left: 5px;
   vertical-align: text-bottom;
}

/* Divider */
.nm-blog-list .nm-post-divider {
   height: 64px;
}

.nm-blog-list .post:first-child .nm-post-divider {
   display: none;
}

/* Media queries */
@media (max-width: 991px) {
   .nm-blog.has-sidebar #nm-blog-list.nm-blog-list {
      margin-bottom: 0;
   }

   #nm-blog-list.nm-blog-list .post>.nm-row {
      flex-wrap: nowrap;
      flex-direction: column-reverse;
      align-items: initial;
   }

   /* Columns */
   .nm-blog-list .nm-title-col,
   .nm-blog-list .nm-content-col,
   .nm-blog-list .nm-divider-col {
      float: none;
      width: auto;
   }

   /* Title */
   .nm-blog-list .nm-post-title {
      margin-top: 22px;
      padding-right: 0;
   }

   /* Thumbnail */
   .nm-blog-list .nm-post-thumbnail {
      padding-left: 0;
   }

   /* Divider */
   .nm-blog-list .nm-post-divider {
      height: 46px;
   }

   .nm-blog-list .post:first-child .nm-post-divider {
      display: block;
   }

   .nm-blog-list .post:last-child .nm-post-divider {
      display: none;
   }
}

@media all and (max-width: 400px) {

   /* Title */
   .nm-blog-list .nm-post-title {
      font-size: 22px;
   }
}


/* #Blog: No results
--------------------------------------------------------------- */

.nm-blog-no-results h1 {
   font-size: 18px;
}


/* #Blog: Single post
--------------------------------------------------------------- */

.nm-post-body {
   padding-top: 46px;
}

.nm-post-col {
   max-width: 833px;
   margin: 0 auto;
   padding: 0 15px;
}

/* Header */
.nm-post-header {
   padding-bottom: 36px;
}

.nm-post.nm-post-sidebar-none .nm-post-header {
   text-align: center;
}

.nm-post.nm-post-sidebar-left .nm-post-header .col {
   float: right;
}

.nm-post-header h1 {
   font-size: clamp(28px, 4.8vw, 32px);
   line-height: 1.2;
}

/* Header: Featured image */
.nm-post.nm-post-sidebar-none .nm-post-featured-image {
   width: calc(100% + 10vw);
   max-width: none;
   margin-left: -5vw;
   text-align: left;
}

.nm-post.has-featured-image .nm-post-featured-image {
   margin-bottom: 40px;
}

.nm-post-featured-image img {
   width: 100%;
   border-radius: inherit;
}

/* Blog: Single post - Featured image */
.nm-post-featured-image.aspect-ratio {
   position: relative;
   overflow: hidden;
}

@media (min-width: 894px) {
   .nm-post-featured-image.aspect-ratio {
      border-radius: var(--nm--border-radius-image);
   }
}

.nm-post-featured-image.aspect-ratio.ratio-1-1 {
   padding-bottom: 100%;
}

.nm-post-featured-image.aspect-ratio.ratio-3-2 {
   padding-bottom: 66.66%;
}

.nm-post-featured-image.aspect-ratio.ratio-4-3 {
   padding-bottom: 75%;
}

.nm-post-featured-image.aspect-ratio.ratio-16-9 {
   padding-bottom: 56.25%;
}

.nm-post-featured-image.aspect-ratio img {
   display: block;
   position: absolute;
   height: 100%;
   object-fit: cover;
}

/* Header: Meta */
.nm-single-post-meta-top {
   margin-top: 8px;
}

.nm-single-post-meta-top em {
   font-style: normal;
   text-transform: lowercase;
}

.nm-single-post-meta-top em a {
   text-transform: none;
}

.nm-single-post-meta-top a {
   color: inherit;
}

/* Body */
.nm-post-body .post {
   padding-bottom: 50px;
}

/* Body - Sidebar */
.nm-post .nm-sidebar {
   padding-left: 34px;
}

.nm-post.nm-post-sidebar-left .nm-sidebar {
   padding-right: 34px;
   padding-left: 0;
}

.nm-post-sidebar-left .nm-post-content-col {
   float: right;
}

.nm-post-sidebar-left .nm-post-sidebar-col {
   float: left;
}

/* Meta */
.nm-single-post-meta-wrap {
   line-height: 1.8;
   padding-bottom: 46px;
   overflow: hidden;
}

.nm-single-post-meta {
   float: left;
   width: 70%;
   padding-right: 7px;
}

/* Meta: Tags */
.nm-single-post-tags {
   padding-bottom: 15px;
   overflow: hidden;
}

.nm-single-post-tags.widget_tag_cloud {
   display: flex;
   flex-wrap: wrap;
   gap: 6px;
}

/* Meta: Categories */

/* Meta: Share */
.nm-post-share {
   float: right;
   width: 30%;
   padding-left: 7px;
   text-align: right;
}

.nm-post-share span {
   display: none;
}

.nm-post-share a {
   font-size: 18px;
   line-height: 1;
   color: inherit;
   display: inline-block;
   margin-right: 15px;
   vertical-align: middle;
}

.nm-post-share a:last-child {
   margin-right: 0;
}

.nm-post-share a:hover {
   color: #282828;
}

/* Pagination */
.nm-post-pagination {
   line-height: 1.4;
   padding: 44px 0;
   overflow: hidden;
   border-top: 1px solid #eee;
}

.nm-post-pagination>.nm-row {
   max-width: none;
}

.nm-post-pagination-inner {
   padding-right: 20px;
   padding-left: 20px;
   overflow: hidden;
}

.nm-post-pagination .nm-post-prev,
.nm-post-pagination .nm-post-next {
   float: left;
   width: 50%;
}

.nm-post-pagination .nm-post-prev {
   padding-right: 15px;
}

.nm-post-pagination .nm-post-next {
   float: right;
   text-align: right;
   padding-left: 15px;
}

.nm-post-pagination a {
   position: relative;
   display: block;
   color: #282828;
}

.nm-post-pagination .nm-post-prev a {
   padding-left: 37px;
}

.nm-post-pagination .nm-post-next a {
   padding-right: 37px;
}

.nm-post-pagination a:before {
   position: absolute;
   top: 50%;
   font-family: 'nm-font';
   font-size: 50px;
   line-height: 1;
   margin-top: -20px;
   opacity: 0.3;
   transition: opacity 0.2s ease;
}

.no-touch .nm-post-pagination a:hover:before {
   opacity: 1;
}

.nm-post-pagination .nm-post-prev a:before {
   left: -11px;
   content: "\e600";
}

.nm-post-pagination .nm-post-next a:before {
   right: -11px;
   content: "\e601";
}

.nm-post-pagination a .short-title {
   display: block;
   font-size: 13px;
   color: #a1a1a1;
   margin-bottom: 2px;
}

.nm-post-pagination a .long-title {
   font-size: 16px;
}

/* Related posts */
.nm-related-posts {
   padding: 56px 0 37px;
}

.no-post-comments .nm-related-posts {
   border-top: 1px solid #eee;
}

.nm-related-posts h2 {
   font-size: 24px;
   padding-bottom: 28px;
}

.nm-related-posts-image {
   position: relative;
   display: block;
   width: 100%;
   overflow: hidden;
}

.nm-related-posts-image img {
   width: 100%;
   max-width: 100%;
   height: auto;
}

.nm-related-posts-image:hover .nm-image-overlay {
   opacity: 1;
}

.nm-related-posts-content .nm-post-meta {
   line-height: 2;
   margin: 16px 0 8px;
}

.nm-related-posts-content h3 {
   font-size: 18px;
   line-height: 1.6;
   padding-bottom: 7px;
}

.nm-related-posts-content .nm-related-posts-excerpt {
   padding-bottom: 12px;
}

@media all and (max-width: 1400px) {

   /* Pagination */
   .nm-post-pagination-inner {
      padding-right: 0;
      padding-left: 0;
   }
}

@media all and (max-width: 1199px) {

   /* Body - Sidebar */
   .nm-post .nm-sidebar {
      padding-left: 24px;
   }

   .nm-post.nm-post-sidebar-left .nm-sidebar {
      padding-right: 24px;
   }
}

@media all and (max-width: 991px) {

   /* Body - Sidebar */
   .nm-post .nm-sidebar {
      padding-left: 0;
   }

   .nm-post.nm-post-sidebar-left .nm-sidebar {
      padding-right: 0;
   }

   /* Related posts */
   .nm-related-posts-content .nm-post-meta:before {
      width: 19px;
   }

   .nm-related-posts-content .nm-post-meta {
      padding-left: 29px;
   }
}

@media all and (max-width: 890px) {
   .has-featured-image .nm-post-body {
      padding-top: 0;
   }
}

@media all and (max-width: 610px) {

   /* Pagination */
   .nm-post-pagination {
      padding: 40px 0 39px;
   }

   .nm-post-pagination .nm-post-prev a {
      padding-left: 22px;
   }

   .nm-post-pagination .nm-post-next a {
      padding-right: 22px;
   }

   .nm-post-pagination a:before {
      font-size: 30px;
      margin-top: -14px;
   }

   .nm-post-pagination .nm-post-prev a:before {
      left: -7px;
   }

   .nm-post-pagination .nm-post-next a:before {
      right: -7px;
   }

   .nm-post-pagination a .long-title {
      display: none;
   }

   .nm-post-pagination a .short-title {
      display: inline-block;
      font-size: inherit;
      color: inherit !important;
      margin-bottom: 0;
   }
}

@media all and (max-width: 550px) {
   .nm-post-body {
      padding-top: 48px;
   }

   /* Header */
   .nm-post-header h1 {
      line-height: 1.4;
   }

   /* Body */
   .nm-post-body .post {
      padding-bottom: 46px;
   }

   /* Related posts */
   .nm-related-posts {
      padding: 42px 0 25px;
   }

   .nm-related-posts-content .nm-post-meta:before {
      width: 10px;
   }

   .nm-related-posts-content .nm-post-meta {
      padding-left: 20px;
   }

   .nm-related-posts-content h3 {
      font-size: 16px;
      padding-bottom: 15px;
   }

   .nm-related-posts-content .nm-related-posts-excerpt {
      display: none;
   }
}

@media all and (max-width: 400px) {

   /* Related posts */
   .nm-related-posts-content .nm-post-meta {
      display: none;
   }

   .nm-related-posts-content h3 {
      padding-top: 14px;
   }
}


/* #Blog: Single post - Password protected
--------------------------------------------------------------- */

.post-password-form>p:first-child {
   font-size: 16px;
   color: #282828;
   margin-bottom: 15px !important;
   margin-top: 5px;
}

.post-password-form label,
.post-password-form input {
   display: block;
}

.post-password-form label input {
   width: 100%;
   margin: 0 0 14px;
}

.post-password-form input[type=submit] {
   width: 111px;
   padding: 11px 0;
}