/* S01 Hero (#home). Owner: S01 agent. Only what Elementor controls cannot do. */

/* Title: Bookmania swash capitals (like the reference poster), each line kept on one line. */
body.page-id-5703 #home .lz-s01-title .trx-addons-advanced-title{font-feature-settings:"ss10" 1,"kern" 1,"liga" 1;text-wrap:nowrap;text-rendering:optimizeLegibility}
body.page-id-5703 #home .lz-s01-title .trx-addons-advanced-title-item{white-space:nowrap}

/* Products card: evenly sized logos with soft faded edges. */
body.page-id-5703 #home .lz-s01-marquee{position:relative;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%)}
body.page-id-5703 #home .lz-s01-marquee .trx-addons-marquee-item-image img{display:block;width:auto;max-width:none;object-fit:contain}
body.page-id-5703 #home .lz-s01-marquee .trx-addons-marquee-item-separator{display:inline-block;width:6px}
@media (max-width:767px){body.page-id-5703 #home .lz-s01-marquee .trx-addons-marquee-item-separator{width:2px}}

/* Rating card: avatar strip keeps its size, text sits beside it on every width. */
body.page-id-5703 #home .lz-s01-rating .elementor-widget-image img{display:block;height:auto}
body.page-id-5703 #home .lz-s01-rating .elementor-widget-rating .e-rating-wrapper{gap:2px}
body.page-id-5703 #home .lz-s01-rating a.e-con{transition:background-color .2s,border-color .2s}
body.page-id-5703 #home .lz-s01-rating a.e-con:focus-visible{outline:3px solid #fff;outline-offset:2px}

/* Tablet: text runs across most of the video width, so the shade reaches further right. */
@media (min-width:768px) and (max-width:1279px){body.page-id-5703 #home > .elementor-background-video-container::before{background-image:linear-gradient(90deg,rgba(0,10,20,.84) 0%,rgba(0,10,20,.8) 70%,rgba(0,10,20,.5) 100%)!important}}
/* Phone: the text covers the full width of the video, so the overlay is an even shade dark enough for the orange line (colours are not responsive controls). */
@media (max-width:767px){body.page-id-5703 #home > .elementor-background-video-container::before,body.page-id-5703 #home.e-con::before{background-image:linear-gradient(180deg,rgba(0,10,20,.76) 0%,rgba(0,10,20,.72) 55%,rgba(0,10,20,.45) 100%)!important}}



/* Orange title lines run onto the lit tile wall: a tighter second shadow keeps the letter edges crisp over the video. */
body.page-id-5703 #home .lz-s01-title .trx-addons-advanced-title-item{text-shadow:0 2px 6px rgba(0,0,0,.5),0 2px 22px rgba(0,0,0,.35)}

/* Phone: CTA and phone box side by side (Matt). Wrap, gap and sizes are native mobile controls; this lets the CTA text wrap to 2 lines and keeps both boxes inside the column. */
@media (max-width:767px){
body.page-id-5703 #home .elementor-element-5519cf8{flex-wrap:nowrap}
body.page-id-5703 #home .elementor-element-0c7c1ea{flex:0 1 auto;min-width:0}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button{white-space:normal;text-align:left}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button .elementor-button-content-wrapper{gap:10px;align-items:center}
body.page-id-5703 #home .elementor-element-2d6a8cb{flex:0 0 auto;min-width:0}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-title{max-width:11em;margin-bottom:3px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-subtitle{white-space:nowrap}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-icon-wrap{margin-right:8px}
}
/* Small phones (360): tighter gap and number so the row still fits; rating link stays on one line. */
@media (max-width:374px){
body.page-id-5703 #home .elementor-element-5519cf8{--gap:8px;--column-gap:8px}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button{padding-left:14px;padding-right:14px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-subtitle{font-size:16px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-icon{font-size:16px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-icon-wrap{margin-right:6px}
body.page-id-5703 #home .lz-s01-rating .elementor-element-3a9a889{--gap:8px;--column-gap:8px}
body.page-id-5703 #home .elementor-element-de31975 .elementor-heading-title{font-size:13px;white-space:nowrap}
}

/* Phone: balanced wraps so no line ends with one lone word (sub-headline, CTA text, phone label). */
@media (max-width:767px){
body.page-id-5703 #home .elementor-element-77aaf0c .trx-addons-advanced-title{text-wrap:balance}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button-text{text-wrap:balance}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-title{text-wrap:balance}
}
/* Very small phones (under 360): CTA row and rating card tighten so nothing crosses the card edges; CTA and phone stay side by side. */
@media (max-width:359px){
body.page-id-5703 #home .elementor-element-5519cf8{--gap:6px;--column-gap:6px}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button{padding-left:12px;padding-right:12px}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button .elementor-button-content-wrapper{gap:8px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-subtitle{font-size:15px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-icon{font-size:15px}
body.page-id-5703 #home .elementor-element-2d6a8cb .trx-addons-info-box-icon-wrap{margin-right:5px}
body.page-id-5703 #home .lz-s01-rating .elementor-element-4005987{width:124px;max-width:124px}
body.page-id-5703 #home .lz-s01-rating .elementor-element-4005987 img{width:100%}
body.page-id-5703 #home .lz-s01-rating .elementor-element-3a9a889{--gap:6px;--column-gap:6px;padding-left:10px;padding-right:10px}
body.page-id-5703 #home .elementor-element-de31975 .elementor-heading-title{font-size:12px}
body.page-id-5703 #home .elementor-element-4a18069 .e-rating .e-icon{font-size:12px;--e-rating-icon-font-size:12px}
}

/* Tablet/laptop edge (768-1279): the 13vw title reached 166px at 1279 and pushed the CTA below a 1279x800 screen. Cap it by width and height. */
@media (min-width:768px) and (max-width:1279px){
body.page-id-5703 #home .lz-s01-title .trx-addons-advanced-title{font-size:min(13vw,16.5vh,132px)!important}
}
/* Tablet (768-1279): the two hero cards side by side across the full width instead of two fixed 600px cards on the left. */
@media (min-width:768px) and (max-width:1279px){
body.page-id-5703 #home .elementor-element-143190e, body.page-id-5703 #home .elementor-element-619fe32{display:contents}
body.page-id-5703 #home.e-con{flex-direction:row;flex-wrap:wrap;align-items:stretch;--gap:24px;gap:24px}
body.page-id-5703 #home .elementor-element-cb9b50b{width:100%}
body.page-id-5703 #home .elementor-element-1a70f96{width:calc(50% - 12px)}
body.page-id-5703 #home .elementor-element-b6cd3db{--width:calc(50% - 12px);width:calc(50% - 12px)}
body.page-id-5703 #home .elementor-element-ee88ae0{--width:100%;width:100%;height:100%}
body.page-id-5703 #home .elementor-element-71cf36d{width:100%}
}
/* Phone landscape (short screens): title sized by height, sub-headline beside it, CTA inside the first screen. */
@media (max-width:1279px) and (orientation:landscape) and (max-height:500px){
body.page-id-5703 #home.e-con{--padding-top:64px;padding-top:64px;min-height:0;--min-height:0px}
body.page-id-5703 #home .elementor-element-1b867ba{--flex-basis:100%;flex-basis:100%;max-width:none;margin-bottom:12px!important}
body.page-id-5703 #home .elementor-element-cb9b50b{flex-direction:row;flex-wrap:wrap;align-items:flex-end;column-gap:clamp(20px,4vw,48px);--flex-direction:row;--flex-wrap:wrap}
body.page-id-5703 #home .lz-s01-title{width:auto!important;max-width:none!important;flex:0 0 auto;margin-bottom:0!important}
body.page-id-5703 #home .lz-s01-title .trx-addons-advanced-title{font-size:min(12.5vh,12.6vw,96px)!important;line-height:1!important}
body.page-id-5703 #home .elementor-element-77aaf0c{flex:1 1 0;min-width:200px;width:auto!important;max-width:none!important;margin-bottom:0!important;padding-bottom:.3em}
body.page-id-5703 #home .elementor-element-77aaf0c .trx-addons-advanced-title{font-size:clamp(15px,4.6vh,19px)!important;line-height:1.35!important}
body.page-id-5703 #home .elementor-element-5519cf8{flex:0 0 100%;margin-top:10px}
}
/* Under 360: CTA on its own full-width row so it no longer wraps to three lines. */
@media (max-width:359px){
body.page-id-5703 #home .elementor-element-5519cf8{flex-wrap:wrap;--row-gap:18px;row-gap:18px}
body.page-id-5703 #home .elementor-element-0c7c1ea{flex:0 0 100%;width:100%}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button{width:100%;justify-content:center;padding-left:16px;padding-right:16px}
body.page-id-5703 #home .elementor-element-0c7c1ea .elementor-button .elementor-button-content-wrapper{justify-content:center}
}
