/* Tec Elementor - structural CSS for interactive components.
   Uses only classes (survives the CMS purifier). Loaded on the live page and,
   in "all open" form, inside the editor canvas. */

/* ---------------- Accordion ---------------- */
.tec-accordion { border: 1px solid #e2e4e9; border-radius: 6px; overflow: hidden; }
.tec-accordion .tec-acc-item + .tec-acc-item { border-top: 1px solid #e2e4e9; }
.tec-accordion .tec-acc-header {
    margin: 0;
    padding: 14px 40px 14px 16px;
    position: relative;
    cursor: pointer;
    font-weight: 600;
    background: #f8f9fb;
    user-select: none;
}
.tec-accordion .tec-acc-header::after {
    content: '+';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    line-height: 1;
    color: #888;
}
.tec-accordion .tec-acc-item.is-open .tec-acc-header::after { content: '\2212'; } /* minus */
.tec-accordion .tec-acc-body {
    padding: 0 16px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s ease;
}
.tec-accordion .tec-acc-item.is-open .tec-acc-body {
    padding: 14px 16px;
    max-height: 1000px;
}

/* ---------------- Tabs ---------------- */
.tec-tabs .tec-tabs-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e2e4e9;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}
.tec-tabs .tec-tab-link {
    padding: 10px 18px;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: #555;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.tec-tabs .tec-tab-link.is-active { color: #1f2533; border-bottom-color: #f7b500; }
.tec-tabs .tec-tab-pane { display: none; padding: 18px 4px; }
.tec-tabs .tec-tab-pane.is-active { display: block; }

/* ---------------- Block layouts ----------------
   The builder blocks use Bootstrap class names (row, col-md-4, card, badge…), but many
   themes have no Bootstrap, so those blocks looked right only inside the editor. These
   are just enough of those rules for the blocks, limited to builder content (and the
   editor canvas). :where() keeps them at zero specificity, so a theme that styles the
   same classes (or ships Bootstrap) always wins. */
:where(.tec-elementor-content, .tec-el-canvas) :where(.container) { width: 100%; max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: 12px; padding-right: 12px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.row) { display: flex; flex-wrap: wrap; margin-left: -12px; margin-right: -12px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.row > *) { flex-shrink: 0; width: 100%; max-width: 100%; padding-left: 12px; padding-right: 12px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.row.g-2) { margin-left: -4px; margin-right: -4px; row-gap: 8px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.row.g-2 > *) { padding-left: 4px; padding-right: 4px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.col) { flex: 1 0 0%; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.col-4) { flex: 0 0 auto; width: 33.3333%; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.col-6) { flex: 0 0 auto; width: 50%; }
@media (min-width: 768px) {
    :where(.tec-elementor-content, .tec-el-canvas) :where(.col-md-3) { flex: 0 0 auto; width: 25%; }
    :where(.tec-elementor-content, .tec-el-canvas) :where(.col-md-4) { flex: 0 0 auto; width: 33.3333%; }
    :where(.tec-elementor-content, .tec-el-canvas) :where(.col-md-6) { flex: 0 0 auto; width: 50%; }
    :where(.tec-elementor-content, .tec-el-canvas) :where(.col-md-8) { flex: 0 0 auto; width: 66.6667%; }
}
:where(.tec-elementor-content, .tec-el-canvas) :where(.justify-content-center) { justify-content: center; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.align-items-center) { align-items: center; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.img-fluid) { max-width: 100%; height: auto; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.w-100) { width: 100%; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.mb-3) { margin-bottom: 1rem; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.text-dark) { color: #212529; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.card) { display: flex; flex-direction: column; min-width: 0; height: 100%; background: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 8px; overflow: hidden; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.card-img-top) { width: 100%; display: block; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.card-body) { flex: 1 1 auto; padding: 16px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.card-title) { margin-top: 0; margin-bottom: 8px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.card-text:last-child) { margin-bottom: 0; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.badge) { display: inline-block; padding: .35em .65em; font-size: .75em; font-weight: 700; line-height: 1; color: #fff; background: #6c757d; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.bg-primary) { background-color: #0d6efd; color: #fff; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.bg-success) { background-color: #198754; color: #fff; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.bg-warning) { background-color: #ffc107; color: #212529; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.bg-danger) { background-color: #dc3545; color: #fff; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.alert) { position: relative; padding: 14px 16px; margin-bottom: 1rem; border: 1px solid transparent; border-radius: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.alert-info) { color: #055160; background: #cff4fc; border-color: #b6effb; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.table) { width: 100%; margin-bottom: 1rem; border-collapse: collapse; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.table th, .table td) { padding: 8px; border-bottom: 1px solid #dee2e6; text-align: left; vertical-align: top; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.table-striped > tbody > tr:nth-of-type(odd) > *) { background: rgba(0,0,0,.04); }

:where(.tec-elementor-content, .tec-el-canvas) :where(.progress) { display: flex; height: 1rem; overflow: hidden; font-size: .75rem; background: #e9ecef; border-radius: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.progress-bar) { display: flex; flex-direction: column; justify-content: center; overflow: hidden; color: #fff; text-align: center; white-space: nowrap; background: #0d6efd; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.form-label) { display: inline-block; margin-bottom: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.form-control, .form-select) { display: block; width: 100%; padding: 8px 12px; font: inherit; line-height: 1.5; color: inherit; background: #fff; border: 1px solid #ced4da; border-radius: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.form-check) { display: block; min-height: 1.5rem; margin-bottom: 4px; }

:where(.tec-elementor-content, .tec-el-canvas) :where(.btn) { display: inline-block; padding: 8px 16px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; vertical-align: middle; cursor: pointer; border: 1px solid transparent; border-radius: 6px; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-lg) { padding: 12px 24px; font-size: 1.15rem; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-primary) { color: #fff; background: #0d6efd; border-color: #0d6efd; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-warning) { color: #212529; background: #ffc107; border-color: #ffc107; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-light) { color: #212529; background: #f8f9fa; border-color: #f8f9fa; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-outline-primary) { color: #0d6efd; border-color: #0d6efd; background: transparent; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-outline-secondary) { color: #6c757d; border-color: #6c757d; background: transparent; }
:where(.tec-elementor-content, .tec-el-canvas) :where(.btn-group) { display: inline-flex; gap: 0; }
