.field__items .text-block-content-wrapper:nth-child(2) .side-line{
    background: #FF6B5B;
}

.field__items .text-block-content-wrapper:first-child .side-line {
    background: #17B0A8;
}

.layout--twocol-section .text-block{
    display: flex;
    height: stretch;
}

.side-line {
    border-right: none;          /* open on the right, toward the text */
    border-radius: 10px 0 0 10px;
     width: 5px;
    min-width: 5px;
}

.field__items .text-block-content {
    height: 100%;
    background: #F4F7FA;
    width: 100%;
    padding: 2rem;
}

.field__items.text-block-container {
    display: flex;
    gap: 1rem;
}

.field__items.text-block-container .text-block-content-wrapper{
    flex: 0 1 50%;
}

.field__items .text-block-content-wrapper {
    display: flex;
}

.layout:has(.field__items.text-block-container) {
   position: relative;
  /* background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0),
    linear-gradient(120deg, #124e77 0%, #1c6ca3 55%, #0f7d71 130%); */
        background: var(--color-bg);
  background-size: 26px 26px, cover;
}

.layout:has(.field__items.text-block-container) > * { position: relative; }

/* ==========================================================================
   Responsive
   Side-by-side text blocks stack on tablets/phones. The colored side-line
   accents stay on the left of each block at every width — they're each
   block's identity mark, and the flex row (line + content) is already
   width-agnostic, so stacking is the only structural change needed.
   ========================================================================== */

/* Tablet: two 50% text columns get too narrow for comfortable reading
   (under ~45 characters per line) — stack them full-width. */
@media (max-width: 991px) {
    .field__items.text-block-container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .field__items.text-block-container .text-block-content-wrapper {
        flex: 1 1 auto;
        width: 100%;
    }

    .field__items .text-block-content {
        padding: 1.5rem;
    }
}

/* Phones: tighter padding; slightly slimmer accent to match scale */
@media (max-width: 767px) {
    .field__items .text-block-content {
        padding: 1.25rem 1rem;
    }

    .side-line {
        width: 4px;
        min-width: 4px;
    }
}

/* If the parent twocol section itself stacks (theme-dependent, usually
   ~768-992px), text-blocks inside each column may already be full width
   — the stacking above is still correct, just redundant. No conflict. */