.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 {
  color: #c71973 !important;
  text-decoration: underline !important;
}

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

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

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

  .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; }
.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;
}

@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; }
}

@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%; }
  .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; }
}


/* Pubcaster lancé depuis les questions de « On refait le Conseil ». */
.council-pubcaster-form {
  margin-top: 22px;
}

.council-pubcaster-question {
  display: grid;
  gap: 7px;
  color: #103f35;
  font-size: 12px;
  font-weight: 850;
}

.council-pubcaster-question textarea {
  width: 100%;
  min-height: 92px;
  padding: 13px 14px;
  resize: vertical;
  border: 1px solid rgba(16, 63, 53, .2);
  border-radius: 14px;
  background: #fff;
  color: #103f35;
  font: 600 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.council-pubcaster-question textarea:focus {
  border-color: #c71973;
  box-shadow: 0 0 0 4px rgba(199, 25, 115, .1);
  outline: none;
}

.council-pubcaster-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.council-pubcaster-form.has-results > .pubcaster-actions {
  display: none;
}

.council-pubcaster-overlay .pubcast-discovery {
  margin-bottom: 6px;
}

@media (max-width: 620px) {
  .council-pubcaster-overlay .pubcaster-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}