/* Actueel TM-projectaanbod (js/project-aanbod.js). Zelfde uitstraling als het Mar de Pulpí-aanbod (#008). */
.pa-offers { scroll-margin-top: 100px; }
.pa-offers .section-subtitle { max-width: 850px; margin-inline: auto; }
.pa-note { margin: 20px 0; color: #555; font-size: .95rem; }
.pa-note summary { cursor: pointer; color: #16213e; }
details.pa-note p { margin-top: 10px; }
.pa-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 22px; background: #fff; border: 1px solid #e5dfd1; border-radius: 14px; }
.pa-filters label { min-width: 0; color: #16213e; font-weight: 600; }
.pa-filters select { display: block; width: 100%; min-height: 48px; margin-top: 6px; padding: 10px; border: 1px solid #c8c8ce; border-radius: 8px; font: inherit; color: #16213e; background: #fff; }
.pa-status { min-height: 52px; padding: 14px 0; color: #16213e; font-weight: 600; }
.pa-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pa-grid:empty { min-height: 430px; }
.pa-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e7e4dd; border-radius: 14px; box-shadow: 0 6px 22px rgba(22,33,62,.06); }
.pa-image { position: relative; aspect-ratio: 3 / 2; background: #eeeae3; }
.pa-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pa-image span { position: absolute; bottom: 8px; left: 8px; padding: 3px 8px; background: rgba(22,33,62,.88); border-radius: 5px; color: #fff; font-size: .8rem; }
.pa-card-body { padding: 18px; }
.pa-card h3 { color: #16213e; font-size: 1.08rem; }
.pa-ref { font-size: .85rem; color: #666; overflow-wrap: anywhere; }
.pa-price { margin: 12px 0; font-size: 1.35rem; font-weight: 700; color: #a67c24; }
.pa-specs { min-height: 76px; margin-bottom: 16px; color: #444; }
.pa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pa-actions a, .pa-actions button, .pa-skeleton .pa-actions span, .pa-more, .pa-retry { display: inline-block; padding: 10px 14px; border: 1px solid #b8952c; border-radius: 8px; color: #16213e; font: inherit; font-weight: 600; line-height: 1.4; cursor: pointer; background: #fff; text-decoration: none; }
.pa-actions > :first-child, .pa-more { background: #16213e; color: #fff; border-color: #16213e; }
.pa-skeleton .pa-card-body { background: #faf9f6; }
.pa-more { display: block; margin: 24px auto 0; min-height: 48px; }
.pa-more[hidden], .pa-retry[hidden] { display: none; }
.pa-offers a:focus-visible, .pa-offers button:focus-visible, .pa-offers select:focus-visible { outline: 3px solid #b8952c; outline-offset: 3px; }
.pa-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; }
.pa-links a { color: #946f20; text-decoration: underline; text-underline-offset: 3px; }
.pa-dialog { margin: auto; overflow-y: auto; overscroll-behavior: contain; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 60px rgba(22,33,62,.35); color: #16213e; }
.pa-dialog::backdrop { background: rgba(22,33,62,.55); }
.pa-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 12px; border-bottom: 1px solid #eee7d8; }
.pa-dialog-head h3 { font-size: 1.15rem; line-height: 1.35; }
.pa-dialog-close { flex: none; width: 40px; height: 40px; border: 1px solid #d9d2c2; border-radius: 8px; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: #16213e; }
.pa-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; padding: 16px 22px; margin: 0; }
.pa-facts dt { color: #666; }
.pa-facts dd { margin: 0; font-weight: 600; }
.pa-dialog-note { padding: 0 22px; color: #555; font-size: .9rem; }
.pa-dialog .pa-actions { padding: 16px 22px 22px; }
@media (max-width: 960px) { .pa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pa-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .pa-offers { padding-block: 45px; }
    .pa-offers .section-title { font-size: 30px; line-height: 1.3; }
    .pa-grid { grid-template-columns: minmax(0, 1fr); }
    .pa-filters { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 12px; }
    .pa-card-body { padding: 16px; }
    .pa-dialog-head { padding: 16px 16px 10px; }
    .pa-facts { gap: 6px 14px; padding: 12px 16px; }
    .pa-dialog-note { padding: 0 16px; font-size: .85rem; }
    .pa-dialog .pa-actions { padding: 14px 16px 16px; }
}
