/* ═══════════════════════════════════════════════════════════════
   CUSTOM OVERRIDES
   Enqueued last of every theme stylesheet (see inc/enqueue.php —
   'herald-custom' depends on every other handle, including
   'elementor-frontend'), so anything added here always wins the cascade.

   Use this file for one-off CSS fixes — especially anything overriding
   Elementor's own default widget/editor styles — instead of editing
   design-system.css or a module's own CSS directly. Keeps "this rule exists
   to beat Elementor" visually separate from the theme's actual design system.
   ═══════════════════════════════════════════════════════════════ */

.join-section .join-content h2 {
	color: var(--gold-light);
}

.wysiwyg img {
	border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* FORMS */
.form-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 8px;
    font-family: var(--font-body); font-size: 1.05rem; color: var(--text-dark); background: var(--cream);
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 140px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.checkbox-group input { width: auto; margin-top: 4px; }
.checkbox-group label { font-weight: 400; color: var(--text-mid); font-size: 0.98rem; margin-bottom: 0; }
.form-actions { margin-top: 8px; text-align: center; }
.form-note { text-align: center; margin-top: 20px; font-size: 1rem; color: var(--text-mid); }
.form-note a { color: var(--teal); font-weight: 700; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }
.password-wrap { position: relative; }
.password-toggle { position: absolute; right: 14px; top: 14px; cursor: pointer; font-size: 1.2rem; background: none; border: none; }
.alert { padding: 14px 20px; border-radius: 8px; margin-bottom: 24px; font-weight: 600; font-size: 0.98rem; display: none; }
.alert.show { display: block; }
.alert-info { background: var(--teal-pale); color: var(--teal); border: 1px solid var(--teal-light); }
.alert-error { background: #FCE8E6; color: #B3261E; border: 1px solid #f5b7b1; }
.alert-success { background: #E6F4EA; color: #1E7E34; border: 1px solid #9bd6ad; }


.login-section { padding: 80px 0; min-height: 60vh; display: flex; align-items: center; }
.login-card { max-width: 480px; margin: 0 auto; background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 48px; box-shadow: var(--shadow-md); }
.login-card h1 { font-family: var(--font-display); font-size: 2rem; color: var(--navy); text-align: center; margin-bottom: 10px; }
.login-card .login-sub { text-align: center; color: var(--text-mid); margin-bottom: 32px; font-size: 1.05rem; }