/* ===================================================================
   SIRRI-NA & CO. LEGAL | DEDICATED BLOG & INSIGHTS STYLESHEET
   Harmonized with the Firm's Sovereign Navy & Copper Terracotta Palette
   =================================================================== */

/* HERO DU BLOG (Logé dans .hero-card-shell avec .hero-grid-pattern-bg) */
.blog-hero-shell {
  padding: 24px 36px 56px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.blog-hero-section {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 38px 16px 10px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  color: #FFFFFF;
}

.blog-hero-section::before,
.blog-hero-section::after {
  display: none;
}

.blog-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.blog-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: var(--gold-highlight);
}

.blog-breadcrumb-sep {
  opacity: 0.4;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 77, 27, 0.25);
  color: #FEE7B8;
  border: 1px solid rgba(168, 77, 27, 0.5);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.blog-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.blog-hero-subtitle {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 36px;
}

/* BARRE DE RECHERCHE & FILTRES */
.blog-controls-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
}

.blog-search-box {
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 16px 22px 16px 52px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.blog-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.blog-search-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--copper-terracotta);
  box-shadow: 0 0 20px rgba(168, 77, 27, 0.4);
}

.blog-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.blog-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-tab-btn.active {
  background: var(--copper-terracotta);
  color: #FFFFFF;
  border-color: var(--copper-terracotta);
  box-shadow: 0 4px 14px rgba(168, 77, 27, 0.4);
}

/* SECTION GRILLE DES ARTICLES */
.blog-feed-section {
  padding: 20px 0 60px;
}

.feed-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.feed-count-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ARTICLE VEDETTE (FEATURED) */
.featured-article-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(168, 77, 27, 0.16);
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.featured-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--navy-deep);
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-article-card:hover .featured-img {
  transform: scale(1.05);
}

.featured-body {
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper-terracotta);
  margin-bottom: 12px;
}

.featured-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 16px;
  transition: color 0.25s ease;
}

.featured-article-card:hover .featured-title {
  color: var(--copper-terracotta);
}

.featured-excerpt {
  font-size: 0.98rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 26px;
}

/* GRILLE STANDARD D'ARTICLES */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(168, 77, 27, 0.12);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.blog-item-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 77, 27, 0.35);
  box-shadow: var(--shadow-float);
}

.blog-item-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--navy-deep);
}

.blog-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-item-card:hover .blog-item-img {
  transform: scale(1.06);
}

.blog-item-body {
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--copper-terracotta);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-item-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.38;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.blog-item-card:hover .blog-item-title {
  color: var(--copper-terracotta);
}

.blog-item-excerpt {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.blog-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
  margin-top: auto;
}

.btn-open-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--copper-terracotta);
  cursor: pointer;
  padding: 0;
  transition: gap 0.25s ease;
}

.btn-open-article:hover {
  gap: 12px;
  color: var(--navy-deep);
}

/* ===================================================================
   MODALE DE LECTURE COMPLÈTE DE L'ARTICLE (DEEP READER)
   =================================================================== */
.article-reader-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 16, 36, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 20px !important;
}

.article-reader-overlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.article-reader-dialog {
  background: #FFFFFF;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.98);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(168, 77, 27, 0.25);
}

.article-reader-overlay.open .article-reader-dialog {
  transform: translateY(0) scale(1);
}

.reader-close-btn {
  position: sticky;
  top: 18px;
  right: 18px;
  float: right;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(168, 77, 27, 0.2);
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.reader-close-btn:hover {
  background: var(--copper-terracotta);
  color: #FFFFFF;
  transform: rotate(90deg);
}

.reader-hero-media {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
}

.reader-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reader-content-body {
  padding: 38px 48px 50px;
}

.reader-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.reader-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-bottom: 20px;
}

.reader-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-hero-card);
  border: 1px solid rgba(168, 77, 27, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.reader-author-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reader-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--copper-terracotta);
}

.reader-executive-summary {
  background: linear-gradient(135deg, rgba(250, 242, 236, 0.8) 0%, rgba(254, 231, 184, 0.3) 100%);
  border-left: 4px solid var(--copper-terracotta);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
}

.reader-executive-summary h4 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper-terracotta);
  margin-bottom: 8px;
}

.reader-executive-summary p {
  font-size: 0.98rem;
  color: var(--navy-deep);
  line-height: 1.68;
  margin: 0;
}

.reader-article-text {
  font-size: 1.02rem;
  line-height: 1.82;
  color: #334155;
}

.reader-article-text h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 34px 0 14px;
}

.reader-article-text p {
  margin-bottom: 18px;
}

.reader-article-text ul {
  margin: 16px 0 24px 24px;
}

.reader-article-text li {
  margin-bottom: 10px;
  color: #475569;
}

.reader-cta-box {
  margin-top: 42px;
  padding: 30px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, #001024 100%);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.reader-cta-box h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.reader-cta-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .featured-article-card {
    grid-template-columns: 1fr;
  }
  .featured-media {
    min-height: 240px;
  }
  .blog-cards-grid {
    grid-template-columns: 1fr;
  }
  .reader-content-body {
    padding: 24px 20px;
  }
  .reader-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .blog-hero-shell {
    padding: 16px 16px 42px;
    border-radius: var(--radius-lg);
  }
  .blog-hero-section {
    padding: 24px 8px 0;
  }
}

