/* Deductifi block theme — member + marketing polish */
.site-header {
  border-bottom: 1px solid var(--wp--preset--color--deductifi-border, #e3e7f0);
  background: #fff;
}

.deductifi-callout {
  max-width: 780px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}

.wp-site-blocks main {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Member dashboard bleed was for Impreza; neutralise under block theme */
.deductifi-member-dash-bleed {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.df-public-builder-page {
  max-width: 100%;
  overflow-x: hidden;
}

.deductifi-mytax-report,
.deductifi-expenses-report,
#deductifi-report-body {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

footer.wp-block-template-part {
  background: var(--wp--preset--color--deductifi-footer, #0f131f);
  color: #8d9096;
}

footer.wp-block-template-part a {
  color: var(--wp--preset--color--deductifi-primary, #646cfd);
}

.wp-block-details {
  border: 1px solid #e3e7f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: #fff;
}

.wp-block-details summary {
  font-weight: 600;
  color: #0f131f;
  cursor: pointer;
}

/* Logged-in member header (Impreza app-header + dashboard action menus) */
.deductifi-member-header-wrap {
  border-bottom: 1px solid #e3e7f0;
  background: #fff;
}

.deductifi-member-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.5rem 1rem 0.75rem;
}

.deductifi-member-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.deductifi-member-header__row--top {
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eef1f6;
}

.deductifi-member-header__row--actions {
  padding-top: 0.55rem;
}

.deductifi-member-header__brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f131f;
  text-decoration: none;
}

.deductifi-member-header__brand:hover {
  color: #646cfd;
}

.deductifi-member-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.deductifi-member-menu a {
  color: #35415b;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.2rem 0;
}

.deductifi-member-menu a:hover,
.deductifi-member-menu .current-menu-item > a,
.deductifi-member-menu .current_page_item > a {
  color: #646cfd;
}

.deductifi-member-header__add {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.deductifi-member-header__add-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #727f9f;
}

.deductifi-member-menu--add a {
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 782px) {
  .deductifi-member-header__row--actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .deductifi-member-header__add {
    margin-left: 0;
    flex-wrap: wrap;
  }
}
