/* ===========================================================================
   CONTENT BLOCKS

   Collapsible dropdowns, video/screenshot grids and inline thumbnails
   used inside a page's main column.
   Loaded by: TSBM.html
   =========================================================================== */

.dropdown {
	margin: 24px;
	margin-left: 0;
	width: 99%;
	border: 2px solid transparent;
	border-radius: 16px;
}

#main_area .dropdown ul {
	margin-left: clamp(16px, 6vw, 48px);
	padding-right: clamp(12px, 2vw, 24px);
}

#main_area .dropdown h4 {
	margin-left: clamp(8px, 3.5vw, 28px);
}

.dropdown-title:hover {
	border: 2px solid var(--color-selected-2);
}

.dropdown-title {
	color: var(--color-text-1);
	font-family: "Circular Spotify", sans-serif;
	padding: 16px;
	border-radius: 16px;
	background-color: var(--color-primary-a20);
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: border-radius 0.3s ease-in-out, border-color 0.3s ease-in-out;
	border: 2px solid transparent;
	font-weight: 600;
	font-size: 18px;
	user-select: none;
}

.dropdown-title::after {
	content: "▼";
	font-size: 12px;
	transition: transform 0.5s ease-in-out;
	margin-left: auto;
}

.dropdown-content {
	border-radius: 0px 0px 16px 16px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
	background-color: var(--color-primary-a10);
}

.dropdown-content-inner p {
	font-weight: 400;
	font-size: 14px;
}

.dropdown input {
	display: none;
}

.dropdown-toggle {
	display: none;
}

.dropdown input:checked ~ .dropdown-content {
	max-height: 3200px;
}

.dropdown input:checked ~ .dropdown-title::after {
	transform: rotate(180deg);
}

.dropdown input:checked ~ .dropdown-title {
	border-radius: 16px 16px 0px 0px;
}

.video_grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 256px), 1fr));
	gap: 16px;
	padding: 24px;
	padding-top: 0px;
	max-width: 528px;
	justify-content: left;
}

.video_grid img {
	margin: 0;
}

#main_area .video_grid img {
	margin: 0;
}

.video_grid video,
.video_grid img,
.video_grid iframe {
	border-radius: 16px;
	width: 100%;
	max-width: 256px;
	aspect-ratio: 4/3;
	transition: transform 0.1s ease-in-out, opacity 0.3s ease-in-out;
	object-fit: contain;
	cursor: pointer;
}

.video_grid video:hover,
.video_grid img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.video_grid2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: 16px;
	padding: 24px;
	max-width: 824px;
	justify-content: left;
}

.video_grid2 video,
.video_grid2 iframe,
.video_grid2 img {
	border-radius: 16px;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 16/9;
	transition: transform 0.1s ease-in-out, opacity 0.3s ease-in-out;
	object-fit: contain;
}

.video_grid2 video:hover,
.video_grid2 iframe:hover,
.video_grid2 img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.game-thumbnail {
	border-radius: 16px;
	max-width: 256px;
	width: 100%;
	height: auto;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
}

.game-thumbnail:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.game-thumbnail-1080p {
	border-radius: 16px;
	max-width: 256px;
	height: auto;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
}

.game-thumbnail-1080p:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

#changelog_ul {
	margin-top: 8px;
	padding-left: 10px;
}
