/* =====================================================
   KOSEN RESPONSIVE CLEAN
   Ce fichier remplace tous les anciens fichiers mobile/tablet/ipad.
   Il doit être chargé APRÈS kosenstyle.css.
===================================================== */


/* =====================================================
   BASE GLOBALE
===================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-image: url('../imgs_general/KOSEN_ASSETSD_bg_1.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
}


/* =====================================================
   CONTAINER PRINCIPAL
===================================================== */

#contain {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}


/* =====================================================
   HEADER
===================================================== */

header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
}

header h1,
h1 {
  float: none;
  width: auto;
  margin: 0;
}

header h1 a {
  display: block;
}

header h1 img,
h1 img,
header h1 a img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
  position: static;
}


/* Menu principal */

nav.main-menu {
  float: none;
  flex: 1;
  width: auto;
  min-width: 320px;
  padding-top: 0;
  text-align: right;
  border-bottom: 2px solid #ffffff;
}

nav.main-menu a {
  display: inline-block;
  padding: 10px 8px;
  font-size: 1rem;
  line-height: 1.2;
}


/* Réseaux sociaux header */

nav.links-menu {
  width: 100%;
  padding: 10px 0;
  text-align: right;
  clear: both;
}

nav.links-menu a {
  display: inline-block;
  width: 32px;
  margin: 0 8px;
}

nav.links-menu a img {
  width: 100%;
  height: auto;
}


/* =====================================================
   SECTIONS GLOBALES
===================================================== */

section#shop .contain-shop p {
  width: 100%;
  margin: 0;
}

h2.titre {
  width: fit-content;
  min-width: 200px;
  height: auto;
  min-height: 35px;
  padding: 8px 16px;
  margin: 0 auto 30px auto;
  text-align: center;
  line-height: 1.2;
}


/* =====================================================
   IMPORTANT : ON DÉSACTIVE LES ANCIENNES SECTIONS MOBILES
   Le contenu mobile doit être le même que la version ordinateur.
===================================================== */

#releases-mobile,
#artists-mobile,
#shop-mobile,
#podcast-mobile {
  display: none !important;
}


/* =====================================================
   HOME - NEWS
===================================================== */

section#news {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

section#news li.black {
  display: flex;
  flex-wrap: wrap;
  background: #000;
}

.img_news {
  float: none;
  width: 40%;
}

.img_news img {
  width: 100%;
  height: auto;
  display: block;
}

.text_news {
  float: none;
  width: 60%;
  padding: 30px;
}

.text_news p {
  width: 100%;
}

.bt_news {
  width: fit-content;
  min-width: 220px;
  margin-left: auto;
}


/* =====================================================
   HOME - SLIDERS RELEASES / ARTISTS
===================================================== */

.slide_release {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  width: 100%;
}

.slide_release a {
  float: none;
  flex: 1 1 0;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: block;
}

.slide_release a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.quart div a {
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}


/* Artists homepage */

section#artists .artists-slider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

section#artists .artists-slider .slide_release {
  justify-content: center;
  align-items: stretch;
}

section#artists .artists-slider .slide_release a h3 {
  position: absolute;
  left: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  font-style: italic;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: none;
}

section#artists .artists-slider .slide_release a:hover h3 {
  opacity: 1;
}



/* =====================================================
   PAGE RELEASES
===================================================== */

section#releases.all {
  width: 100%;
  padding: 40px 0;
}

section#releases.all h2.titre {
  margin-bottom: 30px;
}

section#releases.all nav.trirelease {
  float: left;
  width: 22%;
  margin-top: 0;
  padding-left: 30px;
  border-left: 3px solid #cccc99;
}

section#releases.all nav.trirelease ul {
  margin: 0;
  padding: 0 0 0 20px;
}

section#releases.all .releases {
  float: left;
  width: 78%;
  padding-left: 35px;
}

section#releases.all .releases ul {
  float: left;
  width: 25%;
  padding: 12px;
  margin: 0 0 35px 0;
  min-height: 500px;
  max-height: none;
  height: auto;
  list-style: none;
}

section#releases.all .releases ul li img.shadow {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

section#releases.all .releases li h3 {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.25;
  margin: 12px 0 5px;
}

section#releases.all .releases ul li span {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  line-height: 1.3;
}

section#releases.all .releases ul li a {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 8px;
  background: #000;
  border: 1px solid #fff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  font-style: italic;
}


/* =====================================================
   PAGE ARTISTS
===================================================== */

nav.triartists {
  float: left;
  width: 22%;
}

.artists,
#artistslist {
  float: right;
  width: 78%;
}

#menu_artists a,
.artist_thumb {
  float: left;
  width: 23%;
  margin: 1%;
}

#menu_artists a img,
.artist_thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.artist_visual {
  float: left;
  width: 40%;
}

.artist_text {
  float: left;
  width: 60%;
}

.artist_releases {
  width: 100%;
}

.artist_releases a {
  float: left;
  width: 16.66%;
  padding: 1%;
}

.artist_releases a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* =====================================================
   FOOTER
===================================================== */

footer#contact {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  background: #000;
  color: #fff;

  padding: 50px max(24px, calc((100vw - 1400px) / 2 + 24px)) 25px;

  display: grid;
  grid-template-columns: 1.2fr 1fr 0.85fr;
  grid-template-areas:
    "stay about contact"
    "follow follow follow"
    "legend legend legend";

  gap: 45px 60px;
  clear: both;
}

footer#contact .container {
  grid-area: stay;
}

footer#contact .container2 {
  grid-area: about;
}

footer#contact .footer-contact {
  grid-area: contact;
}

footer#contact .container3 {
  grid-area: follow;
}

footer#contact .legend {
  grid-area: legend;
}

footer#contact .container,
footer#contact .container2,
footer#contact .container3,
footer#contact .footer-contact {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

footer#contact p {
  color: #fff;
  line-height: 1.5;
}

footer#contact ul {
  margin: 0;
  padding: 0;
}

footer#contact .title_nav_footer {
  display: block;
  margin-bottom: 18px;
}

footer#contact .footer-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 36px;
  width: 100%;
}

footer#contact .footer-social-row a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  margin: 0;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

footer#contact .footer-social-row a img {
  width: 24px;
  height: auto;
  margin: 0;
  display: inline-block;
}

footer#contact .links-menu-footer br {
  display: none;
}

footer#contact .legend {
  width: 100%;
  margin: 0;
  padding-top: 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-size: 0.75rem;
}


/* =====================================================
   TABLETTES / PETITS ORDINATEURS
===================================================== */

@media screen and (max-width: 1100px) {

  #contain {
    max-width: 100%;
    padding: 0 20px;
  }

  header {
    justify-content: center;
    text-align: center;
  }

  nav.main-menu {
    width: 100%;
    flex: none;
    min-width: 0;
    text-align: center;
  }

  nav.links-menu {
    text-align: center;
  }

  section#releases.all nav.trirelease,
  nav.triartists {
    display: none;
  }

  section#releases.all .releases,
  .artists,
  #artistslist {
    float: none;
    width: 100%;
    padding-left: 0;
  }

  section#releases.all .releases ul {
    width: 33.33%;
  }

  #menu_artists a,
  .artist_thumb {
    width: 31.33%;
  }

  footer#contact {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "stay about"
      "contact contact"
      "follow follow"
      "legend legend";
    gap: 40px;
  }
}

/* ==================================================
   MOBILE - LATEST NEWS PLUS LISIBLE
================================================== */

@media screen and (max-width: 100px) {

  body.home-page #slider1 li.black {
    display: block !important;
    background: #000;
  }

  body.home-page #slider1 .img_news {
    width: 100% !important;
    float: none !important;
  }

  body.home-page #slider1 .img_news img {
    width: 100% !important;
    height: auto !important;
    max-height: 360px;
    object-fit: cover;
    display: block;
  }

  body.home-page #slider1 .text_news {
    width: 100% !important;
    float: none !important;
    padding: 20px !important;
  }

  body.home-page #slider1 .text_news h3 {
    font-size: 1.1rem;
    line-height: 1.25;
    margin: 0 0 12px 0;
  }

  body.home-page #slider1 .text_news p {
    width: 100% !important;
    max-height: 15px;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  body.home-page #slider1 .bouton-news {
    text-align: center;
  }

  body.home-page #slider1 .bt_news {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =====================================================
   TRÈS PETITS MOBILES
===================================================== */

@media screen and (max-width: 480px) {

  header h1 img,
  h1 img,
  header h1 a img {
    width: 120px;
  }

  .slide_release a {
    flex: 1 1 100%;
  }

  section#releases.all .releases ul {
    width: 100%;
  }

  #menu_artists a,
  .artist_thumb {
    width: 100%;
    margin: 0 0 20px 0;
  }

  .artist_releases a {
    width: 50%;
  }

  footer#contact {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ==================================================
   CORRECTION FINALE - CENTRAGE SLIDERS HOMEPAGE
   À laisser tout en bas de kosen-responsive.css
================================================== */

body.home-page section#news,
body.home-page section#releases{
  width: 100%;
  max-width: 1100px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home-page #slider1,
body.home-page #slider1a {
  width: 100% !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home-page #slider1 > li,
body.home-page #slider1a > li {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* LATEST NEWS */
body.home-page #slider1 li.black {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 auto !important;
}

body.home-page #slider1 .img_news {
  float: none !important;
  width: 40% !important;
  margin: 0 !important;
}

body.home-page #slider1 .text_news {
  float: none !important;
  width: 60% !important;
  margin: 0 !important;
  padding: 30px !important;
}

/* LATEST RELEASES */
body.home-page #slider1a .slide_release {
  width: 100% !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;

  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px !important;
}

body.home-page #slider1a .slide_release a,
body.home-page #slider1a .slide_release a.left {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home-page #slider1a .slide_release a img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
}

body.home-page #slider1a .slide_release .clear,
body.home-page #slider1 .clear {
  display: none !important;
}
body.home-page section#news h2.titre,
body.home-page section#releases h2.titre,
body.home-page section#artists h2.titre {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: center !important;
}
body.home-page #news,
body.home-page #releases,
body.home-page #artists {
  width: 100% !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home-page #news > h2.titre,
body.home-page #releases > h2.titre,
body.home-page #artists > h2.titre {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
/* ==================================================
   MOBILE - SÉCURISER LE CLIC SUR LE MENU
================================================== */

header,
nav.main-menu {
  position: relative;
  z-index: 9999;
}

nav.main-menu a {
  position: relative;
  z-index: 10000;
  pointer-events: auto;
}

/* ==================================================
   MOBILE - LATEST RELEASES 4 VIGNETTES
================================================== */

@media screen and (max-width: 768px) {

  body.home-page #slider1a .slide_release {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    width: 100% !important;
  }

  body.home-page #slider1a .slide_release a,
  body.home-page #slider1a .slide_release a.left {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
  }

  body.home-page #slider1a .slide_release a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.home-page #slider1a .slide_release .clear {
    display: none !important;
  }
}/* ==================================================
   MOBILE - ARTISTS 3 VIGNETTES
================================================== */

@media screen and (max-width: 768px) {

  body.home-page #slider1b .slide_release {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.home-page #slider1b .slide_release a,
  body.home-page #slider1b .slide_release a.left {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    overflow: hidden;
    position: relative;
  }

  body.home-page #slider1b .slide_release a img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  body.home-page #slider1b .slide_release a h3 {
    position: absolute;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    padding: 6px 4px;
    margin: 0;
    font-size: 0.65rem;
    line-height: 1.1;
    background: rgba(0,0,0,0.85);
    color: #fff;
    opacity: 1;
    text-align: center;
    box-shadow: none;
  }

  body.home-page #slider1b .slide_release .clear {
    display: none !important;
  }
}