/* Hill City Web Themes docs: title band, section tree, articles. Brand: ink, yellow, pink decoration. */
.hcwd {
	--ink: #111;
	--text: #4d4d4d;
	--muted: #6b6b6b;
	--line: #e2e2e2;
	--grey: #f4f4f4;
	--yellow: #ffd84d;
	--pink: #fe3e6b;
	color: var(--text);
	font-size: 16px;
	line-height: 1.7;
}
.hcw-docs .entry-content > .hcwd,
.hcwd { margin: 0; max-width: none; }
.hcw-docs .site-main,
.hcw-docs .content-area,
.hcw-docs .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.hcwd-wrap { box-sizing: border-box; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Title band */
.hcwd-hero {
	position: relative;
	overflow: hidden;
	padding: 64px 0 40px;
	background: radial-gradient(circle at 85% 20%, rgb(254 62 107 / 18%), transparent 45%), radial-gradient(circle at 10% 110%, rgb(255 216 77 / 12%), transparent 40%), var(--ink);
	color: #fff;
}
.hcwd-hero__eyebrow { margin: 0 0 10px; color: var(--yellow); font: 700 12px/1.4 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hcwd .hcwd-hero__title { margin: 0; color: #fff; font: 800 clamp(30px, 4.4vw, 48px)/1.1 Montserrat, sans-serif; letter-spacing: -.01em; text-transform: none; }
.hcwd-hero__title .hcwd-pro { vertical-align: middle; font-size: 12px; }
.hcwd-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: #bdbdbd; }
.hcwd-crumbs li { margin: 0; }
.hcwd-crumbs li + li::before { content: "›"; margin: 0 10px; color: #8a8a8a; }
.hcwd-crumbs a { color: #d6d6d6; text-decoration: none; }
.hcwd-crumbs a:hover { color: #fff; text-decoration: underline; }
.hcwd-crumbs [aria-current] { color: #fff; }

/* Two columns */
.hcwd-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 80px; align-items: start; }

/* Section tree */
.hcwd-nav { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow: auto; padding-right: 6px; font-size: 15px; }
.admin-bar .hcwd-nav { top: 142px; }
.hcwd-nav__toggle { display: none; }
.hcwd-nav nav > a,
.hcwd-nav__group > summary { display: block; padding: 7px 0; color: var(--ink); font: 700 15px/1.4 Montserrat, sans-serif; text-decoration: none; cursor: pointer; list-style: none; }
.hcwd-nav__group > summary::-webkit-details-marker { display: none; }
.hcwd-nav__group > summary::after { content: "+"; float: right; color: var(--muted); font-weight: 600; }
.hcwd-nav__group[open] > summary::after { content: "–"; }
.hcwd-nav nav > a.is-current { color: var(--ink); box-shadow: inset 3px 0 0 var(--pink); padding-left: 12px; }
.hcwd-nav ul { margin: 2px 0 8px; padding: 0; list-style: none; }
.hcwd-nav li { margin: 0; }
.hcwd-nav li > a { display: block; padding: 5px 0 5px 14px; border-left: 1px solid var(--line); color: var(--text); text-decoration: none; line-height: 1.45; }
.hcwd-nav li > a:hover { color: var(--ink); border-left-color: var(--ink); }
.hcwd-nav li.is-current > a { border-left: 3px solid var(--pink); padding-left: 12px; color: var(--ink); font-weight: 700; background: var(--grey); }
.hcwd-toc { margin: 4px 0 8px 14px !important; }
.hcwd-toc a { padding: 3px 0 3px 12px !important; font-size: 13.5px; color: var(--muted) !important; }
.hcwd-toc a.is-active { color: var(--ink) !important; border-left-color: var(--ink) !important; }

/* Article */
.hcwd-article { min-width: 0; max-width: 780px; }
.hcwd-article > :first-child { margin-top: 0; }
.hcwd .hcwd-article h2 { scroll-margin-top: 120px; margin: 44px 0 14px; padding-top: 4px; color: var(--ink); font: 800 24px/1.25 Montserrat, sans-serif; letter-spacing: 0; text-transform: none; }
.hcwd .hcwd-article h3 { margin: 28px 0 10px; color: var(--ink); font: 700 18px/1.35 Montserrat, sans-serif; text-transform: none; }
.hcwd-article p, .hcwd-article li { color: var(--text); }
.hcwd-article ol, .hcwd-article ul { padding-left: 1.3em; }
.hcwd-article li { margin: 6px 0; }
.hcwd-article a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.hcwd-article code, .hcwd-article kbd { padding: 1px 6px; border-radius: 4px; background: var(--grey); color: var(--ink); font-size: .9em; }
.hcwd-article em { color: var(--ink); font-style: normal; font-weight: 600; }
.hcwd-article table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.hcwd-article th, .hcwd-article td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.hcwd-article th { background: var(--grey); color: var(--ink); }

/* Labels and buttons */
.hcwd-pro { display: inline-block; padding: 2px 7px; border-radius: 3px; background: var(--yellow); color: var(--ink); font: 800 10px/1.4 Montserrat, sans-serif; letter-spacing: .08em; text-transform: uppercase; vertical-align: 2px; }
.hcwd .hcwd-button { display: inline-block; padding: 14px 24px; background: var(--ink); color: #fff !important; font: 800 12px/1 Montserrat, sans-serif; letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; }
.hcwd .hcwd-button:hover { background: #333; }
.hcwd-link { margin-left: 14px; color: var(--ink); font-weight: 700; text-decoration: none; }

/* Pager and help */
.hcwd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 56px 0 0; }
.hcwd-pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); color: var(--ink) !important; font: 700 16px/1.4 Montserrat, sans-serif; text-decoration: none !important; }
.hcwd-pager a:hover { border-color: var(--ink); }
.hcwd-pager span { display: block; margin-bottom: 4px; color: var(--muted); font: 600 12px/1.4 Montserrat, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.hcwd-pager__next { grid-column: 2; text-align: right; }
.hcwd-help { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin: 24px 0 0; padding: 22px 24px; background: var(--grey); }
.hcwd-help p { margin: 0; }

/* Theme home: section cards */
.hcwd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 40px 0 0; }
.hcwd-card { padding: 24px; border: 1px solid var(--line); border-top: 3px solid var(--ink); }
.hcwd .hcwd-card__title { margin: 0 0 10px !important; font-size: 18px !important; }
.hcwd-card ul { margin: 0; padding: 0; list-style: none; }
.hcwd-card li { margin: 0; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hcwd-card li:last-child { border-bottom: 0; }
.hcwd-card a { text-decoration: none; font-weight: 600; }

/* Hub */
.hcwd-hub { padding-top: 56px; padding-bottom: 88px; }
.hcwd-lead { max-width: 760px; font-size: 18px; }
.hcwd-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 36px; }
.hcwd-theme { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.hcwd-theme__head { padding: 28px 28px 24px; background: var(--ink); color: #d6d6d6; }
.hcwd-theme__label { margin: 0 0 6px; color: var(--yellow); font: 700 11px/1.4 Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hcwd .hcwd-theme__head h2 { margin: 0 0 8px; color: #fff; font: 800 30px/1.1 Montserrat, sans-serif; text-transform: none; }
.hcwd-theme__head p:last-child { margin: 0; }
.hcwd-theme__sections { margin: 0; padding: 12px 28px; list-style: none; }
.hcwd-theme__sections li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.hcwd-theme__sections li span:last-child { color: var(--muted); font-weight: 400; font-size: 14px; }
.hcwd-theme__actions { margin: auto 0 0; padding: 18px 28px 6px; }
.hcwd-theme__count { margin: 0; padding: 0 28px 22px; color: var(--muted); font-size: 13px; }
.hcwd-theme.is-soon { border-style: dashed; background: transparent; }
.hcwd-theme.is-soon .hcwd-theme__head { background: var(--grey); color: var(--text); }
.hcwd-theme.is-soon h2 { color: var(--ink) !important; font-size: 24px !important; }
.hcwd-theme.is-soon .hcwd-theme__label { color: var(--muted); }

/* Phones and tablets */
@media (max-width: 900px) {
	.hcwd-hero { padding: 44px 0 30px; }
	.hcwd-body { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
	.hcwd-nav { position: static; max-height: none; padding: 0; border: 1px solid var(--line); }
	.hcwd-nav__toggle { display: block; padding: 14px 16px; color: var(--ink); font: 700 14px/1.4 Montserrat, sans-serif; cursor: pointer; }
	.hcwd-nav > nav { padding: 0 16px 12px; }
	.hcwd-cards { grid-template-columns: 1fr; }
	.hcwd-pager { grid-template-columns: 1fr; }
	.hcwd-pager__next { grid-column: auto; }
}

/* The theme underlines content links; the docs chrome does not. */
.hcwd-nav a, .hcwd-crumbs a, .hcwd-card a, .hcwd-pager a, .hcwd-link, .hcwd-theme a { text-decoration: none !important; }
.hcwd-nav a:hover, .hcwd-card a:hover, .hcwd-link:hover { text-decoration: underline !important; text-decoration-color: var(--pink) !important; text-underline-offset: 3px; }

/* The docs draw their own title; hide the theme's entry header on docs pages. */
.hcw-docs .tf-entry__header { display: none; }
.hcw-docs .tf-entry { margin-top: 0; padding-top: 0; }

/* The theme spaces list items (li + li margin); breadcrumbs and docs navigation sit on one rhythm. */
.hcwd .hcwd-crumbs ol { align-items: center; line-height: 1.6; }
.hcwd .hcwd-crumbs li,
.hcwd .hcwd-nav li,
.hcwd .hcwd-card li,
.hcwd .hcwd-theme__sections li { margin-top: 0 !important; margin-bottom: 0 !important; line-height: inherit; }

/* Theme card actions: button and "Get started" side by side, wrapping as a whole. */
.hcwd .hcwd-theme__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hcwd .hcwd-theme__actions .hcwd-link { margin: 0; white-space: nowrap; }
.hcwd .hcwd-theme__sections { margin: 0 !important; padding: 12px 28px !important; }

/* Screenshots */
.hcwd .hcwd-shot { margin: 26px 0 30px; }
.hcwd .hcwd-shot a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgb(17 17 17 / 8%); text-decoration: none; cursor: zoom-in; }
.hcwd .hcwd-shot img { display: block; width: 100%; height: auto; margin: 0; }
.hcwd .hcwd-shot figcaption { margin: 10px 2px 0; text-align: left; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hcwd-zoom { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 24px; background: rgb(17 17 17 / 88%); cursor: zoom-out; }
.hcwd-zoom img { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgb(0 0 0 / 40%); }
