/*
 * CircularONE Document Centre theme for BookStack.
 *
 * Values are taken from the live Document360 reader site
 * (documents.circularone.ai, measured Oct 2026): its article stylesheet
 * (rendered sizes, spacing and colours, re-implemented here) and its layout
 * (full-site tree left, article centre, "On this page" right, 12px nav text).
 * Rules for docs pages are scoped to body.c1-docs so BookStack's admin and
 * editor screens keep their normal look.
 */

:root {
  --c1-text: #18181b;
  --c1-muted: #51525c;
  --c1-subtle: #70707a;
  --c1-green: #2b7003;
  --c1-green-light: #64aa4b;
  --c1-band: #e0eedb;
  --c1-border: #e4e4e7;
  --c1-border-strong: #d1d1d6;
  --c1-bar: #f4f4f5;
  --c1-nav-size: 12.1875px;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body { font-family: var(--font-body); }

/* ================================================================ header
   Document360 (measured): 52px tall; logo 140x42; from 1280px uppercase 13px
   links; a 32px ☰ menu button with a green icon; LOGIN in green 16px. On the
   landing page it lines up with the page container, elsewhere 24px padding. */

#header, #header.primary-background {
  background-color: #fff !important;
  color: var(--c1-text);
  border-bottom: 1px solid var(--c1-border);
  box-shadow: none;
  padding: 0;
  display: block;
}
.c1-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 51px; /* + 1px border = 52px */
  padding: 0 24px;
}
.c1-landing .c1-header-inner { padding: 0; width: 85%; margin: 0 auto; }
@media (min-width: 1241px) { .c1-landing .c1-header-inner { width: 1200px; } }
@media (min-width: 1367px) { .c1-landing .c1-header-inner { width: 90%; } }
#header .logo { padding: 0; margin: 0; display: block; }
#header .logo-image { width: 140px; height: 42px; max-height: none; margin: 0; display: block; }
.c1-header-links { display: flex; align-items: center; gap: 0; }
.c1-hlink {
  display: none;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c1-green-light) !important;
  margin-right: 24px;
  text-decoration: none;
}
.c1-hlink:hover { color: var(--c1-green) !important; }
.c1-whatsnew {
  display: none;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--c1-green-light) !important;
}
.c1-whatsnew:hover { background: #f4f4f5; }
.c1-whatsnew svg { width: 18px; height: 18px; }
@media (min-width: 1280px) {
  .c1-hlink { display: inline-block; }
  .c1-whatsnew { display: inline-flex; }
  .c1-menu-guest { display: none; }
}
.c1-menu { position: relative; }
.c1-menu > summary {
  list-style: none;
  margin: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  color: var(--c1-green-light);
}
.c1-menu > summary::-webkit-details-marker { display: none; }
.c1-menu > summary:hover { background: #f4f4f5; }
.c1-menu > summary svg { width: 16px; height: 16px; }
.c1-menu-panel {
  position: absolute;
  right: 0;
  top: 40px;
  z-index: 50;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--c1-border);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.12) 0 8px 24px;
  padding: 6px;
}
.c1-menu-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--c1-text) !important;
  text-decoration: none;
}
.c1-menu-panel a:hover { background: #f4f4f5; color: var(--c1-green) !important; }
.c1-menu-panel svg { width: 16px; height: 16px; fill: currentColor; margin: 0; }
.c1-menu-panel hr { border: 0; border-top: 1px solid var(--c1-border); margin: 6px 0; }
.c1-menu-panel .hide-over-l { display: none !important; }
.c1-hlogin {
  margin-left: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--c1-green-light) !important;
  text-decoration: none;
}
@media (max-width: 599px) { .c1-hlogin { display: none; } }
#header .dropdown-container { margin-left: 24px; }
#header .user-name { color: var(--c1-text); font-size: 13px; }
.dark-mode #header, .dark-mode #header.primary-background { background-color: #18181b !important; border-bottom-color: #3f3f46; }
.dark-mode .c1-hlink { color: #e4e4e7 !important; }

/* ================================================================ docs layout
   Document360 article pages (measured at 1000-1920px): UI text is 0.8125 of a
   base size that is 15px below 1200px and 16px from 1200px; navigation column
   is 25% of the window (max 460px); a 55px icon rail on the right. */

:root { --c1-rem: 15px; --c1-ui: 12.1875px; }
@media (min-width: 1200px) { :root { --c1-rem: 16px; --c1-ui: 13px; } }

body.c1-docs { background: #fff; }
.dark-mode body.c1-docs { background: #18181b; }

/* Breadcrumb bar under the header: 44px, grey, 24px side padding. */
.c1-topbar { background: var(--c1-bar); padding: 0 24px; }
.dark-mode .c1-topbar { background: #27272a; }
.c1-breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; height: 44px; padding: 0 4px; font-size: var(--c1-ui); line-height: 1.55; }
.c1-breadcrumbs a { color: var(--c1-muted); text-decoration: none; }
.c1-breadcrumbs a:last-child { color: var(--c1-text); font-weight: 500; }
.c1-breadcrumbs a:hover { color: var(--c1-green); }
.c1-crumb-home { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; }
.c1-crumb-home svg { width: 16px; height: 16px; fill: currentColor; }
.c1-crumb-sep { display: inline-flex; width: 32px; justify-content: center; color: var(--c1-muted); }
.c1-crumb-sep svg { width: 12px; height: 12px; }

@media screen and (min-width: 1001px) {
  .c1-docs .tri-layout-container,
  .c1-docs .tri-layout-sides-content {
    grid-template-areas: "a b c";
    grid-template-columns: min(25%, 460px) minmax(0, 1fr) 55px;
    column-gap: 0;
    margin: 0;
  }
  .c1-docs .tri-layout-sides { grid-column-start: a; grid-column-end: c; }
  .c1-docs .tri-layout-sides-content { display: grid; position: static; max-height: none; overflow: visible; padding: 0; margin: 0; }
  .c1-docs .tri-layout-left-contents,
  .c1-docs .tri-layout-right-contents {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .c1-docs .tri-layout-left-contents { padding: 24px 8px 24px 32px; }
  .c1-docs .tri-layout-right-contents { padding: 48px 0 0; overflow: visible; }
  .c1-docs .tri-layout-left { border-right: 1px solid var(--c1-border); min-height: calc(100vh - 97px); }
  .c1-docs .tri-layout-right { border-left: 1px solid var(--c1-border); }
  .c1-docs .tri-layout-middle { padding-top: 0; }
  .c1-docs .tri-layout-middle-contents { max-width: none; margin: 0; padding: 24px 33px 0 32px; }
}
.c1-docs .tri-layout-left-contents > *,
.c1-docs .tri-layout-right-contents > * { opacity: 1 !important; }

.c1-docs .content-wrap.card {
  box-shadow: none;
  background: transparent;
  border-radius: 0;
  padding: 0 0 48px;
  margin: 0;
}

/* ---- navigation tree: 32px rows, 13px text, 16px indent with guide lines */

.c1-tree { font-size: var(--c1-ui); line-height: 24px; color: var(--c1-text); }
.c1-tree ul { list-style: none; margin: 0; padding: 0; }
.c1-tree ul ul { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--c1-border); }
.c1-tree li { margin: 0; }
.c1-tree a { color: inherit; text-decoration: none; display: block; padding: 4px 0; line-height: 24px; min-height: 32px; box-sizing: border-box; }
.c1-tree a:hover { color: var(--c1-green); }
.c1-tree summary { list-style: none; display: flex; align-items: center; cursor: pointer; }
.c1-tree summary::-webkit-details-marker { display: none; }
.c1-tree summary::before {
  content: '';
  flex: 0 0 12px;
  height: 12px;
  margin: 0 12px 0 4px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/11px no-repeat;
  transition: transform 0.15s;
}
.c1-tree details[open] > summary::before { transform: rotate(90deg); }
.c1-tree summary > a { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c1-tree .c1-page > a { padding-left: 28px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: relative; }
.c1-tree .active > a,
.c1-tree .active > details > summary > a { color: var(--c1-green); }
.c1-tree .c1-page.active > a::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--c1-green);
}
.c1-tree-search {
  display: flex;
  align-items: center;
  width: 225px;
  max-width: 100%;
  height: 36px;
  background: var(--c1-bar);
  border-radius: 8px;
  padding: 4px 4px 4px 8px;
  margin-bottom: 16px;
  box-sizing: border-box;
}
.c1-tree-search svg { width: 14px; height: 14px; fill: var(--c1-muted); margin: 0 8px 0 4px; flex: 0 0 14px; }
.c1-tree-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: calc(var(--c1-ui) * 1.08);
  color: var(--c1-text);
  padding: 0;
}
.c1-tree-search input::placeholder { color: var(--c1-muted); }
.c1-tree-search button {
  flex: 0 0 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--c1-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c1-tree-search button:hover { background: #e4e4e7; color: var(--c1-text); }
.c1-tree-search button svg { margin: 0; }

/* ---- right rail: icons that open tags, contents, attachments, editor tools */

.c1-rail { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.c1-flyout { position: relative; }
.c1-flyout > summary {
  list-style: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  color: var(--c1-muted);
}
.c1-flyout > summary::-webkit-details-marker { display: none; }
.c1-flyout > summary:hover, .c1-flyout[open] > summary { background: var(--c1-bar); color: var(--c1-text); }
.c1-flyout > summary svg { width: 18px; height: 18px; }
.c1-flyout-panel {
  position: absolute;
  right: 46px;
  top: 0;
  z-index: 40;
  width: 280px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--c1-border);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.12) 0 8px 24px;
  padding: 14px 16px;
  font-size: var(--c1-ui);
}
.c1-flyout-panel h5 { font-size: var(--c1-ui); font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--c1-text); margin: 0 0 8px; }
.c1-toc ul { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--c1-border); }
.c1-toc li a { display: block; padding: 3px 0 3px 10px; line-height: 18px; color: var(--c1-muted); text-decoration: none; }
.c1-toc li a:hover { color: var(--c1-green); }
.c1-toc .c1-toc-h3 a, .c1-toc .c1-toc-h4 a { padding-left: 20px; }
.c1-toc .c1-toc-h5 a, .c1-toc .c1-toc-h6 a { padding-left: 30px; }
.c1-tag {
  display: inline-block;
  font-size: 11px;
  border: 1px solid var(--c1-border);
  border-radius: 4px;
  padding: 1px 8px;
  margin: 0 4px 4px 0;
  color: var(--c1-muted);
  text-decoration: none;
}
.c1-tag:hover { border-color: var(--c1-green); color: var(--c1-green); }
.c1-flyout-panel .actions, .c1-flyout-panel #page-attachments { font-size: 13px; }

/* ---- title line and folder pages */

.c1-docs .page-content > div > h1#bkmrk-page-title,
.c1-folder-page > h1 {
  font-family: var(--font-heading);
  font-size: calc(var(--c1-rem) * 1.328 + 0.9375vw);
  line-height: 1.2;
  font-weight: 600;
  color: var(--c1-text);
  margin: 0 0 13px;
}
@media (min-width: 1280px) {
  .c1-docs .page-content > div > h1#bkmrk-page-title, .c1-folder-page > h1 { font-size: 32.5px; line-height: 39px; }
}
.c1-page-meta {
  font-size: 12px;
  line-height: 18.6px;
  color: var(--c1-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.c1-docs .page-content .c1-page-meta { padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--c1-border); }
.c1-page-meta .c1-read { margin-left: auto; font-size: 13px; }
.c1-folder-page > h1 { display: flex; align-items: center; gap: 10px; }
.c1-folder-page > .c1-page-meta { margin-bottom: 24px; }
.c1-folder-icon svg, .c1-page-icon svg { width: 22px; height: 22px; fill: currentColor; }
.c1-folder-page > h1 .c1-folder-icon svg { width: 30px; height: 30px; color: #71717a; }
.c1-folder-item { margin: 0 0 22px; }
.c1-folder-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--c1-green);
  text-decoration: none;
}
.c1-folder-title:hover { text-decoration: underline; }
.c1-folder-item .c1-page-meta { margin: 4px 0 6px; }
.c1-excerpt { font-size: 13px; line-height: 20px; color: var(--c1-text); margin: 0; }

/* ================================================================ article content
   Written for this theme from rendered measurements of the old site (sizes,
   spacing, colours); no third-party stylesheet code. The content keeps its
   original markup (callout boxes, collapsible sections, image classes set by
   the importer), which these rules style. */

.c1-docs .page-content {
  font-family: var(--font-body);
  font-size: var(--c1-rem);
  line-height: 1.8;
  color: var(--c1-text);
}
.dark-mode .c1-docs .page-content { color: #e4e4e7; }

/* Headings: weight 600, fixed sizes, space above equal to the size. */
.c1-docs .page-content :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading);
  font-weight: 600;
  color: inherit;
  padding: 0;
  margin: 1em 0 0;
}
.c1-docs .page-content h1 { font-size: 32px; line-height: 54px; }
.c1-docs .page-content h2 { font-size: 28px; line-height: 42px; }
.c1-docs .page-content h3 { font-size: 24px; line-height: 36px; }
.c1-docs .page-content h4 { font-size: 20px; line-height: 30px; }
.c1-docs .page-content h5 { font-size: 16px; line-height: 27px; }
.c1-docs .page-content h6 { font-size: 12px; line-height: 24px; }
.c1-docs .page-content :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }

/* Text, lists, links, rules. */
.c1-docs .page-content p { margin: 16px 0 0; font-size: inherit; line-height: inherit; }
.c1-docs .page-content > div > p { font-size: 16px; line-height: 24px; }
.c1-docs .page-content :is(ul, ol) { margin: 16px 0 0; padding-left: 30px; }
.c1-docs .page-content li { font-size: var(--c1-rem); line-height: 1.8; margin: 0; }
.c1-docs .page-content li p { margin: 0; }
.c1-docs .page-content li > :is(ul, ol) { margin-top: 0; }
.c1-docs .page-content ul ul { list-style-type: circle; }
.c1-docs .page-content ul ul ul { list-style-type: square; }
.c1-docs .page-content ol ol { list-style-type: lower-alpha; }
.c1-docs .page-content ol ol ol { list-style-type: lower-roman; }
.c1-docs .page-content a[href] { color: var(--c1-green); text-decoration: underline; }
.dark-mode .c1-docs .page-content a[href] { color: var(--c1-green-light); }
.c1-docs .page-content a[href]:has(> img:only-child) { text-decoration: none; }
.c1-docs .page-content hr { border: 0; border-top: 1px solid var(--c1-text); height: 0; margin: 16px 0 0; background: none; }

/* Images sit inline unless the importer marked them as block/aligned. */
.c1-docs .page-content img { max-width: 100%; height: auto; vertical-align: middle; display: inline; margin: 0; }
.c1-docs .page-content .d360-display-flex { display: block; float: none; margin: 0 auto; }
.c1-docs .page-content .d360-display-flex.d360-align-left { margin-left: 0; }
.c1-docs .page-content .d360-display-flex.d360-align-right { margin-right: 0; }
.c1-docs .page-content .d360-display-inline { display: inline-block; }
.c1-docs .page-content .d360-display-inline.d360-align-left { float: left; margin: 0 12px 8px 0; }
.c1-docs .page-content .d360-display-inline.d360-align-right { float: right; margin: 0 0 8px 12px; }
.c1-docs .page-content .d360-round { border-radius: 10px; }
.c1-docs .page-content .d360-border { border: 3px solid #ccc; }
.c1-docs .page-content .d360-shadow { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.c1-docs .page-content .image-view { margin: 0; }
.c1-docs .page-content .image-view.center { text-align: center; }
.c1-docs .page-content .image-view.right { text-align: right; }
.c1-docs .page-content :is(video, object, iframe) { max-width: 100%; }

/* Tables: light grey grid, 40px rows, grey header cells; wide tables scroll. */
.c1-docs .page-content table { border-collapse: collapse; margin: 16px 0 0; width: auto; max-width: none; }
.c1-docs .page-content div:has(> table) { overflow-x: auto; }
.c1-docs .page-content :is(td, th) {
  border: 1px solid var(--c1-border);
  padding: 2px 10px;
  height: 40px;
  min-width: 80px;
  text-align: left;
  vertical-align: middle;
  font-size: var(--c1-rem);
  line-height: 1.8;
}
.c1-docs .page-content th { background: var(--c1-bar); font-weight: 600; }
.c1-docs .page-content table p { margin: 0; line-height: inherit; overflow-wrap: break-word; }
.c1-docs .page-content table.alternate tr:nth-of-type(even) { background: #fbfbfb; }
.c1-docs .page-content :is(table.MsoTableGrid, table[border]) td { border-color: #000; }

/* Callout boxes (info / success / warning / error) and plain quotes. */
.c1-docs .page-content blockquote {
  margin: 16px 0 0;
  padding: 12px;
  border-left: 4px solid #7f7f7f;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font-style: normal;
  overflow: auto;
}
.c1-docs .page-content blockquote::before, .c1-docs .page-content blockquote::after { content: none !important; display: none !important; }
.c1-docs .page-content blockquote p { margin: 0 !important; }
.c1-docs .page-content .blockquote-title { display: block; font-weight: 600; padding-bottom: 5px; }
.c1-docs .page-content .infoBox { --c1-callout: #006a8a; background: #ddf7ff; }
.c1-docs .page-content .successBox { --c1-callout: #006400; background: #c4f2d4; border-left-color: #029e38 !important; }
.c1-docs .page-content .warningBox { --c1-callout: #7f6416; background: #fdf2ce; }
.c1-docs .page-content .errorBox { --c1-callout: #7e1115; background: #f9e2e4; }
.c1-docs .page-content :is(.infoBox, .successBox, .warningBox, .errorBox) { color: var(--c1-callout); border-left-color: var(--c1-callout); }
.c1-docs .page-content :is(.infoBox, .successBox, .warningBox, .errorBox) a[href] { color: var(--c1-callout); font-weight: 600; }

/* Collapsible sections: rounded bordered box, chevron on the right. */
.c1-docs .page-content .details-wrapper { display: flex; margin: 16px 0 0; }
.c1-docs .page-content details {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--c1-border-strong);
  border-radius: 12px;
  background: transparent;
}
.c1-docs .page-content summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 44px 0 16px;
  margin: 0;
  list-style: none;
  cursor: pointer;
  background: transparent;
  font-weight: normal;
}
.c1-docs .page-content summary::-webkit-details-marker { display: none; }
.c1-docs .page-content summary::marker { content: ''; }
.c1-docs .page-content summary::after {
  content: '';
  position: absolute;
  right: 16px;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  background: var(--c1-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform 0.25s;
}
.c1-docs .page-content details[open] > summary::after { transform: rotate(180deg); }
.c1-docs .page-content summary > * { flex-grow: 1; }
.c1-docs .page-content summary p { margin: 0 !important; }
.c1-docs .page-content details[open] > :not(summary) { padding: 0 16px 16px; border-top: 1px solid var(--c1-border-strong); }
.c1-docs .page-content details[open] > :not(summary) > * { margin-top: 16px; }
.c1-docs .page-content details.d360-details-borderless { border-width: 1px 0 0; border-radius: 0; }
.c1-docs .page-content details.d360-details-borderless > summary { padding-left: 0; }

/* Code and the single converted attachment box. */
.c1-docs .page-content code { padding: 2px 6px; background: #ecedf0; border-radius: 5px; font-size: 12px; line-height: 16px; color: #44403c; }
.c1-docs .page-content pre { overflow-x: auto; padding: 16px; border-radius: 6px; background: var(--c1-bar); border: 1px solid var(--c1-border); }
.c1-docs .page-content pre code { background: none; padding: 0; color: inherit; }
.c1-docs .page-content .d360-attachment { display: flex; gap: 6px; padding: 10px 16px; border: 1px solid #ebeaed; border-radius: 8px; background: #f6f5f8; }

/* ---------------------------------------------------------------- landing page
   Measured from the Document360 home page at 1280px: 40px side margins,
   fixed 276px tiles with 24px gaps, 252x170 image boxes. */

.c1-home { font-family: 'Oxygen', var(--font-body); color: #000; background: #fff; }
/* Container widths follow Document360's breakpoints exactly. */
.c1-wrap { width: 85%; margin: 0 auto; }
@media (min-width: 1241px) { .c1-wrap { width: 1200px; } }
@media (min-width: 1367px) { .c1-wrap { width: 90%; } }

.c1-hero {
  background-size: cover;
  background-position: center;
  padding: 87px 0;
  color: #fff;
}
.c1-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 42px; line-height: 56px; margin: 0 0 14px; color: #fff; }
.c1-hero p { font-family: 'Oxygen', sans-serif; font-size: 20px; line-height: 32px; margin: 0 0 14px; }
.c1-hero h1, .c1-hero p { width: 100%; }
@media (min-width: 601px) { .c1-hero h1, .c1-hero p { width: 75%; } }
@media (min-width: 1201px) { .c1-hero h1, .c1-hero p { width: 65%; } }
@media (min-width: 1367px) { .c1-hero h1, .c1-hero p { width: 50%; } }
.c1-search {
  display: flex;
  align-items: center;
  width: 500px;
  max-width: 100%;
  height: 50px;
  background: #fff;
  border-radius: 8px;
  padding: 1px 8px 1px 12px;
  box-sizing: border-box;
}
.c1-search-icon { display: inline-flex; color: #70707a; margin-right: 8px; }
.c1-search-icon svg { width: 13px; height: 13px; fill: currentColor; }
.c1-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: var(--c1-text);
  background: transparent;
  padding: 0;
}
.c1-search input::placeholder { color: #70707a; }
.c1-search-btn {
  border: 0;
  background: var(--c1-green-light);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  line-height: 18.6px;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
  cursor: pointer;
}

.c1-section { padding: 50px 0; }
.c1-band { background: var(--c1-band); }
.c1-section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 42px;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #000;
}
.c1-intro { font-family: 'Oxygen', sans-serif; font-size: 20px; line-height: 42px; margin: 0 0 18px; color: #000; }
/* One, two or four tiles per row; each is a column width minus a 24px gutter. */
.c1-tiles { display: grid; grid-template-columns: 100%; column-gap: 24px; row-gap: 40px; }
@media (min-width: 601px) { .c1-tiles { grid-template-columns: repeat(2, calc(50% - 24px)); } }
@media (min-width: 1081px) { .c1-tiles { grid-template-columns: repeat(4, calc(25% - 24px)); } }
.c1-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 5px 0;
  padding: 12px 12px 48px;
  color: #000;
  text-decoration: none;
}
.c1-tile:hover { text-decoration: none; box-shadow: rgba(0, 0, 0, 0.25) 0 0 8px 0; }
.c1-tile-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 170px;
  background: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 12px;
  box-sizing: border-box;
}
/* Operation photos fill the box; product photos sit inside 10px padding; content icons show at half size (2x assets). */
.c1-tile-img.c1-photo img { width: 100%; height: 100%; object-fit: cover; }
.c1-tile-img.c1-product { padding: 10px 0; }
.c1-tile-img.c1-product img { height: 150px; width: auto; max-width: 100%; object-fit: contain; }
.c1-tile-img.c1-icon img { width: 71px; height: 70px; object-fit: contain; }
.c1-tile strong { font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 16px; line-height: 28px; margin: 0 0 12px; }
.c1-tile-text { font-family: 'Oxygen', sans-serif; font-size: 16px; line-height: 24px; margin-bottom: 12px; }
.c1-more { position: absolute; left: 12px; bottom: 20px; display: inline-flex; align-items: center; gap: 4px; font-family: 'Oxygen', sans-serif; font-weight: 700; font-size: 16px; line-height: 24px; }
.c1-more svg { width: 16px; height: 16px; }

.c1-footer { background: var(--c1-green-light); color: #fff; padding: 20px 0; font-size: 14px; line-height: 32px; text-align: left; }
.c1-footer p { font-family: 'Oxygen', sans-serif; font-size: 14px; line-height: 32px; margin: 0; }
/* Document360's footer container is slightly narrower than the content one. */
.c1-footer .c1-wrap { width: calc(85% - 34px); }
@media (min-width: 1241px) { .c1-footer .c1-wrap { width: 1200px; } }
@media (min-width: 1367px) { .c1-footer .c1-wrap { width: calc(90% - 36px); } }
.c1-footer a { color: #fff; text-decoration: underline; }

