/* WordPress-side additions to the static stylesheet. ie.css stays a verbatim
   copy of demo-site/public/css/style.css; whatever the WordPress build needs on
   top of it lives here. */

/* Cards past the first twelve wait for "Load More". The card's own display
   rule would otherwise beat the hidden attribute. */
.profile-card[hidden] { display: none !important; }

/* The sticky header sits under the admin bar for signed-in editors. */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Terms, privacy and the other content pages. */
.ie-page-content { line-height: 1.75; }
.ie-page-content h1,
.ie-page-content h2 { font-family: var(--font-display); margin: 24px 0 10px; }
.ie-page-content h2 { font-size: 22px; }
.ie-page-content h3 { font-size: 17px; margin: 20px 0 8px; }
.ie-page-content p,
.ie-page-content ul,
.ie-page-content ol { margin: 0 0 14px; }
.ie-page-content ul,
.ie-page-content ol { padding-left: 22px; }
.ie-page-content a { color: var(--primary); text-decoration: underline; }

/* Sign-in and registration pages: the auth modal's form, as a page. */
.ie-auth-wrap { padding: 40px 20px 72px; }
.ie-auth-card { max-width: 460px; margin: 0 auto; }
.ie-auth-card .demo-notice { margin-bottom: 16px; }

/* On account pages escorts-theme's premium-concierge.css loads too, and it
   restyles every .premium-btn as a large pill with !important. Pin the header
   button back to the static design. */
.utility-row .premium-btn {
  min-height: 0 !important; padding: 6px 16px !important; gap: 7px !important;
  border: none !important; border-radius: 6px !important;
  background: var(--primary) !important; color: #fff !important;
  box-shadow: none !important; font-family: var(--font) !important;
  font-size: 13px !important; font-weight: 600 !important;
}
.utility-row .premium-btn:hover {
  background: var(--primary-light) !important; box-shadow: none !important;
}

/* Registration: the account type is a deliberate choice between two cards,
   not a dropdown under the password fields. */
.ie-role-choice { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ie-role-choice legend { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.ie-role-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ie-role-option { position: relative; cursor: pointer; }
.ie-role-option input { position: absolute; opacity: 0; pointer-events: none; }
.ie-role-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; transition: var(--transition);
}
.ie-role-card i { color: var(--primary); font-size: 18px; margin-bottom: 2px; }
.ie-role-card strong { font-size: 15px; color: var(--text); }
.ie-role-card small { font-size: 12px; color: var(--text-light); line-height: 1.4; }
.ie-role-option:hover .ie-role-card { border-color: var(--primary-light); }
.ie-role-option input:checked + .ie-role-card {
  border-color: var(--primary); background: #eef6f1;
  box-shadow: 0 0 0 3px rgba(18, 112, 74, 0.12);
}
.ie-role-option input:focus-visible + .ie-role-card { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (max-width: 420px) { .ie-role-options { grid-template-columns: 1fr; } }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
