/* Front page, news list, sidebars, footer base, and related common content styles. */
.home .site-body {
  padding-top: 0 !important;
}

.home .site-body-container,
.home .main-section,
.home .yabane-home-entry,
.home .yabane-home-entry .entry-body {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .yabane-hero {
  margin-top: 0;
}

.yabane-home-entry .entry-body {
  margin-top: 0;
}

.yabane-hero {
  margin-top: 0;
  margin-bottom: 20px;
}

.site-body-container {
  align-items: flex-start;
}

.main-section {
  min-width: 0;
}

.sub-section {
  width: var(--yabane-sidebar-width);
}

.page .main-section.main-section--col--two,
.single-club .main-section.main-section--col--two,
.yabane-news-page .main-section.main-section--col--two {
  width: calc(100% - var(--yabane-sidebar-width) - 24px);
  flex: 0 0 calc(100% - var(--yabane-sidebar-width) - 24px);
  max-width: calc(100% - var(--yabane-sidebar-width) - 24px);
  box-sizing: border-box;
}

.page .sub-section.sub-section--col--two,
.single-club .sub-section.sub-section--col--two,
.yabane-news-page .sub-section.sub-section--col--two {
  width: var(--yabane-sidebar-width);
  flex: 0 0 var(--yabane-sidebar-width);
  max-width: var(--yabane-sidebar-width);
  box-sizing: border-box;
}

.sub-section .widget {
  margin-bottom: 20px;
}

.yabane-home-entry .entry-body {
  background: transparent;
  padding: 0;
}

.yabane-hero {
  margin-bottom: 28px;
}

.yabane-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.yabane-home-section {
  padding: 0 28px 32px;
}

.yabane-lead-layout {
  display: grid;
  grid-template-columns: minmax(0, calc(100% - var(--yabane-sidebar-width) - 24px)) var(--yabane-sidebar-width);
  gap: 24px;
  align-items: start;
}

.yabane-lead-main {
  min-width: 0;
}

.yabane-inline-sidebar {
  width: var(--yabane-sidebar-width);
  max-width: var(--yabane-sidebar-width);
  flex: 0 0 var(--yabane-sidebar-width) !important;
}

.yabane-lead-layout > .yabane-lead-main {
  min-width: 0;
}

.yabane-lead-layout > .yabane-inline-sidebar {
  justify-self: stretch;
}

.yabane-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.yabane-section-title {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.45rem;
}

.yabane-date {
  margin: -4px 0 16px;
  text-align: right;
  color: #777;
  font-size: 0.92rem;
}

.yabane-note {
  text-align: center;
}

.yabane-photo-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.yabane-photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yabane-photo-card {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.yabane-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.yabane-photo-card figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

.yabane-photo-card--single {
  max-width: 520px;
  margin: 18px auto 0;
}

.yabane-photo-card--single img {
  aspect-ratio: auto;
  height: auto;
}

.yabane-home-section a {
  color: #2f77c8;
}

.yabane-home-section p {
  line-height: 1.75;
}

.yabane-more-link {
  color: #1990d8;
  text-decoration: none;
  white-space: nowrap;
}

.yabane-more-link a {
  display: inline-block;
  padding: 7px 14px;
  background: #9a9a9a;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 3px;
}

.yabane-news-section .yabane-section-title {
  border-bottom: 0;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  padding-bottom: 0;
}

.yabane-news-section .yabane-section-head {
  margin-bottom: 8px;
}

.yabane-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-news-item {
  display: grid;
  grid-template-columns: 108px 78px 1fr;
  gap: 8px;
  align-items: center;
  border-bottom: 1px dotted #b9b9b9;
  padding: 6px 0;
}

.yabane-news-item:first-child {
  border-top: 1px dotted #b9b9b9;
}

.yabane-news-item time {
  color: #666;
  font-size: 0.92rem;
}

.yabane-news-category {
  display: inline-block;
  padding: 3px 8px;
  background: #2d9ae1;
  color: #fff !important;
  text-align: center;
  font-size: 0.64rem;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.2;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.yabane-news-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yabane-news-item .yabane-news-title,
.yabane-news-item .yabane-news-title:visited,
.yabane-news-item .yabane-news-title:hover,
.yabane-news-item .yabane-news-title:focus {
  color: #111 !important;
  text-decoration: none;
}

.yabane-news-title:hover {
  text-decoration: underline;
}

.yabane-news-category--info,
.yabane-news-category--notice {
  background: #2d9ae1;
}

.yabane-news-category--sasuke {
  background: #6e86cf;
}

.yabane-news-category--activity,
.yabane-news-category--club {
  background: #41a85f;
}

.yabane-news-category--membership {
  background: #d98a3a;
}

.yabane-news-category--event {
  background: #c96a5b;
}

.yabane-news-category--uncategorized {
  background: #7f8ea3;
}

.yabane-news-new {
  margin-left: 8px;
  color: #d63b2b;
  font-size: 0.82rem;
  font-weight: 700;
}

.yabane-inline-sidebar .yabane-front-widget + .yabane-front-widget {
  margin-top: 14px;
}

.yabane-inline-sidebar .widget,
.yabane-inline-sidebar .yabane-front-widget {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.yabane-inline-sidebar .wp-block-button,
.yabane-inline-sidebar .widget .wp-block-button {
  width: 100%;
}

.yabane-news-page .site-body-container {
  align-items: flex-start;
}

.yabane-news-page .main-section {
  width: calc(100% - var(--yabane-sidebar-width) - 24px);
}

.yabane-news-archive .yabane-home-section {
  padding-top: 0;
}

.yabane-news-sidebar {
  width: var(--yabane-sidebar-width);
}

.yabane-news-accordion {
  background: transparent;
}

.yabane-news-accordion-summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  margin: 0 0 12px;
  padding: 0 0 8px 20px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.05rem;
  font-weight: 700;
}

.yabane-news-accordion-summary::-webkit-details-marker {
  display: none;
}

.yabane-news-accordion-summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-size: 0.9rem;
}

.yabane-news-accordion[open] .yabane-news-accordion-summary::before {
  content: "▼";
}

.yabane-news-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-news-category-list li {
  border-bottom: 1px dotted #c7c7c7;
}

.yabane-news-category-list a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
}

.yabane-news-category-list .is-current a {
  color: #1990d8;
  font-weight: 700;
}

.yabane-news-page .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
}

.yabane-news-page .page-numbers li {
  margin: 0;
}

.yabane-news-page .page-numbers a,
.yabane-news-page .page-numbers span {
  display: inline-block;
  min-width: 34px;
  padding: 6px 10px;
  border: 1px solid #c9c9c9;
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  text-align: center;
  text-decoration: none;
}

.yabane-news-page .page-numbers .current {
  background: #1990d8;
  border-color: #1990d8;
  color: #fff;
}

.yabane-post-side-menu .is-current a {
  color: #1990d8;
  font-weight: 700;
}

.yabane-side-widget {
  background: transparent;
  border: 0;
  padding: 0;
}

.yabane-side-widget--compact {
  padding: 14px;
}

.yabane-side-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.yabane-side-menu li + li {
  border-top: 1px dotted #ccc;
}

.yabane-side-menu a {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
}

.yabane-rss-link img {
  display: block;
  max-width: 100%;
  height: auto;
}

.yabane-follow-image {
  margin: 0 0 12px;
}

.yabane-follow-image img {
  display: block;
  width: 100%;
  height: auto;
}

.yabane-facebook-box {
  background: transparent;
  border: 0;
  padding: 0;
}

.yabane-facebook-title {
  margin: 0 0 8px;
  font-weight: 700;
}

.yabane-facebook-text {
  margin: 0 0 12px;
  color: #666;
  font-size: 0.92rem;
}

.yabane-comment-toggle {
  margin-top: 24px;
}

.yabane-comment-toggle summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding-left: 20px;
}

.yabane-comment-toggle summary::-webkit-details-marker {
  display: none;
}

.yabane-comment-toggle summary::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #555;
  font-size: 0.9rem;
}

.yabane-comment-toggle[open] summary::before {
  content: "▼";
}

.yabane-comment-form-wrap {
  margin-top: 16px;
}

.yabane-facebook-button {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 9px 14px;
  background: #1877f2;
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
}

.yabane-facebook-button--secondary {
  background: #4267b2;
}

.yabane-view-switch {
  display: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
}

.yabane-view-switch a {
  color: #2f77c8;
  text-decoration: none;
}

.site-footer-copyright a {
  color: inherit;
  text-decoration: underline;
}

.site-footer-copyright {
  text-align: right;
}

.site-footer .site-footer-copyright,
.site-footer .site-footer-copyright p {
  text-align: right !important;
}

.home .site-body-bottom,
.home .site-body-bottom .container,
.home .widget_archive,
.home .widget_categories,
.home .wp-block-archives,
.home .wp-block-categories {
  display: none !important;
}

.entry-meta,
.entry-meta-items,
.entry-meta-data-list,
.entry-meta-data-list dl,
.entry-meta-data-list dt,
.entry-meta-data-list dd,
.post-meta,
.postList_date,
.vk_post .meta-date,
.vk_post .meta-author,
.entry-footer {
  display: none !important;
}

.sub-section-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1ba0eb;
  font-size: 1.05rem;
}

.page .entry-body,
.single .entry-body {
  font-weight: 400;
}

.page .entry-body p,
.page .entry-body li,
.page .entry-body td,
.page .entry-body th,
.single .entry-body p,
.single .entry-body li,
.single .entry-body td,
.single .entry-body th {
  font-weight: 400;
}

.page .entry-body strong,
.page .entry-body b,
.single .entry-body strong,
.single .entry-body b {
  font-weight: 700;
}

.page .entry-body h2:not([class]),
.page .entry-body h3:not([class]),
.single .entry-body h2:not([class]),
.single .entry-body h3:not([class]) {
  font-size: 1.75rem;
  line-height: 1.4;
}

@media (max-width: 991px) {
  .yabane-news-page .main-section,
  .yabane-news-sidebar {
    width: 100%;
  }

  .yabane-news-sidebar {
    margin-top: 24px;
  }

  body:not(.yabane-view-desktop) .yabane-utility-wrap {
    width: 100%;
    flex-basis: 100%;
  }

  body:not(.yabane-view-desktop) .yabane-utility {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0;
  }

  body:not(.yabane-view-desktop) .yabane-utility-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  body:not(.yabane-view-desktop) .site-header-logo {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 0;
  }

  body:not(.yabane-view-desktop) .site-header-logo a {
    width: min(322px, 100%);
    margin: 0 auto;
  }

  body:not(.yabane-view-desktop) .global-nav .nav {
    flex-wrap: wrap;
  }

  body:not(.yabane-view-desktop) .global-nav .menu-item {
    flex: 1 1 50%;
  }

  body:not(.yabane-view-desktop) .yabane-search input {
    min-width: 0;
    width: 100%;
  }

  body:not(.yabane-view-desktop) .yabane-news-item {
    grid-template-columns: 1fr;
  }

  body:not(.yabane-view-desktop) .yabane-photo-grid--two {
    grid-template-columns: 1fr;
  }

  body:not(.yabane-view-desktop) .yabane-lead-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .yabane-view-switch {
    display: flex;
  }
}

@media (max-width: 767px) {
  body:not(.yabane-view-desktop) .global-nav {
    display: none;
  }

  body:not(.yabane-view-desktop) .yabane-home-section {
    padding: 0 16px 24px;
  }

  body:not(.yabane-view-desktop) .yabane-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body:not(.yabane-view-desktop) .yabane-view-switch {
    justify-content: flex-start;
  }
}

.vk_posts.next-prev .vk_post_imgOuter_img {
  display: none !important;
}

.vk_posts.next-prev .vk_post_imgOuter {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  background-image: none !important;
  background-color: transparent !important;
}

.vk_posts.next-prev .card-img-overlay {
  position: static !important;
  padding: 0 !important;
}

.vk_posts.next-prev .vk_post_imgOuter_singleTermLabel {
  display: inline-block;
}

.vk_posts.next-prev .vk_post {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.vk_posts.next-prev .card-intext-inner {
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
}

.vk_posts.next-prev .vk_post_body {
  display: none !important;
}

.vk_posts.next-prev .vk_post_date {
  display: none !important;
}
