/* Scoped to directory profiles and HivePress account/review/claim forms. */
.oan-profile-layout{--oan-navy:#0b2942;--oan-gold:#efbd13;--oan-ink:#203c52;color:var(--oan-ink);padding-top:24px;padding-bottom:32px}
.oan-profile-layout .hp-page__content{background:#fff;border:1px solid #e2e8ee;border-radius:16px;padding:28px!important}
.oan-profile-brand{display:flex;gap:18px;align-items:center;margin-bottom:22px}
.oan-profile-brand img{width:96px;height:76px;object-fit:contain;border:1px solid #e5eaf0;border-radius:12px;padding:8px;background:#fff}
.oan-profile-kicker{display:block;color:#526779;font:750 11px/1.5 system-ui,sans-serif;letter-spacing:.09em;margin-bottom:5px}
.oan-profile-subtitle{font-size:14px;color:#50677a}
.oan-profile-layout .hp-listing__title{font-size:clamp(28px,3.5vw,40px);line-height:1.18;color:var(--oan-navy);margin-bottom:14px}
.oan-profile-layout .hp-listing__details--primary{font-size:13px;margin-bottom:20px}
.oan-profile-layout .hp-listing__description{font-size:16px;line-height:1.75;color:#344d60}
.oan-profile-layout .hp-listing__description:before{content:'About this provider';display:block;font-size:23px;font-weight:700;color:var(--oan-navy);margin:24px 0 12px}
.oan-profile-actions{display:flex!important;flex-wrap:wrap;gap:12px;align-items:center;background:#fff9e5;border:1px solid #ebd994;border-top:4px solid var(--oan-gold);padding:22px!important;border-radius:12px;margin:24px 0!important;scroll-margin-top:110px}
.oan-profile-actions .oan-action-intro{flex:0 0 100%}
.oan-action-intro h2{font-size:24px!important;line-height:1.2;margin:0 0 8px!important;color:var(--oan-navy)}
.oan-action-intro p{font-size:14px;line-height:1.6;margin:0 0 5px!important;color:#455d6e}
.oan-profile-actions>a.hp-listing__action{margin:0!important;display:inline-flex;gap:8px;align-items:center;justify-content:center;text-decoration:none!important;padding:11px 16px;border-radius:8px;font-size:14px;font-weight:700;line-height:1.4;min-height:46px}
.oan-profile-actions>a.hp-listing__action--review{background:var(--oan-navy);color:#fff!important}
.oan-profile-actions>a.hp-listing__action--claim{background:#fff;border:1px solid #b9c7d1;color:var(--oan-navy)!important}
.oan-profile-actions>a.hp-listing__action--report{color:#5c6c7b!important;font-size:12px;margin-left:auto!important;padding:8px}
.oan-profile-actions .hp-modal{display:none}
.oan-profile-reviews{border:1px solid #dfe6ec;background:#f7f9fb;border-radius:12px;padding:22px;margin:0 0 26px;scroll-margin-top:110px}
.oan-profile-reviews>.hp-section__title{font-size:23px;color:var(--oan-navy);margin-bottom:18px}
.oan-profile-reviews .hp-review{background:#fff;border-radius:10px;border:1px solid #e2e8ed;padding:20px;margin-bottom:14px}
.oan-profile-reviews .hp-review__text{font-size:15px;line-height:1.65}
.oan-profile-layout .hp-page__sidebar .hp-listing__attribute{background:#fff!important;border:1px solid #e1e7ed;border-radius:9px;padding:15px!important;margin-bottom:10px;font-size:14px;line-height:1.55;text-align:left!important;overflow-wrap:anywhere}
.oan-profile-layout .hp-page__sidebar .hp-listing__attributes{background:transparent!important}
.oan-profile-layout .hp-page__sidebar .hp-listing__attribute strong{color:var(--oan-navy)}
.oan-profile-layout .hp-page__sidebar .hp-listing__attribute p{margin:6px 0}
/* The sharing plugin injects icons into each attribute. Keep those out of this profile layout. */
.oan-profile-layout .hp-listing__attributes .addtoany_share_save_container,.oan-profile-layout .hp-listing__description .addtoany_share_save_container{display:none!important}
.oan-profile-note{background:#f4f7f9;padding:16px;border-radius:9px;color:#5b6c7b;font-size:13px;line-height:1.6}
/* IDs belong to HivePress only; native field names, validation and AJAX stay intact. */
:is(#user_login_modal,#user_register_modal,#user_password_request_modal,#review_submit_modal,#listing_claim_submit_modal){width:540px!important;max-width:calc(100vw - 32px)!important;border-radius:16px!important;border-top:5px solid #efbd13;padding:30px!important;color:#203c52;box-sizing:border-box}
:is(#user_login_modal,#user_register_modal,#user_password_request_modal,#review_submit_modal,#listing_claim_submit_modal) .hp-modal__title{font-size:27px;line-height:1.2;color:#0b2942;margin:0 0 18px}
.oan-directory-form{font-family:system-ui,-apple-system,sans-serif;color:#203c52}
.oan-directory-form .hp-form__description{background:#f3f6f9;padding:14px 16px;border-radius:9px;font-size:14px;line-height:1.65;margin-bottom:22px}
.oan-directory-form .hp-form__label{font-size:14px;font-weight:650;color:#203c52;margin-bottom:8px}
.oan-directory-form :is(input[type=text],input[type=email],input[type=password],textarea,select){width:100%;border:1px solid #bfcbd6!important;border-radius:8px!important;background:#fff!important;padding:12px!important;font-size:16px!important;color:#173449;min-height:46px;box-sizing:border-box}
.oan-directory-form textarea{min-height:155px!important;line-height:1.6;resize:vertical}
.oan-directory-form :is(input,textarea,select):focus{outline:3px solid #bad4ea!important;outline-offset:1px;border-color:#315f82!important}
.oan-directory-form button[type=submit]{width:100%;background:#0b2942!important;color:#fff!important;border:0;border-radius:8px!important;padding:13px 20px!important;font-size:15px;font-weight:700;min-height:48px}
.oan-directory-form button[type=submit]:disabled{opacity:.6}
.oan-directory-form .hp-form__footer{display:flex;flex-direction:column;gap:15px;align-items:stretch}
.oan-directory-form .hp-form__actions{font-size:14px;line-height:1.6;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}
.oan-directory-form .hp-form__actions a{color:#174d75;text-decoration:underline}
.oan-directory-form .hp-form__messages{font-size:14px;line-height:1.5;padding:12px;border-radius:7px}
.oan-directory-form .hp-form__messages--error{background:#fff0ee;color:#9a302b}
.oan-directory-form .hp-form__messages--success{background:#eaf6ed;color:#205d3c}
.oan-directory-form .hp-field--rating{font-size:26px}
.oan-profile-actions a:focus-visible{outline:3px solid #2c79b3;outline-offset:3px}
@media(max-width:767px){.oan-profile-layout .hp-page__content{padding:18px!important}.oan-profile-brand{gap:12px}.oan-profile-brand img{width:76px;height:66px}.oan-profile-actions{padding:17px!important;gap:10px}.oan-profile-actions>a.hp-listing__action--review,.oan-profile-actions>a.hp-listing__action--claim{flex:1 0 100%}.oan-profile-actions>a.hp-listing__action--report{margin-left:0!important}.oan-profile-reviews{padding:16px}.oan-profile-reviews .hp-review{padding:15px}:is(#user_login_modal,#user_register_modal,#user_password_request_modal,#review_submit_modal,#listing_claim_submit_modal){padding:24px 20px!important}.oan-directory-form .hp-form__actions{gap:16px}}
.oan-profile-layout .oan-profile-actions{flex-direction:row!important;align-items:center!important}
@media(max-width:767px){.oan-profile-layout.hp-row{margin-left:0!important;margin-right:0!important;width:100%}.oan-profile-layout .hp-page__content,.oan-profile-layout .hp-page__sidebar{min-width:0;max-width:100%}}
