/* Custom Help Scout StyleSheet - Refactored for High-Contrast / Inter Font */

/* ================================================================
  Color & Font Definitions
================================================================ */

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

:root {
  /* High-Contrast Monochromatic Palette */
  --bg-primary: #ffffff;    /* Main background */
  --bg-secondary: #f4f4f5;   /* Light gray for search bar, hovers */
  --text-primary: #0a0a0a;    /* Pure black for headings & body */
  --text-secondary: #525252;  /* Dark gray for subtext, descriptions */
  --border-primary: #e5e5e5;  /* Standard light border */
  
  /* Accent (for buttons) */
  --accent-primary: #0a0a0a;        /* Black buttons */
  --accent-primary-hover: #3a3a3a; /* Dark gray button hover */
  --text-on-accent: #ffffff;     /* White text on black buttons */
}

/* ================================================================
  General & Typography
================================================================ */

body {
	background: var(--bg-primary);
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
}

input, button, select, textarea {
	font-family: 'Inter', sans-serif;
}

/* ================================================================
  Header & Navigation
================================================================ */

.navbar .nav li {
	display: inline-block;
	float: none;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	letter-spacing: .1em;
}
.navbar .nav li a, .navbar .icon-private-w {
	font-size: 14px;
  font-weight: 400; /* Was 300 */
}

a.brand > img {
	max-width: 100%;
	vertical-align: middle;
	border: 0;
	height: 60px;
	margin-left: 15px;
	width: auto;
}

.navbar .navbar-inner {
	height: 60px;
}
.navbar .navbar-inner .container-fluid {
	padding: 0;
	height: 60px;
}
.navbar .brand {
	float: left;
	display: block;
	padding: 0px;
	margin-left: -20px;
	font-size: 20px;
	font-weight: 500; /* Was 200 */
	color: var(--text-secondary);
	text-shadow: none;
}

/* ================================================================
  Home Page: Search & Categories
================================================================ */

/* Home Page Title */
#docsSearch h1 {
	font-size: 32px;
	font-weight: 600; /* Was 300 */
	text-align: center;
	margin-top: .4em;
	font-family: 'Inter', sans-serif;
	color: var(--text-primary);
	padding: 10px;
}

/* Home Page Search Bar Background */
#docsSearch {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border-primary);
	border-bottom: 1px solid var(--border-primary);
	margin-bottom: 3em;
	padding: 1.5em 0;
}

/* Search Input Box */
input.search-query {
	padding-right: 14px;
	padding-right: 4px \9;
	padding-left: 14px;
	padding-left: 4px \9;
	margin-bottom: 0;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 100 */
	letter-spacing: 1px;
  border: 1px solid var(--border-primary);
}

/* Home Page Search Button */
#searchBar button {
	color: var(--text-on-accent);
	text-shadow: 0 0px 0px rgba(255,255,255,.0);
	background: var(--accent-primary);
	border-radius: 0 5px 5px 0;
	border: 1px solid var(--accent-primary);
	font-size: 18px;
	padding: 0 1.5em;
	height: 50px;
	position: absolute;
}
#searchBar button:hover {
	background: var(--accent-primary-hover);
	text-shadow: 0 0px 0px rgba(255,255,255,.0);
	border: 1px solid var(--accent-primary-hover);
}

/* Home Page Category Title*/
.category-list h3 {
	color: var(--text-primary);
	font-size: 20px;
	font-weight: 600; /* Was 400 */
	line-height: 1.3em;
	font-family: 'Inter', sans-serif;
}

/* Category Styles */
.category-list .category p {
	color: var(--text-secondary);
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 100 */
	font-size: 15px;
	letter-spacing: 0.25px;
}
.category-list .category {
	background-color: var(--bg-primary);
	background-position: top 20px center !important;
	background-repeat: no-repeat !important;
	background-size: 100px auto !important;
	box-shadow: none;
  border: 1px solid var(--border-primary);
	box-sizing: border-box;
	min-height: 183px;
	padding: 120px 20px 15px;
	position: relative;
	width: 31.5%;
	transition: all 0.2s;
}
.category-list .category:hover {
	text-decoration: none;
	background: var(--bg-secondary);
  border-color: #ccc;
  transform: translateY(-2px);
}

.collection-category h2 {
    font-weight: 600; /* Was 500 */
    margin: 0 0 20px;
    text-align: center;
    padding-left: 0%;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 22px;
    letter-spacing: 1px;
}

.collection-category .category-list {
    margin: 0 0 4em;
    text-align: center;
}

/* ================================================================
  Links
================================================================ */

#serp-dd .result a, #serp-dd .result>li.active, #full-Article strong a, .collection a, .contentWrapper a, .most-pop-articles .popArticles a, .most-pop-articles .popArticles a span, .category-list .category .article-count, .category-list .category .article-count, .contentWrapper a {
	font-weight: 600; /* Was 500 */
	letter-spacing: .25px;
	color: var(--text-primary);
	margin-top: 15px;
	text-transform: capitalize;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
}
#serp-dd .result a:hover, #serp-dd .result>li.active, #full-Article strong a, .collection a, .contentWrapper a, .most-pop-articles .popArticles a, .most-pop-articles .popArticles a:hover span, .category-list .category .article-count, .category-list .category:hover .article-count, .contentWrapper a:hover {
	font-weight: 600; /* Was 500 */
	letter-spacing: .25px;
	color: var(--text-secondary);
	margin-top: 15px;
	text-transform: capitalize;
	text-decoration: underline;
	font-family: 'Inter', sans-serif;
}

/* ================================================================
  Category Images (Placeholder)
================================================================ */

/* Getting Started (use your actual category names here in the comment to make it easier) */
#category-123 {
	background-image: url(https://storage.myhostingprovider.com/public/images/123-getting-started.png);
}
/* Setup Users */
#category-456 {
  background-image: url(https://storage.myhostingprovider.com/public/images/456-setup-users.png);
}
/* Uploading Files */
#category-223 {
  background-image: url(https://storage.myhostingprovider.com/public/images/223-uploading-files.png);
}

/* ================================================================
  Article & Sidebar
================================================================ */

/* Side Bar Styles */
#sidebar .nav-list a {
	display: inline-block;
	color: var(--text-secondary);
	font-size: 14px;
	padding: 6px 15px 6px 0;
	line-height: 20px;
	margin-left: 0;
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 300 */
}
#sidebar .nav-list .active a, #sidebar .nav-list .active a:hover, #sidebar .nav-list .active a:focus {
	font-weight: 600; /* Was 500 */
	color: var(--text-primary);
	background: 0 0;
	text-shadow: none;
	text-decoration: none;
}
#sidebar h3 {
	text-transform: uppercase;
	font-size: 16px;
	color: var(--text-secondary);
  font-weight: 500; /* Was 400 */
	margin-bottom: 4px;
	font-family: 'Inter', sans-serif;
	letter-spacing: 2px;
}
/* Article Styles */
#main-content {
    background: none;
    float: right;
    margin-bottom: 2em;
    padding: 32px 0 0 28px;
}

#fullArticle img {
    display: block;
    margin: 1em 0 2em;
    padding: 4px;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid var(--border-primary);
}

#fullArticle .title, .contentWrapper h1 {
	margin: 0 30px .5em 0;
	font-family: 'Inter', sans-serif;
	color: var(--text-primary);
	font-weight: 700;
}
#fullArticle .printArticle {
	position: absolute;
	right: 46px;
	top: 40px;
}
#fullArticle, #fullArticle p, #fullArticle ul, #fullArticle ol, #fullArticle li, #fullArticle div, #fullArticle blockquote, #fullArticle dd, #fullArticle table {
	color: var(--text-primary);
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 400; /* Was 300 */
	letter-spacing: .01em;
  line-height: 1.6;
}
#categoryHead .sort select {
	width: 150px;
	height: 24px;
	margin: 0;
	line-height: 24px;
	font-size: 13px;
	color: var(--text-secondary);
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 300 */
}

/* Article Typography */
#fullArticle strong {
	color: var(--text-primary);
  font-weight: 700;
}
#fullArticle h2 {
	font-size: 24px;
	font-family: 'Inter', sans-serif;
	font-weight: 600; /* Was 400 */
	color: var(--text-primary);
  margin-top: 1.5em;
}
#fullArticle h3 {
	font-size: 20px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	color: var(--text-primary);
  margin-top: 1.25em;
}
#fullArticle h4 {
	font-size: 16px;
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 300 */
	color: var(--text-secondary);
  font-style: italic;
  margin-top: 1em;
}
.contentWrapper p {
	margin-top: -4px;
	word-wrap: break-word;
	font-family: 'Inter', sans-serif;
	color: var(--text-primary);
	font-weight: 400; /* Was 300 */
	font-size: 16px;
	letter-spacing: .01em;
}

/* ================================================================
  Footers & Modals
================================================================ */

/* Article Footers */
.articleFoot p, .articleFoot time {
	color: var(--text-secondary);
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 300 */
	font-style: italic;
}

/* Page Footers */
footer p a {
	color: var(--text-secondary);
	font-family: 'Inter', sans-serif;
	font-weight: 400; /* Was 300 */
}

/* Contact Modal */
#contactModal h2, .abuse h2 {
	background: var(--bg-primary);
	margin: 0;
	padding: 11px 0 10px 18px;
	font-size: 22px;
	border-bottom: 1px solid var(--border-primary);
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	font-family: 'Inter', sans-serif;
	color: var(--text-primary);
	font-weight: 500; /* Was 300 */
}
#contactModal .control-label {
	width: 110px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 400; /* Was 300 */
	color: var(--text-secondary);
}

/* General Button Styles */
.btn {
	color: var(--text-on-accent);
	text-shadow: 0 0px 0px rgba(255,255,255,.0);
	background: var(--accent-primary);
	border-radius: 5px;
	border: 1px solid var(--accent-primary);
	font-size: 14px;
	padding: .5em;
}

.btn:hover, .btn:focus, .btn:active, .btn.active, .btn.disabled, .btn[disabled] {
  color: var(--text-on-accent);
	text-shadow: 0 0px 0px rgba(255,255,255,.0);
	background: var(--accent-primary-hover);
  border: 1px solid var(--accent-primary-hover);
}

#search-query .btn:hover {
	color: var(--text-on-accent);
	text-shadow: 0 0px 0px rgba(255,255,255,.0);
	background: var(--accent-primary-hover);
	border-radius: 5px;
	border: 1px solid var(--accent-primary-hover);
	font-size: 18px;
	padding: 0 1.5em;
	height: 50px;
}

/* ================================================================
  Responsive Layout
================================================================ */

.category-list {
    text-align: center;
}

/* Fix for making homepage category gallery go smoothly from 3 to 2 to 1 column */
@media screen and (max-width: 1105px) {
	section.category-list .category {
		width: 48.2%;
	}
}
@media screen and (max-width: 760px) {
	section.category-list .category {
		box-sizing: border-box;
		margin: 0 0 20px;
		padding: 120px 20px 15px;
		width: 100%;
	}
}
/* RESPONSIVE */

@media (max-width: 768px) {
	.navbar .btn-navbar {
		margin-top: 16px;
		right: -10px;
	}
	.related {
		padding: 30px 25px 25px;
	}
	.related ul {
		margin-left: 0;
	}
	.related h3 {
		padding-left: 0;
	}
	.related ul>li a {
		margin-left: 0;
	}
}
@media (max-width: 480px) {
	#searchBar button {
		color: transparent;
		text-shadow: 0;
		background: transparent;
		border-radius: 0 5px 5px 0;
		border: 0;
		font-size: 18px;
		padding: 0 1.5em;
		height: 50px;
		position: absolute;
	}
	#searchBar button .icon-search {
		display: block;
		text-shadow: none;
		margin-top: 15px;
	}
	#searchBar button:hover .icon-search:hover {
		display: block;
		text-shadow: none;
		margin-top: 15px;
		background-color: transparent;
	}
}
@media (max-width: 480px) {
	#fullArticle .title, .contentWrapper h1 {
		font-size: 24px;
	}
	#fullArticle h2 {
		font-size: 20px;
	}
}

/* Collection Titles  */
.collection-category h2 a {
    color: var(--text-primary);
}

.collection-category h2 {
    font-weight: 600; /* Was 400 */
    margin: 0 0 20px;
    padding-left: .65%;
    font-family: 'Inter', sans-serif;
    text-align: center;
}