/*
Theme Name: asset.co.il
Theme URI: https://asset.co.il
Author: asset.co.il
Description: The asset.co.il site as a plain theme: light, Polin, app-style side menu. Every text, image and link is edited under wp-admin → Assets content. Sections carry their own styles.
Version: 2.0.0
Requires PHP: 8.0
Text Domain: assetco
*/

html, body { margin: 0; padding: 0; }
body { background: #ffffff; color: #0f1117; font-family: "Polin", "Heebo", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wpab-logo { display: block; max-height: 30px; width: auto; height: auto; object-fit: contain; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Cursor: a trailing ring and a dot, orange like the star in the logo. */
.aco-cursor { position: fixed; inset: 0; pointer-events: none; z-index: 2147483000; opacity: 0; transition: opacity .25s; }
.aco-cursor.is-on { opacity: 1; }
.aco-cursor__ring, .aco-cursor__dot { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.aco-cursor__ring { width: 34px; height: 34px; border: 1.5px solid rgba(255, 75, 31, .9); background: rgba(255, 75, 31, 0); transition: width .18s, height .18s, background .18s, border-color .18s, opacity .18s; }
.aco-cursor__dot { width: 6px; height: 6px; background: #ff4b1f; transition: opacity .15s, width .15s, height .15s; }
.aco-cursor.is-hover .aco-cursor__ring { width: 54px; height: 54px; background: rgba(255, 75, 31, .16); border-color: rgba(255, 75, 31, .45); }
.aco-cursor.is-hover .aco-cursor__dot { width: 4px; height: 4px; }
.aco-cursor.is-down .aco-cursor__ring { width: 24px; height: 24px; background: rgba(255, 75, 31, .3); }
.aco-cursor.is-text .aco-cursor__ring, .aco-cursor.is-text .aco-cursor__dot { opacity: 0; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
	html.aco-cursor-on, html.aco-cursor-on body, html.aco-cursor-on a, html.aco-cursor-on button, html.aco-cursor-on summary, html.aco-cursor-on label, html.aco-cursor-on select { cursor: none; }
}
html.aco-cursor-on input, html.aco-cursor-on textarea, html.aco-cursor-on [contenteditable] { cursor: text; }
html.aco-cursor-on #wpadminbar, html.aco-cursor-on #wpadminbar * { cursor: default; }
html.aco-cursor-on #wpadminbar a { cursor: pointer; }
@media (pointer: coarse) { .aco-cursor { display: none; } }

/* The contact form after sending, and its error line. */
.acn__form--sent { display: grid; place-items: center; min-height: 240px; text-align: center; }
.acn__thanks { margin: 0; font-size: 1.15rem; font-weight: 700; }
.acn__error { color: #c62828; }

/* Home: the library starts right under the short hero; its own heading is the hero. */
.home .aal { padding-top: 0 !important; scroll-margin-top: 20px; }
.home .aal__head { display: none; }

/* Side menu: account buttons pinned to the bottom. */
.asd__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid #333; }
.asd__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; }
.asd__btn:hover { transform: translateY(-1px); }
.asd__btn--primary { background: #ff4b1f; color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 75, 31, .7); }
.asd__btn--primary:hover { background: #e6431b; }
.asd__btn--ghost { background: #333; color: #fff; border: 1px solid #444; }
.asd__btn--ghost:hover { border-color: #666; }
.asd__btn--link { background: none; color: #a6a6a6; font-weight: 500; font-size: 13px; padding: 4px; }
.asd__btn--link:hover { color: #fff; transform: none; }
.asd__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
