/* TBS Helper — Feature List widget */

.tbs_helper_feature_list.tbs_helper_feature_list {
    width: 100%;
    overflow: hidden;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "content media";
    align-items: center;
    gap: 64px;
    max-width: var(--tbs-container-max);
    margin-inline: auto;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner--image-left {
    grid-template-areas: "media content";
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner--no-image {
    grid-template-columns: 1fr;
    grid-template-areas: "content";
}

.tbs_helper_feature_list__content {
    position: relative;
    grid-area: content;
}

.tbs_helper_feature_list__media {
    position: relative;
    grid-area: media;
}

/* Decorative watermark word sits behind everything in the content column;
   the actual text elements get position+z-index below so they always read
   on top of it regardless of DOM order. */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__watermark {
    position: absolute;
    top: -0.35em;
    left: -0.05em;
    z-index: 0;
    font-family: var(--tbs-font-heading);
    font-weight: 800;
    font-size: 96px;
    line-height: 1;
    color: rgba(184, 147, 90, 0.16);
    text-transform: capitalize;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__eyebrow,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__title,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__divider,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__desc,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items {
    position: relative;
    z-index: 1;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin: 0 0 14px;
    font-family: var(--tbs-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tbs-gold-dark);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__title {
    margin: 0 0 18px;
    font-family: var(--tbs-font-heading);
    font-weight: 800;
    font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--tbs-navy-900);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__divider_line {
    display: block;
    inline-size: 40px;
    block-size: 3px;
    border-radius: 2px;
    background-color: var(--tbs-blue);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__divider_dot {
    display: block;
    inline-size: 6px;
    block-size: 6px;
    border-radius: 50%;
    background-color: var(--tbs-gold);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__desc {
    margin: 0 0 32px;
    font-family: var(--tbs-font-body);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--tbs-body);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item_title {
    margin: 0 0 4px;
    font-family: var(--tbs-font-heading);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--tbs-navy-900);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item_desc {
    margin: 0;
    font-family: var(--tbs-font-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--tbs-body);
}

/* ── Item style: Connected Rail (default) ──
   No boxes. A single hairline spine runs down the left edge; each item's
   number sits in its own fixed-width column so titles all line up, and the
   number brightens + the row nudges right on hover — a quiet, editorial
   alternative to a boxed card list. */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--rail {
    --tbs-rail-number-width: 56px;
    position: relative;
    padding-left: 4px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--rail::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 4px;
    inline-size: 2px;
    background-color: var(--tbs-border-strong);
    z-index: 0;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--rail {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 4px 24px 28px;
    transition: transform 0.25s var(--tbs-ease);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--rail:hover {
    transform: translateX(6px);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__rail_number {
    flex: none;
    min-width: var(--tbs-rail-number-width, 56px);
    font-family: var(--tbs-font-heading);
    font-weight: 800;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    line-height: 1.15;
    color: #C9D2D8;
    transition: color 0.25s var(--tbs-ease);
}

/* ── Item style: Boxed Cards ── */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--card {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    overflow: hidden;
    background-color: var(--tbs-white);
    border: 1px solid var(--tbs-border);
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 10px 24px -18px rgba(11, 31, 42, 0.18);
    transition: transform 0.25s var(--tbs-ease), box-shadow 0.25s var(--tbs-ease), border-color 0.25s var(--tbs-ease);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -18px rgba(11, 31, 42, 0.24);
    border-color: var(--tbs-border-strong);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__number {
    position: absolute;
    top: -12px;
    right: 22px;
    z-index: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: rgba(11, 31, 42, 0.08);
    pointer-events: none;
    user-select: none;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__badge,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__icon,
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item_text {
    position: relative;
    z-index: 1;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 40px;
    block-size: 40px;
    border-radius: 10px;
    background-color: var(--tbs-blue);
    color: var(--tbs-white);
    font-family: var(--tbs-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__icon {
    flex: none;
    inline-size: 40px;
    block-size: 40px;
    object-fit: contain;
}

/* ── Item style: Icon Row ──
   Icon-led rows (soft tinted circle, icon or fallback number inside) with a
   hairline divider between rows — a checklist/benefits feel rather than a
   numbered rail or a boxed card. */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--icon-row {
    display: flex;
    flex-direction: column;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--tbs-border);
    transition: background-color 0.2s var(--tbs-ease);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row:first-child {
    padding-top: 4px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row:last-child {
    border-bottom: 0;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row:hover {
    background-color: #F9FAFB;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__icon_row_icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 52px;
    block-size: 52px;
    border-radius: 50%;
    background-color: #F3E9D8;
    color: #9C7A45;
    font-family: var(--tbs-font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__icon_row_icon .tbs_helper_feature_list__icon {
    inline-size: 24px;
    block-size: 24px;
}

/* ── Item style: Compact Grid ──
   Icon/badge stacked above title+description, arranged in a grid. Stays a
   single column whenever a side image is present (the content column is
   too narrow there for two to read well); only opens to two columns when
   there's no image AND the viewport is wide enough — see media query. */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

@media (min-width: 640px) {
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner--no-image .tbs_helper_feature_list__items--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Item style: Minimal Underline ──
   Title + a short colored underline + description — no icon, no number,
   no box. Pure whitespace and a single accent line per item. */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__items--minimal {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--minimal .tbs_helper_feature_list__item_title {
    margin-bottom: 10px;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--minimal .tbs_helper_feature_list__item_desc {
    max-width: 60ch;
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__minimal_underline {
    display: block;
    inline-size: 32px;
    block-size: 3px;
    border-radius: 2px;
    margin-bottom: 12px;
    background-color: var(--tbs-gold);
}

/* ── Image + backdrop panel ── */
.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__media_backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 20px;
    background-color: #F3E9D8;
    transform: translate(18px, 18px);
}

.tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--card,
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--rail,
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row {
        transition: none;
    }
}

@media (max-width: 767px) {
    /* grid-template-columns/areas have no competing Elementor control, so
       this is safe; the column gap itself is handled by the "Column Gap"
       responsive control's own mobile default instead of being fought over
       here (Elementor's per-breakpoint control CSS and a plain stylesheet
       rule can end up at equal specificity, and the control should win). */
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner,
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__inner--image-left {
        grid-template-columns: 1fr;
        grid-template-areas: "content" "media";
    }
}

@media (max-width: 480px) {
    /* Only properties with no competing Elementor control are adjusted
       here — sizes the user can already tune per-breakpoint (rail number
       width, number size, gaps, icon size, ...) get their mobile defaults
       from each control's own `mobile_default` instead, so there's no risk
       of this stylesheet and Elementor's generated CSS fighting over the
       same property at equal specificity. */
    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__number {
        right: 14px;
        top: -8px;
    }

    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--rail {
        gap: 14px;
        padding-left: 20px;
    }

    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__item--icon-row {
        gap: 14px;
        padding: 16px 4px;
    }

    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__minimal_underline {
        margin-bottom: 8px;
    }

    .tbs_helper_feature_list.tbs_helper_feature_list .tbs_helper_feature_list__media_backdrop.tbs_helper_feature_list__media_backdrop {
        transform: translate(10px, 10px);
    }
}
