/* Global presentation styles driven by [theme] home_style.
   The technical key is kept for compatibility, but this now acts as a site-wide
   card/list presentation mode rather than a home-only template. */

body.ap-client.ap-home-style-home-1{
  --ap-presentation-card-radius:0px;
  --ap-presentation-card-gap:clamp(14px,2vw,24px);
  --ap-presentation-card-aspect:4 / 3;
}

body.ap-client.ap-home-style-home-1 .ap-news-list-grid,
body.ap-client.ap-home-style-home-1 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-1 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-1 .ap-video-list-grid,
body.ap-client.ap-home-style-home-1 .ap-video-single-grid{
  gap:var(--ap-presentation-card-gap) !important;
}

body.ap-client.ap-home-style-home-1 .ap-tile,
body.ap-client.ap-home-style-home-1 .ap-gitem,
body.ap-client.ap-home-style-home-1 .ap-sitemap-item{
  border-radius:var(--ap-presentation-card-radius) !important;
}

body.ap-client.ap-home-style-home-1 .ap-tile-media,
body.ap-client.ap-home-style-home-1 .ap-gthumb,
body.ap-client.ap-home-style-home-1 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-1 .ap-gitem .ap-media{
  aspect-ratio:var(--ap-presentation-card-aspect) !important;
}

/* Magazine: editorial rhythm, asymmetric featured item, title overlay. */
body.ap-client.ap-home-style-home-2{
  --ap-presentation-card-radius:22px;
  --ap-presentation-card-gap:clamp(18px,2.8vw,34px);
  --ap-presentation-card-aspect:16 / 11;
}

body.ap-client.ap-home-style-home-2 .ap-news-list-grid,
body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-2 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-2 .ap-video-list-grid,
body.ap-client.ap-home-style-home-2 .ap-video-single-grid{
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  gap:var(--ap-presentation-card-gap) !important;
  align-items:stretch !important;
}

body.ap-client.ap-home-style-home-2 .ap-news-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-2 .ap-home-simple-grid > .ap-tile,
body.ap-client.ap-home-style-home-2 .ap-video-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-2 .ap-video-single-grid > .ap-tile,
body.ap-client.ap-home-style-home-2 .ap-gitem,
body.ap-client.ap-home-style-home-2 .ap-sitemap-item{
  grid-column:span 4;
  min-height:280px;
  border-radius:var(--ap-presentation-card-radius) !important;
  background:#0f172a !important;
  box-shadow:0 22px 60px rgba(15,23,42,.20) !important;
}

body.ap-client.ap-home-style-home-2 .ap-news-list-grid > .ap-tile:first-child,
body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid > .ap-tile:first-child,
body.ap-client.ap-home-style-home-2 .ap-home-simple-grid > .ap-tile:first-child,
body.ap-client.ap-home-style-home-2 .ap-video-list-grid > .ap-tile:first-child,
body.ap-client.ap-home-style-home-2 .ap-video-single-grid > .ap-tile:first-child{
  grid-column:span 8;
  min-height:420px;
}

body.ap-client.ap-home-style-home-2 .ap-tile-media,
body.ap-client.ap-home-style-home-2 .ap-gthumb,
body.ap-client.ap-home-style-home-2 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-2 .ap-gitem .ap-media{
  flex:1 1 auto;
  min-height:220px;
  aspect-ratio:var(--ap-presentation-card-aspect) !important;
}

body.ap-client.ap-home-style-home-2 .ap-news-list-grid > .ap-tile:first-child .ap-tile-media,
body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid > .ap-tile:first-child .ap-tile-media,
body.ap-client.ap-home-style-home-2 .ap-home-simple-grid > .ap-tile:first-child .ap-tile-media{
  min-height:360px;
}

body.ap-client.ap-home-style-home-2 .ap-tile:after,
body.ap-client.ap-home-style-home-2 .ap-gitem:after,
body.ap-client.ap-home-style-home-2 .ap-sitemap-item:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,6,23,0) 35%,rgba(2,6,23,.82) 100%);
  z-index:1;
}

body.ap-client.ap-home-style-home-2 .ap-tile-body,
body.ap-client.ap-home-style-home-2 .ap-gbody,
body.ap-client.ap-home-style-home-2 .ap-gallery-caption,
body.ap-client.ap-home-style-home-2 .ap-sitemap-copy{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  background:transparent !important;
  color:#fff !important;
  padding:clamp(16px,2.4vw,28px) !important;
}

body.ap-client.ap-home-style-home-2 .ap-tile-title,
body.ap-client.ap-home-style-home-2 .ap-gtitle,
body.ap-client.ap-home-style-home-2 .ap-sitemap-title{
  color:#fff !important;
  font-size:clamp(20px,2.8vw,34px) !important;
  line-height:.98 !important;
}

body.ap-client.ap-home-style-home-2 .ap-tile-sub,
body.ap-client.ap-home-style-home-2 .ap-tile .ap-muted,
body.ap-client.ap-home-style-home-2 .ap-gitem .ap-muted,
body.ap-client.ap-home-style-home-2 .ap-sitemap-item .ap-muted{
  color:rgba(255,255,255,.78) !important;
}

body.ap-client.ap-home-style-home-2 .ap-tile-tag{
  z-index:3;
  top:14px;
  left:14px;
  right:auto;
  bottom:auto;
  background:var(--ap-accent,#ff4015) !important;
  color:var(--ap-accent-text,#fff) !important;
}

/* Dense catalogue: many compact cards, quick scanning, less theatrical spacing. */
body.ap-client.ap-home-style-home-3{
  --ap-presentation-card-radius:6px;
  --ap-presentation-card-gap:clamp(10px,1.2vw,16px);
  --ap-presentation-card-aspect:1 / 1;
}

body.ap-client.ap-home-style-home-3 .ap-main{
  width:min(1700px,calc(100vw - 24px)) !important;
}

body.ap-client.ap-home-style-home-3 .ap-news-list-grid,
body.ap-client.ap-home-style-home-3 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-3 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-3 .ap-video-list-grid,
body.ap-client.ap-home-style-home-3 .ap-video-single-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)) !important;
  gap:var(--ap-presentation-card-gap) !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile,
body.ap-client.ap-home-style-home-3 .ap-gitem,
body.ap-client.ap-home-style-home-3 .ap-sitemap-item{
  border-radius:var(--ap-presentation-card-radius) !important;
  box-shadow:none !important;
  border:1px solid color-mix(in srgb,var(--ap-text,#111827) 14%,transparent) !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile:hover,
body.ap-client.ap-home-style-home-3 .ap-gitem:hover,
body.ap-client.ap-home-style-home-3 .ap-sitemap-item:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 28px rgba(15,23,42,.12) !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile-media,
body.ap-client.ap-home-style-home-3 .ap-gthumb,
body.ap-client.ap-home-style-home-3 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-3 .ap-gitem .ap-media{
  aspect-ratio:var(--ap-presentation-card-aspect) !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile-body,
body.ap-client.ap-home-style-home-3 .ap-gbody,
body.ap-client.ap-home-style-home-3 .ap-gallery-caption,
body.ap-client.ap-home-style-home-3 .ap-sitemap-copy{
  padding:12px !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile-title,
body.ap-client.ap-home-style-home-3 .ap-gtitle,
body.ap-client.ap-home-style-home-3 .ap-sitemap-title{
  font-size:17px !important;
  line-height:1.05 !important;
}

body.ap-client.ap-home-style-home-3 .ap-tile-sub,
body.ap-client.ap-home-style-home-3 .ap-muted{
  font-size:12px !important;
}

/* Visual mosaic: varied image sizes and overlay captions, portfolio rhythm. */
body.ap-client.ap-home-style-home-4{
  --ap-presentation-card-radius:0;
  --ap-presentation-card-gap:clamp(8px,1.4vw,18px);
  --ap-presentation-card-aspect:4 / 5;
}

body.ap-client.ap-home-style-home-4 .ap-main{
  width:min(1760px,calc(100vw - 20px)) !important;
}

body.ap-client.ap-home-style-home-4 .ap-news-list-grid,
body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-4 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-4 .ap-video-list-grid,
body.ap-client.ap-home-style-home-4 .ap-video-single-grid{
  display:grid !important;
  grid-template-columns:repeat(12,minmax(0,1fr)) !important;
  grid-auto-flow:dense;
  gap:var(--ap-presentation-card-gap) !important;
}

body.ap-client.ap-home-style-home-4 .ap-news-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-4 .ap-home-simple-grid > .ap-tile,
body.ap-client.ap-home-style-home-4 .ap-video-list-grid > .ap-tile,
body.ap-client.ap-home-style-home-4 .ap-video-single-grid > .ap-tile,
body.ap-client.ap-home-style-home-4 .ap-gitem,
body.ap-client.ap-home-style-home-4 .ap-sitemap-item{
  grid-column:span 4;
  min-height:320px;
  position:relative;
  overflow:hidden;
  border-radius:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:#111827 !important;
}

body.ap-client.ap-home-style-home-4 .ap-news-list-grid > .ap-tile:nth-child(6n+1),
body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid > .ap-tile:nth-child(6n+1),
body.ap-client.ap-home-style-home-4 .ap-home-simple-grid > .ap-tile:nth-child(6n+1){
  grid-column:span 7;
  min-height:460px;
}

body.ap-client.ap-home-style-home-4 .ap-news-list-grid > .ap-tile:nth-child(6n+4),
body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid > .ap-tile:nth-child(6n+4),
body.ap-client.ap-home-style-home-4 .ap-home-simple-grid > .ap-tile:nth-child(6n+4){
  grid-column:span 5;
  min-height:390px;
}

body.ap-client.ap-home-style-home-4 .ap-tile-media,
body.ap-client.ap-home-style-home-4 .ap-gthumb,
body.ap-client.ap-home-style-home-4 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-4 .ap-gitem .ap-media{
  position:absolute !important;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto !important;
}

body.ap-client.ap-home-style-home-4 .ap-tile-media img,
body.ap-client.ap-home-style-home-4 .ap-gthumb img,
body.ap-client.ap-home-style-home-4 .ap-sitemap-thumb img,
body.ap-client.ap-home-style-home-4 .ap-gitem .ap-media img,
body.ap-client.ap-home-style-home-4 .ap-gitem .ap-img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body.ap-client.ap-home-style-home-4 .ap-tile:after,
body.ap-client.ap-home-style-home-4 .ap-gitem:after,
body.ap-client.ap-home-style-home-4 .ap-sitemap-item:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(15,23,42,.02),rgba(15,23,42,.72));
  pointer-events:none;
}

body.ap-client.ap-home-style-home-4 .ap-tile-body,
body.ap-client.ap-home-style-home-4 .ap-gbody,
body.ap-client.ap-home-style-home-4 .ap-gallery-caption,
body.ap-client.ap-home-style-home-4 .ap-sitemap-copy{
  position:absolute !important;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  background:transparent !important;
  color:#fff !important;
  padding:clamp(14px,2vw,26px) !important;
}

body.ap-client.ap-home-style-home-4 .ap-tile-title,
body.ap-client.ap-home-style-home-4 .ap-gtitle,
body.ap-client.ap-home-style-home-4 .ap-sitemap-title{
  color:#fff !important;
  font-size:clamp(19px,2.1vw,30px) !important;
  line-height:1 !important;
}

body.ap-client.ap-home-style-home-4 .ap-tile-sub,
body.ap-client.ap-home-style-home-4 .ap-muted{
  color:rgba(255,255,255,.78) !important;
}

/* Panorama: horizontal editorial bands, calm reading and light parallax sections. */
body.ap-client.ap-home-style-home-5{
  --ap-presentation-card-radius:18px;
  --ap-presentation-card-gap:clamp(16px,2vw,28px);
  --ap-presentation-card-aspect:16 / 10;
}

body.ap-client.ap-home-style-home-5 .ap-main{
  width:min(1480px,calc(100vw - 28px)) !important;
}

body.ap-client.ap-home-style-home-5 .ap-news-list-grid,
body.ap-client.ap-home-style-home-5 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-5 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-5 .ap-video-list-grid,
body.ap-client.ap-home-style-home-5 .ap-video-single-grid{
  grid-template-columns:1fr !important;
  gap:var(--ap-presentation-card-gap) !important;
}

body.ap-client.ap-home-style-home-5 .ap-tile,
body.ap-client.ap-home-style-home-5 .ap-gitem,
body.ap-client.ap-home-style-home-5 .ap-sitemap-item{
  display:grid !important;
  grid-template-columns:minmax(260px,.42fr) minmax(0,1fr);
  align-items:stretch;
  overflow:hidden;
  border-radius:var(--ap-presentation-card-radius) !important;
  box-shadow:0 18px 55px rgba(15,23,42,.12) !important;
}

body.ap-client.ap-home-style-home-5 .ap-tile-media,
body.ap-client.ap-home-style-home-5 .ap-gthumb,
body.ap-client.ap-home-style-home-5 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-5 .ap-gitem .ap-media{
  height:100%;
  min-height:230px;
  aspect-ratio:auto !important;
}

body.ap-client.ap-home-style-home-5 .ap-tile-body,
body.ap-client.ap-home-style-home-5 .ap-gbody,
body.ap-client.ap-home-style-home-5 .ap-gallery-caption,
body.ap-client.ap-home-style-home-5 .ap-sitemap-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(24px,4vw,58px) !important;
}

body.ap-client.ap-home-style-home-5 .ap-tile-title,
body.ap-client.ap-home-style-home-5 .ap-gtitle,
body.ap-client.ap-home-style-home-5 .ap-sitemap-title{
  font-size:clamp(26px,3.6vw,52px) !important;
  line-height:1 !important;
}

body.ap-client.ap-home-style-home-5 .ap-home-simple .ap-pack-section.ap-section-light{
  background-image:linear-gradient(115deg,color-mix(in srgb,var(--ap-section-light,#f8fafc) 92%,#fff),color-mix(in srgb,var(--ap-accent,#ff4015) 10%,var(--ap-section-light,#f8fafc))) !important;
  background-attachment:fixed;
  background-size:cover;
}

@supports (-webkit-overflow-scrolling:touch){
  body.ap-client.ap-home-style-home-5 .ap-home-simple .ap-pack-section.ap-section-light{
    background-attachment:scroll;
  }
}

/* Premium showcase: larger images, quieter grid, framed cards, stronger CTAs. */
body.ap-client.ap-home-style-home-opticien-1{
  --ap-presentation-card-radius:30px;
  --ap-presentation-card-gap:clamp(18px,3vw,38px);
  --ap-presentation-card-aspect:5 / 4;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-main{
  width:min(1580px,calc(100vw - 28px)) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-news-list-grid,
body.ap-client.ap-home-style-home-opticien-1 .ap-gallery-list-grid,
body.ap-client.ap-home-style-home-opticien-1 .ap-home-simple-grid,
body.ap-client.ap-home-style-home-opticien-1 .ap-video-list-grid,
body.ap-client.ap-home-style-home-opticien-1 .ap-video-single-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
  gap:var(--ap-presentation-card-gap) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile,
body.ap-client.ap-home-style-home-opticien-1 .ap-gitem,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-item{
  border-radius:var(--ap-presentation-card-radius) !important;
  background:color-mix(in srgb,var(--ap-section-light,#f8fafc) 86%,#fff) !important;
  color:var(--ap-text,#111827) !important;
  box-shadow:0 28px 90px rgba(15,23,42,.16) !important;
  border:1px solid color-mix(in srgb,var(--ap-accent,#ff4015) 34%,transparent) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile:hover,
body.ap-client.ap-home-style-home-opticien-1 .ap-gitem:hover,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-item:hover{
  transform:translateY(-8px) scale(1.01);
  box-shadow:0 38px 110px rgba(15,23,42,.24) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-media,
body.ap-client.ap-home-style-home-opticien-1 .ap-gthumb,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-thumb,
body.ap-client.ap-home-style-home-opticien-1 .ap-gitem .ap-media{
  aspect-ratio:var(--ap-presentation-card-aspect) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-media img,
body.ap-client.ap-home-style-home-opticien-1 .ap-gthumb img,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-thumb img,
body.ap-client.ap-home-style-home-opticien-1 .ap-gitem .ap-media img,
body.ap-client.ap-home-style-home-opticien-1 .ap-gitem .ap-img{
  filter:saturate(1.05) contrast(1.02);
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-body,
body.ap-client.ap-home-style-home-opticien-1 .ap-gbody,
body.ap-client.ap-home-style-home-opticien-1 .ap-gallery-caption,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-copy{
  background:color-mix(in srgb,var(--ap-section-light,#f8fafc) 92%,#fff) !important;
  color:var(--ap-text,#111827) !important;
  padding:clamp(18px,2.2vw,30px) !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-title,
body.ap-client.ap-home-style-home-opticien-1 .ap-gtitle,
body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-title{
  color:var(--ap-text,#111827) !important;
  font-size:clamp(22px,2.4vw,32px) !important;
  line-height:1 !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-sub{
  color:color-mix(in srgb,var(--ap-text,#111827) 70%,#fff) !important;
  font-size:15px !important;
}

body.ap-client.ap-home-style-home-opticien-1 .ap-tile-tag{
  border-radius:999px !important;
  background:color-mix(in srgb,var(--ap-accent,#ff4015) 92%,#000) !important;
  color:var(--ap-accent-text,#fff) !important;
  box-shadow:0 12px 30px rgba(15,23,42,.22);
}

body.ap-client.ap-home-style-home-opticien-1 .ap-btn,
body.ap-client.ap-home-style-home-opticien-1 a.ap-btn{
  min-height:48px;
  padding-inline:22px !important;
  border-radius:999px !important;
}

/* Home composition tones win over pack alternation rules. */
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light{
  background-color:var(--ap-section-light,#f8fafc) !important;
  color:var(--ap-text,#111827) !important;
}

body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark{
  background-color:var(--ap-section-dark,#111827) !important;
  color:var(--ap-section-dark-text,var(--ap-muted,#fff)) !important;
}

body.ap-client .ap-home-simple .ap-pack-section.ap-section-light .ap-kicker,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light h1,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light h2,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light h3,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light .ap-prose,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-light p{
  color:var(--ap-text,#111827) !important;
}

body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark .ap-kicker,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark h1,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark h2,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark h3,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark .ap-prose,
body.ap-client .ap-home-simple .ap-pack-section.ap-section-dark p{
  color:var(--ap-section-dark-text,var(--ap-muted,#fff)) !important;
}

@media (max-width:900px){
  body.ap-client.ap-home-style-home-2 .ap-news-list-grid,
  body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid,
  body.ap-client.ap-home-style-home-2 .ap-home-simple-grid,
  body.ap-client.ap-home-style-home-2 .ap-video-list-grid,
  body.ap-client.ap-home-style-home-2 .ap-video-single-grid{
    grid-template-columns:1fr !important;
  }

  body.ap-client.ap-home-style-home-2 .ap-news-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-2 .ap-home-simple-grid > .ap-tile,
  body.ap-client.ap-home-style-home-2 .ap-video-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-2 .ap-video-single-grid > .ap-tile{
    grid-column:auto !important;
    min-height:300px;
  }

  body.ap-client.ap-home-style-home-2 .ap-news-list-grid > .ap-tile:first-child,
  body.ap-client.ap-home-style-home-2 .ap-gallery-list-grid > .ap-tile:first-child,
  body.ap-client.ap-home-style-home-2 .ap-home-simple-grid > .ap-tile:first-child{
    grid-column:auto !important;
    min-height:340px;
  }

  body.ap-client.ap-home-style-home-4 .ap-news-list-grid,
  body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid,
  body.ap-client.ap-home-style-home-4 .ap-home-simple-grid,
  body.ap-client.ap-home-style-home-4 .ap-video-list-grid,
  body.ap-client.ap-home-style-home-4 .ap-video-single-grid{
    grid-template-columns:1fr !important;
  }

  body.ap-client.ap-home-style-home-4 .ap-news-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-4 .ap-gallery-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-4 .ap-home-simple-grid > .ap-tile,
  body.ap-client.ap-home-style-home-4 .ap-video-list-grid > .ap-tile,
  body.ap-client.ap-home-style-home-4 .ap-video-single-grid > .ap-tile{
    grid-column:auto !important;
    min-height:320px;
  }

  body.ap-client.ap-home-style-home-5 .ap-tile,
  body.ap-client.ap-home-style-home-5 .ap-gitem,
  body.ap-client.ap-home-style-home-5 .ap-sitemap-item{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  body.ap-client.ap-home-style-home-2 .ap-tile-body,
  body.ap-client.ap-home-style-home-2 .ap-gbody,
  body.ap-client.ap-home-style-home-2 .ap-gallery-caption,
  body.ap-client.ap-home-style-home-2 .ap-sitemap-copy,
  body.ap-client.ap-home-style-home-opticien-1 .ap-tile-body,
  body.ap-client.ap-home-style-home-opticien-1 .ap-gbody,
  body.ap-client.ap-home-style-home-opticien-1 .ap-gallery-caption,
  body.ap-client.ap-home-style-home-opticien-1 .ap-sitemap-copy{
    padding:16px !important;
  }

  body.ap-client.ap-home-style-home-5 .ap-tile-body,
  body.ap-client.ap-home-style-home-5 .ap-gbody,
  body.ap-client.ap-home-style-home-5 .ap-gallery-caption,
  body.ap-client.ap-home-style-home-5 .ap-sitemap-copy{
    padding:18px !important;
  }
}
