/*
Theme Name: Asoamazon
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Integreat Commerce
Author URI: https://integreatcommerce.com/
Description: Theme for AsoAmazon
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.1.50
Updated: 2025-03-11

*/
/* Styling for custom ACF fields in CAF plugin */
#manage-post-area {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    text-align: center;
}

.caf-post-title {
    order: -1;
    padding: 20px 0 0 0 !important;
}

.caf-content-read-more,
.caf-content {
    display: none !important;
    justify-content: unset;
}

a.caf-read-more{
    background-color: #3FA9F5 !important;
    color: #fff !important;
    border: none !important;
    padding: 5px 10px !important;
}

.data-target-div1 .caf-post-layout1 .caf-post-title h2,
.data-target-div1 .caf-post-layout1 .caf-post-title h2 a
.data-target-div1 .caf-post-layout1 .caf-post-title h2 a:hover {
    color: #151515 !important;
}

.caf-custom-fields-container {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* order: 1; */
}

.caf-custom-fields-container > div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.caf-custom-fields-container .dashicons {
    font-size: 20px;
    width: 25px;
    height: 25px;
    margin-right: 8px;
    color: #555;
}

.caf-custom-fields-container a {
    display: flex;
    align-items: center;
    color: #555;
    text-decoration: none;
}

.caf-custom-fields-container a:hover {
    text-decoration: underline;
}

/* Specific styles for each section */
.caf-social-media a, .caf-website a, .caf-phone a {
    color: #555;
}

.caf-social-media a:hover, .caf-social-media:hover .dashicons, 
.caf-website a:hover, .caf-website:hover .dashicons,
.caf-phone a:hover, .caf-phone:hover .dashicons {
    color: #3FA9F5;
}

.caf-profile {
    color: #555;
}

/* Ensure Dashicons are loaded */
@font-face {
    font-family: 'dashicons';
    src: url('/wp-includes/fonts/dashicons.eot');
    src: url('/wp-includes/fonts/dashicons.eot?#iefix') format('embedded-opentype'),
         url('/wp-includes/fonts/dashicons.woff') format('woff'),
         url('/wp-includes/fonts/dashicons.ttf') format('truetype'),
         url('/wp-includes/fonts/dashicons.svg#dashicons') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Single Convenios Template Styles */
.convenio-single {
    margin: 0 auto;
}

.convenio-header {
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.convenio-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.convenio-content-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .convenio-content-wrap {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .convenio-content {
        margin: 0;
    }
}

.convenio-featured-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 6px;
    margin: 0 auto;
}

.convenio-content {
    line-height: 1.6;
    margin: 10px 0;
}

.convenio-meta {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.convenio-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.convenio-details > div {
    display: flex;
    align-items: center;
}

.convenio-details .dashicons {
    font-size: 22px;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    color: #3FA9F5;
}

.convenio-details a {
    display: flex;
    align-items: center;
    color: #555;
    text-decoration: none;
}

.convenio-details a:hover {
    text-decoration: underline;
    color: #3FA9F5;
}

.convenio-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.convenio-terms-label {
    font-weight: bold;
    margin-right: 5px;
}

.convenio-terms a {
    color: #3FA9F5;
    text-decoration: none;
}

.convenio-terms a:hover {
    text-decoration: underline;
}


/* Header Image styling */
.convenio-header {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 30px;
    background: url('https://asoamazon.kinsta.cloud/wp-content/uploads/2023/11/Op-1-Header-2-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (min-width: 768px) {
    .convenio-header {
        height: 400px;
    }
}

.convenio-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
}

.convenio-header-title {
    color: #fff;
    font-size: 32px;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .convenio-header-title {
        font-size: 42px;
    }
}


/* Breadcrumbs styling */
.convenio-breadcrumbs {
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb-container {
    text-align: center;
    margin: 0 auto;
    padding: 0 15px;
}

#breadcrumbs {
    margin: 0;
    font-size: 14px;
    color: #666;
}

#breadcrumbs a {
    color: #333;
    text-decoration: none;
}

#breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumb-current {
    color: #999;
}