.banner1 {
	height: 150px
}

.recommend .recommend-list {
	position: relative
}

.recommend .recommend-list .recommend-list-items {
	width: 60%;
	display: inline-block;
	vertical-align: top
}

.recommend .recommend-list .recommend-list-immediately {
	width: 40%;
	right: 0;
	top: 0;
	padding-left: 6px;
	float: right
}

.recommend .recommend-list .show-more {
	display: none
}

.foot-immediately .foot-immediately-item {
	width: 697px;
	height: 165px;
	display: inline-block
}

.foot-immediately .foot-immediately-item:nth-child(0) {
	margin-right: 6px
}

.foot-immediately2 .foot-immediately-item {
	width: 464px;
	height: 188px;
	display: inline-block
}

.foot-immediately2 .foot-immediately-item:nth-child(0) {
	margin-right: 6px
}

.floatFooter {
	display: none
}

.cGreen {
	color: #62c655 !important
}

.cRed {
	color: red !important
}

.c0 {
	color: #000 !important
}

.cBlue {
	color: #00f
}

.c9 {
	color: #f90 !important
}

/* 文章列表樣式 */
.article-item {
	margin-bottom: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: all 0.3s ease;
}

.article-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.article-item-inner {
	display: flex;
	padding: 15px;
}

.article-item-pic {
	width: 200px;
	height: 150px;
	margin-right: 15px;
	overflow: hidden;
	border-radius: 4px;
}

.article-item-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-item-info {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.article-item-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.article-item-title a {
	color: #333;
	text-decoration: none;
}

.article-item-title a:hover {
	color: #007bff;
}

.article-item-content {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 10px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.article-item-meta {
	margin-top: auto;
	color: #999;
	font-size: 12px;
}

.article-item-meta span {
	margin-right: 15px;
}

.article-item-meta span:last-child {
	margin-right: 0;
}

.article-item-row {
	display: flex;
	flex-wrap: wrap;
	margin: -10px;
}

.article-item {
	width: calc(50% - 20px);
	margin: 10px;
}

@media (max-width: 768px) {
	.article-item {
		width: 100%;
	}
	
	.article-item-inner {
		flex-direction: column;
	}
	
	.article-item-pic {
		width: 100%;
		height: 200px;
		margin-right: 0;
		margin-bottom: 15px;
	}
}

@media screen and (max-width:961px) {
	.container {
		margin: 0
	}

	.first .main-title.recommend-title {
		margin-top: 15px
	}

	.main-title {
		margin: 15px .2rem 20px
	}

	.main-title.recommend-title {
		margin: 30px 0 15px !important;
		background: #f8f9fa !important;
		height: 50px !important;
		line-height: 50px !important;
		padding: 0 20px !important;
		border-radius: 8px !important;
	}

	.main-title .more {
		float: right !important;
	}

	.main-title .more a {
		color: #666 !important;
		font-size: 14px !important;
		text-decoration: none !important;
	}

	.main-title .more a:hover {
		color: #333 !important;
	}

	.recommend .recommend-list {
		position: relative
	}

	.recommend .recommend-list .immediately-item {
		margin-bottom: 25px
	}

	.recommend .recommend-list .video-item-row {
		margin: 0 .2rem
	}

	.recommend .recommend-list .video-item-row .video-item-col {
		padding: 0
	}

	.recommend .recommend-list .recommend-list-items {
		width: 60%;
		display: inline-block;
		vertical-align: top
	}

	.recommend .recommend-list .recommend-list-immediately {
		width: 40%;
		right: 0;
		top: 0;
		padding-left: 6px;
		float: right
	}

	.recommend .recommend-list .show-more {
		width: 4.2rem;
		height: .8rem;
		line-height: .8rem;
		background: -webkit-gradient(linear, left top, left bottom, from(#f90), to(#f90));
		border-radius: 5px;
		color: #000;
		text-align: center;
		display: block;
		margin: 0 auto .5rem auto;
		font-size: .3rem
	}

	.header-menu {
		display: none !important;
	}

	.floatFooter {
		position: fixed;
		bottom: 0;
		width: 100%;
		height: 40px;
		display: block;
		text-align: center;
		line-height: 40px;
		z-index: 999;
		background: rgba(0, 0, 0, .8)
	}

	.floatFooter .floatFooter-txt {
		text-decoration: underline;
		font-weight: 700;
		font-size: .33rem;
		color: #ff2116;
		-webkit-animation: flash .4s infinite;
		animation: flash .4s infinite
	}

	.floatFooter .icon-guanbi {
		font-size: 14px;
		position: absolute;
		right: 10px;
		color: #949494;
		font-weight: 700
	}
}

@-webkit-keyframes flash {
	0% {
		color: #ff0
	}

	50% {
		color: red
	}

	to {
		color: #ff0
	}
}

@keyframes flash {
	0% {
		color: #ff0
	}

	50% {
		color: red
	}

	to {
		color: #ff0
	}
}

/* 頂部導航欄樣式 */
.header {
    background: #fff;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-header, .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    margin: 0;
}

.logo-area {
    flex: 0 0 auto;
    margin-right: 32px;
    margin-left: -120px;
}

.main-nav {
    display: flex;
    gap: 36px;
    background: #fff;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    width: auto;
    box-sizing: border-box;
    padding: 6px 0 6px 0;
    min-height: 40px;
    flex: 1 1 auto;
}

.user-area {
    flex: 0 0 auto;
    margin-left: 32px;
}

.logo {
    display: block;
    text-decoration: none;
}

.site-logo {
    height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 24px;
    color: #000;
    font-family: "Yu Mincho", "MS Mincho", serif;
    margin-bottom: 5px;
}

.site-subtitle {
    font-size: 14px;
    color: #666;
    font-family: "Yu Gothic", "MS Gothic", sans-serif;
}

.nav-menu {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #7B68EE;
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #7B68EE;
}

.user-section {
    position: absolute;
    right: 20px;
    top: 20px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    border: 2px solid #7B68EE;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    right: -2px;
    top: -2px;
    width: 12px;
    height: 12px;
    background: #7B68EE;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* 子導航欄樣式 */
.sub-header {
    background: #000;
    padding: 10px 0;
}

.sub-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.adventure-home {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.adventure-home:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-section {
    flex: 1;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    padding: 8px 15px;
}

.search-wrapper i {
    color: #666;
    margin-right: 10px;
}

.search-input {
    border: none;
    background: none;
    width: 100%;
    color: #333;
    font-size: 14px;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #999;
}

.post-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.post-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: auto !important;
    background: #fff;
}
body > *:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.header, .main-header, .container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.main-title-name {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.main-title-name:hover {
    color: #666 !important;
}

body .page .page-content .container .main-title.recommend-title .main-title-name {
    color: #333 !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

body .page .page-content .container .main-title.recommend-title .main-title-name:hover {
    color: #666 !important;
}

body .page .page-content .container .main-title.recommend-title {
    margin: 30px 0 15px !important;
    background: #f8f9fa !important;
    height: 50px !important;
    line-height: 50px !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
}

body .page .page-content .container .main-title .more {
    float: right !important;
}

body .page .page-content .container .main-title .more a {
    color: #666 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

body .page .page-content .container .main-title .more a:hover {
    color: #333 !important;
}

.nav-icon {
    height: 28px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.main-black-bar {
    width: 100%;
    background: #111;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    padding: 0;
    margin-top: 29px;
}
.main-black-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 40px 5px 40px;
    gap: 20px;
}
.main-black-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-black-btn {
    background: none;
    color: #fff;
    font-size: 28px;
    border: none;
    outline: none;
    padding: 6px 24px;
    border-radius: 6px;
    margin-right: 16px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-weight: bold;
    letter-spacing: 2px;
}
.main-black-btn-purple {
    background: #8e5ac7;
    color: #fff;
}
.main-black-btn-purple:hover {
    background: #a98be0;
}
.main-black-search {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 6px;
    padding: 0 24px;
    margin-right: 16px;
    height: 40px;
    box-sizing: border-box;
}
.main-black-search input[type="text"] {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    padding: 0;
    outline: none;
    width: 180px;
    height: 38px;
    line-height: 38px;
    box-sizing: border-box;
    vertical-align: middle;
}
.main-black-search-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    margin-left: 4px;
    height: 38px;
    display: flex;
    align-items: center;
}
@media (max-width: 900px) {
    .main-black-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px 0;
    }
    .main-black-btn, .main-black-btn-purple {
        font-size: 20px;
        padding: 6px 12px;
        margin-right: 0;
    }
    .main-black-search input[type="text"] {
        font-size: 16px;
        width: 100px;
    }
}

.login-register-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-left: 16px;
}
.login-register-img {
    width: 80px;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.15s;
}
.login-register-img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
  .main-header {
    height: auto;
    padding: 10px 8px 0 8px;
    flex-direction: column;
    max-width: 100%;
  }
  .main-header .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }
  .logo-area {
    margin: 0 auto 8px auto;
    display: flex;
    justify-content: center;
  }
  .main-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding: 6px 0;
    justify-content: flex-start;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .nav-item {
    flex: 0 0 auto;
  }
  .login-register-btns {
    flex-direction: row;
    gap: 8px;
    margin-left: 8px;
    margin-top: 0;
  }
  .login-register-img {
    width: 60px;
  }
  .user-area {
    margin-left: 0;
    margin-top: 8px;
    display: flex;
    justify-content: center;
  }
  .main-black-bar-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 8px;
    gap: 10px;
    max-width: 100%;
  }
  .main-black-bar-right {
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
  }
  .main-black-btn, .main-black-btn-purple {
    font-size: 20px;
    padding: 6px 12px;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .main-black-search {
    width: 100%;
    margin-right: 0;
    padding: 0 8px;
  }
  .main-black-search input[type="text"] {
    font-size: 16px;
    width: 100%;
    min-width: 0;
  }
}

/* 漢堡選單按鈕樣式 */
.mobile-menu-toggle {
    display: none;
}

.hamburger-btn {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    /* 隱藏固定選單 */
    .header-menu {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
        position: fixed;
        left: 15px;
        top: 15px;
        z-index: 1001;
    }

    .hamburger-btn {
        display: block;
        z-index: 1002;
    }

    .main-header {
        height: auto;
        padding: 10px 8px 0 8px;
        flex-direction: column;
        max-width: 100%;
        position: relative;
    }

    .main-header .container {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
    }

    .logo-area {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 120px;
        z-index: 1000;
    }

    .site-logo {
        height: 40px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        padding: 60px 20px 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex !important;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-icon {
        height: 30px;
        width: auto;
    }

    .login-register-btns {
        flex-direction: row;
        gap: 20px;
        margin: 20px 0;
        width: 100%;
        justify-content: center;
    }

    .login-register-img {
        width: 120px;
    }

    .user-area {
        margin: 0;
        display: flex;
        justify-content: center;
        z-index: 1000;
    }

    /* 防止背景滾動 */
    body.menu-open {
        overflow: hidden;
    }

    /* 漢堡選單動畫 */
    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* 隱藏黑色選單條 */
    .main-black-bar {
        display: none;
    }
}

/* 只針對分頁（.type-page）修正主選單下方白色區塊壓到黑色條的問題 */
.type-page .header,
.type-page .top-header,
.type-page .top-header .container,
.type-page .main-nav {
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.type-page .main-nav {
  z-index: 2 !important;
}
.type-page .main-black-bar {
  z-index: 1 !important;
}

/* 只針對分頁（.type-page）header/nav/LOGO/登入註冊 水平對齊 */
.type-page .top-header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 40px !important;
}
.type-page .logo-area {
  flex: 0 0 auto !important;
  margin-right: 24px !important;
  min-width: unset !important;
  max-width: 220px !important;
  display: flex !important;
  align-items: center !important;
}
.type-page .site-logo {
  height: 60px !important;
  width: auto !important;
  margin-right: 0 !important;
}
.type-page .main-nav {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  gap: 36px !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}
.type-page .main-nav .nav-item {
  white-space: nowrap !important;
}
.type-page .login-register-btns {
  display: flex !important;
  align-items: center !important;
  margin-left: 20px !important;
  gap: 8px !important;
}
.type-page .login-register-img {
  height: 38px !important;
  max-width: 80px !important;
  width: auto !important;
  object-fit: contain !important;
  margin-left: 8px;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.type-page .mobile-menu-toggle {
  display: none !important;
}
.type-page .top-header .container > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
