/*! Modern CSS - Replaces Spry Framework and old grid system */

/* Flexbox-based layout system */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* FFHomeCal landing-page theme: a calm, readable summer landscape. */
body {
  margin: 0;
  color: #173b2a;
  background: #dcefdc url('/image/summer-countryside-green.png') center top / cover fixed no-repeat;
  font-family: Arial, Helvetica, sans-serif;
}

.content,
.sidebar,
.footer {
  background: rgba(242, 251, 239, 0.93);
}

.content {
  padding: 1.5rem 0;
}

.content h1,
.content h2,
.sidebar h2 {
  color: #174f32;
}

.content a,
.sidebar a,
.footer a {
  color: #145f3b;
}

.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Header banner: match legacy .shtml visuals */
.header {
  background-image: url(/image/backgrounds/cur/banner_bkgd.jpg);
  background-repeat: repeat-x;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  background: #f2fbef;
  box-shadow: 0 2px 8px rgba(23, 59, 42, 0.25);
}

.site-topbar .header,
.site-topbar .header .container {
  background-color: transparent;
  background-image: none;
}

/* The complete page panel is opaque; the landscape remains visible outside it. */
body .gridContainer.clearfix {
  background: #f2fbef !important;
  background-image: none !important;
}

.header .container {
  background-image: url(/image/backgrounds/cur/banner_bkgd.jpg);
  background-repeat: repeat-x;
}

/* Banner navigation - right align the text */
.bannernav {
  text-align: right;
  float: right;
  padding-top: 20px;
  color: #112c4c;
  font-size: 10px;
  font-family: Arial, Helvetica, Verdana, sans-serif;
}

.bannernav a {
  color: #ffffff;
  text-decoration: none;
}

.bannernav a:visited {
  color: #ffffff;
}

.bannernav a:hover {
  color: #112c4c;
  text-decoration: none;
}

/* Modern Navigation Menu */
nav, .menu, .menu .container, nav .container {
  background-color: #cccccc;
  background-image: url(/image/backgrounds/cur/topnav_bkgd.jpg);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  padding: 0;
}

nav,
.menu,
nav .container,
.menu .container {
  width: 100%;
  box-sizing: border-box;
}

/* Match the menu container background to the header container */
.menu .container {
  background-image: url(/image/backgrounds/cur/banner_bkgd.jpg);
  background-repeat: repeat-x;
}

/* Ensure all nav/menu child divs and spans also have the topnav background */
nav div, nav span,
.menu div, .menu span,
nav .container div, nav .container span,
.menu .container div, .menu .container span {
  background-image: url(/image/backgrounds/cur/topnav_bkgd.jpg);
  background-repeat: repeat-x;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

/* Support menus wrapped in a .container inside <nav> or legacy .menu structure (legacy .html/.shtml files) */
nav .container > ul,
.menu .container > ul,
.menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

nav > ul > li,
nav .container > ul > li,
.menu > ul > li,
.menu .container > ul > li {
  position: relative;
  flex: 0 1 auto;
}

/* Keep the final About/Über menu item at the far right. */
.menu .container > ul { width: 100%; display: flex; }
nav.menu .container { position: relative; }
nav.menu .container > ul > li:last-child { position: absolute; right: 0; top: 0; margin-left: 0 !important; }

nav > ul > li > a,
nav .container > ul > li > a,
.menu > ul > li > a,
.menu .container > ul > li > a {
  display: block;
  padding: 0.375rem 0 0.375rem 0;
  color: #ffffff;
  text-decoration: none;
  background-image: url(/image/backgrounds/cur/menu_bar_sub_item.jpg);
  background-repeat: repeat;
  border-right: 1px solid #ffffff;
  transition: background-color 0.3s ease;
  line-height: 1.4em;
  text-align: center;
  width: 8.2em;
}

nav > ul > li:first-child > a,
nav .container > ul > li:first-child > a,
.menu > ul > li:first-child > a,
.menu .container > ul > li:first-child > a {
  border-left: none;
}

nav > ul > li > a:hover,
nav > ul > li > a.active,
nav .container > ul > li > a:hover,
nav .container > ul > li > a.active,
.menu > ul > li > a:hover,
.menu > ul > li > a.active,
.menu .container > ul > li > a:hover,
.menu .container > ul > li > a.active {
  /* Use the image used by legacy Spry styles for hover to match .shtml look */
  background-image: url(/image/backgrounds/cur/menu_bar_item_hover.jpg);
  background-repeat: repeat;
  color: #ffffff;
}

/* Dropdown submenu */
nav ul ul,
.menu ul ul {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 200px;
  flex-direction: column;
  background-color: #cccccc;
  background-image: url(/image/backgrounds/cur/topnav_bkgd.jpg);
  background-repeat: repeat;
  border: 1px solid #cccccc;
  display: none;
  z-index: 1000;
}

nav > ul > li:hover > ul,
nav > ul > li.open > ul,
nav .container > ul > li:hover > ul,
nav .container > ul > li.open > ul,
.menu > ul > li:hover > ul,
.menu > ul > li.open > ul,
.menu .container > ul > li:hover > ul,
.menu .container > ul > li.open > ul {
  display: flex;
}

nav ul ul li,
.menu ul ul li {
  flex: 1 100%;
}

nav ul ul li a,
.menu ul ul li a {
  display: block;
  padding: 6px 12px 6px 5px;
  color: #ffffff;
  text-decoration: none;
  background-image: url(/image/backgrounds/cur/menu_bar_sub_item.jpg);
  background-repeat: repeat;
  border: 1px solid #cccccc;
  border-top: none;
  transition: background 0.3s ease;
  line-height: 1em;
  text-align: left;
  width: auto;
  font-weight: bold;
  font-size: 12px;
}

nav ul ul li:first-child a,
.menu ul ul li:first-child a {
  border-top: 1px solid #cccccc;
}

nav ul ul li a:hover,
nav ul ul li a.active,
.menu ul ul li a:hover,
.menu ul ul li a.active {
  /* Match main menu hover: use hover background image and keep text white */
  background-image: url(/image/backgrounds/cur/menu_bar_item_hover.jpg);
  background-repeat: repeat;
  color: #ffffff;
}

/* Responsive menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
}

@media (max-width: 768px) {
  /* Keep menu horizontal with flex-wrap, do NOT change to column */
  nav > ul,
  nav .container > ul,
  .menu > ul,
  .menu .container > ul {
    flex-direction: row;
    flex-wrap: wrap;
  }

  nav > ul > li > a,
  nav .container > ul > li > a,
  .menu > ul > li > a,
  .menu .container > ul > li > a {
    border-right: 1px solid #ffffff;
    border-bottom: none;
  }

  nav > ul > li:last-child > a,
  nav .container > ul > li:last-child > a,
  .menu > ul > li:last-child > a,
  .menu .container > ul > li:last-child > a {
    border-bottom: none;
  }

  /* Submenus always overlay (position: absolute), never inline (position: static) */
  nav ul ul,
  .menu ul ul {
    position: absolute;
    display: none;
  }

  nav > ul > li.open > ul,
  nav .container > ul > li.open > ul,
  .menu > ul > li.open > ul,
  .menu .container > ul > li.open > ul {
    display: flex;
  }

  nav > ul > li.open > ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* Modern Carousel - match FlexSlider visuals and center images */
.carousel {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: clamp(240px, 60vh, 60vh);
  overflow: hidden;
  /* Use same textured background as FlexSlider */
  background-image: url(/image/backgrounds/cur/second_bgkd.jpg);
  background-repeat: repeat;
}

@media (max-width: 768px) {
  .carousel {
    height: clamp(200px, 40vh, 40vh);
  }
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.6rem;
  pointer-events: none;
  z-index: 90;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.carousel-nav.is-hidden {
  opacity: 0;
}

.carousel-arrow {
  pointer-events: auto;
  width: 2.2rem;
  height: 2.2rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: #2a1c11;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.carousel-arrow:focus-visible {
  outline: 2px solid rgba(42, 28, 17, 0.8);
  outline-offset: 2px;
}

.info-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(25.2%, 238px);
  text-align: center;
  z-index: 3;
  color: #2a1c11;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 3.6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 1px 0 rgba(255, 248, 236, 0.7);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 768px) {
  .info-overlay {
    width: min(32.2%, 196px);
    font-size: clamp(1.2rem, 4.8vw, 2.2rem);
  }
}

.carousel-slides {
  /* ensure slides area uses the same background */
  background-image: url(/image/backgrounds/cur/second_bgkd.jpg);
  background-repeat: repeat;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  display: none;
  /* keep inline centering fallback */
  text-align: center;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
}

.carousel-item img,
.carousel-item video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto; /* center horizontally like FlexSlider */
  -webkit-user-drag: none;
  user-select: none;
}

/* Carousel caption with transparent background */
.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-align: center;
  padding: 8px 12px;
  margin: 0;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
  max-width: 90%;
}

.error-art {
  position: relative;
  margin: 2rem auto 0;
  max-width: 960px;
}

.error-art img {
  display: block;
  width: 100%;
  height: auto;
}

.error-art .error-code {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(25, 25, 25, 0.88);
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.55);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
  user-select: none;
}

.error-home-link {
  text-align: center;
  color: #ffffff;
  margin: 0.75rem 0 1.25rem;
}

.error-message {
  text-align: center;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.carousel-item.active {
  display: flex;
  width: 100%;
  height: 100%;
  animation: fadeIn 0.5s ease-in-out;
}

.carousel-item.active img {
  margin: 0 auto;
}

.carousel-item.active video {
  width: auto;
  height: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 100;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: rgba(255, 255, 255, 0.9);
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .carousel-nav {
    padding: 0 0.35rem;
  }

  .carousel-arrow {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.25rem;
  }
}

/* Clock Display */
#clock {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: right;
  padding: 0.5rem;
  min-width: 100px;
}

/* Responsive Grid */
.grid {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-col-2 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

@media (max-width: 768px) {
  .grid,
  .grid-col-2 {
    grid-template-columns: 1fr;
  }
}

/* Typography improvements */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  /* Apply legacy background so .html pages match .shtml visuals */
  background-image: url(/image/backgrounds/cur/main_bgkd.jpg);
  background-repeat: repeat;
}

/* Ensure wrapper and sidebars show the same textured background as .shtml (do not paint them white) */
/* High-specificity overrides to match .shtml: force transparency so body texture shows through */
body .gridContainer.clearfix,
body .gridContainer.clearfix .container,
.gridContainer.clearfix,
.gridContainer.clearfix .container,
.gridContainer.clearfix.container,
#Page .gridContainer.clearfix .container {
  background: transparent !important;
  background-image: none !important;
}

/* Main layout */
.gridContainer.clearfix,
.gridContainer {
  margin-left: auto;
  margin-right: auto;
  width: 98.1818%;
  padding-left: 0.909%;
  padding-right: 0.909%;
  flex: 1 0 auto;
}

#header,
#Header,
.header {
  width: 100%;
  float: left;
  clear: both;
}

#menu,
#Menu,
.menu,
nav {
  width: 100%;
  float: left;
  clear: both;
}

#content,
#Content,
.content {
  width: 100%;
  float: left;
  min-width: 0;
  clear: both;
  box-sizing: border-box;
}

#Content p,
.content p,
#Content li,
.content li,
#Content span,
.content span {
  font-size: 1.1rem;
}

#sidebar,
#Sidebar,
.sidebar {
  width: 100%;
  float: left;
  clear: both;
}

#sidebar2,
#Sidebar2,
.sidebar2 {
  width: 100%;
  float: left;
  clear: both;
}

#footer,
#Footer,
.footer {
  width: 100%;
  float: left;
  clear: both;
}

#Sidebar,
#Sidebar2,
.sidebar,
.sidebar2 {
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
}

/* Sidebar2 fills the part of the right column left below Sidebar. */
#Sidebar2,
#Sidebar2 .container {
  background: #f2fbef !important;
}

#Sidebar2 {
  border-bottom: 0;
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

@media only screen and (min-width: 769px) {
  .page-main-layout {
    display: grid;
    clear: both;
    width: 100%;
    background: rgba(242, 251, 239, 0.93);
    grid-template-columns: minmax(0, 68fr) minmax(0, 31fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 0.8%;
    align-items: stretch;
  }

  .page-main-layout > #Content {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    float: none;
  }

  .page-main-layout > .sidebar-rail {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    min-height: 0;
    margin-left: 0;
    background: rgba(242, 251, 239, 0.93);
  }

  .sidebar-sticky {
    position: sticky;
    top: calc(var(--site-topbar-height, 0px) + 8px);
  }

  .sidebar-sticky > #Sidebar,
  .sidebar-sticky > #Sidebar2 {
    width: 100%;
    height: auto;
    margin-left: 0;
    float: none;
  }
}

@media only screen and (max-width: 768px) {
  .page-main-layout {
    display: block;
    clear: both;
    width: 100%;
    background: rgba(242, 251, 239, 0.93);
  }

  .page-main-layout > #Content,
  .sidebar-rail,
  .sidebar-sticky > #Sidebar,
  .sidebar-sticky > #Sidebar2 {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-left: 0;
    float: none;
    clear: both;
  }

  .sidebar-rail {
    background: rgba(242, 251, 239, 0.93);
  }

  .sidebar-sticky,
  .sidebar-sticky > #Sidebar2 {
    position: static;
    overflow: visible;
  }
}

.sidebar,
.sidebar2 {
  z-index: 30;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border-bottom: 1px dotted rgb(102,51,0);
}

.sidebar .container,
.sidebar2 .container,
#Sidebar .container,
#sidebar .container,
#Sidebar2 .container,
#sidebar2 .container {
  padding-top: 10px;
  padding-left: 10px;
  width: auto;
}

@media only screen and (min-width: 481px) {
  .gridContainer.clearfix,
  .gridContainer {
    width: 93.9204%;
    padding-left: 0.5397%;
    padding-right: 0.5397%;
  }

  #Content,
  .content {
    clear: both;
    float: left;
    width: 62.0689%;
  }

  #Sidebar,
  #Sidebar2,
  .sidebar,
  .sidebar2 {
    clear: none;
    float: right;
    width: 36.7816%;
    margin-left: 1.1494%;
  }

  .content .container {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: rgb(102,51,0);
    border-bottom-style: none;
  }

  .sidebar,
  .sidebar2 {
    border-top-style: none;
    border-right-style: none;
  }
}

@media only screen and (min-width: 769px) {
  .gridContainer.clearfix {
    width: 96%;
    max-width: 1600px;
    padding-left: 0.3598%;
    padding-right: 0.3598%;
    margin-left: auto;
    margin-right: auto;
  }

  #Content,
  .content {
    clear: both;
    float: left;
    width: 68%;
  }

  #Sidebar,
  #Sidebar2,
  .sidebar,
  .sidebar2 {
    clear: none;
    float: right;
    width: 31%;
    margin-left: 0.8%;
  }

  .content .container {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: rgb(102,51,0);
    border-bottom-style: none;
  }

  .sidebar,
  .sidebar2 {
    border-top-style: none;
    border-right-style: none;
  }

  .sidebar {
    border-bottom: 1px dotted rgb(102,51,0);
  }
}

@media only screen and (max-width: 480px) {
  #Content,
  .content,
  #Sidebar,
  #Sidebar2,
  .sidebar,
  .sidebar2 {
    width: 100%;
    clear: both;
    float: left;
    margin-left: 0;
  }
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  color: #ffffff;
}

h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.1875rem 0 1.5625rem 0;
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 0.9375rem 0;
}

h3 {
  font-size: 1rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

h4 {
  font-size: 0.8rem;
}

/* Images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Sticky footer: ensure footer sits at bottom when page content is short */
html, body {
  height: 100%;
}

/* Use flex layout so the footer is pushed to the bottom when content is short */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* The main page wrapper should expand to fill available space between header and footer */
.gridContainer.clearfix {
  flex: 1 0 auto;
}

/* Common content containers — let them grow to fill vertical space */
main, #Content, .content, .main-content {
  flex: 1 0 auto;
}

/* Keep landing-page copy readable over the summer landscape. */
body {
  color: #173b2a;
  background-color: #dcefdc;
  background-image: url('/image/summer-countryside-green.png');
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

#Content,
#Sidebar,
#Sidebar2,
.footer {
  color: #000000;
  background: rgba(242, 251, 239, 0.93);
}

.security-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}

.security-step {
  position: relative;
  padding: 1rem;
  color: #000000;
  background: rgba(220, 239, 220, 0.92);
  border: 1px solid #8bb58f;
  border-radius: 0.4rem;
}

.security-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  color: #ffffff;
  background: #27653d;
  font-weight: bold;
}

.security-step-heading {
  display: flex !important;
  flex-direction: row;
  align-items: center !important;
  gap: 0.55rem;
}

.security-step h3 {
  display: block;
  align-self: center;
  margin: 0 0 0.35rem !important;
  line-height: 1.2;
  color: #000000;
  font-size: 1.05rem;
}

.security-step p { margin: 0; }

.security-actor-flow { grid-template-columns: 1fr; }

.actor-route {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) auto minmax(70px, 0.8fr) auto minmax(75px, 0.9fr) auto minmax(170px, 2fr);
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.65rem;
  font-size: 0.9rem;
}

.actor-route > div { padding: 0.45rem; text-align: center; background: #f4fbf1; border: 1px solid #8bb58f; border-radius: 0.25rem; }
.actor-route > b { color: #27653d; font-size: 1.25rem; }
.actor-route .actor-process { text-align: left; background: #d2ead6; }
.actor-response { margin-top: 0.35rem; }

@media (max-width: 768px) {
  .actor-route { grid-template-columns: 1fr; }
  .actor-route > b { transform: rotate(90deg); text-align: center; }
}

.crypto-flow {
  margin: 1rem 0 2rem;
  padding: 1rem;
  color: #000000;
  background: rgba(242, 251, 239, 0.93);
  border: 1px solid #8bb58f;
  border-radius: 0.4rem;
}

.crypto-lane,
.crypto-branches {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.55rem;
}

.crypto-node,
.crypto-branch {
  flex: 1 1 0;
  padding: 0.8rem;
  background: #e1f1e1;
  border: 1px solid #8bb58f;
  border-radius: 0.35rem;
}

.crypto-node strong,
.crypto-branch strong,
.crypto-node small,
.crypto-branch span { display: block; }
.crypto-node small,
.crypto-branch span { margin-top: 0.35rem; line-height: 1.35; }
.crypto-protected { background: #d2ead6; }
.crypto-backend { background: #c4e0ca; }
.crypto-arrow { align-self: center; color: #27653d; font-size: 1.6rem; font-weight: bold; }
.crypto-branches { margin-top: 0.8rem; }
.crypto-branch { background: #f0f8ed; }

@media (max-width: 768px) {
  .crypto-lane { flex-direction: column; }
  .crypto-arrow { transform: rotate(90deg); }
  .crypto-branches { flex-direction: column; }
}

@media (max-width: 768px) {
  .security-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .security-flow { grid-template-columns: 1fr; }
}

#Sidebar,
#Sidebar2,
#Sidebar .container,
#Sidebar2 .container,
.sidebar,
.sidebar2,
.sidebar .container,
.sidebar2 .container {
  color: #000000;
  background: rgba(242, 251, 239, 0.93) !important;
}

/* Ensure all text on the public SSI pages remains visible on light panels. */
#Content,
#Content h1,
#Content h2,
#Content h3,
#Content p,
#Content li,
#Sidebar,
#Sidebar h1,
#Sidebar h2,
#Sidebar p,
#Sidebar2,
#Sidebar2 h1,
#Sidebar2 h2,
#Sidebar2 p,
.footer,
.footer p {
  color: #000000;
}

/* Footer should not shrink and should sit at the bottom */
footer, #Footer, .footer, #footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* FAQ accordion: question and answer use the same font size. */
.support-faq details {
  margin: 0.65rem 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c9dcc9;
  border-radius: 0.5rem;
  background: #f7fbf5;
  font-size: 1rem !important;
  font-weight: 400;
}

#Content .support-faq summary {
  cursor: pointer;
  color: #205c36;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

#Content .support-faq details p,
#Content .support-faq details li {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .object-creation-image-cell {
    display: none !important;
  }
  .object-creation-help td:last-child {
    width: 100% !important;
  }
}
