/* Fanal Madeira — guides and service pages, built from the components of the home and the lists. */
.gp .lp-t .kick { margin-bottom: 10px; }
.lp > section.gp-photo { padding: 0 0 8px; border-top: 0; }
.gp-photo img { width: 100%; height: 520px; object-fit: cover; }
.lp > section.gp-facts { padding: 28px 0; }
.gp-facts .facts { margin: 0; }
.prose .pr p { font-size: 18px; line-height: 1.65; max-width: 700px; }
.prose .pr p + p { margin-top: 16px; }
.mt-grid.one { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.gal + .gal { margin-top: 56px; }
.gal h2 { font-size: 30px; margin-bottom: 18px; }
.gal-grid { column-count: 3; column-gap: 12px; }
.gal-grid figure { break-inside: avoid; margin: 0 0 12px; }
.gal-grid img { display: block; width: 100%; height: auto; }
.lp > section.now { padding-top: 40px; }
@media (max-width: 900px) {
  .gp-photo img { height: 300px; }
  .gal-grid { column-count: 2; column-gap: 8px; }
  .gal-grid figure { margin-bottom: 8px; }
  .gal-grid .g1,   .gal-grid .g2, .gal-grid .g3,   .mt-grid.one { grid-template-columns: 1fr; }
}
/* text tiles to other pages */
.lk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lk { display: block; padding: 22px 24px 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); text-decoration: none; }
.lk:hover { border-color: var(--accent); }
.lk .kick { margin-bottom: 8px; }
.lk h3 { font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.lk p:last-child { color: var(--muted); font-size: 15.5px; }
/* contact form: the worker shows .sent or .form-error after a POST, as on Pico */
.cf-box { max-width: 640px; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .btn { justify-self: start; min-width: 200px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: 16px; padding: 12px 14px; border-radius: 4px; background: var(--closed-soft); color: var(--closed); font-weight: 600; }
.sent { border-top: 3px solid var(--accent); padding-top: 20px; font-size: 18px; line-height: 1.5; }
.sent .copy { margin-top: 14px; padding: 14px; background: var(--paper-2); border-radius: 4px; white-space: pre-wrap; font-size: 16px; }
.lp > section.gp-photo { padding-top: 28px; }
@media (max-width: 900px) { .lk-grid { grid-template-columns: 1fr; } }
.mt-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mt-grid.four .mt h3 { font-size: 20px; }
@media (max-width: 1100px) { .mt-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mt-grid.four { grid-template-columns: 1fr; } }
/* the live line under the lead: the dot stays beside the text when the text wraps on a phone */
.gp .lp-now { flex-wrap: nowrap; align-items: flex-start; }
.gp .lp-now .dot { flex: none; margin-top: 5px; }
