/* ============================================================
   Cricone Theme — Custom CSS
   Mirrors exactly what BaseLayout.astro, NavStrip.astro,
   ScoreStrip.astro emitted as scoped / global styles.
   Tailwind CDN resolves all utility classes; this file only
   adds things that need explicit declaration.
   ============================================================ */

/* --- Google Fonts (Inter) ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --------------------------------- */
:root {
    --primary-blue: #007aff;
    --bg-editorial: #f6f7f9;
    --card-border: #e9edf3;
}

/* --- Base Typography --------------------------------------- */
body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-editorial);
    letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    letter-spacing: 0;
}

/* --- Scrollbar Hide (NavStrip + Score Strip) --------------- */
.nav-strip-scroll,
.scrollbar-hide {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE / Edge */
}

.nav-strip-scroll::-webkit-scrollbar,
.scrollbar-hide::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari */
}

/* --- animate-ping (live score green dot) ------------------- */
@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* --- line-clamp polyfill (for browsers that need it) ------- */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* --- WordPress editor / admin resets ----------------------- */
.wp-block {
    max-width: unset;
}

/* --- WordPress image alignment ----------------------------- */
img.aligncenter {
    display: block;
    margin: 0 auto;
}

img.alignleft {
    float: left;
    margin-right: 1rem;
}

img.alignright {
    float: right;
    margin-left: 1rem;
}

/* --- Search panel z-index ---------------------------------- */
#search-panel {
    z-index: 60;
}