/* Single-column ACLD profile layout with right-aligned edit/add links */
.acld-profile-header {
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}
.acld-edit-profile-btn {
  font-size:0.9rem;
}
.acld-profile {
    width: 100%;
    padding: 15px 20px;
    font-size: 0.95rem;
    background-color: var(--pmpro--color--base);
    border: 1px solid var(--pmpro--color--border--variation);
    box-shadow: var(--pmpro--box-shadow);
    display: flex;
    flex-direction: column;
    margin: var(--pmpro--base--spacing--medium) 0;
    overflow: hidden;
}
.acld-profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid rgb(221 221 221);
    font-size: 1rem;
}
.acld-profile-label {
  font-weight: 700;
  flex: 0 0 160px;
}
.acld-profile-value {
  flex: 1;
  padding: 0 10px;
}
/* Membership panel */
.acld-membership-panel {
    padding: 15px 20px;
    font-size: 0.95rem;
    background-color: var(--pmpro--color--base);
    border: 1px solid var(--pmpro--color--border--variation);
    box-shadow: var(--pmpro--box-shadow);
    display: flex;
    flex-direction: column;
    margin: var(--pmpro--base--spacing--medium) 0;
    overflow: hidden;
}
.acld-membership-panel p {
    margin-bottom: 3px;
}
.single-content .acld-membership-panel p {
    margin-bottom: 3px;
}
.acld-membership-label {
  font-weight: 700;
}
.acld-renew-button {
  display: inline-block;
  margin-top: 8px;
}
.acld-link {
    text-decoration: none;
    color: inherit; /* matches your profile text */
}
.acld-link:hover {
    text-decoration: underline; /* optional — remove this if you want no underline on hover either */
}
.acld-renew-notice {
    color: #c95a00;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 10px;
}


/* Responsive */
@media (max-width: 767px) {
  .acld-profile-row {
    flex-wrap: wrap;
  }
  .acld-profile-label {
    flex: 0 0 100%;
    margin-bottom: 2px;
  }
  .acld-profile-value {
    flex: 0 0 100%;
    padding: 0 0 4px 0;
  }
}
/* ACLD Membership Status Badges */
.acld-status-badge {
    display: inline-block;
    padding: 0px 10px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ACTIVE = green */
.acld-status-badge.status-active {
    background-color: #2E8B57;
}

/* INACTIVE (no membership or expired) = red */
.acld-status-badge.status-inactive {
    background-color: #a00000;
}/* Membership Warning Banner */
.acld-membership-warning {
    background: #962b800f;
    border-left: 4px solid #952a80;
    padding: 12px 16px;
    margin: 18px 0;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 4px;
}

.acld-renew-now-btn {
    display: inline-block;
    padding: 7px 20px 9px;
    background: #952a80;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0px;
    margin-top: 8px;
    transition: background 0.2s ease;
}

.acld-renew-now-btn:hover {
    background: #872573;
    color: #fff !important;
}

h3.acld-profile-welcome {
    color: #952a80;
    text-transform: capitalize;
}

/* Stack profile and membership panels on medium desktop widths. */
@media (min-width: 1025px) and (max-width: 1280px) {
  .kb-row-layout-id250960_305662-f9 > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .kb-row-layout-id250960_305662-f9 > .kt-row-column-wrap > .wp-block-kadence-column:first-child {
    order: 2;
  }

  .kb-row-layout-id250960_305662-f9 > .kt-row-column-wrap > .wp-block-kadence-column:last-child {
    order: 1;
  }
}