.banner-wrapper {
    width: 100%;
    /* padding: 0 3%; */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-wrapper .long-banner {
    width: 100%;
    height: 400px;
    position: relative;
}

.banner-wrapper .long-banner::before {
    content: '';
    position: absolute;
    background: #000;
    opacity: 0.2;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.banner-wrapper .long-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-wrapper .long-banner .long-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-wrapper .long-banner .long-banner-content .long-banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    text-align: center;
    z-index: 2;
    line-height: 1.2;
}


  .info-card {
    position: relative;
    padding: 20px 25px 20px 70px;
    border-radius: 10px;
    margin: 25px 0;
    background: white;
    box-shadow: 0 3px 20px rgba(22, 45, 86, 0.08);
    border-left: 4px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(22, 45, 86, 0.12);
  }
  
  /* 图标容器 */
  .card-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  
  /* 特定卡片样式 */
  .guide-card {
    border-left-color: #4CAF50;
    background: linear-gradient(to right, #f1f8e9 0%, white 15%);
  }
  
  .guide-card .card-icon {
    background-color: #E8F5E9;
  }
  
  .guide-card svg {
    fill: #2E7D32;
  }
  
  .terms-card {
    border-left-color: #162d56;
    background: linear-gradient(to right, #e3f2fd 0%, white 15%);
  }
  
  .terms-card .card-icon {
    background-color: #deecf7;
    top: 10px;
  }
  
  .terms-card svg {
    fill: #162d56;
  }
  
  /* 内容样式 */
  .card-content {
    color: #455A64;
  }
  
  .guide-link {
    font-size: 16px;
    font-weight: 600;
    color: #2E7D32;
    text-decoration: none;
    display: inline-block;
    padding: 8px 0;
  }
  
  .guide-link:hover {
    text-decoration: underline;
  }
  
  .terms-card h3 {
    color: #162d56;
    margin: 0 0 8px 0;
    font-size: 18px;
  }
  
  .terms-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  }

  .terms-card p a{
    text-decoration: underline;
    font-weight: 600;
  }

  /* 注意卡片專用樣式 */
.notice-card {
    border-left-color: #162d56;
    background: linear-gradient(to right, #e3f2fd 0%, white 15%);
  }
  
  .notice-card .card-icon {
    background-color: #deecf7;
    top: 10px;
  }
  
  .notice-card svg {
    fill: #162d56;
  }
  
  .notice-card h3 {
    color: #162d56;
    margin: 0 0 8px 0;
    font-size: 18px;
  }
  
  .notice-link {
    color: #162d56;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: all 0.2s;
  }
  
  .notice-link:hover {
    color: #abccd8;
    text-decoration-style: solid;
  }




.big-title {
    font-size: 32px;
    font-weight: 600;
}

.install-container {
    padding: 50px 5%;
}

.install-list li {
    font-size: 15px;
}

.install-list li a {
    text-decoration: underline;
}

.s-title {
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 10px;
    color: #333;
}

.example-wrapper {
    margin-top: 80px;
}

.example-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.example-sec-title {
    color: #878787;
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
}

.showcase-tips{
    font-size: 15px;
}

.showcase-tips span a{
    text-decoration: underline;
    font-weight: 600;
}

/* 範例圖片 */
.gallery-grid {
    display: grid;
    grid-template-areas:
        "a b c"
        "d b e";
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.gallery-grid img:nth-child(1) {
    grid-area: a;
}

.gallery-grid img:nth-child(2) {
    grid-area: b;
}

.gallery-grid img:nth-child(3) {
    grid-area: c;
}

.gallery-grid img:nth-child(4) {
    grid-area: d;
}

.gallery-grid img:nth-child(5) {
    grid-area: e;
}

.gallery-gird-3{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0 auto;
    margin-top: 50px;
}

.gallery-gird-3 img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    aspect-ratio: 1/1; /* 保持正方形 */
    transition: transform 0.3s;
    cursor: pointer;
}
/* 放大預覽樣式 */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.gallery-modal.show {
    display: flex;
}

.gallery-modal-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
}

.gallery-modal-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-areas:
            "a"
            "b"
            "c"
            "d"
            "e";
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    display: block;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.zoom-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
}

.zoom-controls button {
    border: none;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 5px;
}

.zoom-reset {
    color: white;
    margin-left: 10px;
    cursor: pointer;
}

#qodef-page-inner{
  padding: 0 !important;
}
@media screen and (max-width:768px) {
  #qodef-page-outer{
      margin-top: 110px;
  }
  .banner-wrapper .long-banner{
    height: 220px;
  }
  .banner-wrapper .long-banner .long-banner-content .long-banner-title{
    font-size: 28px;
    width: 95%;
    text-align: center;
  }

  .install-container{
    padding: 50px 3%;
  }

  .big-title{
    font-size: 23px;
    margin-top: 0 !important;
  }
  .info-card{
    margin: 25px 0;
    padding: 13px 20px 13px 50px;
  }
  .card-icon{
    width: 25px;
    height: 25px;
    left: 15px;
  }
  .gallery-grid img{
    box-shadow: none;
  }
  .modal{
    z-index: 1001;
  }
  .gallery-gird-3{
    margin-top: 30px;
  }
}