/*
Theme Name: Rastrum Capital
Theme URI: https://rastrumcapital.com
Author: Rastrum Capital
Author URI: https://rastrumcapital.com
Description: Rastrum Capital is a Swiss / International Typographic WordPress theme for a fictional multi-asset broker: white paper, near-black type, one signal red, a visible twelve-column grid, numbered sections and a red scroll index bar. Includes markets, platform, accounts, education, about, contact, a legal centre and CRM-ready client forms that run in demo mode until the CRM is enabled.
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rastrum
Tags: light, one-column, custom-logo, custom-menu
*/

* { box-sizing: border-box; }
html, body { max-width: 100%; }
body { overflow-x: clip; font-feature-settings: "ss01", "cv11"; }
[hidden] { display: none !important; }
::selection { background: #E10600; color: #fff; }

.rs-num, .rs-mono { font-variant-numeric: tabular-nums; }
.rs-mega { font-size: clamp(3.25rem, 11vw, 11.5rem); line-height: .86; letter-spacing: -0.055em; }
.rs-giant { font-size: clamp(2.75rem, 8vw, 8rem); line-height: .9; letter-spacing: -0.05em; }
.rs-big { font-size: clamp(2.25rem, 5.4vw, 5rem); line-height: .95; letter-spacing: -0.04em; }
.rs-figure { font-size: clamp(3.5rem, 9vw, 9rem); line-height: .85; letter-spacing: -0.06em; }
.rs-cap { font-size: 11px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.rs-cap-12 { font-size: 12px; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }

.rs-photo { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.28) brightness(1.02); }
.rs-duo { position: relative; background: #E10600; overflow: hidden; isolation: isolate; }
.rs-duo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.45) brightness(1.08); mix-blend-mode: multiply; }

.rs-gridlines { pointer-events: none; position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rs-gridlines > span { border-left: 1px solid rgba(11, 11, 11, .08); }
.rs-gridlines > span:last-child { border-right: 1px solid rgba(11, 11, 11, .08); }
.rs-gridlines > span:nth-child(n+5) { display: none; }
.rs-gridlines-light > span { border-color: rgba(255, 255, 255, .14) !important; }
@media (min-width: 1024px) {
  .rs-gridlines { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .rs-gridlines > span:nth-child(n+5) { display: block; }
}

.rs-indexbar { position: fixed; top: 0; bottom: 0; right: 0; width: 4px; z-index: 70; background: rgba(11, 11, 11, .06); pointer-events: none; }
.rs-indexbar > i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #E10600; transform-origin: top; transform: scaleY(0); transition: transform .12s linear; }
@media (min-width: 1024px) {
  .rs-indexbar { right: auto; left: 0; width: 6px; }
}
.rs-runner { position: fixed; left: 13px; bottom: 28px; z-index: 69; display: none; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; pointer-events: none; background: #fff; padding: 8px 2px; }
@media (min-width: 1280px) {
  .rs-runner { display: block; }
}

.rs-row { transition: background-color .18s ease, color .18s ease; }
.rs-row:hover, .rs-row:focus-within { background: #E10600; color: #fff; }
.rs-row:hover .rs-row-muted, .rs-row:focus-within .rs-row-muted { color: rgba(255, 255, 255, .82); }
.rs-row:hover .rs-row-arrow, .rs-row:focus-within .rs-row-arrow { transform: translateX(6px); }
.rs-row-arrow { transition: transform .2s ease; }

.rs-link { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.rs-link:hover, .rs-link:focus-visible { background-size: 100% 1px; }

.rs-field { width: 100%; min-height: 3rem; border: 0; border-bottom: 1px solid #0B0B0B; background: #fff; padding: .7rem 0; font-size: 1rem; color: #0B0B0B; border-radius: 0; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.rs-field:focus { border-bottom-color: #E10600; box-shadow: 0 1px 0 0 #E10600; }
.rs-field[aria-invalid="true"] { border-bottom-color: #E10600; box-shadow: 0 2px 0 0 #E10600; }
select.rs-field { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B0B0B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .25rem center; padding-right: 1.75rem; }
.rs-check { appearance: none; -webkit-appearance: none; width: 1.1rem; height: 1.1rem; border: 1.5px solid #0B0B0B; background: #fff; flex-shrink: 0; margin-top: .15rem; cursor: pointer; display: inline-grid; place-content: center; }
.rs-check:checked { background: #E10600; border-color: #E10600; }
.rs-check:checked::after { content: ""; width: .45rem; height: .45rem; background: #fff; }
.rs-check:focus-visible { outline: 2px solid #E10600; outline-offset: 2px; }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #E10600; outline-offset: 3px; }

.rs-prose p + p { margin-top: 1rem; }
.rs-prose ul { margin-top: 1rem; }

.rs-rise { animation: rs-rise .55s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rs-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rs-js .rs-draw { transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.rs-js .rs-draw.is-in { transform: scaleX(1); }

.rs-tab[aria-selected="true"], .rs-tab[aria-selected="true"]:hover { background: #0B0B0B; color: #fff; }
.rs-tab[aria-selected="true"] .rs-tab-dot { background: #E10600; }

.rs-faq[open] .rs-faq-sign { transform: rotate(45deg); background: #E10600; color: #fff; }
.rs-faq-sign { transition: transform .2s ease, background-color .2s ease; }
.rs-faq summary { list-style: none; cursor: pointer; }
.rs-faq summary::-webkit-details-marker { display: none; }

.tradingview-widget-container { width: 100%; max-width: 100%; overflow: hidden; }
.tradingview-widget-copyright { display: none; }

@media (prefers-reduced-motion: reduce) {
  .rs-rise { animation: none; }
  .rs-js .rs-draw { transform: none; transition: none; }
  .rs-indexbar > i { transition: none; }
  html { scroll-behavior: auto; }
}
