.ael-panel{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;margin:20px 0;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.ael-panel h2,.ael-panel h3{margin-top:0;color:var(--ael-primary,#1f2937)}
.ael-muted,.ael-panel .description{color:#6b7280;font-size:.95em}
.ael-form label{display:block;margin:14px 0;font-weight:600;color:#1f2937}.ael-form input[type=text],.ael-form input[type=email],.ael-form input[type=password],.ael-form input[type=url],.ael-form input[type=date],.ael-form input[type=number],.ael-form textarea,.ael-form select,.ael-search input,.ael-search select{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;padding:11px 13px;margin-top:6px;background:#fff;color:#111827}.ael-form textarea{min-height:100px}.ael-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ael-checkbox{display:flex!important;align-items:center;gap:8px;font-weight:500}.ael-checkbox input{width:auto!important}.ael-fieldset{border:1px solid #e5e7eb;border-radius:14px;padding:12px 16px;margin:18px 0}.ael-button,.ael-login input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;padding:10px 18px;background:var(--ael-primary,#1f2937);color:#fff!important;text-decoration:none!important;font-weight:700;line-height:1.2;cursor:pointer;transition:.18s ease}.ael-button:hover,.ael-login input[type=submit]:hover{transform:translateY(-1px);filter:brightness(1.07);color:#fff!important}.ael-button-secondary{background:var(--ael-accent,#b08d57)}.ael-button-light{background:#f3f4f6;color:#111827!important}.ael-button-small{padding:8px 13px;font-size:.9em}.ael-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.ael-actions{display:flex;flex-wrap:wrap;gap:10px}.ael-alert{border-radius:14px;padding:13px 16px;margin:14px 0;border:1px solid transparent}.ael-alert-success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.ael-alert-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}.ael-alert-info{background:#eff6ff;border-color:#bfdbfe;color:#1e40af}.ael-grid{display:grid;gap:22px;margin:20px 0}.ael-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.ael-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.ael-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.ael-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}.ael-card{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.07);transition:.18s ease}.ael-card:hover{transform:translateY(-3px);box-shadow:0 15px 38px rgba(15,23,42,.11)}.ael-card-img{width:100%;height:210px;object-fit:cover;display:block;background:#f3f4f6}.ael-book-card .ael-cover{height:270px;object-fit:cover}.ael-card-placeholder{height:210px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#6b7280;font-weight:800;letter-spacing:.04em}.ael-card-body{padding:16px}.ael-card h3{margin:0 0 7px;font-size:1.15rem;line-height:1.25}.ael-card h3 a{color:#111827;text-decoration:none}.ael-card p{margin:8px 0}.ael-byline,.ael-cat,.ael-tagline{color:#6b7280}.ael-cat{font-weight:700;color:var(--ael-accent,#b08d57)}.ael-sponsored-label{position:absolute;top:10px;left:10px;background:var(--ael-accent,#b08d57);color:#fff;font-size:.75em;font-weight:800;border-radius:999px;padding:5px 10px;z-index:2}.ael-search{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin:18px 0}.ael-books-directory .ael-search{grid-template-columns:1fr minmax(200px,260px) auto}.ael-pagination ul{display:flex;gap:8px;list-style:none;padding:0;margin:24px 0}.ael-pagination a,.ael-pagination span{display:block;padding:8px 12px;border-radius:10px;background:#f3f4f6;text-decoration:none}.ael-pagination .current{background:var(--ael-primary,#1f2937);color:#fff}.ael-single-hero{display:grid;grid-template-columns:minmax(220px,330px) 1fr;gap:28px;align-items:start;margin:24px 0}.ael-single-photo,.ael-single-cover{width:100%;border-radius:22px;box-shadow:0 12px 36px rgba(15,23,42,.12)}.ael-single-placeholder{min-height:280px;border-radius:22px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#6b7280;font-weight:800}.ael-lead{font-size:1.25rem;color:#374151}.ael-link-list h3{margin-bottom:10px}.ael-socials{display:flex;flex-wrap:wrap;gap:8px}.ael-socials a,.ael-category-pill{display:inline-flex;align-items:center;gap:6px;background:#f3f4f6;border-radius:999px;padding:7px 12px;text-decoration:none;color:#374151;font-weight:600}.ael-category-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.ael-category-pill span{background:#fff;border-radius:999px;padding:1px 7px}.ael-affiliate-notice{font-size:.9em;color:#6b7280;background:#f9fafb;border-left:4px solid var(--ael-accent,#b08d57);padding:12px 14px;border-radius:10px;margin:18px 0}.ael-dashboard-head .ael-grid{margin:12px 0}.ael-stat{background:#f9fafb;border:1px solid #e5e7eb;border-radius:18px;padding:18px;text-align:center}.ael-stat strong{display:block;font-size:2rem;color:var(--ael-primary,#1f2937)}.ael-stat span{color:#6b7280;font-weight:700}.ael-table-wrap{overflow:auto}.ael-table{width:100%;border-collapse:collapse}.ael-table th,.ael-table td{border-bottom:1px solid #e5e7eb;padding:10px;text-align:left}.ael-badge{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:.82em;font-weight:800}.ael-status-publish{background:#dcfce7;color:#166534}.ael-status-pending{background:#fef3c7;color:#92400e}.ael-status-draft{background:#fee2e2;color:#991b1b}.ael-status-private{background:#e0e7ff;color:#3730a3}.ael-admin .ael-panel{max-width:1000px}.ael-login #loginform p{margin:12px 0}.ael-login label{display:block;font-weight:700}.ael-login input[type=text],.ael-login input[type=password]{width:100%;border:1px solid #d1d5db;border-radius:12px;padding:10px;margin-top:5px}
@media(max-width:1100px){.ael-grid-4,.ael-grid-5{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.ael-grid,.ael-grid-2,.ael-grid-3,.ael-grid-4,.ael-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))}.ael-single-hero{grid-template-columns:1fr}.ael-form-row,.ael-search,.ael-books-directory .ael-search{grid-template-columns:1fr}}@media(max-width:540px){.ael-grid,.ael-grid-2,.ael-grid-3,.ael-grid-4,.ael-grid-5{grid-template-columns:1fr}.ael-card-img,.ael-book-card .ael-cover{height:auto;max-height:360px}.ael-panel{padding:16px;border-radius:14px}.ael-actions,.ael-buttons{flex-direction:column}.ael-button{width:100%}}

/* V2 - Paiement WooCommerce */
.ael-upgrade-box,.ael-sponsor-box{border-left:4px solid var(--ael-accent)}
.ael-inline-form select{width:100%;max-width:520px;padding:10px;border:1px solid #d1d5db;border-radius:10px;background:#fff}
.ael-inline-form .ael-muted{margin:10px 0;color:#6b7280}
.ael-table-wrap{overflow-x:auto}

/* V2.1 - Fiches livre/auteur : correction doublon image + largeur desktop */
body.single-ael_book .ael-single,
body.single-ael_author .ael-single{
  width:min(1180px,90vw);
  max-width:1180px;
  margin-left:50%;
  margin-right:0;
  transform:translateX(-50%);
}
body.single-ael_book .ael-single-book,
body.single-ael_author .ael-single-author{
  box-sizing:border-box;
}
body.single-ael_book .ael-single-hero,
body.single-ael_author .ael-single-hero{
  grid-template-columns:minmax(260px,420px) minmax(0,1fr);
  gap:34px;
}
body.single-ael_book .ael-single-hero > div:first-child,
body.single-ael_author .ael-single-hero > div:first-child{
  display:flex;
  justify-content:center;
  align-items:flex-start;
}
body.single-ael_book .ael-single-cover,
body.single-ael_author .ael-single-photo{
  display:block;
  width:100%;
  max-width:420px;
  height:auto;
  margin:0 auto;
}
@media(max-width:800px){
  body.single-ael_book .ael-single,
  body.single-ael_author .ael-single{
    width:100%;
    max-width:100%;
    margin-left:0;
    transform:none;
  }
  body.single-ael_book .ael-single-hero,
  body.single-ael_author .ael-single-hero{
    grid-template-columns:1fr;
  }
}


/* V2.4 - Compatibilité thème : protéger le logo du site sur les pages Auteurs & Livres */
body.ael-public-page .custom-logo-link,
body.ael-public-page .custom-logo,
body.ael-public-page .site-logo,
body.ael-public-page .site-logo a,
body.ael-public-page .site-branding,
body.ael-public-page .wp-block-site-logo,
body.ael-public-page .wp-block-site-logo a,
body.ael-public-page .header-logo,
body.ael-public-page .logo,
body.ael-public-page .navbar-brand{
  visibility:visible!important;
  opacity:1!important;
}
body.ael-public-page .custom-logo,
body.ael-public-page .custom-logo-link img,
body.ael-public-page .site-logo img,
body.ael-public-page .wp-block-site-logo img,
body.ael-public-page .header-logo img,
body.ael-public-page .logo img,
body.ael-public-page .navbar-brand img{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  max-width:100%;
  height:auto;
}

/* V2.4 - Confidentialité ciblée : masquer seulement les blocs auteur du contenu, pas l'en-tête/logo du thème */
body.ael-public-page main .wp-block-post-author,
body.ael-public-page main .wp-block-post-author-name,
body.ael-public-page main .wp-block-post-author-biography,
body.ael-public-page main .entry-author,
body.ael-public-page main .post-author,
body.ael-public-page main .author-bio,
body.ael-public-page main .author-info,
body.ael-public-page main .byline.author,
body.ael-public-page main .posted-by{
  display:none!important;
}


/* V2.6 - Compatibilité thèmes magazine/news : éviter les fiches tronquées dans une colonne avec sidebar */
body.single-ael_book .ael-single,
body.single-ael_author .ael-single{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
body.single-ael_book .ael-single *,
body.single-ael_author .ael-single *{
  box-sizing:border-box;
}
body.single-ael_book .ael-single-hero,
body.single-ael_author .ael-single-hero{
  width:100%;
  max-width:100%;
  grid-template-columns:minmax(220px,330px) minmax(0,1fr)!important;
  gap:32px!important;
  align-items:start;
  overflow:visible;
}
body.single-ael_book .ael-single-hero > div,
body.single-ael_author .ael-single-hero > div{
  min-width:0;
  max-width:100%;
}
body.single-ael_book .ael-single-cover,
body.single-ael_author .ael-single-photo{
  max-width:330px!important;
  width:100%!important;
  height:auto!important;
  object-fit:contain;
}
body.single-ael_book .ael-panel,
body.single-ael_author .ael-panel{
  width:100%;
  max-width:100%;
  overflow-wrap:break-word;
  word-break:normal;
}
body.single-ael_book .ael-panel p,
body.single-ael_author .ael-panel p,
body.single-ael_book .ael-single li,
body.single-ael_author .ael-single li{
  max-width:100%;
  overflow-wrap:break-word;
}
@media(max-width:900px){
  body.single-ael_book .ael-single-hero,
  body.single-ael_author .ael-single-hero{
    grid-template-columns:1fr!important;
  }
  body.single-ael_book .ael-single-cover,
  body.single-ael_author .ael-single-photo{
    max-width:420px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* V2.6 - Fiches vitrines : masquer les métas du thème et désactiver l'affichage des commentaires */
body.single-ael_book .entry-meta,
body.single-ael_author .entry-meta,
body.single-ael_book .post-meta,
body.single-ael_author .post-meta,
body.single-ael_book .spnc-entry-meta,
body.single-ael_author .spnc-entry-meta,
body.single-ael_book .blog-meta,
body.single-ael_author .blog-meta,
body.single-ael_book .bs-blog-meta,
body.single-ael_author .bs-blog-meta,
body.single-ael_book .metadata,
body.single-ael_author .metadata,
body.single-ael_book .post-details,
body.single-ael_author .post-details,
body.single-ael_book .posted-on,
body.single-ael_author .posted-on,
body.single-ael_book .post-date,
body.single-ael_author .post-date,
body.single-ael_book .comments-link,
body.single-ael_author .comments-link,
body.single-ael_book .comment-link,
body.single-ael_author .comment-link,
body.single-ael_book .byline:not(.ael-byline),
body.single-ael_author .byline:not(.ael-byline),
body.single-ael_book .author.vcard,
body.single-ael_author .author.vcard,
body.single-ael_book .posted-by,
body.single-ael_author .posted-by{
  display:none!important;
}
body.single-ael_book #comments,
body.single-ael_author #comments,
body.single-ael_book .comments-area,
body.single-ael_author .comments-area,
body.single-ael_book .comment-respond,
body.single-ael_author .comment-respond,
body.single-ael_book .comment-list,
body.single-ael_author .comment-list,
body.single-ael_book .comments-title,
body.single-ael_author .comments-title,
body.single-ael_book .no-comments,
body.single-ael_author .no-comments{
  display:none!important;
}

/* V2.7 - Tableau comparatif gratuit / premium */
.ael-pricing{margin:28px 0}
.ael-pricing-title{margin:0 0 8px;color:var(--ael-primary,#1f2937);font-size:2rem;line-height:1.15}
.ael-pricing-intro{color:#6b7280;margin:0 0 20px;font-size:1.05rem}
.ael-pricing-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:22px 0}
.ael-pricing-card{position:relative;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:26px;box-shadow:0 14px 40px rgba(15,23,42,.08);overflow:hidden}
.ael-pricing-premium{border:2px solid var(--ael-accent,#b08d57)}
.ael-pricing-ribbon{position:absolute;top:16px;right:-34px;transform:rotate(35deg);background:var(--ael-accent,#b08d57);color:#fff;font-weight:800;font-size:.78rem;padding:7px 42px;letter-spacing:.03em}
.ael-pricing-head h3{margin:0 0 8px;font-size:1.45rem;color:var(--ael-primary,#1f2937)}
.ael-pricing-price{font-size:2.4rem;line-height:1;margin:10px 0;color:var(--ael-primary,#1f2937);font-weight:900}
.ael-pricing-price span{font-size:1rem;color:#6b7280;font-weight:700}
.ael-pricing-card ul{margin:18px 0 20px;padding:0;list-style:none}
.ael-pricing-card li{position:relative;margin:9px 0;padding-left:25px;color:#374151}
.ael-pricing-card li:before{content:'✓';position:absolute;left:0;top:0;color:var(--ael-accent,#b08d57);font-weight:900}
.ael-pricing-table-wrap{overflow-x:auto;margin-top:24px;background:#fff;border:1px solid #e5e7eb;border-radius:18px;box-shadow:0 8px 28px rgba(15,23,42,.06)}
.ael-pricing-table{width:100%;border-collapse:collapse;margin:0;background:#fff}
.ael-pricing-table th,.ael-pricing-table td{padding:14px 16px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.ael-pricing-table thead th{background:#f9fafb;color:var(--ael-primary,#1f2937);font-weight:900}
.ael-pricing-table tbody tr:last-child th,.ael-pricing-table tbody tr:last-child td{border-bottom:0}
.ael-pricing-yes{color:#166534;font-weight:900}.ael-pricing-no{color:#991b1b;font-weight:900}
.ael-pricing-compact .ael-pricing-intro{display:none}.ael-pricing-compact .ael-pricing-card{padding:20px}.ael-pricing-compact .ael-pricing-price{font-size:2rem}
@media(max-width:800px){.ael-pricing-cards{grid-template-columns:1fr}.ael-pricing-card{padding:20px}.ael-pricing-ribbon{right:-42px}.ael-pricing-title{font-size:1.6rem}}

/* V2.8 - Logos réseaux sociaux + newsletter */
.ael-social-icons{gap:10px;margin:12px 0}
.ael-social-icons .ael-social-icon{width:42px;height:42px;padding:0;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#f3f4f6;color:var(--ael-primary,#1f2937);border:1px solid #e5e7eb;transition:.18s ease;text-decoration:none!important}
.ael-social-icons .ael-social-icon:hover{background:var(--ael-primary,#1f2937);color:#fff;transform:translateY(-2px)}
.ael-social-icons svg{width:22px;height:22px;display:block;fill:currentColor}
.ael-newsletter-form,.ael-newsletter-pref{border-left:4px solid var(--ael-accent,#b08d57)}
.ael-newsletter-form .ael-button,.ael-newsletter-pref .ael-button{margin-top:10px}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* V2.9 - Widgets sponsorisés compacts et rotatifs */
.ael-sponsored-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  width:100%;
  max-width:100%;
  margin:12px 0;
  overflow:hidden;
  box-sizing:border-box;
}
.ael-sponsored-list *{box-sizing:border-box;min-width:0}
.ael-sponsored-mini{
  position:relative;
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:12px;
  align-items:start;
  width:100%;
  max-width:100%;
  padding:10px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
  overflow:hidden;
}
.ael-sponsored-mini-author{grid-template-columns:62px minmax(0,1fr)}
.ael-sponsored-mini-media{
  display:block;
  width:100%;
  max-width:100%;
  overflow:hidden;
  border-radius:12px;
  background:#f3f4f6;
  text-decoration:none!important;
}
.ael-sponsored-thumb{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:96px!important;
  object-fit:cover!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
.ael-sponsored-thumb-book{height:108px!important}
.ael-sponsored-thumb-author{height:62px!important;border-radius:999px!important}
.ael-sponsored-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:108px;
  border-radius:12px;
  background:linear-gradient(135deg,#f3f4f6,#e5e7eb);
  color:#6b7280;
  font-size:.72rem;
  font-weight:800;
  text-align:center;
}
.ael-sponsored-placeholder-author{height:62px;border-radius:999px}
.ael-sponsored-mini-body{overflow:hidden;max-width:100%}
.ael-sponsored-mini-badge{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  margin:0 0 5px;
  padding:3px 8px;
  border-radius:999px;
  background:var(--ael-accent,#b08d57);
  color:#fff;
  font-size:.68rem;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
}
.ael-sponsored-mini h4{
  margin:0 0 4px!important;
  font-size:.98rem!important;
  line-height:1.22!important;
  font-weight:800!important;
  max-width:100%;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ael-sponsored-mini h4 a{color:#111827!important;text-decoration:none!important}
.ael-sponsored-mini-meta,
.ael-sponsored-mini-excerpt{
  margin:4px 0 0!important;
  color:#6b7280;
  font-size:.84rem!important;
  line-height:1.35!important;
  max-width:100%;
  overflow:hidden;
}
.ael-sponsored-mini-meta{
  white-space:nowrap;
  text-overflow:ellipsis;
}
.ael-sponsored-mini-excerpt{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.ael-sponsored-empty{margin:10px 0!important;font-size:.92rem}
.ael-sponsored-rotator .ael-sponsored-slide{display:none}
.ael-sponsored-rotator .ael-sponsored-slide.is-active{display:grid}
.widget .ael-sponsored-list,
.sidebar .ael-sponsored-list,
.wp-block-widget-area .ael-sponsored-list{
  margin-top:8px;
}
.widget .ael-sponsored-mini,
.sidebar .ael-sponsored-mini,
.wp-block-widget-area .ael-sponsored-mini{
  grid-template-columns:64px minmax(0,1fr);
  padding:9px;
  gap:10px;
  border-radius:14px;
}
.widget .ael-sponsored-thumb-book,
.sidebar .ael-sponsored-thumb-book,
.wp-block-widget-area .ael-sponsored-thumb-book{
  height:92px!important;
}
.widget .ael-sponsored-mini h4,
.sidebar .ael-sponsored-mini h4,
.wp-block-widget-area .ael-sponsored-mini h4{
  font-size:.9rem!important;
}
@media(max-width:540px){
  .ael-sponsored-mini{grid-template-columns:70px minmax(0,1fr)}
  .ael-sponsored-mini-author{grid-template-columns:58px minmax(0,1fr)}
  .ael-sponsored-thumb-book{height:100px!important}
  .ael-sponsored-thumb-author{height:58px!important}
}

/* V3.0 - Sponsors en widget : version plus pleine, sans tronquage et compatible NewsCrunch */
.ael-sponsored-fill{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
}
.ael-sponsored-fill .ael-sponsored-mini{
  width:100%!important;
  max-width:100%!important;
  min-height:138px;
  grid-template-columns:96px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:14px!important;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
  box-shadow:0 10px 28px rgba(15,23,42,.07);
}
.ael-sponsored-fill .ael-sponsored-mini-author{
  grid-template-columns:82px minmax(0,1fr);
  min-height:116px;
}
.ael-sponsored-fill .ael-sponsored-mini-media{
  align-self:stretch;
  display:flex!important;
  align-items:center;
  justify-content:center;
  border-radius:16px;
}
.ael-sponsored-fill .ael-sponsored-thumb-book{
  width:96px!important;
  height:136px!important;
  object-fit:cover!important;
  border-radius:14px!important;
}
.ael-sponsored-fill .ael-sponsored-thumb-author{
  width:76px!important;
  height:76px!important;
  border-radius:999px!important;
  object-fit:cover!important;
}
.ael-sponsored-fill .ael-sponsored-mini-body{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden;
}
.ael-sponsored-fill .ael-sponsored-mini-badge{
  margin-bottom:8px;
}
.ael-sponsored-mini h4,
.ael-sponsored-mini h4 a,
.ael-sponsored-fill .ael-sponsored-mini h4,
.ael-sponsored-fill .ael-sponsored-mini h4 a{
  background:transparent!important;
  border:0!important;
  padding:0!important;
  border-radius:0!important;
  color:#111827!important;
  text-align:left!important;
  letter-spacing:.03em;
}
.ael-sponsored-fill .ael-sponsored-mini h4{
  font-size:1.05rem!important;
  line-height:1.22!important;
  margin-bottom:7px!important;
}
.ael-sponsored-fill .ael-sponsored-mini-meta{
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ael-sponsored-fill .ael-sponsored-mini-excerpt{
  -webkit-line-clamp:2;
}
.ael-sponsored-fill.ael-sponsored-rotator{
  position:relative;
}
.ael-sponsored-fill.ael-sponsored-rotator .ael-sponsored-slide.is-active{
  display:grid!important;
}
@media(max-width:420px){
  .ael-sponsored-fill .ael-sponsored-mini{grid-template-columns:78px minmax(0,1fr);gap:12px;padding:12px!important;min-height:118px}
  .ael-sponsored-fill .ael-sponsored-thumb-book{width:78px!important;height:112px!important}
  .ael-sponsored-fill .ael-sponsored-mini-author{grid-template-columns:68px minmax(0,1fr)}
  .ael-sponsored-fill .ael-sponsored-thumb-author{width:64px!important;height:64px!important}
  .ael-sponsored-fill .ael-sponsored-mini h4{font-size:.95rem!important}
}

/* V3.01 - Mots-clés de livres cliquables et archives propres */
.ael-book-tags h2{margin-bottom:10px}
.ael-book-tag{transition:.18s ease}
.ael-book-tag:hover{background:var(--ael-accent,#b08d57);color:#fff!important;transform:translateY(-1px)}
.ael-tax-archive{width:100%;max-width:1180px;margin:0 auto;padding:10px 0 30px}
.ael-tax-hero h1{margin:4px 0 10px;color:var(--ael-primary,#1f2937)}
.ael-template-wrap{width:100%;box-sizing:border-box}

/* V3.03 - Images par défaut premium + finitions HTML */
.ael-default-visual{
  position:relative;
  display:flex!important;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#f8fafc;
  color:#1f2937;
  box-sizing:border-box;
}
.ael-default-visual svg{display:block;width:100%;height:100%;object-fit:cover}
.ael-default-visual span{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.78);
  backdrop-filter:blur(6px);
  color:#1f2937;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 8px 24px rgba(15,23,42,.10);
}
.ael-default-author.ael-card-img{height:210px;border-radius:0}
.ael-default-book.ael-card-img{height:270px;border-radius:0}
.ael-default-single.ael-default-author,
.ael-default-single.ael-default-book{min-height:280px;border-radius:22px;box-shadow:0 12px 36px rgba(15,23,42,.12)}
.ael-default-single.ael-default-author{aspect-ratio:4/3}
.ael-default-single.ael-default-book{aspect-ratio:2/3;max-width:330px;margin:auto}
.ael-sponsored-default{box-shadow:none!important}
.ael-sponsored-default span{font-size:.7rem;padding:3px 8px}
.ael-sponsored-fill .ael-sponsored-default.ael-sponsored-thumb-book{width:96px!important;height:136px!important}
.ael-sponsored-fill .ael-sponsored-default.ael-sponsored-thumb-author{width:76px!important;height:76px!important;border-radius:999px!important}
.ael-card-excerpt{color:#4b5563;line-height:1.5}
.ael-card-meta{margin:10px 0;color:#6b7280;font-weight:700}
.ael-card-action{margin-top:12px!important}
.ael-public-cta{border-left:4px solid var(--ael-accent,#b08d57)}
.ael-public-cta h3{margin-top:0}
@media(max-width:800px){
  .ael-default-single.ael-default-book{max-width:420px}
}

/* V3.10 - cartes livres plus compactes pour gros annuaire */
.ael-book-card > a:first-of-type{display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:14px 10px 10px;min-height:calc(var(--ael-book-card-cover-height,220px) + 24px)}
.ael-book-card .ael-cover{width:var(--ael-book-card-cover-width,150px)!important;height:var(--ael-book-card-cover-height,220px)!important;max-width:86%;object-fit:cover;border-radius:12px;box-shadow:0 8px 18px rgba(15,23,42,.12)}
.ael-book-card .ael-card-body{padding:14px 15px 16px}.ael-book-card h3{font-size:1.04rem}.ael-book-card .ael-card-excerpt{font-size:.94em;line-height:1.42}.ael-book-card .ael-byline,.ael-book-card .ael-cat{font-size:.92em}.ael-default-book.ael-card-img{width:var(--ael-book-card-cover-width,150px)!important;height:var(--ael-book-card-cover-height,220px)!important;max-width:86%;border-radius:12px}.ael-default-book.ael-card-img svg{width:100%;height:100%}
@media(max-width:800px){.ael-book-card .ael-cover,.ael-default-book.ael-card-img{width:min(140px,var(--ael-book-card-cover-width,150px))!important;height:auto!important;max-height:210px}.ael-book-card > a:first-of-type{min-height:auto}}

/* V3.17 - Partage des pages auteur/livre */
.ael-share-box{border-left:4px solid var(--ael-accent,#b08d57)}
.ael-share-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.ael-share-button{display:inline-flex;align-items:center;gap:8px;border:1px solid #e5e7eb;border-radius:999px;padding:9px 14px;background:#fff;color:var(--ael-primary,#1f2937)!important;text-decoration:none!important;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(15,23,42,.05);transition:.16s ease;font-family:inherit}
.ael-share-button:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(15,23,42,.09);border-color:var(--ael-accent,#b08d57)}
.ael-share-icon{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;border-radius:999px;background:var(--ael-primary,#1f2937);color:#fff;font-size:.82rem;font-weight:900;text-align:center}
.ael-share-facebook .ael-share-icon{background:#1877f2}.ael-share-x .ael-share-icon{background:#111827}.ael-share-linkedin .ael-share-icon{background:#0a66c2}.ael-share-whatsapp .ael-share-icon{background:#25d366}.ael-share-email .ael-share-icon{background:#6b7280}.ael-share-copy .ael-share-icon{background:var(--ael-accent,#b08d57)}
.ael-share-feedback{min-height:1.2em;margin:.7rem 0 0;color:#6b7280;font-size:.95em}
.ael-share-dashboard .ael-share-box{padding:0;margin:0;border:0;box-shadow:none;background:transparent}.ael-share-dashboard .ael-share-box h2,.ael-share-dashboard .ael-share-box>.ael-muted{display:none}
@media(max-width:540px){.ael-share-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ael-share-button{justify-content:center;width:100%;box-sizing:border-box}}
