/* Sizes, fonts and colors copied from the old WordPress site. The home page, header and footer follow
   its own layout rules (percent-based columns), so they match at every window width. */
:root {
  --green: #66cc33;
  --ink: #1d262d;
  --blue: #3399ff;
  --sky: #02aefc;
  --nav: #525252;
  --nav-on: #68ca3e;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #fff; color: #333; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.green { color: var(--green); }
.center { text-align: center; }
.pg { padding-bottom: 60px; }

/* Header: inner pages. Live: a box up to 1800px wide, logo at the left edge, menu at the right edge. */
.site-header { position: relative; z-index: 50; max-width: 1800px; margin: 0 auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; margin-bottom: 14px; }
.logo img { width: 206px; height: auto; }
.nav { display: flex; align-items: center; font: 700 24px/24px "Nanum Gothic", sans-serif; letter-spacing: .5px; }
.nav > a, .nav .drop > a { display: block; padding: 0 12px; color: var(--nav); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--nav-on); }
.nav .drop { position: relative; }
.nav .drop > a::after { content: ""; display: inline-block; margin-left: 11.5px; border: 7.5px solid transparent; border-top: 8px solid currentColor; border-bottom-width: 0; transform: translateY(-3px); }
.nav .menu { display: none; position: absolute; top: 100%; left: 0; min-width: 280px; background: #fff; padding-top: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.nav .menu a { display: block; padding: 13px 20px; font: 500 12px/20px "Nanum Gothic", sans-serif; color: #33373d; text-decoration: none; letter-spacing: 0; }
.nav .menu a:hover { color: var(--nav-on); }
.nav .drop:hover .menu, .nav .drop:focus-within .menu { display: block; }
.menu-btn { display: none; background: none; border: 0; padding: 8px 16px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 3px; border-radius: 2px; background: #33373d; margin: 4px 0; }

/* Header: home page, laid over the dark hero. Live: logo and menu sit at percentages of the window. */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; max-width: none; padding: 32px 16px 0; align-items: flex-start; }
.home .logo { margin: 0 0 0 calc(3.035% + 10px); }
.home .logo img { width: 105px; }
.home .nav { height: 50px; margin-right: 2.967%; line-height: 20px; gap: 28px; }
.home .nav > a, .home .nav .drop > a { color: #fff; padding: 0 4px; }
.home .nav .drop > a { padding-right: 14px; }
.home .nav .drop > a::after { display: none; }
.home .nav .menu { background: rgba(255,255,255,.94); }
.home .nav .menu a { font: 500 13px/20px "Inter", sans-serif; }
.home .menu-btn span { background: #fff; }

@media (max-width: 1024px) {
  .site-header { padding: 24px 16px 0; }
  .menu-btn { display: block; }
  .nav, .home .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; margin: 0; gap: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 20px 16px; font-size: 18px; line-height: 1.4; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav.open, .home .nav.open { display: flex; }
  .nav > a, .nav .drop > a, .home .nav > a, .home .nav .drop > a { padding: 10px 0; color: var(--nav); }
  .nav .menu, .home .nav .menu { display: block; position: static; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; background: none; }
  .nav .menu a, .home .nav .menu a { padding: 6px 0; font-size: 15px; }
  .home .site-header { padding: 24px 16px 0; }
}
@media (max-width: 767px) {
  .site-header { padding: 16px 16px 8px; }
  .logo img { width: calc(50vw - 16px); max-width: 186px; }
  .home .site-header { padding: 16px 8px 8px; align-items: center; }
  .home .logo { width: 40%; margin: 0; padding-left: 10px; }
  .home .logo img { width: 100%; max-width: 150px; margin: 0 auto -55px; }
  .home .menu-btn { margin-right: 20px; }
}

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: 600 16px/16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; padding: 15px 30px; border-radius: 4px; }
.btn:hover { filter: brightness(.93); }

/* Home. Live: the dark area is 1057px tall and starts 13px above the page; the headline and photo
   columns are percentages of the window (7.49% gap, 42.494%, 5.997% gap, 44.003%). */
.hero { margin: -13px 0 30px; min-height: 1057px; display: flex; flex-wrap: wrap; align-content: center; background: var(--ink) url("/wp-content/uploads/2023/07/Black-and-White-Positive-Quote-Desktop-Background-5.png") top center no-repeat; color: #fff; }
.hero::after { content: ""; width: 100%; height: 10px; }
.hero-in { width: 100%; margin: 120px 0 80px; display: flex; }
.hero-text { margin-left: 7.49%; width: 42.494%; padding: 10px; }
.hero h1 { margin: 10px 0 40px; font: 600 90px/91px "Oswald", sans-serif; text-transform: uppercase; color: #fff; }
.hero p { margin: 0 120px 20px 0; font: 500 28px/34px "Roboto", sans-serif; }
.hero-photo { margin-left: 5.997%; width: 44.003%; padding: 40px 30px 0 40px; }
.hero-photo img { width: 100%; max-width: 800px; margin: 0 auto; }
.hero-m-img { display: none; }
.tagline { text-align: center; padding: 10px; }
.tagline h2 { max-width: 1120px; margin: 0 auto; font: 600 48px/48px "Lexend", sans-serif; color: var(--green); }
.tagline h2 span { color: var(--ink); }
/* Tablets: the live site hides this whole section at these widths; it is kept here, with smaller type. */
@media (max-width: 1024px) {
  .hero { margin-top: 0; min-height: 760px; background-position: bottom center; }
  .hero-in { margin: 130px 0 210px; }
  .hero h1 { font-size: 60px; line-height: 1.1; }
  .hero p { font-size: 22px; line-height: 1.3; margin-right: 20px; }
  .tagline h2 { font-size: 32px; line-height: 1; }
}
@media (max-width: 767px) {
  /* Live: the dark area is one screen tall and starts above the page by (140px - header height). */
  .hero { margin: calc(min(150px, 40vw - 16.4px) - 171px) 0 0; min-height: 100vh; background-image: url("/wp-content/uploads/2023/07/Black-and-White-Positive-Quote-Desktop-Background-4.png"); background-position: top center; }
  .hero::after { height: 33px; }
  .hero-in { display: block; margin: 0; padding: 0 8px; }
  .hero-text { margin: 0; width: auto; }
  .hero-photo { display: none; }
  .hero-m-img { display: block; width: 100%; margin: 150px 0 20px; }
  .hero h1 { margin: -5px 0 20px 10px; font-size: 40px; line-height: 40px; text-align: center; }
  .hero h1 br { display: none; }
  .hero p { margin: 0 12px 5px; font-size: 19px; line-height: 1.2; text-align: center; }
  .tagline { margin-top: -60px; }
  .tagline h2 { margin: 110px 10px 0; font-size: 22px; line-height: 1.3; }
}

/* Footer. Live: logo and "Connect with us" side by side in a box up to 1600px, copyright on its own row. */
.site-footer { display: grid; grid-template-columns: 1fr 1fr; max-width: 1600px; margin: 0 auto; padding: 40px 0 20px; }
.site-footer .left { display: flex; justify-content: flex-end; align-items: flex-start; padding-right: 36px; border-right: 2px solid #000; }
.site-footer .left img { width: 160px; }
.site-footer .right { padding-left: 36px; align-self: center; }
.site-footer h2 { font: 600 20px/20px "Lexend", sans-serif; color: #000; margin-bottom: 20px; }
.social { display: flex; gap: 20px; }
.social a { width: 50px; height: 50px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; }
.social svg { height: 25px; width: auto; fill: #fff; }
.copy { grid-column: 2; margin: -17px 0 14px 36px; font-size: 16px; color: #333; white-space: pre; }
@media (max-width: 767px) {
  .site-footer { padding: 40px 8px 30px; }
  .site-footer .left { justify-content: center; align-items: center; padding: 4px; border-right-width: 1px; }
  .site-footer .left img { width: 120px; }
  .site-footer .right { padding: 4px; text-align: center; }
  .site-footer h2 { font-size: 16px; line-height: 16px; margin-bottom: 16px; }
  .social { justify-content: center; flex-wrap: wrap; gap: 8px; }
  .social a { width: 36px; height: 36px; }
  .social svg { height: 18px; }
  .copy { grid-column: 1 / -1; margin: 28px 0 14px; text-align: center; }
}

/* Shared page titles */
.title { font: 800 64px/76px "Lexend", sans-serif; color: #000; }
@media (max-width: 1024px) { .title { font-size: 40px; line-height: 1.2; } }
@media (max-width: 600px) { .title { font-size: 32px; } }

/* About (the live page had lost its styling; this follows the other pages) */
.about { max-width: 1120px; margin: 10px auto 0; padding: 0 20px; }
.about h2 { font: 700 32px/48px "Lexend", sans-serif; color: var(--green); margin: 10px 0 24px; }
.about img { width: 800px; margin-bottom: 24px; }
.about p { font: 400 18px/27px "Roboto", sans-serif; color: #000; margin-bottom: 16px; }

/* Event media index. Live: title in a 1140px box, then a 1165px box with a blue line down its left side. */
.media-head { max-width: 1140px; margin: 0 auto; padding: 10px; }
.media-head h1 { font: 600 65px/1 "Lexend", sans-serif; color: var(--green); margin-bottom: 20px; }
.media { max-width: 1165px; margin: 0 auto; }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; row-gap: 15px; padding: 10px; border-left: 3px solid var(--sky); }
.media-grid > div { padding: 10px; display: flex; flex-direction: column; align-items: center; }
.media-grid a:first-child { align-self: stretch; margin-bottom: 25px; }
.media-grid img { width: 100%; }
.media-grid > div:first-child img { height: 365px; object-fit: cover; }
@media (max-width: 767px) { .media-grid { grid-template-columns: 1fr; row-gap: 0; } .media-grid > div:nth-child(even) { margin-bottom: 15px; } .media-grid .btn { text-align: center; } }

/* Gallery pages. Live: title box (1140px), then a 1600px box with social buttons in a narrow side column
   and the photo grid beside it. Columns, photo shape and side width come from each page's settings. */
.g-head { max-width: 1140px; margin: 0 auto; padding: 10px; text-align: center; }
.g-head h1 { font: 800 64px/76px "Lexend", sans-serif; color: #000; margin-bottom: 39px; }
.g-date { margin: 4px; font-size: 32px; font-weight: 500; line-height: 1; color: var(--green); }
.g-A .g-date { margin-bottom: 24px; }
.g-video { position: relative; aspect-ratio: 16 / 9; }
.g-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.g-video-row { max-width: 1140px; margin: 0 auto; padding: 10px; }
.g-sec { display: flex; max-width: 1600px; margin: 0 auto; padding: 15px 0 60px; }
.g-C .g-sec { padding-top: 80px; }
.share { flex: none; width: var(--side); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.share a { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.share svg { height: 25px; width: auto; fill: #fff; }
.g-main { width: calc(100% - var(--side)); padding: 0 70px 12px 0; }
.g-C .g-main { padding: 16px 70px 16px 0; }
.gallery { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 11px; margin: calc(10px + var(--gap-top, 0px)) 10px 50px; }
.g-C .gallery { margin: 0 0 60px; }
.gallery a { display: block; position: relative; aspect-ratio: var(--ratio); cursor: zoom-in; }
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); opacity: 0; transition: opacity .8s; }
.gallery a:hover::after { opacity: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-btn { display: block; width: fit-content; margin: 0 auto 25px; font: 600 24px/1 "Roboto", sans-serif; padding: 15px 100px; }
@media (max-width: 1024px) {
  .share { display: none; }
  .g-main, .g-C .g-main { width: 100%; padding: 0 8px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 767px) {
  .gallery { grid-template-columns: repeat(var(--mcols), 1fr); }
  .g-A .g-head h1 { font-size: 36px; line-height: 36px; }
  .g-A .g-date { width: 331px; max-width: calc(100% - 8px); margin-bottom: 4px; font: 600 20px/1 "Lexend", sans-serif; }
  .g-B .g-head h1, .g-C .g-head h1 { display: none; }
  .g-A .g-btn { font-size: 16px; }
}
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; z-index: 100; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 16px; line-height: 1; }
.lightbox .close { top: 8px; right: 12px; }
.lightbox .prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Subscribe pop-up */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 90; padding: 16px; }
.modal.open { display: flex; }
.modal .box { background: #fff; border-radius: 10px; padding: 32px; max-width: 460px; width: 100%; position: relative; }
.modal .x { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: #888; }
.modal h2 { font: 600 20px/1.3 "Lexend", sans-serif; color: #000; }
.modal label { display: block; font-size: 14px; font-weight: 600; margin: 12px 0 4px; }
.modal input { width: 100%; padding: 10px 12px; border: 1px solid #c9cdd1; border-radius: 6px; font: inherit; }
.modal .btn { width: 100%; margin-top: 20px; }
.modal .msg { margin: 12px 0 0; font-size: 14px; }
.hp { position: absolute; left: -9999px; }

/* Plain pages (assign tickets, page not found) */
.pg > .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.pg > .wrap h1 { font: 800 48px/1.2 "Lexend", sans-serif; color: #000; margin-bottom: 24px; }
.pg > .wrap p { margin-bottom: 16px; }

/* Assign tickets. Live: only the form, in a 772px box. */
.tickets { max-width: 788px; margin: 0 auto; padding: 40px 8px 80px; }
.tickets iframe { width: 100%; height: 860px; border: 0; }
