@charset "UTF-8";
/* ==========================================
   STYLES RESSOURCE INDIVIDUELLE - CADETS ST-JEAN
   ========================================== */
/* ==========================================
   VARIABLES SPÉCIFIQUES À LA RESSOURCE
   ========================================== */
/* ==========================================
   PAGE RESSOURCE INDIVIDUELLE
   ========================================== */
.single-resource-page {
  min-height: 100vh;
  background-color: #ffffff;
}

/* ==========================================
   HERO SECTION RESSOURCE
   ========================================== */
.resource-hero {
  position: relative;
  padding: 3rem 0 2rem;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(65, 72, 51, 0.8) 50%, rgba(10, 77, 107, 0.85) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
}
.hero-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f8d73f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.25;
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.875rem;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
}
.hero-content .hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 800px;
  margin-bottom: 1.5rem;
  line-height: 1.625;
}
@media (max-width: 768px) {
  .hero-content .hero-subtitle {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .breadcrumb {
    text-align: center;
  }
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
@media (max-width: 768px) {
  .breadcrumb-list {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .breadcrumb-list {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

.breadcrumb-item {
  font-size: 0.875rem;
}
.breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin: 0 0.5rem;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .breadcrumb-item:not(:last-child)::after {
    content: "↓";
    display: block;
    text-align: center;
    margin: 0;
  }
}
.breadcrumb-item.active span {
  color: #ccd1d1;
  font-weight: 500;
}

.breadcrumb-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
  transition: 0.2s ease-in-out;
}
.breadcrumb-link:hover {
  opacity: 1;
  color: #f8d73f;
}
.breadcrumb-link:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ==========================================
   MÉTADONNÉES HERO
   ========================================== */
.resource-meta-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .resource-meta-hero {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .resource-meta-hero {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #ccd1d1;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.meta-item .meta-icon {
  font-size: 1rem;
}
.meta-item time {
  font-weight: 500;
}

.resource-type-badge {
  background: #d5a837;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* ==========================================
   CONTAINER RESSOURCE
   ========================================== */
.resource-container {
  padding: 3rem 1rem 2rem;
}
@media (max-width: 1024px) {
  .resource-container {
    padding: 2rem 1rem 1.5rem;
  }
}
@media (max-width: 768px) {
  .resource-container {
    padding: 1.5rem 0.5rem;
  }
}

/* ==========================================
   LAYOUT RESSOURCE
   ========================================== */
.resource-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .resource-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================
   CONTENU PRINCIPAL
   ========================================== */
.resource-main-content {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.resource-main-content .content-wrapper {
  padding: 2rem;
}
@media (max-width: 768px) {
  .resource-main-content .content-wrapper {
    padding: 1.5rem;
  }
}
@media (max-width: 640px) {
  .resource-main-content .content-wrapper {
    padding: 1rem;
  }
}
.resource-main-content .content-wrapper h2, .resource-main-content .content-wrapper h3, .resource-main-content .content-wrapper h4, .resource-main-content .content-wrapper h5, .resource-main-content .content-wrapper h6 {
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.resource-main-content .content-wrapper h2:first-child, .resource-main-content .content-wrapper h3:first-child, .resource-main-content .content-wrapper h4:first-child, .resource-main-content .content-wrapper h5:first-child, .resource-main-content .content-wrapper h6:first-child {
  margin-top: 0;
}
.resource-main-content .content-wrapper h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #d5a837;
  padding-bottom: 0.5rem;
}
.resource-main-content .content-wrapper h3 {
  font-size: 1.25rem;
}
.resource-main-content .content-wrapper h4 {
  font-size: 1.125rem;
}
.resource-main-content .content-wrapper p {
  margin-bottom: 1rem;
  line-height: 1.625;
  color: #374151;
}
.resource-main-content .content-wrapper p:last-child {
  margin-bottom: 0;
}
.resource-main-content .content-wrapper ul, .resource-main-content .content-wrapper ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}
.resource-main-content .content-wrapper ul li, .resource-main-content .content-wrapper ol li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.resource-main-content .content-wrapper ul li:last-child, .resource-main-content .content-wrapper ol li:last-child {
  margin-bottom: 0;
}
.resource-main-content .content-wrapper ul {
  list-style-type: none;
}
.resource-main-content .content-wrapper ul li {
  position: relative;
  padding-left: 1rem;
}
.resource-main-content .content-wrapper ul li::before {
  content: "•";
  color: #d5a837;
  font-weight: bold;
  position: absolute;
  left: 0;
}
.resource-main-content .content-wrapper blockquote {
  background: #f9fafb;
  border-left: 4px solid #d5a837;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-style: italic;
  border-radius: 0 0.5rem 0.5rem 0;
}
.resource-main-content .content-wrapper blockquote p {
  margin-bottom: 0.5rem;
}
.resource-main-content .content-wrapper blockquote p:last-child {
  margin-bottom: 0;
}
.resource-main-content .content-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin: 1rem 0;
}
.resource-main-content .content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}
.resource-main-content .content-wrapper table th, .resource-main-content .content-wrapper table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}
.resource-main-content .content-wrapper table th {
  background: #f3f4f6;
  font-weight: 600;
  color: #000000;
}
.resource-main-content .content-wrapper table tr:hover {
  background: #f9fafb;
}

/* ==========================================
   SECTIONS FICHIERS ET LIENS
   ========================================== */
.resource-files,
.resource-links {
  margin-top: 2rem;
  padding: 2rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .resource-files,
.resource-links {
    padding: 1.5rem;
  }
}
@media (max-width: 640px) {
  .resource-files,
.resource-links {
    padding: 1rem;
  }
}

.files-header,
.links-header {
  margin-bottom: 1.5rem;
}

.files-title,
.links-title {
  font-size: 1.5rem;
  color: #000000;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}
@media (max-width: 640px) {
  .files-title,
.links-title {
    font-size: 1.25rem;
  }
}
.files-title .section-icon,
.links-title .section-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* ==========================================
   FICHIERS
   ========================================== */
.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  .files-grid {
    grid-template-columns: 1fr;
  }
}

.file-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}
.file-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #d5a837;
}
@media (max-width: 640px) {
  .file-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }
}

.file-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.file-icon-wrapper .file-icon {
  font-size: 2.5rem;
  display: block;
}
.file-icon-wrapper .file-extension {
  background: #d5a837;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

.file-info {
  flex-grow: 1;
}
.file-info .file-title {
  font-size: 1.125rem;
  color: #000000;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  line-height: 1.25;
}
.file-info .file-description {
  color: #4b5563;
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}
.file-info .file-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}
.file-info .file-meta .file-size {
  font-weight: 500;
}

.file-actions {
  flex-shrink: 0;
}
.file-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

/* ==========================================
   LIENS UTILES
   ========================================== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

.link-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
  color: inherit;
}
.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #d5a837;
  text-decoration: none;
  color: inherit;
}
.link-card:hover .link-arrow {
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .link-card {
    padding: 1rem;
  }
}

.link-icon {
  font-size: 2rem;
  flex-shrink: 0;
  color: #347c94;
}

.link-content {
  flex-grow: 1;
}
.link-content .link-title {
  font-size: 1.125rem;
  color: #000000;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  line-height: 1.25;
}
.link-content .link-description {
  color: #4b5563;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

.link-arrow {
  font-size: 1.25rem;
  color: #d5a837;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}

/* ==========================================
   TAGS
   ========================================== */
.resource-tags {
  margin-top: 2rem;
  padding: 2rem;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}
@media (max-width: 768px) {
  .resource-tags {
    padding: 1.5rem;
  }
}
@media (max-width: 640px) {
  .resource-tags {
    padding: 1rem;
  }
}

.tags-title {
  font-size: 1.125rem;
  color: #000000;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}
.tags-title .section-icon {
  font-size: 1.25rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  background: #ffffff;
  color: #000000;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: 2px solid #e5e7eb;
  transition: all 0.2s ease-in-out;
}
.tag-item:hover {
  background: #d5a837;
  color: #000000;
  border-color: #d5a837;
  transform: translateY(-1px);
}
.tag-item:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
}

/* ==========================================
   SIDEBAR
   ========================================== */
.resource-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (max-width: 1024px) {
  .resource-sidebar {
    order: -1;
  }
}

.sidebar-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}
@media (max-width: 640px) {
  .sidebar-card {
    padding: 1rem;
  }
}

.card-title {
  font-size: 1.125rem;
  color: #000000;
  margin: 0 0 1rem 0;
  font-weight: 600;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d5a837;
}

/* ==========================================
   ACTIONS RAPIDES
   ========================================== */
.actions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}
.action-btn:hover {
  background: #d5a837;
  color: #000000;
  border-color: #d5a837;
  text-decoration: none;
  transform: translateX(2px);
}
.action-btn:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
}
.action-btn .action-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* ==========================================
   NAVIGATION LINKS
   ========================================== */
.navigation-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.nav-link:hover {
  background: #347c94;
  color: #ffffff;
  border-color: #347c94;
  text-decoration: none;
  transform: translateX(2px);
}
.nav-link:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
}
.nav-link .nav-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* ==========================================
   RESSOURCES LIÉES
   ========================================== */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f9fafb;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  color: #000000;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.related-item:hover {
  background: #ffffff;
  border-color: #d5a837;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.related-item:hover .related-arrow {
  transform: translateX(2px);
}
.related-item:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
}

.related-content {
  flex-grow: 1;
}

.related-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  line-height: 1.25;
  color: #000000;
}

.related-date {
  font-size: 0.75rem;
  color: #6b7280;
}

.related-arrow {
  color: #d5a837;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}

/* ==========================================
   CARTE D'AIDE
   ========================================== */
.help-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #d5a837 0%, #f8d73f 100%);
  color: #000000;
  border: none;
}
.help-card .card-title {
  color: #000000;
  border-bottom-color: #000000;
}
.help-card p {
  margin: 0 0 1rem 0;
  line-height: 1.625;
}
.help-card .btn-outline {
  background: transparent;
  color: #000000;
  border-color: #000000;
}
.help-card .btn-outline:hover {
  background: #000000;
  color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
/* Tablettes */
@media (max-width: 1024px) {
  .resource-layout .resource-sidebar {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    display: grid;
    gap: 1rem;
  }
}
/* Tablettes moyennes */
@media (max-width: 768px) {
  .resource-hero {
    padding: 2.5rem 0 1.5rem;
    min-height: 400px;
  }

  .hero-content {
    text-align: center;
  }

  .resource-meta-hero {
    justify-content: center;
  }

  .files-grid,
.links-grid {
    grid-template-columns: 1fr;
  }

  .resource-sidebar {
    display: block;
  }
}
/* Mobiles */
@media (max-width: 640px) {
  .resource-hero {
    padding: 2rem 0 1rem;
    min-height: 300px;
  }

  .resource-meta-hero {
    flex-direction: column;
    align-items: center;
  }

  .file-card,
.link-card {
    flex-direction: column;
    text-align: center;
  }

  .file-actions,
.link-arrow {
    align-self: center;
  }

  .related-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .related-item .related-arrow {
    align-self: flex-end;
  }
}
/* ==========================================
   ANIMATIONS ET INTERACTIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resource-main-content {
  animation: fadeInUp 0.6s ease-out;
}

.sidebar-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.sidebar-card:nth-child(1) {
  animation-delay: 0.1s;
}

.sidebar-card:nth-child(2) {
  animation-delay: 0.2s;
}

.sidebar-card:nth-child(3) {
  animation-delay: 0.3s;
}

.sidebar-card:nth-child(4) {
  animation-delay: 0.4s;
}

.sidebar-card:nth-child(5) {
  animation-delay: 0.5s;
}

.file-card,
.link-card {
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.file-card:nth-child(1),
.link-card:nth-child(1) {
  animation-delay: 0.05s;
}

.file-card:nth-child(2),
.link-card:nth-child(2) {
  animation-delay: 0.1s;
}

.file-card:nth-child(3),
.link-card:nth-child(3) {
  animation-delay: 0.15s;
}

.file-card:nth-child(4),
.link-card:nth-child(4) {
  animation-delay: 0.2s;
}

.file-card:nth-child(5),
.link-card:nth-child(5) {
  animation-delay: 0.25s;
}

.file-card:nth-child(6),
.link-card:nth-child(6) {
  animation-delay: 0.3s;
}

.file-card:nth-child(7),
.link-card:nth-child(7) {
  animation-delay: 0.35s;
}

.file-card:nth-child(8),
.link-card:nth-child(8) {
  animation-delay: 0.4s;
}

.file-card:nth-child(9),
.link-card:nth-child(9) {
  animation-delay: 0.45s;
}

.file-card:nth-child(10),
.link-card:nth-child(10) {
  animation-delay: 0.5s;
}

/* ==========================================
   ÉTATS DE FOCUS ET ACCESSIBILITÉ
   ========================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-contrast: high) {
  .file-card,
.link-card,
.sidebar-card {
    border-width: 3px;
    border-color: #9ca3af;
  }

  .action-btn,
.nav-link,
.related-item {
    border-width: 2px;
    border-color: #9ca3af;
  }
}
/* ==========================================
   RÉDUCTION DES ANIMATIONS
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
*::before,
*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .file-card:hover,
.link-card:hover,
.action-btn:hover,
.nav-link:hover {
    transform: none;
  }
}
/* ==========================================
   MODE SOMBRE (SI SUPPORTÉ)
   ========================================== */
@media (prefers-color-scheme: dark) {
  .single-resource-page {
    background-color: #e4e7eb;
  }

  .resource-main-content,
.sidebar-card {
    background: #f7f7f7;
  }

  .file-card,
.link-card {
    background: #fafafa;
  }

  .resource-files,
.resource-links,
.resource-tags {
    background: #f0f2f5;
  }
}
/* ==========================================
   STYLES D'IMPRESSION
   ========================================== */
@media print {
  .resource-hero {
    background: none !important;
    color: #000000 !important;
    box-shadow: none !important;
  }

  .hero-background,
.hero-overlay {
    display: none !important;
  }

  .breadcrumb,
.resource-meta-hero,
.file-actions,
.resource-sidebar {
    display: none !important;
  }

  .resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-main-content,
.sidebar-card,
.file-card,
.link-card {
    box-shadow: none !important;
    border: 1px solid #9ca3af !important;
    break-inside: avoid;
    margin-bottom: 1rem;
  }

  .hero-content h1 {
    color: #000000 !important;
    text-shadow: none !important;
  }

  .files-title,
.links-title,
.tags-title {
    color: #000000 !important;
  }

  .file-icon-wrapper .file-extension,
.resource-type-badge,
.tag-item {
    background: #e5e7eb !important;
    color: #000000 !important;
  }
}

/*# sourceMappingURL=single-ressource.css.map */
