/* This stylesheet only loads on the short/simple pages (contact, about,
 * cookies, account/login/register, password pages) -- those often have
 * little content, so the footer sits directly against the content with
 * the theme's own padding-bottom of 0 on .entry-content. Extra breathing
 * room underneath, only on these pages. */
.entry-content {
	padding-bottom: 64px;
}

.t10hq-account-message {
	font-family: "Public Sans", sans-serif;
	padding: 12px 16px;
	margin-bottom: 16px;
	border: 1px solid #2D5053;
}

.t10hq-account-success {
	background: #16393B;
	color: #F3EFE2;
	border-color: #E8A33B;
}

.t10hq-account-error {
	background: #16393B;
	color: #F3EFE2;
	border-color: #D6634C;
}

.t10hq-account-form,
.t10hq-submission-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 480px;
	font-family: "Public Sans", sans-serif;
}

.t10hq-account-form label,
.t10hq-submission-form label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #F3EFE2;
}

.t10hq-account-form input,
.t10hq-account-form select,
.t10hq-account-form textarea,
.t10hq-submission-form input,
.t10hq-submission-form select,
.t10hq-submission-form textarea {
	background: #16393B;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	padding: 10px 12px;
	font-family: "Public Sans", sans-serif;
	font-size: 15px;
	font-weight: 400;
}

.t10hq-account-button {
	background: #E8A33B !important;
	color: #24150A !important;
	/* !important on padding/font-size/text-transform/border-radius: the
	   theme has its own rule for [type="submit"] that otherwise beats our
	   own styling. */
	border: none;
	border-radius: 0 !important;
	padding: 12px 24px !important;
	font-family: "Public Sans", sans-serif;
	font-weight: 700;
	text-transform: uppercase !important;
	font-size: 14px !important;
	cursor: pointer;
	align-self: flex-start;
}

.t10hq-submission-item {
	border: 1px solid #2D5053;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* [hidden] has the same specificity as a class selector by itself --
 * without this, a hidden item would still show because of the
 * 'display:flex' above. */
.t10hq-submission-item[hidden] {
	display: none !important;
}

.t10hq-submission-item legend {
	color: #E8A33B;
	font-weight: 800;
	padding: 0 6px;
}

.t10hq-submission-explainer {
	color: #A9C4C0;
	font-size: 14px;
}

.t10hq-profile {
	font-family: "Public Sans", sans-serif;
	color: #F3EFE2;
}

.t10hq-profile a {
	color: #E8A33B !important;
}

/* Comments */
.t10hq-comments {
	margin-top: 12px;
}

.t10hq-comments-toggle {
	background: none;
	border: none;
	color: #A9C4C0;
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	cursor: pointer;
	padding: 4px 0;
}

.t10hq-comments-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #2D5053;
}

.t10hq-comment {
	display: flex;
	gap: 10px;
}

/* .t10hq-comment sets display:flex above -- without this rule that would
 * beat the (user-agent) display:none the hidden attribute normally
 * applies, leaving a collapsed comment visible. */
.t10hq-comment[hidden] {
	display: none !important;
}

.t10hq-comment-text {
	margin: 0;
}

.t10hq-comment-text-full[hidden] {
	display: none !important;
}

.t10hq-comment-read-more {
	display: block;
	background: none;
	border: none;
	color: #E8A33B;
	font-family: "Public Sans", sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	padding: 0;
	margin-top: 4px;
}

.t10hq-comment-read-more:hover {
	color: #F3EFE2;
}

.t10hq-comments-more-btn {
	background: none;
	border: 1px solid #2D5053;
	color: #A9C4C0;
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	padding: 8px 14px;
	cursor: pointer;
	align-self: flex-start;
}

.t10hq-comments-more-btn:hover {
	border-color: #E8A33B;
	color: #F3EFE2;
}

.t10hq-comment-vote {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	flex-shrink: 0;
	padding-top: 1px;
}

.t10hq-comment-vote-btn {
	background: none;
	border: none;
	color: #4B6C6E;
	cursor: pointer;
	font-size: 10px;
	line-height: 1;
	padding: 2px;
}

.t10hq-comment-vote-btn:hover {
	color: #A9C4C0;
}

.t10hq-comment-up.active {
	color: #E8A33B;
}

.t10hq-comment-down.active {
	color: #D6634C;
}

.t10hq-comment-score {
	color: #A9C4C0;
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
}

.t10hq-comment-content {
	flex: 1;
	min-width: 0;
}

.t10hq-comment strong {
	color: #E8A33B;
	font-size: 13px;
}

.t10hq-comment p {
	color: #F3EFE2;
	font-size: 14px;
	margin: 2px 0 0;
	overflow-wrap: break-word;
}

.t10hq-comment-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.t10hq-comment-reply-btn {
	background: none;
	border: none;
	color: #A9C4C0;
	font-family: "Public Sans", sans-serif;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	padding: 0;
}

.t10hq-comment-reply-btn:hover {
	color: #E8A33B;
}

.t10hq-comment-hide {
	color: #D6634C;
	font-size: 11px;
}

.t10hq-comment-reply-form {
	margin: 6px 0 0 !important;
}

.t10hq-comment-form {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.t10hq-comment-form textarea {
	flex: 1;
	background: #122F30;
	border: 1px solid #2D5053;
	color: #F3EFE2;
	padding: 8px;
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	min-height: 40px;
}

.t10hq-comment-form button {
	background: #E8A33B;
	color: #24150A;
	border: none;
	border-radius: 0 !important;
	padding: 0 16px !important;
	font-weight: 700;
	cursor: pointer;
}

.t10hq-comment-message {
	color: #A9C4C0;
	font-size: 13px;
}

.t10hq-ai-btn {
	background: transparent;
	color: #E8A33B;
	border: 1px solid #E8A33B;
	padding: 6px 12px;
	font-family: "Public Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	align-self: flex-start;
	margin-top: -6px;
}

.t10hq-ai-btn:hover:not(:disabled) {
	background: #E8A33B;
	color: #24150A;
}

.t10hq-ai-btn:disabled {
	opacity: 0.6;
	cursor: default;
}


/* ==========================================================================
   Profile page: header, stats (gamification), comments, lists.
   ========================================================================== */

.t10hq-profile-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.t10hq-profile-avatar {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #16393B;
	border: 1px solid #E8A33B;
	color: #E8A33B;
	font-size: 22px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.t10hq-profile-name {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	color: #F3EFE2;
}

.t10hq-profile-member-since {
	margin: 2px 0 0;
	font-size: 13px;
	color: #A9C4C0;
}

.t10hq-profile-status-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	font-size: 13px;
}

.t10hq-profile-status {
	font-weight: 700;
}

.t10hq-profile-status-ok {
	color: #6FBF9E;
}

.t10hq-profile-status-nok {
	color: #D6634C;
}

.t10hq-profile-status-row .t10hq-account-button {
	padding: 8px 16px;
	font-size: 12px;
	text-decoration: none;
}

.t10hq-profile-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-bottom: 8px;
}

.t10hq-profile-stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: #16393B;
	border: 1px solid #2D5053;
}

.t10hq-profile-stat-points {
	border-color: #E8A33B;
}

.t10hq-profile-stat-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #A9C4C0;
}

.t10hq-profile-stat-number {
	font-size: 28px;
	font-weight: 800;
	color: #F3EFE2;
}

.t10hq-profile-stat-points .t10hq-profile-stat-number {
	color: #E8A33B;
}

.t10hq-profile-points-explainer {
	grid-column: 1 / -1;
	margin: 4px 0 24px;
	font-size: 12px;
	color: #A9C4C0;
}

.t10hq-profile-heading {
	font-size: 16px;
	font-weight: 700;
	color: #F3EFE2;
	margin: 8px 0 12px;
}

.t10hq-profile-empty {
	color: #A9C4C0;
	font-size: 14px;
}

.t10hq-profile-comments {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 32px;
}

.t10hq-profile-comment {
	display: block;
	padding: 12px 16px;
	background: #16393B;
	border: 1px solid #2D5053;
	text-decoration: none;
}

.t10hq-profile-comment:hover {
	border-color: #E8A33B;
}

.t10hq-profile-comment-context {
	margin: 0 0 4px;
	font-size: 12px;
	color: #A9C4C0;
}

.t10hq-profile-comment-context strong {
	color: #E8A33B !important;
}

.t10hq-profile-comment-text {
	margin: 0 0 6px;
	font-size: 14px;
	font-family: "Public Sans", system-ui, sans-serif;
	color: #F3EFE2;
}

.t10hq-profile-comment-date {
	margin: 0;
	font-size: 11px;
	color: #A9C4C0;
}

@media (max-width: 560px) {
	.t10hq-profile-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* .t10hq-profile a (0,0,1,1) is more specific than .t10hq-account-button
 * (0,0,1,0) -- without this rule the general marigold link color would
 * beat the button text color, making it unreadable marigold-on-marigold. */
.t10hq-profile .t10hq-account-button {
	color: #24150A !important;
}

.t10hq-forgot-password-link {
	font-size: 13px;
	color: #A9C4C0;
	align-self: flex-start;
	margin-top: -8px;
}

.t10hq-forgot-password-link:hover {
	color: #E8A33B;
}
