#gear *,
#gear *::before,
#gear *::after {
	box-sizing: initial;
}

#gear {
	position: relative;
	word-wrap: break-word;
	padding: 2em 0;
	max-width: 1170px;
	font-size: 100%;
	line-height: 1.2;
	font-weight: normal;
}

#gear h3.my-gear {
	font-size: 1.4em;
	color: #323232;
	line-height: 1.4;
	font-weight: normal;
}

#gear .my-gear {
	padding-left: 15px;
	border-left: 3px solid #ff8800;
}

.og-grid {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	border-radius: 0.5em;
}

.og-grid .gear-item {
	margin: 2px;
}

.og-grid .gear__link {
	height: 250px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: box-shadow 350ms ease; /* 平滑过渡效果 */
}

.og-grid .gear__link:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* 悬停时加深阴影效果 */
}

.og-grid .gear__img {
	width: 100%;
	height: 100%;
	object-fit:cover;
	top: 0;
	left:0;
	border-radius: 0.5em;
}

.og-grid li > a,
.og-grid li > a img {
	border: none;
	outline: none;
	display: block;
	position: relative;
}

.og-grid li.og-expanded > a::after {
	top: auto;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #f0f0f0;
	border-width: 15px;
	left: 50%;
	margin: -10px 0 0 -15px;
}

.og-expander {
	position: absolute;
	top: auto;
	left: 0;
	margin-top: 15px;
	width: calc(100% + 10px);
	height: 0;
}

.og-expander-inner {
	margin-bottom: 15px;
	height: calc(100% - 15px);
	border-radius: 1em;
	/*background-color: #f0f0f0;*/
}

.og-close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 24px;
	height: 24px;
	padding: 5px;
	border-radius: 50%;
	background-color: #ffffff;
	cursor: pointer;
	z-index: 9;
}

.og-close:hover {
	background-color: #dcdcdc;
}

.og-close::before,
.og-close::after {
	content: '';
	position: absolute;
	top: 50%;
	left: calc(50% - 10px);
	width: 20px;
	height: 1px;
	background-color: gray;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

.og-close::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
	background-color: black;
}

.og-fullimg,
.og-details {
	float: left;
	overflow: hidden;
	position: relative;
}

.og-fullimg {
	display: flex;
	align-items: center;
	padding: 15px;
	/*width: calc(41.66667% - 30px);*/
	height: calc(100% - 30px);
	border-radius: 0.5em;
}

@media screen and (max-width: 480px) { 
    .og-fullimg {
	display: flex;
	align-items: center;
	padding: 15px;
	width: calc(41.66667% - 30px);
	height: calc(100% - 30px);
	border-radius: 0.5em;
}
}
.og-fullimg img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	border-radius: 0.5em;
}

.og-details {	
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 15px;
	width: calc(58.33333% - 30px);
	height: calc(100% - 30px);
}

.og-details h3 {
	margin: 0;
	font-weight: 300;
	font-size: 1.6em;
	color: #c2c2c2;
}

.og-details p {
	margin: 1em 0;
	font-weight: normal;
	font-size: 1.2em;
	line-height: 1.4;
	color: #323232;
	text-align: justify;
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 1;
}

.og-details p a {
	color: #ff8800;
	border-bottom: 1px solid;
}

.og-details p a:hover {
	color: #323232;
    border-bottom: none;
}

.og-details a.og-button {
	display: block;
	margin: 1em 0 0 0;
	padding: 0.5em;
	flex-shrink: 0;
	width: 3em;
	font-size: 1em;
	text-align: center;
	color: white;
	border-radius: 2em;
	background-color: #ff8800;
}

.og-details a.og-button:hover {
	color: white;
	background-color: black;
}

.og-loading {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #dcdcdc;
	box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #c2c2c2, -15px 30px 1px #c2c2c2;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 -25px;
	-webkit-animation: loader 0.5s infinite ease-in-out both;
	-moz-animation: loader 0.5s infinite ease-in-out both;
	animation: loader 0.5s infinite ease-in-out both;
}

li::marker {
  content: ''; /* Hides the marker */
}


@-webkit-keyframes loader {
	0% { background: #dcdcdc; }
	33% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #c2c2c2, -15px 30px 1px #dcdcdc; }
	66% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #dcdcdc, -15px 30px 1px #c2c2c2; }
}

@-moz-keyframes loader {
	0% { background: #dcdcdc; }
	33% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #c2c2c2, -15px 30px 1px #dcdcdc; }
	66% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #dcdcdc, -15px 30px 1px #c2c2c2; }
}

@keyframes loader {
	0% { background: #dcdcdc; }
	33% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #c2c2c2, -15px 30px 1px #dcdcdc; }
	66% { background: #c2c2c2; box-shadow: 0 0 1px #c2c2c2, 15px 30px 1px #dcdcdc, -15px 30px 1px #c2c2c2; }
}
