/* Compact homepage advert form: no clipping, hidden fields or submission changes. */
#advert>.card{padding:14px}#advert h2{margin:0 0 8px}#adForm .advert-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:8px 16px}#adForm .advert-field{min-width:0}#adForm .advert-field label{margin:0 0 4px;font-size:14px;line-height:1.35}#adForm .advert-field input,#adForm .advert-field select,#adForm .advert-field textarea{font:16px/1.25 system-ui,sans-serif;padding:9px 10px;min-height:44px;max-width:100%}#adForm .advert-field textarea{display:block;min-height:80px;resize:vertical}#adForm .advert-field .small{font-size:12px;line-height:1.35;margin:4px 0 0}#adForm>.notice{margin-top:10px;padding:9px;font-size:13px;line-height:1.4}#adForm #freePublishingNotice{margin:6px 0 0}#adForm>p{margin:8px 0;font-size:13px}#adForm .check{margin:8px 0;align-items:center;min-height:44px}#adForm .check label{font-size:13px;line-height:1.4}#adForm button{min-height:44px}#adForm :focus-visible{outline:3px solid #1f7a5c;outline-offset:2px}@media(min-width:650px){#adForm .advert-fields{grid-template-columns:repeat(2,minmax(0,1fr))}#adForm .advert-field-wide{grid-column:1/-1}}
/* Temporary phone/tablet free-mode cleanup. Keep payment markup for restoration;
   enabling the paid control restores its explanation automatically. */
@media screen and (max-width:767px), (max-width:960px) and (max-height:500px), (min-width:768px) and (max-width:1366px) and (min-height:600px){
  #adForm:has(#payButton[disabled]):has(#freeButton[value="free"])>.notice:has(>.paid-process-retired),
  #adForm:has(#freeButton[value="free"]) #payButton:disabled{display:none}
}
/* Tablet reading and tab order: licence/photos, then email, then full-width details. */
@media screen and (min-width:768px) and (max-width:1366px) and (min-height:600px){
  #adForm .tablet-advert-licence{grid-column:1;grid-row:4}
  #adForm .tablet-advert-photos{grid-column:2;grid-row:4 / span 2;align-self:start}
  #adForm .tablet-advert-email{grid-column:1;grid-row:5}
  #adForm .tablet-advert-details{grid-column:1/-1;grid-row:6}
}
