.site-header-cover {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;

  width: 100% !important;
  max-width: 1920px !important;

  left: 50% !important;
  transform: translateX(-50%) !important;

  object-fit: cover !important;
}


/* Legacy pill en thumbnails */
.post-card-image-link {
  position: relative;
}

.post-card-legacy-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 10, 3, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 157, 0, 0.35);
  color: #ff9d00;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 100px;
  pointer-events: none;
  z-index: 10;
  font-size: 0.75rem;
}


  
.site-header-content {padding-bottom: 2vmin !important;}

/* Asegura que el texto NO esté limitado por estilos raros del theme */
.site-description{
  position: absolute !important;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: min(92%, 980px);

  margin: 0 !important;
  padding: 0.9rem 1.15rem;

  text-align: center;
  font-size: 1.35rem;
  line-height: 1.45;

  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);

  z-index: 10;
}

/* El “callout” va en el mismo elemento que el texto */
.site-description::before{
  content:"";
  position: absolute;
  inset: 0; /* ocupa exactamente el mismo tamaño que la caja del texto */
  background: rgba(20, 18, 28, 0.35);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: -1; /* se va detrás del texto */
  pointer-events: none;
}

@media (max-width: 768px){
  .site-description{
    bottom: 0.75rem !important;
    width: min(94%, 980px) !important;
    padding: 0.75rem 0.9rem !important;
    font-size: 1.15rem !important;
  }
}

  
  
  /* ===============================
   HAEL CALLOUT SYSTEM
   =============================== */

/* ===== Base callout ===== */
.hael-callout {
  margin: 1.4rem 0 1.8rem;
  padding: 1.4rem 1.5rem;
  border-radius: 18px;
  position: relative;
  display: block;
}

/* Header */
.hael-callout__header {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 0.6rem;
}

.hael-callout__emoji {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 1.35rem;
  line-height: 1;
}

.hael-callout__title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
}

/* Text */
.hael-callout__text {
  margin: 0.4rem 0 0;
  line-height: 1.6;
  font-size: 1.35rem;
}

/* Links / pills */
.hael-callout__links {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hael-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.3rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.hael-pill:hover {
  transform: translateY(-1px);
}

/* ===============================
   VARIANT: AFTER HOURS
   =============================== */
.hael-callout.is-afterhours {
  background: linear-gradient(135deg, #faf7ff, #fffdf8);
  border: 1px solid rgba(120, 90, 180, 0.10);
  box-shadow: 0 8px 24px rgba(120, 90, 180, 0.12);
}

.hael-callout.is-afterhours .hael-callout__emoji {
  background: #f1ecff;
}

.hael-callout.is-afterhours .hael-callout__title {
  color: #4a3f66;
}

.hael-callout.is-afterhours .hael-callout__text {
  color: #3f3a4d;
}

.hael-callout.is-afterhours .hael-pill {
  background: #f3efff;
  border: 1px solid rgba(120, 90, 180, 0.18);
  color: #4a3f66;
}

.hael-callout.is-afterhours .hael-pill:hover {
  background: #e9e2ff;
}

/* ===============================
   VARIANT: NOTICE / WARNING
   =============================== */
.hael-callout.is-notice {
  background: linear-gradient(135deg, #fff6e8, #fff1f1);
  border: 1px solid rgba(200, 120, 90, 0.18);
  box-shadow: 0 6px 18px rgba(200, 120, 90, 0.12);
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.hael-callout.is-notice .hael-callout__emoji {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.6rem;
}

.hael-callout.is-notice .hael-callout__text {
  color: #5a3b2e;
}

.hael-callout.is-notice a {
  color: #8a3f2b;
  font-weight: 600;
  text-decoration: none;
}

.hael-callout.is-notice a:hover {
  text-decoration: underline;
}


/* ===============================
   ESTILOS PARA CAMPFIRE PILL
   =============================== */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campfire-points-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 169, 80, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.campfire-points-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.campfire-points-label {
  opacity: 0.85;
  font-size: 0.9rem;
}

.campfire-points-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ffe07d;
  color: #1d1720;
  font-weight: 800;
  font-size: 1.25rem;
}

  /* Tooltip */
/* Tooltip */
.campfire-points-pill::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);

  background: rgba(255, 242, 227, 0.95);
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 14px 16px;
  border-radius: 10px;
  box-sizing: border-box;

  width: max-content;
  min-width: 220px;
  max-width: min(420px, calc(100vw - 24px));

  white-space: normal;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* Flechita */
.campfire-points-pill::before {
  content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);

  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 242, 227, 0.95) transparent;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}

/* Hover */
.campfire-points-pill:hover::after,
.campfire-points-pill:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
  
  .campfire-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 4px rgba(255, 140, 80, 0.6));
}

.campfire-points-pill.is-loading .campfire-points-value {
  opacity: 0.7;
}

@media (max-width: 900px) {
  .campfire-points-label {
    display: none;
  }

  .campfire-points-pill {
    padding: 10px 12px;
    gap: 0;
  }

  .campfire-points-pill {
  position: relative;
}

}

.site-header-cover {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;

  width: 100% !important;
  max-width: 1920px !important;

  left: 50% !important;
  transform: translateX(-50%) !important;

  object-fit: cover !important;
}
  
.site-header-content {padding-bottom: 2vmin !important;}

/* Asegura que el texto NO esté limitado por estilos raros del theme */
.site-description{
  position: absolute !important;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  width: min(92%, 980px);

  margin: 0 !important;
  padding: 0.9rem 1.15rem;

  text-align: center;
  font-size: 1.35rem;
  line-height: 1.45;

  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);

  z-index: 10;
}

/* El “callout” va en el mismo elemento que el texto */
.site-description::before{
  content:"";
  position: absolute;
  inset: 0; /* ocupa exactamente el mismo tamaño que la caja del texto */
  background: rgba(20, 18, 28, 0.35);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: -1; /* se va detrás del texto */
  pointer-events: none;
}

@media (max-width: 768px){
  .site-description{
    bottom: 0.75rem !important;
    width: min(94%, 980px) !important;
    padding: 0.75rem 0.9rem !important;
    font-size: 1.15rem !important;
  }
}

  /* ===============================
   EMBER TOKENS PILL
   =============================== */
.ember-tokens-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(180, 120, 255, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.ember-tokens-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.ember-token-icon {
  font-size: 18px;
  filter: drop-shadow(0 0 4px rgba(180, 120, 255, 0.6));
}

.ember-tokens-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8d5ff;
  color: #1d1720;
  font-weight: 800;
  font-size: 1.25rem;
}

.ember-tokens-pill::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(240, 232, 255, 0.95);
  color: #000;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 14px 16px;
  border-radius: 10px;
  box-sizing: border-box;
  width: max-content;
  min-width: 220px;
  max-width: min(420px, calc(100vw - 24px));
  white-space: normal;
  text-align: left;
  overflow-wrap: break-word;
  word-break: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.ember-tokens-pill::before {
  content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(240, 232, 255, 0.95) transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10000;
}

.ember-tokens-pill:hover::after,
.ember-tokens-pill:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gh-head-members {
  overflow: visible !important;
}

.gh-head-actions {
  overflow: visible !important;
}

@media (max-width: 900px) {
  .ember-tokens-pill {
    padding: 10px 12px;
    gap: 0;
    position: relative;
  }
}