/* ========================================================
	 
   Page Size
   ========================================================= */

@media screen and (min-width: 900px) {

    /* Standard WordPress Pages */
    body.page .entry-content,
    body.page .page-content {
        width: 900px !important;
        max-width: 900px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.page .entry-content > *,
    body.page .page-content > * {
        max-width: 1000px !important;
    }

    /* Reduce space below page title */
    body.page .page-header {
        margin-bottom: 1em;
    }

    body.page .site-main {
        margin-top: 2em;
    }
	
		body.page .entry-content img,
body.page .page-content img {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;

}

	/* Patch Notes Details */
.sgk-patchnotes-details > summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #1D1D1E;
    color: #DBDBDB;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
}

.sgk-patchnotes-details > summary::-webkit-details-marker {
    display: none;
}
.sgk-patchnotes-details > summary::marker {
    content: "";
}

.sgk-patchnotes-details > summary::before {
    content: "▶";
    font-size: calc(0.65em + 3px);
    color: #DBDBDB;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sgk-patchnotes-details[open] > summary::before {
    transform: rotate(90deg);
}

.sgk-patchnotes-details > summary + * {
    margin-top: 18px;
}

	
	/* ========================================================
	 
   Documentation Page
   ========================================================= */

/* HEADER */
.ds-docs-header {
	max-width: 760px;
	margin: 0 auto 65px;
	text-align: center;
}

.ds-docs-eyebrow {
	margin: 0 0 14px !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	opacity: .5;
}

.ds-docs-title {
	margin: 0 0 18px !important;
	font-size: clamp(40px, 6vw, 68px) !important;
	line-height: .98 !important;
	letter-spacing: -2.5px;
}

.ds-docs-intro {
	max-width: 650px;
	margin: 0 auto !important;
	font-size: 18px;
	line-height: 1.7;
	opacity: .65;
}

/* DOCUMENTATION LIBRARY */
.ds-library-section {
	margin-top: 0;
}

.ds-library-heading {
	margin-bottom: 25px;
	align-items: baseline;
}

.ds-library-heading h2 {
	margin: 0 !important;

	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -1px;
}

.ds-library-count {
	margin: 0 !important;

	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;

	opacity: .4;
}


/* DOCUMENTATION ROWS */
.ds-doc-row {
	gap: 14px !important;
	margin: 0 0 14px !important;
}

.ds-doc-column {
	margin: 0 !important;
}

/* DOCUMENTATION PANEL */
.ds-doc-card {
	position: relative;

	height: 100%;
	min-height: 205px;

	box-sizing: border-box;

	padding: 28px !important;

	border: 1px solid rgba(90, 120, 255, .18);
	border-radius: 12px;

	background: linear-gradient(
		145deg,
		rgba(90, 120, 255, .09),
		rgba(90, 120, 255, .025)
	);

	box-shadow:
		0 7px 22px rgba(0, 0, 0, .045),
		inset 0 1px 0 rgba(255, 255, 255, .06);

	transition:
		transform .2s ease,
		box-shadow .2s ease,
		border-color .2s ease;
}

.ds-doc-card:hover {
	transform: translateY(0px);

	border-color: rgba(90, 120, 255, .38);

	box-shadow:
		0 14px 32px rgba(0, 0, 0, .08),
		inset 0 1px 0 rgba(255, 255, 255, .08);
}

.ds-doc-card h3 {
	margin: 0 0 11px !important;

	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -.35px;
}

.ds-doc-card > p {
	margin: 0 0 24px !important;

	font-size: 14px;
	line-height: 1.6;

	opacity: .62;
}

/* DOCUMENTATION LINK */
.ds-doc-link {
	margin-top: auto;
}

.ds-doc-link .wp-block-button__link {
	padding: 0;

	background: transparent !important;

	border: 0;
	border-radius: 0;

	font-size: 12px;
	font-weight: 700;

	text-decoration: none;

	box-shadow: none;

	transition:
		transform .2s ease,
		opacity .2s ease;
}

.ds-doc-link .wp-block-button__link:hover {
	background: transparent !important;

	transform: translateX(4px);

	opacity: .65;
}

/* FOOTER */
.ds-docs-footer {
	max-width: 650px;

	margin: 70px auto 0;
	padding-top: 30px;

	border-top: 1px solid currentColor;

	text-align: center;

	opacity: .6;
}

.ds-docs-footer p:first-child {
	margin-bottom: 5px !important;

	font-size: 16px;
	font-weight: 700;
}

.ds-docs-footer p:last-child {
	margin: 0 !important;

	font-size: 14px;
	line-height: 1.6;
}

/* TABLET */
@media (max-width: 900px) {

	.ds-docs-page {
		padding-top: 50px;
	}

	.ds-featured-card {
		padding: 30px !important;
	}

	.ds-doc-card {
		padding: 24px !important;
	}

}

/* MOBILE */
@media (max-width: 781px) {

	.ds-docs-page {
		padding: 45px 18px 65px;
	}

	.ds-docs-header {
		margin-bottom: 50px;
	}

	.ds-docs-title {
		font-size: 43px !important;
		letter-spacing: -1.8px;
	}

	.ds-docs-intro {
		font-size: 16px;
	}

	.ds-featured-columns,
	.ds-doc-row {
		display: block !important;
	}

	.ds-featured-column,
	.ds-doc-column {
		width: 100% !important;
		margin-left: 0 !important;
		margin-bottom: 14px !important;
	}

	.ds-featured-card {
		min-height: 0;
		padding: 1px !important;
	}

	.ds-doc-card {
		min-height: 190px;
	}

	.ds-library-heading {
		display: block;
	}

	.ds-library-count {
		margin-top: 8px !important;
	}

	.ds-docs-footer {
		margin-top: 55px;
	}

}
	
	/* ========================================================
	 
   Project Documentation Page
   ========================================================= */

/* CATEGORY PANEL */
.ds-doc-category {
	margin-bottom: 18px;
	padding: 30px !important;

	border: 1px solid rgba(90, 120, 255, .15);
	border-radius: 12px;

	background: linear-gradient(
		145deg,
		rgba(90, 120, 255, .065),
		rgba(90, 120, 255, .018)
	);

	box-shadow:
		0 7px 24px rgba(0, 0, 0, .035),
		inset 0 1px 0 rgba(255, 255, 255, .05);

	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.ds-doc-category:hover {
	border-color: rgba(90, 120, 255, .25);

	box-shadow:
		0 10px 30px rgba(0, 0, 0, .055),
		inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* CATEGORY HEADER */
.ds-category-header {
	margin-bottom: 22px;
}

.ds-category-header h2 {
	margin: 0 0 7px !important;

	font-size: 23px;
	line-height: 1.15;
	letter-spacing: -.5px;
}

.ds-category-header p {
	max-width: 700px;

	margin: 0 !important;

	font-size: 14px;
	line-height: 1.6;

	opacity: .55;
}

/* GUIDE COLUMNS */
.ds-guide-columns {
	gap: 10px !important;

	margin: 0 !important;
}

/* QUICK ACCESS*/
.ds-featured-section {
	margin-bottom: 65px;
}

/* MOBILE */
@media (max-width: 781px) {

	.ds-doc-category {
		padding: 22px !important;

		margin-bottom: 14px;
	}

	.ds-category-header {
		margin-bottom: 18px;
	}

	.ds-category-header h2 {
		font-size: 21px;
	}

	.ds-guide-columns {
		display: block !important;
	}

	.ds-guide-columns .wp-block-column {
		width: 100% !important;

		margin-left: 0 !important;
		margin-bottom: 7px !important;
	}

	.ds-guide-link .wp-block-button__link {
		padding: 12px 13px;
		font-size: 12px;
	}

}
	
	/* ========================================================
	 
   Project Documentation Page - Navigation
   ========================================================= */
.ds-category-nav {
	margin-bottom: 22px;

	padding: 30px !important;

	border: 1px solid rgba(90, 120, 255, .16);
	border-radius: 12px;

	background:
		linear-gradient(
			145deg,
			rgba(90, 120, 255, .075),
			rgba(90, 120, 255, .025)
		);

	box-shadow:
		0 8px 28px rgba(0, 0, 0, .04),
		inset 0 1px 0 rgba(255, 255, 255, .045);
}

/* HEADER */
.ds-category-nav-header {
	margin-bottom: 25px;
}

.ds-category-nav-header h2 {
	margin: 4px 0 7px !important;

	font-size: 25px;
	line-height: 1.15;
	letter-spacing: -.5px;
}

.ds-category-nav-header > p:last-child {
	margin: 0 !important;

	font-size: 13px;
	line-height: 1.6;

	opacity: .5;
}

/* THREE NAVIGATION COLUMNS */
.ds-category-nav-columns {
	gap: 9px !important;

	margin: 0 !important;
}

.ds-category-nav-columns .wp-block-column {
	margin: 0 !important;
}

/* NAVIGATION LIST */
.ds-category-nav-list {
	display: flex;
	flex-direction: column;

	gap: 7px !important;

	margin: 0 !important;
}

/* NAVIGATION BUTTON */
.ds-category-nav-link {
	width: 100%;

	margin: 0 !important;
}

.ds-category-nav-link .wp-block-button__link {
	display: flex;

	width: 100%;
	box-sizing: border-box;

	align-items: center;
	justify-content: space-between;

	min-height: 46px;

	padding: 11px 14px;

	border: 1px solid rgba(90, 120, 255, .11);
	border-radius: 7px;

	background: rgba(90, 120, 255, .045) !important;

	color: inherit;

	font-size: 13px;
	font-weight: 600;

	text-align: left;

	box-shadow: none;

	transition:
		background .2s ease,
		border-color .2s ease,
		transform .2s ease;
}

/* ARROW */
.ds-category-nav-link .wp-block-button__link span {
	display: flex;

	align-items: center;
	justify-content: center;

	width: 22px;
	height: 22px;

	border-radius: 50%;

	background: rgba(90, 120, 255, .08);

	font-size: 13px;

	opacity: .5;

	transition:
		transform .2s ease,
		background .2s ease,
		opacity .2s ease;
}

/* HOVER */
.ds-category-nav-link .wp-block-button__link:hover {
	background: rgba(90, 120, 255, .105) !important;

	border-color: rgba(90, 120, 255, .25);
	
}

.ds-category-nav-link .wp-block-button__link:hover span {
	background: rgba(90, 120, 255, .18);

	transform: translateX(2px);

	opacity: 1;
}

/* MOBILE */
@media (max-width: 781px) {

	.ds-category-nav {
		padding: 22px !important;

		margin-bottom: 45px;
	}

	.ds-category-nav-header h2 {
		font-size: 22px;
	}

	.ds-category-nav-columns {
		display: block !important;
	}

	.ds-category-nav-columns .wp-block-column {
		margin-bottom: 7px !important;
	}

	.ds-category-nav-link .wp-block-button__link {
		min-height: 44px;

		padding: 10px 12px;

		font-size: 12px;
	}

}