/**
 * Allopro — Blog & articles WordPress (cohérence design Allopro)
 * Archives, article seul, recherche, commentaires, blocs éditeur.
 */

/* -------------------------------------------------------------------------
   Shell & en-têtes de section
   ------------------------------------------------------------------------- */

.ap-blog-shell {
  background: var(--ap-bg);
  min-height: 100vh;
  padding-top: 68px;
}

.ap-blog-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.ap-blog-inner--wide {
  max-width: 1100px;
}

.ap-blog-inner--single {
  max-width: 720px;
}

.ap-blog-header {
  margin-bottom: clamp(24px, 4vw, 40px);
}

.ap-blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ap-font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ap-primary);
  margin-bottom: 10px;
}

.ap-blog-title {
  font-family: var(--ap-font-heading);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ap-text);
  margin: 0 0 10px;
}

.ap-blog-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ap-text-sec);
  margin: 0;
  max-width: 42rem;
}

.ap-blog-desc p {
  margin: 0;
}

.ap-blog-desc > * + * {
  margin-top: 0.65em;
}

/* -------------------------------------------------------------------------
   Grille & liste d’articles
   ------------------------------------------------------------------------- */

.ap-blog-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 700px) {
  .ap-blog-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ap-blog-card-article {
  margin: 0;
}

.ap-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--ap-surface);
  border-radius: var(--ap-radius-lg);
  border: 1px solid var(--ap-border-light);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ap-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ap-shadow-m);
  border-color: var(--ap-primary-muted);
}

.ap-blog-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ap-primary);
}

.ap-blog-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ap-surface-alt);
}

.ap-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ap-blog-card:hover .ap-blog-card__img {
  transform: scale(1.04);
}

.ap-blog-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.ap-blog-card__badge {
  align-self: flex-start;
}

.ap-blog-card__title {
  font-family: var(--ap-font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ap-text);
}

.ap-blog-card:hover .ap-blog-card__title {
  color: var(--ap-primary);
}

.ap-blog-card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ap-text-sec);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-blog-card__meta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 12.5px;
  color: var(--ap-text-ter);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.ap-blog-card__meta-sep {
  opacity: 0.45;
}

/* Liste compacte (sans image) */
.ap-blog-list-simple .ap-blog-card {
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
}

@media (max-width: 600px) {
  .ap-blog-list-simple .ap-blog-card {
    flex-direction: column;
  }

  .ap-blog-list-simple .ap-blog-card__media {
    aspect-ratio: 21 / 9;
    max-height: 160px;
  }
}

.ap-blog-list-simple .ap-blog-card__media {
  width: min(200px, 38%);
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
}

.ap-blog-list-simple .ap-blog-card__body {
  justify-content: center;
}

/* -------------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------------- */

.ap-blog-pagination {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--ap-border-light);
}

.ap-blog-pagination .nav-links,
.ap-blog-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.ap-blog-pagination a.page-numbers,
.ap-blog-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--ap-radius-sm);
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ap-border);
  background: var(--ap-surface);
  color: var(--ap-text);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ap-blog-pagination a.page-numbers:hover {
  border-color: var(--ap-primary);
  color: var(--ap-primary);
  background: var(--ap-primary-light);
}

.ap-blog-pagination span.page-numbers.current {
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgb(var(--ap-primary-rgb) / 35%);
}

.ap-blog-pagination span.page-numbers.dots {
  border: none;
  background: transparent;
  min-width: auto;
}

/* -------------------------------------------------------------------------
   Article seul
   ------------------------------------------------------------------------- */

.ap-blog-single__hero {
  margin: 0 -24px 28px;
  border-radius: var(--ap-radius-xl);
  overflow: hidden;
  background: var(--ap-surface-alt);
  max-height: min(420px, 52vh);
}

@media (min-width: 768px) {
  .ap-blog-single__hero {
    margin-left: 0;
    margin-right: 0;
  }
}

.ap-blog-single__hero img {
  width: 100%;
  height: auto;
  max-height: min(420px, 52vh);
  object-fit: cover;
  display: block;
}

.ap-blog-single__title {
  font-family: var(--ap-font-heading);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ap-text);
}

.ap-blog-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ap-text-sec);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ap-border-light);
}

.ap-blog-single__meta a {
  color: var(--ap-primary);
  font-weight: 600;
  text-decoration: none;
}

.ap-blog-single__meta a:hover {
  text-decoration: underline;
}

.ap-blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--ap-border-light);
}

.ap-blog-tags__label {
  font-family: var(--ap-font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--ap-text-ter);
  width: 100%;
  margin-bottom: 4px;
}

.ap-blog-tags a {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--ap-font-heading);
  background: var(--ap-primary-light);
  color: var(--ap-primary-deep);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ap-blog-tags a:hover {
  background: var(--ap-primary-muted);
}

.ap-blog-nav {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}

@media (min-width: 600px) {
  .ap-blog-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.ap-blog-nav a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border-light);
  background: var(--ap-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ap-blog-nav a:hover {
  border-color: var(--ap-primary-muted);
  box-shadow: var(--ap-shadow);
}

.ap-blog-nav__dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ap-text-ter);
  margin-bottom: 6px;
}

.ap-blog-nav__title {
  font-family: var(--ap-font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--ap-primary);
}

/* WordPress the_post_navigation() */
.ap-blog-shell .post-navigation {
  margin-top: 40px;
}

.ap-blog-shell .post-navigation .nav-links {
  display: grid;
  gap: 12px;
}

@media (min-width: 600px) {
  .ap-blog-shell .post-navigation .nav-links {
    grid-template-columns: 1fr 1fr;
  }
}

.ap-blog-shell .post-navigation .nav-previous a,
.ap-blog-shell .post-navigation .nav-next a {
  display: block;
  padding: 18px 20px;
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border-light);
  background: var(--ap-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ap-blog-shell .post-navigation .nav-next a {
  text-align: right;
}

.ap-blog-shell .post-navigation a:hover {
  border-color: var(--ap-primary-muted);
  box-shadow: var(--ap-shadow);
}

/* -------------------------------------------------------------------------
   Contenu article (.entry-content) — typographie & blocs WP
   ------------------------------------------------------------------------- */

.ap-blog-content {
  font-family: var(--ap-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ap-text);
}

.ap-blog-content > *:first-child {
  margin-top: 0;
}

.ap-blog-content > * + * {
  margin-top: 1.15em;
}

.ap-blog-content h2,
.ap-blog-content h3,
.ap-blog-content h4,
.ap-blog-content h5,
.ap-blog-content h6 {
  font-family: var(--ap-font-heading);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ap-text);
  margin-top: 1.6em;
  margin-bottom: 0.45em;
}

.ap-blog-content h2 { font-size: clamp(22px, 3vw, 28px); }
.ap-blog-content h3 { font-size: clamp(19px, 2.5vw, 22px); }
.ap-blog-content h4 { font-size: 1.15rem; font-weight: 700; }
.ap-blog-content h5 { font-size: 1.05rem; font-weight: 700; }
.ap-blog-content h6 { font-size: 0.95rem; font-weight: 700; color: var(--ap-text-sec); }

.ap-blog-content p {
  margin: 0 0 1.1em;
}

.ap-blog-content a {
  color: var(--ap-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ap-blog-content a:hover {
  color: var(--ap-primary-deep);
}

.ap-blog-content ul,
.ap-blog-content ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}

.ap-blog-content li + li {
  margin-top: 0.35em;
}

.ap-blog-content blockquote {
  margin: 1.5em 0;
  padding: 18px 22px 18px 20px;
  border-left: 4px solid var(--ap-primary);
  background: var(--ap-primary-light);
  border-radius: 0 var(--ap-radius-sm) var(--ap-radius-sm) 0;
  font-style: italic;
  color: var(--ap-text);
}

.ap-blog-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.88em;
  font-style: normal;
  color: var(--ap-text-sec);
}

.ap-blog-content code,
.ap-blog-content kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  background: var(--ap-surface-alt);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--ap-border-light);
}

.ap-blog-content pre {
  margin: 1.35em 0;
  padding: 18px 20px;
  overflow-x: auto;
  background: var(--ap-navy);
  color: #f4f4f5;
  border-radius: var(--ap-radius);
  font-size: 14px;
  line-height: 1.55;
}

.ap-blog-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.ap-blog-content hr {
  margin: 2em 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ap-border), transparent);
}

.ap-blog-content img,
.ap-blog-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ap-radius-sm);
}

.ap-blog-content figure {
  margin: 1.5em 0;
}

.ap-blog-content figcaption {
  font-size: 13px;
  color: var(--ap-text-sec);
  margin-top: 10px;
  text-align: center;
}

.ap-blog-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 1.35em 0;
  border-radius: var(--ap-radius-sm);
  overflow: hidden;
  border: 1px solid var(--ap-border);
}

.ap-blog-content th,
.ap-blog-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ap-border-light);
  text-align: left;
}

.ap-blog-content th {
  background: var(--ap-surface-alt);
  font-family: var(--ap-font-heading);
  font-weight: 700;
  font-size: 13px;
}

.ap-blog-content tr:last-child td {
  border-bottom: none;
}

/* Alignement wide / full (Gutenberg) */
.ap-blog-content .alignwide {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .ap-blog-inner--single .ap-blog-content .alignwide {
    width: min(1100px, calc(100% + 180px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

.ap-blog-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
}

.ap-blog-content .wp-block-group.has-background {
  padding: 24px 20px;
  border-radius: var(--ap-radius);
}

.ap-blog-content .wp-block-columns {
  gap: 1.5rem;
}

.ap-blog-content .wp-block-quote {
  border-left: 4px solid var(--ap-primary);
  padding-left: 1.25rem;
  font-style: italic;
}

.ap-blog-content .wp-block-pullquote {
  border-top: 3px solid var(--ap-primary);
  border-bottom: 3px solid var(--ap-primary);
  padding: 1.5rem 0;
  text-align: center;
}

.ap-blog-content .wp-block-pullquote blockquote {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
}

.ap-blog-content .wp-block-separator,
.ap-blog-content hr.wp-block-separator {
  border: none;
  height: 2px;
  background: var(--ap-border);
  margin: 2em auto;
  max-width: 120px;
}

.ap-blog-content .is-style-wide.wp-block-separator {
  max-width: 100%;
}

.ap-blog-content .wp-block-button__link {
  border-radius: var(--ap-radius-sm);
  font-family: var(--ap-font-heading);
  font-weight: 600;
  padding: 0.65em 1.25em;
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
  text-decoration: none;
}

.ap-blog-content .wp-block-file a:first-child {
  font-weight: 700;
}

.ap-blog-content .wp-block-embed {
  margin: 1.5em 0;
}

.ap-blog-content iframe {
  max-width: 100%;
  border-radius: var(--ap-radius-sm);
}

.ap-blog-content .wp-block-cover {
  border-radius: var(--ap-radius);
  min-height: 280px;
  margin: 1.5em 0;
}

.ap-blog-content .wp-block-media-text {
  border-radius: var(--ap-radius);
  overflow: hidden;
}

.ap-blog-content .wp-block-gallery {
  gap: 10px;
}

.ap-blog-content .wp-block-gallery .blocks-gallery-item img {
  border-radius: var(--ap-radius-sm);
}

.ap-blog-page-links .post-page-numbers,
.ap-blog-page-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  margin: 0 4px 4px 0;
  border-radius: var(--ap-radius-sm);
  font-family: var(--ap-font-heading);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ap-border);
  background: var(--ap-surface);
  color: var(--ap-text);
}

.ap-blog-page-links a:hover {
  border-color: var(--ap-primary);
  color: var(--ap-primary);
}

.ap-blog-page-links > span.ap-muted {
  margin-right: 8px;
}

/* -------------------------------------------------------------------------
   Recherche — carte résultat générique
   ------------------------------------------------------------------------- */

.ap-blog-search-hit {
  padding: 16px 18px;
  border-radius: var(--ap-radius);
  border: 1px solid var(--ap-border-light);
  background: var(--ap-surface);
  margin-bottom: 12px;
}

.ap-blog-search-hit a {
  font-family: var(--ap-font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--ap-primary);
  text-decoration: none;
}

.ap-blog-search-hit a:hover {
  text-decoration: underline;
}

.ap-blog-search-hit__type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ap-text-ter);
  margin-bottom: 6px;
}

/* -------------------------------------------------------------------------
   Commentaires
   ------------------------------------------------------------------------- */

.ap-blog-comments {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--ap-border-light);
}

.ap-blog-comments__title {
  font-family: var(--ap-font-heading);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.ap-blog-comments .comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ap-blog-comments .comment-list .children {
  list-style: none;
  margin: 12px 0 0;
  padding-left: clamp(12px, 3vw, 24px);
  border-left: 2px solid var(--ap-primary-soft);
}

.ap-blog-comments .comment-list .comment {
  margin: 0 0 20px;
}

.ap-blog-comments .comment-body {
  padding: 20px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius);
}

.ap-blog-comments .comment-meta {
  font-size: 13px;
  color: var(--ap-text-sec);
  margin-bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.ap-blog-comments .comment-author .fn {
  font-family: var(--ap-font-heading);
  font-weight: 700;
  font-style: normal;
  color: var(--ap-text);
}

.ap-blog-comments .comment-metadata a {
  color: var(--ap-text-ter);
  text-decoration: none;
}

.ap-blog-comments .comment-metadata a:hover {
  color: var(--ap-primary);
}

.ap-blog-comments .comment-content {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ap-text);
}

.ap-blog-comments .comment-content p {
  margin: 0 0 0.75em;
}

.ap-blog-comments .comment-content p:last-child {
  margin-bottom: 0;
}

.ap-blog-comments .reply {
  margin-top: 12px;
}

.ap-blog-comments .reply a {
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--ap-font-heading);
  color: var(--ap-primary);
  text-decoration: none;
}

.ap-blog-comments .reply a:hover {
  text-decoration: underline;
}

.ap-blog-comments .comment-awaiting-moderation {
  font-size: 13px;
  color: var(--ap-gold);
  font-weight: 600;
}

.ap-blog-comments .comments-pagination {
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ap-blog-comments .comments-pagination a,
.ap-blog-comments .comments-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: var(--ap-radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--ap-font-heading);
  border: 1px solid var(--ap-border);
  background: var(--ap-surface);
  text-decoration: none;
  color: var(--ap-text);
}

.ap-blog-comments .comments-pagination a:hover {
  border-color: var(--ap-primary);
  color: var(--ap-primary);
}

.ap-blog-comments .comments-pagination .current {
  background: var(--ap-primary-light);
  border-color: var(--ap-primary-muted);
  color: var(--ap-primary-deep);
}

.ap-comment-form-wrap {
  margin-top: 8px;
  padding: 24px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border-light);
  border-radius: var(--ap-radius-lg);
}

.ap-comment-form-wrap .comment-reply-title {
  font-family: var(--ap-font-heading);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.ap-comment-form-wrap .comment-reply-title small a {
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
}

.ap-comment-form-wrap .comment-notes,
.ap-comment-form-wrap .logged-in-as {
  font-size: 13px;
  color: var(--ap-text-sec);
  margin-bottom: 16px;
}

.ap-comment-form-wrap .comment-form-comment label,
.ap-comment-form-wrap .comment-form-author label,
.ap-comment-form-wrap .comment-form-email label,
.ap-comment-form-wrap .comment-form-url label {
  display: block;
  font-family: var(--ap-font-heading);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ap-text);
}

.ap-comment-form-wrap input[type="text"],
.ap-comment-form-wrap input[type="email"],
.ap-comment-form-wrap input[type="url"],
.ap-comment-form-wrap textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--ap-radius-sm);
  font-family: var(--ap-font-body);
  font-size: 14px;
  margin-bottom: 14px;
  background: var(--ap-surface);
}

.ap-comment-form-wrap input:focus,
.ap-comment-form-wrap textarea:focus {
  outline: none;
  border-color: var(--ap-primary);
}

.ap-comment-form-wrap .form-submit {
  margin-top: 8px;
  margin-bottom: 0;
}

.ap-comment-form-wrap .form-submit input[type="submit"],
.ap-comment-form-wrap input[type="submit"]#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: none;
  border-radius: var(--ap-radius-sm);
  font-family: var(--ap-font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-dark));
  color: #fff;
  box-shadow: 0 2px 12px rgb(var(--ap-primary-rgb) / 28%);
}

.ap-comment-form-wrap .form-submit input[type="submit"]:hover,
.ap-comment-form-wrap input[type="submit"]#submit:hover {
  filter: brightness(1.05);
}

.ap-comments-closed {
  font-size: 14px;
  color: var(--ap-text-sec);
  margin-top: 24px;
}

/* Aucun résultat */
.ap-blog-empty {
  padding: 28px;
  text-align: center;
  border-radius: var(--ap-radius-lg);
  background: var(--ap-surface);
  border: 1px dashed var(--ap-border);
  color: var(--ap-text-sec);
}

/* Cartes annonces intégrées dans un article (shortcode [allopro_listings]) */
.ap-blog-content .ap-blog-listings-embed {
  margin: 2.25rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ap-border);
  border-bottom: 1px solid var(--ap-border);
}
.ap-blog-content .ap-blog-listings-embed__title {
  font-family: var(--ap-font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--ap-text);
}
.ap-blog-content .ap-blog-listings-embed .ap-providers-grid {
  margin-top: 0.5rem;
}
