/* RADIO CALADE — AUTRES ACTUALITES V3 */

.calade-other-news {
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 24px 65px;
}

.calade-other-heading {
  margin-bottom: 22px;
}

.calade-other-heading span {
  color: #A40039;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.calade-other-heading h2 {
  color: #63102E;
  font-size: clamp(28px,3vw,40px);
  line-height: 1.15;
  margin: 7px 0 0;
}

.calade-other-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.calade-other-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: block;
  height: 240px;
  border-radius: 17px;
  background: #321820;
  box-shadow: 0 10px 26px #46142420;
  text-decoration: none;
  color: #fff;
}

.calade-other-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.calade-other-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}

.calade-other-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(23,8,17,.03) 0%,
    rgba(23,8,17,.10) 30%,
    rgba(23,8,17,.65) 69%,
    rgba(23,8,17,.95) 100%
  );
}

.calade-other-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 19px;
}

.calade-other-meta {
  color: #FFD35B;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  margin-bottom: 9px;
  font-size: 11px;
}

.calade-other-meta strong {
  text-transform: uppercase;
  letter-spacing: .03em;
}

.calade-other-meta time {
  color: #FFD35B;
}

.calade-other-content h3 {
  color: white;
  font-size: clamp(16px,1.3vw,20px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.calade-other-card:focus-visible {
  outline: 3px solid #EA7134;
  outline-offset: 3px;
}

@media (hover:hover) and (pointer:fine) {
  .calade-other-card:hover img {
    transform: scale(1.035);
  }
}

@media(max-width:1000px) {
  .calade-other-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media(max-width:650px) {
  .calade-other-news {
    padding: 18px 14px 45px;
  }
  .calade-other-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calade-other-card {
    height: 210px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .calade-other-photo img {
    transition: none;
  }
}


/* CALADE_OTHER_IMAGE_FIT_V1 */

.calade-other-news .calade-other-photo {
    background: #301922;
    overflow: hidden;
}

.calade-other-news .calade-other-photo img.calade-other-backdrop,
.calade-other-news .calade-other-photo img.calade-other-foreground {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Arrière-plan harmonisé */
.calade-other-news .calade-other-photo img.calade-other-backdrop {
    z-index: 0;
    object-fit: cover;
    filter: blur(20px) brightness(.52);
    transform: scale(1.12);
}

/* Image principale */
.calade-other-news .calade-other-photo img.calade-other-foreground {
    z-index: 1;
    object-position: center center;
}

/* Photographies paysage compatibles : plein cadre */
.calade-other-news .calade-other-fit-cover
.calade-other-photo img.calade-other-foreground {
    object-fit: cover;
    object-position: center 42%;
}

.calade-other-news .calade-other-fit-cover
.calade-other-photo img.calade-other-backdrop {
    display: none;
}

/* Portrait, carré ou paysage très large : image entière */
.calade-other-news .calade-other-fit-contain
.calade-other-photo img.calade-other-foreground {
    object-fit: contain;
    object-position: center center;
}

/* L'animation préserve le cadrage */
@media (hover:hover) and (pointer:fine) {
    .calade-other-news .calade-other-card:hover
    .calade-other-photo img.calade-other-foreground {
        transform: scale(1.015);
    }

    .calade-other-news .calade-other-card:hover
    .calade-other-photo img.calade-other-backdrop {
        transform: scale(1.12);
    }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion:reduce) {
    .calade-other-news .calade-other-photo img {
        transition: none !important;
    }
}

/* =========================================================
   CALADE OTHER NEWS — AFFINAGE VISUEL V2
   ========================================================= */

.calade-other-news .calade-other-card {
    position: relative;
    overflow: hidden;
}

.calade-other-news .calade-other-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #5b1531 0%, #2d1f3d 40%, #1a1524 100%);
}

.calade-other-news .calade-other-photo img.calade-other-backdrop,
.calade-other-news .calade-other-photo img.calade-other-foreground {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* arrière-plan par défaut */
.calade-other-news .calade-other-photo img.calade-other-backdrop {
    z-index: 0;
    object-fit: cover;
    filter: blur(24px) brightness(.72) saturate(1.02);
    transform: scale(1.14);
}

/* image principale */
.calade-other-news .calade-other-photo img.calade-other-foreground {
    z-index: 1;
    transition: transform .35s ease, opacity .35s ease;
}

/* paysage photo classique */
.calade-other-news .calade-other-fit-cover .calade-other-photo img.calade-other-foreground {
    object-fit: cover;
    object-position: center 38%;
}

.calade-other-news .calade-other-fit-cover .calade-other-photo img.calade-other-backdrop {
    display: none;
}

/* portrait / affiche / image carrée */
.calade-other-news .calade-other-fit-contain .calade-other-photo img.calade-other-foreground {
    object-fit: contain;
    object-position: center center;
}

/* bannière très panoramique type Calade Outdoor */
.calade-other-news .calade-other-fit-banner .calade-other-photo {
    background:
        linear-gradient(180deg, rgba(243,178,49,.88) 0%, rgba(230,122,46,.70) 35%, rgba(95,22,50,.88) 100%),
        linear-gradient(135deg, #f0b536 0%, #e86e2d 45%, #751b45 100%);
}

.calade-other-news .calade-other-fit-banner .calade-other-photo img.calade-other-backdrop {
    display: none;
}

.calade-other-news .calade-other-fit-banner .calade-other-photo img.calade-other-foreground {
    object-fit: contain;
    object-position: center center;
}

/* voile global plus léger au centre pour mieux voir les visages */
.calade-other-news .calade-other-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(20, 10, 20, 0.18) 0%,
            rgba(20, 10, 20, 0.05) 24%,
            rgba(20, 10, 20, 0.02) 46%,
            rgba(20, 10, 20, 0.16) 68%,
            rgba(20, 10, 20, 0.52) 100%
        );
}

/* renfort sombre en bas, derrière le titre */
.calade-other-news .calade-other-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(18, 8, 18, 0.00) 0%,
        rgba(18, 8, 18, 0.22) 35%,
        rgba(18, 8, 18, 0.82) 100%
    );
}

/* contenu au-dessus des voiles */
.calade-other-news .calade-other-card > *:not(.calade-other-photo) {
    position: relative;
    z-index: 4;
}

/* auteur + date plus fins et mieux espacés */
.calade-other-news .calade-other-meta,
.calade-other-news .calade-other-author-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.2;
}

.calade-other-news .calade-other-author,
.calade-other-news .calade-other-date {
    color: #ffd34d;
    font-size: .92rem;
}

.calade-other-news .calade-other-date {
    font-weight: 500;
    opacity: .96;
}

.calade-other-news .calade-other-title {
    text-shadow: 0 2px 8px rgba(0,0,0,.30);
}

/* léger zoom au survol */
@media (hover:hover) and (pointer:fine) {
    .calade-other-news .calade-other-card:hover .calade-other-photo img.calade-other-foreground {
        transform: scale(1.02);
    }
}

/* accessibilité */
@media (prefers-reduced-motion: reduce) {
    .calade-other-news .calade-other-photo img.calade-other-foreground {
        transition: none;
    }
}


/* CALADE_OTHER_NEWS_LAYOUT_FIX_V3 */

/* Conserver la taille et les arrondis des cartes */
.calade-other-news .calade-other-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 240px;
    border-radius: 17px;
    background: #321820;
}

/* Conteneur des images */
.calade-other-news .calade-other-photo {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    background: #321820;
}

/* Les deux couches occupent la carte */
.calade-other-news .calade-other-photo img.calade-other-backdrop,
.calade-other-news .calade-other-photo img.calade-other-foreground {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Fond discret et harmonisé */
.calade-other-news .calade-other-photo img.calade-other-backdrop {
    display: block !important;
    object-fit: cover !important;
    object-position: center;
    filter: blur(22px) brightness(.50) saturate(.90);
    transform: scale(1.12);
    z-index: 0;
}

/* Image originale toujours entière */
.calade-other-news .calade-other-photo img.calade-other-foreground {
    object-fit: contain !important;
    object-position: center !important;
    transform: none;
    z-index: 1;
}

/* Éviter tout voile au milieu des photographies */
.calade-other-news .calade-other-card::before {
    display: none !important;
}

/* Dégradé uniquement vers le bas */
.calade-other-news .calade-other-card::after {
    content: "";
    display: block;
    position: absolute;
    inset: auto 0 0;
    height: 52%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(20,8,16,0) 0%,
        rgba(20,8,16,.35) 42%,
        rgba(20,8,16,.92) 100%
    );
}

/* IMPORTANT : remettre le texte en bas */
.calade-other-news .calade-other-card .calade-other-content {
    position: absolute !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 4 !important;
    display: block;
    padding: 19px 20px 20px;
    background: transparent;
}

/* Auteurs et dates en jaune */
.calade-other-news .calade-other-meta,
.calade-other-news .calade-other-meta strong,
.calade-other-news .calade-other-meta time {
    color: #FFD35B;
    font-size: 11px;
}

/* Titres blancs lisibles */
.calade-other-news .calade-other-content h3 {
    color: #FFFFFF;
    font-size: clamp(16px,1.3vw,20px);
    line-height: 1.27;
    font-weight: 800;
    margin: 8px 0 0;
    text-shadow: 0 2px 8px rgba(0,0,0,.32);
}

/* Pas de zoom : ne jamais couper les images */
@media (hover:hover) and (pointer:fine) {
    .calade-other-news .calade-other-card:hover
    .calade-other-photo img.calade-other-foreground {
        transform: none !important;
    }
}

@media (max-width:650px) {
    .calade-other-news .calade-other-card {
        height: 210px;
    }

    .calade-other-news .calade-other-card
    .calade-other-content {
        padding: 15px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .calade-other-news .calade-other-photo img {
        transition: none !important;
    }
}
\n
/* CALADE_MOBILE_POLISH_V1 */

@media (max-width: 650px) {
  .calade-other-news {
    padding-top: 10px;
    padding-bottom: 36px;
  }

  .calade-other-heading {
    margin-bottom: 17px;
  }

  .calade-other-grid {
    gap: 12px;
  }

  .calade-other-news .calade-other-card {
    height: 220px;
  }

  .calade-other-news .calade-other-card
  .calade-other-content {
    padding: 16px;
  }

  .calade-other-news .calade-other-content h3 {
    font-size: 17px;
    line-height: 1.25;
  }
}
