/* Public CMS page (privacy-policy / terms-of-service) — server-rendered by
   resources/views/cms/page.blade.php. Reuses core.css + components.css for
   buttons/badges; this file only adds the page shell + content typography. */

/* Fill the standard site content width like /browse — .main-layout caps at
   1200px and centers; .cms-page is its single flex child. */
.cms-page {
    flex: 1;
    min-width: 0;
    padding: 24px 10px 64px;
}

.cms-title { font-size: var(--fs-3xl); font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.cms-updated { color: var(--text-light); font-size: var(--fs-md); margin: 0 0 24px; }

/* Content typography — authored as HTML in the admin page builder */
.cms-content { color: var(--text-color); line-height: 1.65; font-size: var(--fs-lg); }
.cms-content h2 { font-size: var(--fs-xl); font-weight: 700; margin: 28px 0 10px; }
.cms-content h3 { font-size: var(--fs-lg);  font-weight: 700; margin: 22px 0 8px; }
.cms-content p  { margin: 0 0 14px; }
.cms-content ul, .cms-content ol { margin: 0 0 14px; padding-left: 22px; }
.cms-content li { margin-bottom: 6px; }
/* Plain links only — pink. Button-classed anchors keep their own button colors
   (filled = #fff, outline/pale = accent) from components.css; never override them. */
.cms-content a:not([class*="btn"]) { color: var(--pink-highlight); }
.cms-content img { max-width: 100%; height: auto; border-radius: 8px; }

.cms-empty { color: var(--text-light); font-style: italic; padding: 40px 0; text-align: center; }

/* ── /media press page: logo kit (resources/views/cms/media-kit.blade.php) ── */
.media-kit { margin-top: 8px; }
.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin: 0 0 20px;
}
.media-kit-card {
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--surface);
}
.media-kit-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 24px;
    background: var(--bg-light);
}
.media-kit-preview--dark { background: var(--blue-highlight-dark); }
.cms-content .media-kit-preview img { max-height: 100%; max-width: 100%; border-radius: 0; }
.media-kit-card figcaption { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.media-kit-name { font-weight: 600; font-size: var(--fs-md); }
.media-kit-files { display: flex; flex-wrap: wrap; gap: 6px; }

.media-kit-colors { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.media-kit-swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-control);
    background: var(--surface);
    color: var(--text-color);
    font: inherit;
    font-size: var(--fs-md);
    cursor: pointer;
}
.media-kit-swatch.is-copied { border-color: var(--green-highlight); }
.media-kit-chip { width: 24px; height: 24px; border-radius: var(--radius-sm); }
