/*
Theme Name: Genchi
Author: Sara Tech
Description: Genchi is Japanese Flower shop website with a clean design.
Version: 1.1.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: genchi
License: GNU General Public License v3.0 or later
License URI: https://www.gnu.org/licenses/gpl-3.0-standalone.html
Tags: blog, e-commerce, flower-shop, flexible-header, left-sidebar, right-sidebar, custom-background, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, theme-options, threaded-comments, translation-ready, accessibility-ready
*/

/* -------------------------------------- *
*           Default WP CSS                *
* --------------------------------------- */
html {
    width: 100%;
    height: 100%;
    font-family: 'Hina Mincho', serif;
}

body.single-post #main {
    padding-top: 70px;
    font-family: 'Hina Mincho', serif;
}

a {
    text-decoration: none;
    font-family: 'Hina Mincho', serif;
}

li>ul,
li>ol {
    padding-left: 20px;
    line-height: 30px;
}

#content[tabindex="-1"]:focus {
    outline: 0;
}

.genchi-pagination .screen-reader-text {
    display: none;
}

.gallery-caption {
    font-size: 12px;
}

.bypostauthor {
    font-size: 12px;
}

/* -------------------------------------- *
*           Wordpress Core                *
* --------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

h2.bordered {
    position: relative;
    z-index: 1;
}

h2.bordered span {
    background: #fff;
    padding: 0 25px;
}

h2.bordered:before {
    border-top: 1px solid #dfdfdf;
    content: "";
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}

#loginform {
    width: 400px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 4px;
    padding: 40px 30px 20px;
    border: 1px solid #e7e7e7;
}

.post-meta-info-list-in a {
    color: #5a5a5a;
    border-radius: 4px;
    padding: 4px 15px;
    margin-right: 5px;
    border: 2px solid #e7e7e7;
    transition: 400ms;
}

.post-meta-info-list-in a:hover {
    color: #fff;
}

.post-meta-info-list-in {
    margin: 40px 0 20px;
}

.tab-rewards-wrapper {
    margin-bottom: 30px;
}

button#search-submit {
    background: #1be173;
    padding: 9px 20px;
    border: none;
    color: #fff;
    border-radius: 3px;
}

.form-field-content input {
    width: 47%;
    border: none;
    margin-bottom: 20px;
    padding: 10px;
    float: left;
    margin: 0 10px 14px;
    border: 1px solid #e7e7e7;
}

.form-field-content textarea {
    width: 94%;
    border: none;
    margin-bottom: 20px;
    padding: 10px;
    float: left;
    margin: 0 10px 14px;
    border: 1px solid #e7e7e7;
}


/* Search Page */
.search-no-results .genchi-error-wrapper {
    margin-top: 5px;
}

.search-page-title {
    margin-bottom: 40px;
}


.post-comment-area .comment-form .submit {
    outline: none;
    background: #000000;
    border-color: #000000;
    margin-top: 23px;
    cursor: pointer;
}

.post-comment-area .comment-form .submit:hover {
    outline: none;
    background: #6eb846;
    border-color: #6eb846;
}

.post-comment-area .comment-form-comment textarea,
.comment-form-author input[type=text],
.comment-form-email input[type=email],
.comment-form-url input[type=url] {
    resize: none;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, .15);
    padding: 10px;
    width: 100%;
    font-size: 14px;
    border-radius: 3px;
}

.post-comment-area .comment-form p {
    margin-bottom: 20px;
}


.post-comment-area .comment-form-comment textarea:focus,
.comment-form-author input[type=text]:focus,
.comment-form-email input[type=email]:focus,
.comment-form-url input[type=url]:focus {
    background: transparent;
    border: 1px solid #6eb846;
    outline: none;
}

.comment-body .comment-content {
    margin: 30px 0;
}

.comment-form-comment label {
    font-weight: 500;
    margin-top: 10px;
}

.leave-comment .comments-title {
    font-size: 22px;
    position: relative;
    border-bottom: 2px solid #f6f4ee;
}

.leave-comment .comments-title:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 50px;
    background-color: #6eb846;
    border-color: #6eb846;
}

.comment-body .comment-author.vcard a {
    color: #3a3a3a;
    font-size: 18px;
    text-transform: capitalize;
    margin-right: 0;
    display: inherit;
    line-height: 28px;
}

.comment-author .comment-metadata a.comment-edit-link {
    font-size: 15px;
}

.blog-post-content .meta a {
    font-size: 14px;
}

.blog-post-content .meta i {
    color: #666;
    margin-right: 8px;
    display: inline-block;
}

.blog-post-content {
    margin-top: 4px;
    font-size: 16px;
}

.single .blog-post-content {
    margin-top: 30px;
    font-size: 16px;
}

.sidebar .widget a {
    color: #000000;
    font-size: 15px;
    margin-bottom: 12px;
    display: block;
    text-decoration: underline;
}

.sidebar .widget a:hover {
    text-decoration: none;
}

.comment-list .comment-metadata .comment-reply a {
    font-size: 15px;
    text-align: right;
    margin-top: -28px;
}

/* DD */
input[type=checkbox]+label {
    cursor: pointer;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]+label:before {
    content: "\2714";
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, .15);
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    color: transparent;
    transition: .2s;
    text-align: center;
    padding: 0;
}

input[type=checkbox]+label:active:before {
    transform: scale(0);
}

input[type=checkbox]:checked+label:before {
    background-color: #6eb846;
    border-color: #6eb846;
    color: #fff;
}

input[type=checkbox]:disabled+label:before {
    transform: scale(1);
    border-color: #aaa;
}

input[type=checkbox]:checked:disabled+label:before {
    transform: scale(1);
    background-color: #bfb;
    border-color: #bfb;
}

.comment-body .comment-author.vcard a time {
    font-size: 15px;
}

.comment-list .comment-metadata .comment-reply a.comment-reply-link:hover,
.comments-area h3 small a:hover {
    color: #6eb846;
}

/* Comments */
.comments-area {
    margin: 10px 0;
}

.comments-area h3 {
    margin: 30px 0 0px 0;
    font-size: 24px;
}

.comment-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    text-indent: 0;
}

.comment-list li.comment {
    border-bottom: 1px solid #ddd;
    padding: 0;
    margin-bottom: 20px;
    list-style: none;
}

.comment-list li.comment ol.children li {
    padding: 20px;
}

.comment-list li.comment ol.children li .comment-body .comment-content {
    margin: 26px 0 0;
}

.comment-list li div.vcard {
    font-size: 20px;
}

.comment-list li div.vcard cite.fn {
    font-style: normal;
}

.comment-list li div.vcard img.avatar {
    float: left;
    margin: 0 1em 1em 0;
}

.comment-list li div.comment-meta {
    font-size: 9px;
    margin-bottom: 10px;
}

.comment-list li div.comment-meta a {
    color: #aaa;
}

.comment-list li p {
    margin: 0;
    font-size: 15px;
}

.comment-list li ul {
    list-style: square;
    margin: 0 0 1em 2em;
}

.comment-list li div.reply {
    font-size: 11px;
}

.comment-list li div.reply a {
    font-weight: bold;
}

.comment-list li ul.children {
    list-style: none;
    margin: 1em 0 0;
    text-indent: 0;
}

.comment-list li ul.children li.depth-2 {
    margin: 0 0 .25em .25em;
}

.comment-list li ul.children li.depth-3 {
    margin: 0 0 .25em .25em;
}

.comment-list li ul.children li.depth-4 {
    margin: 0 0 .25em .25em;
}

.comment-list li.even {
    background: #fff;
}

.comment-list li.odd {
    background: #f6f6f6;
    padding: 20px;
}

.comment-list li.odd .comment-body .comment-content {
    margin: 24px 0 24px;
}

.comment-list li.comment ol.children {
    margin-left: 62px;
}

.comment-list li.comment ol.children ol.children li {
    margin: 0;
}

.comment-list li.comment ol.children ol.children {
    margin-left: 30px;
    margin-top: 24px;
}

.comments-area h3 small a {
    font-size: 16px;
    text-align: right;
    width: 100%;
    margin-left: 20px;
}

.comments-area .comment-list li.comment ol.children ol.children h3 {
    margin: 32px 0 24px 0;
    font-size: 22px;
}

.comment-list li.pingback {
    margin: 0 0 10px;
    padding: 1em;
    border: 1px dashed #ccc;
}

.wp-block-cover.has-background-dim.alignwide {
    margin-bottom: 10px;
}

.blog-post-content p {
    line-height: normal;
}

.has-text-align-center {
    text-align: left;
}

.sp_search_input input.search-submit {
    position: absolute;
    top: 2px;
    right: 2px;
    padding: 13px 30px;
    border: none;
    font-size: 16px;
    font-weight: 500;
}

.sp_search_input input.search-submit:focus {
    text-decoration: underline 1px dotted #fff;
}

.blog-post-content a {
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-post-content a:hover,
.blog-post-content a:focus {
    text-decoration: none;
    outline-offset: 2px;
}

/* Accessibility improvements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    outline-offset: 2px;
}

button#genchi-navmenu {
    position: relative;
    z-index: 99;
}

.genchi-navmenu-button-open::before,
.genchi-navmenu-button-open::after {
    content: "";
    left: 0;
}

.genchi-navmenu-button-open,
.genchi-navmenu-button-open::before,
.genchi-navmenu-button-open::after {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    right: 8px;
}

.genchi-navmenu-button-close::before {
    -webkit-transform: translateY(-8px) rotate(45deg);
    transform: translateY(-8px) rotate(45deg);
}

.genchi-navmenu-button-close::after {
    -webkit-transform: translateY(8px) rotate(-45deg);
    transform: translateY(8px) rotate(-45deg);
}

.genchi-navmenu-button-close {
    background: transparent;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.genchi-navmenu-button-open::after {
    bottom: 8px;
}

.genchi-navmenu-button-open::before {
    top: 8px;
}

.mobile-register button.navbar-toggle {
    width: 40px;
}

.genchi-search-wrap .form-control {
    background: transparent;
    padding: 15px 4px;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    height: auto;
}

.widget_search .screen-reader-text {
    display: none;
}

.widget_search input[type=search] {
    -webkit-appearance: none;
    padding: 8px 12px;
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #464a4c;
    background-color: #fff;
    background-image: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .25rem;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}

.widget_search input[type="submit"] {
    display: none;
}

.widget_search label {
    width: 100%;
}


.topmenu ul li:first-child,
.topmenu ul li:last-child {
    position: relative;
}

.topmenu ul li:first-child:before {
    content: "";
    position: absolute;
    background-image: url('../assets/images/message.png');
    width: 20px;
    height: 14px;
    background-repeat: no-repeat;
    background-position: top;
    right: 82px;
    top: 12px;
}

.topmenu ul li:last-child:before {
    content: "";
    position: absolute;
    background-image: url('../assets/images/map.png');
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: top;
    left: 0;
    top: 0px;
}

.genchi-history li.history-item .genchi-bg {
    background-image: url('../assets/images/history-icons.png');
}


/* Paginations */
.genchi-pagination ul.page-numbers {
    text-align: center;
}








.breadcrumb {
        background-color: transparent;
    text-align: left;
    color: #000;
    padding: 20px 0;
    margin: 0;
}
.breadcrumb a {
    color: #fff;
}
.breadcrumb ul {
    padding: 0;
    margin: 0;
}
.breadcrumb ul li {
    display: inline-block;
}
.breadcrumb span.raquo {
    font-size: 21px;
    padding: 6px;
}
.subtitle-cover h2.page-leading {
        font-size: 46px;
    line-height: normal;
    width: 70%;
    color: #fff;
}
.subtitle-cover {
    padding: 200px 0 80px;
}
.subtitle-cover .breadcrumb ul li{
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #d2d1d1;
}
.subtitle-cover .breadcrumb ul li.active {
    color: #ffc953;
    font-weight: 900;
}

/* -------------------------------------- *
*           Blog 4-Column Layout          *
* --------------------------------------- */
.blog-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(118, 75, 162, 0.3), transparent);
}

.blog-header-section {
    margin-bottom: 60px;
    position: relative;
}

.blog-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0px;
    font-family: 'Hina Mincho', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.blog-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #764ba2, #f5a623);
    border-radius: 2px;
}

.blog-subtitle {
    font-size: 1.2rem;
    color: #000000c2;
    line-height: 1.8;
    margin-top: 30px;
    font-weight: 300;
    font-family: 'Hina Mincho', serif;
}

.blog-grid-container {
    position: relative;
    z-index: 1;
}

.blog-grid {
    margin: 0 -15px;
}

.blog-post-item-col {
    padding: 0 15px;
    margin-bottom: 40px;
}

.blog-post-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(118, 75, 162, 0.2);
}

.blog-post-card:hover::before {
    opacity: 1;
}

.blog-post-card .single-post {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-card .post-thumbnail {
    overflow: hidden;
    position: relative;
}

.blog-post-card .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.08);
}

.blog-post-card .blog-post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-post-card .title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #2c3e50;
    font-family: 'Hina Mincho', serif;
    transition: color 0.3s ease;
}

.blog-post-card .title:hover {
    color: #764ba2;
}

.blog-post-card .blog-post-meta {
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.blog-post-card .blog-post-meta li {
    margin: 0;
    font-size: 0.9rem;
    color: #95a5a6;
    display: flex;
    align-items: center;
}

.blog-post-card .blog-post-meta .meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-card .blog-post-meta .meta i {
    color: #764ba2;
    font-size: 0.85rem;
}

.blog-post-card .blog-post-meta .meta a {
    color: #95a5a6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post-card .blog-post-meta .meta a:hover {
    color: #764ba2;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .blog-main-title {
        font-size: 2.8rem;
    }

    .blog-post-item-col {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .blog-post-card .post-thumbnail {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-header-section {
        margin-bottom: 40px;
    }

    .blog-main-title {
        font-size: 2.4rem;
    }

    .blog-subtitle {
        font-size: 1.1rem;
    }

    .blog-post-item-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .blog-post-card .post-thumbnail {
        height: 220px;
    }

    .blog-post-card .blog-post-content {
        padding: 20px;
    }

    .blog-post-card .title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .blog-main-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .blog-subtitle {
        font-size: 1rem;
    }

    .blog-post-card .blog-post-meta {
        gap: 12px;
    }

    .blog-post-card .blog-post-meta li {
        font-size: 0.85rem;
    }
}
