/* S04 3-step guide (#work): image accordion 40615cb. Owner: S04. Only what Elementor controls cannot do. */
/* The widget rounds and clips the whole item, so the caption's first glyph was cut by the bottom-left corner.
   Keep the 16px radius on the photo (item-inner) and let the caption row sit outside the clip. */
body.page-id-5703 #work .trx-addons-image-accordion-item{border-radius:0!important;overflow:visible!important}
body.page-id-5703 #work .trx-addons-image-accordion-item-inner{border-radius:16px;overflow:hidden}
body.page-id-5703 #work .trx-addons-image-accordion-below-content{overflow:hidden}
/* Equal lines: collapsed steps never get so narrow that their title or description wraps (1 line each). */
body.page-id-5703 #work .trx-addons-image-accordion-item{min-width:250px}
body.page-id-5703 #work .trx-addons-image-accordion-title,
body.page-id-5703 #work .trx-addons-image-accordion-description p{white-space:nowrap;margin:0}
/* Tablet: 3 x 200px + 2 x 20px gaps fits a 768px screen; captions are 18/14px in the panel so they stay 1 line. */
@media (max-width:1024px){body.page-id-5703 #work .trx-addons-image-accordion-item{min-width:200px}}
@media (max-width:767px){body.page-id-5703 #work .trx-addons-image-accordion-item{min-width:0}
 body.page-id-5703 #work .trx-addons-image-accordion-title,
 body.page-id-5703 #work .trx-addons-image-accordion-description p{white-space:normal}}
/* Phone: no one-word last line in the title ("Your Renovation / In Three Steps"). */
body.page-id-5703 #work .lz-s04-title .elementor-heading-title{text-wrap:balance}
/* Photo focus inside the narrow collapsed strips. Step 1: the person measuring. Step 2: both hands on the quote.
   Step 3: a little zoom so the strip shows the finished room, not the ceiling. */
body.page-id-5703 #work .elementor-repeater-item-a481eab .trx-addons-image-accordion-item-inner{background-position:64% center}
body.page-id-5703 #work .elementor-repeater-item-a1b8d3e .trx-addons-image-accordion-item-inner{background-position:56% center}
body.page-id-5703 #work .elementor-repeater-item-0b66301 .trx-addons-image-accordion-item-inner{background-size:auto 118%;background-position:58% 90%}

/* Keyboard focus: the base ring is white, invisible on this cream background. Navy ring instead. */
body.page-id-5703 #work .lz-cta .elementor-button:focus-visible{outline-color:#001124}


/* Tablet title size matches S05 and the other cream titles (45px). At 45px the title needs about 722px on one line;
   from 820px wide there is 745px or more. Below 820 (768 layout, 693px) it stays at the panel's 42px to keep 1 line. */
@media (min-width:820px) and (max-width:1024px){body.page-id-5703 #work .lz-s04-title .elementor-heading-title{font-size:45px}}

/* Phone/single-column layout: step 3 fills its rounded box like steps 1 and 2 (the 118% zoom left empty bands at wide phone widths). */
@media (max-width:767px){
body.page-id-5703 #work .elementor-repeater-item-0b66301 .trx-addons-image-accordion-item-inner{background-size:cover;background-position:58% 70%}
}
