/* PPF additions: events section (site look inherited from theme CSS) */
.ppf-events { padding: 30px 0 60px; }
.events-heading { font-size: 28px; margin: 30px 0 20px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.event-card { display: flex; flex-direction: column; gap: 6px; background: #f0efe9; padding: 28px; border-radius: 4px; text-decoration: none; transition: box-shadow .2s; }
.event-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.event-card-date { color: #d9705b; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }
.event-card-title { color: #5bb7c4; font-size: 22px; font-weight: 700; line-height: 1.3; }
.event-card-time { color: #7a7a7a; font-size: 14px; }
.events-past-list { list-style: none; padding: 0; }
.events-past-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.events-past-list a { color: #3a3a3a; text-decoration: none; font-weight: 600; }
.events-past-list a:hover { color: #5bb7c4; }
.event-past-date { color: #9a9a9a; margin-left: 10px; font-size: 14px; }
.event-when { color: #d9705b; font-weight: 600; }

/* Month calendar (styled after The Events Calendar) */
.ppf-cal-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.ppf-cal-nav { display: flex; align-items: center; gap: 8px; }
.ppf-cal-arrow { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: #3a3a3a; padding: 2px 8px; }
.ppf-cal-arrow:hover { color: #5bb7c4; }
.ppf-cal-today { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 6px 14px; cursor: pointer; font-size: 14px; }
.ppf-cal-today:hover { border-color: #5bb7c4; }
.ppf-cal-title { font-size: 24px; margin: 0 0 0 12px; }
.ppf-cal-views { display: flex; gap: 4px; }
.ppf-view { background: none; border: none; padding: 8px 14px; cursor: pointer; font-size: 15px; color: #7a7a7a; border-bottom: 2px solid transparent; }
.ppf-view.active { color: #3a3a3a; font-weight: 700; border-bottom-color: #3a3a3a; }
.ppf-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.ppf-cal-head div { padding: 10px 8px; font-weight: 600; color: #7a7a7a; font-size: 13px; }
.ppf-cal-cell { border: 1px solid #e6e6e6; min-height: 110px; padding: 8px; margin: -1px 0 0 -1px; }
.ppf-cal-cell.other .ppf-cal-daynum { color: #c4c4c4; }
.ppf-cal-cell.today { background: #fbf7f3; }
.ppf-cal-cell.today .ppf-cal-daynum { color: #d9705b; font-weight: 700; }
.ppf-cal-daynum { display: block; font-size: 18px; font-weight: 600; margin-bottom: 6px; color: #3a3a3a; }
.ppf-cal-event { display: block; font-size: 13px; line-height: 1.35; color: #334aff; text-decoration: none; font-weight: 600; margin-bottom: 6px; }
.ppf-cal-event:hover { text-decoration: underline; }
.ppf-cal-event-time { display: block; color: #7a7a7a; font-weight: 400; font-size: 12px; }
@media (max-width: 768px) { .ppf-cal-cell { min-height: 70px; } .ppf-cal-event { font-size: 11px; } }

/* Single event page (styled after The Events Calendar) */
.ppf-event-single { padding: 30px 0 60px; max-width: 900px; }
.event-back a { color: #3a3a3a; font-weight: 700; text-decoration: none; }
.event-passed { color: #9a9a9a; margin: 24px 0; }
.event-rule { border: 0; border-top: 1px solid #e6e6e6; margin: 20px 0 30px; }
.event-title { font-size: 42px; line-height: 1.15; margin: 10px 0 20px; }
.event-when { color: #7a7a7a; font-size: 17px; }
.event-cost-badge { color: #3a3a3a; margin-left: 10px; }
.event-addcal { margin: 30px 0; }
.event-addcal-btn { display: inline-block; border: 1px solid #334aff; color: #334aff; padding: 12px 22px; border-radius: 4px; text-decoration: none; font-weight: 600; }
.event-addcal-btn:hover { background: #334aff; color: #fff; }
.event-content { margin: 20px 0; }
.event-meta-cols { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 30px; }
.event-meta-col h4 { font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.event-meta-col p { margin-bottom: 14px; color: #5a5a5a; }
.event-meta-col a { color: #334aff; }
.event-map iframe { width: 100%; height: 240px; border: 0; }
@media (max-width: 768px) { .event-meta-cols { grid-template-columns: 1fr; } }

/* Custom pages */
.ppf-custom-page { padding: 30px 0 60px; max-width: 900px; }
.ppf-custom-page img { max-width: 100%; height: auto; }

/* Surveys */
.ppf-survey { padding: 30px 0 60px; max-width: 760px; }
.sv-input { padding: 12px 14px; border: 1px solid #d8d2c8; border-radius: 8px; font-size: 16px; min-width: 220px; }
.sv-area { width: 100%; }
.sv-btn { cursor: pointer; background: transparent; }
.sv-err { color: #c0392b; font-weight: 600; }
.sv-q { margin: 26px 0; }
.sv-q h4 { margin-bottom: 12px; }
.sv-opt { display: block; padding: 10px 14px; border: 1px solid #e5e0d8; border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.sv-opt:hover, .sv-pill:hover { border-color: #5bb7c4; }
.sv-scale { max-width: 420px; }
.sv-pill { display: inline-block; padding: 10px 16px; border: 1px solid #e5e0d8; border-radius: 8px; margin-right: 8px; cursor: pointer; }
.sv-scale-hint { display: flex; justify-content: space-between; max-width: 380px; color: #9a9a9a; font-size: 13px; margin-top: 6px; }
