/* ============================================================
   CoolMo Membership Renewal Notice — Banner Styles
   ------------------------------------------------------------
   PURPOSE:
   - Subtle urgency (amber + minimal red) for expired/expiring banners.
   - Designed to sit above the header (wp_body_open).
   ============================================================ */

.coolmo-mrn{
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: inherit;
}

.coolmo-mrn__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  border-left: 7px solid #b45309; /* amber default */
  background: linear-gradient(180deg, #fff6df, #ffe9e6);
}

.coolmo-mrn--expired .coolmo-mrn__inner{
  border-left-color: #b91c1c; /* red for expired */
  background: linear-gradient(180deg, #fff1f2, #fff7ed);
}

.coolmo-mrn__wrap{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.coolmo-mrn__left{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.coolmo-mrn__icon{
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #7f1d1d;
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.18);
}

.coolmo-mrn--expiring .coolmo-mrn__icon{
  color: #9a3412;
  background: rgba(234,88,12,.08);
  border-color: rgba(234,88,12,.18);
}

.coolmo-mrn__content{
  min-width: 0;
}

.coolmo-mrn__title{
  font-weight: 900;
  font-size: 16px;
  margin: 0 0 6px;
  color: #111827;
}

.coolmo-mrn__msg{
  font-size: 14px;
  line-height: 1.45;
  color: #374151;
}

.coolmo-mrn__meta{
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #7c2d12;
}

.coolmo-mrn__right{
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.coolmo-mrn__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #b91c1c;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  white-space: nowrap;
}

.coolmo-mrn--expiring .coolmo-mrn__button{
  background: #7a4b26;
}

.coolmo-mrn__button:hover,
.coolmo-mrn__button:focus{
  filter: brightness(.95);
  color: #fff;
}

.coolmo-mrn__change-plan{
  margin-top: 10px;
  text-align: right;
}

.coolmo-mrn .coolmo-mrn__change-plan a,
.coolmo-mrn .coolmo-mrn__change-plan a:link,
.coolmo-mrn .coolmo-mrn__change-plan a:visited{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #7c2d12 !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(124,45,18,.35);
  padding-bottom: 1px;
  white-space: nowrap;
}

.coolmo-mrn--expired .coolmo-mrn__change-plan a,
.coolmo-mrn--expired .coolmo-mrn__change-plan a:link,
.coolmo-mrn--expired .coolmo-mrn__change-plan a:visited{
  color: #7f1d1d !important;
  border-bottom-color: rgba(127,29,29,.35);
}

.coolmo-mrn .coolmo-mrn__change-plan a:hover,
.coolmo-mrn .coolmo-mrn__change-plan a:focus{
  border-bottom-color: currentColor;
}

@media (max-width: 860px){
  .coolmo-mrn__wrap{
    flex-direction: column;
  }
  .coolmo-mrn__right{
    width: 100%;
    align-items: center;
  }
  .coolmo-mrn__button{
    width: 100%;
  }
  .coolmo-mrn__change-plan{
    text-align: center;
  }
}
