/* Conservative Smokeshows shared design tokens.
 * Keep these values intentionally global so migrated social plugins can
 * consume the same palette without duplicating hard-coded brand colors.
 */
:root {
    --cs-black: #080808;
    --cs-pink: #f500d7;
    --cs-pink-bright: #ff00df;
    --cs-accent: var(--cs-pink);
    --cs-white: #ffffff;
    --cs-surface: #ffffff;
    --cs-background: #f5f6f6;
    --cs-border: #e5e5e5;
    --cs-text: #090909;
    --cs-muted: #666666;

    /* Backward-compatible alias for migrated Conservative Connect code.
     * Existing var(--cs-red) references now inherit the Smokeshows pink.
     */
    --cs-red: var(--cs-pink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--cs-white);
    color: var(--cs-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.admin-bar {
    min-height: calc(100vh - 32px);
}

#cs-site,
.cs-main,
.cs-content {
    width: 100%;
    min-width: 0;
}

.cs-main {
    display: block;
    margin: 0;
    padding: 0;
}

.cs-content {
    margin: 0;
    padding: 0;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

::selection {
    background: var(--cs-pink);
    color: var(--cs-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
    margin-top: 0;
}

.cs-reading-width,
.cs-simple-page {
    width: min(100% - 40px, 760px);
    margin-inline: auto;
    padding-block: 48px;
}

.cs-entry-header h1 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.cs-featured-image {
    margin-bottom: 32px;
}

.cs-entry-content a,
.cs-simple-page a {
    color: var(--cs-pink);
    font-weight: 700;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 782px) {
    body.admin-bar {
        min-height: calc(100vh - 46px);
    }

    .cs-reading-width,
    .cs-simple-page {
        width: min(100% - 28px, 760px);
        padding-block: 32px;
    }
}
