/* ========================================================
   Banner 基本設定
======================================================== */

#marineBanner {--banner-navy:#03101f;--banner-navy-light:#071b32;--banner-blue:#0d3158;--banner-blue-light:#255b87;--banner-gold:#b99a5d;--banner-gold-light:#d4bd89;--banner-white:#ffffff;position:relative;width:100%;height:clamp(680px,100svh,980px);min-height:680px;background:var(--banner-navy);overflow:hidden;isolation:isolate;}
#marineBanner,#marineBanner * {box-sizing:border-box;}
#marineBanner::before {position:absolute;top:0;right:0;bottom:0;z-index:4;width:32%;background:linear-gradient(110deg,transparent,rgba(8,42,73,.18));clip-path:polygon(42% 0,100% 0,100% 100%,0 100%);content:"";pointer-events:none;}

#marineBanner .marine-banner-swiper,#marineBanner .swiper-wrapper,#marineBanner .swiper-slide,#marineBanner .marine-banner-link {width:100%;height:100%;}
#marineBanner .marine-banner-link {position:relative;display:block;color:#ffffff;text-decoration:none;overflow:hidden;}

/* ========================================================
   Banner 圖片與遮罩
======================================================== */

#marineBanner .marine-banner-image {position:absolute;inset:0;background:var(--banner-navy);overflow:hidden;}
#marineBanner .marine-banner-image::before {position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,rgba(3,16,31,.9) 0%,rgba(3,16,31,.64) 35%,rgba(3,16,31,.2) 68%,rgba(3,16,31,.36) 100%);content:"";}
#marineBanner .marine-banner-image::after {position:absolute;inset:0;z-index:3;background:linear-gradient(180deg,rgba(3,16,31,.5) 0%,transparent 35%,rgba(3,16,31,.32) 72%,rgba(3,16,31,.85) 100%);content:"";}
#marineBanner .marine-banner-image img {display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.08);filter:saturate(.9) contrast(1.03);transition:transform 7s cubic-bezier(.22,.61,.36,1),filter 1.2s ease;}
#marineBanner .swiper-slide-active .marine-banner-image img {transform:scale(1);filter:saturate(1) contrast(1.04);}

/* ========================================================
   Banner 文字內容
======================================================== */

#marineBanner .marine-banner-content {position:absolute;inset:0;z-index:5;display:flex;align-items:center;padding:110px clamp(40px,7vw,135px) 140px;pointer-events:none;}
#marineBanner .marine-banner-content-inner {width:min(850px,68vw);opacity:0;transform:translateY(42px);transition:opacity .9s ease .3s,transform .9s cubic-bezier(.22,.61,.36,1) .3s;}
#marineBanner .swiper-slide-active .marine-banner-content-inner {opacity:1;transform:translateY(0);}
#marineBanner .marine-banner-label {display:flex;align-items:center;gap:18px;margin-bottom:24px;letter-spacing:.32em;font-family:"Cormorant Garamond",Georgia,serif;font-size:14px;font-weight:600;color:var(--banner-gold-light);}
#marineBanner .marine-banner-label::before {width:55px;height:1px;background:linear-gradient(90deg,var(--banner-gold),var(--banner-gold-light));content:"";}
#marineBanner .marine-banner-title {max-width:850px;letter-spacing:.07em;font-size:clamp(44px,5vw,82px);font-weight:500;line-height:1.12;color:#ffffff;text-shadow:0 8px 35px rgba(0,10,20,.28);}
#marineBanner .marine-banner-description {max-width:580px;margin:26px 0 0;letter-spacing:.1em;font-size:17px;font-weight:300;line-height:1.9;color:rgba(255,255,255,.78);}
#marineBanner .marine-banner-more {display:inline-flex;align-items:center;gap:18px;margin-top:40px;letter-spacing:.22em;font-size:11px;font-weight:600;color:#ffffff;}
#marineBanner .marine-banner-more i {position:relative;display:block;width:62px;height:1px;background:var(--banner-gold-light);transition:width .35s ease;}
#marineBanner .marine-banner-more i::after {position:absolute;top:-3px;right:0;width:7px;height:7px;border-top:1px solid var(--banner-gold-light);border-right:1px solid var(--banner-gold-light);transform:rotate(45deg);content:"";}
#marineBanner .marine-banner-link:hover .marine-banner-more i {width:82px;}

/* ========================================================
   Banner 操作區
======================================================== */

#marineBanner .marine-banner-controls {position:absolute;bottom:54px;left:clamp(40px,7vw,135px);z-index:10;display:flex;align-items:center;gap:13px;padding:9px 13px;border:1px solid rgba(255,255,255,.16);background:rgba(3,16,31,.38);box-shadow:0 15px 40px rgba(0,10,20,.18);backdrop-filter:blur(10px);}
#marineBanner .marine-banner-prev,#marineBanner .marine-banner-next,#marineBanner .marine-banner-toggle {display:flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;background:transparent;color:#ffffff;cursor:pointer;transition:background .3s ease,color .3s ease;}
#marineBanner .marine-banner-prev:hover,#marineBanner .marine-banner-next:hover,#marineBanner .marine-banner-toggle:hover {background:rgba(255,255,255,.1);color:var(--banner-gold-light);}
#marineBanner .marine-banner-prev:focus-visible,#marineBanner .marine-banner-next:focus-visible,#marineBanner .marine-banner-toggle:focus-visible {outline:2px solid var(--banner-gold-light);outline-offset:2px;}
#marineBanner .marine-banner-prev svg,#marineBanner .marine-banner-next svg,#marineBanner .marine-banner-toggle svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
#marineBanner .marine-banner-toggle .marine-banner-icon-play {display:none;fill:currentColor;stroke:none;}
#marineBanner .marine-banner-toggle.is-paused .marine-banner-icon-pause {display:none;}
#marineBanner .marine-banner-toggle.is-paused .marine-banner-icon-play {display:block;}
#marineBanner .marine-banner-counter {display:flex;align-items:center;gap:9px;min-width:78px;font-family:"Cormorant Garamond",Georgia,serif;line-height:1;}
#marineBanner .marine-banner-counter span {min-width:19px;letter-spacing:.08em;font-size:15px;color:rgba(255,255,255,.55);}
#marineBanner .marine-banner-counter .marine-banner-current {font-size:22px;color:#ffffff;}
#marineBanner .marine-banner-counter i {width:16px;height:1px;background:var(--banner-gold);}
#marineBanner .marine-banner-pagination {position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;width:clamp(90px,10vw,165px)!important;height:2px!important;background:rgba(255,255,255,.2)!important;}
#marineBanner .marine-banner-pagination .swiper-pagination-progressbar-fill {background:linear-gradient(90deg,var(--banner-gold),var(--banner-gold-light))!important;}
#marineBanner .swiper-button-lock,#marineBanner .swiper-pagination-lock {display:none!important;}
#marineBanner.is-single .marine-banner-prev,#marineBanner.is-single .marine-banner-next,#marineBanner.is-single .marine-banner-toggle,#marineBanner.is-single .marine-banner-pagination {display:none;}

/* ========================================================
   Banner 品牌裝飾
======================================================== */

#marineBanner .marine-banner-brand {position:absolute;top:50%;right:38px;z-index:6;display:flex;flex-direction:column;align-items:center;gap:13px;color:rgba(255,255,255,.48);transform:translateY(-50%);}
#marineBanner .marine-banner-brand span {writing-mode:vertical-rl;letter-spacing:.3em;font-family:"Cormorant Garamond",Georgia,serif;font-size:11px;}
#marineBanner .marine-banner-brand i {width:1px;height:80px;background:linear-gradient(180deg,var(--banner-gold),transparent);}
#marineBanner .marine-banner-brand small {writing-mode:vertical-rl;letter-spacing:.18em;font-size:8px;color:var(--banner-gold-light);}
#marineBanner .marine-banner-scroll {position:absolute;right:clamp(42px,5vw,90px);bottom:92px;z-index:7;display:flex;align-items:center;gap:13px;transform:rotate(90deg);transform-origin:right bottom;}
#marineBanner .marine-banner-scroll span {letter-spacing:.3em;font-size:8px;color:rgba(255,255,255,.55);}
#marineBanner .marine-banner-scroll i {position:relative;width:55px;height:1px;background:rgba(255,255,255,.28);overflow:hidden;}
#marineBanner .marine-banner-scroll i::after {position:absolute;top:0;left:0;width:22px;height:1px;background:var(--banner-gold-light);animation:marineBannerScroll 2.2s ease-in-out infinite;content:"";}

#marineBanner .marine-banner-swiper {position:relative;z-index:1;}
#marineBanner .marine-banner-controls {z-index:20;pointer-events:auto;}
#marineBanner .marine-banner-prev,#marineBanner .marine-banner-next,#marineBanner .marine-banner-toggle {position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;}

@keyframes marineBannerScroll {
	0% {transform:translateX(-25px);}
	50% {transform:translateX(58px);}
	100% {transform:translateX(58px);}
}


/* ========================================================
   Banner 右下角雙斜角設計
======================================================== */

#marineBanner::after { display: none; }
#marineBanner .marine-banner-corner { position: absolute; right: 0; bottom: 0; z-index: 12; width: 340px; height: 150px; overflow: hidden; pointer-events: none; }
#marineBanner .marine-banner-corner span { position: absolute; display: block; transform: skewX(-34deg); transform-origin: right bottom; }
#marineBanner .marine-banner-corner-small { right: 148px; bottom: -54px; width: 118px; height: 128px; border: 1px solid rgba(212,189,137,.8); background: linear-gradient(145deg,rgba(185,154,93,.92),rgba(212,189,137,.72)); box-shadow: 0 0 30px rgba(185,154,93,.16); }
#marineBanner .marine-banner-corner-large { right: -38px; bottom: -66px; width: 230px; height: 190px; background: linear-gradient(145deg,#ffffff 0%,#f2f5f7 100%); box-shadow: -15px -10px 40px rgba(3,16,31,.16); }

@media screen and (max-width:1470px) {
	#marineBanner .marine-banner-title{font-size: clamp(36px, 4vw, 54px);}
}
@media screen and (max-width:1100px) {
  #marineBanner .marine-banner-corner { width: 280px; height: 125px; }
  #marineBanner .marine-banner-corner-small { right: 122px; bottom: -49px; width: 100px; height: 110px; }
  #marineBanner .marine-banner-corner-large { right: -42px; bottom: -68px; width: 205px; height: 170px; }
}
@media screen and (max-width:767px) {
  #marineBanner .marine-banner-corner { width: 190px; height: 82px; }
  #marineBanner .marine-banner-corner-small { right: 82px; bottom: -36px; width: 67px; height: 75px; }
  #marineBanner .marine-banner-corner-large { right: -36px; bottom: -55px; width: 145px; height: 120px; }
}

@media screen and (max-width:1100px) {
	#marineBanner {height:clamp(650px,100svh,860px);min-height:650px;}
	#marineBanner .marine-banner-content {padding:90px 65px 135px;}
	#marineBanner .marine-banner-content-inner {width:min(760px,78vw);}
	#marineBanner .marine-banner-controls {left:65px;}
	#marineBanner .marine-banner-brand {right:24px;}
	#marineBanner .marine-banner-scroll {display:none;}
}

@media screen and (max-width:767px) {
	#marineBanner {height:100svh;min-height:600px;max-height:780px;}
	#marineBanner::before {width:55%;}
	
	#marineBanner .marine-banner-image::before {background:linear-gradient(90deg,rgba(3,16,31,.82),rgba(3,16,31,.22)),linear-gradient(180deg,rgba(3,16,31,.32),transparent 40%,rgba(3,16,31,.8));}
	#marineBanner .marine-banner-image img {object-position:center;}
	#marineBanner .marine-banner-content {align-items: center;padding: 0 6vw;display: flex;}
	#marineBanner .marine-banner-content-inner {width:100%;}
	#marineBanner .marine-banner-label {gap:12px;margin-bottom:17px;letter-spacing:.22em;font-size:11px;}
	#marineBanner .marine-banner-label::before {width:35px;}
	#marineBanner .marine-banner-title {font-size: clamp(30px,8vw,50px);line-height:1.2;}
	#marineBanner .marine-banner-description {margin-top:17px;font-size:14px;line-height:1.8;}
	#marineBanner .marine-banner-more {margin-top:24px;}
	#marineBanner .marine-banner-controls {right:24px;bottom: 125px;left:24px;justify-content:space-between;padding: 7px 6vw;}
	#marineBanner .marine-banner-pagination {flex:1;width:auto!important;}
	#marineBanner .marine-banner-brand {display:none;}
}

@media screen and (max-width:480px) {
	#marineBanner .marine-banner-description {max-width:310px;}
	#marineBanner .marine-banner-prev,#marineBanner .marine-banner-next {display:none;}
	#marineBanner .marine-banner-controls {gap:10px;}
	#marineBanner .marine-banner-counter {min-width:72px;}
	#marineBanner .marine-banner-toggle {width:38px;height:38px;}
}

@media (prefers-reduced-motion:reduce) {
	#marineBanner .marine-banner-image img,#marineBanner .marine-banner-content-inner {transition-duration:.01ms!important;}
	#marineBanner .marine-banner-scroll i::after {animation:none!important;}
}