/* Figma: YYVLML4ZCM0o87y3RBYqnv / 19:737 — Signature tricolore. */
.post.fl-election-post--signature,
.post-snippet.fl-election-post--signature {
  --election-signature-text: #101f3c;
  --election-signature-blue: #174ee8;
  --election-signature-border: #dce2ec;
  --election-signature-inset: 32px;
  background: #fff;
  border: 1px solid var(--election-signature-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgb(15 31 59 / 10%);
}

.fl-election-feed-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  color: var(--election-signature-text, #101f3c);
  font-family: Poppins, sans-serif;
}

.fl-election-feed-context__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.fl-election-feed-context__label {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.fl-election-feed-context__year {
  color: var(--election-signature-blue, #174ee8);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.04em;
}

.fl-election-feed-context__tricolour {
  width: 82px;
  height: 4px;
  margin-top: 8px;
  background: linear-gradient(90deg, #174ee8 0 33.333%, #fff 33.333% 66.667%, #dd4b5b 66.667% 100%);
}

.fl-election-feed-context__emblem {
  display: grid;
  place-items: center;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  border: 1px solid #dce2ec;
  border-radius: 20px;
  background: #fff;
}

.fl-election-feed-context__emblem img {
  display: block;
  width: 50.75px;
  height: 59.45px;
}

/* Direct children only: embedded posts, coloured backgrounds and media keep their native layouts. */
.post.fl-election-post--signature > .post-body > .post-header {
  padding: 32px var(--election-signature-inset) 0;
  margin-bottom: 20px;
}

.post.fl-election-post--signature > .post-body > .post-replace > .post-text,
.post.fl-election-post--signature > .post-body > .post-stats,
.post.fl-election-post--signature > .post-body > .post-actions {
  padding-inline: var(--election-signature-inset);
}

.post.fl-election-post--signature > .post-footer {
  border-radius: 0 0 20px 20px;
}

body.night-mode .post.fl-election-post--signature,
body.night-mode .post-snippet.fl-election-post--signature {
  --election-signature-text: #e8efff;
  --election-signature-blue: #91afff;
  --election-signature-border: #3c4a60;
  background: var(--card-dark-color, #242d3a);
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 25%);
}

@media (max-width: 600px) {
  .post.fl-election-post--signature {
    --election-signature-inset: 24px;
  }

  .post.fl-election-post--signature > .post-body > .post-header {
    padding-top: 24px;
  }
}

@media (max-width: 360px) {
  .fl-election-feed-context {
    gap: 12px;
    padding: 20px 16px;
  }

  .post.fl-election-post--signature {
    --election-signature-inset: 16px;
  }
}
