.yarpp-related h2 {
    padding: 0 0 5px;
    text-transform: capitalize;
    margin: 0 0 14px 0;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    color: #7a86ac;
}

.yarpp-thumbnails-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 0fr);
    gap: -1px!important;
    max-width: 1000px;
    margin: 0;
}

.yarpp-thumbnail {
  display: block;
  background-color: #fff;
  text-decoration: none !important;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 0px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding-top: 20px;
    padding-right: 29px;
    padding-left: 20px;
}
.yarpp-thumbnail:hover {

  opacity: 0.7;

  filter: alpha(opacity=70);

  -ms-filter: "alpha(opacity=70)";
	color: #7a86ac;
	text-decoration: none;

}


.yarpp-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

.yarpp-thumbnail-title {
  display: block;
  padding: 10px 0px 0px;
  font-size: 14px;
	font-weight: 500;
  line-height: 1.7;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail
 {
    width: 235px;
   /*height: 230px;*/
    margin: 0px!important;
}
.yarpp-related .yarpp-thumbnail-title {
    font-size: 14px!important;
    font-weight: 500!important;
    text-align: left;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
    margin: 7px 0 0 7px;
    width: 100%;
}
.post_content a, .custom-html-widget a {
    color: #000000;
		text-decoration: none;
}
a:-webkit-any-link {
		text-decoration: none;}
.yarpp-thumbnail-date {
    margin: 2px 0 4px 7px;
    font-size: 12px;
    color: #999;
    line-height: 1;
	  font-weight: 300;
}
#post_meta_top.meta {
  font-size: 14px;
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #333; /* 文字色だけ少し濃く（調整可能） */
  background: none;
  border: none;
}

#post_meta_top.meta li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  background: none;
  border: none;
}
@media screen and (max-width: 768px) {
	.yarpp-related h2 {
    color: #7a86ac;
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500 !important;
    line-height: 1.6;
}	
		
  .yarpp-thumbnails-horizontal {
    grid-template-columns: repeat(2, 1fr); /* モバイルは2列 */
  }

 .yarpp-thumbnails-horizontal .yarpp-thumbnail {
    width: 165px;
    height: 100%;
    margin: 0px;
    margin-left: 0px;
    border: 0px solid hsla(0, 0%, 50%, .1);
    vertical-align: top;
} 
.yarpp-thumbnail {
    display: block;
    background-color: #fff;
    text-decoration: none !important;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 0px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    padding-top: 10px;
    padding-right: 18px;
    padding-left: 0px;
}
.yarpp-thumbnails-horizontal .yarpp-thumbnail-title {
    font-size: 1em;
    line-height: 1.4em;
    max-height: 4.0em;
    overflow: hidden;

}
.yarpp-thumbnail > img, .yarpp-thumbnail-default {
 margin: 0px; 
}
    #related_post li .title {
        font-size: 14px;
        line-height: 1.5;
        font-weight: 500;
        height: initial;
        height: auto;
        min-height: 3em;
        max-height: 4.5em;
    }
.yarpp-thumbnail-date {
        color: #999;
        line-height: 1;
        font-size: 10px;
}		
#post_meta_top.meta {
  font-size: 10px;
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #333; /* 文字色だけ少し濃く（調整可能） */
  background: none;
  border: none;
}

#post_meta_top.meta li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  background: none;
  border: none;
}
}