@import "profile-fonts-7gcd9gQ.css";
@import "profile-block-responsive-4ONhlFT.css";

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.67fr) minmax(0, var(--profile-single-side-ratio,1fr));
    grid-template-areas: 'intro sidebar' 'feed sidebar' 'bottom sidebar';
    grid-template-rows: auto auto 1fr;
    gap: 16px;
    margin-top: 16px;
    align-items: start;
}
.profile-layout:where(:not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed sidebar' 'bottom sidebar'; grid-template-rows: auto 1fr; }
.profile-layout:where(:has(>.profile-zone--sidebar_left)) { grid-template-areas: 'intro sidebar' 'feed sidebar' 'secondary sidebar' 'bottom sidebar'; grid-template-rows: auto auto auto 1fr; }
.profile-layout:where(:has(>.profile-zone--sidebar_left):not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed sidebar' 'secondary sidebar' 'bottom sidebar'; grid-template-rows: auto auto 1fr; }
.profile-layout>.profile-main { grid-area: feed; container: profile-journal / inline-size; }
.profile-layout>.profile-section { margin-top:0; }
.profile-zone { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; align-content: start; }
.profile-zone--intro { grid-area: intro; }
.profile-zone--bottom { grid-area: bottom; }
.profile-zone--sidebar { grid-area: sidebar; grid-template-columns: minmax(0, 1fr); }
.profile-zone--sidebar_left { grid-area: secondary; }
.profile-module-wrap { min-width: 0; container: profile-block / inline-size; }
.profile-module-wrap.module-wide { grid-column: 1 / -1; }
.profile-layout:where([data-layout=left]) { grid-template-columns: minmax(0, var(--profile-single-side-ratio,1fr)) minmax(0, 1.67fr); grid-template-areas: 'sidebar intro' 'sidebar feed' 'sidebar bottom'; }
.profile-layout:where([data-layout=left]:not(:has(>.profile-zone--intro))) { grid-template-areas: 'sidebar feed' 'sidebar bottom'; }
.profile-layout:where([data-layout=left]:has(>.profile-zone--sidebar_left)) { grid-template-areas: 'sidebar intro' 'sidebar feed' 'sidebar secondary' 'sidebar bottom'; grid-template-rows: auto auto auto 1fr; }
.profile-layout:where([data-layout=left]:has(>.profile-zone--sidebar_left):not(:has(>.profile-zone--intro))) { grid-template-areas: 'sidebar feed' 'sidebar secondary' 'sidebar bottom'; grid-template-rows: auto auto 1fr; }
.profile-layout:where([data-layout=both]) { grid-template-columns: minmax(max(200px,10em), var(--profile-side-ratio,.8fr)) minmax(0,2fr) minmax(max(200px,10em),var(--profile-side-ratio,.8fr)); grid-template-areas: 'secondary intro sidebar' 'secondary feed sidebar' 'secondary bottom sidebar'; grid-template-rows: auto auto 1fr; }
.profile-layout:where([data-layout=both]:not(:has(>.profile-zone--intro))) { grid-template-areas: 'secondary feed sidebar' 'secondary bottom sidebar'; grid-template-rows: auto 1fr; }
.profile-layout[data-layout=both] > .profile-zone--sidebar_left { grid-template-columns:minmax(0,1fr); }
.profile-layout:where([data-layout=journal],[data-has-sidebar=false]) { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'feed' 'sidebar' 'bottom'; }
.profile-layout:where([data-layout=journal],[data-has-sidebar=false]):where(:not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed' 'sidebar' 'bottom'; }
.profile-layout:where([data-layout=journal],[data-has-sidebar=false]):where(:has(>.profile-zone--sidebar_left)) { grid-template-areas: 'intro' 'feed' 'secondary' 'sidebar' 'bottom'; }
.profile-layout:where([data-layout=journal],[data-has-sidebar=false]):where(:has(>.profile-zone--sidebar_left):not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed' 'secondary' 'sidebar' 'bottom'; }
.profile-layout[data-layout=journal]>.profile-zone--sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-layout[data-layout=both] .profile-section-content--blog { grid-template-columns:minmax(0,1fr); }
.profile-layout .profile-section-heading, .profile-layout .profile-filters { flex-wrap:wrap; }
.profile-layout .profile-filters label { flex-basis:160px; }
.profile-module--custom .module-image, .module-caption { margin-bottom: 12px; }
.profile-theme-rose { --paper: #f5e7e9; --surface: #fff7f5; --surface-soft: #f5e7e7; --line: #e3c9ce; --primary: #a13e59; --primary-hover: #843047; --ink: #432235; --muted: #735466; }
.profile-theme-forest { --paper: #e5ecdf; --surface: #f9faef; --surface-soft: #eaf0df; --line: #c9d5bc; --primary: #3b6548; --primary-hover: #294a32; --ink: #213c30; --muted: #526751; }
.profile-theme-lavender { --paper: #ece6f3; --surface: #fcf8ff; --surface-soft: #eee7f4; --line: #d7cbe2; --primary: #765189; --primary-hover: #5d3d6e; --ink: #352443; --muted: #71627b; }
.profile-theme-midnight { --paper: #262334; --surface: #332f42; --surface-soft: #40394f; --line: #625775; --primary: #f0b4a4; --primary-hover: #f8cdbf; --primary-ink: #333333; --primary-hover-ink: #333333; --ink: #fff3df; --muted: #d0c5dc; --surface-white: #262334; --sage: #404c48; --green: #bbd9a9; --green-ink: #333333; --peach: #5e4553; --line-strong: #9683a2; }
:where(.profile-theme-rose, .profile-theme-forest, .profile-theme-lavender, .profile-theme-ocean, .profile-theme-sunset, .profile-theme-amber) { --primary-ink: #fff; --primary-hover-ink: #fff; }
:where(.profile-theme-ocean, .profile-theme-sunset, .profile-theme-amber) { --green-ink: #fff; }
.profile-page[class*=profile-theme-] { background: var(--paper); color: var(--ink); }
.profile-theme-midnight .profile-module .module-heading { background: var(--surface-soft); }
.profile-theme-midnight .badge, .profile-theme-midnight .book-cover--text { background: var(--surface-soft); color: var(--ink); }
.profile-font-modern { --font-body: 'Trebuchet MS', Arial, sans-serif; --font-ui: var(--font-body); font-family: var(--font-body); }
.profile-font-typewriter { --font-body: 'Courier New', monospace; --font-ui: var(--font-body); font-family: var(--font-body); }
.palette-rose { --module-surface: #f4e0e5; }
.palette-lavender { --module-surface: #e9e2f1; }
.palette-sky { --module-surface: #dfeaf1; }
@container profile (max-width: 820px) {
    .profile-layout:where([data-layout=both][data-has-sidebar=true]) { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-areas:'intro intro' 'feed feed' 'secondary sidebar' 'bottom bottom'; grid-template-rows:auto; }
    .profile-layout:where([data-layout=both][data-has-sidebar=true]:not(:has(>.profile-zone--intro))) { grid-template-areas:'feed feed' 'secondary sidebar' 'bottom bottom'; }
}
@container profile (max-width: 680px) {
    .profile-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'feed' 'sidebar' 'bottom'; grid-template-rows:auto; }
    .profile-layout:where(:not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed' 'sidebar' 'bottom'; }
    .profile-layout:where(:has(>.profile-zone--sidebar_left)) { grid-template-areas: 'intro' 'feed' 'secondary' 'sidebar' 'bottom'; }
    .profile-layout:where(:has(>.profile-zone--sidebar_left):not(:has(>.profile-zone--intro))) { grid-template-areas: 'feed' 'secondary' 'sidebar' 'bottom'; }
    .profile-zone, .profile-layout[data-layout=journal]>.profile-zone--sidebar { grid-template-columns: minmax(0, 1fr); }
    .profile-main .article-preview { grid-template-columns: minmax(0, 1fr); }
    .profile-main .profile-section-content--blog { grid-template-columns:minmax(0,1fr); }
}
