/*
Theme Name: Fictioneer Calder
Theme URI: https://www.samueldcalder.com
Description: Samuel D. Calder child theme for Fictioneer.
Author: Samuel D. Calder
Author URI: https://www.samueldcalder.com
Template: fictioneer
Version: 1.0.0
Text Domain: fictioneer-calder
*/

:root,
html[data-mode="dark"],
html[data-mode="light"] {
	--calder-bg-primary: #0a0a0f;
	--calder-bg-secondary: #12121a;
	--calder-bg-panel: rgba(18, 18, 26, 0.88);
	--calder-bg-elevated: rgba(21, 24, 35, 0.94);
	--calder-text-primary: #e8e8ed;
	--calder-text-secondary: #9b9baa;
	--calder-accent: #00bcd4;
	--calder-accent-strong: #00e5ff;
	--calder-border: rgba(255, 255, 255, 0.08);
	--calder-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
	--theme-color-base: 187 100 42;
	--primary-400: #49ddf0;
	--primary-500: #00bcd4;
	--primary-600: #00e5ff;
	--bg-50: #f5f7fa;
	--bg-200: #212433;
	--bg-300: #1d202e;
	--bg-400: #181b27;
	--bg-500: #141720;
	--bg-600: #12151d;
	--bg-700: #11131b;
	--bg-800: #0f1118;
	--bg-900: #0c0d14;
	--bg-950: #090a10;
	--fg-100: #ffffff;
	--fg-200: #f3f5f9;
	--fg-300: #e8e8ed;
	--fg-400: #d7dae2;
	--fg-500: #bec3cf;
	--fg-600: #9fa6b5;
	--fg-700: #8b93a3;
	--fg-800: #697284;
	--fg-900: #4f586c;
	--fg-950: #384050;
	--fg-tinted: #d3f6fb;
	--ff-base: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ff-note: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ff-heading: "IBM Plex Serif", Georgia, serif;
	--ff-site-title: "IBM Plex Serif", Georgia, serif;
	--ff-story-title: "IBM Plex Serif", Georgia, serif;
	--ff-chapter-title: "IBM Plex Serif", Georgia, serif;
	--ff-card-title: "IBM Plex Serif", Georgia, serif;
	--ff-nav-item: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ff-chapter-list-title: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--layout-border-radius-small: 14px;
	--layout-border-radius-large: 24px;
	--site-width: 1200px;
	--card-frame-border-color: rgba(0, 188, 212, 0.12);
	--card-content-li-background-full: rgba(255, 255, 255, 0.02);
	--content-li-background-full: rgba(255, 255, 255, 0.02);
	--navigation-color: var(--calder-text-primary);
	--navigation-color-hover: var(--calder-accent-strong);
	--navigation-background: rgba(10, 10, 15, 0.92);
	--top-header-background: transparent;
	--site-title-heading-color: #ffffff;
	--site-title-tagline-color: rgba(255, 255, 255, 0.72);
	--input-background: rgba(255, 255, 255, 0.04);
	--comment-background: rgba(255, 255, 255, 0.03);
	--micro-menu-background: rgba(12, 13, 20, 0.92);
	--micro-menu-color: var(--calder-text-primary);
	--micro-menu-color-hover: var(--calder-accent-strong);
	--progress-bar-background: rgba(255, 255, 255, 0.08);
	--progress-bar-color: var(--calder-accent);
}

html {
	scroll-behavior: smooth;
}

body.wp-child-theme-fictioneer-calder {
	background:
		radial-gradient(circle at top center, rgba(0, 188, 212, 0.12), transparent 32%),
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 22%),
		linear-gradient(180deg, #0d1018 0%, #090a10 100%);
	color: var(--calder-text-primary);
	font-family: var(--ff-base);
}

body.wp-child-theme-fictioneer-calder .site {
	background: transparent;
}

body.wp-child-theme-fictioneer-calder a {
	color: var(--calder-accent);
}

body.wp-child-theme-fictioneer-calder a:hover,
body.wp-child-theme-fictioneer-calder a:focus-visible {
	color: var(--calder-accent-strong);
}

body.wp-child-theme-fictioneer-calder :is(h1, h2, h3, h4, h5, h6) {
	color: #ffffff;
	font-family: var(--ff-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
}

body.wp-child-theme-fictioneer-calder .header,
body.wp-child-theme-fictioneer-calder .top-header {
	display: none;
}

body.wp-child-theme-fictioneer-calder .main {
	padding-top: 6.5rem;
}

body.wp-child-theme-fictioneer-calder.home .main {
	padding-top: 0;
}

body.wp-child-theme-fictioneer-calder .main__background,
body.wp-child-theme-fictioneer-calder .header-background {
	opacity: 0.25;
	filter: saturate(0.7);
}

body.wp-child-theme-fictioneer-calder .main-navigation {
	position: sticky;
	top: 0;
	z-index: 1000;
	margin: 0;
	backdrop-filter: blur(12px);
}

body.admin-bar.wp-child-theme-fictioneer-calder .main-navigation {
	top: 32px;
}

body.wp-child-theme-fictioneer-calder .main-navigation__background {
	background: rgba(10, 10, 15, 0.92);
	border-bottom: 1px solid var(--calder-border);
}

body.wp-child-theme-fictioneer-calder .main-navigation__wrapper {
	display: grid;
	grid-template-columns: auto auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 1rem;
	max-width: 1200px;
	padding: 1rem 1.5rem;
}

.calder-brand {
	display: grid;
	gap: 0.18rem;
	color: #ffffff;
	line-height: 1;
	text-decoration: none;
}

.calder-brand:hover,
.calder-brand:focus-visible {
	color: #ffffff;
}

.calder-brand__eyebrow {
	color: rgba(255, 255, 255, 0.6);
	font-family: var(--ff-note);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.calder-brand__name {
	font-family: var(--ff-heading);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.calder-brand__tagline {
	color: var(--calder-text-secondary);
	font-family: var(--ff-note);
	font-size: 0.78rem;
}

body.wp-child-theme-fictioneer-calder .mobile-menu-button {
	border: 1px solid var(--calder-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	padding: 0.65rem 1rem;
}

body.wp-child-theme-fictioneer-calder .mobile-menu-button__label,
body.wp-child-theme-fictioneer-calder .main-navigation__list a,
.calder-nav-actions__link {
	font-family: var(--ff-nav-item);
	font-size: 0.84rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body.wp-child-theme-fictioneer-calder .main-navigation__left {
	min-width: 0;
}

body.wp-child-theme-fictioneer-calder .main-navigation__list {
	display: flex;
	align-items: center;
	gap: 1.35rem;
	justify-content: center;
}

body.wp-child-theme-fictioneer-calder .main-navigation__list a {
	color: rgba(232, 232, 237, 0.9);
}

body.wp-child-theme-fictioneer-calder .main-navigation__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

body.wp-child-theme-fictioneer-calder .icon-menu .menu-item a,
body.wp-child-theme-fictioneer-calder .icon-menu button {
	color: var(--calder-text-primary);
}

.calder-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.calder-nav-actions__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.78rem 1.15rem;
	border: 1px solid var(--calder-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--calder-text-primary);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.calder-nav-actions__link:hover,
.calder-nav-actions__link:focus-visible {
	border-color: rgba(0, 188, 212, 0.55);
	background: rgba(0, 188, 212, 0.08);
}

.calder-nav-actions__link--primary {
	border-color: rgba(0, 188, 212, 0.55);
	background: rgba(0, 188, 212, 0.14);
	color: var(--calder-accent-strong);
}

body.wp-child-theme-fictioneer-calder .mobile-menu,
body.wp-child-theme-fictioneer-calder .mobile-menu__panel,
body.wp-child-theme-fictioneer-calder .mobile-menu__bottom,
body.wp-child-theme-fictioneer-calder .modal__wrapper,
body.wp-child-theme-fictioneer-calder .popup-menu {
	background: rgba(12, 13, 20, 0.96);
	color: var(--calder-text-primary);
	border-color: var(--calder-border);
}

.calder-shell {
	width: min(1200px, calc(100% - 3rem));
	margin: 0 auto;
}

.calder-section {
	padding: 5.5rem 0;
}

.calder-section--alt {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.calder-eyebrow,
.calder-panel__number,
.calder-list-card__meta,
body.wp-child-theme-fictioneer-calder .chapter__story-link {
	color: var(--calder-accent);
	font-family: var(--ff-note);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.calder-section-heading {
	max-width: 760px;
	margin-bottom: 2.25rem;
}

.calder-section-heading p {
	color: var(--calder-text-secondary);
}

.calder-hero {
	position: relative;
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6rem 0;
	overflow: hidden;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.calder-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(120deg, rgba(8, 10, 16, 0.86) 0%, rgba(8, 10, 16, 0.68) 48%, rgba(8, 10, 16, 0.56) 100%);
}

.calder-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
	gap: 2.5rem;
	align-items: center;
}

.calder-hero__inner--centered {
	grid-template-columns: minmax(0, 860px);
	justify-content: center;
}

.calder-hero__content--centered {
	text-align: center;
	margin: 0 auto;
}

.calder-hero__title {
	font-size: clamp(3rem, 6vw, 4.5rem);
	line-height: 1.05;
	margin: 0.35rem 0 1rem;
	text-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.calder-hero__subtitle {
	max-width: 44rem;
	color: rgba(232, 232, 237, 0.72);
	font-size: 1.22rem;
	line-height: 1.7;
	margin: 0 auto 1.85rem;
}

.calder-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.calder-hero__actions--centered {
	justify-content: center;
}

.calder-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.1rem;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.95rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.calder-hero__meta li {
	position: relative;
	padding-left: 1rem;
}

.calder-hero__meta li::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	left: 0;
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: var(--calder-accent);
}

body.wp-child-theme-fictioneer-calder a.calder-button,
body.wp-child-theme-fictioneer-calder a.calder-button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0.95rem 1.6rem;
	border: 2px solid rgba(0, 188, 212, 0.85);
	background: transparent;
	color: var(--calder-accent);
	font-family: var(--ff-note);
	font-size: 0.86rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.wp-child-theme-fictioneer-calder a.calder-button:hover,
body.wp-child-theme-fictioneer-calder a.calder-button:focus-visible {
	background: rgba(0, 188, 212, 0.1);
	color: var(--calder-accent-strong);
}

body.wp-child-theme-fictioneer-calder a.calder-button--primary,
body.wp-child-theme-fictioneer-calder a.calder-button--primary:visited {
	background: var(--calder-accent);
	color: #041118;
	-webkit-text-fill-color: #041118;
}

body.wp-child-theme-fictioneer-calder a.calder-button--primary:hover,
body.wp-child-theme-fictioneer-calder a.calder-button--primary:focus-visible {
	background: var(--calder-accent-strong);
	color: #041118;
	-webkit-text-fill-color: #041118;
}

.calder-feature-card,
.calder-panel,
.calder-story-card,
.calder-list-card,
body.wp-child-theme-fictioneer-calder .story__header,
body.wp-child-theme-fictioneer-calder .story__summary,
body.wp-child-theme-fictioneer-calder .story__after-summary,
body.wp-child-theme-fictioneer-calder .story__tabs,
body.wp-child-theme-fictioneer-calder .story__tab-target,
body.wp-child-theme-fictioneer-calder .chapter__headline,
body.wp-child-theme-fictioneer-calder .chapter__content,
body.wp-child-theme-fictioneer-calder .chapter__comments,
body.wp-child-theme-fictioneer-calder .fictioneer-respond,
body.wp-child-theme-fictioneer-calder .post,
body.wp-child-theme-fictioneer-calder .singular__content,
body.wp-child-theme-fictioneer-calder .search-results__content,
body.wp-child-theme-fictioneer-calder .singular-bookshelf__section {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
		var(--calder-bg-panel);
	border: 1px solid var(--calder-border);
	border-radius: 22px;
	box-shadow: var(--calder-shadow);
}

.calder-feature-card {
	display: grid;
	grid-template-columns: minmax(180px, 220px) 1fr;
	gap: 1.5rem;
	padding: 1.5rem;
}

.calder-feature-card__cover,
.calder-story-card__cover {
	display: block;
}

.calder-feature-card__image,
.calder-story-card__image,
body.wp-child-theme-fictioneer-calder .story__thumbnail-image {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
}

.calder-feature-card__placeholder,
.calder-story-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 2 / 3;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(0, 188, 212, 0.14), rgba(255, 255, 255, 0.04));
	color: var(--calder-accent);
	font-family: var(--ff-note);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.calder-feature-card__body,
.calder-story-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.calder-feature-card__body p,
.calder-story-card__body p,
.calder-list-card p,
.calder-panel p {
	color: var(--calder-text-secondary);
	margin: 0;
}

.calder-feature-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: auto;
}

.calder-workflow-grid,
.calder-story-grid,
.calder-split-grid {
	display: grid;
	gap: 1.5rem;
}

.calder-workflow-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calder-story-grid,
.calder-split-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calder-story-grid--wide {
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.calder-panel,
.calder-list-card,
.calder-story-card {
	padding: 1.4rem;
}

.calder-stack {
	display: grid;
	gap: 1rem;
}

.calder-story-card--featured {
	display: grid;
	grid-template-columns: minmax(160px, 220px) 1fr;
	gap: 1.4rem;
	align-items: center;
}

body.wp-child-theme-fictioneer-calder .story__article,
body.wp-child-theme-fictioneer-calder .chapter__article,
body.wp-child-theme-fictioneer-calder .post,
body.wp-child-theme-fictioneer-calder .singular__article,
body.wp-child-theme-fictioneer-calder .search-results__content,
body.wp-child-theme-fictioneer-calder .stories__content {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

body.wp-child-theme-fictioneer-calder .story__header {
	display: grid;
	grid-template-columns: minmax(180px, 220px) 1fr;
	align-items: center;
	gap: 2rem;
	padding: 1.8rem;
	margin-bottom: 1.25rem;
}

body.wp-child-theme-fictioneer-calder .story__identity-title,
body.wp-child-theme-fictioneer-calder .chapter__title,
body.wp-child-theme-fictioneer-calder .singular__title,
body.wp-child-theme-fictioneer-calder .post__title {
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
}

body.wp-child-theme-fictioneer-calder .story__identity-meta,
body.wp-child-theme-fictioneer-calder .chapter__author,
body.wp-child-theme-fictioneer-calder .post__meta,
body.wp-child-theme-fictioneer-calder .archive__description {
	color: var(--calder-text-secondary);
}

body.wp-child-theme-fictioneer-calder .story__summary,
body.wp-child-theme-fictioneer-calder .story__after-summary,
body.wp-child-theme-fictioneer-calder .story__tabs,
body.wp-child-theme-fictioneer-calder .story__tab-target,
body.wp-child-theme-fictioneer-calder .chapter__headline,
body.wp-child-theme-fictioneer-calder .chapter__content,
body.wp-child-theme-fictioneer-calder .chapter__comments,
body.wp-child-theme-fictioneer-calder .post,
body.wp-child-theme-fictioneer-calder .singular__content {
	padding: 1.6rem 1.8rem;
	margin-bottom: 1.2rem;
}

body.wp-child-theme-fictioneer-calder .story__summary p,
body.wp-child-theme-fictioneer-calder .chapter__content p,
body.wp-child-theme-fictioneer-calder .post__main p,
body.wp-child-theme-fictioneer-calder .singular__content p {
	color: var(--calder-text-primary);
}

body.wp-child-theme-fictioneer-calder .chapter__content {
	font-family: var(--ff-heading);
	font-size: 1.12rem;
	line-height: 1.85;
}

body.wp-child-theme-fictioneer-calder .chapter__content em,
body.wp-child-theme-fictioneer-calder .chapter__content strong {
	color: #ffffff;
}

body.wp-child-theme-fictioneer-calder .story__tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

body.wp-child-theme-fictioneer-calder .tabs__item,
body.wp-child-theme-fictioneer-calder .button,
body.wp-child-theme-fictioneer-calder button[type="submit"],
body.wp-child-theme-fictioneer-calder .comment-reply-link {
	border-radius: 999px;
}

body.wp-child-theme-fictioneer-calder .tabs__item,
body.wp-child-theme-fictioneer-calder .button,
body.wp-child-theme-fictioneer-calder button[type="submit"] {
	border: 1px solid var(--calder-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--calder-text-primary);
}

body.wp-child-theme-fictioneer-calder .tabs__item._current,
body.wp-child-theme-fictioneer-calder .button:hover,
body.wp-child-theme-fictioneer-calder .button:focus-visible,
body.wp-child-theme-fictioneer-calder button[type="submit"]:hover,
body.wp-child-theme-fictioneer-calder button[type="submit"]:focus-visible {
	border-color: rgba(0, 188, 212, 0.55);
	background: rgba(0, 188, 212, 0.12);
	color: var(--calder-accent-strong);
}

body.wp-child-theme-fictioneer-calder .story__chapters,
body.wp-child-theme-fictioneer-calder .chapter-group__list {
	display: grid;
	gap: 0.85rem;
}

body.wp-child-theme-fictioneer-calder .chapter-group__list-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--calder-border);
	border-radius: 18px;
	padding: 1rem 1.1rem;
}

body.wp-child-theme-fictioneer-calder .chapter-group__list-item-link {
	color: #ffffff;
	font-family: var(--ff-note);
	font-size: 1rem;
	font-weight: 600;
}

body.wp-child-theme-fictioneer-calder .chapter-group__list-item-subrow,
body.wp-child-theme-fictioneer-calder .chapter-group__list-item-words,
body.wp-child-theme-fictioneer-calder .chapter-group__list-item-date {
	color: var(--calder-text-secondary);
}

body.wp-child-theme-fictioneer-calder .chapter__actions .button,
body.wp-child-theme-fictioneer-calder .micro-menu::before,
body.wp-child-theme-fictioneer-calder .paragraph-tools__actions .button {
	background: rgba(12, 13, 20, 0.92);
	border-color: var(--calder-border);
}

body.wp-child-theme-fictioneer-calder .fictioneer-comments__title,
body.wp-child-theme-fictioneer-calder .comment-reply-title {
	font-family: var(--ff-heading);
}

body.wp-child-theme-fictioneer-calder textarea,
body.wp-child-theme-fictioneer-calder input[type="text"],
body.wp-child-theme-fictioneer-calder input[type="email"],
body.wp-child-theme-fictioneer-calder input[type="url"],
body.wp-child-theme-fictioneer-calder input[type="number"],
body.wp-child-theme-fictioneer-calder select {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--calder-border);
	color: var(--calder-text-primary);
	border-radius: 14px;
}

.calder-chapter-hub__header {
	margin-bottom: 1.75rem;
}

.calder-chapter-hub__intro {
	max-width: 42rem;
	color: var(--calder-text-secondary);
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0.85rem 0 0;
}

.calder-chapter-groups {
	display: grid;
	gap: 1.5rem;
}

.calder-chapter-group {
	padding: 1.5rem;
}

.calder-chapter-group__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.2rem;
}

.calder-chapter-group__identity {
	display: grid;
	grid-template-columns: minmax(120px, 150px) minmax(0, 1fr);
	gap: 1.25rem;
	flex: 1 1 600px;
}

.calder-chapter-group__cover {
	display: block;
}

.calder-chapter-group__image {
	width: 100%;
	height: auto;
	border-radius: 18px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.calder-chapter-group__copy {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.calder-chapter-group__copy p,
.calder-chapter-group__empty {
	color: var(--calder-text-secondary);
	margin: 0;
}

.calder-chapter-group__copy h2 {
	margin: 0;
}

.calder-chapter-group__copy h2 a {
	color: #ffffff;
	text-decoration: none;
}

.calder-chapter-group__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.calder-chapter-group__meta span {
	border: 1px solid var(--calder-border);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--calder-text-primary);
	font-family: var(--ff-note);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	padding: 0.55rem 0.9rem;
	text-transform: uppercase;
}

.calder-chapter-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.calder-chapter-list__item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	padding: 0.95rem 1rem;
	border: 1px solid var(--calder-border);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
}

.calder-chapter-list__main {
	min-width: 0;
	flex: 1 1 320px;
}

.calder-chapter-list__main a {
	color: #ffffff;
	font-family: var(--ff-note);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
}

.calder-chapter-list__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	color: var(--calder-text-secondary);
	font-size: 0.9rem;
}

@media (max-width: 840px) {
	.calder-chapter-group__identity {
		grid-template-columns: 1fr;
	}
}

body.wp-child-theme-fictioneer-calder textarea::placeholder,
body.wp-child-theme-fictioneer-calder input::placeholder {
	color: var(--calder-text-secondary);
}

body.wp-child-theme-fictioneer-calder .fictioneer-comment__container,
body.wp-child-theme-fictioneer-calder .fictioneer-comment__parent-comment {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--calder-border);
}

body.wp-child-theme-fictioneer-calder .fictioneer-comment__body,
body.wp-child-theme-fictioneer-calder .fictioneer-comment__author,
body.wp-child-theme-fictioneer-calder .fictioneer-comment__footer,
body.wp-child-theme-fictioneer-calder .fictioneer-comment__info {
	color: var(--calder-text-primary);
}

body.wp-child-theme-fictioneer-calder .footer {
	margin-top: 2.5rem;
	background: rgba(9, 10, 16, 0.92);
	border-top: 1px solid var(--calder-border);
}

body.wp-child-theme-fictioneer-calder .footer__wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
}

.calder-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.calder-footer__list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.calder-footer__list a,
.calder-footer__copyright,
body.wp-child-theme-fictioneer-calder .breadcrumbs {
	color: var(--calder-text-secondary);
	font-family: var(--ff-note);
}

body.wp-child-theme-fictioneer-calder .breadcrumbs__item:not(:last-child)::after {
	color: rgba(255, 255, 255, 0.25);
}

body.wp-child-theme-fictioneer-calder .progress {
	top: 72px;
}

@media only screen and (max-width: 1023px) {
	body.wp-child-theme-fictioneer-calder .main-navigation__wrapper {
		grid-template-columns: auto auto 1fr auto;
	}

	body.wp-child-theme-fictioneer-calder .main-navigation__left,
	.calder-nav-actions {
		display: none;
	}

	.calder-brand__tagline {
		display: none;
	}

	.calder-hero__inner,
	.calder-feature-card,
	body.wp-child-theme-fictioneer-calder .story__header,
	.calder-story-grid,
	.calder-split-grid,
	.calder-story-card--featured {
		grid-template-columns: 1fr;
	}

	.calder-workflow-grid {
		grid-template-columns: 1fr;
	}
}

@media only screen and (max-width: 767px) {
	body.wp-child-theme-fictioneer-calder .main {
		padding-top: 5.5rem;
	}

	body.wp-child-theme-fictioneer-calder .main-navigation__wrapper,
	.calder-shell,
	body.wp-child-theme-fictioneer-calder .footer__wrapper {
		width: min(100% - 1.5rem, 1200px);
		padding-left: 0;
		padding-right: 0;
	}

	.calder-hero {
		min-height: 72vh;
		padding: 7.5rem 0 4rem;
	}

	.calder-hero__meta {
		display: grid;
	}

	body.wp-child-theme-fictioneer-calder .story__summary,
	body.wp-child-theme-fictioneer-calder .story__after-summary,
	body.wp-child-theme-fictioneer-calder .story__tabs,
	body.wp-child-theme-fictioneer-calder .story__tab-target,
	body.wp-child-theme-fictioneer-calder .chapter__headline,
	body.wp-child-theme-fictioneer-calder .chapter__content,
	body.wp-child-theme-fictioneer-calder .chapter__comments,
	body.wp-child-theme-fictioneer-calder .post,
	body.wp-child-theme-fictioneer-calder .singular__content {
		padding: 1.2rem;
	}

	body.wp-child-theme-fictioneer-calder .chapter__content {
		font-size: 1.02rem;
		line-height: 1.8;
	}

	.calder-footer {
		align-items: flex-start;
	}

	.calder-footer__copyright {
		display: grid;
		gap: 0.2rem;
	}
}
