.events-content { max-width: 1200px; margin: auto; padding: 55px 7% 90px; }
.events-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.events-actions .button { border: 0; cursor: pointer; }
.event-search { margin-bottom: 30px; padding: 24px; border: 1px solid #e6d58f; border-radius: 16px; background: #fffdf0; }
.event-search h2, .event-search-results h2 { margin-bottom: 10px; font-size: 24px; }
.event-search p { color: #5e4d3e; line-height: 1.6; }
.event-search-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.event-search-fields label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; }
.event-search-fields input, .event-search-fields select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #bba872; background: #fffdf0; color: var(--ink); font: inherit; font-weight: 400; }
.event-search-results { margin-bottom: 30px; }
.event-search-results li, .event-jump-list li { margin: 10px 0; line-height: 1.5; }
.event-search-results a, .event-jump-list a { color: #a32413; }
.calendar-swipe-hint { display: none; }
.calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.calendar-toolbar h2 { font-size: clamp(26px, 4vw, 40px); text-align: center; }
.calendar-toolbar button, .event-button { padding: 10px 16px; border: none; background: linear-gradient(135deg, #fff8ed 0%, #fffdf0 100%); color: var(--ink); font: inherit; cursor: pointer; border-radius: 8px; transition: background .2s, box-shadow .2s, transform .15s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); font-weight: 600; }
.calendar-toolbar button:hover, .event-button:hover { background: linear-gradient(135deg, #fff0a8 0%, #fff8ed 100%); box-shadow: 0 4px 12px rgba(242, 108, 79, 0.2); transform: translateY(-2px); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { padding: 10px 2px; color: #6d6056; font-size: 12px; font-weight: 700; text-align: center; }
.calendar-grid { border-top: 1px solid #e6d58f; border-left: 1px solid #e6d58f; }
.calendar-day { position: relative; min-height: 110px; padding: 10px; border-right: 1px solid #e6d58f; border-bottom: 1px solid #e6d58f; background: #fffdf0; color: var(--ink); text-decoration: none; }
.calendar-day:hover, .calendar-day:focus-visible { z-index: 3; background: var(--cream); outline: 2px solid #a93a24; outline-offset: -2px; }
.calendar-day.outside { background: #f9f0cf; color: #786d5e; }
.calendar-day.today .calendar-number { color: #b32c17; font-weight: 800; }
.calendar-count { display: block; margin-top: 10px; color: #9c2c19; font-size: 12px; font-weight: 700; }
.calendar-preview { position: absolute; z-index: 4; top: 45px; left: 10px; display: none; width: 150px; padding: 7px; background: var(--dark); color: white; box-shadow: 0 8px 20px #0005; }
.calendar-day:hover .calendar-preview, .calendar-day:focus-visible .calendar-preview { display: block; }
.calendar-day:nth-child(7n) .calendar-preview, .calendar-day:nth-child(7n - 1) .calendar-preview { right: 10px; left: auto; }
.calendar-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.calendar-preview span { display: block; padding: 5px 2px 0; font-size: 11px; }
.events-message { margin: 20px 0; color: #5e4d3e; line-height: 1.6; }
.events-message.error { color: #a32018; }
.event-list { display: grid; gap: 18px; margin-top: 25px; }
.event-card { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 24px; padding: 28px; border: 1px solid #e6d58f; background: linear-gradient(135deg, #fffdf0 0%, #fff9e6 100%); border-radius: 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); transition: box-shadow .3s, transform .3s; }
.event-card:hover { box-shadow: 0 12px 32px rgba(242, 108, 79, 0.15); transform: translateY(-4px); }
.event-card:not(:has(img)) { grid-template-columns: 1fr; }
.event-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.event-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 25px; }
.event-card p { margin-bottom: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.event-description { white-space: pre-wrap; }
.event-card a { color: #a32413; }
.event-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 800px; margin-top: 25px; }
.event-form label { display: grid; align-content: start; gap: 7px; font-size: 13px; font-weight: 700; }
.event-form label:has(.password-field) { display: contents; }
.event-form .wide { grid-column: 1 / -1; }
.event-form input, .event-form textarea, .event-form select { width: 100%; padding: 12px; border: 1px solid #bba872; background: #fffdf0; color: var(--ink); font: inherit; font-weight: 400; }
.event-card { scroll-margin-top: 110px; }
.password-field { display: flex; align-items: center; gap: 8px; }
.password-field input[type="password"], .password-field input[type="text"] { flex: 1; }
.password-field .password-toggle-label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #bba872; background: #fffdf0; cursor: pointer; white-space: nowrap; font-weight: 400; margin: 0; line-height: 1; flex-shrink: 0; }
.password-field .password-toggle-label:hover { background: var(--cream); }
.password-field .password-toggle-label input[type="checkbox"] { width: 16px; height: 16px; margin: 0; padding: 0; vertical-align: middle; }
.event-form textarea { min-height: 140px; resize: vertical; }
.event-form .cover-remove { display: flex; align-items: center; gap: 8px; }
.event-form .cover-remove input { width: auto; }
.event-form button { justify-self: start; border: 0; cursor: pointer; }
.admin-section { margin-top: 45px; padding-top: 35px; border-top: 1px solid #e6d58f; }
.admin-section h2 { font-size: 32px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Google Maps & Social Share Styles */
.event-map-section { margin: 30px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.event-map { width: 100%; height: 350px; border: none; border-radius: 16px; }
.map-link { display: inline-block; margin-top: 12px; padding: 10px 16px; background: linear-gradient(135deg, #f26c4f 0%, #f58a5c 100%); color: white; text-decoration: none; border-radius: 8px; font-size: 12px; font-weight: 600; transition: transform .15s, box-shadow .2s; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.map-link:hover, .map-link:focus-visible { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(242, 108, 79, 0.3); }
.event-social-section { margin-top: 35px; padding: 24px; background: linear-gradient(135deg, #fff9e6 0%, #fffdf0 100%); border-radius: 16px; border: 1px solid #e6d58f; }
.event-social-section h3 { margin-top: 0; margin-bottom: 16px; font-size: 18px; color: var(--ink); }
.social-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: none; border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 600; transition: transform .15s, box-shadow .2s; cursor: pointer; }
.social-btn:hover, .social-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
.social-btn-facebook { background: #1877f2; color: white; }
.social-btn-facebook:hover { background: #1668d9; }
.social-btn-instagram { background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%); color: white; }
.social-btn-instagram:hover { opacity: 0.9; }
.social-btn-twitter { background: #000000; color: white; }
.social-btn-twitter:hover { background: #262626; }
.social-btn-tiktok { background: #000000; color: white; }
.social-btn-tiktok:hover { background: #262626; }
.social-btn-whatsapp { background: #25d366; color: white; }
.social-btn-whatsapp:hover { background: #1fa855; }
.social-btn-email { background: #ea4335; color: white; }
.social-btn-email:hover { background: #d33425; }

[hidden] { display: none !important; }
@media (max-width: 680px) {
  .events-content { padding: 40px 5% 65px; }
  .calendar-swipe-hint { display: block; color: #5e4d3e; font-size: 13px; }
  .calendar-grid { touch-action: pan-y pinch-zoom; }
  .calendar-day { min-height: 75px; padding: 6px; font-size: 14px; }
  .calendar-count { font-size: 10px; }
  .calendar-preview { display: none !important; }
  .event-card { grid-template-columns: 1fr; gap: 15px; }
  .event-card img { max-width: 360px; }
  .event-form { grid-template-columns: 1fr; }
  .event-form .wide { grid-column: auto; }
  .event-map { height: 300px; }
  .map-link { width: 100%; text-align: center; }
  .social-buttons { flex-direction: column; }
  .social-btn { width: 100%; justify-content: center; }
}
