/* Additions to the reference CSS (style.css, album.css stay unchanged). */

/* iOS Safari enlarges text in some layouts (text autosizing), which pushes lines past the right edge. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}

/* A word or title longer than the line wraps instead of running off screen (no effect when it fits). */
h1,h2,h3,p,span,a,summary,label,figcaption,address{overflow-wrap:break-word}

/* Logged in, the admin bar (46px on phones) pushes the header down; the mobile menu must follow it. */
@media(max-width:650px){.admin-bar nav{top:131px}}

/* "Load more" under a project list, spaced like the gap between two projects. */
.project-more{margin-top:70px;padding-top:40px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:center;gap:12px}
.project-more .text-link{background:none;border-width:0 0 1px;cursor:pointer;color:inherit}
.project-more .text-link:disabled{opacity:.5;cursor:wait}
.project-more-status{font-size:12px;color:var(--muted)}
.project-more-status:empty{display:none}
@media(max-width:650px){.project-more{margin-top:42px;padding-top:30px}}

/* Formidable forms in the design of the original forms (Formidable's own styling is off, inc/forms.php). */
.frm_screen_reader,.meet-form .frm_hidden_container>.frm_primary_label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);border:0;white-space:nowrap}
.meet-form fieldset{border:0;padding:0;margin:0;min-width:0}
.meet-form .frm_fields_container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:24px}
.meet-form .frm_fields_container>*{grid-column:1/-1}
.meet-form .frm_fields_container>.frm_half{grid-column:auto}
.meet-form .frm_error{font-size:12px;line-height:1.6;margin:-16px 0 22px}
.meet-form .frm_blank_field input,.meet-form .frm_blank_field textarea{border-bottom-color:var(--ink)}
.frm_forms .frm_error_style,.frm_forms .frm_message{font-size:14px;line-height:1.7;margin-bottom:22px}
.frm_forms .frm_message p,.frm_forms .frm_error_style p{margin:0}
.frm_loading_form .say-hello{opacity:.5;cursor:wait}
/* Idea topics as pills: Formidable puts the text straight into the label, without a <span>. */
.meet-form .frm_form_field.idea-topics{display:block;margin:0 0 29px}
.idea-topics .frm_primary_label{font-size:12px;margin-bottom:14px;line-height:1.6}
.idea-topics .frm_opt_container{display:flex;gap:8px;flex-wrap:wrap}
.meet-form .idea-topics label{display:flex;align-items:center;min-height:44px;border:1px solid var(--line);border-radius:30px;padding:10px 15px;color:var(--muted);font-size:11px;transition:background .2s,color .2s}
.meet-form .idea-topics label:has(input:checked){background:var(--ink);border-color:var(--ink);color:var(--paper)}
.meet-form .idea-topics label:has(input:focus-visible){outline:2px solid var(--olive);outline-offset:4px}
/* Consent: the checkbox label holds the text. */
.meet-form .frm_form_field.meet-consent{display:block}
.meet-form .meet-consent label{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.75}
.meet-form .meet-consent .frm_error{margin:4px 0 0}
@media(max-width:850px){.meet-form .frm_fields_container>.frm_half{grid-column:1/-1}}
@media(max-width:650px){
 .idea-topics .frm_opt_container{gap:7px}
 .meet-form .idea-topics label{font-size:12px;padding:10px 12px}
}
