/* Bunny Studio Help Center — public site. Colours and type follow the previous Zendesk theme. */
:root {
  --navy: #151d39;
  --orange: #e67e22;
  --orange-dark: #c96a16;
  --text: #151d39;
  --muted: #5d6478;
  --line: #e3e5ec;
  --soft: #f6f7fa;
  --radius: 4px;
  --wrap: 1152px;
  font-family: "Open Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); line-height: 1.6; }
a { color: var(--text); }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.hc-header { background: var(--navy); color: #fff; }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 106px; }
.brand img { display: block; width: 200px; height: auto; }
.audience { color: #fff; text-decoration: none; font-size: 22px; letter-spacing: .02em; }
.audience:hover { color: #fff; opacity: .85; }
.header-links { margin-left: auto; }
.header-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.header-links a:hover { color: var(--orange); }

/* Hero */
.hero { background-repeat: no-repeat; background-position: center top; background-size: 1920px auto; text-align: center; padding: 72px 0 32px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.05; font-weight: 700; letter-spacing: .03em; margin: 0 0 24px; }
.subtitle { font-size: clamp(24px, 3vw, 36px); font-weight: 600; margin: 0 0 40px; }
.accent { color: var(--orange); }

/* Search */
.search { display: flex; gap: 6px; }
.search input { flex: 1; min-width: 0; font: inherit; border: 2px solid #d4d6e0; border-radius: var(--radius); padding: 9px 12px 9px 40px;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239aa0b4' stroke-width='2'><circle cx='7.5' cy='7.5' r='6'/><path d='M12 12l5 5'/></svg>") no-repeat 12px center; }
.search input:focus { outline: none; border-color: var(--orange); }
.search button { font: inherit; font-weight: 600; text-transform: uppercase; background: var(--orange); color: #fff; border: 0; border-radius: var(--radius); padding: 0 24px; cursor: pointer; }
.search button:hover { background: var(--orange-dark); }
.search-big { max-width: 605px; margin: 0 auto; }
.search-big input { padding-top: 12px; padding-bottom: 12px; }

/* Client / Pro */
.audience-picker { margin-top: 8px; }
.im-a { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 36px; font-weight: 700; margin: 0; }
.im-a img { width: 87px; }
.audience-buttons { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.audience-buttons a { display: block; border-radius: 40px; }
.audience-buttons img { display: block; width: 256px; }
.audience-buttons a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.pill { display: inline-block; padding: 18px 64px; border: 3px solid var(--line); border-radius: 48px; font-size: 26px; font-weight: 600; color: var(--orange); }
.pill.on { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Topic cards */
.topics { padding: 40px 16px 72px; }
.topics-title { text-align: center; font-weight: 400; font-size: 24px; margin: 0 0 56px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 72px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; height: 100%; padding: 36px 24px 28px;
  border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(21, 29, 57, .06); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 24px rgba(21, 29, 57, .12); transform: translateY(-2px); color: var(--text); }
.card img { width: 132px; height: 147px; object-fit: contain; margin-bottom: 16px; }
.card strong { font-size: 16px; }
.card span { color: var(--text); }

/* Popular */
.popular { border-top: 2px solid var(--soft); padding: 72px 0; }
.popular h2 { font-size: 32px; font-weight: 400; margin: 0 0 56px; }
.popular-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.popular-list li { padding-left: 24px; background: url("../helpcenter/theme/carrot.3d830d2c2bf0.svg") no-repeat 0 4px / 15px 37px; }
.popular-list .title { display: block; font-size: 18px; font-weight: 600; text-decoration: none; line-height: 1.35; }
.popular-list p { margin: 4px 0; font-size: 13px; }
.popular-list .more { color: var(--orange); font-size: 13px; text-decoration: none; }

/* Banners */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 64px 16px 96px; border-top: 2px solid var(--soft); }
.banner { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 160px; padding: 24px 32px; border-radius: 6px;
  background-color: #fd8f1d; background-size: cover; background-position: right center; color: #fff; text-decoration: none; }
.banner strong { font-size: 22px; max-width: 55%; line-height: 1.25; }
.banner span { font-weight: 600; max-width: 55%; }
.banner:hover { color: #fff; filter: brightness(1.04); }

/* Inner pages */
.crumbs-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 36px; padding-bottom: 8px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.crumbs span { margin: 0 6px; }
.crumbs-row .search { width: 460px; max-width: 45%; }
.page { padding-top: 40px; padding-bottom: 96px; }
.page h1, .article h1 { font-size: 36px; line-height: 1.2; margin: 0 0 16px; }
.lead { font-size: 18px; margin: 0 0 48px; }
.article-list { list-style: none; margin: 0; padding: 0 0 0 110px; }
.article-list li { margin: 0 0 32px; }
.article-list a { font-size: 22px; font-weight: 600; text-decoration: none; }
.star { color: var(--orange); }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 96px; }
.meta { color: var(--muted); font-size: 13px; margin: 0 0 32px; }
.article-body { font-size: 16px; overflow-wrap: anywhere; }
.article-body h1, .article-body h2 { font-size: 26px; line-height: 1.3; margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; margin: 32px 0 12px; }
.article-body a { color: var(--orange); }
.article-body img { display: block; margin: 16px auto; border-radius: 4px; }
.article-body figure { margin: 24px 0; }
.article-body figcaption { color: var(--muted); font-size: 13px; text-align: center; }
.article-body table { border-collapse: collapse; width: 100%; margin: 24px 0; display: block; overflow-x: auto; }
.article-body td, .article-body th { border: 1px solid var(--line); padding: 8px 12px; vertical-align: top; }
.article-body th { background: var(--soft); text-align: left; }
.article-body blockquote { border-left: 4px solid var(--orange); margin: 24px 0; padding: 4px 0 4px 16px; color: var(--muted); }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 4px; margin: 16px 0; }
.article-body code { background: var(--soft); padding: 1px 4px; border-radius: 3px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.related h2 { font-size: 28px; margin: 0 0 24px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin: 0 0 24px; }
.related a { font-size: 18px; font-weight: 600; text-decoration: none; }

.vote { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 32px; text-align: center; }
.vote-question { font-weight: 600; margin: 0 0 12px; }
.vote-btn { font: inherit; min-width: 90px; margin: 0 6px; padding: 8px 20px; border: 2px solid var(--orange); background: #fff; color: var(--orange); border-radius: var(--radius); cursor: pointer; }
.vote-btn:hover, .vote-btn.chosen { background: var(--orange); color: #fff; }
.vote-summary { color: var(--muted); font-size: 13px; margin-top: 12px; }
.vote-thanks { font-weight: 600; color: var(--orange); }
.more-questions { text-align: center; margin-top: 32px; }
.more-questions a { color: var(--orange); font-weight: 600; }

/* Search results */
.results { list-style: none; margin: 32px 0 0; padding: 0; }
.results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.results .title { font-size: 20px; font-weight: 600; text-decoration: none; }
.results .where { color: var(--muted); font-size: 13px; margin: 2px 0 6px; }
.results p { margin: 0; }
.results mark { background: #fde7d2; color: inherit; padding: 0 1px; }
.pager { display: flex; gap: 24px; justify-content: center; margin-top: 32px; }
.not-found .search-big { margin: 0 0 24px; }

/* Footer */
.hc-footer { background: var(--navy); color: #fff; padding: 48px 0 32px; margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-left: 128px; }
.footer-cols h2 { font-size: 13px; font-weight: 600; margin: 0 0 12px; }
.footer-cols a { display: block; color: var(--orange); text-decoration: none; font-size: 13px; margin: 0 0 6px; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 12px; }
.footer-bottom img { width: 100px; }
.footer-bottom a { color: var(--orange); text-decoration: none; }

/* Tablets and phones */
@media (max-width: 900px) {
  .cards, .popular-list { grid-template-columns: 1fr 1fr; gap: 24px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { padding-left: 0; }
  .article-list { padding-left: 0; }
}
@media (max-width: 600px) {
  .header-row { min-height: 72px; gap: 16px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .brand img { width: 140px; }
  .audience { font-size: 15px; }
  .header-links { width: 100%; margin-left: 0; }
  .hero { padding-top: 40px; }
  .im-a { font-size: 26px; }
  .im-a img { width: 56px; }
  .audience-buttons { gap: 12px; }
  .audience-buttons img { width: 150px; }
  .popular-list, .banners, .footer-cols { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 18px 10px 16px; gap: 4px; }
  .card img { width: 80px; height: 90px; margin-bottom: 8px; }
  .card strong { font-size: 14px; }
  .card span { font-size: 12px; line-height: 1.4; }
  .topics-title { font-size: 20px; margin-bottom: 32px; }
  .crumbs-row { flex-direction: column; align-items: stretch; }
  .crumbs-row .search { width: 100%; max-width: none; }
  .page h1, .article h1 { font-size: 28px; }
  .article-list a { font-size: 18px; }
  .banner strong, .banner span { max-width: 70%; }
  .search button { padding: 0 14px; }
}

.preview-bar { background: #fff4e5; color: #93370d; border-bottom: 1px solid #fdb022; padding: 10px 16px; text-align: center; font-weight: 600; }
.preview-bar a { color: #93370d; }

/* Contact form */
.contact-page { max-width: 760px; }
.contact-form { display: grid; gap: 18px; accent-color: var(--orange); }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
  font: inherit; font-weight: 400; border: 2px solid #d4d6e0; border-radius: var(--radius); padding: 10px 12px; width: 100%; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.contact-form input[type=file] { font-weight: 400; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-choice { border: 0; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.audience-choice legend { font-weight: 600; margin-bottom: 6px; }
.audience-choice .radio { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.contact-form .hint { font-weight: 400; color: var(--muted); font-size: 13px; }
.field-error, .form-error { color: #b42318; font-weight: 400; font-size: 14px; }
.form-error { background: #fee4e2; border-radius: var(--radius); padding: 10px 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit { justify-self: start; font: inherit; font-weight: 600; text-transform: uppercase; background: var(--orange); color: #fff;
  border: 0; border-radius: var(--radius); padding: 12px 32px; cursor: pointer; }
.submit:hover { background: var(--orange-dark); }
@media (max-width: 600px) { .contact-row { grid-template-columns: 1fr; } }

/* Files dragged over the form (static/js/dropfiles.js). */
.contact-form[data-drop-files] { position: relative; }
.contact-form.is-dropping::after { content: "Drop to attach"; position: absolute; inset: -10px; z-index: 5;
  display: grid; place-items: center; border: 2px dashed var(--orange); border-radius: 8px; pointer-events: none;
  background: rgba(253, 241, 230, .92); color: #a8560f; font-size: 18px; font-weight: 700; }
.contact-form .drop-hint { margin: -10px 0 0; font-size: 13px; color: var(--muted); }
.contact-form .drop-list:empty { display: none; }
.contact-form .drop-files { list-style: none; margin: -8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.contact-form .drop-file { display: flex; align-items: center; gap: 8px; padding: 4px; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 400; max-width: 100%; }
.contact-form .drop-thumb { width: 48px; height: 32px; flex: none; border-radius: 4px; border: 1px solid var(--line);
  object-fit: cover; background: var(--soft); }
.contact-form .drop-thumb.is-file { display: grid; place-items: center; font-size: 10px; font-weight: 700;
  text-transform: uppercase; color: var(--muted); }
.contact-form .drop-name { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; }
.contact-form .drop-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.contact-form .drop-name small { color: var(--muted); }
.contact-form .drop-x { width: 32px; height: 32px; border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer; }
.contact-form .drop-x:hover { background: var(--soft); color: var(--text); }
.contact-form .drop-clear { border: 0; background: none; color: var(--orange-dark); cursor: pointer; text-decoration: underline; }
.contact-form .drop-problem { margin: 6px 0 0; color: #b42318; font-weight: 600; }
.contact-form .drop-thumb-open { padding: 0; border: 0; background: none; cursor: zoom-in; display: flex; }

/* An image opened large (static/js/lightbox.js). */
dialog.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0;
  padding: 0; border: 0; background: rgba(10, 15, 29, .92); color: #fff; display: none; flex-direction: column; }
dialog.lightbox[open] { display: flex; }
dialog.lightbox::backdrop { background: rgba(10, 15, 29, .6); }
.lb-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.lb-title { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-width: 0; font-size: 14px; color: #e4e7ef; }
.lb-name { font-weight: 600; overflow-wrap: anywhere; }
.lb-count { color: #c9cfdb; font-size: 13px; }
.lb-tools { display: flex; align-items: center; gap: 6px; }
.lb-btn { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.25); border-radius: 8px; background: rgba(255,255,255,.1); color: #fff;
  font: inherit; font-size: 18px; line-height: 1; text-decoration: none; cursor: pointer; }
.lb-btn.lb-text { font-size: 13px; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.22); }
.lb-pct { min-width: 52px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; flex: 1; overflow: hidden; cursor: grab; touch-action: none; }
.lb-stage.is-dragging { cursor: grabbing; }
.lb-img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none;
  box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.lb-nav { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 999px; font-size: 26px; z-index: 2; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-nav[hidden] { display: none; }
.lb-hint { margin: 0; padding: 10px 18px 14px; text-align: center; font-size: 12px; color: #c9cfdb; }
@media (max-width: 600px) { .lb-hint { display: none; } }
