@charset "UTF-8";
/* ==========================================
   STYLES INDEX.PHP - CADETS ST-JEAN
   Template standard pour toutes les pages
   ========================================== */
/* ==========================================
   STRUCTURE PRINCIPALE
   ========================================== */
.main-content {
  min-height: 100vh;
  background: #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.main-column {
  min-width: 0;
}

/* ==========================================
   EN-TÊTES DE PAGE
   ========================================== */
.page-header {
  background: linear-gradient(135deg, #000000 0%, #414833 100%);
  color: #ffffff;
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
}
.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f8d73f;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-description,
.archive-description {
  font-size: 1.25rem;
  opacity: 0.9;
  line-height: 1.625;
  max-width: 600px;
  margin: 0 auto;
}

.search-results-count {
  font-size: 1.125rem;
  color: #ccd1d1;
  margin-top: 0.5rem;
}

.page-header-simple {
  text-align: center;
  padding: 2rem 0 1.5rem;
  border-bottom: 3px solid #d5a837;
  margin-bottom: 2rem;
}
.page-header-simple .page-title {
  font-size: 1.875rem;
  color: #000000;
  text-shadow: none;
}

/* ==========================================
   ARTICLES ET PAGES INDIVIDUELS
   ========================================== */
.single-post-article,
.single-page-article {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #ccd1d1 100%);
  border-bottom: 1px solid #e5e7eb;
}
.article-header .article-title {
  font-size: 1.875rem;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.article-date,
.article-author {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
}

.article-categories {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.article-categories a {
  color: #d5a837;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s ease-in-out;
}
.article-categories a:hover {
  color: #f8d73f;
  text-decoration: underline;
}

.meta-icon {
  font-size: 1rem;
  opacity: 0.8;
}

.article-featured-image,
.page-featured-image {
  margin-bottom: 1.5rem;
}
.article-featured-image .featured-img,
.page-featured-image .featured-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.article-content,
.page-content {
  padding: 1.5rem 2rem 2rem;
  line-height: 1.625;
  font-size: 1.125rem;
}
.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.article-content h2,
.page-content h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid #d5a837;
  padding-bottom: 0.5rem;
}
.article-content h3,
.page-content h3 {
  font-size: 1.25rem;
}
.article-content h4,
.page-content h4 {
  font-size: 1.125rem;
}
.article-content p,
.page-content p {
  margin-bottom: 1rem;
}
.article-content ul, .article-content ol,
.page-content ul,
.page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.article-content li,
.page-content li {
  margin-bottom: 0.25rem;
}
.article-content blockquote,
.page-content blockquote {
  background: #f3f4f6;
  border-left: 4px solid #d5a837;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 0.25rem 0.25rem 0;
}
.article-content blockquote p:last-child,
.page-content blockquote p:last-child {
  margin-bottom: 0;
}
.article-content a,
.page-content a {
  color: #d5a837;
  font-weight: 500;
  transition: 0.2s ease-in-out;
}
.article-content a:hover,
.page-content a:hover {
  color: #f8d73f;
  text-decoration: underline;
}
.article-content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.375rem;
  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;
}

.page-links {
  text-align: center;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
}
.page-links .page-links-title {
  font-weight: 600;
  color: #000000;
  margin-right: 0.5rem;
}
.page-links .page-number {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  text-decoration: none;
  color: #374151;
  transition: 0.2s ease-in-out;
}
.page-links .page-number:hover, .page-links .page-number.current {
  background: #d5a837;
  color: #ffffff;
  border-color: #d5a837;
}

.article-footer {
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.article-tags .tags-label {
  font-weight: 500;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.article-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.article-tags .tag-list li {
  margin: 0;
}
.article-tags .tag-list a {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  font-size: 0.875rem;
  transition: 0.2s ease-in-out;
}
.article-tags .tag-list a:hover {
  background: #d5a837;
  color: #ffffff;
  border-color: #d5a837;
}

/* ==========================================
   NAVIGATION ENTRE ARTICLES
   ========================================== */
.post-navigation {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #ccd1d1 100%);
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  display: flex;
}
.post-navigation .nav-next {
  justify-content: flex-end;
}
.post-navigation .nav-link {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #ffffff;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  max-width: 250px;
}
.post-navigation .nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.post-navigation .nav-direction {
  font-size: 0.875rem;
  color: #d5a837;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.post-navigation .nav-title {
  color: #000000;
  font-weight: 500;
  line-height: 1.25;
}

/* ==========================================
   LISTE D'ARTICLES (BLOG, ARCHIVES)
   ========================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.post-card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: 0.2s ease-in-out;
  border: 1px solid #e5e7eb;
}
.post-card:hover {
  transform: translateY(-4px);
  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;
}

.post-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.post-thumbnail.placeholder {
  background: linear-gradient(135deg, #0a4d6b 0%, #347c94 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-thumbnail.placeholder .placeholder-icon {
  font-size: 4rem;
  color: #ffffff;
  opacity: 0.7;
}
.post-thumbnail a {
  display: block;
  width: 100%;
  height: 100%;
}
.post-thumbnail .post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s ease-in-out;
}
.post-thumbnail:hover .post-img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
}

.post-header {
  margin-bottom: 1rem;
}
.post-header .post-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.post-header .post-title a {
  color: #000000;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}
.post-header .post-title a:hover {
  color: #d5a837;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}
.post-meta .post-date {
  font-weight: 500;
}
.post-meta .post-categories a {
  color: #d5a837;
  text-decoration: none;
  font-weight: 500;
}
.post-meta .post-categories a:hover {
  color: #f8d73f;
}

.post-excerpt {
  color: #374151;
  line-height: 1.625;
  margin-bottom: 1rem;
}
.post-excerpt p:last-child {
  margin-bottom: 0;
}

.post-footer {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}
.post-footer .read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #d5a837;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease-in-out;
}
.post-footer .read-more-link:hover {
  color: #f8d73f;
  gap: 0.5rem;
}
.post-footer .read-more-link:hover .link-arrow {
  transform: translateX(2px);
}
.post-footer .read-more-link .link-arrow {
  transition: 0.2s ease-in-out;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
}
.pagination-nav .page-numbers {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #374151;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: 0.2s ease-in-out;
  font-weight: 500;
}
.pagination-nav .page-numbers:hover, .pagination-nav .page-numbers.current {
  background: #d5a837;
  color: #ffffff;
  border-color: #d5a837;
  transform: translateY(-1px);
}
.pagination-nav .page-numbers.prev, .pagination-nav .page-numbers.next {
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.pagination-nav .page-numbers.dots {
  background: transparent;
  border: none;
  color: #6b7280;
}
.pagination-nav .page-numbers.dots:hover {
  background: transparent;
  color: #6b7280;
  transform: none;
}

/* ==========================================
   SIDEBAR
   ========================================== */
.sidebar {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 2rem;
}

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

.search-widget .search-form .search-input-group {
  display: flex;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.search-widget .search-form .search-input-group .search-field {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-right: none;
  font-size: 1rem;
}
.search-widget .search-form .search-input-group .search-field:focus {
  outline: none;
  border-color: #d5a837;
}
.search-widget .search-form .search-input-group .search-submit {
  padding: 0.75rem;
  background: #d5a837;
  border: none;
  color: #ffffff;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.search-widget .search-form .search-input-group .search-submit:hover {
  background: #f8d73f;
}
.search-widget .search-form .search-input-group .search-submit .search-icon {
  font-size: 1.125rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  margin-bottom: 0.5rem;
}
.category-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  color: #374151;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: 0.2s ease-in-out;
}
.category-list li a:hover {
  background: #d5a837;
  color: #ffffff;
  transform: translateX(4px);
}

.recent-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-posts-list .recent-post-item {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}
.recent-posts-list .recent-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.recent-posts-list .recent-post-item .recent-post-link {
  display: block;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}
.recent-posts-list .recent-post-item .recent-post-link:hover {
  transform: translateX(4px);
}
.recent-posts-list .recent-post-item .recent-post-link:hover .recent-post-title {
  color: #d5a837;
}
.recent-posts-list .recent-post-item .recent-post-title {
  color: #000000;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.25rem;
  display: block;
  transition: 0.2s ease-in-out;
}
.recent-posts-list .recent-post-item .recent-post-date {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ==========================================
   SECTIONS SANS CONTENU
   ========================================== */
.no-content-section {
  padding: 4rem 0;
  background: #f3f4f6;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.no-content-wrapper {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.no-content-wrapper .no-results-icon,
.no-content-wrapper .error-icon,
.no-content-wrapper .no-posts-icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}
.no-content-wrapper h1 {
  font-size: 1.875rem;
  color: #000000;
  margin-bottom: 1rem;
  font-weight: 700;
}
.no-content-wrapper p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.search-again {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.search-again h3 {
  color: #000000;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.search-again .search-input-group-large {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.search-again .search-input-group-large .search-field-large {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-right: none;
  font-size: 1rem;
}
.search-again .search-input-group-large .search-field-large:focus {
  outline: none;
  border-color: #d5a837;
}
.search-again .search-input-group-large .search-submit-large {
  padding: 0.75rem 1rem;
  background: #d5a837;
  border: none;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.search-again .search-input-group-large .search-submit-large:hover {
  background: #f8d73f;
}

.suggested-actions h3 {
  color: #000000;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.suggested-actions .action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
/* Pour les listes d'articles seulement, on peut ajouter une sidebar */
@media (min-width: 1024px) {
  .content-grid.with-sidebar {
    grid-template-columns: 2fr 1fr;
    max-width: 1400px;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
@media (max-width: 1024px) {
  .content-grid {
    gap: 1.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-navigation .nav-next {
    justify-content: flex-start;
  }

  .post-navigation .nav-link {
    max-width: none;
  }
}
@media (max-width: 768px) {
  .page-title {
    font-size: 1.875rem;
  }

  .page-description,
.archive-description {
    font-size: 1.125rem;
  }

  .article-header {
    padding: 1.5rem 1rem 0.75rem;
  }
  .article-header .article-title {
    font-size: 1.5rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .article-content,
.page-content {
    padding: 1rem;
    font-size: 1rem;
  }
  .article-content h2,
.page-content h2 {
    font-size: 1.25rem;
  }

  .posts-grid {
    gap: 1rem;
  }

  .post-card {
    margin-bottom: 1rem;
  }

  .post-content {
    padding: 1rem;
  }

  .sidebar {
    padding: 1rem;
    position: static;
  }

  .pagination-nav {
    gap: 0.25rem;
  }
  .pagination-nav .page-numbers {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 640px) {
  .content-section {
    padding: 1rem 0;
  }

  .page-header {
    padding: 2rem 0 1.5rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .post-thumbnail {
    height: 150px;
  }

  .article-header .article-title {
    font-size: 1.25rem;
  }

  .no-content-wrapper .no-results-icon,
.no-content-wrapper .error-icon,
.no-content-wrapper .no-posts-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  .no-content-wrapper h1 {
    font-size: 1.5rem;
  }
  .no-content-wrapper p {
    font-size: 1rem;
  }

  .suggested-actions .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .search-again .search-input-group-large {
    flex-direction: column;
    border-radius: 0.25rem;
  }
  .search-again .search-input-group-large .search-field-large,
.search-again .search-input-group-large .search-submit-large {
    border-radius: 0.25rem;
    border: 1px solid #d1d5db;
  }
  .search-again .search-input-group-large .search-field-large {
    margin-bottom: 0.5rem;
  }
}
/* ==========================================
   ANIMATIONS ET INTERACTIONS
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
  .post-card,
.nav-link,
.widget a {
    transition: all 0.2s ease-in-out;
  }

  .post-card:hover {
    animation: cardHover 0.3s ease;
  }
}
@keyframes cardHover {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(-4px);
  }
}
/* ==========================================
   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;
}

/* Focus pour l'accessibilité */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #f8d73f;
  outline-offset: 2px;
}

/* Mode sombre (préférences utilisateur) */
@media (prefers-color-scheme: dark) {
  .sidebar {
    background: #eaedf1;
  }

  .widget .search-field {
    background: #ffffff;
  }
}
/* Styles d'impression */
@media print {
  .sidebar,
.post-navigation,
.pagination-nav,
.search-widget {
    display: none !important;
  }

  .content-grid {
    grid-template-columns: 1fr !important;
  }

  .post-card,
.single-post-article {
    box-shadow: none !important;
    border: 1px solid #d1d5db !important;
  }

  a {
    color: #000000 !important;
    text-decoration: underline !important;
  }
}

/*# sourceMappingURL=index.css.map */
