/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* Estado normal ToC */
.toc-nav .elementor-icon-list-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.3s ease;
}

/* Estado activo */
.toc-nav .elementor-icon-list-item.toc-active {
    border-left: 3px solid #0077B5;
}

.toc-nav .toc-active .elementor-icon-list-text {
    color: #015E8F;
    font-weight: 600;
}


/* ================================
   DATA TABLE ROWS
   Used in: platform review sections
================================ */


/* Grouped values inside a data row */
.data-row_values {
    width: auto !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
   
}

.cta3-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(100%);  /* oculto abajo */
    transition: transform 0.3s ease;
}

.cta3-banner.cta3-visible {
    transform: translateY(0);  /* visible */
}


/* ================================
   VIDEO EMBED - Responsive wrapper
   Used in: repeater video sections
   Maintains 16:9 on all screen sizes
================================ */
.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
}
.video-responsive iframe,
.video-responsive .elementor-widget-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
.video-responsive .jet-listing-dynamic-field__content,
.video-responsive .jet-listing-dynamic-field__inline-wrap,
.video-responsive .jet-listing.jet-listing-dynamic-field,
.video-responsive .container-youtube {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.elementor-1661 .elementor-element-b8fae56 .jet-listing-grid__slider-icon svg path {
  fill: #123A5A !important;
}
/* ================================
   KPI BAR - Scroll indicator arrow
   Mobile only
================================ */

/* ================================
   KPI BAR - Horizontal scroll carousel
   Mobile only
================================ */

@media (max-width: 767px) {

    .kpi-scroll {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .kpi-scroll::-webkit-scrollbar {
        display: none;
    }

    .kpi-scroll .elementor-container {
        flex-wrap: nowrap !important;
        width: max-content;
    }
  .kpi-card {
        width: 200px !important;
        min-width: 200px !important;
        flex-shrink: 0 !important;
    }

  
    /* Scroll indicator arrow */
    .kpi-scroll-wrap {
        position: relative;
    }

  .kpi-scroll-wrap::after {
        content: '›';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
        color: var(--e-global-color-primary);
        background: linear-gradient(to right, transparent, white 60%);
        padding: 8px 12px 8px 24px;
        pointer-events: none;
        z-index: 10;
}
}

    /* Local breadcrumb color variables */
    .breadcrumb-light {
        --breadcrumb-link-color: #FFFFFF;
        --breadcrumb-link-hover: #E7B008;
        --breadcrumb-current-color: #E2E8F0;
    }
    
    /* Breadcrumb links (previous pages) */
    .breadcrumb-light .rank-math-breadcrumb a {
        color: var(--breadcrumb-link-color);
    }
    
    /* Breadcrumb links hover */
    .breadcrumb-light .rank-math-breadcrumb a:hover {
        color: var(--breadcrumb-link-hover);
    }
    
    /* Current page text + separators */
    .breadcrumb-light .rank-math-breadcrumb .last,
    .breadcrumb-light .rank-math-breadcrumb .separator {
        color: var(--breadcrumb-current-color);
    }




/* ============================================================
   BACK TO TOP
   Used in: Footer
   ------------------------------------------------------------
   Scope: Only affects the button inside .back-to-top-wrapper
   ============================================================ */

.back-to-top-wrapper {
    --btt-size: 40px;
    --btt-bg: rgba(100, 100, 100, 0.4);
    --btt-bg-hover: rgba(100, 100, 100, 0.7);
    --btt-border: #123A5A;
    --btt-arrow-color: #ffffff;
    --btt-transition: 0.3s ease;
    --btt-offset: 30px;
}

/* Button base */
.back-to-top-wrapper #back-to-top {
    position: fixed;
    bottom: var(--btt-offset);
    right: var(--btt-offset);
    width: var(--btt-size);
    height: var(--btt-size);
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--btt-bg);
    border-radius: 50%;
    border: solid 2px var(--btt-border);
    z-index: 99999;
    cursor: pointer;
    transition: opacity var(--btt-transition),
                transform var(--btt-transition),
                background var(--btt-transition);
    opacity: 0;
    transform: translateY(10px);
}

/* Arrow */
.back-to-top-wrapper #back-to-top::before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    border-left: 4px solid var(--btt-arrow-color);
    border-bottom: 4px solid var(--btt-arrow-color);
    transform: rotate(135deg);
    margin-bottom: -3px;
}

/* Hover */
.back-to-top-wrapper #back-to-top:hover {
    background: var(--btt-bg-hover);
}

/* Visible state */
.back-to-top-wrapper #back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}



/* Icon Box */
.iconbox-scope .elementor-icon-box-description,
.iconbox-scope .elementor-widget-container .elementor-icon-box-description {
    text-align: left;
}


/* ============================================================
   LEGAL PAGES — INVANTAPPS
   Usage: Add "inv-legal-content" to the CSS Classes field
   of the Text Editor widget (Advanced tab → CSS Classes).
   ============================================================ */


/* Reading width — keeps line length comfortable */
.inv-legal-content {
    max-width: 780px;
    margin: 0 auto;
}

/* Body text */
.inv-legal-content p,
.inv-legal-content li {
    font-size: 16px;
    line-height: 1.75;
    color: #3B4A57;
}

/* Headings */
.inv-legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #123A5A;
    margin-top: 44px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E8EDF2;
}

.inv-legal-content h2:first-child {
    margin-top: 0;
}

/* Lists */
.inv-legal-content ul {
    padding-left: 22px;
    margin-bottom: 18px;
}

.inv-legal-content li {
    margin-bottom: 9px;
}

/* Inline elements */
.inv-legal-content strong {
    color: #123A5A;
}

.inv-legal-content a {
    color: #0077B5;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inv-legal-content a:hover {
    color: #123A5A;
}

.inv-legal-content hr {
    border: none;
    border-top: 1px solid #E8EDF2;
    margin: 44px 0 20px;
}

/* ============================================================
   LEGAL TABLES — Used on: Privacy Policy, Cookies Policy
   ============================================================ */

.inv-legal-content .inv-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 22px 0 28px;
    font-size: 15px;
}

.inv-legal-content .inv-legal-table th {
    background: #123A5A;
    color: #fff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
}

.inv-legal-content .inv-legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #E8EDF2;
    vertical-align: top;
    color: #3B4A57;
}

.inv-legal-content .inv-legal-table tr:nth-child(even) td {
    background: #F7F9FB;
}

/* Mobile — horizontal scroll instead of breaking layout */
@media (max-width: 640px) {
    .inv-legal-content .inv-legal-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Last updated label */
.inv-legal-content .inv-last-updated {
    font-size: 14px;
    color: #8494A1;
    font-style: italic;
}


/* ============================================================
   Heading and subtitle width
   Used in: some Heading and subtitle
   ============================================================ */


.v-heading,
.v-heading *,
.v-subtitle,
.v-subtitle * {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}



/* ============================================================
   STICKY TABLE HEADER
   Keeps the header visible while scrolling long dynamic tables.
   Add the class "inv-table-sticky" to the Dynamic Table widget.
   Used in: Dynamic Table - Archive Platform
   ============================================================ */

.inv-table-sticky .jet-dynamic-table-wrapper {
  max-height: 600px;
  overflow-y: auto;
}

.inv-table-sticky thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  /* Solid background is required: without it, rows would show
     through the header while scrolling. */
  background: #123A5A;
  color: #FFFFFF;
}

/* Rounded top corners on the table header.
   Radius must go on the corner cells, not on thead/tr —
   table sections don't render border-radius. */
.inv-table-sticky thead th:first-child {
  border-top-left-radius: 12px;
}

.inv-table-sticky thead th:last-child {
  border-top-right-radius: 12px;
}

/* ============================================
    --HEADER--
    Used in: header
    Sticky Header Transformation/Frosted Glass Effect
============================================ */


.effect-header {
    background-color: #FFFFFF !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease !important;
}


.effect-header.elementor-sticky--active {
    background-color: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08) !important;
}


.effect-header.elementor-sticky--active,
.effect-header.elementor-sticky--active * {
    color: #0077b5 !important;
}




/* ============================================================
   BONUS BUTTON COMPARISON PLATFORM
   ============================================================ */
.cartera-table td a,
.cartera-table td a:visited {
  color: #123A5A  !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
  transition: color 0.15s ease !important;
}

.cartera-table td a:hover {
  color: #0077B5  !important;
  text-decoration: underline !important;
}



/* ============================================================
   BONUS BUTTON LIST BONUS
   ============================================================ */
.bonus-col-name {
  flex-shrink: 0;
  flex-grow: 0;
}

.bonus-col-desc {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
}

.bonus-col-btn {
  flex-shrink: 0;
  margin-left: auto;
}

/* Minimum width for the logo column in the Platforms comparison table */
.jet-dynamic-table__col--plataforma {
  min-width: 180px;
}



/* Fix: The "Registrate" button overlaps with "Ver Review".  - tarjetas Plataformas Destacadas */
.elementor-element-181d425 {
  flex-wrap: wrap !important;
}
.elementor-element-181d425 > .elementor-element {
  width: auto !important;
  flex: 0 0 auto !important;
}

.elementor-element-4f845c7 .jet-listing-dynamic-link__link {
  white-space: nowrap !important;
}
.elementor-element-4f845c7 {
  flex-wrap: wrap !important;
}


/* ============================================================
   NATIVE BUTTON BLOCK (Gutenberg)
    Does NOT affect Elementor's own Button widget.
   ============================================================ */

/* Primary (Fill) — conversion CTA, e.g. affiliate links */
.wp-block-button__link {
  background-color: #E7B008 !important;
  color: #123A5A !important;
  border-radius: 8px;
  padding: 8px 24px !important;
  font-weight: 800 !important;
  font-size: 16px;
  text-decoration: none;
}

.wp-block-button__link:hover {
  background-color: #D4A104 !important;
  color: #123A5A !important;
}

/* Secondary */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: #0077B5 !important;
  color: #ffffff !important;
  border: 1px solid #123A5A;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #015e8f !important;
  color: #ffffff !important;
 
}