/*Best in Singapore Table*/
.wp-block-table table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
    margin-bottom:30px;
    font-size:14px;
    line-height:1.5;
    word-break: break-word;
}

.wp-block-table table td {
    padding:20px;
}

.wp-block-table table td ul{
    padding-inline-start: 20px;
}

.wp-block-table table td ul li {
    font-size: 14px;
}

.wp-block-table table a {
    color: #9e243d;
}

.wp-block-table table tr:nth-child(odd) {background-color: #f2f2f2;}

.wp-block-table table thead tr:first-child {
    background-color: #9e243d;
    color: #ffffff;
}

.wp-block-table table thead tr:first-child th {
	padding: 20px;
	text-align:left;
}

.wp-block-table table td:first-child{
    font-weight: 500;
}

.category-best-in-singapore .wp-block-table table td:first-child{
    width: 30%;
}

/* Best in Singapore Recommend */
.category-best-in-singapore .best-recommend-form {
    display: block;
    padding: 0px 40px;
    max-width:650px;
    display:flex;
    margin: 40px 0;
    text-align: left;
}

.best-recommend-form .subject-editorial {
    font-size: 14px;
    line-height: 1.4;
    margin-top:0;
}

.best-recommend-form h2 {
    color: #9E243D;
    text-align: left;
    font-size: 22px;
    margin-bottom:10px;
}

.brf-1 {
    display: inline-block;
    width: 30%
    vertical-align: middle;
}

.brf-2 {
    display: inline-block;
    width: 70%;
    vertical-align: middle;
}

.entry-content .wp-block-quote {
    text-align: center!important;
    display: block;
    font-style: unset;
    padding: 30px 20px;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    margin: 10px 0;
}

#rank-math-faq p {
    font-size:14px;
}

.best-recommend-form input {
    border: 1px solid #cccccc!important;
}

.best-recommend-form button {
    background: #9E243D!important;
    font-size: 14px;
    text-transform: capitalize!important;
    padding: 10px 20px!important;
    margin: 10px 0;
    vertical-align: middle!important;
    border: 1px solid #9E243D!important;
    color: #ffffff;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

#jp-relatedposts h3.jp-relatedposts-headline em:before{
    display: none!important;
}

.wp-block-quote p{
    margin-bottom: 0!important;
}
.best-recommend-form button:hover {
    background: unset!important;
    color: #9E243D;
    border: 1px solid #9E243D;
}

/*Others*/

.vertical-image img{
    max-height: 600px;
}
.vertical-image video{
    max-height: 600px;
}

.singular-post .wp-video {
    width: auto !important;
}

/* Footer Author */
.entry-footer .single-author-block {
    font-size: 14px;
    line-height: 1.5;
    display: table;
    max-width: 650px;
    padding: 30px 20px;
}

.single_footer_avatar {
    display: table-cell;
    vertical-align: middle;
    min-width:50px;
}

.single_footer_avatar img {
   width:50px;
   height: 50px;
   border-radius: 50%;
}

.author_description_footer {
    display: table-cell;
    vertical-align: middle;
    padding: 0 20px;
}

/* Related Posts */
h3.jp-relatedposts-headline {
    font-size:15px !important;
}
.singular-post .related-posts {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
.singular-post .related-posts article {
    width: calc(25% - 10px);
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 0;
    vertical-align: top;
}
.singular-post .jp-relatedposts-post-title a {
    font-size:14px;
    color: #0a0a0a;
    line-height: 1.2;
    word-break: break-word;
    letter-spacing: 0.03em;
    text-decoration: none!important;
}

#jp-relatedposts .singular-post .jp-relatedposts-post a:hover .jp-relatedposts-post-a,
#jp-relatedposts .jp-relatedposts-post-a:hover {
    text-decoration: none!important;
}

/* Footer Categories */
h3.post-cat-list {
    font-size: 18px !important;
    margin: 30px 0 15px 0;
}

h4.jp-relatedposts-post-title {
    margin-top: 10px!important;
}

.post-categories a:hover {
    text-decoration: none;
}

.wp-socializer.wpsr-share-icons {
    margin-top: 20px;
}

/* Featured Posts */
h3.featured-articles {
    font-size: 18px;
    margin: 20px 0 30px 0;
}
.featured-post-single {
    display: flex;
    font-size: 14px;
    line-height: 1.4;
    flex-wrap: wrap;
}

.featured-post-img img {
    height: 200px;
    width: 350px;
    object-fit: cover;
}

.featured-post-single article {
    width: 33.33%;
}

ul.post-categories {
    padding-left:0px !important;
}

.featured-post-single h4 {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin:0 0 5px 0 !important;
    max-width:350px;
}

.featured-post-single h4 a {
    color: #333;
    font-weight: 400;
    font-size: 13px;
}

.featured-post-single .entry-author {
    font-size: 12px;
    color: #333;
}

.featured-post-single .entry-byline {
    margin: 0;
    background: none;
    padding: 0;
}

.featured-post-single .entry-author a {
    color: #333;
}

.featured-post-single .article-info {
    margin-bottom: 10px;
}
#jp-relatedposts h3.jp-relatedposts-headline em {
    font-size: 18px;
}


@media screen and (max-width: 768px){
    .wp-block-table table {
        font-size:11px;   
    }
    .wp-block-table table td ul li {
        font-size: 11px;
    }
    .featured-post-single article {
        width: 100%;
    }
    .singular-post p {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .singular-post .entry-content li {
        font-size:14px;
    }
    .wp-block-image, .wp-block-table, 
    figure, .wp-block-table table {
        margin-bottom: 20px;
    }
    .entry-byline {
        margin: 10px 0 0 0;
    }
    #jp-relatedposts .singular-post .jp-relatedposts-post-title a {
        font-size:12px;
    }
    .category-best-in-singapore .best-recommend-form {
        padding:10px;
        margin:0;
    }
    .brf-1 {
        display:none;
    }
    .singular-post .entry-content ol, .singular-post .entry-content ul {
        padding-left:20px;
    }

}
  