/* ==========================================================================
   PASSWORD PAGE STYLING
   ========================================================================== */

/* Hide site header/footer parts on protected pages */
.password-protected-page .front-page-menu,
.password-protected-page footer.wp-block-template-part {
    display: none;
}

/* Background + center layout */
.password-protected-page {
    background-image: url(https://highpointlives.com/wp-content/uploads/2025/10/Higpoint-summer-hi-res-scaled.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}

/* H1 heading above the form */
.password-protected-page .hp-heading {
  font-family: 'Century Gothic', Arial, Helvetica, sans-serif;
text-align: center; 
font-size: clamp(3.5rem, 0.6364rem + 13.0909vw, 8rem);
line-height: 1.2;
  color:white;
  text-shadow: 
2px 2px 8px rgba(0,0,0,0.1),
-2px 2px 8px rgba(0,0,0,0.1),
2px -2px 8px rgba(0,0,0,0.1),
-2px -2px 8px rgba(0,0,0,0.1);
}

/* Form wrapper */
.password-protected-page .form-wrap {
    max-width: 360px;
    width: 100%;
    padding: 22px;
    margin: 2em auto 0;
    background-color: rgba(255,255,255,0.95);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

/* Prompt paragraph inside wrapper */
.password-protected-page .pin-prompt {
    color: #333;
    margin: 0 0 14px;
    text-align: center;
}

/* Inline fields */
.password-protected-page .pin-inline-fields {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
}

/* Label */
.password-protected-page .pin-inline-fields label {
    flex-shrink: 0;
    font-weight: 600;
    color: #555;
}

/* PIN input */
.password-protected-page .pin-inline-fields input[type="tel"],
.password-protected-page .post-password-form input[name="post_password"] {
    max-width: 110px;
    width: 100%;
    text-align: center;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1.05rem;
    transition: border-color 0.18s;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.password-protected-page .pin-inline-fields input[type="tel"]:focus,
.password-protected-page .post-password-form input[name="post_password"]:focus {
    border-color: #0073aa;
    outline: none;
}

/* Submit button */
.password-protected-page .pin-inline-fields input[type="submit"],
.password-protected-page .post-password-form input[type="submit"] {
    padding: 10px 18px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.18s;
}

.password-protected-page .pin-inline-fields input[type="submit"]:hover,
.password-protected-page .post-password-form input[type="submit"]:hover {
    background-color: #005177;
}

/* Help text inside the form wrap — black as requested */
.password-protected-page .pin-help-text {
    color: #000;
    font-size: 0.98rem;
    text-align: center;
    margin-top: 14px;
}

/* Link in help text */
.password-protected-page .pin-help-text a {
    color: #005177;
    text-decoration: underline;
    font-weight: 700;
}
.password-protected-page .pin-help-text a:hover,
.password-protected-page .pin-help-text a:focus {
    color: black;
    text-decoration: none;
}
/* Responsive adjustments */
@media (max-width: 350px) {
    .password-protected-page .pin-inline-fields {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .password-protected-page .form-wrap {
        padding: 16px;
    }
}
