:target {
	scroll-margin-top: 65px;
}

.section-content.changelog {
	border: 1px solid var(--main-border-color);
}

/* Date — matches news .article-date treatment */
.rn-date {
	color: var(--glyph-gray-secondary, #6e6e73);
	margin-top: 0.5em;
	margin-bottom: 0.4em;
	font-size: 0.875em;
}

.category-image {
	margin-bottom: 0.5em;
}

/* Title — matches news a.article-title / .article h2 treatment */
.category-title {
	font-weight: 500;
	color: var(--glyph-gray, #333);
	width: fit-content;
	font-size: 28px;
}

@media only screen and (max-width: 734px) {
	.category-title {
		font-size: 24px;
	}
}

a:hover .category-title {
	color: var(--glyph-blue, #0088cc);
	text-decoration: underline;
}

/* Description — matches news .article-text treatment */
.rn-description {
	margin-top: 0.5em;
	margin-bottom: 1.5em;
}

.rn-description img {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.5em auto 1.5em 0;
}

/* Stacked "learn more" links — matches news list spacing */
.links-stacked {
	margin-top: 0.8em;
	padding-left: 0;
	list-style: none;
}

.links-stacked li {
	margin-top: 0.4em;
}

/* Calendar icon (pre/post requirement) + content layout */
.requirement-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5em;
}

.requirement-icon-wrapper {
	flex-shrink: 0;
}

sf-symbol.requirement-icon {
	display: block;
	font-size: 28px;
	width: 28px;
	height: 28px;
}

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

@media only screen and (max-width: 734px) {
	.requirement-item {
		gap: 0.75em;
	}

	sf-symbol.requirement-icon {
		font-size: 24px;
		width: 24px;
		height: 24px;
	}
}

/* "Starting {date}" text — matches the red -pre calendar icon */
.requirement-date-upcoming {
	color: var(--s-red, #ff453a);
}

.section > .divider-bottom:last-of-type {
	border-bottom: none !important;
}

/* Filter */
.filter-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin: 32px 0px 48px;
}

@media only screen and (max-width: 1068px) {
	.filter-container {
		display: grid;
		margin-bottom: 0;
		grid-template-columns: 1fr;
	}
}

.filter-buttons {
	padding: 10px;
}

.filter-button {
	cursor: pointer;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
	background: #e6e5e7;
	color: #000;
	border-radius: 50px;
	line-height: 1.33337;
	font-weight: 400;
	letter-spacing: -0.01em;
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica",
		"Arial", sans-serif;
	min-width: 23px;
	font-size: 14px;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 6px;
	padding-bottom: 6px;
	margin: 0 2px;
}

body[data-color-scheme="dark"] .filter-button {
	background: #1a1a1a;
	color: #fff;
}

.filter-button.active {
	background: #000;
	color: #fff;
}

body[data-color-scheme="dark"] .filter-button.active {
	background: var(--fill-blue);
	color: #fff;
}

@media only screen and (max-width: 734px) {
	.filter-buttons {
		padding: 10px 0 0;
	}

	.filter-button {
		font-size: 16px;
		padding-left: 25px;
		padding-right: 25px;
		padding-top: 8px;
		padding-bottom: 8px;
		margin: 5px 3px;
	}
}

/* ========== Grid ========== */
#main section .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column {
	padding: 0;
}

/* ========== Overrides ========== */
.form-textbox-input {
	padding: 1.05882rem 0.94118rem 1.05882rem 0.94118rem;
}
