/* PMA Consulting — Events Page */

.events-hero {
  min-height: 560px;
  margin-top: 28px;
  padding: clamp(42px, 6vw, 86px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 60px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 20%, rgba(148, 99, 255, 0.13), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(22, 216, 244, 0.09), transparent 32%),
    linear-gradient(135deg, rgba(10, 23, 35, 0.96), rgba(4, 13, 22, 0.98));
  box-shadow: var(--shadow);
}

.events-hero-copy { position: relative; z-index: 2; }
.events-hero h1 {
  max-width: 780px;
  margin: 12px 0 20px;
  color: var(--cream);
  font-size: clamp(2.7rem, 5.4vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.events-intro { max-width: 650px; margin-bottom: 30px; font-size: 1rem; line-height: 1.75; }

.events-hero-art { min-height: 410px; position: relative; }
.calendar-icon {
  width: 260px; height: 230px; padding: 55px 30px 28px;
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  border: 4px solid transparent; border-radius: 30px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--rainbow) border-box;
  box-shadow: 0 0 60px rgba(41, 151, 255, 0.16);
}
.calendar-icon::before { content: ""; position: absolute; top: 38px; left: 0; right: 0; height: 3px; background: var(--rainbow); }
.calendar-ring { width: 25px; height: 48px; position: absolute; top: -22px; border: 4px solid var(--cyan); border-radius: 14px; background: var(--surface); }
.ring-left { left: 48px; } .ring-right { right: 48px; border-color: var(--green); }
.calendar-grid { height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calendar-grid i { border: 2px solid var(--blue); border-radius: 6px; }
.calendar-grid i:nth-child(2), .calendar-grid i:nth-child(6) { border-color: var(--violet); }
.calendar-grid i:nth-child(3) { border-color: var(--gold); }
.calendar-grid .featured { border: 0; background: var(--rainbow); }
.orbit { position: absolute; inset: 50% auto auto 50%; border: 2px dashed rgba(148, 99, 255, 0.7); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 390px; height: 330px; } .orbit-two { width: 470px; height: 400px; border-color: rgba(242, 77, 164, 0.38); transform: translate(-50%, -50%) rotate(25deg); }
.art-node { width: 66px; height: 66px; display: grid; place-items: center; position: absolute; z-index: 2; color: var(--cream); border: 3px solid currentColor; border-radius: 50%; background: var(--surface); font-size: 2rem; }
.node-people { left: 2%; top: 18%; color: var(--violet); }
.node-heart { right: 2%; top: 13%; color: var(--pink); }
.node-star { left: 0; bottom: 10%; color: var(--green); }
.node-mic { right: 0; bottom: 14%; color: var(--orange); }

.events-calendar-section {
  margin-top: 34px;
  margin-bottom: 18px;
  padding: 0;
  width: min(100%, 1200px);
}

.events-calendar-section m-events-calendar {
  display: block;
  width: 100%;
  max-width: 100%;
}

m-events-calendar {
  --m-events-background: rgba(10, 23, 35, 0.96);
  --m-events-surface: rgba(16, 32, 45, 0.94);
  --m-events-text: var(--cream);
  --m-events-text-muted: rgba(244, 237, 218, 0.7);
  --m-events-primary: var(--cyan);
  --m-events-primary-text: var(--bg-deep);
  --m-events-border: rgba(244, 237, 218, 0.18);
  --m-events-event-background: rgba(22, 216, 244, 0.14);
  --m-events-event-text: var(--cream);
  --m-events-hover-background: rgba(22, 216, 244, 0.22);
}

.events-notice h2 { color: var(--cream); }

.event-types { padding-top: clamp(70px, 9vw, 120px); }
.event-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event-type-card { min-height: 245px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(13, 28, 41, 0.95), rgba(7, 17, 27, 0.98)); }
.event-type-card::before { content: ""; width: 130px; height: 130px; position: absolute; top: -55px; right: -45px; border-radius: 50%; background: currentColor; filter: blur(45px); opacity: 0.13; }
.event-type-icon { width: 54px; height: 54px; margin-bottom: 24px; display: grid; place-items: center; color: var(--cream); border: 1px solid currentColor; border-radius: 16px; font-size: 1.55rem; }
.event-type-card h3 { margin-bottom: 10px; color: var(--cream); font-size: 1.2rem; }
.event-type-card p { line-height: 1.65; }
.speaking-card { color: var(--pink); } .community-card { color: var(--green); } .partner-card { color: var(--cyan); }

.events-projects {
  margin-top: clamp(70px, 9vw, 120px);
  padding: clamp(30px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 20%, rgba(41, 151, 255, 0.13), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(242, 77, 164, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(10, 23, 35, 0.98), rgba(4, 13, 22, 0.98));
  box-shadow: var(--shadow);
}
.projects-heading { margin-bottom: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.projects-heading h2 { max-width: 820px; margin-top: 7px; color: var(--cream); font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.04; letter-spacing: -0.04em; }
.projects-heading .button { flex: 0 0 auto; }
.events-project-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 18px; }
.featured-project, .recent-project { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(6, 16, 26, 0.84); }
.featured-project { min-height: 390px; padding: clamp(30px, 5vw, 54px); display: flex; align-items: flex-end; }
.featured-project::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(41, 151, 255, 0.20), transparent 48%), linear-gradient(320deg, rgba(148, 99, 255, 0.18), transparent 45%); }
.featured-project::after { content: ""; width: 230px; height: 230px; position: absolute; top: -72px; right: -54px; border: 2px solid rgba(22, 216, 244, 0.48); border-radius: 50%; box-shadow: 0 0 0 38px rgba(148, 99, 255, 0.08), 0 0 0 76px rgba(242, 77, 164, 0.045); }
.project-number { position: absolute; top: 24px; right: 30px; z-index: 2; color: rgba(244, 237, 218, 0.14); font-size: clamp(4.5rem, 9vw, 8rem); font-weight: 800; line-height: 1; }
.featured-project-copy { max-width: 590px; position: relative; z-index: 2; }
.featured-project h3 { margin: 9px 0 14px; color: var(--cream); font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.05; }
.featured-project-copy > p:not(.card-label) { margin-bottom: 20px; line-height: 1.7; }
.secondary-projects { display: grid; gap: 18px; }
.recent-project { min-height: 186px; padding: 28px; display: grid; grid-template-columns: 8px 1fr; align-items: center; gap: 24px; transition: transform var(--transition), border-color var(--transition); }
.recent-project:hover { transform: translateY(-3px); border-color: rgba(244, 237, 218, 0.42); }
.project-marker { width: 8px; height: 100%; min-height: 105px; border-radius: 999px; background: var(--rainbow); }
.project-pride .project-marker { background: linear-gradient(var(--pink), var(--orange), var(--gold)); }
.project-library .project-marker { background: linear-gradient(var(--green), var(--cyan), var(--blue)); }
.recent-project h3 { margin: 7px 0 18px; color: var(--cream); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.16; }

.events-notice { margin-top: 34px; padding: 32px 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(100deg, rgba(22, 216, 244, 0.07), rgba(148, 99, 255, 0.08), rgba(242, 77, 164, 0.06)); }
.events-notice h2 { margin: 5px 0 8px; font-size: clamp(1.55rem, 3vw, 2.4rem); }
.events-notice p:last-child { margin: 0; }

@media (max-width: 1050px) {
  .events-hero { grid-template-columns: 1fr; text-align: center; }
  .events-hero-copy { display: flex; flex-direction: column; align-items: center; }
  .events-hero-art { width: min(520px, 100%); margin: -15px auto 0; }
  .event-type-grid { grid-template-columns: 1fr 1fr; }
  .events-project-grid { grid-template-columns: 1fr; }
  .secondary-projects { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .events-hero { min-height: auto; margin-top: 18px; padding: 42px 24px 28px; gap: 25px; }
  .events-hero h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .events-hero-art { min-height: 300px; transform: scale(0.78); margin: -30px auto; }
  .events-calendar-section { margin-top: 22px; }
  .events-notice { align-items: flex-start; grid-template-columns: 1fr; }
  .event-type-grid { grid-template-columns: 1fr; }
  .projects-heading { align-items: flex-start; flex-direction: column; }
  .secondary-projects { grid-template-columns: 1fr; }
  .featured-project { min-height: 350px; }
  .events-notice { padding: 28px 24px; }
}

@media (max-width: 430px) {
  .events-hero-art { left: 50%; width: 480px; transform: translateX(-50%) scale(0.64); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit { transform: translate(-50%, -50%); }
}