/*
    Theme Name: Suzuran Theme    
*/


/* Blog */
.blog_wrap {
    padding: 20px 15px;
    margin: 60px auto;
    max-width: 1280px;
}

.main-blog-ct {
    background-color: #fff;    
    /* width: 68%;
    margin-right: 2%;
    float: left; */
}

.mgb-30 {
    margin-bottom: 30px;
}

.header-blog {
    position: relative;  
    font-weight: 700;
    color: rgba(0, 145, 124, 1);
    /* line-height: 140%;    */
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(0, 145, 124, 1);
    font-size: 30px;
    text-align: left;
    margin-top: 10px;
}

.header-blog:after {
    /* border-bottom: 3px solid #38393c; */
}

/* Blog Post Area */
.list-posts .post {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ADADAD;
/*==========   SET MIN-HEIGHT IF BLOG POST THUMBNAIL IMAGE EXIST  =============*/
   min-height: 180px;
}

.list-posts .post:last-child {
/*    margin-bottom: 0;*/
}

.list-posts .post a {
    display: flex;
    flex-wrap: wrap;
    color: #000;
}

/*
.list-posts .post a .img {
    width: 30%;
}

.list-posts .post a .img img {
    max-width: 100%;
    height: auto;
}
*/

/* Blog Post Thumbnail Photo */
.blog-photo {
    width: 25%;
    float: left;
/*    margin-right: 1%;*/
}

.blog-photo img {
    height: 150px;   
    width: 100%;
    object-fit: cover;
}

.list-posts .post a .info {
    width: 100%;
    padding-left: 15px;
/*    letter-spacing: 0;   */
}

.info {
    font-size: 16px;
    line-height: 160%;
}

.info div {
    line-height: 160%;
}

.info .info-title {
    font-weight: 700;
    font-size: 18px;
}

.info .date {
    font-size: 14px;
    font-weight: normal;
    padding: 5px 0;
}

.info .excerpt {
    font-weight: normal;
}

/* Side Widget Area */
h2.widgettitle {    
    font-size: 16px;
    color: rgba(0, 145, 124, 1);
    padding: 5px 5px 5px 15px;
    border-left: 4px solid rgba(0, 145, 124, 1); 
    text-align: left;   
    margin-top: 0;
    margin-bottom: 30px;
}

.sidebar {
    padding: 0 15px;
    /* margin-top: 0; */
    /* width: 30%;
    float: left; */
}

.sidebar-wrap {
/*    padding: 20px 10px 30px 10px;*/
    padding: 17px 10px 30px 10px;
    background-color: #fff;
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #adadad;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    position: relative;
    padding-left: 24px;
}

.sidebar ul li a {
    color: rgba(66, 62, 63, 1);
    font-weight: 400;
    text-decoration: none;
}

.sidebar ul li:first-child {
    padding-top: 0;
}

/* Single Blog Page */
.single img {
    max-width: 100%;
    height: auto;
}
.single-date {
    /* margin: 15px 0; */
    font-size: 18px;
    letter-spacing: 0;
    color: rgba(66, 62, 63, 1);    
}

.single-date img {
    margin-bottom: 5px;
    margin-right: 10px;
}

.single-date span {
    margin-right: 10px;
    padding: 5px 10px;
}

.single-ct {
    font-size: 16px;
    padding-bottom: 30px;
    letter-spacing: 0;    
}

.single-ct p {
    line-height: 160%;
}

.single-ct strong {
    font-weight: bolder;
}

/* calendar widget */
#wp-calendar {
    width: 100%;
}

#wp-calendar caption {
    text-align: right;
    color: #333;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 15px;
}

#wp-calendar thead {
    font-size: 10px;
}

#wp-calendar thead th {
    padding-bottom: 10px;
    font-size: 15px;
    padding-left: 10px;
}

#wp-calendar tbody {
    color: #aaa;
}

#wp-calendar tbody td {
    background: #f5f5f5;
    border: 1px solid #fff;
    text-align: center;
    padding: 8px;
}

#wp-calendar tbody td:hover {
    background: #fff;
}

#wp-calendar tbody .pad {
    background: none;
}

/*
#wp-calendar tbody td a {
    background: #38393c;
    color: #fff;
}
*/

#wp-calendar tfoot #next {
    font-size: 10px;
    text-transform: uppercase;
    text-align: right;
}

#wp-calendar tfoot #prev {
    font-size: 10px;
    text-transform: uppercase;
    padding-top: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.pagination .page-numbers {
    padding: 7px 15px;
}

.pagination .current {
    background-color: rgba(0, 145, 124, 1);
    color: #fff; 
}

.clear {
    clear: both;
}



.blog-wrapper2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 40px; 
    padding: 20px 0;
    box-sizing: border-box;
}

.blog-item2 {
    width: calc((100% - 1 * 40px) / 2); /* 2 items per row, 1 gaps */   
    box-sizing: border-box;
}

.blog-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-img2 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.blog-content {
    margin-top: 10px;    
    padding: 10px;
    background: rgba(0, 145, 124, 1);  
    color: #fff;
    position: relative;
    display: block;
    font-weight: 700;
}

.blog-content:hover {
    text-decoration: none;
    color: #fff;
}

.blog-date {
    display: inline-block;
    margin-right: 30px;
}

.blog-title {
    display: inline-block;    
}

.blog-title::after {
    content: '';
    background-image: url('images/arrow_circle_right2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;  /* Adjust size as needed */
    height: 20px; /* Adjust size as needed */
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.blog-name {
    margin-top: 10px;
    display: block;
    color: #000;
}

.blog-name:hover {
    color: #000;
    text-decoration: none;
}

.bg-blog-name {
    background: #fff;
}

/* Archive arrow styling */
.widget_archive ul {
    list-style: none;
    padding-left: 0;
}

.widget_archive li {
    margin-bottom: 8px;
    display: block;
}

.widget_archive li a {
    display: inline-block;
    color: #000;
    text-decoration: none;
}

.archive-arrow {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

/* Custom Recent Posts Widget Styles */
.custom-recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-recent-post-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.custom-recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumbnail {
    flex: 0 0 150px;
    margin-right: 15px;
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recent-post-content a {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.recent-post-category {
    font-size: 14px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
    background: rgba(0, 145, 124, 1);
    padding: 5px;
    width: fit-content;
}

.recent-post-content a {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 5px;
    text-decoration: none;
    color: rgba(66, 62, 63, 1);
    font-weight: 400;
}

.recent-post-content a:hover {
    color: #000;
}

.custom-recent-posts .post-date {
    font-size: 16px;
    color: rgba(66, 62, 63, 1);
    font-weight: 400;
}

.custom-recent-post-item {
    border-bottom: none!important;
    margin-bottom: 0!important;
} 

.sidebar-wrap-archive ul li::before {
    content: '';
    background-image: url('images/keyboard_arrow_right.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
}
.post-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

.widget_categories ul li.cat-item {
    border-bottom: 1px solid rgba(178, 178, 178, 1);
}
.widget_categories ul li.cat-item:last-child {
    border-bottom: none;
}
.widget_categories ul li.cat-item ul.children li {
    border-bottom: none;
    padding-left: 15px;
}
.widget_categories ul li.cat-item ul.children li::before {
    content: "- ";
}

.single-breadcrumbs {
    font-size: 18px;
    color: rgba(66, 62, 63, 1);
    font-weight: 400;
    margin-bottom: 10px;
}

.single-breadcrumbs a {
    color: rgba(0, 145, 124, 1);
}

.single-breadcrumbs a:hover {
    color: rgba(0, 145, 124, 1);
    text-decoration: none;
}

span.recent-post-category2 {
    font-size: 18px;
    color: rgba(66, 62, 63, 1);
    font-weight: 400;
}

.single-category img {
    margin-bottom: 5px;
    margin-right: 10px;
}

.single-image img {
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}


.useful-information-nav {
    margin-top: 80px;
    display: flex;
}

.useful-information-nav{
    margin-left: -10px;
    margin-right: -10px;
}
.useful-information-nav-item {
    width: 50%;
    color: #000;
    padding: 0 10px;
}

.useful-information-nav-item:hover {
    color: #000;
    text-decoration: none;
}

.useful-information-nav-item:first-child {
    border-right: 1px solid rgba(182, 182, 182, 1);
}

.useful-information-nav-item:last-child {
    margin-left: 40px;
}

.useful-information-nav-item:last-child p {
    text-align: right;
}

.useful-information-nav-item-prev {
    display: flex;
    gap: 10px;
}

.useful-information-nav-item-next {
    display: flex;
    gap: 10px;
}

.useful-information-nav-item-img {
    width: 130px;
    height: 100px;
}

.useful-information-nav-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.useful-information-nav-item-title {}

.useful-information-nav-item .arrow-prev:before {
    font-family: "FontAwesome";
    content: "\f104";
    color: rgba(0, 145, 124, 1);
    margin-right: 15px;
}

.useful-information-nav-item .arrow-next:before {
    font-family: "FontAwesome";
    content: "\f105";
    color: rgba(0, 145, 124, 1);
    margin-left: 15px;
}

.related-article {
    margin-top: 80px;
    border: 3px solid rgba(0, 145, 124, 1);
    position: relative;
    min-height: 130px;
}

.related-title {
    position: absolute;
    left: 40px;
    top: -40px;
}

.related-title h3 {
    color: rgba(0, 145, 124, 1);
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    background: #fff;
    padding: 0 10px;
}

.related-title h3 img {
    margin-right: 10px;
}

.related-article-item {
    position: absolute;
    left: 0;
    top: 50%;
}

.related-article-item a {
    font-size: 20px;
    color: #000;
    padding-left: 10px;
}

.related-article-item a:hover {
    color: #000;
    text-decoration: none;
}

.related-article-item ul li {
    list-style: none;
    position: relative;
}

.related-article-item ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 55%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background :rgba(0, 145, 124, 1);
    border-radius: 50%;
}

.post-content-body-title h2 {
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(0, 145, 124, 1);
    color: rgba(0, 145, 124, 1);
    font-size: 36px;
    font-weight: 500;
}

.post-content-body {
    margin-top: 80px;
}

.post-content-body-article {
    margin-top: 30px;
}

.post-content-body-article {

}

.author-wrapper {
    border: 1px solid rgba(0, 145, 124, 1);
    padding: 20px;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 80px;
}

.author-img {
    width: calc(35% - 20px);
}

.author-info {
    width: calc(65% - 20px);    
}

.author-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.author-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: rgba(0, 145, 124, 1);
    position: relative;   
    padding-right: 20px;
    white-space: nowrap;
    display: inline-block;    
}

.author-line {
    content: '';
    position: relative;
    left: 92px;
    top: -22px;
    width: 80%;
    height: 3px;
    background-color: rgba(0, 145, 124, 1);
}

/* .author-info h3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 3px;
    background-color: rgba(0, 145, 124, 1);
} */

.author-info h4 {
    font-size: 20px;
    font-weight: 500;
    color: rgba(24, 33, 56, 1);
}

.author-info p {
    font-size: 18px;
    color: rgba(24, 33, 56, 1);
}

.category-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.category-item {
    flex: 0 1 auto;
    min-width: 120px;
    border: 1px solid rgba(0, 145, 124, 1);
    border-radius: 5px;
}

.category-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(0, 145, 124, 1);
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.category-item a:hover {
    background-color: rgba(0, 145, 124, 0.1);
}

.category-item.active {
    background-color: rgba(0, 145, 124, 1);
    color: #fff;
}

.category-item.active a {
    color: #fff;
}

.category-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-item span {
    font-size: 20px;
    font-weight: 500;
}

.category-item.active img {
    filter: brightness(0) invert(1);
}

/* End Blog */

@media screen and (max-width:1024px) {
    .post-meta {
        flex-wrap: wrap;
    }
}


@media screen and (max-width:834px) {
    .blog_wrap {
        padding: 20px 40px;
    }
    
    .main-blog-ct {
        width: 60%;
    }
    
    .sidebar {
        width: 38%;
    }
}

@media screen and (max-width:768px) {
    
    h2.widgettitle {    
        font-size: 18px;
        font-weight: bold;   
    }
    
     .pagination { 
        float: left;        
        display: flex;
        justify-content: center;
        font-weight: bold;
    }

    .sidebar-wrap {
        padding: 24px 10px 30px 10px;
    }

    .category-wrapper {
        gap: 10px;
    }
    
    .category-item {
        min-width: 100px;
    }
    
    .category-item a {
        padding: 8px 12px;
    }
    
    .category-item img {
        width: 20px;
        height: 20px;
    }
    
    .category-item span {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .author-line {
        width: 62%;
    }
}


@media screen and (max-width: 767px) {
    .blog_wrap {
        padding: 20px 10px;
    }
    .main-blog-ct {
        margin-bottom: 60px;
        padding: 20px 10px 30px 10px;
        width: 100%;
        margin-right: 0;
    }
    .list-posts .post a .img {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }
    .list-posts .post a .info {
        width: 100%;
        padding-left: 0;
    }
    .sidebar {
        padding: 0;
        width: 100%;
    }    
    .blog-photo {
        margin-right: 0;
        width: 100%;
        float: none;
        margin-bottom: 20px
    }

    .list-posts .post {
        min-height: auto;
    }

    .sidebar ul {
        padding-left: 0;
    }

    .blog-item2 {
        width: 100%;
    }

    .author-img {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .author-info {
        width: 100%;    
    }

    .author-line {
        width: 72%;
    }

    .useful-information-nav-item-prev {
        flex-wrap: wrap;
    }

    .useful-information-nav-item-next {
        flex-wrap: wrap;
    }

    .useful-information-nav-item-next .useful-information-nav-item-title {
        order: 2;
    }

    .useful-information-nav-item-next .useful-information-nav-item-img {
        order: 1;
    }

    .useful-information-nav-item-img {
        width: 100%;
    }

    .useful-information-nav-item:last-child {
        margin-left: 10px;
    }
}

@media screen and (max-width: 376px) {
    .author-line {
        width: 68%;
    }

    .useful-information-nav {
        width: 95%;
    }
}


@media screen and (max-width: 321px) {
    .author-line {
        width: 60%;
    }
}