/* Shared Official Pages Directory: public template, Settings editor and preview. */
.template-profile-directory{background:#08090b!important;color:#f5f6f7!important}
.template-profile-directory .profile-directory-template-inner{width:min(1180px,92vw)}
.profile-directory-template-head{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:1.5rem 4rem;align-items:end;margin-bottom:clamp(2rem,5vw,4rem)}
.profile-directory-template-head .builder-eyebrow{grid-column:1/-1}
.profile-directory-template-head .builder-title{max-width:760px;font-size:calc(clamp(2.3rem,5vw,5.5rem)*var(--builder-heading-scale));line-height:.96}
.profile-directory-template-head .builder-subtitle{margin:0;color:var(--builder-muted,var(--seo-muted));font-size:1rem;line-height:1.75}
.profile-directory-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--builder-line,var(--seo-border))}
.profile-directory-template-grid a{display:grid;grid-template-columns:2.5rem 1fr;gap:.5rem 1.25rem;min-height:150px;padding:1.7rem;color:inherit;text-decoration:none;border-right:1px solid var(--builder-line,var(--seo-border));border-bottom:1px solid var(--builder-line,var(--seo-border));transition:background 180ms ease,transform 180ms ease}
.profile-directory-template-grid a:nth-child(2n){border-right:0}
.profile-directory-template-grid a:hover,.profile-directory-template-grid a:focus-visible{background:rgba(255,255,255,.06)}
.profile-directory-template-grid span{grid-row:1/3;color:var(--builder-muted,var(--seo-muted));font-size:.72rem;letter-spacing:.12em}
.profile-directory-template-grid strong{align-self:end;font-size:clamp(1.2rem,2vw,1.65rem);font-weight:520;letter-spacing:-.025em}
.profile-directory-template-grid small{color:var(--builder-muted,var(--seo-muted));line-height:1.5}

body.admin-body .profile-directory-settings-card{padding:28px 30px!important;color:#1d1d1f!important;background:#fff!important;border:1px solid #dfe1e6!important;border-radius:20px!important;box-shadow:0 12px 36px rgba(24,28,36,.045)!important}
body.admin-body .profile-directory-settings-card>h2{margin:5px 0 10px;color:#1d1d1f;font-size:clamp(25px,3vw,34px);line-height:1.05;letter-spacing:-.045em}
body.admin-body .profile-directory-settings-intro{max-width:820px;margin:0 0 24px;color:#5d626c;font-size:13px;line-height:1.65}
body.admin-body .profile-directory-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.admin-body .profile-directory-settings-grid .wide{grid-column:1/-1}
body.admin-body .profile-directory-settings-grid label{display:grid;gap:8px;min-width:0;color:#555b65;font-size:11px;font-weight:700}
body.admin-body .profile-directory-settings-grid input,
body.admin-body .profile-directory-settings-grid textarea{display:block;width:100%;min-width:0;min-height:50px;margin:0;padding:13px 14px;color:#1d1d1f;-webkit-text-fill-color:#1d1d1f;background:#fff;border:1px solid #cfd2d9;border-radius:12px;outline:0;font:500 14px/1.45 Inter,-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif}
body.admin-body .profile-directory-settings-grid textarea{min-height:116px;resize:vertical}
body.admin-body .profile-directory-settings-grid input:focus,
body.admin-body .profile-directory-settings-grid textarea:focus{border-color:#6f7785;box-shadow:0 0 0 4px rgba(61,69,82,.11)}
body.admin-body .profile-directory-settings-note{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-top:20px;padding:15px 17px;color:#1d1d1f;background:#f5f5f7;border:1px solid #dfe1e6;border-radius:14px}
body.admin-body .profile-directory-settings-note b{font-size:12px;line-height:1.35}
body.admin-body .profile-directory-settings-note span{max-width:650px;color:#5d626c;font-size:10px;line-height:1.55;text-align:right}
body.admin-body .profile-directory-preview{overflow:hidden;margin-top:20px;color:#f5f6f7;background:#08090b;border:1px solid #24272d;border-radius:18px}
body.admin-body .profile-directory-preview-shell{padding:clamp(28px,5vw,64px)}
body.admin-body .profile-directory-preview-head{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr);gap:16px 40px;align-items:end;margin-bottom:30px}
body.admin-body .profile-directory-preview-head .eyebrow{grid-column:1/-1;margin:0;color:#8f949e!important;font-size:8px!important;font-weight:750!important;letter-spacing:.13em!important;text-transform:uppercase!important}
body.admin-body .profile-directory-preview-head h2{margin:0;color:#f5f6f7;font-size:clamp(28px,4vw,52px);line-height:.96;letter-spacing:-.055em}
body.admin-body .profile-directory-preview-head>p:last-child{margin:0;color:#a9adb7;font-size:11px;line-height:1.7}
body.admin-body .profile-directory-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid rgba(255,255,255,.13)}
body.admin-body .profile-directory-preview-grid a{display:grid;grid-template-columns:28px 1fr;gap:5px 12px;min-height:105px;padding:18px;color:#f5f6f7;text-decoration:none;border-right:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13);pointer-events:none}
body.admin-body .profile-directory-preview-grid a:nth-child(2n){border-right:0}
body.admin-body .profile-directory-preview-grid span{grid-row:1/3;color:#8f949e;font-size:8px;letter-spacing:.12em}
body.admin-body .profile-directory-preview-grid strong{align-self:end;font-size:14px;letter-spacing:-.02em}
body.admin-body .profile-directory-preview-grid small{color:#a9adb7;font-size:9px;line-height:1.45}

@media(max-width:900px){.profile-directory-template-head{grid-template-columns:1fr}.profile-directory-template-grid{grid-template-columns:1fr}.profile-directory-template-grid a{border-right:0}body.admin-body .profile-directory-preview-head{grid-template-columns:1fr}}
@media(max-width:720px){body.admin-body .profile-directory-settings-card{padding:22px 18px!important}body.admin-body .profile-directory-settings-grid{grid-template-columns:1fr}body.admin-body .profile-directory-settings-grid .wide{grid-column:auto}body.admin-body .profile-directory-settings-note{flex-direction:column}body.admin-body .profile-directory-settings-note span{text-align:left}body.admin-body .profile-directory-preview-grid{grid-template-columns:1fr}body.admin-body .profile-directory-preview-grid a{border-right:0}}
