@font-face {
    font-family: 'otfont';
    src: url(/fonts/logo/OTFont.woff2);
}


@font-face {
  font-family: 'ot_hadassah';
  src: url('/fonts/hadassah/OT%20Hadasah-VF.ttf') format('truetype-variations');
  
  /* Specify the range of weights the font supports */
  /* Example: 100 to 900. Use 'normal' if it's not a weight-variable font */
  font-weight: 100 900; 
  
  /* If it has a slant/italic axis, define that range too */
}

@font-face {
    font-family: 'vilna';
        src: url('https://otfiles.netlify.app/file/OT Vilna-VF.ttf');
}

* {
    box-sizing: border-box;
}


:root {
    --main-txt: #c57702;
    --main-light: #007a7a;
    --main-mid: #3685B5;
    --main-midmid: #0471A6;
    --main-middark: #102B3F;
    --main-dark: #062726;
    --body-bgcolor:#0f253a;
    /* rgb(15 23 42 / 1)#102B3F */
    --body-color: #ebd9c8;
    --container-bg: linear-gradient(147deg, rgb(0 0 0 / 20%), rgb(0 0 0 / 40%));
    --input-bg: #ffffff0f;
    --sans101-font: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    --element-font: 'Quicksand', 'Montserrat', 'Lexend';

}

html[lang="he"]:root {
      --sans101-font: 'rubik', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;

}

 html {
        scroll-behavior: smooth;
    }



body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background: var(--body-bgcolor);
    color: var(--body-color);
    opacity: 1;
    transition: opacity 0.8s ease; /* Fade in effect */
    overflow-x: hidden;
}

p {font-family:inherit}



.a-app {
  min-height: 100vh;
  display: flex;
}

* { box-sizing: border-box; }


.a-frame {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.OTF_Favicon {
  width: 30px;
  height: 30px;
  
}

.a-topbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(10, 36, 54, 0.8);
}

.a-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.a-brand-mark {
  color: var(--main-light);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -2px;
}

.a-brand-name {
  color: #ccdff2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a-topbar-title {
  color: #eefaff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-left: 14px;
}

.a-top-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.a-nav-link {
  color: #c0d8ea;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 13px;
  transition: 220ms ease;
}


.a-nav-link.active {
    border-bottom: 3px solid #ffffff;
}



.a-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.a-topbar-status {
  color: var(--main-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.a-topbar-login {
  color: #071521;
  background: var(--main-light);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
}

.a-progress-wrap {
  display: flex;
  align-items: center;
  padding: 0;
  height: 3px;
  min-height: 3px;
  background: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  margin: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease;
}

.a-progress-wrap.is-loading { opacity: 1; }

.a-progress-track {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.a-progress-wrap:not(.is-loading) .a-progress-track {
  background: transparent;
}

.a-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 0;
  background: #5bd2c3;
  box-shadow: 0 0 8px rgba(91, 210, 195, 0.58);
  transition: width 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.a-progress-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.a-content {
  padding: 44px 56px;
  width: 100%;
}

html[lang="en"] #aSiteFooter .locale-en { display: block !important; }
html[lang="en"] #aSiteFooter .locale-he { display: none !important; }
html[lang="he"] #aSiteFooter .locale-en { display: none !important; }
html[lang="he"] #aSiteFooter .locale-he { display: block !important; }

.a-content.is-route-loading > :not(.a-route-skeleton) {
  visibility: hidden;
  opacity: 0;
}

.a-route-skeleton {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.a-route-skeleton.a-designs-skeleton {
  display: block;
  width: min(1200px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.a-skeleton-hero {
  min-height: 210px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.a-skeleton-line,
.a-skeleton-toolbar span,
.a-skeleton-card,
.a-skeleton-card i {
  display: block;
  background-color: rgba(214, 227, 224, 0.92);
  background-image: linear-gradient(100deg, rgba(156, 180, 176, 0.3) 20%, rgba(255, 255, 255, 0.96) 42%, rgba(156, 180, 176, 0.3) 64%);
  background-size: 220% 100%;
  animation: a-skeleton-shimmer 1.5s ease-in-out infinite;
}

.a-skeleton-line { height: 12px; border-radius: 6px; }
.a-skeleton-kicker { width: 105px; height: 9px; }
.a-skeleton-title { width: min(420px, 75%); height: 38px; }
.a-skeleton-copy { width: min(510px, 90%); }

.a-skeleton-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.a-skeleton-toolbar span { height: 44px; border-radius: 8px; }

.a-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.a-skeleton-card {
  aspect-ratio: 1.45;
  min-width: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  border-radius: 8px;
}

.a-skeleton-card i { width: 72%; height: 10px; border-radius: 5px; }
.a-skeleton-card i + i { width: 44%; height: 7px; }

.a-route-reveal { opacity: 0; transform: translateY(12px); }

.a-content.is-route-ready > .a-route-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--a-reveal-index, 0) * 55ms);
}

.a-route-load-error {
  width: min(700px, 100%);
  margin: 30px auto;
  color: #ffd2c7;
}

@keyframes a-skeleton-shimmer {
  to { background-position-x: -220%; }
}

@media (max-width: 720px) {
  .a-content { padding: 28px 18px; }
  .a-skeleton-hero { min-height: 170px; padding: 24px; }
  .a-skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .a-skeleton-toolbar { gap: 8px; }
  .a-skeleton-toolbar span { height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .a-skeleton-line,
  .a-skeleton-toolbar span,
  .a-skeleton-card,
  .a-skeleton-card i { animation: none; }
  .a-route-reveal,
  .a-content.is-route-ready > .a-route-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



body:not(:has(nav .nav-subrow.show)) main.a-content {
    padding-top: 100px !important;
    transition: 0.2s;
    transition-delay: 0.1s;
}

body:has(nav .nav-subrow) main.a-content {
    padding-top: 140px !important;
    transition: 0.2s;
    transition-delay: 0.1s;
}

.a-hero {
  width: min(900px, 100%);
}

.a-hero-copy {
  min-width: 0;
}

.a-eyebrow {
  color: var(--main-light);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.a-hero h1 {
  font-size: clamp(48px, 4vw, 72px);
  margin: 16px 0 14px;
  color: #fff;
  line-height: 1.1;
}

.a-lede {
  color: #b8d5ee;
  font-size: 18px;
  line-height: 1.8;
}

.a-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}

.a-button {
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.a-button-primary {
  color: #051320;
  background: var(--main-light);
}

.a-button-ghost {
  color: #eefaff;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
}

.a-resource-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.a-resource-card {
  border-radius: 16px;
  padding: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.a-resource-tag {
  color: var(--main-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.a-resource-card h3 {
  color: #fff;
  font-size: 22px;
  margin: 13px 0 8px;
}

.a-resource-card p {
  color: #b8d5ee;
  font-size: 13px;
  margin: 0;
}

.a-panel-list {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  color: #b8d5ee;
}

.a-panel-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.a-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--main-light);
  display: inline-block;
}

.a-home-page {
  width: min(1180px, 100%);
  margin: 0 auto;
}

body.a-index-route .navsearch {
  display: none;
}

.a-home-welcome {
  position: relative;
    min-height: 360px;
    align-items: center;
    display: flex;
    gap: 24px;
    padding: 72px 50px;
        padding-top: 40px;
    border-radius: 24px;
    overflow: visible;
    background: var(--input-bg);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    justify-content: center;
    max-width: 1160px;
    margin-inline: auto;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%);
}

.a-home-eyebrow,
.a-home-status,
.a-showcase-kicker {
  color: var(--main-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a-home-eyebrow { margin: 0 0 10px; }

.a-home-welcome h1 {
  color: #eefaff;
  font-family: var(--element-font);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.05;
  margin: 0;
}

.a-home-supporting {
  color: #b8d5ee;
  font-size: 14px;
  margin: 12px 0 0;
}

.a-home-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  white-space: nowrap;
}

.a-home-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c57702;
  box-shadow: 0 0 0 4px rgba(197, 119, 2, 0.14);
}

.a-home-control-search {
  position: absolute;
  right: 12%;
  bottom: -25px;
  left: 12%;
  z-index: 2;
}

.a-home-search-field {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  background: rgba(7, 21, 33, 0.562);
  transition: border-color 180ms ease, background 180ms ease;
}

.a-home-search-field:focus-within {
  border-bottom-color: var(--main-light);
  background: rgba(7, 21, 33, 0.733);
}

.a-home-search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 0;
  background: transparent;
  color: var(--main-light);
  cursor: pointer;
}

.a-home-search-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.a-home-search-button:focus-visible {
  outline: 2px solid #c57702;
  outline-offset: -4px;
}

.a-home-control-search .a-home-search {
  min-height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  padding-inline: 0 16px;
}

.a-home-control-search .a-home-search:focus {
  border: 0;
  outline: 0;
}

.a-home-toolband {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 76px 0 28px;
    height: 50px;
    justify-content: space-between;
    align-items: stretch;
}

.a-home-control { min-width: 0; }
.a-home-toolband .a-home-control {height: 100%;}
.a-home-label { display: block; margin-bottom: 7px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.a-home-search,
.a-home-sort,
.a-home-preview {
  width: 100%;
  min-width: 0;
  border-radius: 20px;
  border: 1px solid rgba(146, 247, 255, 0.18);
  font: 14px var(--element-font);
  min-height: 42px;
  background: rgba(4,15,25,0.7);
  color: #eefaff;
  padding: 10px 14px;
}



.a-home-search:focus,
.a-home-sort:focus,
.a-home-preview:focus {
  border-color: var(--main-light);
  outline: 2px solid rgba(146, 247, 255, 0.18);
  outline-offset: 2px;
}

.a-home-view-control { justify-self: end; }

.a-home-view-toggle {
  display: flex;
  border-radius: 15px;
  overflow: hidden;
}

.a-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 48px;
  border: 0;
  background: rgba(4, 15, 25, 0.72);
  color: #b8d5ee;
  cursor: pointer;
  padding: 0 12px;
  opacity: 0.5;
  transition: 180ms ease;
}

.a-view-button:not(.active):hover { opacity: 0.8; }

.a-view-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.a-view-button:last-child { border-right: 0; }
.a-view-button.active { background: var(--input-bg); color: var(--body-color); font-weight: 800;    opacity: 1; }
.a-view-button:focus-visible { outline: 2px solid #c57702; outline-offset: -3px; }

.font-list.is-showcase {
  display: block;
  max-width: 1180px;
}

.font-list:not(.is-showcase) .font-item {
  border-radius: 20px;
  transition: 0.2s cubic-bezier(0.28, 0.03, 0, 0.55);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;

}

.font-list:not(.is-showcase) .font-item:hover {
  transform: scale(1.05);
  z-index: 3;
}

.font-list:not(.is-showcase) .font-tile {
  height: 220px;
  border-radius: 20px 20px 0 0;
  background-size: 100%;
  transition: transform 0.3s, box-shadow 0.3s, background-size 0.6s, color 0.3s;
}

.font-list:not(.is-showcase) .font-item:hover .font-tile {
  background-size: 110%;
}

.font-list:not(.is-showcase) .font-name {
  margin-top: 10px;
  margin-bottom: 8px;
}

.font-list:not(.is-showcase) .font-info {
  border-radius: 0 0 20px 20px;
}

.a-showcase-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition:  220ms ease;
}

.a-showcase-item:hover { background: rgba(146,247,255,0.045); }

.a-showcase-link {
  display: flex;
    align-items: center;
    flex-direction: row;
    gap: 28px;
    min-height: 142px;
    padding: 18px 10px;
    direction: rtl;
}

.a-showcase-meta {
  display: flex;
  flex: 0 0 125px;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  text-align: right;
  padding-inline-start: 10px;
}

.a-showcase-meta strong { color: #eefaff; font: 22px var(--element-font); }
.a-showcase-meta small { color: #b8d5ee; font-size: 11px; }

.a-showcase-sample-separator {
  color: rgba(146, 247, 255, 0.5);
  font-size: 24px;
}

.a-showcase-link .font-preview-name,
.a-showcase-link .font-preview-sample {
  display: inline;
}

.a-showcase-link .font-preview {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.62);
    direction: rtl;
    font-size: clamp(48px, 8vw, 104px);
    line-height: 1.6;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
    transition: color 220ms ease, transform 220ms ease;
    display: flex;
    align-content: center;
    align-items: center;
    flex-direction: row;
    gap:20px;
}

.a-showcase-link:hover .font-preview { color: #eefaff; transform: translateX(-8px); }

.a-home-hero {
  padding-bottom: 30px;
}

.a-home-copy {
  padding: 8px 0;
      display: flex;
    flex-direction: column;
    align-items: center;
}

.a-home-copy h1 {
  font-size: clamp(50px, 4vw, 72px);
  color: #eefaff;
  margin: 16px 0 14px;
  line-height: 1.12;
  font-family: var(--element-font);
    font-weight: 100;
}

.a-home-copy .a-lede {
  max-width: 720px;
  text-align: center;
}

.a-home-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
justify-content: center;
}

.a-home-panel {
  min-height: 280px;
  background: rgba(255,255,255,0.05);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
  box-shadow: 0 24px 80pxrgba(0,0,0,0.34);
}

.a-home-panel .a-panel-title {
  color: var(--main-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.a-home-panel .a-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.a-home-panel .a-panel-grid span {
  display: block;
  height: 44px;
  border-radius: 10px;
  background: rgba(146, 247, 255, 0.08);
  border: 1px solid rgba(146,247,255,0.2);
}

.a-home-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin-top: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

.a-home-toolbar-left,
.a-home-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.a-home-label {
  color: #b8d5ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


.a-home-search {
  min-width: min(360px, 28vw);
}

.a-home-preview {
  min-width: min(260px, 16vw);
}

.a-home-sort {
  min-width: 156px;
  cursor: pointer;
  height:100%;
    border: 1px solid rgb(7 22 35);
    border-inline-end-width: 10px;
   
}


.a-home-toolbar-left {
  flex-wrap: wrap;
}

.a-home-toolbar-left .a-home-label,
.a-home-toolbar-right .a-home-label {
  white-space: nowrap;
}


@media (max-width: 820px) {
  .a-app { flex-direction: column; }
  .a-sidebar { width: 100%; }
  .a-content { padding: 30px 20px; }
  .a-hero { grid-template-columns: 1fr; }
  .a-resource-list { grid-template-columns: 1fr; }
  .a-home-toolbar { flex-wrap: wrap; }
  .a-home-search { min-width: 220px; }
  .a-home-toolband {
    display: grid;
    height: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "sort view" "preview preview";
    align-items: center;
    justify-content: stretch;
    margin: 24px 0 28px;
  }
  .a-home-toolband > .a-home-control:first-child { grid-area: sort; }
  .a-home-toolband > .a-home-control-preview { grid-area: preview; width: 100%; min-width: 0; }
  .a-home-toolband > .a-home-view-control { grid-area: view; justify-self: end; }
  .a-home-sort { width: 100%; min-width: 0; }
  .a-showcase-link { gap: 16px; }
  .a-showcase-meta { flex-basis: 145px; }
}

@media (max-width: 520px) {
  .a-home-welcome { min-height: 0; padding: 28px 18px 48px; }
  .a-home-control-search { right: 4%; left: 4%; }
  .a-home-toolband { gap: 10px; margin: 40px 0 24px; }
  .a-showcase-link { align-items: stretch; flex-direction: column; gap: 10px; min-height: 0; padding: 14px 12px; }
  .a-showcase-meta { align-items: stretch; flex-basis: auto; gap: 4px; padding-inline: 0; text-align: right; }
  .a-showcase-meta strong { font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
  .a-showcase-link .font-preview {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    padding: 4px 0;
    font-size: 60px;
    line-height: 1.35;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .a-showcase-link .font-preview-name,
  .a-showcase-link .a-showcase-sample-separator { display: none; }
}

body.a-body {
  color-scheme: light;
  --a-page: #f3f6f5;
  --a-surface: #ffffff;
  --a-ink: #233638;
  --a-muted: #52696a;
  --a-border: #dce6e3;
  --a-accent: #087b72;
  --a-soft-surface: #edf3f1;
  --main-txt: #9a5b16;
  --main-light: var(--a-accent);
  --main-mid: #397b83;
  --main-midmid: #286f78;
  --main-middark: #24464b;
  --main-dark: #173a3d;
  --body-bgcolor: var(--a-page);
  --body-color: var(--a-ink);
  --container-bg: var(--a-surface);
  --input-bg: var(--a-surface);
  background: var(--a-page);
  color: var(--a-ink);
  font-family: 'Assistant', 'Noto Sans Hebrew', sans-serif;
}


.a-frame .main_nav { position: relative; }

.a-frame nav .a-nav-actions {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 8px;
  margin-inline-start: 10px;
  position: relative;
  z-index: 12;
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.a-frame nav.hide_subrow .a-nav-actions {
  transform: scale(1.04);
}

.a-frame nav .a-nav-actions .a-header-controls {
  margin: 0;
}

.a-mobile-search-slot:empty,
.a-mobile-settings-slot:empty {
  display: none;
}

.a-frame nav .enlogo {
    appearance: none;
    -webkit-appearance: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font-size: 0;
    line-height: 0;
    direction: ltr;
    width: 40px;
    min-width: 40px;
    height: 34px;
}
.a-frame nav .enlogo:hover {
  width: 48px;
    min-width: 48px;
}

.a-frame nav .enlogo:focus-visible {
  outline: 2px solid var(--main-light);
  outline-offset: 2px;
}

.a-frame nav .enlogo .line {
  stroke-dashoffset: 0;
}



.a-frame .nav-wrapper {
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  backdrop-filter: contrast(125%) brightness(145%) blur(1.75rem) saturate(300%);
}

.a-frame .a-feature-bg-image {
  filter: blur(36px);
  transform: scale(1.04);
}

body.a-body .a-frame,
body.a-body .a-content {
  background: transparent;
}

body.a-body .beis-hei { color: #334d4e; }

body.a-body .nav-fade {
  background: linear-gradient(180deg, rgb(243 246 245 / 88%), transparent);
}

body.a-body nav { color: #233638; }

body.a-body nav .nav-wrapper {
  background: rgb(255 255 255 / 48%);
  border: 1px solid var(--a-border);
  box-shadow: 0 8px 26px rgb(31 55 52 / 10%);
  -webkit-backdrop-filter: blur(8px) saturate(125%);
  backdrop-filter: blur(8px) saturate(125%);
}



body.a-body .nav-wrapper::before {
  display: block;
  inset: 0;
  top: 0;
  z-index: 0;
  opacity: 0.1;
  border-radius: inherit;
  background: url('/images/noise.svg') repeat;
  background-size: 180px 180px;
  background-blend-mode: soft-light;
  pointer-events: none;
}

body.a-body nav .main_nav,
body.a-body nav .nav-subrow {
  position: relative;
  z-index: 1;
  background: transparent;
}

body.a-body .a-language-picker,
body.a-body .a-lang-menu {
  z-index: 2147483647;
}

body.a-body nav .nav-subrow {
background: #ffffff6b;
}

.a-frame nav .nav-wrapper:has(.a-language-picker.is-open) {
  z-index: 2147483646;
}

.a-frame nav .main_nav:has(.a-language-picker.is-open) {
  z-index: 2;
}

body.a-body nav .search-bar {
  background: #eef3f1;
  border: 1px solid #dbe5e2;
}

body.a-body nav .search-bar input,
body.a-body nav .search-bar button,
body.a-body nav .search-bar svg {
  color: #31494a;
  fill: #31494a;
}

body.a-body nav .logo,
body.a-body nav .logo-text,
body.a-body nav .enlogo,
body.a-body nav .enlogo svg,
body.a-body nav .enlogo svg line {
  color: #233638;
  stroke: #233638;
}

body.a-body .nav-subrow a,
body.a-body .nav-subrow a.active,
body.a-body .nav-subrow a:hover {
  color: #334d4e;
}

body.a-body .nav-subrow::before { background: #087b72; }

body.a-body .a-home-welcome,
body.a-body .a-home-panel,
body.a-body .a-home-toolbar {
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  box-shadow: 0 10px 32px rgb(31 55 52 / 7%);
}

body.a-body .a-home-welcome h1,
body.a-body .a-home-copy h1,
body.a-body .a-hero h1 {
  color: #203638;
}

body.a-body .a-home-supporting,
body.a-body .a-lede,
body.a-body .a-home-label,
body.a-body .a-panel-list,
body.a-body .a-showcase-meta small {
  color: var(--a-muted);
}

body.a-body .a-home-eyebrow,
body.a-body .a-showcase-kicker,
body.a-body .a-home-panel .a-panel-title {
  color: var(--a-accent);
}

body.a-body .a-home-search-field {
  background: #ffffff;
  border: 1px solid #dbe5e2;
  box-shadow: 0 8px 24px rgb(31 55 52 / 10%);
}


body.a-body .a-home-sort,
body.a-body .a-home-preview,
body.a-body #aMainContent #search-input,
body.a-body #aMainContent #user-name-input,
body.a-body #aMainContent #new-comment-text,
body.a-body #aMainContent .reply-text,
body.a-body #aMainContent .edit-comment-text {
  color: var(--a-ink);
  background: var(--a-surface);
}

body.a-body .a-home-search::placeholder,
body.a-body .a-home-preview::placeholder,
body.a-body #aMainContent #search-input::placeholder {
  color: #718382;
}

body.a-body .a-home-view-toggle { border: 1px solid #d5e0dd; }

body.a-body .a-view-button {
  color: #52696a;
  background: #ffffff;
  opacity: 1;
}

body.a-body .a-view-button.active {
  color: #075f58;
  background: #e4f2ef;
}

body.a-body .font-list:not(.is-showcase) .font-item {
  background: var(--a-surface);
  box-shadow: 0 5px 20px rgb(31 55 52 / 25%);
}

body.a-body .font-list:not(.is-showcase) .font-info {
  color: #30494a;
  background: var(--a-surface);
  opacity: 1;
}

body.a-body .font-info .font-enname,
body.a-body .font-info h3 { color: #52696a; }

body.a-body .a-showcase-item { border-color: #dce6e3; }
body.a-body .a-showcase-item:hover { background: #eaf3f1; }
body.a-body .a-showcase-meta strong { color: #233638; }
body.a-body .a-showcase-link .font-preview { color: #536a6a; }
body.a-body .a-showcase-link:hover .font-preview { color: #203638; }

body.a-body .a-resource-card,
body.a-body #aMainContent .post-card,
body.a-body #aMainContent #single-post-content,
body.a-body #aMainContent .poll-box,
body.a-body #aMainContent .comment-item,
body.a-body #aMainContent #new-comment-box {
  color: #2b4142;
  background: var(--a-surface);
  border: 1px solid var(--a-border);
  box-shadow: 0 5px 20px rgb(31 55 52 / 6%);
}

body.a-body #aMainContent .post-title,
body.a-body #aMainContent .post-title-single,
body.a-body #aMainContent .post-content-single h1,
body.a-body #aMainContent .post-content-single h2,
body.a-body #aMainContent .post-content-single h3 {
  color: #203638;
}

body.a-body #aMainContent .post-preview,
body.a-body #aMainContent .post-tags,
body.a-body #aMainContent .post-tags b,
body.a-body #aMainContent .post-meta-single {
  color: #627675;
}

body.a-body .a-resources-layout .post-title-single {
  background: linear-gradient(0deg, rgb(243 246 245 / 96%) 50%, transparent 100%);
}

body.a-body #aMainContent .post-skeleton-image,
body.a-body #aMainContent .post-skeleton-title,
body.a-body #aMainContent .post-skeleton-meta,
body.a-body #aMainContent .post-skeleton-lines span {
  background: #e5ecea;
}

body.a-body #aMainContent .post-skeleton-image::after,
body.a-body #aMainContent .post-skeleton-title::after,
body.a-body #aMainContent .post-skeleton-meta::after,
body.a-body #aMainContent .post-skeleton-lines span::after {
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 75%), transparent);
}

body.a-body #aMainContent .back-link,
body.a-body #aMainContent .reply-btn,
body.a-body #aMainContent .post-reply-btn,
body.a-body #aMainContent .save-edit-btn,
body.a-body #aMainContent .cancel-edit-btn,
body.a-body #aMainContent #add-comment-btn {
  color: #315455;
  background: #edf3f1;
  border: 1px solid #d7e3df;
}

body.a-body #aMainContent .poll-like,
body.a-body #aMainContent .poll-dislike,
body.a-body #aMainContent .poll-yes,
body.a-body #aMainContent .poll-no {
  color: #365252;
  border-color: #cbd9d6;
}

body.a-body #aMainContent .poll-like svg,
body.a-body #aMainContent .poll-dislike svg { fill: #397b83; }

body.a-body #aMainContent .content {
  color: #2b4142;
}

body.a-body #aMainContent .info-junk {
  border-inline-start-color: #dce6e3;
}

body.a-body #aMainContent .descontainer,
body.a-body #aMainContent #font-buttons,
body.a-body #aMainContent .font-test-container,
body.a-body #aMainContent .feature-row,
body.a-body #aMainContent .license-embed {
  color: #2b4142;
  border-color: #dce6e3;
  box-shadow: 0 5px 22px rgb(31 55 52 / 7%);
}



body.a-body #aMainContent .first-row,
body.a-body #aMainContent .descontainer,
body.a-body #aMainContent .descontent,
body.a-body #aMainContent .feature-row,
body.a-body #aMainContent .font-test-container,
body.a-body #aMainContent .info-junk {
  color: #2b4142;
}

body.a-body #aMainContent .fade-overlay {
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, #a5a5a5 92%);
}

body.a-body #aMainContent .font-test-container .font-test-edit-panel {
  color: #294344;
  background: #e5f0ed;
  border: 1px solid var(--a-border);
  box-shadow: 0 4px 14px rgb(31 55 52 / 10%);
}

body.a-body #aMainContent .font-test-container .font-test-edit-panel .dropdown,
body.a-body #aMainContent .font-test-container .font-test-edit-panel .dropdown-button {
  color: #294344;
}

body.a-body #aMainContent .font-tester {
  color: #24464b;
  background: #eaf0ee;
  border: 1px solid #d7e2df;
}

body.a-body #aMainContent .feature-card {
  color: #294344;
  background: #f4f7f6;
  border: 1px solid #dce6e3;
  box-shadow: 0 2px 8px rgb(31 55 52 / 7%);
}

body.a-body #aMainContent .feature-icon img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(17%) saturate(880%) hue-rotate(135deg) brightness(91%) contrast(90%);
}

body.a-body #aMainContent .feature-card:hover { background: #edf4f2; }
body.a-body #aMainContent .feature-card.fractive { background: #e3f2ee; }
body.a-body #aMainContent .feature-card.fractive-reverse { background: #fbefed; }
body.a-body #aMainContent .feature-title { color: #233638; }
body.a-body #aMainContent .feature-desc { color: #5a7070; }

body.a-body #aMainContent .sample-card {
  background: var(--a-surface);
  border-color: var(--a-border);
  box-shadow: 0 4px 16px rgb(31 55 52 / 5%);
}

body.a-body #aMainContent .sample-card .sample-text-div { color: #294344; }
body.a-body #aMainContent .sample-card:has(.sample-text-div:focus-visible) { border-color: #087b72; }

body.a-body #aMainContent .glyph-cell {
  color: #294344;
  background: #edf3f1;
  border: 1px solid #dce6e3;
}

body.a-body #aMainContent .glyphs-heading { color: #52696a; }

body.a-body #aMainContent .gh-font-list .font-info {
  color: #294344;
  background: var(--a-surface);
  backdrop-filter: none;
}

body.a-body #aMainContent .gh-font-list .font-info h3,
body.a-body #aMainContent .gh-font-list .font-enname { color: #294344; }

body.a-body #aMainContent .sample-settings-btn {
  color: #294344;
  background: #ffffff;
  border-color: #cbd9d6;
}

body.a-body #aMainContent .detail-info-skeleton span,
body.a-body #aMainContent .detail-skeleton-card,
body.a-body #aMainContent .detail-skeleton-gallery,
body.a-body #aMainContent .detail-license-skeleton,
body.a-body #aMainContent .detail-loading::after,
body.a-body #aMainContent .detail-loading-value::after,
body.a-body #aMainContent .detail-loading-block {
  background-color: #e5ecea;
  background-image: linear-gradient(90deg, #e5ecea 25%, #f5f8f7 45%, #e5ecea 65%);
}

body.a-body #aMainContent input,
body.a-body #aMainContent select,
body.a-body #aMainContent textarea {
  color: #233638;
  border-color: #d5e0dd;
}

body.a-body #aMainContent input::placeholder,
body.a-body #aMainContent textarea::placeholder {
  color: #718382;
}

body.a-body #aMainContent :focus-visible {
  outline-color: #087b72;
}

.a-header-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 10px;
  position: relative;
  z-index: 12;
}

.a-header-control {
  appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 57px;
    height: 34px;
    margin: 0;
    padding: 0 12px;
    border: none;
    border-radius: 12px;
    color: #edf6f5;
    background: rgb(170 170 170 / 11%);
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%);
}

.a-header-control:hover {
  background: rgba(170, 170, 170, 0.205);
  transform: translateY(-1px);
}

.a-header-control:focus-visible { outline: 2px solid #5bd2c3; outline-offset: 2px; }

.a-theme-toggle {
  width: 42px;
  min-width: 42px;
  padding: 0;
  position: static;
}

.a-language-picker {
  position: relative;
  z-index: 2147483647;
  overflow: visible;
}

.a-lang-toggle {
  min-width: 74px;
  gap: 8px;
  padding-inline: 10px 12px;
}

.a-lang-label {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.a-lang-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.a-lang-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 2147483647;
  display: none;
  gap: 6px;
  min-width: 160px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(9, 25, 35, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.a-language-picker:hover .a-lang-menu,
.a-language-picker:focus-within .a-lang-menu,
.a-language-picker.is-open .a-lang-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.a-lang-option {
  appearance: none;
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #edf6f5;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
}

.a-lang-option:hover,
.a-lang-option.is-selected {
  background: rgba(91, 210, 195, 0.13);
}

.a-theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.a-theme-icon-sun { display: none; }

body.a-body .a-header-control {
  color: #315455;
  background: #eef3f1;
  border-color: #d3e0dc;
  box-shadow: inset 0 0 0 1px rgba(18, 51, 52, 0.05);
}

body.a-body .a-header-control:hover { background: #e1eeea; }
body.a-body .a-lang-menu {
  background: rgba(243, 247, 246, 0.98);
  border-color: rgba(25, 41, 44, 0.08);
}
body.a-body .a-lang-option {
  color: #1e3b42;
}
body.a-body .a-language-picker:hover .a-lang-menu,
body.a-body .a-language-picker.is-open .a-lang-menu {
  background: rgba(243, 247, 246, 0.98);
}
body.a-body .a-theme-icon-moon { display: block; }
body.a-body .a-theme-icon-sun { display: none; }

body:not(.a-body) .a-theme-icon-moon { display: none; }
body:not(.a-body) .a-theme-icon-sun { display: block; }

@media (max-width: 600px) {
  .a-frame nav .logo {
    min-width: 46px;
    width: 46px;
    height: 46px;
    margin-inline: 8px;
  }

  .a-frame nav .logo img {
    display: block;
    width: 42px;
    height: 42px;
    padding: 3px;
  }

  .a-frame nav .logo-text {
    display: none;
  }

  .a-frame nav .a-nav-actions {
    margin-inline-start: 6px;
  }

 

  .a-frame nav .a-mobile-search-slot .navsearch {
    width: 100%;
    max-width: none;
    margin: 4px 0 8px;
  }

  .a-frame nav .a-mobile-search-slot .search-bar {
    width: 100%;
  }

  .a-frame nav .a-mobile-search-slot .search-bar input[type="search"] {
    width: 0;
    min-width: 0;
    flex: 1;
    font-size: 16px;
  }

  .a-frame nav .a-mobile-settings-slot {
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid rgb(255 255 255 / 14%);
  }

  .a-frame nav .a-mobile-settings-slot .a-header-controls {
    justify-content: flex-start;
    margin: 0;
  }

  .a-frame nav .nav-subrow {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
    padding-inline: 15px;
  }

  .a-frame nav .nav-subrow.show {
    max-height: fit-content;
    overflow: visible;
    padding-block: 10px;
  }

  body.a-body .a-frame nav .nav-subrow.show {
    background: #f3f6f5;
  }

  body:not(.a-body) .a-frame nav .nav-subrow.show {
    background: rgba(9, 25, 35, 0.98);
  }

  .a-frame nav .a-mobile-settings-slot .a-lang-menu {
    top: auto;
    bottom: calc(100% + 8px);
  }

  
}

@media (max-width: 720px) {
  body.a-body nav .nav-wrapper { margin-inline: 8px; }
  body.a-body .a-home-welcome { background: #ffffff; }
}


