/* Homepage additions on top of the approved design (front-page.php keeps its own inline CSS). */

/* NOS INTERVENTIONS: indicative price + short description, folded with the existing "+" */
#device-services .svc-x{padding:9px 0}
#device-services .svc-x:before{content:none}
.svc-x-toggle{display:flex;align-items:baseline;gap:10px;width:100%;background:none;border:0;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}
.svc-x-toggle:before{content:'−';color:#057387;width:12px;flex-shrink:0;font-size:17px}
.svc-x:not(.open) .svc-x-toggle:before{content:'+'}
.svc-x-name{flex:1;font-size:16px;line-height:1.3}
.svc-x-price{font:500 15px var(--heading);color:#0b3549;white-space:nowrap}
.svc-x-desc{font-size:13px;line-height:1.45;color:#4d6977;margin:4px 0 0 22px}
.svc-x:not(.open) .svc-x-desc{display:none}
.svc-x-note{font-size:11px;color:#58717d;margin:-14px 0 14px}
.device-info ul{min-height:0}
@media(max-width:850px){.svc-x-name{font-size:14px}.svc-x-price{font-size:13px}.svc-x-desc{font-size:12px;margin-left:19px}}
@media(max-width:420px){.device-info ul{display:block}}

/* Conseils (latest articles) */
.home-blog{background:#101b23;border-bottom:1px solid #ffffff14}
.home-blog-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-blog-card{display:flex;flex-direction:column;height:100%;background:#0c151c;border:1px solid #ffffff1a;transition:border-color .2s,transform .2s}
.home-blog-card:hover{border-color:#27d5e880;transform:translateY(-3px)}
.home-blog-img{aspect-ratio:3/2;background:radial-gradient(ellipse at 50% 55%,#e9f1f4,#c9d8de 85%);display:grid;place-items:center;overflow:hidden}
.home-blog-img img{width:88%;height:88%;object-fit:contain}
.home-blog-body{padding:20px 22px 22px;display:flex;flex-direction:column;flex:1}
.home-blog-cat{font:9px var(--tech);letter-spacing:1.4px;text-transform:uppercase;color:var(--cyan)}
.home-blog-card h3{font:500 23px/1.2 var(--heading);text-transform:uppercase;margin-top:10px}
.home-blog-card p{font-size:15px;line-height:1.6;color:#a8bdc8;margin-top:12px;flex:1}
.home-blog-more{margin-top:16px;font:400 14px var(--heading);color:var(--cyan)}
@media(max-width:1150px){.home-blog-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.home-blog-list{grid-template-columns:1fr}}

/* The card is taller with prices + descriptions open: give the explorer room so the arrows and selectors
   stay below it (heights measured on the longest device list at each width). */
@media(min-width:851px){.device-explorer,.explorer-inner{height:940px;min-height:940px}}
@media(max-width:850px){.device-explorer,.explorer-inner{height:1070px;min-height:1070px}}
@media(max-width:420px){.device-explorer,.explorer-inner{height:1150px;min-height:1150px}}
@media(max-width:360px){.device-explorer,.explorer-inner{height:1190px;min-height:1190px}}
@media(min-width:421px) and (max-width:620px){.device-rail{grid-template-columns:1fr;gap:10px;top:380px}.device-explorer,.explorer-inner{height:1180px;min-height:1180px}}
