/*
 Theme Name:   Investment Child Theme
 Theme URI:    https://investment.ancorathemes.com
 Description:  Investment Child Theme
 Author:       AncoraThemes
 Author URI:   https://ancorathemes.com
 Template:     investment
 Version:      2.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  investment
*/

/* Base Elements */
p a {
    text-decoration: underline !important;
}

hr {
    margin: 30px 0 20px !important;
    border-color: #cfcfcf;
}

.hide {
    display: none;
}

/* Header */
.header-relative {
    position: relative;
}

.top_panel .logo_image {
    width: 100% !important;
    height: 60px !important;
}

.menu_mobile .sc_layouts_logo img {
    width: 100% !important;
    max-height: 55px !important;
}

.sc_layouts_featured.with_image.without_content {
    background-size: contain;
    background-position: left;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.65;
}

.beringer-icon-box svg {
    transform: rotate(-90deg);
}

.elementor-416 .elementor-element.elementor-element-68180a41 {
    border: none !important;
}

.elementor-element-674144c,
.elementor-element-1702a263,
.elementor-element-a3d356c,
.elementor-element-27cd1c4,
.elementor-element-b1da5ea {
    display: none !important;
}

/* Navigation & Menu */
.breadcrumbs {
    display: flex;
    align-items: center;
}

/* Footer */
.footer_wrap .sc_layouts_row_type_compact .sc_socials.sc_socials_default .socials_wrap .social_item .social_icon {
    border-radius: 50%;
}

.footer_wrap .sc_layouts_row_type_compact .sc_socials.sc_socials_default .socials_wrap .social_item .social_icon:hover,
.footer_wrap .sc_layouts_row_type_compact .sc_socials.sc_socials_default .socials_wrap .social_item .social_icon:focus {
    background-color: #ffffff;
}

.footer_wrap .elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {
    display: grid;
}

/* Search */
.search_field {
    box-shadow: none !important;
}

.search-results .sc_layouts_title_caption {
    display: block !important;
    margin-bottom: 30px;
}

.search_wrap.search_style_fullscreen.search_opened .search_field,
.sc_layouts_row_type_normal .sc_layouts_column .search_style_fullscreen.search_opened .search_field {
    padding: 12px;
    border: 0;
}

.search-results .post_meta_item.post_categories.cat_sep {
    display: none;
}

/* Buttons */
.sc_button,
.wpcf7-submit,
.elementor-widget-button .elementor-button,
.wpcf7 .wpcf7-submit-style .wpcf7-submit {
    background-color: #387a94 !important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: 14px !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;
    letter-spacing: var(--e-global-typography-accent-letter-spacing) !important;
}

.wpcf7 .wpcf7-submit-style .wpcf7-submit.wpcf7-submit {
    padding-right: 35px !important;
    padding-left: 35px !important;
}

.sc_button:hover,
.wpcf7-submit:hover,
.elementor-widget-button .elementor-button:hover,
.sc_button:focus,
.wpcf7-submit:focus,
.elementor-widget-button .elementor-button:focus {
    background-color: #2a5062 !important;
}

.button-link .elementor-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: transparent !important;
    font-size: 16px !important;
}

.button-link .elementor-button:hover,
.button-link .elementor-button:focus {
    background-color: transparent !important;
}

.button-link .elementor-button::after {
    content: '';
    display: block;
    width: 38px;
    height: 38px;
    background-image: url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 38 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='38' height='38' rx='19' fill='%23387A94'/%3E%3Cpath d='M29.5 18.4308L8.5 12.0635L19.25 19.1655L12.5 25.9365L29.5 18.4308Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.2s ease-in-out;
}

.button-link .elementor-button:hover::after {
    transform: translateX(5px);
}

.post_readmore {
    background-color: #387a94 !important;
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: 13px !important;
    font-weight: var(--e-global-typography-accent-font-weight) !important;
    text-transform: var(--e-global-typography-accent-text-transform) !important;
    letter-spacing: var(--e-global-typography-accent-letter-spacing) !important;
}

.post_readmore:hover,
.post_readmore:focus {
    background-color: #2a5062 !important;
}

.post_readmore_label.post_readmore_label {
    color: #ffffff !important;
}

/* Tables */
table th {
    background: transparent;
    border-bottom: 2px solid #929287;
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-f710d89-font-family), Sans-serif;
    font-size: 16px;
    font-weight: var(--e-global-typography-f710d89-font-weight) !important;
    text-transform: var(--e-global-typography-f710d89-text-transform);
    line-height: var(--e-global-typography-f710d89-line-height);
    letter-spacing: var(--e-global-typography-f710d89-letter-spacing);
}

tbody tr:nth-child(odd) td {
    background-color: #c2dae066 !important;
}

/* Counters */
.elementor-counter-number-wrapper {
    font-size: 160px;
}

/* Scroll to Top */
.scroll_to_top_style_default:before {
    top: 2px;
}

.trx_addons_scroll_to_top.trx_addons_scroll_to_top.trx_addons_scroll_to_top:focus {
    border: 2px solid #000000;
}

/* Archive Pages */
.post-type-archive-cpt_team .page_content_wrap,
.post-type-archive-cpt_portfolio .page_content_wrap {
    display: none;
}

.error404 .elementor-element-6ef17bb6 {
    display: none;
}

.sc_team_3d-simple .post_featured img,
.sc_team_3d-simple .post_featured:hover img,
.sc_team_3d-simple .post_featured:focus img,
.post_featured .trx_addons_secondary_image,
body.single div[class*="_page_featured"] > .trx_addons_secondary_image {
    will-change: opacity, transform;
}

@media (max-width: 479px) {
    .team-column-partners .trx_addons_columns_wrap:not(.columns_fluid) > [class*="trx_addons_column-"] {
        width: 50% !important;
    }

    .sc_team_item_header .sc_team_item_title a {
        font-size: 22px !important;
    }
}

/* Posts & Blog */
.post_header_wrap_style_style-5 .post_featured img {
    display: none;
}

.post_header_wrap.with_featured_image {
    display: none;
}

.post_layout_band .post_content + .post_meta {
    margin-top: 0 !important;
}

.post_layout_band .post_content + .post_meta:before {
    display: none;
}

.post-date,
.post_meta_item a,
.post_date a {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #76746f;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.post-title.post-title,
.entry-title.entry-title a {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 32px;
    line-height: 41px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #404040;
}

.recent-posts-teaser p,
.post-excerpt,
.post_content_inner {
    font-size: 16px;
    line-height: 31px;
    font-weight: 400;
    color: #404040;
}

/* Portfolio */
.portfolio_page_details_item_title {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-weight: 700;
    font-size: 16px;
}

.portfolio_page_details_item_value {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif !important;
    font-size: 16px;
    font-weight: 400;
}

.post_description_content {
    font-size: 16px;
}

.portfolio-taxonomy-badge {
    position: relative;
    background: var(--e-global-color-text);
    color: white;
    padding: 8px 16px;
    z-index: 100;
}

.portfolio_page_details_share {
    display: none;
}

.portfolio_page_title {
    display: none;
}

.sc_portfolio_preview_description .post_title a {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: var(--wp--preset--font-size--large);
    font-weight: var(--e-global-typography-primary-font-weight);
    text-transform: var(--e-global-typography-primary-text-transform);
    font-style: var(--e-global-typography-primary-font-style);
    text-decoration: var(--e-global-typography-primary-text-decoration);
    line-height: var(--e-global-typography-primary-line-height);
    letter-spacing: var(--e-global-typography-primary-letter-spacing);
}

.sc_portfolio_preview * {
    color: var(--e-global-color-text) !important;
}

.sc_portfolio_preview:before {
    background-color: #ffffff !important;
}

/* Investments */
.investments-group .sc_icons_qw-stylish .trx_addons_columns_wrap {
    border: 0;
    border-top: 1px solid var(--theme-color-bd_color);
    border-left: 1px solid var(--theme-color-bd_color);
}

.investments-group .sc_icons_qw-stylish .trx_addons_columns_wrap > [class*="trx_addons_column-"]:before {
    border: 1px solid var(--theme-color-bd_color);
}

.investments-group .sc_icons_qw-stylish .sc_icons_item {
    background-color: transparent;
}


.investments-group .link_icon,
.investments-group-two .link_icon,
.theme-portfolio {
    display: none !important;
}

.investments-group .sc_icons_item_description {
    display: none;
}

.investments-group .sc_icons_item_title.sc_icons_item_title,
.investments-group-two .sc_icons_item_title.sc_icons_item_title {
    padding: 5px 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--e-global-color-text);
    padding: 8px 16px;
    z-index: 100;
    color: white !important;
}

.investments-group .sc_icons_item_title.sc_icons_item_title a,
.investments-group .sc_icons_item_title.sc_icons_item_title span {
    font-family: var(--e-global-typography-f710d89-font-family), Sans-serif !important;
    font-size: 12px !important;
    font-weight: var(--e-global-typography-f710d89-font-weight) !important;
    text-transform: var(--e-global-typography-f710d89-text-transform) !important;
    line-height: var(--e-global-typography-f710d89-line-height) !important;
    letter-spacing: var(--e-global-typography-f710d89-letter-spacing) !important;
    color: white !important;
}

#invrestment-group-realized .trx_addons_column-1_3 {
    border-color: var(--theme-color-bd_color) !important;
    border: 1px solid;
    margin-top: -1px;
    margin-right: -1px;
}

#invrestment-group-realized .trx_addons_column-1_3:nth-child(1),
#invrestment-group-realized .trx_addons_column-1_3:nth-child(2),
#invrestment-group-realized .trx_addons_column-1_3:nth-child(3) {
    border-color: var(--theme-color-bd_color) !important;
    margin-top: 0;
}

#invrestment-group-realized_sc .sc_icons_columns_wrap {
    border: none;
}

.investment-featured-image {
    object-fit: contain;
    float: left;
    width: auto;
}

.sc_icons .sc_icons_image img {
    height: 150px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sc_icons_item:hover img {
    filter: grayscale(0%);
}

/* White Papers */
.white_papers .post_meta {
    order: 1 !important;
    margin-bottom: 1em;
}

.white_papers .post_header {
    order: 2 !important;
}

.white_papers .post_content {
    order: 3 !important;
}

/* Team */
.sc_team_item_socials {
    display: none;
}

.single-cpt_team.single-cpt_team .sidebar {
    background-color: #f9f6f0;
}

.single-cpt_team .sidebar_inner {
    padding: 2rem !important;
}

.single-cpt_team .sidebar.sidebar.sidebar {
    margin-top: 140px;
}

.sc_team_3d-simple .post_featured img,
.sc_team_3d-simple .post_featured:hover img,
.sc_team_3d-simple .post_featured:focus img {
    aspect-ratio: 570 / 696;
    object-fit: cover;
}

/* Cards */
.custom-cards .sc_icons_item.sc_icons_item {
    background-color: #f2f5f7;
    padding: 100px 40px 150px;
    border-radius: 5px;
}

.custom-cards .sc_icons_icon {
    margin-bottom: 20px;
    border-bottom: 1px solid #929287;
    padding-bottom: 20px;
}

.sc_icons_item.sc_icons_item h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.sc_icons_item.sc_icons_item .sc_icons_item_description {
    font-size: 16px;
    line-height: 1.95;
}


.slider_prev::before,
.slider_next::before {
    content: '' !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 38px;
    height: 38px;
    display: inline-block;
    transition: all 0.3s ease; /* Smooth transition */
}

.slider_prev::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Crect width='38' height='38' rx='19' fill='%23387A94'/%3E%3Cpath d='M29.5 18.4298L8.5 12.0625L19.25 19.1645L12.5 25.9355L29.5 18.4298Z' fill='white'/%3E%3C/svg%3E");
    transform: scaleX(-1); /* This flips it horizontally */
}

.slider_next::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Crect width='38' height='38' rx='19' fill='%23387A94'/%3E%3Cpath d='M29.5 18.4298L8.5 12.0625L19.25 19.1645L12.5 25.9355L29.5 18.4298Z' fill='white'/%3E%3C/svg%3E");
}

.slider_prev:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Crect width='38' height='38' rx='19' fill='%232A5062'/%3E%3Cpath d='M29.5 18.4298L8.5 12.0625L19.25 19.1645L12.5 25.9355L29.5 18.4298Z' fill='white'/%3E%3C/svg%3E");
}


.slider_next:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='38' height='38' viewBox='0 0 38 38' fill='none'%3E%3Crect width='38' height='38' rx='19' fill='%232A5062'/%3E%3Cpath d='M29.5 18.4298L8.5 12.0625L19.25 19.1645L12.5 25.9355L29.5 18.4298Z' fill='white'/%3E%3C/svg%3E");
}

/* Badge */
.badge-text {
    font-family: var(--e-global-typography-f710d89-font-family), Sans-serif;
    font-size: 14px;
    font-weight: var(--e-global-typography-f710d89-font-weight);
    text-transform: var(--e-global-typography-f710d89-text-transform);
    line-height: var(--e-global-typography-f710d89-line-height);
    letter-spacing: var(--e-global-typography-f710d89-letter-spacing);
}

/* Icons */
.sc_icons_divider2 .sc_icons_item_title {
    font-size: inherit !important;
}

/* Recent Posts Shortcode */
.post-link-overlay {
    text-decoration: none;
    color: inherit;
    display: block;
}

.recent-posts-teaser .post-link-overlay {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.recent-posts-teaser .post-item:last-child {
    margin-bottom: 0;
}

.recent-posts-teaser .post-image,
.recent-posts-teaser .post_featured {
    flex: 0 0 450px;
    height: 320px;
    width: 100%;
    overflow: hidden;
}

.recent-posts-teaser .post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-posts-teaser .post-image:hover img {
    transform: scale(1.05);
}

.recent-posts-teaser .post-content {
    flex: 1;
    padding-left: 20px;
}

.recent-posts-teaser .post-date,
.recent-posts-teaser .post_meta {
    margin-bottom: 15px;
}

.recent-posts-teaser .post-title {
    margin: 0 0 20px 0;
}

.recent-posts-teaser .post-title a {
    transition: color 0.3s ease;
}

.recent-posts-teaser .post-excerpt {
    margin: 0;
}

.recent-posts-teaser .video-wrapper {
    position: relative;
}

.recent-posts-teaser .video-poster-overlay {
    position: relative;
    display: block;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.recent-posts-teaser .video-poster-overlay img {
    width: 100%;
    height: auto;
    display: block;
}

.recent-posts-teaser .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 11;
    fill: #ffffff;
}

.recent-posts-teaser .video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.recent-posts-teaser .play-icon {
    width: 40px;
    height: 40px;
    fill: white;
}

.recent-posts-teaser .video-player {
    height: 100% !important;
    width: 100%;
}

.recent-posts-teaser .post-link-overlay.video-post {
    text-decoration: none;
    color: inherit;
}

/* Testimonial Shortcode */
.testimonial-shortcode-container {
    display: flex;
    align-items: center;
    position: relative;
    background-color: #2a5062;
    font-family: sans-serif;
    margin: 2em 0;
    overflow: hidden;
}

.testimonial-image {
    flex: 0 0 50%;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial-content-wrapper {
    flex: 1;
    background-color: #2a5062;
    color: #ffffff;
    padding: 4rem;
}

.testimonial-bio-link {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #ffffff !important;
    text-decoration: none;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    font-family: var(--e-global-typography-f710d89-font-family), Sans-serif !important;
    font-size: 16px !important;
    font-weight: var(--e-global-typography-f710d89-font-weight) !important;
    text-transform: var(--e-global-typography-f710d89-text-transform) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    transition: color 0.3s, border-color 0.3s;
}

.testimonial-bio-link:hover,
.testimonial-bio-link:focus {
    color: #dddddd !important;
    border-color: #dddddd;
}

.testimonial-quote-icon {
    line-height: 1;
    margin-bottom: 20px;
}

.testimonial-quote-icon svg {
    width: 108px;
    height: auto;
}

.testimonial-quote-text {
    border: none;
    padding: 0;
    margin: 0 0 40px 0;
    background-color: transparent !important;
    color: #ffffff !important;
}

.testimonial-quote-text.testimonial-quote-text.testimonial-quote-text.testimonial-quote-text p {
    color: #ffffff !important;
    font-family: var(--e-global-typography-e4c1c82-font-family), Sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 58px;
    margin: 0;
}

.testimonial-author-info {
    color: #ffffff !important;
}

.testimonial-author-name,
.testimonial-author-role {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.testimonial-author-name {
    text-transform: uppercase;
    color: #ffffff !important;
    font-family: var(--e-global-typography-e4c1c82-font-family), Sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: 0.5px;
}

.sc_testimonials .sc_testimonials_item_author_title {
    text-transform: uppercase;
    font-family: var(--e-global-typography-e4c1c82-font-family), Sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: 0.5px;
}

.testimonial-author-role {
    font-size: 18px;
    font-weight: 300;
    color: #ffffff;
    margin-top: 5px;
}

.sc_testimonials_item_author_subtitle {
    font-size: 18px;
    font-weight: 300;
    margin-top: 5px;
}

/* Media Queries */
@media screen and (min-width: 1056px) and (max-width: 1074px) {
    .elementor-widget-wrap .sc_layouts_column_align_right .sc_layouts_item:first-child:not(.elementor-widget-divider):not(.elementor-widget-spacer) {
        margin-left: 0 !important;
    }
}

@media (min-width: 1200px) {
    .custom-counter .elementor-counter-number-wrapper {
        font-size: 120px !important;
        line-height: 1 !important;
        margin-bottom: 20px;
    }

    .testimonial-content-wrapper {
        padding: 3rem;
    }

    .testimonial-quote-text.testimonial-quote-text.testimonial-quote-text.testimonial-quote-text p {
        font-size: 28px;
        line-height: 1.5;
    }

    .testimonial-author-name {
        font-size: 24px;
        line-height: 28px;
    }

    .testimonial-quote-icon svg {
        width: 50px;
    }
}

@media (min-width: 1600px) {
    .custom-counter .elementor-counter-number-wrapper {
        font-size: 160px !important;
        line-height: 1 !important;
        margin-bottom: 20px;
    }
}

@media (max-width: 1023px) {
    .single-cpt_team .sidebar.sidebar.sidebar {
        margin-top: 0;
        width: 100% !important;
    }

    .single-cpt_team .sidebar {
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
    }
}

@media (max-width: 900px) {
    .recent-posts-teaser .post-link-overlay {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .recent-posts-teaser .post-image {
        flex: none;
        width: 100%;
        height: 200px;
    }

    .recent-posts-teaser .post-content {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .sc_icons .sc_icons_image img {
        max-width: 300px;
        height: auto;
    }

    .portfolio-taxonomy-badge {
        margin: 0 auto 20px auto;
        display: inline-block;
        font-size: 12px;
        padding: 6px 12px;
    }

    .elementor-counter {
        align-items: flex-start;
    }

    .custom-cards .sc_icons_item.sc_icons_item {
        padding: 50px 40px 50px;
    }

    .testimonial-shortcode-container {
        flex-direction: column;
    }

    .testimonial-image {
        flex-basis: auto;
        width: 100%;
    }

    .testimonial-content-wrapper {
        padding: 2.5rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .testimonial-bio-link {
        top: 20px;
        right: 20px;
    }

    .testimonial-quote-text {
        margin-bottom: 30px;
    }

    .testimonial-quote-text p {
        font-size: 24px;
        line-height: 36px;
    }

    .testimonial-author-name {
        font-size: 20px;
        line-height: 24px;
    }

    .testimonial-author-role {
        font-size: 16px;
    }
}

@media (max-width: 640px) {
    .post_content_wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .recent-posts-teaser {
        padding: 15px;
    }
}
