@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Raleway:ital,wght@0,400;0,500;0,700;1,400;1,700&display=swap');

/* ==========================================================================
   CC Event sections (live workshop / webinar registration page)
   Styled to the Kerry Rowett brand guide.
   Headings: Crimson. Subheadings and buttons: Raleway Bold. Body: Raleway.
   Fonts: change the two variables below to restyle every event section.
   ========================================================================== */
.ev{
  --ev-serif: "Crimson Pro", "Crimson Text", Georgia, serif;
  --ev-sans: Raleway, "Helvetica Neue", Arial, sans-serif;
  --ev-heading: #5C7B85;
  --ev-dark: #333234;
  --ev-text: #333234;
  --ev-accent: #F375DC;
  --ev-line: rgba(92, 123, 133, .45);
  --ev-btn-bg: #F375DC;
  --ev-btn-text: #ffffff;
  --ev-btn-bg-h: #5C7B85;
  --ev-btn-text-h: #ffffff;
  position: relative;
  font-family: var(--ev-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ev-text);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.ev *, .ev *::before, .ev *::after{ box-sizing: border-box; }
.ev p{ margin: 0 0 1em; }
.ev p:last-child{ margin-bottom: 0; }
.ev h1, .ev h2, .ev h3, .ev h4{ margin: 0; padding: 0; font-weight: 400; letter-spacing: normal; }
.ev img{ display: block; max-width: 100%; }
.ev strong, .ev b{ font-family: var(--ev-sans); font-weight: 700; }
.ev-bold{ font-family: var(--ev-sans) !important; font-weight: 700 !important; }
.ev a:not(.ev-btn){ color: inherit; }

.ev-wrap{ position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; }
.ev-wrap--narrow{ max-width: 880px; }

/* Display caps heading */
.ev-caps{
  font-family: var(--ev-serif) !important;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ev-heading);
}
.ev-caps em{ font-style: italic; }
.ev-center{ text-align: center; }

/* Buttons */
.ev-btn{
  display: inline-block;
  background: var(--ev-btn-bg);
  color: var(--ev-btn-text) !important;
  font-family: var(--ev-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-align: center;
  line-height: 1.3;
  padding: 16px 28px;
  border: 0;
  border-radius: 0;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.ev-btn:hover{ background: var(--ev-btn-bg-h); color: var(--ev-btn-text-h) !important; transform: translateY(-1px); }
.ev-btn--block{ display: block; width: 100%; }
.ev-btn-holder{ margin-top: 36px; }

/* Paper texture (generated noise, no image needed) */
.ev-tex::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .36  0 0 0 0 .33  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Thin inset frame */
.ev-framed::after{
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--ev-line);
  pointer-events: none;
  z-index: 1;
}

/* Countdown */
.ev-cd{ display: flex; align-items: flex-start; justify-content: center; gap: 6px; font-family: var(--ev-sans); }
.ev-cd__unit{ text-align: center; min-width: 40px; }
.ev-cd__num{ display: block; font-size: 22px; line-height: 1; font-weight: 500; font-variant-numeric: tabular-nums; }
.ev-cd__lbl{ display: block; font-size: 10px; line-height: 1.4; margin-top: 4px; opacity: .85; }
.ev-cd__sep{ font-size: 20px; line-height: 1; padding-top: 1px; opacity: .9; }

/* Image column helper */
.ev-media{ position: relative; overflow: hidden; min-height: 100%; }
.ev-media img{ width: 100%; height: 100%; object-fit: cover; }

/* Desktop / mobile helpers */
.ev .ev-mm{ display: none !important; }
@media (max-width: 767px){
  .ev{ font-size: 16px; }
  .ev .ev-dd{ display: none !important; }
  .ev .ev-mm{ display: block !important; }
  .ev-framed::after{ inset: 12px; }
  .ev-btn{ font-size: 16px; padding: 15px 22px; }
}

/* Tablet (portrait iPad and similar) */
@media (min-width: 768px) and (max-width: 1023px){
  .ev-bar .ev-bar__title{ font-size: 15px !important; }
  .ev-bar .ev-btn{ font-size: 12px !important; padding: 10px 14px !important; }
  .ev-hero .ev-hero__body{ padding: 44px 28px !important; }
  .ev-hero .ev-ticket{ padding: 18px 16px 20px !important; }
  .ev-hero .ev-ticket__title{ font-size: 26px !important; }
  .ev-hero .ev-btn{ font-size: 13px !important; padding: 14px 12px !important; letter-spacing: .1em !important; }
  .ev-share{ grid-template-columns: 1fr 1fr !important; }
  .ev-share .ev-share__body{ padding: 56px 36px !important; }
  .ev-close{ grid-template-columns: 1fr 1fr !important; }
  .ev-close .ev-close__body{ padding: 56px 36px !important; }
  .ev-about .ev-about__body{ padding: 56px 36px !important; }
  .ev-results{ padding: 72px 40px !important; }
  .ev-results .ev-cards{ grid-template-columns: 1fr !important; max-width: 560px; }
}
