/*!
Theme Name: Yankee Child
Theme URI: https://wp.webtend.net/yankee/
Author: WebTend
Author URI: https://www.templatemonster.com/authors/webtend/
Description: Yankee is clean, modern and professional Creative Digital Agency WordPress Theme. It is a clean, modern and simple theme that was built for designers, photographers, fashion agencies, freelancers.
Template: yankee
Version: 1.5.2
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: yankee-child
Tags: custom-logo, custom-colors, custom-menu, editor-style, featured-images, footer-widgets, block-patterns, sticky-post, threaded-comments, translation-ready
*/

body.single-post,
body.blog,
body.archive {
    background-color: #f5f5f5;
}

body.single-post footer,
body.blog footer,
body.archive footer {
    background-color: #fff;
}

body.archive .portfolio-category-archive {
    background-color: #fff;
}

body.archive .portfolio-category-archive .site-content-wrapper {
    display: block;
}

body.archive .portfolio-category-archive .content-area {
    display: block;
    max-width: 100%;
    width: 100%;
}

body.archive .portfolio-category-archive .yankee-portfolio-widgets {
    padding: 0 15px;
}

body.archive .portfolio-category-archive .yankee-portfolio-widgets,
body.archive .portfolio-category-archive .portfolio-filter {
    width: 100%;
}

@media (max-width: 991px) {
    body.archive .portfolio-category-archive .portfolio-filter .grid-sizer,
    body.archive .portfolio-category-archive .portfolio-filter .grid-item {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }
}

/* Custom widget */
.widget {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 28px;
    padding: 27px 30px;
    border: 0;
}

.widget img {
    width: 100%;
}

.widget.widget_block.widget_search .wp-block-search__label {
    position: relative;
    text-transform: uppercase;
    display: unset!important;
    letter-spacing: 1px;
    font-size: inherit;
    font-family: Rajdhani, sans-serif;
    font-size: 20px;
    font-weight: normal;
}

.widget.widget_block.widget_search .wp-block-search__label::after {
    content: "";
    position: absolute;
    display: block;
    width: 7px;
    height: 7px;
    bottom: 6px;
    right: -13px;
    border-radius: 10px;
    background-color: #ffaa17;
}

.widget .wp-block-search__inside-wrapper {
    position: relative;
    margin-top: 12px;
}

.widget .wp-block-search__inside-wrapper .wp-block-search__input {
    width: 100%;
    height: 44px;
    border: 1px solid #ddd!important;
    background-color: #fff;
}

.widget.widget_block.widget_search .wp-block-search__button {
    position: absolute;
    height: 44px;
    width: 44px;
    min-width: unset;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.widget.widget_block.widget_search .wp-block-search__button:hover {
    background-color: transparent;
}

.widget.widget_block.widget_search .wp-block-search__button::before {
    content: "\f002";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome";
    font-size: 14px;
    color: #000;
    font-weight: normal;
    transition: 0.5s all ease;
}

.widget.widget_block.widget_search .wp-block-search__button:hover::before {
    color: #ffaa17;
}

.widget.widget_block h1,
.widget.widget_block h2,
.widget.widget_block h3,
.widget.widget_block h4,
.widget.widget_block h5,
.widget.widget_block h6,
.widget .widget-title {
    font-weight: normal;
    padding-left: 0;
    display: inline-block;
    margin-bottom: 16px;
}

.widget.widget_block h1::before,
.widget.widget_block h2::before,
.widget.widget_block h3::before,
.widget.widget_block h4::before,
.widget.widget_block h5::before,
.widget.widget_block h6::before,
.widget .widget-title::before {
    display: none;
}

.widget.widget_block h1::after,
.widget.widget_block h2::after,
.widget.widget_block h3::after,
.widget.widget_block h4::after,
.widget.widget_block h5::after,
.widget.widget_block h6::after,
.widget .widget-title::after {
    content: "";
    position: absolute;
    display: block;
    width: 7px;
    height: 7px;
    bottom: 2px;
    top: unset;
    left: unset;
    right: -14px;
    border-radius: 10px;
    background-color: #ffaa17;
}

/* Widget Categories */
.widget.widget_block .wp-block-archives li a,
.widget.widget_block .wp-block-categories li a,
.widget.widget_categories li a,
.widget.widget_archive li a,
.widget.yankee-service-list li a {
    background-color: transparent;
    color: #333;
    padding: 0;
    font-weight: normal;
    text-transform: none;
    font-size: 16px;
}

.widget.widget_block .wp-block-archives li a:hover,
.widget.widget_block .wp-block-categories li a:hover,
.widget.widget_categories li a:hover,
.widget.widget_archive li a:hover,
.widget.yankee-service-list li a:hover {
	color: #ffaa17;
	background-color: transparent;
}

.widget.widget_categories li ul.children {
    border-left: 2px solid #ffaa17;
    position: relative;
}

.widget.widget_block .wp-block-archives li a .posts-count,
.widget.widget_block .wp-block-categories li a .posts-count,
.widget.widget_categories li a .posts-count,
.widget.widget_archive li a .posts-count,
.widget.yankee-service-list li a .posts-count {
    position: absolute;
    background-color: transparent;
    right: 0;
    color: #333;
    padding: 0;
    width: auto;
    height: auto;
    line-height: 1;
    font-weight: normal;
    font-size: 16px;
}


.widget.widget_block .wp-block-archives li a:hover .posts-count,
.widget.widget_block .wp-block-categories li a:hover .posts-count,
.widget.widget_categories li a:hover .posts-count,
.widget.widget_archive li a:hover .posts-count,
.widget.yankee-service-list li a:hover .posts-count {
	background-color: transparent;
}

/* Latest posts */
.widget.widget_block .wp-block-latest-posts li a,
.widget.widget_pages li a,
.widget.widget_meta li a,
.widget.widget_nav_menu li a,
.widget.widget_recent_entries li a {
    font-weight: normal;
    font-size: 16px;
    color: #333;
    font-family: Rajdhani, sans-serif;
}

.widget.widget_block .wp-block-latest-posts li a:hover,
.widget.widget_pages li a:hover,
.widget.widget_meta li a:hover,
.widget.widget_nav_menu li a:hover,
.widget.widget_recent_entries li a:hover {
	padding-left: 0;
}

.widget.widget_custom_html video {
    width: 100%;
}

/* Latest posts */
.custom-latest-posts {
    margin-top: 4px;
}

.custom-latest-posts .post-item {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

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

.custom-latest-posts .post-item .post-thumb {
    flex: 100px;
    min-width: 100px;
}

.custom-latest-posts .post-item .post-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.custom-latest-posts .post-item .title-date {
    width: calc(100% - 116px);
}

.custom-latest-posts .post-item .title-date a {
    font-size: 12px;
    line-height: 1.6em;
    height: 3em;
    overflow: hidden;
    color: #1a1a1a;
    transition: 0.5s all ease;
}

.custom-latest-posts .post-item .title-date a:hover {
    color: #ffaa17;
}

.custom-latest-posts .post-item .title-date span.date {
    font-size: 12px;
    color: #999;
    display: block;
}

/* Tags */
.widget.widget_tag_cloud .tagcloud a {
    background-color: #fff;
    border: 1px solid #ddd;
    transition: 0.5s all ease;
    text-transform: capitalize;
    font-size: 14px!important;
    font-weight: normal;
    padding: 4px 14px;
}

.widget.widget_tag_cloud .tagcloud a:hover {
    background-color: #ffaa17;
    border-color: #ffaa17;
}

/* List page */
body.search .content-area,
body.archive .content-area,
body.blog .content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-content: flex-start;
}

body.search .content-area .post,
body.archive .content-area .post,
body.blog .content-area .post {
    flex: 0 0 calc(50% - 15px);
    box-sizing: border-box;
    margin-bottom: 0;
}

body.search .entry-single-post .entry-summary,
body.archive .entry-single-post .entry-summary,
body.blog .entry-single-post .entry-summary {
    padding: 20px;
    border: 0;
}

body.search .entry-single-post .entry-summary .post-categories,
body.archive .entry-single-post .entry-summary .post-categories,
body.blog .entry-single-post .entry-summary .post-categories {
    margin-bottom: 10px;
}

body.search .entry-single-post .entry-summary .post-categories a,
body.archive .entry-single-post .entry-summary .post-categories a,
body.blog .entry-single-post .entry-summary .post-categories a {
    background-color: transparent;
    color: #ffaa17;
    padding: 0;
}

body.search .entry-single-post .entry-summary .entry-title,
body.archive .entry-single-post .entry-summary .entry-title,
body.blog .entry-single-post .entry-summary .entry-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
}

body.search .entry-single-post .entry-summary,
body.categort .entry-single-post .entry-summary,
body.blog .entry-single-post .entry-summary {
    font-size: 14px;
}

body.search .summary-footer,
body.archive .summary-footer,
body.blog .summary-footer {
    margin-top: 16px;
    justify-content: normal;
    font-size: 12px;
}

body.search .summary-footer a,
body.archive .summary-footer a,
body.blog .summary-footer a {
    font-size: 12px;
    line-height: 0;
    color: #ffaa17;
    font-weight: 600;
}

body.search .summary-footer a:first-child,
body.archive .summary-footer a:first-child,
body.blog .summary-footer a:first-child {
    text-transform: capitalize;
    margin-top: 2px;
}

body.search .summary-footer a:last-child,
body.archive .summary-footer a:last-child,
body.blog .summary-footer a:last-child {
    color: #999999;
    font-weight: normal;
}

body.search .summary-footer img,
body.archive .summary-footer img,
body.blog .summary-footer img {
    width: 30px;
    height: 30px;
}

body.search .summary-footer span,
body.archive .summary-footer span,
body.blog .summary-footer span {
    /* margin-left: 16px; */
    margin-left: 0;
    padding-left: 0;
    color: #999999;
}

/* Pagination */
.page-pagination,
.woocommerce-pagination {
    margin: 0 auto;
    width: 100%;
}

.page-pagination .page-numbers,
.woocommerce-pagination .page-numbers {
    height: 40px;
    width: 40px;
    line-height: 39px;
    border: 1px solid #ededed;
    margin: 0 7px;
}

/* Single post */
body.single-post .entry-single-post.post-details .post-content-area {
    background-color: #fff;
    border: 0;
    padding: 30px;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}

/* Latest posts */
.entry-single-post.post-details .related-post .single-related-post .desc {
    padding: 10px 16px;
}

.entry-single-post.post-details .related-post .single-related-post .desc span.date {
    font-size: 12px;
}

.entry-single-post.post-details .related-post .single-related-post .desc h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.entry-single-post.post-details .related-post .single-related-post .desc p {
    font-size: 12px;
    margin-bottom: 0;
}

/* Author box */
.entry-single-post.post-details .author-info-box {
    padding: 0;
    border: 0;
}

/* Comment */
.comments-area form {
    padding: 30px 20px;
}

.comments-area form .form-submit input#submit {
    height: 42px;
    line-height: 45px;
    padding: 0 30px;
}

.banner-text .banner-title span {
    -webkit-text-stroke: 2px #c6ae78!important;
}

.yankee-heading .title span {
    -webkit-text-stroke: 2px #fea918!important;
}

.portfolio-items .portfolio-item .portfolio-thumb .thumb {
    background-color: #fff!important;
    background-size: contain!important;
}

.header-nav .nav-container .menu-items li .sub-menu {
    min-width: 200px;
    width: auto!important;
}

.header-nav .nav-container .menu-items li .sub-menu li {
    white-space: nowrap;
}

.accordion-item ul,
.accordion-item ol {
    list-style: disc!important;
    list-style-position: inside!important;
}

.accordion-item ol {
    list-style: decimal!important;
    list-style-position: inside!important;
}

.accordion-item ul span,
.accordion-item ul i,
.accordion-item ul a,
.accordion-item ol span,
.accordion-item ol i,
.accordion-item ol a {
    display: inline;
}

.entry-single-post.post-details .entry-content ul span,
.entry-single-post.post-details .entry-content ul i,
.entry-single-post.post-details .entry-content ul a,
.entry-single-post.post-details .entry-content ol span,
.entry-single-post.post-details .entry-content ol i,
.entry-single-post.post-details .entry-content ol a {
    display: inline;
}

.yankee-team-members .team-member .social-links {
    list-style: none!important;
}

.yankee-team-members .team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    object-position: center;
}

/* News shortcode */
.bvp-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 44px;
    width: 100%;
}

.bvp-news-item {
    min-width: 0;
}

.bvp-news-content {
    min-width: 0;
}

.bvp-news-item a {
    transition: 0.3s all ease;
}

.bvp-news-thumb {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    /* background-color: #f3f3f3; */
}

.bvp-news-thumb img {
    display: block;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.bvp-news-item-featured .bvp-news-thumb {
    aspect-ratio: 1.55 / 1;
    margin-bottom: 28px;
}

.bvp-news-category {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffaa17;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    text-transform: capitalize;
}

.bvp-news-category:hover {
    color: #333;
}

.bvp-news-title {
    margin: 0;
    color: #333333;
    font-family: Rajdhani, sans-serif;
    font-weight: 600;
    letter-spacing: 0;
}

.bvp-news-title a {
    color: inherit;
}

.bvp-news-title a:hover {
    color: #ffaa17;
}

.bvp-news-item-featured .bvp-news-title {
    font-size: 24px;
    line-height: 1.42;
}

.bvp-news-excerpt {
    margin: 14px 0 0;
    color: #6f6f6f;
    font-size: 15px;
    line-height: 1.7;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bvp-news-date {
    display: inline-block;
    margin-top: 10px;
    color: #999;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

.bvp-news-date span {
    color: inherit;
}

.bvp-news-date:hover {
    color: #ffaa17;
}

.bvp-news-item-compact {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.bvp-news-item-compact .bvp-news-content {
    align-self: start;
}

.bvp-news-item-compact .bvp-news-thumb {
    aspect-ratio: 1 / 1;
}

.bvp-news-item-compact .bvp-news-content:first-child {
    grid-column: 1 / -1;
}

.bvp-news-item-compact .bvp-news-category {
    display: block;
    line-height: 1;
    padding-top: 0;
    margin-top: -2px;
    margin-bottom: 8px;
    color: #ffaa17;
    font-size: 12px;
}

.bvp-news-item-compact .bvp-news-title {
    font-size: 19px;
    line-height: 1.35;
}

.bvp-news-item-compact .bvp-news-excerpt {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
}

.bvp-news-item-compact .bvp-news-date {
    margin-top: 6px;
    font-size: 12px;
}

@media (max-width: 1199px) {
    .bvp-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 28px;
        row-gap: 36px;
    }

    .bvp-news-item-featured .bvp-news-title {
        font-size: 22px;
    }

    .bvp-news-item-compact {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
    }

    .bvp-news-item-compact .bvp-news-title {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .bvp-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 34px;
    }

    .bvp-news-item:first-child {
        grid-column: 1 / -1;
    }

    .bvp-news-item-compact:nth-of-type(n+8) {
        display: none;
    }
}

@media (max-width: 767px) {
    .bvp-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 32px;
    }

    .bvp-news-item-featured .bvp-news-thumb {
        margin-bottom: 18px;
    }

    .bvp-news-item-featured .bvp-news-title {
        font-size: 22px;
    }

    .bvp-news-item-featured .bvp-news-excerpt {
        -webkit-line-clamp: 2;
    }

    .bvp-news-item-compact {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 14px;
    }
}

@media (max-width: 580px) {
    .bvp-news-grid {
        grid-template-columns: 1fr;
    }

    .bvp-news-item,
    .bvp-news-item:first-child {
        grid-column: 1 / -1;
    }
}

/* Portfolio */
.portfolio-detail {
    display: flex;
    gap: 30px;
}

.portfolio-detail .company-info,
.portfolio-detail .transaction-type {
    flex: 50%;
}

.portfolio-detail .transaction-type ul {
    width: 100%;
    margin-bottom: 50px;
}

.portfolio-detail .transaction-type ul li {
    width: 100%;
    padding: 14px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.portfolio-detail .transaction-type ul li:last-child {
    border-bottom: 0;
}

.portfolio-detail .transaction-type ul li span {
    width: 200px;
    display: inline-block;
}

.portfolio-detail .transaction-type a.btn {
    background-color: #ffaa17;
    color: #1d2122;
    padding: 10px 20px;
    border-radius: 0;
}

.portfolio-detail .transaction-type a.btn i {
    margin-left: 10px;
}

/* Responsive */
@media(max-width: 980px) {
    .portfolio-detail {
        display: block;
    }

    .portfolio-detail .company-info,
    .portfolio-detail .transaction-type {
        width: 100%;
    }

    .portfolio-detail .transaction-type {
        margin-top: 60px;
    }
}

@media(max-width: 768px) {
    body.blog .content-area .post {
        flex: 100%;
    }
}