/* Impossible Agency — MOBILE V6: full-width, comfortable cards, no squeezed tiles.
   Loaded AFTER mobile.css, for all IT/EN/RO pages. */
@media (max-width: 690px) {
  body.ed-version.cinema-v4 {overflow-x:clip;}
  body.ed-version.cinema-v4 .shell,
  body.ed-version.cinema-v4 .ed-page-banner > .shell,
  body.ed-version.cinema-v4 .ed-hero-content {
    width:calc(100% - 32px)!important;
    max-width:560px!important;
    margin-inline:auto!important;
  }
  body.ed-version.cinema-v4 main .section,
  body.ed-version.cinema-v4 main .ed-services,
  body.ed-version.cinema-v4 main .collab-story,
  body.ed-version.cinema-v4 main .client-story {padding-block:64px!important;}
  /* All content grids get ONE genuinely full-width column; never shrunken centered tiles. */
  body.ed-version.cinema-v4 :is(.ed-services-grid,.collab-story-grid,.client-story-grid,.project-grid,.statement-grid,.speciality-grid,.steps,.timeline) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;
    width:100%!important;
    align-items:stretch!important;
  }
  body.ed-version.cinema-v4 :is(.ed-service,.collab-category,.client-story-category,.project-card,.statement-grid>article,.speciality,.steps>div,.timeline>div) {
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-self:stretch!important;
    box-sizing:border-box!important;
    flex-shrink:0!important;
  }
  /* Homepage: service boxes are large and legible, with reliable touch areas. */
  body.ed-version.cinema-v4 .ed-services-grid>.ed-service {
    min-height:220px!important;
    height:auto!important;
    padding:29px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:20px!important;
    border-radius:12px!important;
  }
  body.ed-version.cinema-v4 .ed-service-icon {width:48px!important;height:48px!important;min-width:48px!important;flex-shrink:0!important;}
  body.ed-version.cinema-v4 .ed-service strong {font-size:clamp(19px,5.2vw,24px)!important;line-height:1.38!important;}
  body.ed-version.cinema-v4 .ed-service-arrow {font-size:23px!important;}
  /* Client & collaboration cards: use the whole available viewport width. */
  body.ed-version.cinema-v4 .collab-story .collab-story-grid>.collab-category,
  body.ed-version.cinema-v4 .client-story .client-story-grid>.client-story-category {
    min-height:210px!important;
    height:auto!important;
    padding:30px 24px!important;
    border-radius:14px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    text-align:center!important;
  }
  body.ed-version.cinema-v4 .collab-brand-list {margin-block:21px 18px!important;}
  body.ed-version.cinema-v4 .collab-brand {font-size:clamp(21px,5.8vw,29px)!important;line-height:1.38!important;}
  body.ed-version.cinema-v4 .collab-category>p {font-size:15px!important;line-height:1.75!important;}
  /* Portfolio: avoid compressed image/title plates. */
  body.ed-version.cinema-v4 .project-grid>.project-card {display:block!important;}
  body.ed-version.cinema-v4 .project-preview {
    width:100%!important;
    height:auto!important;
    min-height:320px!important;
    padding:28px!important;
  }
  body.ed-version.cinema-v4 .project-preview .preview-main strong {font-size:clamp(30px,8vw,46px)!important;line-height:1.15!important;}
  body.ed-version.cinema-v4 .project-detail {padding-block:22px!important;gap:12px!important;}
  body.ed-version.cinema-v4 .project-detail strong {font-size:21px!important;}
  /* Mission / vision: substantial white cards; dark text remains high contrast. */
  body.ed-version.cinema-v4 .statement-grid>article {
    min-height:220px!important;
    padding:32px 26px!important;
    border-radius:9px!important;
  }
  body.ed-version.cinema-v4 .statement-grid>article h3 {font-size:clamp(24px,6.5vw,30px)!important;line-height:1.22!important;}
  body.ed-version.cinema-v4 .statement-grid>article p {font-size:16px!important;line-height:1.7!important;}
  /* Detailed services: not tiny rows; labels, text and button each get breathing room. */
  body.ed-version.cinema-v4 .ed-full-services .service-full {
    width:100%!important;
    min-height:250px!important;
    padding:38px 12px!important;
    gap:17px!important;
  }
  body.ed-version.cinema-v4 .ed-full-services .service-full h2 {font-size:clamp(28px,7.4vw,38px)!important;line-height:1.22!important;margin-bottom:21px!important;}
  body.ed-version.cinema-v4 .ed-full-services .service-full p {font-size:16px!important;line-height:1.75!important;}
  body.ed-version.cinema-v4 .ed-full-services .tag-list {width:100%!important;justify-content:center!important;gap:9px!important;}
  body.ed-version.cinema-v4 .ed-full-services .tag-list span {font-size:13px!important;padding:9px 11px!important;}
  body.ed-version.cinema-v4 .ed-full-services .service-full>.cta {min-height:52px!important;min-width:min(100%,190px)!important;justify-content:center!important;}
  body.ed-version.cinema-v4 .speciality {min-height:195px!important;padding:30px 24px!important;}
  body.ed-version.cinema-v4 .steps>div,body.ed-version.cinema-v4 .timeline>div {padding:25px 16px!important;min-height:150px!important;}
  /* Brochure download list: each link is a proper thumb-friendly row. */
  body.ed-version.cinema-v4 .brochure-links {width:100%!important;}
  body.ed-version.cinema-v4 .brochure-links a {width:100%!important;min-height:60px!important;padding:17px 10px!important;font-size:15px!important;}
  /* Forms stay wide and usable, rather than turning into narrow centered cards. */
  body.ed-version.cinema-v4 .form {width:100%!important;padding:27px 21px!important;border-radius:10px!important;}
  body.ed-version.cinema-v4 .form :is(input,textarea,select) {min-height:50px!important;}
  body.ed-version.cinema-v4 .ai-visual {width:100%!important;min-height:320px!important;}
  /* Typographic rhythm. */
  body.ed-version.cinema-v4 main :is(.section-heading,.ed-section-head,.collab-intro,.client-story-intro)>:is(h1,h2,h3) {margin-bottom:29px!important;}
  body.ed-version.cinema-v4 main :is(.section-heading,.ed-section-head,.collab-intro,.client-story-intro)>p {margin-bottom:34px!important;}
  body.ed-version.cinema-v4 .ed-brand-plate {width:100%!important;max-width:100%!important;min-height:350px!important;padding:35px 27px!important;}
}
@media(max-width:370px) {
  body.ed-version.cinema-v4 .shell,
  body.ed-version.cinema-v4 .ed-page-banner > .shell,
  body.ed-version.cinema-v4 .ed-hero-content {width:calc(100% - 26px)!important;}
  body.ed-version.cinema-v4 .collab-story .collab-story-grid>.collab-category,
  body.ed-version.cinema-v4 .client-story .client-story-grid>.client-story-category {padding:27px 20px!important;}
  body.ed-version.cinema-v4 .project-preview {min-height:285px!important;}
}
