/* ========================================
   山东省旅游饭店协会 - 公共样式表
   ======================================== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[v-cloak] {
  display: none !important;
}

html {
  font-size: 14px;
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "SimHei", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  /* min-width: 1200px; */
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #c00;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   Header
   ======================================== */
.header {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1a5fa8 0%, #2878c8 30%, #4a9cd8 60%, #7ab8e8 100%);
  position: relative;
  overflow: hidden;
}

.header-with-bg {
  background: url('../images/header-bg.png') center/cover no-repeat;
  background-color: #3a7ab8;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 40%);
}

/* Mountain silhouettes */
.header .mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
}

.header .mountain-far {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 130px;
  background: linear-gradient(180deg, rgba(100, 140, 180, 0.6) 0%, rgba(60, 100, 140, 0.4) 100%);
  clip-path: polygon(30% 100%, 45% 20%, 55% 0%, 65% 15%, 80% 40%, 100% 100%);
}

.header .mountain-near {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 150px;
  background: linear-gradient(180deg, rgba(180, 140, 100, 0.7) 0%, rgba(120, 90, 60, 0.5) 100%);
  clip-path: polygon(40% 100%, 55% 10%, 60% 0%, 70% 5%, 85% 30%, 100% 100%);
}

/* White clouds */
.header .cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.header .cloud-1 {
  width: 120px;
  height: 30px;
  top: 25px;
  left: 5%;
}

.header .cloud-2 {
  width: 80px;
  height: 20px;
  top: 45px;
  left: 15%;
}

.header .cloud-3 {
  width: 100px;
  height: 25px;
  top: 15px;
  right: 30%;
}

/* Birds */
.header .birds {
  position: absolute;
  top: 20px;
  left: 10%;
}

.header .bird {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.header .bird-1 {
  top: 0;
  left: 0;
}

.header .bird-2 {
  top: -8px;
  left: 25px;
}

.header .bird-3 {
  top: 5px;
  left: 50px;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.header-logo {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.header-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
}

.header-logo .logo-placeholder {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #003d99, #1a6fc4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 1px;
}

.header-text h1 {
  font-size: 36px;
  color: #0042B3;
  font-weight: bold;
  letter-spacing: 4px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 4px;
}

.header-text .header-en {
  font-size: 14px;
  color: #0042B3;
  letter-spacing: 2px;
  font-weight: 300;
}

/* Right side scenic image */
.header .scenic-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(135deg, #c4a872 0%, #8b7355 50%, #6b5b3e 100%);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 20% 100%, 15% 80%, 25% 50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15px;
}

.header .scenic-img span {
  color: #c00;
  font-size: 22px;
  font-weight: bold;
  writing-mode: vertical-rl;
  letter-spacing: 3px;
}

/* ========================================
   Navigation
   ======================================== */
.nav-bar {
  width: 100%;
  background: #0050a0;
  height: 48px;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.nav-bar ul {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  height: 100%;
  overflow: visible;
  position: relative;
}

.nav-bar li {
  flex: 1;
  position: relative;
}

.nav-bar li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  font-size: 15px;
  letter-spacing: 2px;
  transition: background 0.2s;
  position: relative;
}

.nav-bar li a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-bar li.active>a {
  background: #DF0024;
}

.nav-bar .dropdown li.active a {
  background: #0042B3;
  color: #fff;
}

.nav-bar li.active a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid #fff;
}

/* Dropdown menu */
.nav-bar .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 100%;
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: block;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  transform: translateX(-50%) translateY(10px);
  z-index: 200;
  white-space: nowrap;
}

.nav-bar .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-bar .dropdown li {
  flex: none;
  display: block;
}

.nav-bar .dropdown li a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: #333;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-bar .dropdown li a:hover {
  background: #0050a0;
  color: #fff;
}

/* ========================================
   Page Banner (for inner pages)
   ======================================== */
.page-banner {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #1a5fa8 0%, #2878c8 30%, #4a9cd8 60%, #7ab8e8 100%);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.page-banner .mountain-far {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 130px;
  background: linear-gradient(180deg, rgba(100, 140, 180, 0.6) 0%, rgba(60, 100, 140, 0.4) 100%);
  clip-path: polygon(30% 100%, 45% 20%, 55% 0%, 65% 15%, 80% 40%, 100% 100%);
}

.page-banner .mountain-near {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 350px;
  height: 150px;
  background: linear-gradient(180deg, rgba(180, 140, 100, 0.7) 0%, rgba(120, 90, 60, 0.5) 100%);
  clip-path: polygon(40% 100%, 55% 10%, 60% 0%, 70% 5%, 85% 30%, 100% 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

/* ========================================
   Main Content Area
   ======================================== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  gap: 20px;
}

/* Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
}

.sidebar-header {
  background: #004ea2;
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  border-radius: 0;
}

.sidebar-menu {
  background: #F5F5F5;
  border: 1px solid #e5e5e5;
  border-top: none;
}

.sidebar-menu li {
  border-bottom: 1px solid #e5e5e5;
}

.sidebar-menu li:last-child {
  border-bottom: none;
}

.sidebar-menu li a {

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  color: #333;
  transition: all 0.2s;
  position: relative;
}

.sidebar-menu li a:hover {
  background: #f5f5f5;
  color: #004ea2;
}

.sidebar-menu li.active a {
  background: #F5F5F5;
  color: #004ea2;
  font-weight: bold;
}

.sidebar-menu li.active a::after {
  content: '';
  position: absolute;
  right: 15px;
  width: 8px;
  height: 8px;
  background: #004ea2;
  border-radius: 50%;
}

.sidebar-menu li.active a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #004ea2;
}

/* Content Area */
.content-area {
  flex: 1;
  min-width: 0;
}

/* Section Title */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 2px solid #0050a0;
  margin-bottom: 15px;
}

.back-blue1 {
  padding: 0;
}

.section-title .title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-blue {
  width: 150px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0050a0;
  color: #fff;
}

.back-blue h2 {
  color: #fff !important;
}

.back-blue1 {
  padding: 0;
}

.section-title .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.section-title h2 {
  font-size: 18px;
  color: #0050a0;
  font-weight: bold;
  letter-spacing: 3px;
}

.section-title .more-link {
  font-size: 14px;
  color: #999;
  flex-shrink: 0;
}

.section-title .more-link:hover {
  color: #0050a0;
}

.section-title-red {
  border-bottom-color: #cc0000;
}

.section-title-red h2 {
  color: #cc0000;
}

/* Breadcrumb */
.breadcrumb {
  text-align: right;
  font-size: 13px;
  color: #999;
  margin-bottom: 15px;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #004ea2;
}

/* ========================================
   News List
   ======================================== */
.news-list {
  padding: 0;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 16px;
  border-bottom: 1px dashed #d0d0d0;
  transition: background 0.2s;
  position: relative;
  background: url('../images/icon-arrow.png') no-repeat left center;
  background-size: 10px 10px;
}

.new-item2 {
  background: #fff !important;

}

.news-item:hover {
  background-color: #f9f9f9;
}

.news-item .news-title {
  flex: 1;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 15px;
}

.news-item .news-title a {
  color: #333;
}

.news-item .news-title a:hover {
  color: #004ea2;
}

.news-item .news-date {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
  width: 90px;
  text-align: right;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 30px;
  padding: 20px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  background: #EAEAEA;
  color: #606266;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: -1px;
}

.pagination a:first-child {
  margin-left: 0;
}

.pagination a:hover {
  border-color: #0050a0;
  color: #0050a0;
  z-index: 1;
}

.pagination .current {
  background: #0050a0;
  border-color: #0050a0;
  color: #fff;
  z-index: 1;
  cursor: default;
}

.pagination .disabled {
  color: #c0c4cc;
  cursor: not-allowed;
  border-color: #e4e7ed;
  background: #f5f7fa;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  width: 100%;
  height: 200px;
  background: #EAEAEA;
  margin-top: 30px;
  /* border-top: 4px solid #0050a0; */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  height: 200px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-badges-img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-info {
  flex: 1;
  padding: 0 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-info-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* gap: 40px; */
  font-size: 14px;

  color: #000;
  /* line-height: 2; */
}

.footer-info-row div {
  margin-bottom: 30px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-qr {
  text-align: center;
}

.footer-qr-img {
  width: 100px;
  height: 100px;
  display: block;
  margin-bottom: 4px;
}

.footer-qr .qr-label {
  font-size: 12px;
  color: #666;
}

/* Footer Info - PC/H5 切换 */
.footer-info-pc {
  display: block;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  gap: 40px;
  font-size: 14px;
}

.footer-info-h5 {
  display: none;
}

/* ========================================
   Responsive Adjustments
   ======================================== */

/* Tablet & Small Desktop */
@media (max-width: 1200px) and (min-width: 769px) {
  .main-container {
    padding: 20px 15px;
  }

  .sidebar {
    width: 200px;
  }
}

/* H5 Mobile Styles */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    overflow-x: hidden;
  }

  /* Header */
  .header {
    height: auto;
    padding: 10px;
  }

  .header-content {
    padding: 10px;
  }

  .header-logo {
    width: 60px;
    height: 60px;
    margin-right: 10px;
  }

  .header-logo img {
    width: 50px;
    height: 50px;
  }

  .header-text h1 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .header-text .header-en {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .header .scenic-img {
    display: none;
  }

  /* Navigation - H5 Grid Menu */
  .nav-bar {
    height: auto;
    overflow: visible;
    position: relative;
    background: #0050a0;
  }

  .nav-bar>ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: 100%;
    height: auto;
    background: transparent;
    position: static;
  }

  .nav-bar li {
    flex: none;
    width: auto;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
  }

  .nav-bar li a {
    height: 40px;
    font-size: 13px;
    justify-content: center;
    padding: 0 5px;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
  }

  .nav-bar li.active>a {
    background: #e65100;
  }

  .nav-bar .dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .nav-bar .has-dropdown {
    position: static;
  }

  .nav-menu-btn {
    display: none;
  }

  /* Main Container */
  .main-container {
    flex-direction: column;
    padding: 10px;
  }

  .sidebar {
    display: block;
    width: 100%;
  }

  .sidebar-header {
    padding: 12px;
    font-size: 16px;
  }

  .sidebar-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .sidebar-menu li {
    flex: 1;
    min-width: 33.33%;
    border-bottom: none;
    border-right: 1px solid #e5e5e5;
  }

  .sidebar-menu li:last-child {
    border-right: none;
  }

  .sidebar-menu li a {
    padding: 12px 10px;
    font-size: 13px;
    justify-content: center;
  }

  .sidebar-menu li.active a::after {
    right: 8px;
  }

  .sidebar-qrcode {
    display: none;
  }

  .sidebar-menu li a {
    padding: 12px 15px;
    font-size: 14px;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 12px;
    text-align: left;
    padding: 0 10px;
  }

  /* Section Title */
  .section-title {
    /* padding: 0 10px 8px; */
  }

  .back-blue1 {
    padding: 0;
  }

  .section-title h2 {
    font-size: 16px;
  }

  /* News List */
  .news-item {
    padding: 10px 10px 10px 20px;
  }

  .news-item .news-title {
    font-size: 13px;
  }

  .news-item .news-date {
    font-size: 12px;
    width: 70px;
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
    padding: 15px 10px;
  }

  .pagination a,
  .pagination span {
    min-width: 32px;
    height: 32px;
    font-size: 13px;
  }

  /* Article Detail */
  .article-detail {
    padding: 15px 10px;
  }

  .article-detail .article-title {
    font-size: 18px;
  }

  .article-detail .article-body {
    font-size: 14px;
  }

  /* Footer */
  .footer {
    height: auto;
    margin-top: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .footer-left {
    order: 2;
  }

  .footer-info {
    order: 1;
    padding: 0;
    width: 100%;
  }

  /* PC端 footer-info 隐藏 */
  .footer-info-pc {
    display: none !important;
  }

  /* H5端 footer-info 显示 */
  .footer-info-h5 {
    display: block;
    text-align: center;
  }

  .footer-info-item {
    font-size: 13px;
    color: #333;
    line-height: 2;
    text-align: center;
  }

  .footer-info-item+.footer-info-item {
    margin-top: 5px;
  }

  .footer-right {
    order: 3;
  }

  .footer-badges-img {
    height: 40px;
  }

  .footer-qr-img {
    width: 60px;
    height: 60px;
  }

  /* QR Code */
  .sidebar-qrcode {
    width: 220px;
    height: 260px;
    background: #F5F5F5;
  }

  /* Utility */
  .mt-10 {
    margin-top: 5px;
  }

  .mt-20 {
    margin-top: 10px;
  }

  .mb-10 {
    margin-bottom: 5px;
  }

  .mb-20 {
    margin-bottom: 10px;
  }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* ========================================
   Download Link
   ======================================== */
.download-link {
  color: #004ea2 !important;
  font-size: 14px;
  margin-left: 8px;
  white-space: nowrap;
}

.download-link:hover {
  color: #c00 !important;
  text-decoration: underline;
}