/* Font size control (fontsize.js). Sizes in px so the control itself stays the same size. */
.vc-font { display: inline-flex; align-items: center; gap: 4px; padding: 3px 6px; background: #fff; border: 1.5px solid #1c1915; border-radius: 999px; font-size: 13px; line-height: 1; white-space: nowrap; flex: none; }
.vc-font button { padding: 4px 8px; border: 1px solid #c9c1b1; border-radius: 999px; background: #f7f4ee; color: #1c1915; font-size: 13px; line-height: 1; min-width: 0; width: auto; margin: 0; cursor: pointer; }
.vc-font button:hover { background: #efe7d4; }
.vc-font button:active { transform: translateY(1px) scale(0.97); background: #e2d8c2; }
.vc-font button:focus-visible { outline: 2px solid #2f6fdb; outline-offset: 2px; }
.vc-font-name { color: #1c1915; font-weight: 700; padding: 0 2px; font-size: 13px; }
.vc-font-size { color: #6b6457; padding: 0 2px; font-size: 12px; min-width: 3.4em; text-align: right; }
.vc-font.vc-fixed { position: fixed; top: 10px; right: 12px; z-index: 9999; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.vc-font.vc-float { float: right; margin: 0 0 8px 12px; }
header.top.vc-font-host { flex-wrap: wrap; }
.who.vc-font-host { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 640px) {
  .vc-font-size { display: none; }
  header.top.vc-font-host { flex-wrap: wrap; }
  header.top.vc-font-host .who.vc-font-host { flex: 1 1 100%; flex-wrap: wrap; justify-content: flex-end; row-gap: 6px; }
}
html.touch .vc-font button { min-height: 36px; height: 36px; padding: 0 10px; }
@media (max-width: 600px) { .vc-font { padding: 2px 4px; gap: 3px; } .vc-font button { min-height: 36px; height: 36px; padding: 0 9px; } .vc-font-name { font-size: 12px; } }
.vc-lang { position: relative; display: inline-flex; }
.vc-font .vc-lang-btn { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.vc-lang-globe { font-size: 15px; }
.vc-lang-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 10000; display: flex; flex-direction: column; min-width: 150px; padding: 6px; background: #fff; border: 1.5px solid #1c1915; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.vc-lang-menu[hidden] { display: none; }
.vc-font .vc-lang-menu .vc-lang-item { text-align: left; border: 0; border-radius: 8px; background: transparent; padding: 9px 12px; font-size: 15px; height: auto; min-height: 40px; color: #1d4ed8; }
.vc-font .vc-lang-menu .vc-lang-item:hover { background: #eef3ff; }
.vc-font .vc-lang-menu .vc-lang-item.on { color: #1c1915; font-weight: 700; background: #f2efe7; }
@media (max-width: 600px) { .vc-lang-now { display: none; } .vc-lang-menu { left: auto; right: -60px; } }
@media print { .vc-font { display: none; } }
