/*
 * ================================================================
 *  Sydney Realty Group – HelpScout Docs Custom Stylesheet v8
 *  Refined clean layout version
 *  Upload: Manage → Docs → [Your site] → Custom Code → Choose File
 * ================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --srg-page: #f7faf9;
  --srg-page-soft: #f4f8f7;
  --srg-surface: #ffffff;
  --srg-surface-soft: #fbfcfc;
  --srg-line: rgba(182, 214, 209, 0.72);
  --srg-line-strong: rgba(149, 195, 188, 0.9);
  --srg-text: #0d2e2a;
  --srg-text-soft: #274542;
  --srg-muted: #6b8480;
  --srg-blue: #2A3092;
  --srg-blue-dark: #1e2578;
  --srg-hover-bg: #f6fbfa;
  --srg-sidebar-active: #eaf5f3;
  --srg-shadow-sm: 0 1px 2px rgba(13, 46, 42, 0.03), 0 6px 16px rgba(13, 46, 42, 0.04);
  --srg-shadow-md: 0 3px 10px rgba(13, 46, 42, 0.05), 0 14px 28px rgba(13, 46, 42, 0.06);
  --srg-radius-sm: 10px;
  --srg-radius-md: 16px;
  --srg-radius-lg: 20px;
  --srg-container: 1180px;
  --srg-reading: 860px;
  --srg-card-height: 176px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span,
div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--srg-text) !important;
  background:
    radial-gradient(circle 420px at 100% 0%, rgba(211, 237, 234, 0.16) 0%, transparent 52%),
    linear-gradient(180deg, var(--srg-page) 0%, var(--srg-page-soft) 100%) !important;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===============================================================
   GLOBAL WIDTHS
   =============================================================== */
.navbar .container,
.navbar-inner .container,
#docsHomeContent,
#docs-home,
#contentArea.container-fluid,
footer .container {
  max-width: var(--srg-container);
  margin-left: auto !important;
  margin-right: auto !important;
}

#docsHomeContent,
#docs-home,
#contentArea.container-fluid {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* ===============================================================
   NAVBAR
   =============================================================== */
.navbar-inner {
  background: rgba(255, 255, 255, 0.58) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(182, 214, 209, 0.38) !important;
  box-shadow: none !important;
}

.navbar .brand,
.navbar .logo {
  display: inline-flex;
  align-items: center;
}

.navbar .nav {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  float: none !important;
  margin: 0 !important;
}

.navbar .nav > li {
  float: none !important;
}

.navbar .nav > li > a {
  padding: 10px 14px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: rgba(13, 46, 42, 0.84) !important;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease !important;
}

.navbar .nav > li > a:hover {
  background: rgba(255, 255, 255, 0.58) !important;
  color: var(--srg-text) !important;
  text-decoration: none !important;
}

.navbar .nav > li.active > a,
.navbar .nav > li.active > a:hover,
.navbar .nav > li.active > a:focus {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--srg-text) !important;
  font-weight: 700 !important;
  box-shadow: inset 0 0 0 1px rgba(182, 214, 209, 0.42);
}

/* ===============================================================
   HERO / HOMEPAGE SEARCH
   =============================================================== */
#docsSearch {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 56px 24px 68px !important;
  border-bottom: 1px solid rgba(182, 214, 209, 0.34) !important;
  background:
    linear-gradient(180deg, #d7ece9 0%, #dff0ed 100%) !important;
}

#docsSearch::before,
#docsSearch::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

#docsSearch::before {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -300px;
}

#docsSearch::after {
  width: 360px;
  height: 360px;
  right: 40px;
  top: -170px;
}

#docsSearch h1,
#docsSearch p,
#searchBar {
  position: relative;
  z-index: 1;
}

#docsSearch h1 {
  max-width: 820px;
  margin: 0 auto 12px !important;
  font-size: 42px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  color: var(--srg-text) !important;
}

#docsSearch p,
#docsSearch .tagline {
  max-width: 720px;
  margin: 0 auto 28px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: rgba(13, 46, 42, 0.70) !important;
}

/* ===============================================================
   SEARCH BAR
   =============================================================== */
#searchBar,
#searchBar.input-append {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 620px !important;
  min-height: 60px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 28px rgba(13, 46, 42, 0.10) !important;
}

#searchBar .search-query,
#searchBar input[type="search"],
#searchBar input[type="text"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--srg-text) !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

#searchBar .search-query::placeholder,
#searchBar input[type="search"]::placeholder,
#searchBar input[type="text"]::placeholder {
  color: #738884 !important;
}

#searchBar .search-query:focus,
#searchBar input[type="search"]:focus,
#searchBar input[type="text"]:focus {
  box-shadow: none !important;
  outline: none !important;
}

#searchBar button,
#searchBar .btn {
  flex: 0 0 132px !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 0 24px !important;
  border: none !important;
  border-left: 1px solid rgba(42, 48, 146, 0.14) !important;
  border-radius: 0 !important;
  background: var(--srg-blue) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: background-color 0.18s ease !important;
}

#searchBar button:hover,
#searchBar .btn:hover {
  background: var(--srg-blue-dark) !important;
  color: #ffffff !important;
}

/* ===============================================================
   HOMEPAGE HEADINGS
   =============================================================== */
.collectionName,
#docs-home h2,
#docsHomeContent h2,
#main-content > h2,
.collection-category > h2 {
  margin: 40px 0 16px !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  font-weight: 800 !important;
  color: var(--srg-text) !important;
}

/* ===============================================================
   HOMEPAGE CARDS / COLLECTIONS
   =============================================================== */
.category-list,
.collection-list,
.twoCol,
.threeCol {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 0 8px 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}

.category-list .category,
.collection-list .collection,
.twoCol .collection,
.threeCol .collection {
  width: 100% !important;
  min-height: var(--srg-card-height) !important;
  height: var(--srg-card-height) !important;
  padding: 22px 22px 18px !important;
  background: var(--srg-surface) !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--srg-shadow-sm) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  overflow: hidden !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
}

.category-list .category:hover,
.collection-list .collection:hover,
.twoCol .collection:hover,
.threeCol .collection:hover {
  background: var(--srg-hover-bg) !important;
  border-color: var(--srg-line-strong) !important;
  box-shadow: var(--srg-shadow-md) !important;
}

.category-list .category h3,
.collection-list .collection h3,
.twoCol .collection h3,
.threeCol .collection h3,
.category-list h3,
.collection-category h2 a {
  margin: 0 0 8px 0 !important;
  font-size: 15px !important;
  line-height: 1.42 !important;
  letter-spacing: -0.01em !important;
  font-weight: 700 !important;
  color: var(--srg-text) !important;
}

.collection-list .collection h3 a,
.twoCol .collection h3 a,
.threeCol .collection h3 a,
.category-list .category h3 a,
.collection-category h2 a {
  color: inherit !important;
  text-decoration: none !important;
}

.collection-list .collection h3 a:hover,
.twoCol .collection h3 a:hover,
.threeCol .collection h3 a:hover,
.category-list .category h3 a:hover,
.collection-category h2 a:hover {
  color: var(--srg-text) !important;
  text-decoration: none !important;
}

.category-list .category p,
.collection-list .collection p,
.twoCol .collection p,
.threeCol .collection p {
  margin: 0 !important;
  color: var(--srg-muted) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-count {
  display: block !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(182, 214, 209, 0.62) !important;
  background: transparent !important;
  color: var(--srg-blue) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

/* ===============================================================
   INNER PAGE 2-COLUMN LAYOUT
   =============================================================== */
#contentArea.container-fluid {
  background: transparent !important;
  padding-top: 28px !important;
}

#contentArea.container-fluid > .row-fluid,
#contentArea.container-fluid > .row {
  display: grid !important;
  grid-template-columns: minmax(220px, 240px) minmax(0, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

#contentArea.container-fluid > .row-fluid > *,
#contentArea.container-fluid > .row > * {
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin-left: 0 !important;
}

#contentArea.container-fluid > .row-fluid > :only-child,
#contentArea.container-fluid > .row > :only-child {
  grid-column: 1 / -1 !important;
}

/* ===============================================================
   SIDEBAR
   =============================================================== */
#sidebar {
  position: sticky;
  top: 22px;
  background: var(--srg-surface) !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  box-shadow: var(--srg-shadow-sm) !important;
  overflow: hidden !important;
}

#sidebar h3 {
  margin: 0 !important;
  padding: 14px 16px 6px !important;
  background: transparent !important;
  color: #9ab5b1 !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

#sidebar form,
#sidebar .searchForm {
  padding: 12px !important;
  margin: 0 !important;
}

#sidebar .input-append,
#sidebar .searchForm .input-append,
#sidebar form .input-append {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100% !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f8fbfa !important;
}

#sidebar input[type="text"],
#sidebar input[type="search"],
#sidebar .search-query {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px 12px !important;
  border: none !important;
  background: transparent !important;
  color: var(--srg-text) !important;
  font-size: 13px !important;
  box-shadow: none !important;
  outline: none !important;
}

#sidebar input[type="text"]:focus,
#sidebar input[type="search"]:focus,
#sidebar .search-query:focus {
  box-shadow: none !important;
  outline: none !important;
}

#sidebar button,
#sidebar .btn,
#sidebar .searchForm button {
  flex: 0 0 52px !important;
  min-height: 44px !important;
  border: none !important;
  border-left: 1px solid rgba(42, 48, 146, 0.12) !important;
  border-radius: 0 !important;
  background: var(--srg-blue) !important;
  color: #ffffff !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

#sidebar .nav-list {
  margin: 0 !important;
}

#sidebar .nav-list a {
  display: block !important;
  padding: 10px 16px !important;
  color: var(--srg-text-soft) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  border-left: 3px solid transparent !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease !important;
}

#sidebar .nav-list a:hover {
  background: var(--srg-hover-bg) !important;
  color: var(--srg-text) !important;
  text-decoration: none !important;
  border-left-color: rgba(94, 159, 150, 0.42) !important;
}

#sidebar .nav-list .active > a,
#sidebar .nav-list .active > a:hover,
#sidebar .nav-list .active > a:focus {
  background: var(--srg-sidebar-active) !important;
  color: var(--srg-text) !important;
  font-weight: 700 !important;
  border-left-color: #3a8c84 !important;
}

.related {
  margin-top: 16px !important;
  padding: 16px !important;
  background: var(--srg-surface) !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 16px !important;
}

/* ===============================================================
   MAIN CONTENT CARD
   =============================================================== */
.contentWrapper,
#main-content,
.main-content {
  min-width: 0 !important;
}

#contentArea .contentWrapper {
  background: var(--srg-surface) !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 18px !important;
  padding: 36px 42px !important;
  box-shadow: var(--srg-shadow-sm) !important;
}

#contentArea .contentWrapper:has(#fullArticle) {
  padding: 40px 46px !important;
}

/* ===============================================================
   COLLECTION / LIST PAGES
   =============================================================== */
#main-content h1,
.contentWrapper h1,
.collection-category h1 {
  margin: 0 0 18px 0 !important;
  font-size: 30px !important;
  line-height: 1.14 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  color: var(--srg-text) !important;
}

#main-content h2,
.contentWrapper:not(:has(#fullArticle)) h2,
.collection-category h2 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--srg-text) !important;
  margin: 0 0 14px 0 !important;
}

#main-content ul,
#main-content ol,
.contentWrapper:not(:has(#fullArticle)) ul,
.contentWrapper:not(:has(#fullArticle)) ol {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#main-content ul li,
#main-content ol li,
.contentWrapper:not(:has(#fullArticle)) ul li,
.contentWrapper:not(:has(#fullArticle)) ol li {
  margin: 0 !important;
  padding: 0 !important;
}

#main-content ul li a,
#main-content ol li a,
.contentWrapper:not(:has(#fullArticle)) ul li a,
.contentWrapper:not(:has(#fullArticle)) ol li a {
  display: block !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(182, 214, 209, 0.42) !important;
  color: #3b7ec1 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

#main-content ul li:last-child a,
#main-content ol li:last-child a,
.contentWrapper:not(:has(#fullArticle)) ul li:last-child a,
.contentWrapper:not(:has(#fullArticle)) ol li:last-child a {
  border-bottom: none !important;
}

#main-content ul li a:hover,
#main-content ol li a:hover,
.contentWrapper:not(:has(#fullArticle)) ul li a:hover,
.contentWrapper:not(:has(#fullArticle)) ol li a:hover {
  color: var(--srg-blue) !important;
}

/* ===============================================================
   ARTICLE PAGE TYPOGRAPHY
   =============================================================== */
#fullArticle h1,
.contentWrapper h1 {
  font-size: 30px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  color: var(--srg-text) !important;
  margin: 0 0 12px 0 !important;
}

#fullArticle h2 {
  margin: 30px 0 12px 0 !important;
  font-size: 20px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: var(--srg-blue) !important;
}

#fullArticle h3 {
  margin: 18px 0 8px 0 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  color: var(--srg-text) !important;
}

#fullArticle h4,
#fullArticle h5 {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  color: var(--srg-text) !important;
}

#fullArticle p,
#fullArticle ul,
#fullArticle ol,
#fullArticle li,
#fullArticle dd {
  color: #2a3e3c !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
}

#fullArticle p {
  margin-bottom: 14px !important;
}

#fullArticle li {
  margin-bottom: 5px !important;
}

#fullArticle a {
  color: var(--srg-blue) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

#fullArticle a:hover {
  text-decoration: underline !important;
}

#fullArticle code {
  background: #eaf6f4;
  border: 1px solid #c8e6e3;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 13px;
  color: #1a4a42;
}

#fullArticle blockquote {
  margin: 18px 0 !important;
  padding: 12px 18px !important;
  background: linear-gradient(135deg, #eaf6f4, #e0f2ef) !important;
  border-left: 3px solid #3a8c84 !important;
  border-radius: 0 8px 8px 0 !important;
}

#fullArticle img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--srg-line) !important;
  border-radius: 10px !important;
}

.articleFoot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(182, 214, 209, 0.42) !important;
  color: #8aa7a3 !important;
  font-size: 12px !important;
}

.articleFoot p,
.articleFoot time {
  color: #8aa7a3 !important;
  font-size: 12px !important;
}

.articleRating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(182, 214, 209, 0.42) !important;
  font-size: 13px !important;
  color: #8aa7a3 !important;
}

.articleRating a.btn {
  padding: 8px 16px !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 10px !important;
  background: var(--srg-surface) !important;
  color: var(--srg-text-soft) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background-image: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

.articleRating a.btn:hover {
  background: var(--srg-hover-bg) !important;
  border-color: var(--srg-line-strong) !important;
  color: var(--srg-text) !important;
}

/* ===============================================================
   SEARCH RESULTS
   =============================================================== */
.search-results .result,
.results .result {
  background: var(--srg-surface) !important;
  border: 1px solid var(--srg-line) !important;
  border-radius: 14px !important;
  padding: 18px 20px !important;
  margin-bottom: 12px !important;
  box-shadow: var(--srg-shadow-sm) !important;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
}

.search-results .result:hover,
.results .result:hover {
  background: var(--srg-hover-bg) !important;
  border-color: var(--srg-line-strong) !important;
  box-shadow: var(--srg-shadow-md) !important;
}

.search-results .result h3 a,
.results .result h3 a {
  color: var(--srg-blue) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.search-results .result p,
.results .result p {
  color: var(--srg-muted) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* ===============================================================
   GLOBAL LINKS / FOOTER
   =============================================================== */
a {
  color: var(--srg-blue);
}

a:hover {
  color: var(--srg-blue-dark);
}

footer {
  background: transparent !important;
  border-top: 1px solid rgba(182, 214, 209, 0.42) !important;
  padding: 22px 40px !important;
  text-align: center;
  color: #90aaa6 !important;
  font-size: 12px !important;
}

footer p,
footer a {
  color: #90aaa6 !important;
}

footer a:hover {
  color: var(--srg-text-soft) !important;
}

/* ===============================================================
   RESPONSIVE
   =============================================================== */
@media (max-width: 980px) {
  .category-list,
  .collection-list,
  .twoCol,
  .threeCol {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #contentArea.container-fluid > .row-fluid,
  #contentArea.container-fluid > .row {
    grid-template-columns: 1fr !important;
  }

  #sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  #docsHomeContent,
  #docs-home,
  #contentArea.container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #docsSearch {
    padding: 44px 18px 54px !important;
  }

  #docsSearch h1 {
    font-size: 30px !important;
  }

  #docsSearch p,
  #docsSearch .tagline {
    font-size: 15px !important;
  }

  #searchBar,
  #searchBar.input-append {
    display: block !important;
    min-height: 0 !important;
  }

  #searchBar .search-query,
  #searchBar input[type="search"],
  #searchBar input[type="text"] {
    width: 100% !important;
    min-height: 56px !important;
  }

  #searchBar button,
  #searchBar .btn {
    width: 100% !important;
    min-height: 56px !important;
    border-left: none !important;
    border-top: 1px solid rgba(42, 48, 146, 0.10) !important;
  }

  .category-list,
  .collection-list,
  .twoCol,
  .threeCol {
    grid-template-columns: 1fr !important;
  }

  .category-list .category,
  .collection-list .collection,
  .twoCol .collection,
  .threeCol .collection {
    height: auto !important;
    min-height: 176px !important;
  }

  #contentArea .contentWrapper,
  #contentArea .contentWrapper:has(#fullArticle) {
    padding: 24px 20px !important;
  }

  #main-content h1,
  .contentWrapper h1,
  #fullArticle h1 {
    font-size: 26px !important;
  }
}
