/* Blog Archive Styles */

.oh-blog-archive {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px;
}

.oh-blog-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  grid-column: auto/span 9;
    align-items: flex-start;
}
.oh-sidebar {
  grid-column: auto/span 3;
}

.oh-blog-item {
  box-shadow: 0 0 4px rgba(0,0,0,0.12);
  transition: box-shadow 0.5s cubic-bezier(0, 0, 0.44, 1.18);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
    transition: box-shadow 0.5s cubic-bezier(0, 0, 0.44, 1.18);
}
.oh-blog-item:hover{
    box-shadow: 0 0 9px rgba(0,0,0,0.2);
}

.oh-blog-thumb > a {
  position: relative;
  padding-top: 100%;
  background-color: var(--oh-primary);
  width: 100%;
  display: block;
  overflow: hidden;
}
.oh-blog-thumb > a img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  object-fit: cover;
    transition: all 0.5s cubic-bezier(0, 0, 0.44, 1.18);
}

.oh-blog-item:hover .oh-blog-thumb img {
  transform: scale(1.1);
}

.oh-date-badge {
  position: absolute;
  top: 15px;
  inset-inline-start: 15px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  min-width: 53px;
  padding: 7px;
  text-align: center;
  line-height: 1;
  border-radius: calc(8px / 1.5);
  background-color: #fff;
  box-shadow: 0 0 9px rgba(0,0,0,0.1);
  color: var(--oh-color3);
}
.oh-date-badge .day {
  font-size: 22px;
}
.oh-date-badge .month {
    text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

.oh-blog-content {
  padding: 25px;
    position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  z-index: 1;
}

.oh-meta {
  margin-top: calc(-25px - 1.1em);
  display: inline-block;
  overflow: hidden;
  padding-inline: 10px;
  height: 2em;
  border-radius: calc(8px / 1.5);
  background-color:var(--oh-primary);
  color: #fff;
  line-height: 2em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: .8em;
}
.oh-meta a {
  color: #fff;
}
.oh-title a:hover {
  color: var(--oh-primary);
}

.oh-pagination {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}



.widget h3 {
  color: var(--oh-color3);
  font-size: 16px;
  text-transform: uppercase;
}
.widget ul {
  margin: 0px;
  list-style: none;
  padding: 0px;
}
.widget {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(0,0,0,.105);
}
.widget:last-child{
  margin-bottom: 0;
  padding-bottom: 0px;
  border: none;
}
.widget ul li a {
  display: block;
    color: #767676;
  line-height: 1.4;
}
.widget ul li {
  margin-bottom: 15px;
}
.widget ul li:last-child {
    margin-bottom: 0;
  padding-bottom: 0;
  border: none;
}

.recent-posts-list li {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,.105);
}
.recent-posts-thumbnail {
  flex: 0 0 auto;
  max-width: 50%;
  overflow: hidden;
  margin-inline-end: 15px;
}
.recent-posts-thumbnail img {
  min-width: 60px;
  border-radius: calc(8px / 1.5);
  width: 75px;
  overflow: hidden;
  height: 65px;
  object-fit: cover;
}
.recent-posts-info {
  flex: 1 1 auto;
}

.oh-entities-title.title a {
  color: var(--oh-color3);
  font-weight: 600;
  margin-bottom: 8px;
}
.recent-posts-info a {
  display: inline !important;
}
.recent-posts-time {
  color: #bbb;
  font-size: 90%;
  margin-right: 5px;
}
.widget ul li .recent-posts-comment {
  color: #bbb;
  font-size: 90%;
}
.oh-entities-title.title {
  margin-bottom: 8px;
}
.recentcomments svg{
  margin-right: 7px;
  width: 12px;
  height: 16px;
  vertical-align: middle;
}
.recentcomments a {
  display: inline !important;
  color: var(--oh-color3) !important;
  font-weight: 600;
}
.oh-title {
  margin-bottom: 0px;
}
.oh-author-date {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  color: #a5a5a5;
}
.oh-author-date img {
  border-radius: 50%;
  width: 18px;
  height: 18px;
  object-fit: cover;
}
.post_read_more {
  text-transform: uppercase;
  color: var(--oh-primary);
  font-weight: 500;
}
.oh_post_meta_btm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.oh-post-share .post_share_icon svg {
  width: 16px;
}

.oh-post-reply svg {
  width: 16px;
  height: 16px;
}
.oh-post-reply a {
  position: relative;
  color: #a5a5a5;
}
.oh-replies-count {
  position: absolute;
  top: -5px;
  inset-inline-start: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  height: 1.4em;
  padding-inline: .2em;
  border-radius: 1em;
  background-color: var(--oh-primary);
  color: #fff;
  font-size: .6em;
  line-height: 1;
}
.post_share_icon {
  color: #a5a5a5;
}
.tooltip.top {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  position: absolute;
  z-index: 1110;
  opacity: 0;
  pointer-events: none;
}
.oh-post-share {
  position: relative;
}
.tooltip-inner {
  padding: 5px;
  max-width: fit-content;
  text-transform: none;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
  background-color: rgba(0,0,0,.9);
  color: #fff;
  text-align: center;
  word-break: break-word;
  border-radius: calc(8px / 1.5);
  width: max-content;
}
.oh-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.oh-social-icons a {
  min-width: 24px;
  padding: 6px;
  color: #fff;
  display: flex;
  align-items: center;

}
.oh-social-icons a svg{
  width: 15px;
  height: 15px;
}
.tooltip-arrow {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: rgba(0,0,0,.9);
  top: calc(100% - 1px);
  left: 50%;
  clip-path: polygon(0 0, 50% 50%, 100% 0);
  transform: translateX(-50%);
}
.tooltip-inner:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 8px;
  inset: auto 0 -8px 0;
  z-index: 888;
}
.oh-post-share:hover .tooltip {
  opacity: 1;
  pointer-events: inherit;
}


@media only screen and (max-width: 767px){

  .oh-blog-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 10px;
    grid-column: auto/span 12;
  }
  .oh-blog-archive {
    gap: 10px;
  }
  .oh-sidebar {
    grid-column: auto/span 12;
  }

}