@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap');

/* Auto-generated palette: Airbnb — do not edit manually */

:root {
    --border: #ebebeb;
    --code-bg: #f2f2f2;
    --code-block-bg: #1a1a1a;
    --content: #222222;
    --entry: #ffffff;
    --primary: #222222;
    --secondary: rgb(133,133,133);
    --tertiary: #6a6a6a;
    --theme: #ffffff;
    --brand: #ff385c;
    --brand-hover: #e00b41;
    --brand-rgb: 255, 56, 92;
    --brand-text: #ffffff;
    --dropdown-bg: #ffffff;
    --dropdown-hover-bg: rgba(255, 56, 92, 0.06);
    --header-bg: rgba(255,255,255,0.92);
    --header-border: rgba(255, 56, 92, 0.15);
    --header-hover: #ff385c;
    --header-text: #222222;
    --footer-bg: rgba(255, 56, 92, 0.07);
    --footer-border: rgba(255, 56, 92, 0.15);
    --footer-hover: #ff385c;
    --footer-link: rgb(133,133,133);
    --footer-muted: rgb(133,133,133);
    --footer-text: #222222;
    --banner-bg: rgba(255, 56, 92, 0.07);
    --banner-border: rgba(255, 56, 92, 0.12);
    --banner-text: rgb(133,133,133);
    --font-family: 'Nunito Sans', -apple-system, system-ui, Roboto, 'Helvetica Neue', sans-serif;
    --font-size: 16px;
    --font-weight: 400;
    --h1-size: 1.75rem;
    --h2-size: 1.375rem;
    --h3-size: 1.25rem;
    --h4-size: 1rem;
    --h5-size: 0.875rem;
    --h6-size: 0.75rem;
    --heading-font: 'Nunito Sans', -apple-system, system-ui, sans-serif;
    --heading-letter-spacing: -0.02em;
    --heading-line-height: 1.2;
    --heading-weight: 700;
    --line-height: 1.43;
    --site-font: 'Nunito Sans', -apple-system, system-ui, Roboto, 'Helvetica Neue', sans-serif;
    --border-radius: 12px;
    --card-shadow: rgba(0,0,0,0.02) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 6px, rgba(0,0,0,0.1) 0px 4px 8px;
    --content-max-width: 1200px;
    --content-padding: 1.5rem;
    --header-font-size: 0.875rem;
    --header-font-weight: 500;
    --header-height: 64px;
    --nav-gap: 1.25rem;
    --post-max-width: 720px;
    --section-gap: 3rem;
    --table-border-radius: 8px;
    --table-border-style: solid;
    --table-border-width: 1px;
    --table-cell-padding: 0.75rem 1rem;
    --table-header-weight: 600;
}

:root[data-theme="dark"] {
    --border: #3a3a3a;
    --code-bg: #333333;
    --code-block-bg: #252525;
    --content: #f0f0f0;
    --entry: #252525;
    --primary: #f0f0f0;
    --secondary: rgb(154,154,154);
    --tertiary: #a0a0a0;
    --theme: #1a1a1a;
    --brand: #ff385c;
    --brand-hover: #ff6b81;
    --brand-rgb: 255, 56, 92;
    --brand-text: #ffffff;
    --dropdown-bg: #301d20;
    --dropdown-hover-bg: #3f2e31;
    --header-bg: #1e0a0d;
    --header-border: #39272a;
    --header-hover: #ff385c;
    --header-text: #f0f0f0;
    --footer-bg: #1e0a0d;
    --footer-border: #39272a;
    --footer-hover: #ff385c;
    --footer-link: #a0a0a0;
    --footer-muted: #5a4e4f;
    --footer-text: #f0f0f0;
    --banner-bg: #611724;
    --banner-border: #1e0a0d;
    --banner-text: #f5f7f3;
}

/* Link colors */
.post-content a { color: var(--brand); }
.post-content a:hover { color: var(--brand-hover); }
.post-content a code { color: var(--brand); }
.toc a { color: var(--primary); }
.toc a:hover { color: var(--brand); }

/* Markdown content styling */
.post-content table { border-collapse: collapse; width: 100%; }
.post-content table th { background: var(--code-bg); font-weight: 600; }
.post-content table th,
.post-content table td { padding: 0.5rem 0.75rem; border: 1px solid var(--border); }
.post-content code { background: var(--code-bg); color: var(--content); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
.post-content pre { background: var(--code-block-bg); border-radius: 8px; padding: 1rem; overflow-x: auto; }
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content blockquote { border-left: 3px solid var(--brand); padding: 0.5rem 1rem; margin: 1rem 0; background: var(--code-bg); color: var(--secondary); }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.post-content img { border-radius: 8px; max-width: 100%; }
