.pubcast-discovery {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(199, 25, 115, 0.18);
  border-radius: 18px;
  background: #fbfaf7;
  color: #103f35;
}

.pubcast-discovery__title {
  margin: 0 0 8px;
  color: #103f35;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pubcast-discovery__overview {
  margin: 0 0 15px;
  color: #526b65;
  font-size: 13px;
  line-height: 1.5;
}

.pubcast-discovery__list {
  display: grid;
  gap: 10px;
  max-height: min(42vh, 390px);
  overflow: auto;
  padding-right: 4px;
}

.pubcast-choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(16, 63, 53, 0.14);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.pubcast-choice:hover,
.pubcast-choice:has(input:checked) {
  border-color: #c71973;
  box-shadow: 0 8px 20px rgba(83, 8, 48, 0.1);
}

.pubcast-choice.is-unavailable {
  cursor: not-allowed;
  opacity: 0.55;
}

.pubcast-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #c71973;
}

.pubcast-choice__body,
.pubcast-choice__top {
  display: flex;
}

.pubcast-choice__body {
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.pubcast-choice__top {
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.pubcast-choice__name {
  color: #103f35;
  font-size: 15px;
  line-height: 1.25;
}

.pubcast-choice__score {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(199, 25, 115, 0.1);
  color: #981455;
  font-size: 10px;
  font-weight: 800;
}

.pubcast-choice__summary,
.pubcast-choice__meta,
.pubcast-choice__note {
  color: #526b65;
  font-size: 12px;
  line-height: 1.45;
}

.pubcast-choice__meta {
  color: #103f35;
  font-weight: 700;
}

.pubcast-choice__note {
  font-style: italic;
}

.pubcast-choice__title-edit,
.pubcast-combined-title {
  display: grid;
  gap: 6px;
  margin-top: 7px;
  color: #103f35;
  font-size: 11px;
  font-weight: 850;
}

.pubcast-choice__title-edit input,
.pubcast-combined-title input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(16,63,53,.2);
  border-radius: 10px;
  background: #fff;
  color: #103f35;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.pubcast-choice__title-edit input:focus,
.pubcast-combined-title input:focus {
  border-color: #c71973;
  box-shadow: 0 0 0 3px rgba(199,25,115,.1);
  outline: none;
}

.pubcast-discovery.is-combined .pubcast-choice__title-edit {
  display: none;
}

.pubcast-creation-mode {
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid rgba(16,63,53,.13);
  border-radius: 15px;
  background: rgba(16,63,53,.025);
}

.pubcast-creation-mode legend {
  padding: 0 6px;
  color: #103f35;
  font-size: 13px;
  font-weight: 850;
}

.pubcast-creation-mode__options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.pubcast-creation-mode__option {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(16,63,53,.13);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.pubcast-creation-mode__option:has(input:checked) {
  border-color: #c71973;
  box-shadow: inset 0 0 0 1px rgba(199,25,115,.18);
}

.pubcast-creation-mode__option input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #c71973;
}

.pubcast-creation-mode__copy {
  display: grid;
  gap: 3px;
}

.pubcast-creation-mode__copy strong {
  color: #103f35;
  font-size: 12px;
  line-height: 1.25;
}

.pubcast-creation-mode__copy > span {
  color: #667c76;
  font-size: 10px;
  line-height: 1.4;
}

.pubcast-combined-title {
  margin-top: 13px;
}

.pubcast-combined-title[hidden] {
  display: none;
}

.pubcast-discovery__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.pubcast-discovery__secondary,
.pubcast-discovery__create {
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.pubcast-discovery__secondary {
  border: 1px solid rgba(16, 63, 53, 0.18);
  background: #fff;
  color: #103f35;
}

.pubcast-discovery__create {
  border: 0;
  background: #c71973;
  color: #fff;
}

.pubcast-discovery__secondary:disabled,
.pubcast-discovery__create:disabled {
  cursor: wait;
  opacity: 0.6;
}

.pubcast-discovery__progress {
  min-height: 20px;
  margin-top: 12px;
  color: #526b65;
  font-size: 12px;
  font-weight: 700;
}

.pubcast-discovery__progress.is-error {
  color: #a51d1d;
}

.pubcast-discovery__progress.is-success {
  color: #17663f;
}

.pubcast-discovery__progress.is-working {
  min-height: 0;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(199,25,115,.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8e9, #fff 62%);
  box-shadow: 0 10px 28px rgba(83,8,48,.08);
  color: #103f35;
}

.pubcast-batch__head {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  gap: 11px;
  align-items: center;
}

.pubcast-batch__identity { display: grid; min-width: 0; gap: 2px; }
.pubcast-batch__identity small { color: #c71973; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.pubcast-batch__identity strong { overflow: hidden; color: #103f35; font-size: 13px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.pubcast-batch__time { padding: 5px 8px; border-radius: 999px; background: rgba(16,63,53,.08); color: #526b65; font-size: 9px; font-weight: 850; white-space: nowrap; }
.pubcast-batch__stage { display: flex; justify-content: space-between; gap: 12px; margin-top: 13px; color: #526b65; font-size: 11px; }
.pubcast-batch__stage > span { font-weight: 850; }
.pubcast-batch__stage > strong { color: #78908a; font-size: 10px; }
.pubcast-batch__bar { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 99px; background: rgba(199,25,115,.1); }
.pubcast-batch__bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#c71973,#ef75b3); transition: width .8s ease; }
.pubcast-batch__steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.pubcast-batch__steps li { position: relative; border-radius: 8px; background: #f1f3f1; color: #8b9995; font-size: 9px; font-weight: 850; padding: 7px 5px; text-align: center; }
.pubcast-batch__steps li.is-active { background: #f9dce9; color: #9f115b; animation: pubcast-batch-pulse 1.5s ease-in-out infinite; }
.pubcast-batch__steps li.is-done { background: #dff2e7; color: #17663f; }
.pubcast-batch__steps li.is-done::before { content: '✓ '; }
.pubcast-batch__note { margin: 10px 0 0; color: #667c76; font-size: 10px; font-weight: 600; line-height: 1.4; }
.pubcast-batch__summary { display: block; margin-bottom: 8px; color: inherit; font-size: 13px; }
.pubcast-batch__errors { margin: 10px 0 0 18px; color: #a51d1d; font-size: 11px; font-weight: 500; }
.pubcast-batch__errors strong { font-weight: 850; }

@keyframes pubcast-batch-pulse {
  50% { box-shadow: inset 0 0 0 1px rgba(199,25,115,.2), 0 0 0 3px rgba(199,25,115,.06); }
}

.pubcast-discovery__link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(199,25,115,.22);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,63,53,.07);
  color: #103f35 !important;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.3;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.pubcast-discovery__link:hover,
.pubcast-discovery__link:focus-visible { border-color: #c71973; box-shadow: 0 12px 30px rgba(199,25,115,.14); transform: translateY(-1px); }
.pubcast-discovery__created-list { display: grid; gap: 9px; }
.pubcast-discovery__link-action { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #c71973; color: #fff; font-size: 10px; font-weight: 900; white-space: nowrap; }

body.pubcast-preview-open { overflow: hidden; }
.pubcast-preview-overlay[hidden] { display: none !important; }
.pubcast-preview-overlay { position: fixed; z-index: 1000002; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .22s ease; }
.pubcast-preview-overlay.is-open { opacity: 1; }
.pubcast-preview__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(5,24,20,.78); backdrop-filter: blur(8px); cursor: zoom-out; }
.pubcast-preview { position: relative; display: grid; grid-template-rows: 53% 47%; width: min(430px,calc(100vw - 32px),calc((100dvh - 44px) * .5625)); aspect-ratio: 9 / 16; overflow: hidden; border: 1px solid rgba(255,255,255,.42); border-radius: 28px; background: #fffaf5; box-shadow: 0 34px 100px rgba(0,0,0,.42); transform: translateY(18px) scale(.97); transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.pubcast-preview-overlay.is-open .pubcast-preview { transform: translateY(0) scale(1); }
.pubcast-preview__close { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(7,33,28,.72); color: #fff; font: 300 28px/1 Arial,sans-serif; cursor: pointer; backdrop-filter: blur(7px); }
.pubcast-preview__close:hover,
.pubcast-preview__close:focus-visible { background: #c71973; outline: 3px solid rgba(255,255,255,.76); }
.pubcast-preview__media { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(circle at 68% 22%,#2d7666 0,#124b40 36%,#082d27 100%); }
.pubcast-preview__image { width: 100%; height: 100%; object-fit: cover; }
.pubcast-preview__fallback { display: grid; height: 100%; place-content: center; color: #fff; text-align: center; }
.pubcast-preview__fallback[hidden] { display: none; }
.pubcast-preview__fallback span { font: 900 clamp(86px,13vh,132px)/.8 Georgia,serif; }
.pubcast-preview__fallback small { margin-top: 18px; color: #f7a7ce; font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.pubcast-preview__media::after { content: ''; position: absolute; inset: 36% 0 0; background: linear-gradient(180deg,transparent,rgba(4,25,21,.88)); pointer-events: none; }
.pubcast-preview__media-copy { position: absolute; z-index: 2; right: 24px; bottom: 22px; left: 24px; display: grid; gap: 5px; color: #fff; }
.pubcast-preview__media-copy span { color: #ffacd5; font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.pubcast-preview__media-copy strong { color: #fff !important; text-shadow: 0 2px 16px rgba(0,0,0,.78); font: 700 clamp(20px,3.2vh,28px)/1.05 Georgia,serif; }
.pubcast-preview__copy { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; padding: clamp(20px,3vh,28px); background: linear-gradient(150deg,#fffaf5 0,#fff 72%); color: #103f35; }
.pubcast-preview__eyebrow { margin-bottom: 10px; color: #c71973; font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.pubcast-preview__copy h2 { display: -webkit-box; overflow: hidden; margin: 0 0 10px; color: #103f35; font: 750 clamp(23px,3.4vh,32px)/1.02 Georgia,serif; letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pubcast-preview__teaser { display: -webkit-box; overflow: hidden; margin: 0; color: #526b65; font-size: clamp(12px,1.75vh,15px); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.pubcast-preview__cta { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: auto; padding: 13px 16px; border-radius: 999px; background: #c71973; box-shadow: 0 10px 24px rgba(199,25,115,.24); color: #fff !important; font-size: 13px; font-weight: 900; text-decoration: none !important; }
.pubcast-preview__cta:hover,
.pubcast-preview__cta:focus-visible { background: #a90f60; outline: 3px solid rgba(199,25,115,.2); }
.pubcast-preview__copy > small { align-self: center; margin-top: 9px; color: #78908a; font-size: 9px; font-weight: 700; }

.pubcast-share-bar { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 15px clamp(18px,4vw,30px); border-bottom: 1px solid rgba(16,63,53,.11); background: linear-gradient(100deg,#eef7f3,#fff6fa); color: #103f35; }
.pubcast-share-bar__copy { display: grid; gap: 2px; min-width: 0; }
.pubcast-share-bar__copy strong { color: #103f35; font-size: 13px; line-height: 1.25; }
.pubcast-share-bar__copy span { color: #60736e; font-size: 11px; line-height: 1.35; }
.pubcast-facebook-share { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 42px; padding: 10px 16px; border: 0; border-radius: 999px; background: #1877f2; box-shadow: 0 9px 22px rgba(24,119,242,.2); color: #fff; cursor: pointer; font: 850 12px/1.1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.pubcast-facebook-share svg { width: 20px; height: 20px; fill: currentColor; }
.pubcast-facebook-share:hover,.pubcast-facebook-share:focus-visible { background: #0d65d9; outline: 3px solid rgba(24,119,242,.2); transform: translateY(-1px); }

.couvin-answer-card,
.cc-association-card,
.cc-agenda-pubcast-card { position: relative; }

.pubcast-card-facebook-share {
  position: absolute;
  z-index: 5;
  right: 15px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: #1877f2;
  box-shadow: 0 8px 20px rgba(24,119,242,.22);
  color: #fff;
  cursor: pointer;
  font: 850 10px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-transform: uppercase;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pubcast-card-facebook-share svg { width: 17px; height: 17px; fill: currentColor; }
.pubcast-card-facebook-share:hover,
.pubcast-card-facebook-share:focus-visible { background: #0d65d9; box-shadow: 0 10px 24px rgba(24,119,242,.3); outline: 3px solid rgba(24,119,242,.2); transform: translateY(-1px); }
.couvin-answer-card.is-hidden-by-admin .pubcast-card-facebook-share { display: none; }
.cc-association-card .cc-association-card__body,
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card > div { padding-bottom: 68px; }
.couvin-answer-card .couvin-answer-card__body { padding-bottom: 76px; }

.cc-association-hub { box-sizing: border-box; display: grid; grid-template-columns: minmax(280px,340px) minmax(0,1fr); gap: clamp(22px,3vw,38px); width: min(1180px,calc(100% - 36px)); margin: clamp(28px,5vw,58px) auto; color: #103f35; }
.cc-association-sidebar { display: grid; align-content: start; gap: 18px; }
.cc-association-sidebar .cc-fil-local-card { overflow: hidden; padding: clamp(24px,3vw,34px); border: 1px solid rgba(16,63,53,.1); border-radius: 26px; background: #fff; box-shadow: 0 18px 48px rgba(13,55,46,.09); }
.cc-association-sidebar .cc-fil-local-intro { padding-bottom: 0; background: linear-gradient(160deg,#fff 0,#f5f1f5 100%); }
.cc-association-sidebar .cc-contact-kicker,.cc-association-feed .cc-contact-kicker { margin: 0 0 8px; color: #c71973; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.cc-association-sidebar h1 { margin: 0 0 14px; color: #103f35; font: 800 clamp(38px,5vw,58px)/.95 Georgia,serif; letter-spacing: -.035em; }
.cc-association-sidebar .cc-lead { margin: 0 0 12px; color: #294f47; font-size: 17px; font-weight: 700; line-height: 1.45; }
.cc-association-sidebar p:not(.cc-contact-kicker) { color: #60736e; line-height: 1.58; }
.cc-association-sidebar .cc-nature-image { margin: 24px calc(clamp(24px,3vw,34px) * -1) 0; }
.cc-association-sidebar .cc-nature-image img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cc-association-sidebar h2 { margin: 0 0 12px; color: #103f35; font: 800 28px/1.03 Georgia,serif; }
.cc-association-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; padding: 10px 17px; border-radius: 999px; background: #c71973; color: #fff !important; font-size: 12px; font-weight: 900; text-decoration: none !important; }
.cc-association-primary:hover,.cc-association-primary:focus-visible { background: #a90f60; outline: 3px solid rgba(199,25,115,.18); }
.cc-association-feed { min-width: 0; }
.cc-association-feed > header { margin-bottom: 18px; padding: clamp(22px,3vw,32px); border-radius: 26px; background: linear-gradient(120deg,#103f35 0,#0f594a 58%,#5a1744 100%); box-shadow: 0 18px 50px rgba(12,55,46,.15); color: #fff; }
.cc-association-feed > header .cc-contact-kicker { color: #ffb1d5; }
.cc-association-feed > header h2 { margin: 0 0 8px; color: #fff; font: 800 clamp(30px,4vw,46px)/.98 Georgia,serif; letter-spacing: -.03em; }
.cc-association-feed > header p:last-child { max-width: 660px; margin: 0; color: rgba(255,255,255,.78); line-height: 1.5; }
.cc-association-feed__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.cc-association-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid rgba(16,63,53,.1); border-radius: 22px; background: #fff; box-shadow: 0 14px 38px rgba(13,55,46,.08); }
.cc-association-card__media { display: block; overflow: hidden; aspect-ratio: 16/10; background: #103f35; }
.cc-association-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.cc-association-card:hover .cc-association-card__media img { transform: scale(1.035); }
.cc-association-card__media--fallback { display: grid; place-items: center; background: radial-gradient(circle at 70% 20%,#397d6d,#103f35 62%,#4d173c); color: #fff; text-decoration: none; }
.cc-association-card__media--fallback span { font: 900 72px/.8 Georgia,serif; }
.cc-association-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px; }
.cc-association-card__meta { margin: 0 0 8px; color: #c71973; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cc-association-card h2 { margin: 0 0 10px; color: #103f35; font: 800 24px/1.06 Georgia,serif; letter-spacing: -.02em; }
.cc-association-card h2 a { color: inherit !important; text-decoration: none !important; }
.cc-association-card__body > p:not(.cc-association-card__meta) { margin: 0 0 18px; color: #60736e; font-size: 13px; line-height: 1.5; }
.cc-association-card__link { margin-top: auto; color: #c71973 !important; font-size: 11px; font-weight: 900; text-decoration: none !important; text-transform: uppercase; letter-spacing: .04em; }
.cc-association-empty { grid-column: 1/-1; padding: clamp(30px,6vw,60px); border: 1px dashed rgba(16,63,53,.2); border-radius: 24px; background: #f6f7f5; text-align: center; }
.cc-association-empty > span { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: #103f35; color: #fff; font: 900 32px/1 Georgia,serif; }
.cc-association-empty h2 { margin: 0 0 8px; color: #103f35; font: 800 30px/1 Georgia,serif; }
.cc-association-empty p { margin: 0 auto 15px; max-width: 560px; color: #60736e; }

body.pubcast-access-open { overflow: hidden; }
.pubcast-access-overlay[hidden] { display: none !important; }
.pubcast-access-overlay { position: fixed; z-index: 100180; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s ease; }
.pubcast-access-overlay.is-open { opacity: 1; }
.pubcast-access__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(6,27,23,.74); backdrop-filter: blur(8px); cursor: default; }
.pubcast-access { box-sizing: border-box; position: relative; width: min(520px,100%); max-height: calc(100dvh - 40px); overflow: auto; padding: clamp(26px,5vw,42px); border: 1px solid rgba(199,25,115,.18); border-radius: 28px; background: #fffdfa; box-shadow: 0 28px 90px rgba(4,26,21,.35); color: #103f35; transform: translateY(18px) scale(.98); transition: transform .22s ease; }
.pubcast-access-overlay.is-open .pubcast-access { transform: translateY(0) scale(1); }
.pubcast-access__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #f3eeeb; color: #103f35; cursor: pointer; font: 300 27px/1 Arial,sans-serif; }
.pubcast-access__close:hover,.pubcast-access__close:focus-visible { background: #f9dbea; outline: 3px solid rgba(199,25,115,.18); }
.pubcast-access__eyebrow { margin: 0 0 8px; color: #c71973; font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.pubcast-access h2 { margin: 0 42px 10px 0; color: #103f35; font: 800 clamp(28px,5vw,39px)/1.02 Georgia,serif; letter-spacing: -.025em; }
.pubcast-access__intro { margin: 0 0 20px; color: #58706a; line-height: 1.55; }
.pubcast-access__demo { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px; padding: 14px 16px; border-radius: 15px; background: linear-gradient(110deg,#103f35,#5a1744); color: #fff; }
.pubcast-access__demo strong { color: #ffc2df; font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.pubcast-access__demo span { text-align: right; font-size: 13px; font-weight: 750; }
.pubcast-access__login,.pubcast-access__form button { box-sizing: border-box; display: flex; width: 100%; min-height: 50px; align-items: center; justify-content: space-between; padding: 13px 18px; border: 0; border-radius: 999px; background: #c71973; color: #fff !important; cursor: pointer; font-size: 14px; font-weight: 900; text-decoration: none !important; }
.pubcast-access__login:hover,.pubcast-access__login:focus-visible,.pubcast-access__form button:hover,.pubcast-access__form button:focus-visible { background: #a90f60; outline: 3px solid rgba(199,25,115,.2); }
.pubcast-access__separator { position: relative; margin: 17px 0; color: #8b9b97; text-align: center; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.pubcast-access__separator::before { content: ''; position: absolute; top: 50%; right: 0; left: 0; border-top: 1px solid #dedbd8; }
.pubcast-access__separator span { position: relative; padding: 0 10px; background: #fffdfa; }
.pubcast-access__form { display: grid; gap: 12px; }
.pubcast-access__form > label:not(.pubcast-access__consent) { display: grid; gap: 6px; color: #103f35; font-size: 12px; font-weight: 850; }
.pubcast-access__form input[type="text"],.pubcast-access__form input[type="email"] { box-sizing: border-box; width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cbd5d2; border-radius: 12px; background: #fff; color: #103f35; font: inherit; }
.pubcast-access__form input:focus { border-color: #c71973; outline: 3px solid rgba(199,25,115,.12); }
.pubcast-access__consent { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; color: #60736e; font-size: 11px; line-height: 1.4; }
.pubcast-access__consent input { width: 18px; height: 18px; margin: 0; accent-color: #c71973; }
.pubcast-access__honeypot { position: absolute !important; left: -10000px !important; }
.pubcast-access__form button { justify-content: center; margin-top: 2px; }
.pubcast-access__form button:disabled { cursor: wait; opacity: .58; }
.pubcast-access__status { min-height: 18px; margin: 0; color: #58706a; font-size: 12px; font-weight: 750; line-height: 1.45; }
.pubcast-access__status.is-error { color: #a51d1d; }
.pubcast-access__status.is-success { color: #17663f; }
.pubcast-access__exhausted { margin: 16px 0 0; padding: 14px; border-radius: 14px; background: #fff0f6; color: #7e164f; font-weight: 750; line-height: 1.45; }

@media (max-width: 620px) {
  .pubcast-discovery {
    padding: 15px;
  }

  .pubcast-discovery__list {
    max-height: 46vh;
  }

  .pubcast-discovery__actions > * {
    width: 100%;
  }

  .pubcast-discovery__link { align-items: flex-start; flex-direction: column; }
  .pubcast-discovery__link-action { align-self: flex-start; }
  .pubcast-preview-overlay { padding: 12px; }
  .pubcast-preview { width: min(calc(100vw - 24px),calc((100dvh - 28px) * .5625)); border-radius: 22px; }
  .pubcast-share-bar { align-items: stretch; flex-direction: column; }
  .pubcast-facebook-share { width: 100%; justify-content: center; }
  .cc-association-hub { grid-template-columns: 1fr; width: min(100% - 20px,720px); margin: 16px auto 34px; }
  .cc-association-feed__grid { grid-template-columns: 1fr; }
  .cc-association-sidebar h1 { font-size: clamp(42px,13vw,58px); }
  .pubcast-access-overlay { padding: 10px; }
  .pubcast-access { max-height: calc(100dvh - 20px); padding: 26px 20px 22px; border-radius: 22px; }
  .pubcast-access__demo { align-items: flex-start; flex-direction: column; gap: 5px; }
  .pubcast-access__demo span { text-align: left; }

  .pubcast-creation-mode__options {
    grid-template-columns: 1fr;
  }

  .pubcast-batch__head { grid-template-columns: 30px minmax(0,1fr); }
  .pubcast-batch__time { grid-column: 2; justify-self: start; }
  .pubcast-batch__stage { display: grid; }
  .pubcast-batch__steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Pubcaster de publications sociales — réservé aux éditeurs connectés. */
.ff-item-cont[data-pubcaster-ready="1"] {
  position: relative;
}

.pubcaster-trigger {
  position: absolute;
  z-index: 30;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 10px 6px 7px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: #c71973;
  box-shadow: 0 8px 20px rgba(45, 9, 29, .22);
  color: #fff;
  cursor: pointer;
  font: 800 10px/1.1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: .02em;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.pubcaster-trigger:hover,
.pubcaster-trigger:focus-visible {
  background: #9f115b;
  box-shadow: 0 11px 25px rgba(45, 9, 29, .3);
  transform: translateY(-2px);
}

.pubcaster-trigger svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Actualisation manuelle du flux Flow-Flow — visible uniquement aux administrateurs. */
#actualite-locale .cc-live {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.couvin-flow-refresh {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.couvin-flow-refresh__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(16, 63, 53, .2);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 63, 53, .1);
  color: #103f35;
  cursor: pointer;
  font: 800 11px/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease;
}

.couvin-flow-refresh__button:hover,
.couvin-flow-refresh__button:focus-visible {
  color: #c71973;
  box-shadow: 0 9px 24px rgba(16, 63, 53, .16);
  transform: translateY(-1px);
}

.couvin-flow-refresh__button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.couvin-flow-refresh__button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.couvin-flow-refresh__button.is-working svg {
  animation: couvin-flow-refresh-spin .9s linear infinite;
}

.couvin-flow-refresh__status {
  max-width: 260px;
  color: #647a74;
  font: 700 10px/1.35 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.couvin-flow-refresh__status:empty { display: none; }
.couvin-flow-refresh__status.is-success { color: #17663f; }
.couvin-flow-refresh__status.is-error { color: #a51d1d; }

@keyframes couvin-flow-refresh-spin {
  to { transform: rotate(360deg); }
}

body.pubcaster-sheet-open {
  overflow: hidden !important;
}

.pubcaster-overlay {
  position: fixed;
  z-index: 1000000;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(5, 34, 29, .58);
  opacity: 0;
  backdrop-filter: blur(5px);
  transition: opacity .22s ease;
}

.pubcaster-overlay[hidden] {
  display: none;
}

.pubcaster-result[hidden],
.pubcaster-json[hidden],
.pubcaster-primary[hidden] {
  display: none !important;
}

.pubcaster-overlay.is-open {
  opacity: 1;
}

.pubcaster-sheet {
  position: relative;
  width: min(100%, 920px);
  max-height: min(88vh, 820px);
  border-radius: 28px 28px 0 0;
  background: #fbf8f2;
  box-shadow: 0 -24px 80px rgba(3, 29, 24, .25);
  color: #103f35;
  transform: translateY(105%);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}

.pubcaster-overlay.is-open .pubcaster-sheet {
  transform: translateY(0);
}

.pubcaster-sheet__handle {
  width: 52px;
  height: 5px;
  margin: 10px auto 2px;
  border-radius: 99px;
  background: rgba(16,63,53,.22);
}

.pubcaster-sheet__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 22px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: #e8e9e3;
  color: #103f35;
  cursor: pointer;
  font: 400 28px/1 system-ui, sans-serif;
}

.pubcaster-sheet__scroll {
  max-height: calc(min(88vh, 820px) - 17px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 30px clamp(22px, 6vw, 64px) 38px;
}

.pubcaster-sheet__eyebrow,
.pubcaster-result__label {
  margin: 0 0 8px;
  color: #c71973;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}

.pubcaster-sheet h2 {
  max-width: 720px;
  margin: 0 58px 10px 0;
  color: #103f35;
  font-size: clamp(29px, 5vw, 46px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.pubcaster-sheet__intro {
  max-width: 730px;
  margin: 0;
  color: #526b65;
  font-size: 15px;
  line-height: 1.6;
}

.pubcaster-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.pubcaster-steps li {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid rgba(16,63,53,.12);
  border-radius: 15px;
  background: #fff;
  color: #526b65;
  font-size: 12px;
  line-height: 1.35;
}

.pubcaster-steps b {
  display: grid;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  place-items: center;
  background: #103f35;
  color: #fff;
  font-size: 11px;
}

.pubcaster-steps strong {
  display: block;
  color: #103f35;
}

.pubcaster-source,
.pubcaster-result {
  padding: 17px;
  border-radius: 17px;
}

.pubcaster-source {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 18px;
  border: 1px solid rgba(16,63,53,.12);
  background: rgba(16,63,53,.045);
}

.pubcaster-source span {
  grid-column: 1 / -1;
  color: #78908a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pubcaster-source strong {
  min-width: 0;
  overflow: hidden;
  color: #103f35;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pubcaster-source a,
.pubcaster-status a {
  color: #c71973 !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.pubcaster-result {
  margin-top: 15px;
  border: 1px solid rgba(199,25,115,.2);
  background: #fff;
}

.pubcaster-result__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pubcaster-result__score {
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  place-items: center;
  background: #103f35;
  color: #fff;
  font-size: 13px;
}

.pubcaster-result h3 {
  margin: 4px 70px 8px 0;
  color: #103f35;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.12;
}

.pubcaster-result p,
.pubcaster-result li {
  color: #526b65;
  font-size: 13px;
  line-height: 1.5;
}

.pubcaster-result__note {
  padding: 10px 12px;
  border-left: 3px solid #e2b62c;
  background: #fff8df;
}

.pubcaster-result__facts {
  margin-bottom: 0;
}

.pubcaster-json {
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(16,63,53,.16);
  border-radius: 17px;
  background: #0e2f29;
  color: #eaf6f2;
}

.pubcaster-json__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.pubcaster-json__head > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pubcaster-json__head span {
  color: #f084bb;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.pubcaster-json__head strong {
  color: #fff;
  font-size: 14px;
}

.pubcaster-json__tools {
  display: flex;
  gap: 7px;
}

.pubcaster-json__tools button {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.pubcaster-json pre {
  max-height: 240px;
  margin: 0;
  overflow: auto;
  padding: 16px;
  color: #d9eee7;
  font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.pubcaster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pubcaster-primary {
  padding: 13px 19px;
  border: 0;
  border-radius: 999px;
  background: #c71973;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.pubcaster-primary:hover,
.pubcaster-primary:focus-visible {
  background: #9f115b;
}

.pubcaster-primary:disabled {
  cursor: wait;
  opacity: .55;
}

.pubcaster-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #526b65;
  font-size: 12px;
  font-weight: 750;
}

.pubcaster-status.is-error { color: #a51d1d; }
.pubcaster-status.is-success { color: #17663f; }

.couvin-wait-whimsy {
  box-sizing: border-box;
  position: fixed;
  /* L’Orchestrion doit rester visible au-dessus des panneaux Pubcaster,
     des aperçus 9:16 et des fenêtres provenant des autres extensions. */
  z-index: 2147483647;
  right: clamp(16px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 38px);
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(330px, calc(100vw - 32px));
  min-height: 60px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 17px;
  background: linear-gradient(135deg, #103f35, #4c173d);
  box-shadow: 0 18px 55px rgba(10,32,27,.28);
  color: #fff;
  opacity: 0;
  padding: 10px 15px 10px 10px;
  pointer-events: none;
  transform: translateY(18px) scale(.96);
  transition: opacity .24s ease, transform .24s ease;
}

.couvin-wait-whimsy.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.couvin-wait-whimsy__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #aa155f;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 900;
}

.couvin-wait-whimsy__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.couvin-wait-whimsy__speaker {
  color: #f5a7ce;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.couvin-wait-whimsy__message {
  display: block;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.couvin-wait-whimsy.is-changing .couvin-wait-whimsy__message {
  animation: couvin-wait-message .42s ease both;
}

@keyframes couvin-wait-message {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}

.stcd-deep-progress .couvin-deep-wait__speaker {
  color: #c51f64;
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  margin: 18px 0 4px;
  text-transform: uppercase;
}

.stcd-deep-progress .couvin-deep-wait__message {
  color: #4f4960;
  font-weight: 800;
  margin: 0;
  min-height: 1.5em;
}

.stcd-deep-progress .couvin-deep-wait__message.is-changing {
  animation: couvin-wait-message .42s ease both;
}

.pubcaster-status.is-working {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 72px;
  overflow: hidden;
  padding: 13px 14px 18px;
  border: 1px solid rgba(199,25,115,.18);
  border-radius: 15px;
  background: linear-gradient(135deg, #fff9e8, #fff 64%);
  color: #103f35;
}

.pubcaster-progress__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(199,25,115,.18);
  border-top-color: #c71973;
  border-radius: 50%;
  animation: pubcaster-spin .9s linear infinite;
}

.pubcaster-progress__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pubcaster-progress__copy strong {
  color: #103f35;
  font-size: 13px;
  line-height: 1.2;
}

.pubcaster-progress__copy span {
  color: #667c76;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.pubcaster-progress__time {
  align-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16,63,53,.08);
  color: #526b65;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.pubcaster-progress__bar {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: rgba(199,25,115,.1);
}

.pubcaster-progress__bar i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #c71973, #f08abc, #c71973);
  animation: pubcaster-progress 1.8s ease-in-out infinite;
}

@keyframes pubcaster-spin {
  to { transform: rotate(360deg); }
}

@keyframes pubcaster-progress {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(270%); }
}

.pubcast-page--source .pubcast-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pubcast-source-pubcaster {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 17px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #103f35 !important;
  box-shadow: 0 10px 25px rgba(3,29,24,.18);
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

.pubcast-source-pubcaster:hover,
.pubcast-source-pubcaster:focus-visible {
  background: #f7ddeb !important;
  transform: translateY(-2px);
}

.pubcast-source-pubcaster svg {
  width: 22px;
  height: 22px;
  fill: #c71973;
}

.source-pubcaster-count {
  padding: 8px 11px;
  border-radius: 999px;
  background: #103f35;
  color: #fff;
  font-size: 11px;
}

.source-pubcaster-items {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.source-pubcaster-items li {
  display: grid;
  gap: 3px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f3f6f4;
}

.source-pubcaster-items strong {
  color: #103f35;
  font-size: 13px;
}

.source-pubcaster-items span {
  color: #78908a;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.pubcaster-created-visual {
  display: block;
  width: min(100%, 560px);
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(16,63,53,.14);
  border-radius: 16px;
  background: #eef4f1;
  box-shadow: 0 12px 28px rgba(3,29,24,.12);
}

.pubcaster-created-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

/* Lecture magazine des Pubcasts, y compris les pages déjà publiées. */
.single-stcd_answer #main-content {
  background: #f4f1ea;
}

.single-stcd_answer .entry-title {
  max-width: 980px;
  margin-right: auto !important;
  margin-left: auto !important;
  color: #103f35 !important;
  font-size: clamp(40px, 5vw, 64px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.045em !important;
  text-wrap: balance;
}

.single-stcd_answer .stcd-answer-card.pubcast-card {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  padding: clamp(28px, 5vw, 56px) !important;
  border: 1px solid rgba(16,63,53,.09);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22,44,38,.1);
  color: #394c47;
}

.single-stcd_answer .pubcast-card .pubcast-hero {
  width: auto !important;
  margin: clamp(-56px, -5vw, -28px) clamp(-56px, -5vw, -28px) clamp(30px, 5vw, 48px) !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: #dfe9e5;
  aspect-ratio: 1200 / 630;
}

.single-stcd_answer .pubcast-card .pubcast-hero img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.single-stcd_answer .pubcast-card .pubcast-hero figcaption {
  right: 16px;
  bottom: 14px;
  left: auto;
  max-width: calc(100% - 32px);
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7,34,28,.78);
  color: #fff;
  font-size: 10px;
  backdrop-filter: blur(6px);
}

.single-stcd_answer .pubcast-card .stcd-answer-kicker {
  margin: 0 0 15px !important;
  color: #c71973 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
}

.single-stcd_answer .pubcast-card .pubcast-lede {
  margin: 0 0 clamp(34px, 5vw, 54px) !important;
  color: #29453d !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.15vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

.single-stcd_answer .pubcast-card .pubcast-lede p {
  color: inherit !important;
  font: inherit !important;
}

.single-stcd_answer .pubcast-card .pubcast-section {
  margin: 0 !important;
  padding: clamp(29px, 4vw, 42px) 0 !important;
  border-top: 1px solid #dde6e2;
}

.single-stcd_answer .pubcast-card .pubcast-section h2,
.single-stcd_answer .pubcast-card .pubcast-practical h2,
.single-stcd_answer .pubcast-card .stcd-answer-sources h2 {
  margin: 0 0 16px !important;
  color: #103f35 !important;
  font-size: clamp(27px, 3.2vw, 42px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  text-wrap: balance;
}

.single-stcd_answer .pubcast-card .pubcast-section p {
  margin: 0 0 1em !important;
  color: #4b625c !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.78 !important;
}

.pubcast-inline-ref {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 7px 2px 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #edf4f1;
  color: #607771;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.pubcast-inline-ref a {
  color: #9f115b !important;
  font-weight: 850;
  text-decoration: none !important;
}

.pubcast-inline-ref a:hover,
.pubcast-inline-ref a:focus-visible {
  text-decoration: underline !important;
}

.single-stcd_answer .pubcast-card .pubcast-practical {
  margin-top: 30px;
  padding: clamp(25px, 4vw, 40px) !important;
  border-radius: 22px;
  background: #103f35 !important;
}

.single-stcd_answer .pubcast-card .pubcast-practical h2,
.single-stcd_answer .pubcast-card .pubcast-practical strong,
.single-stcd_answer .pubcast-card .pubcast-practical span {
  color: #fff !important;
}

.single-stcd_answer .pubcast-card .pubcast-practical ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
}

.single-stcd_answer .pubcast-card .pubcast-practical li {
  padding: 16px !important;
  background: rgba(255,255,255,.08) !important;
}

.single-stcd_answer .pubcast-card .stcd-answer-follow-up {
  margin: 32px 0 !important;
  padding: 22px 24px !important;
  border: 0 !important;
  border-left: 4px solid #c71973 !important;
  border-radius: 0 16px 16px 0;
  background: #faedf4 !important;
  color: #5b2944 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

.single-stcd_answer .pubcast-card .pubcast-feature-request {
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid rgba(199,25,115,.2);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(83,8,48,.08);
}

.single-stcd_answer .pubcast-card .pubcast-feature-request .stcd-answer-follow-up {
  margin: 0 !important;
  border-radius: 0 !important;
}

.pubcast-feature-request__choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 20px;
  background: #fff;
  color: #103f35;
  cursor: pointer;
}

.pubcast-feature-request__choice input {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 1px 0 0;
  accent-color: #c71973;
}

.pubcast-feature-request__choice > span {
  display: grid;
  gap: 3px;
}

.pubcast-feature-request__choice strong {
  color: #103f35;
  font-size: 14px;
  line-height: 1.3;
}

.pubcast-feature-request__choice small {
  color: #667c76;
  font-size: 11px;
  line-height: 1.45;
}

.pubcast-feature-request.is-checked .pubcast-feature-request__choice {
  background: #edf8f2;
}

.pubcast-feature-request.is-working {
  opacity: .72;
}

.pubcast-feature-request__status {
  min-height: 0;
  margin: 0 !important;
  padding: 0 20px 14px !important;
  color: #667c76 !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.4 !important;
}

.pubcast-feature-request__status:empty {
  display: none;
}

.pubcast-feature-request__status.is-success { color: #17663f !important; }
.pubcast-feature-request__status.is-error { color: #a51d1d !important; }

.single-stcd_answer .pubcast-card .stcd-answer-sources {
  margin-top: 38px !important;
  padding: 28px !important;
  border-radius: 18px;
  background: #f5f3ed;
}

.single-stcd_answer .pubcast-card .stcd-answer-sources h2 {
  font-size: 22px !important;
}

.single-stcd_answer .pubcast-card .stcd-answer-sources a {
  color: #17634f !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 3px;
}

.single-stcd_answer .pubcast-card .stcd-answer-disclaimer {
  max-width: 660px;
  margin: 24px auto 0 !important;
  color: #778883 !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
  text-align: center;
}

/* Passage d’une fiche Deep Search vers un Pubcast lié — administrateurs uniquement. */
.deep-pubcaster-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(16,63,53,.12);
}

.deep-pubcaster-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #c71973 !important;
  box-shadow: 0 10px 26px rgba(199,25,115,.24);
  color: #fff !important;
  cursor: pointer;
  font: 850 12px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.deep-pubcaster-trigger:hover,
.deep-pubcaster-trigger:focus-visible { background: #a90f60 !important; box-shadow: 0 13px 30px rgba(199,25,115,.32); transform: translateY(-2px); }
.deep-pubcaster-trigger svg { width: 23px; height: 23px; fill: currentColor; }
.deep-pubcaster-linked { color: #526b65 !important; font-size: 11px; font-weight: 800; text-decoration: none !important; }
.deep-pubcaster-linked:hover,
.deep-pubcaster-linked:focus-visible { color: #c71973 !important; text-decoration: underline !important; }
.deep-pubcaster-mode { padding: 8px 11px; border-radius: 999px; background: #f6dbe8; color: #a90f60; font-size: 10px; font-weight: 950; letter-spacing: .07em; }
.deep-pubcaster-sections span { display: -webkit-box; overflow: hidden; color: #60766f; font-size: 11px; font-weight: 600; line-height: 1.5; text-transform: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.deep-pubcaster-success { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.deep-pubcaster-preview-link { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: #c71973; color: #fff !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }
.deep-pubcaster-preview-link:hover,
.deep-pubcaster-preview-link:focus-visible { background: #a90f60; }

/* Vérification interne avant chaque bouton « En savoir plus » — administration. */
.pubcaster-internal-query { margin: 18px 0; padding: 14px 17px; border-left: 4px solid #c71973; border-radius: 0 12px 12px 0; background: #f7edf3; color: #103f35; font-size: 15px; font-weight: 850; }
.pubcaster-internal-results { display: grid; gap: 12px; margin: 18px 0 22px; }
.pubcaster-internal-card { padding: 18px; border: 1px solid rgba(16,63,53,.13); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(16,63,53,.07); }
.pubcaster-internal-card__type { color: #c71973; font-size: 9px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.pubcaster-internal-card h3 { margin: 7px 0 8px; color: #103f35; font-size: 21px; line-height: 1.08; }
.pubcaster-internal-card p { display: -webkit-box; overflow: hidden; margin: 0; color: #60766f; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pubcaster-internal-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.pubcaster-internal-card__actions a,
.pubcaster-internal-card__actions button { min-height: 36px; padding: 9px 13px; border: 1px solid rgba(16,63,53,.17); border-radius: 999px; background: #fff; color: #103f35; cursor: pointer; font: 850 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration: none !important; }
.pubcaster-internal-card__actions button { border-color: #c71973; background: #c71973; color: #fff; }
.pubcaster-internal-empty { padding: 18px; border-radius: 14px; background: #f4f1ec; color: #60766f; }
.couvin-internal-update-note { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.deep-pubcaster-internal-choices { display: grid; gap: 9px; margin: 18px 0; padding: 17px; border: 1px solid rgba(16,63,53,.13); border-radius: 15px; background: #f7f5ef; }
.deep-pubcaster-internal-choices > strong { color: #103f35; font-size: 15px; }
.deep-pubcaster-internal-choices > p { margin: 0 0 5px; color: #60766f; font-size: 12px; }
.deep-pubcaster-internal-choice { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border-radius: 11px; background: #fff; color: #103f35; cursor: pointer; font-size: 12px; font-weight: 750; }
.deep-pubcaster-internal-choice input { flex: 0 0 auto; margin-top: 2px; accent-color: #c71973; }
.deep-pubcaster-internal-choice span { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 10px; }
.deep-pubcaster-internal-choice b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deep-pubcaster-internal-choice a { flex: 0 0 auto; color: #c71973 !important; font-size: 10px; text-decoration: none !important; }

/* Galerie publique des Pubcasts issus du contexte Agenda. */
body.page-id-1138 .stcd-deep-gallery:not(.cc-agenda-pubcasts) { display: none !important; }
body.page-id-1138 .cc-agenda-pubcasts {
  width: min(1400px, calc(100% - 32px));
  margin: clamp(34px, 5vw, 76px) auto;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(16,63,53,.1);
  border-radius: 28px;
  background: #fbfaf7;
  box-shadow: 0 24px 68px rgba(16,63,53,.08);
  scroll-margin-top: 110px;
}
body.page-id-1138 .cc-agenda-pubcasts:focus { outline: 3px solid rgba(199,25,115,.34); outline-offset: 5px; }
body.page-id-1138 .cc-agenda-pubcasts > header { max-width: 820px; margin: 0 0 30px; }
body.page-id-1138 .cc-agenda-pubcasts > header > p { margin: 0 0 8px; color: #c71973; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
body.page-id-1138 .cc-agenda-pubcasts > header h2 { margin: 0; color: #103f35; font-size: clamp(34px, 4.6vw, 62px); font-weight: 900; letter-spacing: -.045em; line-height: .98; }
body.page-id-1138 .cc-agenda-pubcasts > header > span { display: block; margin-top: 15px; color: #5c716b; font-size: 15px; line-height: 1.55; }
body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card { display: grid; overflow: hidden; min-width: 0; border: 1px solid rgba(16,63,53,.12); border-radius: 20px; background: #fff; box-shadow: 0 12px 34px rgba(16,63,53,.07); }
body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#133f35,#6d345d); }
body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card:hover .stcd-deep-gallery-image img { transform: scale(1.035); }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card__fallback { display: grid; place-items: center; text-decoration: none; }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card__fallback span { color: #fff; font: 900 72px/.8 Georgia,serif; }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card > div { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; }
body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-date { margin: 0 0 10px; color: #c71973; font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
body.page-id-1138 .cc-agenda-pubcasts h3 { margin: 0 0 12px; font-size: clamp(21px, 2vw, 28px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
body.page-id-1138 .cc-agenda-pubcasts h3 a { color: #103f35; text-decoration: none; }
body.page-id-1138 .cc-agenda-pubcasts .cc-agenda-pubcast-card > div > p:not(.stcd-deep-gallery-date) { margin: 0 0 18px; color: #587069; font-size: 13px; line-height: 1.55; }
body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-more { margin-top: auto; color: #c71973; font-size: 11px; font-weight: 900; text-decoration: none; text-transform: uppercase; }
body.page-id-1138 .cc-agenda-pubcasts__empty { grid-column: 1/-1; padding: 44px; border: 1px dashed rgba(16,63,53,.24); border-radius: 20px; text-align: center; }
body.page-id-1138 .cc-agenda-pubcasts__empty > span { color: #c71973; font: 900 58px/.8 Georgia,serif; }
body.page-id-1138 .cc-agenda-pubcasts__empty h3 { margin-top: 18px; color: #103f35; }

@media (max-width: 980px) {
  body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .single-stcd_answer .stcd-answer-card.pubcast-card { border-radius: 20px; }
  .single-stcd_answer .pubcast-card .pubcast-practical ul { grid-template-columns: 1fr; }
  .single-stcd_answer .pubcast-card .pubcast-hero figcaption { border-radius: 10px; }
  .couvin-wait-whimsy {
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
  }
  body.page-id-1138 .cc-agenda-pubcasts { width: calc(100% - 16px); padding: 24px 18px; border-radius: 20px; }
  body.page-id-1138 .cc-agenda-pubcasts .stcd-deep-gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .pubcaster-trigger span { display: none; }
  .pubcaster-trigger { padding: 7px; }
  .pubcaster-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pubcaster-source { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pubcaster-sheet { max-height: 94vh; border-radius: 22px 22px 0 0; }
  .pubcaster-sheet__scroll { max-height: calc(94vh - 17px); padding: 24px 18px 30px; }
  .pubcaster-sheet__close { top: 14px; right: 15px; }
  .pubcaster-steps { grid-template-columns: 1fr; }
  .pubcaster-json__head { align-items: flex-start; flex-direction: column; }
  .pubcast-page--source .pubcast-hero__actions { align-items: stretch; flex-direction: column; }
  .pubcast-source-pubcaster { justify-content: center; width: 100%; }
  .deep-pubcaster-toolbar { align-items: stretch; flex-direction: column; }
  .deep-pubcaster-trigger { justify-content: center; width: 100%; }
  .pubcaster-status.is-working { grid-template-columns: 30px minmax(0, 1fr); }
  .pubcaster-progress__time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pubcaster-overlay,
  .pubcaster-sheet,
  .pubcaster-trigger { transition: none; }
  .pubcaster-progress__spinner,
  .pubcaster-progress__bar i { animation: none; }
  .couvin-flow-refresh__button.is-working svg { animation: none; }
  .couvin-wait-whimsy,
  .couvin-wait-whimsy__message { animation: none !important; transition: none !important; }
}
