/* Theme 10 - Modern Grid Style */

body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background-color: #fafafa;
  color: #1a1a1a;
  font-weight: 300;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #000000;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* Titres blancs dans les sections sombres */
.bg-dark h1,
.bg-dark .display-4,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6 {
  color: #ffffff !important;
}

.bg-dark .text-white h1,
.bg-dark .text-white .display-4 {
  color: #ffffff !important;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

.blog-header-logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.02em;
}

.theme-10 {
  max-width: 1600px;
  padding: 2rem;
}

/* Header Grid */
.header-theme10 {
  background: #ffffff;
  border-bottom: 2px solid #000000;
  padding: 1.5rem 0;
  margin-bottom: 3rem;
}

.header-theme10.sticky-top {
  background: #ffffff !important;
}

.header-theme10 .nav-link {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header-theme10 .nav-link:hover {
  color: #000000;
  border-bottom-color: #000000;
}

/* Hero Grid */
.hero-section {
  background: #000000 !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 4rem;
  overflow: hidden;
}

.hero-section.bg-dark {
  background: #000000 !important;
}

.hero-section .row {
  margin: 0;
}

.hero-section .col-lg-6:first-child {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  min-height: 500px;
}

.hero-section .col-lg-6:last-child {
  padding: 0;
}

.hero-section h1 {
  font-size: 3rem !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.hero-section h1 a {
  color: #ffffff !important;
}

.hero-section .lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.9) !important;
}

.hero-section .badge {
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 700;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  font-size: 0.85rem;
}

@media (max-width: 992px) {
  .hero-section .col-lg-6:first-child {
    min-height: auto;
    padding: 3rem 2rem !important;
  }
  
  .hero-section h1 {
    font-size: 2.25rem !important;
  }
}

/* Cards Grid */
.card {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card.border-0 {
  border: 1px solid #e0e0e0 !important;
}

.card-title {
  color: #000000 !important;
  font-weight: 700;
  font-size: 1.1rem !important;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.card-title a {
  color: #000000 !important;
}

.card-title a:hover {
  color: #333333 !important;
}

.card-text {
  color: #666666 !important;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Article Items Grid */
.article-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e0e0e0 !important;
  padding: 2rem 0 !important;
  margin-bottom: 0 !important;
  display: block;
}

.article-item:last-child {
  border-bottom: none !important;
}

.article-item:hover {
  box-shadow: none;
  transform: none;
}

.article-item .row {
  margin: 0;
}

.article-item img {
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.article-item:hover img {
  transform: scale(1.02);
}

.article-item h3 {
  font-size: 2rem !important;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.article-item h3 a {
  color: #000000 !important;
  text-decoration: none;
}

.article-item h3 a:hover {
  color: #333333 !important;
  text-decoration: underline;
}

.article-item .badge {
  background: #6c757d !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  border-radius: 0;
  font-size: 0.75rem;
}

.article-item .lead {
  font-size: 1.1rem !important;
  line-height: 1.7;
  color: #555555 !important;
  margin-bottom: 1rem;
}

.article-item .text-muted {
  color: #888888 !important;
}

/* Featured Grid - Override pour les cards "à la une" */
.mb-5 .row.g-4 {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.mb-5 .row.g-4 .col-lg-3 {
  flex: 0 0 auto;
  width: 300px;
  max-width: 100%;
}

.mb-5 .row.g-4 .card {
  min-width: 280px;
}

.mb-5 .row.g-4 .card-img-top {
  height: 200px !important;
  object-fit: cover;
}

.mb-5 .row.g-4 .card-body {
  padding: 1.25rem;
}

.mb-5 .row.g-4 .card-title {
  font-size: 1rem !important;
  margin-bottom: 0.5rem;
}

.mb-5 .row.g-4 .card-text {
  font-size: 0.875rem !important;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .mb-5 .row.g-4 .col-lg-3 {
    width: calc(25% - 1.125rem);
  }
}

/* Buttons Grid */
.btn {
  border-radius: 0 !important;
  font-weight: 600 !important;
  padding: 0.75rem 2rem;
  border: 2px solid;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.btn.btn-dark,
.btn-dark {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.btn.btn-dark:hover,
.btn-dark:hover {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

.btn.btn-outline-dark,
.btn-outline-dark {
  border-color: #000000 !important;
  color: #000000 !important;
  background: transparent !important;
}

.btn.btn-outline-dark:hover,
.btn-outline-dark:hover {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

.btn.btn-primary,
.btn-primary {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.btn.btn-primary:hover,
.btn-primary:hover {
  background: #ffffff !important;
  border-color: #000000 !important;
  color: #000000 !important;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

.btn.btn-outline-primary,
.btn-outline-primary {
  border-color: #000000 !important;
  color: #000000 !important;
  background: transparent !important;
}

.btn.btn-outline-primary:hover,
.btn-outline-primary:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

.btn.btn-light,
.btn-light {
  background: #ffffff !important;
  border-color: #000000 !important;
  color: #000000 !important;
}

.btn.btn-light:hover,
.btn-light:hover {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
  box-shadow: 4px 4px 0 #000000;
  transform: translate(-2px, -2px);
}

/* Aside Grid */
.theme-10 aside {
  background: #ffffff;
  border: 2px solid #000000;
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.theme-10 aside h4 {
  color: #000000;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #000000;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.theme-10 aside a {
  color: #1a1a1a;
  text-decoration: none;
}

.theme-10 aside a:hover {
  color: #000000;
  text-decoration: underline;
}

.theme-10 aside .list-unstyled li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.theme-10 aside .list-unstyled li:last-child {
  border-bottom: none;
}

/* Footer Grid */
footer {
  background: #000000;
  color: #ffffff;
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 2px solid #000000;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Pagination Grid */
.blog-pagination .btn {
  border-radius: 0;
}

/* Text Colors */
.text-muted {
  color: #666666 !important;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero-section .col-lg-6:first-child {
    padding: 2rem 1.5rem !important;
  }
  
  .hero-section h1 {
    font-size: 1.75rem !important;
  }
  
  .theme-10 {
    padding: 1rem;
  }
  
  .theme-10 aside {
    position: static;
    margin-top: 2rem;
  }
  
  .article-item h3 {
    font-size: 1.5rem !important;
  }
  
  .mb-5 .row.g-4 .col-lg-3 {
    width: 280px;
  }
}
