/* Article simple — extrait en V29. */

.single-article-wrapper {
 max-width: 820px;
 margin: 0 auto;
 padding: 1.5rem;
}

.article-breadcrumb {
 font-size: 12px;
 color: #555;
 margin-bottom: 1.5rem;
 display: flex;
 gap: 8px;
 align-items: center;
 flex-wrap: wrap;
}
.article-breadcrumb a {
 color: #888;
 text-decoration: none;
 transition: color 0.15s;
}
.article-breadcrumb a:hover {
 color: var(--gs-brand-red);
}
.bc-sep {
 color: #333;
}
.bc-current {
 color: #aaa;
}

.article-header {
 margin-bottom: 1.5rem;
 padding-bottom: 1.5rem;
 border-bottom: 1px solid #1e1e1e;
}

.article-cat-tag {
 display: inline-block;
 background: #1a1a1a;
 border: 1px solid #2a2a2a;
 border-left: 3px solid var(--gs-brand-red);
 color: var(--gs-brand-red);
 padding: 4px 12px;
 font-size: 11px;
 font-weight: 700;
 letter-spacing: 1.5px;
 text-transform: uppercase;
 border-radius: 3px;
 margin-bottom: 1rem;
}

.article-title-main {
 font-size: 32px;
 line-height: 1.25;
 color: #fff;
 font-weight: 700;
 margin: 0 0 1rem 0;
}

.article-excerpt {
 font-size: 17px;
 line-height: 1.6;
 color: #aaa;
 font-weight: 400;
 margin: 0 0 1.25rem 0;
 font-style: italic;
}

.article-meta-info {
 display: flex;
 gap: 10px;
 align-items: center;
 font-size: 13px;
 color: #666;
 flex-wrap: wrap;
}
.meta-sep {
 color: #2a2a2a;
}
.meta-author {
 color: #aaa;
 font-weight: 500;
}
.gs-meta-author-link {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 color: #ddd;
 text-decoration: none;
 border-radius: 999px;
 transition: color .15s, transform .15s;
}
.gs-meta-author-link:hover {
 color: var(--gs-brand-red);
 transform: translateY(-1px);
}
.gs-meta-author-avatar,
.gs-meta-author-link img {
 width: 26px;
 height: 26px;
 border-radius: 50%;
 object-fit: cover;
 border: 1px solid rgba(196,18,48,.35);
}
.meta-score {
 margin-left: auto;
 padding: 4px 12px;
 border-radius: 4px;
 font-weight: 700;
 font-size: 14px;
 color: #fff;
}
.score-good { background: var(--gs-brand-gold); }
.score-mid { background: #f39c12; }
.score-low { background: var(--gs-brand-red); }

.article-featured-image {
 margin-bottom: 1.5rem;
 border-radius: 8px;
 overflow: hidden;
 border: 1px solid #1e1e1e;
 line-height: 0;
}
.article-featured-image img {
 width: 100%;
 height: auto;
 max-height: 460px;
 object-fit: cover;
 object-position: center;
 display: block;
}
.article-image-credit {
 margin: -0.75rem 0 1.75rem;
 color: #8f8f8f;
 font-size: 12px;
 line-height: 1.4;
 letter-spacing: .02em;
 text-align: right;
}
.article-body > .wp-block-separator:first-child,
.article-body > hr:first-child,
.article-body > .wp-block-spacer:first-child,
.article-body > .gs-progress-wrap:first-child {
 display: none !important;
}
.article-body .gs-progress-wrap:empty {
 display: none !important;
}

.article-body {
 font-size: 16px;
 line-height: 1.75;
 color: #ddd;
}
.article-body p {
 margin-bottom: 1.25rem;
}
.article-body h2 {
 font-size: 24px;
 color: #fff;
 margin: 2rem 0 1rem;
 font-weight: 700;
 padding-left: 12px;
 border-left: 3px solid var(--gs-brand-red);
}
.article-body h3 {
 font-size: 19px;
 color: #fff;
 margin: 1.5rem 0 0.75rem;
 font-weight: 600;
}
.article-body h4 {
 font-size: 16px;
 color: #ddd;
 margin: 1.25rem 0 0.5rem;
 font-weight: 600;
}
.article-body a {
 color: var(--gs-brand-red);
 text-decoration: underline;
 text-decoration-color: rgba(196, 18, 48, 0.4);
 text-underline-offset: 3px;
 transition: text-decoration-color 0.15s;
}
.article-body a:hover {
 text-decoration-color: var(--gs-brand-red);
}
.article-body ul, .article-body ol {
 margin: 1rem 0 1.25rem 1.5rem;
}
.article-body li {
 margin-bottom: 0.5rem;
}
.article-body blockquote {
 border-left: 3px solid var(--gs-brand-red);
 background: #141414;
 padding: 1rem 1.25rem;
 margin: 1.5rem 0;
 font-style: italic;
 color: #bbb;
}
.article-body img {
 max-width: 100%;
 height: auto;
 border-radius: 6px;
 margin: 1rem 0;
}
.article-body strong {
 color: #fff;
 font-weight: 600;
}
.article-body code {
 background: #1a1a1a;
 border: 1px solid #2a2a2a;
 padding: 2px 6px;
 border-radius: 3px;
 font-size: 14px;
 color: #ff9966;
}
.article-body pre {
 background: #0a0a0a;
 border: 1px solid #1e1e1e;
 padding: 1rem;
 border-radius: 6px;
 overflow-x: auto;
 margin: 1.25rem 0;
}

.article-tags {
 margin: 2rem 0 1.5rem;
 padding-top: 1.5rem;
 border-top: 1px solid #1e1e1e;
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 align-items: center;
}
.tags-label {
 color: #555;
 font-size: 12px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-right: 4px;
}
.tag-chip {
 background: #1a1a1a;
 border: 1px solid #2a2a2a;
 color: #999;
 padding: 4px 12px;
 border-radius: 16px;
 font-size: 12px;
 text-decoration: none;
 transition: all 0.15s;
}
.tag-chip:hover {
 border-color: var(--gs-brand-red);
 color: var(--gs-brand-red);
}

.article-author-box {
 display: flex;
 gap: 18px;
 align-items: flex-start;
 background: linear-gradient(135deg, rgba(196,18,48,.06), #141414 44%, #101010);
 border: 1px solid rgba(196,18,48,.18);
 border-radius: 14px;
 padding: 1.35rem;
 margin: 2.2rem 0;
}
.author-avatar {
 display: block;
 flex: 0 0 auto;
 text-decoration: none;
}
.author-avatar img,
.gs-author-avatar-img {
 width: 72px;
 height: 72px;
 object-fit: cover;
 border-radius: 50%;
 border: 2px solid rgba(196,18,48,.45);
 box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.author-name {
 display: inline-flex;
 color: #fff;
 font-weight: 800;
 font-size: 16px;
 margin-bottom: 6px;
 text-decoration: none;
}
.author-name:hover {
 color: var(--gs-brand-red);
}
.author-bio {
 color: #aaa;
 font-size: 13px;
 line-height: 1.55;
}
.author-profile-link {
 display: inline-flex;
 margin-top: 10px;
 color: var(--gs-brand-red);
 font-size: 13px;
 font-weight: 700;
 text-decoration: none;
}
.author-profile-link:hover {
 text-decoration: underline;
 text-underline-offset: 3px;
}

.article-related {
 margin-top: 2.5rem;
 padding-top: 2rem;
 border-top: 1px solid #1e1e1e;
}
.related-title {
 font-size: 14px;
 font-weight: 700;
 color: #888;
 text-transform: uppercase;
 letter-spacing: 1.5px;
 margin-bottom: 1rem;
 padding-left: 12px;
 border-left: 3px solid var(--gs-brand-red);
}
.related-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 1rem;
}
.related-card {
 background: #141414;
 border: 1px solid #1e1e1e;
 border-radius: 8px;
 overflow: hidden;
 text-decoration: none;
 transition: all 0.15s;
 display: block;
}
.related-card:hover {
 border-color: var(--gs-brand-red);
 transform: translateY(-2px);
}
.related-thumb {
 height: 120px;
 background: #1a1a1a;
 overflow: hidden;
 position: relative;
}
.related-thumb img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 display: block;
}
.related-thumb.empty {
 display: flex;
 align-items: center;
 justify-content: center;
 color: #444;
 font-size: 12px;
 text-align: center;
 padding: 0 12px;
}
.related-body {
 padding: 12px;
}
.related-cat {
 font-size: 10px;
 color: var(--gs-brand-red);
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 1px;
 margin-bottom: 6px;
}
.related-title-card {
 font-size: 13px;
 color: #ddd;
 font-weight: 600;
 line-height: 1.4;
}

.article-comments {
 margin-top: 2.5rem;
 padding-top: 2rem;
 border-top: 1px solid #1e1e1e;
}

@media (max-width: 768px) {
 .article-title-main {
 font-size: 24px;
 }
 .article-excerpt {
 font-size: 15px;
 }
 .related-grid {
 grid-template-columns: 1fr;
 }
 .meta-score {
 margin-left: 0;
 margin-top: 8px;
 }
}

/* GS V31.19 — Navigation canonique vers la rubrique Guides. */
.article-cat-tag[href] {
 text-decoration: none;
 cursor: pointer;
 transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease;
}
.article-cat-tag[href]:hover,
.article-cat-tag[href]:focus-visible {
 color: #fff;
 border-color: rgba(255, 65, 96, .72);
 background: rgba(196, 18, 48, .18);
 transform: translateY(-1px);
 outline: none;
}
.article-title-guides-link {
 color: inherit;
 text-decoration: none;
 text-decoration-thickness: 2px;
 text-underline-offset: 5px;
}
.article-title-guides-link:hover,
.article-title-guides-link:focus-visible {
 color: #fff;
 text-decoration: underline;
 text-decoration-color: var(--gs-brand-red);
 outline: none;
}

/* GS V31.21 — En-tête mobile plus compact et résumé à la demande. */
.article-meta-main {
 display: flex;
 align-items: center;
 flex-wrap: wrap;
 gap: 10px;
 min-width: 0;
}
.gs-article-summary-toggle,
.gs-article-summary-popover {
 display: none;
}

@media (max-width: 620px) {
 .single-article-wrapper {
  padding-left: 1rem;
  padding-right: 1rem;
 }
 .article-header {
  margin-bottom: 1.2rem;
  padding-bottom: 1.15rem;
 }
 .article-title-main {
  margin-bottom: .9rem;
  font-size: clamp(25px, 7.1vw, 31px);
  line-height: 1.18;
  letter-spacing: -.018em;
 }
 .article-title-main.has-mobile-summary .gs-article-title-desktop,
 .article-excerpt {
  display: none;
 }
 .gs-article-summary-toggle {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
 }
 .gs-article-summary-toggle:focus-visible {
  outline: 2px solid var(--gs-brand-red);
  outline-offset: 5px;
  border-radius: 5px;
 }
 .gs-article-summary-toggle-icon {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  margin-top: 3px;
  border: 1px solid rgba(255, 72, 91, .52);
  border-radius: 50%;
  color: #ff5264;
  background: rgba(196, 18, 48, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  line-height: 1;
 }
 .gs-article-summary-toggle[aria-expanded="true"] .gs-article-summary-toggle-icon {
  color: #fff;
  background: var(--gs-brand-red);
  box-shadow: 0 0 18px rgba(210, 20, 47, .34);
 }
 .gs-article-summary-popover {
  position: relative;
  overflow: hidden;
  margin: 0 0 1rem;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 72, 91, .34);
  border-radius: 14px;
  background: radial-gradient(circle at 92% 0, rgba(196, 18, 48, .2), transparent 42%), linear-gradient(145deg, #151216, #09090b);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
 }
 .gs-article-summary-popover[hidden] {
  display: none !important;
 }
 .gs-article-summary-popover.is-open {
  display: block;
  animation: gsArticleSummaryIn .18s ease-out both;
 }
 .gs-article-summary-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
 }
 .gs-article-summary-popover-head strong {
  color: #ff5a6c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
 }
 .gs-article-summary-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 50%;
  background: rgba(255, 255, 255, .045);
  color: #fff;
  font-size: 22px;
  line-height: 1;
 }
 .gs-article-summary-popover p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.58;
 }
 .article-meta-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 12px;
 }
 .article-meta-main {
  gap: 5px 8px;
  min-width: 0;
 }
 .article-meta-main .meta-sep {
  display: none;
 }
 .article-meta-main .meta-author {
  max-width: 100%;
 }
 .article-meta-main .meta-date {
  font-size: 12px;
  white-space: nowrap;
 }
 .article-meta-main .meta-time {
  flex-basis: 100%;
  padding-left: 35px;
  margin-top: -1px;
  color: #777;
  font-size: 12px;
 }
 .article-meta-main .meta-score {
  margin: 0 0 0 35px;
 }
}

@keyframes gsArticleSummaryIn {
 from { opacity: 0; transform: translateY(-5px); }
 to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
 .gs-article-summary-popover.is-open { animation: none; }
}
