/* Public forum chrome. XF continues to own routing, menus and account actions. */
.community-theme {
  --rfc-mast: #292e34;
  --rfc-navigation: #353b44;
  --rfc-selected: #4d525a;
  --rfc-mobile: #1f2228;
  --rfc-white: #f5f6f7;
  --rfc-quiet: #abb1ba;
  --rfc-blue: #146be1;
  --rfc-gold: #ffd476;
  --rfc-gutter: clamp(15px, 3vw, 40px);
  --rfc-width: min(1500px, calc(100% - 2 * var(--rfc-gutter)));
  --rfc-account: 275px;
}
.community-theme:has(.p-nav-opposite .community-language) { --rfc-account: 375px; }
.community-theme:has(.p-account.p-navgroup--member) { --rfc-account: 255px; }
.community-theme:has(.p-account.p-navgroup--member):has(.p-nav-opposite .community-language) { --rfc-account: 355px; }
.community-theme .p-header,
.community-theme .p-nav,
.community-theme .p-footer { font-family: system-ui, "Segoe UI", sans-serif; }
.community-theme .p-header { background: var(--rfc-mast); color: var(--rfc-white); border: 0; }
.community-theme :is(.p-header-inner,.p-nav-inner,.p-footer-inner) {
  width: var(--rfc-width); max-width: none; padding-inline: 0; margin-inline: auto;
}
.community-theme .p-header-content {
  display: flex; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: clamp(20px,2.4vw,36px);
  min-height: 100px; padding: 0 var(--rfc-account) 0 0;
}
.community-theme .p-header-logo {
  flex: 0 1 clamp(222px,24vw,306px); margin: 0; max-width: none; padding: 0;
}
.community-theme .p-header-logo a,
.community-theme .p-nav-smallLogo a {
  display: inline-flex; box-sizing: border-box; height: auto; max-width: 100%; padding: 6px 8px;
  vertical-align: middle;
}
.community-theme .p-header-logo img { width: 302px; height: auto; max-width: 100%; max-height: 70px; }
.community-theme .community-search {
  position: relative; display: flex; flex: 1 1 280px; align-items: center; min-width: 85px;
  height: 37px; border: 1px solid transparent; border-radius: 6px;
  padding: 0 12px; margin: 0; gap: 9px; color: var(--rfc-white); background: #484c52;
}
.community-theme .community-search:focus-within { border-color: #81aff5; box-shadow: 0 0 0 2px #1b69cf55; }
.community-theme .community-search input {
  width: 100%; min-width: 0; height: 100%; margin: 0; padding: 0;
  border: 0; background: transparent; box-shadow: none; border-radius: 0; outline: none;
  color: var(--rfc-white); font: 400 13px/1.4 system-ui,sans-serif;
}
.community-theme .community-search input::placeholder { color: #edeff3; opacity: 1; }
.community-theme .community-search button { border: 0; margin: 0; padding: 0; color: inherit; background: transparent; }
.community-theme .community-search :is(svg,i) { flex-shrink: 0; font-size: 14px; }
.community-theme .p-nav { border: 0; background: var(--rfc-navigation); color: var(--rfc-white); box-shadow: none; }
.community-theme .p-navSticky,
.community-theme .p-navSticky.is-sticky { position: relative !important; inset: auto !important; z-index: 40; box-shadow: none; }
.community-theme .p-nav-inner {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 50px; gap: 0;
}
.community-theme .p-nav-inner::before, .community-theme .p-nav-inner::after,
.community-theme .p-nav-list::before, .community-theme .p-nav-list::after { display: none; }
.community-theme .p-nav-scroller { flex: 0 1 auto; max-width: 100%; margin: 0; }
.community-theme .p-nav-list { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.community-theme .p-nav-list > li { margin: 0; padding: 0; }
.community-theme .p-nav-list .p-navEl {
  display: flex; align-items: stretch; margin: 0; padding: 0; min-height: 37px;
  border: 0; border-radius: 5px; color: #e3e6eb; background: transparent;
  font-size: 12px; font-weight: 700; line-height: 1.25; text-transform: uppercase;
}
.community-theme .p-nav-list .p-navEl.is-selected { background: var(--rfc-selected); color: #fff; border-radius: 5px; }
.community-theme .p-nav-list .p-navEl:hover,
.community-theme .p-nav-list .p-navEl:focus-within { background: #474c56; color: #fff; }
.community-theme .p-nav-list .p-navEl-link,
.community-theme .p-nav-list .p-navEl-linkHolder {
  float: none; display: flex; align-items: center; border: 0; color: inherit; background: transparent;
}
.community-theme .p-nav-list .p-navEl-link { padding: 8px clamp(12px,1.5vw,23px); }
.community-theme .p-nav-list .p-navEl-link:hover,
.community-theme .p-nav-list .p-navEl-linkHolder:hover { background: transparent; color: white; text-decoration: none; }
.community-theme .p-nav-list .p-navEl-link--splitMenu { padding-inline-end: 5px; }
.community-theme .p-nav-list .p-navEl .p-navEl-splitTrigger {
  float: none; display: flex; align-items: center; padding: 0 8px 0 2px;
  border: 0; color: #ccd4db; background: transparent; border-radius: 0 5px 5px 0;
}
.community-theme .p-nav-list .p-navEl-splitTrigger::before { display: none; }
.community-theme .p-nav-list .p-navEl-splitTrigger:hover { color: white; background: #ffffff10; }
.community-theme .p-nav-opposite {
  position: absolute; right: 0; top: -100px; height: 100px; display: flex; align-items: center;
  gap: 14px; padding: 0; margin: 0; max-width: var(--rfc-account); z-index: 2;
}
.community-theme .p-nav-opposite .p-account {
  display: flex; align-items: center; gap: 9px; border: 0; border-radius: 0; background: transparent;
}
.community-theme .p-nav-opposite .p-account::before,
.community-theme .p-nav-opposite .p-account::after { display: none; }
.community-theme .p-nav-opposite .p-navgroup-link {
  float: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 37px; padding: 7px 8px; color: #f8f8f8; border: 0; border-radius: 5px;
  background: transparent; font-size: 13px; font-weight: 600; line-height: 1.25;
}
.community-theme .p-nav-opposite .p-navgroup-link:hover { background: #42474f; color: white; text-decoration: none; }
.community-theme .p-nav-opposite .p-navgroup-link--register {
  border-radius: 5px; padding-inline: 13px; background: var(--rfc-blue); color: white;
}
.community-theme .p-nav-opposite .p-navgroup-link--register:hover { background: #2479ef; }
.community-theme .p-account .p-navgroup-link--logIn:not(:has(i))::before,
.community-theme .p-account .p-navgroup-link--register:not(:has(i))::before {
  font: 900 13px/1 "Font Awesome 5 Pro";
}
.community-theme .p-account .p-navgroup-link--logIn:not(:has(i))::before { content: "\f2bd"; }
.community-theme .p-account .p-navgroup-link--register:not(:has(i))::before { content: "\f234"; }
.community-theme .p-navgroup-link--user .p-navgroup-linkText {
  display: inline-block; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.community-theme .community-language, .community-theme .community-mobile-login {
  display: inline-flex; justify-content: center; align-items: center; gap: 6px;
  min-height: 37px; padding: 7px 12px; border: 1px solid #ffffff25; border-radius: 20px;
  color: var(--rfc-white); background: #3c4148; font: 600 13px/1.3 system-ui,sans-serif;
}
.community-theme .community-language:hover, .community-theme .community-mobile-login:hover { color: #fff; background: #474c55; text-decoration: none; }
.community-theme .p-sectionLinks, .community-theme .p-nav-opposite .p-discovery,
.community-theme .community-mobile-login, .community-theme .community-mobile-dock,
.community-theme .p-nav-inner > .community-language, .community-theme .p-nav .p-nav-smallLogo,
.community-theme .p-nav .p-nav-menuTrigger { display: none; }

.community-theme .community-banner {
  display: grid; position: relative; isolation: isolate; width: 100%; max-width: none;
  height: clamp(228px,28.5vw,455px); margin: 0; overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 44px 44px; background: #0c1423;
  box-shadow: 0 12px 24px -15px #000a;
}
.community-theme .community-banner picture { position: absolute; inset: 0; }
.community-theme .community-banner picture img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 21%;
}
.community-theme .community-banner__copy { position: relative; z-index: 1; }
.community-theme .p-footer {
  background: var(--rfc-navigation); color: var(--rfc-white);
  border: 0;
  --rfc-focus: var(--rfc-gold);
}
.community-theme .p-footer-inner { padding-block: 0; }
.community-footbar, .community-footbar__end, .community-footbar__notice, .community-footbar__social ul {
  display: flex; align-items: center;
}
.community-footbar { min-height: 66px; justify-content: space-between; gap: 14px 24px; }
.community-footbar__social ul { list-style: none; padding: 0; margin: 0; gap: clamp(3px, 1vw, 18px); }
.community-footbar__social a {
  display: grid; place-items: center; width: 36px; height: 38px;
  color: var(--rfc-quiet); text-decoration: none; font-size: 20px; line-height: 1;
}
.community-footbar__social svg { width: 18px; height: 18px; }
.community-footbar__social a:is(:hover,:focus-visible) { color: var(--rfc-gold); text-decoration: none; }
.community-footbar__end { gap: clamp(12px, 1.5vw, 26px); }
.community-footbar__notice { gap: 15px; color: var(--rfc-white); font: 400 14px/1.45 system-ui, "Segoe UI", sans-serif; }
.community-footbar__mark { display: block; width: 32px; height: 32px; flex: none; }
.community-footbar__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.community-footbar__more { position: relative; flex: none; }
.community-footbar__more summary {
  display: grid; place-items: center; list-style: none; width: 36px; height: 36px;
  border: 1px solid var(--rfc-selected); background: var(--rfc-mast); border-radius: 8px; cursor: pointer; color: var(--rfc-quiet);
}
.community-footbar__more summary::-webkit-details-marker { display: none; }
.community-footbar__more summary svg { width: 20px; height: 20px; }
.community-footbar__more summary:is(:hover,:focus-visible), .community-footbar__more[open] summary { background: var(--rfc-selected); color: var(--rfc-gold); }
.community-footbar__more summary:focus-visible { outline: 2px solid var(--rfc-focus); outline-offset: 2px; }
.community-theme .community-footbar__more .p-footer-row {
  position: absolute; z-index: 75; inset: auto 0 calc(100% + 8px) auto; width: 190px; margin: 0; padding: 6px;
  border: 1px solid var(--rfc-selected); border-radius: 9px; background: var(--rfc-mast); box-shadow: 0 6px 24px #0006;
}
.community-theme .community-footbar__more .p-footer-row::before, .community-theme .community-footbar__more .p-footer-row::after { display: none; }
.community-theme .community-footbar__more :is(.p-footer-row-main,.p-footer-row-opposite,.p-footer-linkList,.p-footer-linkList li) {
  display: block; float: none; margin: 0; padding: 0;
}
.community-theme .community-footbar__more .p-footer-linkList a {
  display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: var(--rfc-white); background: transparent; border-radius: 4px;
}
.community-theme .community-footbar__more .p-footer-linkList a:is(:hover,:focus-visible) { background: var(--rfc-selected); color: var(--rfc-gold); text-decoration: none; }
.community-theme .community-footbar__more .p-footer-rssLink::after { content: "RSS"; }
@media (max-width: 760px) {
  .community-footbar { flex-direction: column; justify-content: center; padding: 12px 0 15px; gap: 8px; }
  .community-footbar__social { max-width: 100%; }
  .community-footbar__social ul { flex-wrap: wrap; gap: 0; justify-content: center; }
  .community-footbar__social a { width: clamp(28px, 9vw, 40px); height: 37px; font-size: 18px; }
  .community-footbar__end { max-width: 100%; gap: 10px; }
  .community-footbar__notice { gap: 8px; font-size: 12px; }
  .community-footbar__mark { width: 26px; height: 26px; }
  .community-footbar__more summary { width: 30px; height: 30px; }
}
.community-theme .p-footer-copyright { padding-top: 13px; margin-top: 13px; border-top: 1px solid #3a3d43; text-align: center; color: #b8bcc5; font-size: 12px; }
.community-theme :is(.p-nav,.p-footer,.community-mobile-dock,.p-header) :is(a,button):focus-visible {
  outline: 2px solid var(--rfc-focus, #a5c9ff); outline-offset: -2px;
}

@media (min-width:980px) and (max-width:1150px) {
  .community-theme .p-header-logo { flex-basis: 220px; }
  .community-theme .p-header-content { gap: 20px; }
  .community-theme .community-guest-prefix { display: none; }
  .community-theme { --rfc-account: 220px; }
  .community-theme:has(.p-nav-opposite .community-language) { --rfc-account: 314px; }
}

@media (max-width:979px) {
  .community-theme .p-header, .community-theme .p-nav-scroller { display: none; }
  .community-theme .p-nav { background: var(--rfc-mobile); border-bottom: 1px solid #353941; }
  .community-theme .p-nav-inner { justify-content: flex-start; gap: 6px; min-height: 59px; }
  .community-theme .p-nav .p-nav-smallLogo { display: flex; flex: 0 1 auto; align-items: center; margin: 0 auto 0 0; min-width: 0; max-width: min(55vw,200px); padding: 0; }
  .community-theme .p-nav-smallLogo a { padding: 4px 5px; }
  .community-theme .p-nav-smallLogo img { width: 190px; height: auto; max-width: 100%; max-height: 42px; }
  .community-theme .p-nav-inner > .community-language, .community-theme .community-mobile-login { display: inline-flex; }
  .community-theme .community-mobile-login { min-height: 37px; border-radius: 5px; padding: 6px 10px; background: #383d45; border: 0; white-space: nowrap; max-width: 25vw; overflow: hidden; }
  .community-theme .p-nav .p-nav-menuTrigger { display: inline-flex; align-items: center; justify-content: center; min-width: 37px; min-height: 37px; padding: 0; color: white; }
  .community-theme .p-nav-opposite { position: static; height: auto; max-width: none; gap: 0; }
  .community-theme .p-nav-opposite .p-account { gap: 2px; }
  .community-theme:has(.community-mobile-dock) .p-nav-opposite,
  .community-theme:has(.community-mobile-dock) .p-nav .p-nav-menuTrigger { display: none; }
  .community-theme .community-mobile-dock {
    position: fixed; inset: auto 0 0; z-index: 70; display: flex; align-items: stretch; justify-content: space-around;
    min-height: calc(55px + env(safe-area-inset-bottom)); padding: 0 max(3px,env(safe-area-inset-right)) env(safe-area-inset-bottom) max(3px,env(safe-area-inset-left));
    background: #292e34; border-top: 1px solid #4b5057; box-shadow: 0 -1px 3px #0002;
  }
  .community-theme .community-mobile-dock__item {
    display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
    min-height: 50px; border: 0; padding: 4px 2px; background: transparent;
    color: #c8cbd0; font: 500 10px/1.15 system-ui,sans-serif; text-align: center; text-decoration: none;
  }
  .community-theme .community-mobile-dock__item :is(i,svg) { font-size: 19px; }
  .community-theme .community-mobile-dock__item:is(:hover,:focus-visible) { color: white; background: #383d46; }
  .community-theme:has(.community-mobile-dock) .p-footer { padding-bottom: calc(55px + env(safe-area-inset-bottom)); }
}
@media (max-width:767px) {
  .community-theme .community-banner { height: clamp(200px,52vw,320px); border-radius: 0 0 50% 50% / 0 0 26px 26px; }
}
