/* Stepdance Classes — front-end styles.
   Change the colors here, or override the variables in Bricks > Settings > Custom CSS:
   :root { --sd-accent: #e4502a; } */

:root {
	--sd-ink: #2a1810;
	--sd-paper: #f7ebd3;
	--sd-paper-2: #efddb8;
	--sd-accent: #e4502a;
	--sd-sun: #f0b02e;
	--sd-green: #3f6b3a;
	--sd-radius: 24px;
}

.sd-wrap { color: var(--sd-ink); font-size: 1rem; line-height: 1.55; max-width: 1200px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.sd-wrap *, .sd-wrap *::before, .sd-wrap *::after { box-sizing: border-box; }
.sd-wrap h2 { margin: 0 0 16px; }

/* Buttons */
.sd-btn { display: inline-block; background: var(--sd-ink); color: var(--sd-paper) !important; border: 3px solid var(--sd-ink); border-radius: 999px; padding: 11px 24px; font-weight: 700; text-decoration: none !important; cursor: pointer; line-height: 1.2; font-size: 1.6rem; transition: transform .15s; }
.sd-btn:hover { transform: translate(-2px, -2px); }
.sd-btn--ghost { background: transparent; color: var(--sd-ink) !important; }
.sd-wrap a:focus-visible, .sd-btn:focus-visible, .sd-form :focus-visible, .sd-filters :focus-visible { outline: 3px solid var(--sd-ink); outline-offset: 3px; }

/* Notices */
.sd-notice { border: 3px solid var(--sd-ink); border-radius: 16px; padding: 12px 18px; margin: 0 0 20px; font-weight: 500; }
.sd-notice--ok { background: #dfe9d0; }
.sd-notice--err { background: #f6c9bd; }
.sd-note { background: var(--sd-paper-2); border-radius: 12px; padding: 8px 14px; margin: 8px 0; font-size: 2rem; }

/* Dashboard navigation */
.sd-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 28px; padding: 0 0 12px; border-bottom: 3px dashed var(--sd-ink); }
.sd-nav a { font-size:18px;color: var(--sd-ink); font-weight: 700; padding: 10px 0; text-decoration: none; }
.sd-nav a:hover, .sd-nav a.is-active { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--sd-accent); }

/* Class list in the dashboard */
.sd-rows { display: grid; gap: 16px; }
.sd-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; background: var(--sd-paper); border: 3px solid var(--sd-ink); border-radius: var(--sd-radius); padding: 18px 22px; box-shadow: 5px 5px 0 var(--sd-ink); }
.sd-row__main { font-size:16px;flex: 1 1 260px; min-width: 0; }
.sd-row__actions { font-size:16px;display: flex; flex-wrap: wrap; gap: 4px 18px; }
.sd-row__actions a { color: var(--sd-ink); font-weight: 700; padding: 10px 0; }
.sd-row__actions .sd-danger { color: #a62b0c; }
.sd-status {display: inline-block; border: 2px solid var(--sd-ink); border-radius: 999px; padding: 1px 12px; margin: 0 6px 4px 8px; font-size: 1.5rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--sd-paper); }
.sd-status--live { background: var(--sd-green); color: var(--sd-paper); }
.sd-status--review { background: var(--sd-sun); }
.sd-status--changes { background: var(--sd-accent); }
.sd-status--featured { background: var(--sd-sun); }

/* Forms */
.sd-form { background: var(--sd-paper); border: 3px solid var(--sd-ink); border-radius: var(--sd-radius); box-shadow: 6px 6px 0 var(--sd-ink); padding: 28px; }

.sd-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; flex: 1 1 220px; }
.sd-field label, .sd-plans legend { font-weight: 700; font-size: 1.95rem;color: var(--text-color); }
.sd-form input[type="text"], .sd-form input[type="email"], .sd-form input[type="url"], .sd-form input[type="password"], .sd-form select, .sd-form textarea,
.sd-filters select { font-size:2em !important;font: inherit; color: var(--sd-ink); background: #fff8e8; border: 3px solid var(--sd-ink); border-radius: 16px; padding: 10px 14px; min-height: 66px; width: 100%; }
.sd-cols { display: flex; flex-wrap: wrap; gap: 0 20px; }
.sd-thumb img { border-radius: 16px; border: 3px solid var(--sd-ink); display: block; margin-bottom: 8px; max-width: 160px; height: auto; }
.sd-hp { position: absolute; left: -9999px; }
.sd-instructions { font-size:2rem;background: var(--sd-paper-2); border-radius: 16px; padding: 14px 18px; margin: 0 0 18px; }
.sd-plans { border: 0; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.sd-plan { display: flex; gap: 12px; align-items: flex-start; border: 3px solid var(--sd-ink); border-radius: 18px; padding: 14px 16px; cursor: pointer; background: #fff8e8;font-size:2rem;color: var(--text-color); }
.sd-plan--featured { background: #fbe3a6; }
.sd-plan em { font-style: normal; font-weight: 700; margin-left: 6px; }
.sd-plan input { margin-top: 5px; }

/* Cards */
.sd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 28px; margin: 24px 0; }
.sd-card { background: var(--sd-paper); border: 3px solid var(--sd-ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--sd-ink); overflow: hidden; display: flex; flex-direction: column; }
.sd-card--featured { border-color: var(--sd-ink); box-shadow: 6px 6px 0 var(--sd-sun), 6px 6px 0 3px var(--sd-ink); }
.sd-card__media { display: block; height: 150px; background: repeating-linear-gradient(135deg, var(--sd-accent) 0 22px, #e96a48 22px 44px); }
.sd-card:nth-child(3n+2) .sd-card__media { background: repeating-linear-gradient(135deg, var(--sd-sun) 0 22px, #f3c453 22px 44px); }
.sd-card:nth-child(3n) .sd-card__media { background: repeating-linear-gradient(135deg, var(--sd-green) 0 22px, #4b7d45 22px 44px); }
.sd-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; align-items: flex-start; }
.sd-card__title { margin: 0; line-height: 1.15; }
.sd-card__title a { color: var(--sd-ink); text-decoration: none; }
.sd-card__title a:hover { text-decoration: underline; }
.sd-meta { margin: 0; flex: 1; font-size: 1.45rem; }
.sd-meta a { color: var(--sd-ink); font-weight: 700; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sd-chip, .sd-badge { display: inline-block; border: 2px solid var(--sd-ink); border-radius: 999px; padding: 1px 14px; font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; background: var(--sd-paper-2); }
.sd-chip--line { background: transparent; }
.sd-badge { background: var(--sd-sun); color: var(--sd-ink); }

/* Filters */
.sd-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: var(--sd-paper-2); border: 3px solid var(--sd-ink); border-radius: var(--sd-radius); padding: 16px 18px; margin: 0 0 8px; }
.sd-filters select { flex: 1 1 180px; width: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Single class details */
.sd-details { background: var(--sd-paper); border: 3px solid var(--sd-ink); border-radius: var(--sd-radius); box-shadow: 6px 6px 0 var(--sd-ink); padding: 22px 26px; margin: 0 0 28px; color: var(--sd-ink); }
.sd-details dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 12px 0; }
.sd-details dt { font-weight: 700; }
.sd-details dd { margin: 0; }
.sd-details .sd-by { margin: 12px 0 0; }

/* Instructor profile */
.sd-instructor { display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; background: var(--sd-paper); border: 3px solid var(--sd-ink); border-radius: var(--sd-radius); box-shadow: 6px 6px 0 var(--sd-ink); padding: 28px; margin: 0 auto 32px; }
.sd-instructor__photo img { border-radius: 50%; border: 3px solid var(--sd-ink); display: block; width: 140px; height: 140px; object-fit: cover; }
.sd-instructor__info { flex: 1 1 300px; min-width: 0; }
.sd-instructor__info h2 { margin: 0 0 4px; }
.sd-links a { margin-right: 18px; color: var(--sd-ink); font-weight: 700; }

.sd-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.sd-pagination .page-numbers { border: 3px solid var(--sd-ink); border-radius: 999px; padding: 6px 16px; color: var(--sd-ink); text-decoration: none; font-weight: 700; }
.sd-pagination .current { background: var(--sd-ink); color: var(--sd-paper); }

/* Highlight on the post class, for Bricks loops: style .sd-featured as you like */
.sd-featured { position: relative; }
.sd-form *::placeholder {
    color: #000 !important;
    font-size: 2rem;
}



.sd-form select {
    font-size:2rem!Important; 
}

.sd-auth #loginform {
  background: #f7ebd3;
  border: 3px solid #2a1810;
  border-radius: 24px;
  box-shadow: 6px 6px 0 #2a1810;
  padding: 28px;
  box-sizing: border-box;
  font-size:2rem !important;
  color: #2a1810;
}
.sd-auth #loginform p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 18px;
}
.sd-auth #loginform label {
  font-weight: 700;
  font-size: 2rem;
}
.sd-auth #loginform input.input {
  font: inherit;
  color: #2a1810;
  background: #fff8e8;
  border: 3px solid #2a1810;
  border-radius: 16px;
  padding: 10px 14px;
  min-height: 46px;
  width: 100%;
  box-sizing: border-box;
}
.sd-auth #loginform .login-remember label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.sd-auth #loginform .login-remember input {
  width: 20px;
  height: 20px;
  accent-color: #2a1810;
}
.sd-auth #loginform .login-submit { margin: 0; }
.sd-auth #loginform #wp-submit {
  display: inline-block;
  background: #2a1810;
  color: #f7ebd3;
  border: 3px solid #2a1810;
  border-radius: 999px;
  padding: 11px 24px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s;
}
.sd-auth #loginform #wp-submit:hover { transform: translate(-2px, -2px); }
.sd-auth #loginform input:focus-visible,
.sd-auth #loginform #wp-submit:focus-visible {
  outline: 3px solid #2a1810;
  outline-offset: 3px;
}