/* Member portal chrome, continued from the WordPress event page. */

:root {
  --main-color: #5941d0;
  --main-color-dark: #5941d0;
  --oz-color-purple: #5941d0;
  --oz-color-black: #181819;
}

body,
input,
select,
textarea {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
}

body {
  background: #f7f7f7;
}

a {
  color: var(--oz-color-purple);
}

a:hover {
  color: #3d2aa8;
}

p {
  margin: 0 0 0.75em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.35;
  margin: 0 0 0.5em;
}

body.subpage {
  padding-top: 0;
}

#header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto !important;
  min-height: 0;
  line-height: 1.5;
  padding: 20px 0;
  text-align: start;
  background: linear-gradient(180deg, rgba(17, 7, 65, 1) 0%, rgba(24, 24, 25, 0) 100%);
  color: #fff;
  z-index: 100;
}

#header > .inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: auto;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

#header-logo {
  margin: 0;
  margin-inline-end: 60px;
  flex: 0 0 auto;
}

#header-logo .site-title {
  display: block;
  margin: 0;
  width: 150px;
  height: 45px;
  overflow: hidden;
}

#header-logo .site-title a {
  display: block;
  width: 150px;
  height: 45px;
  padding: 80px 0 0;
  background: url("/wp-content/themes/frontistr-2022/images/logo-white.svg") 0 0 / 150px 45px no-repeat;
  color: transparent;
  font-size: 0;
}

#header-passkey-login {
  flex: 0 1 auto;
  margin-inline-start: auto;
  max-width: 20em;
  height: auto;
  min-height: 32px;
  padding: 0.4em 0.85em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}
#header-passkey-login:hover {
  background: rgba(255, 255, 255, 0.24);
}
#header-passkey-login:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#header-passkey-login + #header-language-menu {
  margin-inline-start: 8px;
}
#header-language-menu {
  flex: 0 0 auto;
  position: relative;
  margin-inline-start: auto;
  color: #fff;
  z-index: 10004;
  vertical-align: middle;
  font-size: 17px;
  line-height: 1.6;
}
#header-language-menu a,
#header-language-menu a:hover,
#header-language-menu a:visited {
  color: #fff;
}
.language-menu-control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap-reverse;
  gap: .3em .5em;
}
.locale-suggestion-slot {
  order: 1;
  flex: 0 0 auto;
  transition: opacity .3s;
}
#header-language-menu details {
  position: relative;
  order: 2;
  margin: 0;
}
#header-language-menu summary {
  display: flex;
  align-items: center;
  gap: .4em;
  padding: 0 6px;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  color: #fff;
}
#header-language-menu summary::-webkit-details-marker {
  display: none;
}
.frontistr-language-selector__globe {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 22px;
  height: 20px;
  flex: 0 0 auto;
}
#header-language-menu .language-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.frontistr-language-selector__total-count {
  box-sizing: border-box;
  position: absolute;
  inset-block-start: -2px;
  inset-inline-end: -1px;
  min-width: 15px;
  padding: 1px 2px;
  border-radius: 999px;
  background: #fff;
  color: #17104f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  text-align: center;
  unicode-bidi: isolate;
}
.frontistr-language-selector__location-count {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 38px;
  min-height: 18px;
  padding-inline: 4px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
  color: inherit;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  opacity: 1;
  transition: opacity .16s ease;
  unicode-bidi: isolate;
}
.frontistr-language-selector__location-count.is-pending {
  opacity: 0;
}
.frontistr-language-selector__location-flag {
  font-size: 12px;
  line-height: 1;
}
.frontistr-language-selector__location-number {
  font-size: 9px;
  letter-spacing: -.02em;
  line-height: 1;
  opacity: .9;
}
#header-language-menu .language-menu-list {
  position: absolute;
  z-index: 10005;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 160px;
  padding: 8px 0;
  text-align: start;
  background: rgba(17, 7, 65, .96);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
  color: #fff;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

#header-language-menu details:not([open]) .language-menu-list {
  display: none;
}
#header-language-menu .language-menu-list ul {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header-language-menu .language-menu-list li {
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 1px 12px;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.25;
  white-space: nowrap;
  opacity: .82;
}
#header-language-menu .language-menu-list li:has(a):hover {
  background: rgba(255, 255, 255, .1);
}
#header-language-menu .language-menu-list li a {
  display: block;
  padding: 0;
  color: inherit;
}
#header-language-menu .language-menu-list li.language-cyrillic a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: normal;
  font-kerning: auto;
  letter-spacing: normal;
}
#header-language-menu .language-menu-list li.preferred-locale {
  padding: 5px 12px;
  font-size: 14px;
  font-weight: bold;
  opacity: 1;
}
#header-language-menu .language-menu-list .location-languages li {
  padding: 2px 12px;
  font-size: 12px;
  opacity: .92;
}
#header-language-menu .language-menu-list li.current {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.locale-hint,
.locale-hint:visited {
  display: inline-block;
  padding: .18em .65em;
  border: 1px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #17104f !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;
}
.locale-hint:hover {
  background: #e8e4ff;
  color: #17104f !important;
}
#header-language-menu:has(details[open]) .locale-suggestion-slot {
  opacity: 0;
  pointer-events: none;
}
@media screen and (min-width: 901px) {
  #header-language-menu .language-menu-list
  ul.preferred-languages:not(.location-languages) {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 .5em;
    padding: 0;
  }
  #header-language-menu
  .preferred-languages:not(.location-languages) li {
    width: 100%;
    text-align: end;
  }
  #header-language-menu
  .preferred-languages:not(.location-languages) li a {
    display: block;
    width: 100%;
  }
  #header-language-menu .language-menu-list ul.location-languages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    width: 100%;
    margin: 0 0 .7em;
    padding: 0;
  }
  #header-language-menu .language-menu-list
  ul.location-languages > li:nth-child(odd) {
    grid-column: 2;
  }
  #header-language-menu .language-menu-list
  ul.location-languages > li:nth-child(even) {
    grid-column: 1;
  }
  #header-language-menu .location-languages li {
    width: 100%;
    text-align: end;
  }
  #header-language-menu .location-languages li a {
    display: block;
    width: 100%;
  }
}

#header-member {
  flex: 0 0 auto;
  margin: 0;
  margin-inline-start: 8px;
  line-height: 0;
}
#header-member a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #fff;
  border-radius: 50%;
  opacity: 0.88;
}
#header-member a:hover {
  opacity: 1;
  color: #fff;
}
#header-member.is-guest a,
#header-member.is-logged-in a {
  width: auto;
  padding: 0 12px 0 8px;
  gap: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
#header-member .header-member-label {
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#header-member .header-member-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#header-member.is-logged-in .header-member-icon {
  fill: currentColor;
  fill-opacity: 0.18;
}

#menu {
  background: #181819;
}

html[dir="rtl"] #menu {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

html[dir="rtl"] #menu.visible {
  transform: translateX(0);
}

html[dir="rtl"] #menu .close {
  right: auto;
  left: 0;
  padding-right: 0;
  padding-left: 1.25em;
  text-align: left;
}

#menu > ul.links > li > a:not(.button):hover {
  color: #cbbfff;
}

.page-thumbnail {
  position: relative;
  height: 20vh;
  min-height: 320px;
  max-height: 100vh;
  margin: 0 0 1em;
  overflow: hidden;
  background: #181819;
}

.page-thumbnail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/themes/frontistr-2022/images-page/top-hero.jpg") center / cover no-repeat;
  background-image: image-set(
    url("/wp-content/themes/frontistr-2022/images-page/top-hero.webp") type("image/webp"),
    url("/wp-content/themes/frontistr-2022/images-page/top-hero.jpg") type("image/jpeg")
  );
}

html[dir="rtl"] .page-thumbnail::before {
  transform: scaleX(-1);
}

.page-thumbnail .inner {
  height: 100%;
  z-index: 1;
}

.page-thumbnail .page-title {
  position: absolute;
  bottom: 0;
  inset-inline-start: 20px;
  margin: 0;
  color: #f7f7f7;
  line-height: 1;
  transform: translateY(10%);
  z-index: 3;
  max-width: calc(100% - 40px);
  overflow-wrap: anywhere;
}

html:lang(ar) .page-thumbnail .page-title,
html:lang(fa) .page-thumbnail .page-title,
html:lang(he) .page-thumbnail .page-title,
html:lang(ur) .page-thumbnail .page-title {
  transform: translateY(0);
}

.page-thumbnail .page-title i {
  font-size: clamp(40px, 6vw, 81px);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
}

.page-thumbnail .page-title span {
  display: none;
}

#main {
  background: #f7f7f7;
}

/* The old grid uses physical negative margins that overflow in RTL layouts. */
.member-site #main .row {
  margin-inline: 0;
}

.member-site #main .row > * {
  padding-inline: 0;
}

.member-site.has-hero-title .wrapper.style2 {
  display: none;
}

.wrapper.style1 {
  background: transparent;
  color: #111;
  padding: 0 0 5em;
}

.wrapper.style1 .inner {
  width: auto;
  max-width: 1600px;
  margin: 0 auto;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 2px 2px 8px rgba(0, 0, 25, 0.08);
}

.wrapper.style1 h1,
.wrapper.style1 h2,
.wrapper.style1 h3,
.wrapper.style1 h4,
.wrapper.style1 h5,
.wrapper.style1 h6 {
  color: #5131ca;
}

.wrapper.style1 a {
  color: #222;
  text-decoration: underline;
}

.wrapper.style1 a:hover {
  color: var(--oz-color-purple);
}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button,
.wrapper.style1 input[type="submit"],
.wrapper.style1 input[type="reset"],
.wrapper.style1 input[type="button"],
.wrapper.style1 button,
.wrapper.style1 .button {
  background-color: var(--oz-color-purple);
  color: #fff !important;
  border-radius: 50px;
  text-decoration: none;
  width: auto;
  min-width: 8em;
}

.box,
.table-wrapper {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.table-wrapper {
  padding: 0;
  margin: 0.75em 0;
}

.table-wrapper table {
  font-size: 13px;
  line-height: 1.45;
}

.member-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-block: 1em;
}

.member-site button,
.member-site input[type="submit"] {
  max-width: 100%;
  height: auto;
  min-height: 2.85em;
  line-height: 1.5;
  padding-block: 0.6em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.table-wrapper th,
.table-wrapper td {
  padding: 5px 8px;
}

#footer {
  background: #181819;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
}

#footer a {
  color: #fff;
}

#footer::before {
  content: "";
  width: 80%;
  height: 200%;
  display: block;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: url("/wp-content/themes/frontistr-2022/images/section-bg.png") center top / 80% auto no-repeat;
  mix-blend-mode: screen;
  pointer-events: none;
}

#footer > .inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: auto;
  max-width: 1600px;
  padding: 0 24px;
}

#footer-logo {
  position: relative;
  z-index: 1;
  margin: 0 auto 40px;
}

#footer-logo .site-title {
  width: 250px;
  height: 75px;
  margin: 0 auto;
  overflow: hidden;
}

#footer-logo .site-title a {
  display: block;
  width: 250px;
  height: 75px;
  background: url("/wp-content/themes/frontistr-2022/images/logo-white.svg") 0 0 / 250px 75px no-repeat;
  text-indent: -9999px;
}

.sns-navi {
  margin: 0 auto 40px;
  padding: 0;
  list-style: none;
}

.sns-navi li {
  display: inline-block;
  margin: 0 12px;
  width: 40px;
  height: 40px;
  overflow: hidden;
}

.sns-navi a {
  display: block;
  width: 40px;
  height: 40px;
  padding-top: 50px;
  background: 0 0 no-repeat;
  background-size: 40px 40px;
}

.sns-navi .sns-github {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-github.svg");
}

.sns-navi .sns-gitlab {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-gitlab.svg");
}

.sns-navi .sns-twitter {
  background-image: url("/wp-content/themes/frontistr-2022/images/ic-twitter.svg");
}

#site-info {
  display: block;
  font-size: 11px;
  color: #ccc;
}

.event-public {
  text-align: start;
  font-size: 13px;
}
.event-public .box {
  margin: 0 0 1em;
  min-width: 0;
}
.event-public .box > .title,
.event-public h3.title,
.event-public .box > h3 {
  font-size: 18px;
  line-height: 1.35;
  color: #5131ca;
  padding: 0 0 0.2em;
  margin: 0 0 0.5em;
  border-bottom: 1px solid #ccc;
}
.event-public .box > .title a,
.event-public h3.title a {
  color: inherit;
  text-decoration: none;
}
.event-public .box > .title a:hover,
.event-public h3.title a:hover {
  color: #aa4fd8;
}
.event-public-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35em 1.2em;
  margin: 0 0 1em;
}
.event-public-intro p {
  margin: 0;
  flex: 1 1 18em;
  font-size: 13px;
}
.event-public-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em 1em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.event-public-links a {
  text-decoration: underline;
}
.event-public table {
  font-size: 13px;
  margin: 0 0 0.4em;
}
.wrapper.style1 .event-public table tbody tr {
  border-color: rgba(0, 0, 0, 0.06);
}
.wrapper.style1 .event-public table tbody tr:nth-child(2n + 1) {
  background-color: rgba(0, 0, 0, 0.04);
}
.event-public table th,
.event-public table td {
  padding: 5px 8px;
  vertical-align: middle;
}
.event-public-subtitle {
  font-size: 13px;
  line-height: 1.4;
  color: #555;
  margin: 0.1em 0 0.5em;
  font-weight: 400;
}
.event-public-table th {
  width: 6em;
  white-space: nowrap;
  vertical-align: top;
  font-size: 12px;
}
.event-public-table:not(.event-list-table) th {
  white-space: normal;
  overflow-wrap: anywhere;
}
.event-public .event-detail-table th {
  width: 11em;
  overflow-wrap: normal;
  vertical-align: top;
  text-align: start;
}
.event-public .event-detail-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
}
/* These are labels within the detail table, not purple section titles. */
.wrapper.style1 .event-detail-table th,
.wrapper.style1 .event-detail-table .event-detail-heading {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: inherit;
  text-align: start;
}
.wrapper.style1 .event-detail-table .event-detail-heading {
  margin: 0 0 0.4em;
}
@media screen and (max-width: 650px) {
  .event-public .event-detail-table,
  .event-detail-table > tbody,
  .event-detail-table > tbody > tr,
  .event-public .event-detail-table > tbody > tr > th,
  .event-public .event-detail-table > tbody > tr > td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .event-public .event-detail-table > tbody > tr > th {
    padding-bottom: 0;
    overflow-wrap: anywhere;
  }
}
.event-public h3 {
  font-size: 16px;
  font-weight: 700;
  color: #5131ca;
  margin: 0 0 0.5em;
}
.event-public-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  margin: 0 0 1em;
}
.event-public-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  margin: 0.75em 0 0;
}
.event-public-files {
  margin: 0;
  padding-inline-start: 1.2em;
}
@media screen and (min-width: 900px) {
  .event-public-cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
  .event-public-cards > .box {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    row-gap: 0;
  }
  .event-public-cards .event-card-header {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    row-gap: 0;
    min-width: 0;
  }
  .event-public-cards .event-card-header > .title {
    grid-row: 1;
  }
  .event-public-cards .event-card-header > .event-public-subtitle {
    grid-row: 2;
  }
  .event-public-cards .event-card-header > [data-passkey-refresh] {
    grid-row: 3;
  }
}

@media screen and (max-width: 900px) {
  #header-member {
    margin-inline-start: 8px;
  }

  #header-logo {
    margin-inline-end: 0;
  }

  #header-language-menu .language-menu-list
  ul.preferred-languages li.language-wide {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 800px) {
  #header > .inner,
  #footer > .inner {
    padding: 0 12px;
  }

  .page-thumbnail {
    min-height: 240px;
    background: #020430;
  }

  .wrapper.style1 .inner {
    padding: 18px 16px;
  }
}

@media screen and (max-width: 600px) {
  #header > .inner:has(#header-passkey-login) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 8px;
  }
  #header:has(#header-passkey-login) #header-logo {
    grid-column: 1;
    grid-row: 1;
  }
  #header:has(#header-passkey-login) #header-logo .site-title,
  #header:has(#header-passkey-login) #header-logo .site-title a {
    width: clamp(110px, 35vw, 150px);
    background-size: 100% auto;
    background-position: center top;
  }
  #header:has(#header-passkey-login) #header-language-menu,
  #header:has(#header-passkey-login) #header-member {
    grid-row: 1;
    margin-inline-start: 0;
  }
  #header:has(#header-passkey-login) #header-language-menu {
    grid-column: 2;
  }
  #header:has(#header-passkey-login) #header-member {
    grid-column: 3;
  }
  #header-passkey-login {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
    max-width: 100%;
    margin-inline-start: 0;
    font-size: 12px;
  }
  #header-language-menu {
    flex: 1 1 auto;
    min-width: 0;
    margin-inline-start: 8px;
  }

  #header-language-menu details {
    max-width: 100%;
  }

  #header-language-menu summary {
    min-width: 0;
  }

  .language-menu-control {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  #header-language-menu .current-language {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .locale-suggestion-slot {
    order: 3;
    text-align: end;
  }

  .locale-hint {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #header-member.is-guest .header-member-label {
    display: none;
  }

  #header-member.is-logged-in .header-member-label {
    max-width: clamp(40px, 16vw, 90px);
  }

  #header-language-menu .language-menu-list {
    position: fixed;
    inset-inline: 12px;
    top: 85px;
    width: auto;
  }

  #header-language-menu .language-menu-list ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #header-language-menu .language-menu-list li {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

#calendar-feed-url {
  box-sizing: border-box;
  width: 100%;
  max-width: 48em;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f7f7f7;
  color: #111;
  font: inherit;
}

.calendar-subscription .member-form-actions .button {
  height: auto;
  padding: 0.6em 1.5em;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}

.event-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-block: 0.6em;
}
.event-status {
  display: inline-block;
  padding: 0.15em 0.55em;
  border: 1px solid #b8b8b8;
  border-radius: 1em;
  background: #f7f7f7;
  color: #454545;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}
.event-status-open,
.event-status-ongoing {
  border-color: #9acbb5;
  background: #e4f4ed;
  color: #176348;
}
.event-status-registered {
  border-color: #c1b1ed;
  background: #eee8ff;
  color: #5131ca;
}
.event-status-full {
  border-color: #dfbb91;
  background: #fff0df;
  color: #854300;
}
.event-registration-summary {
  padding: 1.25em;
  margin-block: 1.25em;
  background: #f7f7fb;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.event-registration-summary h3 {
  margin-bottom: 0.5em;
}
.event-registration-summary dl {
  margin: 0;
}
.event-registration-summary dt {
  font-weight: 600;
}
.event-registration-summary dd {
  margin: 0 0 0.75em;
}
.event-result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em;
  margin-block: 1.25em;
}
.event-result-actions .button,
.event-result-actions button {
  max-width: 100%;
  height: auto;
  line-height: 1.5;
  padding: 0.75em 1.5em;
  white-space: normal;
  overflow-wrap: anywhere;
}
.wrapper.style1 .event-result-actions .event-cancel-confirm {
  background: #fff;
  color: #8b302b !important;
  box-shadow: inset 0 0 0 1px #8b302b;
}

/* Keep WordPress's title offset on desktop; contain wrapped titles on mobile. */
@media screen and (max-width: 800px) {
  .event-site .page-thumbnail .page-title {
    transform: none;
  }
}
.event-site .page-thumbnail .page-title i {
  font-size: clamp(28px, 6vw, 81px);
  hyphens: auto;
}
.event-site .event-public-actions button,
.event-site .member-form-actions button {
  padding-inline: 1.5em;
}

/* Wide screens use a status column; narrow screens stack each event's cells. */
.event-list-table {
  table-layout: fixed;
  width: 100%;
}
.event-public .event-list-table th {
  white-space: normal;
}
.event-list-table .event-list-name { width: 34%; }
.event-list-table .event-list-status { width: 14%; }
.event-list-table .event-list-organizer { width: 17%; }
.event-list-table .event-list-date { width: 25%; }
.event-list-table .event-list-calendar { width: 10%; }
.event-list-table td {
  overflow-wrap: anywhere;
}
.event-list-table .event-statuses {
  margin: 0;
  gap: 0.3em;
}
.event-list-label {
  display: none;
}
@media screen and (max-width: 800px) {
  .event-public .event-list-table,
  .event-list-table tbody {
    display: block;
  }
  .event-list-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .event-list-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45em;
    padding: 0.85em;
  }
  .event-public .event-list-table td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
  }
  .event-public .event-list-table .event-list-organizer,
  .event-public .event-list-table .event-list-date,
  .event-public .event-list-table .event-list-calendar {
    display: grid;
    grid-template-columns: minmax(5em, 30%) minmax(0, 1fr);
    gap: 0.75em;
    align-items: baseline;
  }
  .event-list-label {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #555;
  }
  .event-list-table .event-statuses {
    margin-bottom: 0.2em;
  }
}


.member-certificate-actions {
  margin-bottom: 1.5em;
}
@media print {
  body:has(.member-certificate) {
    background: #fff !important;
    color: #000;
  }
  body:has(.member-certificate) > :not(#main),
  .member-certificate-page:has(.member-certificate) > :not(:has(.member-certificate)),
  .member-certificate-page:has(.member-certificate) .inner > :not(.row),
  .member-certificate-actions {
    display: none !important;
  }
  .member-certificate-page:has(.member-certificate),
  .member-certificate-page:has(.member-certificate) .wrapper,
  .member-certificate-page:has(.member-certificate) .inner,
  .member-certificate-page:has(.member-certificate) .row,
  .member-certificate-page:has(.member-certificate) .row > div {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
  }
  .member-certificate {
    padding: 12mm;
    font-size: 12pt;
    line-height: 1.8;
    break-inside: avoid;
  }
  .wrapper.style1 .member-certificate h3 {
    color: #000;
    font-size: 24pt;
    text-align: center;
    margin-bottom: 1.5em;
  }
  .member-certificate .member-certificate-seal {
    width: 28mm;
  }
}
.member-certificate-issuer {
  max-width: 40em;
  margin-block: 1em 2em;
  break-inside: avoid;
}
.member-certificate-signature {
  display: flex;
  align-items: center;
  gap: 1em;
  width: fit-content;
  max-width: 100%;
}
.member-certificate-signature p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
.member-certificate-seal {
  display: block;
  flex: 0 0 auto;
  width: clamp(64px, 15vw, 100px);
  height: auto;
}


.event-passkey-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em 1.5em;
  padding: 1em 1.25em;
  margin-bottom: 1.5em;
  border-inline-start: 3px solid #7354d2;
  border-radius: 6px;
  background: #f4f1fc;
}
.event-passkey-notice > div {
  flex: 1 1 24em;
  min-width: 0;
}
.event-public .event-passkey-notice h3 {
  margin-bottom: 0.3em;
}
.event-passkey-notice p {
  margin: 0;
  font-size: 13px;
}
.event-passkey-notice .button {
  max-width: 100%;
  height: auto;
  padding: 0.65em 1.25em;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 13px;
}
#passkeys {
  scroll-margin-top: 6em;
}


.admin-member-list {
  max-width: 100%;
  overflow-x: auto;
}
.admin-member-list table.list {
  min-width: 1050px;
  font-size: 14px;
  line-height: 1.6;
}
.admin-member-list table.list th,
.admin-member-list table.list td {
  padding: 0.7em 0.8em;
}
.admin-member-list table.list th {
  white-space: nowrap;
}
.admin-member-list:focus-visible {
  outline: 2px solid #7354d2;
  outline-offset: 2px;
}

.admin-hero .admin-breadcrumbs {
  position: absolute;
  inset-inline: 20px;
  bottom: 24px;
  z-index: 3;
  color: #f7f7f7;
}
.admin-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em 0.75em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.admin-breadcrumbs li {
  display: flex;
  align-items: baseline;
  gap: 0.75em;
  min-width: 0;
  padding: 0;
}
.admin-breadcrumbs a {
  color: #f7f7f7;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.admin-breadcrumbs a:hover {
  color: #fff;
}
.admin-breadcrumbs h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.admin-breadcrumb-separator {
  color: #c5bddf;
}

/* Account settings: normal actions and destructive actions stay visually distinct. */
.wrapper.style1 .inner.account-settings {
  max-width: 1080px;
  padding: 0 20px;
  background: transparent;
  box-shadow: none;
}
.account-panel {
  padding: clamp(20px, 3vw, 36px);
  margin-bottom: 24px;
  border: 1px solid #e6e4ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 25, 0.04);
}
.account-panel h2 {
  margin-bottom: 0.4em;
  font-size: 22px;
  line-height: 1.4;
}
.account-intro {
  color: #555;
  margin-bottom: 1.5em;
}
.account-fieldset {
  min-width: 0;
  margin: 1.5em 0;
  padding: 0;
  border: 0;
}
.account-fieldset legend {
  width: 100%;
  margin-bottom: 1em;
  padding: 0 0 0.5em;
  border-bottom: 1px solid #e6e4ed;
  font-size: 15px;
  font-weight: 700;
  color: #3e315f;
}
.account-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
.account-field { min-width: 0; }
.account-field-wide { grid-column: 1 / -1; }
.account-field label {
  display: block;
  margin-bottom: 0.4em;
  font-size: 13px;
  font-weight: 600;
}
.wrapper.style1 .account-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 0.65em 0.85em;
  border: 1px solid #c9c7d1;
  border-radius: 6px;
  background: #fff;
  color: #222;
}
.account-field input:focus-visible {
  outline: 2px solid #7354d2;
  outline-offset: 2px;
}
.account-field-hint {
  display: block;
  margin: 0.5em 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #62606a;
}
.user-registration-form table {
  table-layout: fixed;
  width: 100%;
}
.user-registration-form th {
  width: 28%;
}
.user-registration-form td,
.user-registration-form th {
  overflow-wrap: anywhere;
}
.user-registration-form input:not([type="hidden"]):not([type="submit"]) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
@media screen and (max-width: 650px) {
  .user-registration-form table,
  .user-registration-form tbody,
  .user-registration-form tr,
  .user-registration-form th,
  .user-registration-form td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .user-registration-form th {
    padding-bottom: 0;
    text-align: start;
  }
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
  margin-top: 1.5em;
}
.account-settings button,
.account-settings .button {
  max-width: 100%;
  height: auto;
  min-height: 2.85em;
  padding: 0.7em 1.5em;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.wrapper.style1 .account-settings .account-secondary {
  background: #fff;
  color: #514c60 !important;
  box-shadow: inset 0 0 0 1px #bbb6c8;
}
.wrapper.style1 .account-settings .account-danger-outline {
  background: #fff;
  color: #a32d35 !important;
  box-shadow: inset 0 0 0 1px #bb5860;
}
.wrapper.style1 .account-settings .account-danger-outline:hover {
  background: #fff0f1;
}
.account-passkeys {
  list-style: none;
  padding: 0;
  margin: 0;
}
.account-passkeys li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
  padding: 1em 0;
  border-bottom: 1px solid #e6e4ed;
}
.account-passkeys li:first-child { padding-top: 0; }
.account-passkey-description {
  flex: 1 1 14em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.account-passkey-description strong { display: block; }
.account-empty {
  padding: 1em;
  border: 1px dashed #d1ccdd;
  border-radius: 6px;
  background: #faf9fc;
  color: #62606a;
}
.account-danger-zone {
  margin-top: 36px;
  border-color: #e5c7ca;
  box-shadow: none;
}
.wrapper.style1 .account-danger-zone h2 { color: #a32d35; }
@media screen and (max-width: 650px) {
  .wrapper.style1 .inner.account-settings { padding-inline: 12px; }
  .account-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Certificate layout shared by screen and print, with locale-specific typography. */
.member-certificate {
  max-width: 52em;
  margin-inline: auto;
  line-height: 1.8;
}
.member-certificate h3,
.member-certificate .member-certificate-recipient {
  text-align: center;
}
.member-certificate h3 {
  font-family: Georgia, "Times New Roman", serif;
  margin-block: 0.5em 1.25em;
}
.member-certificate .member-certificate-recipient {
  font-size: 1.4em;
  margin-bottom: 1.5em;
  overflow-wrap: anywhere;
}
.member-certificate .member-certificate-number {
  font-size: 0.65em;
}
.member-certificate .member-certificate-date {
  margin-top: 2em;
}
.member-certificate .member-certificate-issuer {
  width: fit-content;
  max-width: min(100%, 36em);
  margin-inline-start: auto;
}

.member-certificate:lang(ja) {
  line-height: 2;
}
.member-certificate:lang(ja) h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  letter-spacing: 0.15em;
  margin-block: 1em 1.75em;
}
.member-certificate:lang(ja) .member-certificate-recipient {
  text-align: start;
  margin-block: 0 2em;
}
.member-certificate:lang(ja) .member-certificate-date {
  margin-block: 2em;
}
.member-certificate-address {
  font-size: 0.9em;
}
.member-certificate-representative {
  display: inline-block;
  margin-top: 0.5em;
}
@media screen and (min-width: 651px) {
  .member-certificate {
    padding: 1.5em 2em;
  }
}

.member-certificate:lang(en) .member-certificate-representative bdi,
.member-certificate:lang(fr) .member-certificate-representative bdi {
  display: block;
}

@font-face {
  font-family: "Allura";
  src: url("../fonts/allura/Allura-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.member-certificate[data-issuer-script="Latn"] .member-certificate-signature-name {
  display: block;
  font-family: "Allura", "Segoe Script", "Apple Chancery", cursive;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.15em;
  overflow-wrap: normal;
}
@media print {
  .member-certificate[data-issuer-script="Latn"] .member-certificate-signature-name {
    font-size: 26pt;
  }
}

@media screen and (max-width: 650px) {
  html:lang(de) body:has(.member-certificate-page) .page-thumbnail .page-title i {
    font-size: clamp(26px, 8.6vw, 40px);
  }
}

.member-certificate-category {
  white-space: nowrap;
}

/* Commit counts stay compact; contributor names can wrap on narrow screens. */
.committer-ranking .committer-table {
  width: 100%;
  table-layout: fixed;
  font-size: 15px;
}
.committer-table th,
.committer-table td {
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.committer-table th:first-child,
.committer-table td:first-child {
  width: 8em;
  text-align: end;
  font-variant-numeric: tabular-nums;
}
.committer-empty {
  padding: 1em;
  background: #f6f5fa;
  border-radius: 8px;
}

/* Search controls and non-interactive workflow feedback. */
.workflow-notice {
  padding: 1em 1.25em;
  border-inline-start: 3px solid #5940d6;
  background: #f5f2fc;
  border-radius: .3em;
}
.event-public-actions .event-response { margin: 0 0 .75em; font-weight: 600; }
.materials-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 1em; }
.materials-filter > div { min-width: 0; }
.materials-query { flex: 1 1 18em; }
.materials-filter input[type="search"] {
  appearance: none;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 2.75em;
  padding: 0 1em;
  font: inherit;
  color: inherit;
  background: rgba(0, 0, 0, .075);
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 4px;
}
.materials-filter input[type="search"]:focus {
  outline: 2px solid #5940d6;
  outline-offset: 1px;
}
.materials-filter select { min-width: 9em; }
.materials-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1em; }
.materials-empty-option { flex-basis: 100%; }
@media screen and (max-width: 650px) {
  .materials-filter > div { flex-basis: 100%; }
  .materials-filter select { width: 100%; }
}
