/* ─── Colo Frontend Styles ─────────────────────────────────────────── */

/* ── Card single ── */
.colo-card {
  max-width: 900px;
  margin: 0 auto;
  font-family: inherit;
}

.colo-badge-recommande {
  display: inline-block;
  background: #cc0000;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: .5px;
}

.colo-featured-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.colo-title {
  font-size: 28px;
  margin-bottom: 12px;
}

/* Labels */
.colo-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.colo-label {
  background: #f0f7ff;
  border: 1px solid #b3d4f7;
  color: #005baa;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Quick info */
.colo-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.colo-qi-item {
  font-size: 14px;
  color: #444;
}

.colo-qi-item a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
}

/* Description */
.colo-description {
  line-height: 1.7;
  margin-bottom: 24px;
  color: #333;
}

/* Highlights */
.colo-highlights {
  background: #fffbe6;
  border: 1px solid #f0de8a;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.colo-highlights h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.colo-highlights ul {
  margin: 0;
  padding-left: 20px;
}

.colo-highlights li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Gallery */
.colo-gallery {
  margin-bottom: 28px;
}

.colo-gallery h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.colo-gallery-grid-front {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.colo-gallery-link img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .2s, opacity .2s;
}

.colo-gallery-link:hover img {
  transform: scale(1.03);
  opacity: .9;
}

/* Videos */
.colo-videos {
  margin-bottom: 28px;
}

.colo-video-embed {
  margin-bottom: 16px;
}

.colo-video-embed iframe {
  width: 100%;
  border-radius: 10px;
}

/* Convois */
.colo-convois {
  background: #f0fff4;
  border: 1px solid #a8e6bf;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
}

.colo-convois ul {
  margin: 6px 0 0;
  padding-left: 18px;
  columns: 2;
}

/* FAQ */
.colo-faq-section {
  margin-bottom: 28px;
}

.colo-faq-section h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.colo-faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}

.colo-faq-item summary {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  background: #f9f9f9;
  list-style: none;
  position: relative;
}

.colo-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  font-size: 20px;
  line-height: 1;
  transition: transform .2s;
}

.colo-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.colo-faq-answer {
  padding: 14px 16px;
  line-height: 1.6;
  font-size: 14px;
  color: #444;
}

/* Inscription */
.colo-inscription-wrap {
  margin-bottom: 30px;
}

.colo-inscription-wrap h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.colo-inscription-wrap iframe {
  border-radius: 12px;
  border: 1px solid #ddd;
}

/* ── Liste grid ── */
.colo-liste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 20px 0;
}

.colo-liste-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.colo-liste-item:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.colo-liste-item.is-recommande {
  border-color: #f0b849;
}

.colo-liste-item .colo-badge-recommande {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 11px;
  padding: 3px 10px;
}

.colo-liste-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.colo-liste-body {
  padding: 16px;
}

.colo-liste-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.colo-liste-body h3 a {
  color: #23282d;
  text-decoration: none;
}

.colo-liste-body h3 a:hover {
  color: #0073aa;
}

.colo-liste-body p {
  margin: 4px 0;
  font-size: 13px;
  color: #666;
}

.colo-liste-dest {
  font-weight: 500;
  color: #444 !important;
}

.colo-btn-voir {
  display: inline-block;
  margin-top: 12px;
  background: #0073aa;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s;
}

.colo-btn-voir:hover {
  background: #005b8a;
}

/* ── Search widget ── */
.colo-recherche-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f5f7fa;
  border-radius: 10px;
  border: 1px solid #e0e4ea;
}

.colo-filter-select {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  background: #fff;
  cursor: pointer;
  min-width: 160px;
}

.colo-btn-reset {
  padding: 8px 16px;
  border: none;
  background: #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s;
}

.colo-btn-reset:hover {
  background: #d0d0d0;
}

#cr-results {
  transition: opacity .2s;
}

.colo-no-results {
  text-align: center;
  padding: 40px;
  color: #777;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 600px) {
  .colo-gallery-grid-front {
    grid-template-columns: repeat(2, 1fr);
  }
  .colo-featured-img img {
    height: 220px;
  }
  .colo-quick-info {
    flex-direction: column;
    gap: 6px;
  }
  .colo-liste-grid {
    grid-template-columns: 1fr;
  }
  .colo-recherche-filters {
    flex-direction: column;
  }
  .colo-filter-select {
    width: 100%;
  }
}
